/* =========================================================
   A-1 Door Co. — styles
   ========================================================= */

:root {
  --bg: #f6f5f1;
  --card: #ffffff;
  --ink: #0b1220;
  --ink-2: #3b4456;
  --muted: #697387;
  --line: #e3e1da;
  --blue: #1652f0;
  --blue-d: #0d3bb8;
  --blue-l: #e8eeff;
  --navy: #0a1633;
  --yellow: #ffc72c;
  --yellow-d: #f0b400;

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(11,18,32,.05), 0 8px 24px -8px rgba(11,18,32,.12);
  --shadow-lg: 0 30px 60px -20px rgba(10,22,51,.35);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--yellow); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font: 800 13px/1 var(--f-display); font-stretch: 115%; letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--yellow); border-radius: 2px; transform: rotate(45deg); }
.eyebrow--light { color: var(--yellow); }

.h2 {
  font: 900 clamp(36px, 5.2vw, 68px)/1 var(--f-display); font-stretch: 112%;
  letter-spacing: -.025em; margin: 0 0 20px; text-wrap: balance;
}
.u { position: relative; white-space: nowrap; z-index: 0; }
.u::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .04em; height: .32em;
  background: var(--yellow); z-index: -1; transform: skewX(-12deg) scaleX(0); transform-origin: left;
  transition: transform .7s .3s var(--ease);
}
.is-in .u::after, .u.is-in::after { transform: skewX(-12deg) scaleX(1); }
.u--y::after { background: var(--blue); }
.lead { color: var(--ink-2); font-size: clamp(17px, 1.35vw, 19px); max-width: 56ch; }

.head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.head--center { text-align: center; margin-left: auto; margin-right: auto; }
.head--center .eyebrow { justify-content: center; }
.head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 800 16px/1 var(--f-display); font-stretch: 105%; letter-spacing: .01em;
  text-decoration: none; padding: 15px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 18px 28px; font-size: 17px; }
.btn--xl { padding: 22px 34px; font-size: clamp(20px, 2.4vw, 28px); }
.btn--xl svg { width: 26px; height: 26px; }
.btn--block { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px -6px rgba(22,82,240,.6); }
.btn--blue:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(22,82,240,.7); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: var(--yellow); }
.btn--dark:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 36px -12px rgba(0,0,0,.5); }

/* ---------- Opening garage door ---------- */
.garage { display: none; }
.js .garage {
  display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none;
}
.garage__door {
  position: absolute; inset: 0; display: grid; grid-template-rows: repeat(5, 1fr);
  background: linear-gradient(180deg, #f2f3f6, #d9dde4);
  transition: transform 1.25s cubic-bezier(.7, 0, .2, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.garage__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4vw; padding: 1.6vh 4vw;
  border-bottom: 3px solid #b9bfca; box-shadow: inset 0 -2px 0 #fff;
}
.garage__row i {
  display: block; border-radius: 4px;
  background: linear-gradient(180deg, #e3e6eb, #f7f8fa);
  box-shadow: inset 0 2px 3px rgba(0,0,0,.12), inset 0 -2px 2px #fff;
}
.garage__row--brand { display: grid; place-items: center; grid-template-columns: 1fr; }
.garage__row--brand span {
  font: 900 clamp(32px, 7vw, 96px)/1 var(--f-display); font-stretch: 125%; letter-spacing: -.02em; color: var(--blue);
}
.garage__handle {
  position: absolute; left: 50%; bottom: 5vh; width: 120px; height: 14px; margin-left: -60px;
  background: #8c94a3; border-radius: 7px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
}
.garage.is-open .garage__door { transform: translateY(-102%); }
.garage.is-done, .seen .garage { display: none; }
@media (prefers-reduced-motion: reduce) { .garage { display: none !important; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c6cfe6; font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: flex-end; gap: 28px; padding-top: 9px; padding-bottom: 9px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar svg { width: 14px; height: 14px; fill: var(--yellow); }
.topbar a:hover { color: #fff; }
@media (max-width: 760px) { .topbar__inner > span:first-child, .topbar__mail { display: none; } .topbar__inner { justify-content: center; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; background: rgba(246,245,241,.86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -12px rgba(11,18,32,.2); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }

.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); flex: none; white-space: nowrap; }
.logo__oval {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 7px 16px 8px; border: 3px solid var(--ink); border-radius: 50%;
  font: 900 22px/1 var(--f-display); font-stretch: 120%; color: var(--blue); letter-spacing: -.02em;
  background: #fff; transform: rotate(-4deg); transition: transform .4s var(--ease);
}
.logo__oval b { color: var(--blue); font-weight: 900; }
.logo:hover .logo__oval { transform: rotate(0); }
.logo__co { font: 800 15px/1 var(--f-display); color: var(--ink-2); }
.logo--light { color: #fff; }
.logo--light .logo__oval { border-color: #fff; background: transparent; color: #fff; }
.logo--light .logo__oval b { color: var(--yellow); }
.logo--light .logo__co { color: #c6cfe6; }

.nav__links { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.nav__links a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--yellow); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--ink); }
.nav__links .btn { margin-left: -8px; }
.nav__links .nav__est { margin-left: 0; }

.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 1180px) {
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; gap: 22px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav__links a:not(.btn) { font: 900 32px/1 var(--f-display); font-stretch: 112%; color: var(--ink); }
  .nav__links .btn { margin: 0; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70vw; height: 140%;
  background: radial-gradient(closest-side, rgba(22,82,240,.12), transparent 70%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow);
}
.pill__dot { width: 10px; height: 10px; border-radius: 50%; background: #18b85a; box-shadow: 0 0 0 4px rgba(24,184,90,.18); }

.hero__title {
  font: 900 clamp(50px, 7.2vw, 112px)/.92 var(--f-display); font-stretch: 118%;
  letter-spacing: -.045em; margin: 0 0 26px;
}
.hero__title > span { display: block; }
.hero__title mark {
  background: none; color: var(--blue); position: relative; z-index: 0;
}
.hero__title mark::after {
  content: ""; position: absolute; left: -.04em; right: -.02em; bottom: .06em; height: .26em;
  background: var(--yellow); z-index: -1; transform: skewX(-12deg) scaleX(0); transform-origin: left;
  transition: transform .8s 1.6s var(--ease);
}
.loaded .hero__title mark::after { transform: skewX(-12deg) scaleX(1); }
.no-js .hero__title mark::after { transform: skewX(-12deg) scaleX(1); }

.hero__lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 50ch; margin: 0 0 32px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.hero__ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__ticks li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center/13px no-repeat;
}

.hero__media { position: relative; }
.hero__photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 462 / 400;
  box-shadow: var(--shadow-lg); transform: rotate(1.5deg);
  border: 8px solid #fff;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.float {
  position: absolute; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); margin: 0;
  animation: bob 6s ease-in-out infinite;
}
.float--a { left: -28px; top: 28px; display: flex; gap: 12px; align-items: center; padding: 14px 18px 14px 14px; }
.float__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); font-size: 20px; }
.float--a b { display: block; font: 800 16px/1.2 var(--f-display); }
.float--a small { color: var(--muted); font-size: 13px; }
.float--b { right: -18px; bottom: -34px; max-width: 290px; padding: 18px 20px; animation-delay: -3s; border-left: 5px solid var(--blue); }
.float--b blockquote { margin: 0 0 8px; font-weight: 600; font-size: 15px; line-height: 1.45; }
.float--b figcaption { font-size: 13px; color: var(--muted); font-weight: 600; }
@keyframes bob { 50% { transform: translateY(-8px); } }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin: 24px auto 30px; width: 100%; }
}
@media (max-width: 560px) {
  .float--a { left: -6px; top: -16px; }
  .float--b { right: -6px; bottom: -40px; max-width: 240px; }
}

/* ---------- Trust ---------- */
.trust { background: var(--ink); color: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust__item { padding: 28px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); display: grid; gap: 4px; }
.trust__item:last-child { border-right: 0; }
.trust__item b { font: 900 clamp(26px, 3vw, 38px)/1 var(--f-display); font-stretch: 115%; color: var(--yellow); letter-spacing: -.02em; }
.trust__item > span { font-size: 14px; color: #b8c2d9; }
@media (max-width: 860px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .trust__item:nth-child(2n) { border-right: 0; }
  .trust__item:last-child { grid-column: span 2; border-bottom: 0; }
}

/* ---------- Services ---------- */
.services { padding: clamp(72px, 9vw, 130px) 0; }
.switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 6px; margin-bottom: 36px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.switch__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 0; background: none; border-radius: 999px; cursor: pointer;
  font: 800 16px/1 var(--f-display); font-stretch: 105%; color: var(--ink-2); transition: color .3s;
}
.switch__btn svg { width: 20px; height: 20px; fill: currentColor; }
.switch__btn.is-on { color: #fff; }
.switch__thumb {
  position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px;
  background: var(--blue); transition: transform .4s var(--ease); box-shadow: 0 6px 16px -6px rgba(22,82,240,.7);
}
.switch.is-biz .switch__thumb { transform: translateX(100%); }
@media (max-width: 480px) { .switch { display: grid; width: 100%; } .switch__btn { padding: 14px 10px; font-size: 14px; } }

.panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.panel[hidden] { display: none; }
.panel.is-swap .svc { animation: rise .55s var(--ease) both; }
.panel.is-swap .svc:nth-child(2) { animation-delay: .05s; }
.panel.is-swap .svc:nth-child(3) { animation-delay: .1s; }
.panel.is-swap .svc:nth-child(4) { animation-delay: .15s; }
.panel.is-swap .svc:nth-child(5) { animation-delay: .2s; }
.panel.is-swap .svc:nth-child(6) { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.svc {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px 32px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--blue-l); transition: background .3s, transform .4s var(--ease);
}
.svc__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.svc:hover .svc__icon { background: var(--blue); transform: rotate(-6deg); }
.svc:hover .svc__icon svg { stroke: #fff; }
.svc h3 { font: 800 22px/1.15 var(--f-display); font-stretch: 105%; margin: 0 0 10px; letter-spacing: -.01em; }
.svc p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.svc--hot { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc--hot p { color: #b8c2d9; }
.svc--hot .svc__icon { background: var(--yellow); }
.svc--hot .svc__icon svg { stroke: var(--ink); }
.svc--hot::after { background: var(--yellow); }
.svc--hot:hover .svc__icon { background: var(--yellow); }
.svc--hot:hover .svc__icon svg { stroke: var(--ink); }
@media (max-width: 960px) { .panel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .panel { grid-template-columns: 1fr; } }

/* ---------- Emergency alert band ---------- */
.alert { position: relative; background: var(--yellow); overflow: hidden; padding: clamp(64px, 8vw, 110px) 0; }
.alert::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.05) 0 26px, transparent 26px 52px);
}
.alert__img {
  position: absolute; inset: 0 0 0 auto; width: 46%;
  background: url("../images/gallery/spring.jpg") center/cover no-repeat;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  filter: saturate(1.1);
}
.alert__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.alert__inner > div { max-width: 560px; }
.alert__tag { font: 800 14px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.alert__title { font: 900 clamp(44px, 6.4vw, 88px)/.92 var(--f-display); font-stretch: 118%; letter-spacing: -.04em; margin: 0 0 18px; }
.alert__body { margin: 0; font-size: 17px; color: #3a3110; max-width: 46ch; }
.alert .btn--dark { box-shadow: 0 0 0 8px rgba(11,18,32,.12); }
@media (max-width: 900px) {
  .alert__img { position: relative; width: auto; height: 160px; clip-path: none; margin: -64px 0 40px; inset: auto; }
}

/* ---------- How it works ---------- */
.how { padding: clamp(72px, 9vw, 130px) 0; }
.how__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.how__steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 30px 34px; }
.how__steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -19px; top: 50%; translate: 0 -50%; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); font-weight: 800; box-shadow: var(--shadow);
}
.how__n {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px;
  font: 900 26px/1 var(--f-display); background: var(--blue); color: #fff;
}
.how__steps h3 { font: 800 24px/1.1 var(--f-display); font-stretch: 105%; margin: 0 0 10px; }
.how__steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) {
  .how__steps { grid-template-columns: 1fr; }
  .how__steps li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -19px; translate: 50% 0; }
}

/* ---------- Gallery ---------- */
.work { padding: clamp(72px, 9vw, 130px) 0; background: #fff; border-block: 1px solid var(--line); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; cursor: pointer;
  font: 700 14px/1 var(--f-body); color: var(--ink-2); transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--line); transition: opacity .35s, transform .35s var(--ease); }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.nw { white-space: nowrap; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.94); font: 700 13px/1 var(--f-body); color: var(--ink);
  transform: translateY(6px); opacity: .0; transition: all .35s var(--ease);
}
.tile:hover figcaption, .tile:focus-within figcaption { transform: none; opacity: 1; }
@media (hover: none) { .tile figcaption { opacity: 1; transform: none; } }
.tile.is-hidden { display: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; } .tile--wide { grid-column: auto; } .tile--tall { grid-row: auto; } }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(72px, 9vw, 130px) 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.reviews::before {
  content: "“"; position: absolute; left: -2vw; top: -8vw; font: 900 clamp(300px, 40vw, 600px)/1 Georgia, serif; color: rgba(255,255,255,.04);
}
.quotes { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.q {
  margin: 0; padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  transition: background .3s, transform .3s var(--ease);
}
.q:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.q blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; color: #e3e8f5; }
.q--big { grid-column: span 2; grid-row: span 2; background: var(--blue); border-color: var(--blue); }
.q--big:hover { background: var(--blue); }
.q--big blockquote { font: 700 clamp(20px, 2.1vw, 28px)/1.35 var(--f-display); color: #fff; letter-spacing: -.01em; }
.q figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.q__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 800; }
.reviews__links { display: flex; gap: 24px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.reviews__links a { color: var(--yellow); font-weight: 700; text-decoration: none; }
.reviews__links a:hover { text-decoration: underline; }
.reviews .h2 { color: #fff; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } .q--big { grid-column: auto; grid-row: auto; } }

/* ---------- Service area ---------- */
.area { padding: clamp(72px, 9vw, 130px) 0; }
.area__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.towns { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.towns__more { background: var(--yellow) !important; border-color: var(--yellow) !important; }
.radar { aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; background: var(--navy); border-radius: 50%; padding: 4%; box-shadow: var(--shadow-lg); }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar .ring { fill: none; stroke: rgba(255,255,255,.14); stroke-dasharray: 3 5; }
.radar .sweep { animation: radar 6s linear infinite; transform-origin: 0 0; }
.radar .sweep path { fill: url(#none); fill: rgba(22,82,240,.28); }
@keyframes radar { to { transform: rotate(360deg); } }
.radar .town circle { fill: var(--yellow); }
.radar .town text { fill: #dfe6f7; font: 600 13px var(--f-body); }
.radar .home circle { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.radar .home .ping { fill: none; stroke: var(--blue); stroke-width: 3; animation: ping 2s ease-out infinite; transform-origin: 0 0; }
@keyframes ping { to { transform: scale(3.2); opacity: 0; } }
.radar .home text { fill: #fff; font: 800 13px var(--f-display); letter-spacing: .08em; }
.radar .edge { fill: rgba(255,255,255,.5); font: 700 12px var(--f-display); letter-spacing: .1em; }
@media (max-width: 900px) { .area__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(72px, 9vw, 130px); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 800 18px/1.3 var(--f-display); font-stretch: 102%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-l); color: var(--blue); font: 800 20px/1 var(--f-body);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { padding: clamp(72px, 9vw, 130px) 0; background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 2px, transparent 2px 70px);
}
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact .lead { color: #dbe4ff; }
.contact .u::after { background: var(--yellow); }
.contact .u { color: var(--ink); }
.cinfo { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; }
.cinfo li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.2); }
.cinfo span { font: 800 12px/1.9 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.cinfo a, .cinfo p { margin: 0; font: 700 19px/1.4 var(--f-display); text-decoration: none; }
.cinfo a:hover { text-decoration: underline; }

.form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); display: grid; gap: 16px; }
.form h3 { margin: 0 0 4px; font: 900 28px/1.1 var(--f-display); font-stretch: 110%; letter-spacing: -.02em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.f > span, .f legend { font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 0; margin-bottom: 6px; }
.f input, .f select, .f textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--bg);
  border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s;
}
.f textarea { resize: vertical; min-height: 100px; }
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231652f0' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.f.is-invalid input { border-color: #e5383b; background: #fff5f5; }
.f--radios { display: flex; flex-wrap: wrap; gap: 10px; }
.f--radios legend { width: 100%; }
.f--radios label { flex: 1; cursor: pointer; }
.f--radios input { position: absolute; opacity: 0; pointer-events: none; }
.f--radios label span {
  display: block; text-align: center; padding: 12px; border-radius: 10px; border: 2px solid var(--line);
  font-weight: 700; transition: all .2s;
}
.f--radios input:checked + span { border-color: var(--blue); background: var(--blue-l); color: var(--blue); }
.f--radios input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.form__note a { color: var(--blue); font-weight: 700; }
.form__note.is-ok { color: #12813f; font-weight: 600; }
.form__note.is-err { color: #c62828; font-weight: 600; }
.form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b8c2d9; padding: 64px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__grid > div { display: grid; gap: 8px; align-content: start; }
.footer__grid b { color: #fff; font: 800 14px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer p { margin: 12px 0 0; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s; }
.social a:hover { background: var(--blue); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.footer__mil { margin-top: 8px; color: var(--yellow); font-weight: 600; font-size: 14px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call button ---------- */
.callfab {
  position: fixed; right: 16px; bottom: 16px; z-index: 70; display: none; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 999px; background: var(--yellow); color: var(--ink);
  font: 800 16px/1 var(--f-display); text-decoration: none; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4);
  transform: translateY(120px); transition: transform .4s var(--ease);
}
.callfab svg { width: 18px; height: 18px; fill: currentColor; }
.callfab.is-shown { transform: none; }
@media (max-width: 760px) { .callfab { display: inline-flex; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .u::after, .hero__title mark::after { transform: skewX(-12deg) scaleX(1) !important; }
}
