/* ==========================================================================
   Plumber in Hemet — homepage styles
   ========================================================================== */
:root {
  --navy-950: #060C2C;
  --navy-900: #0A1440;
  --navy: #0E1B4D;
  --navy-700: #1A2A66;
  --red: #D7262E;
  --red-700: #B01D24;
  --blue: #3D6BF2;
  --blue-700: #2A55D6;
  --ink: #111936;
  --muted: #545D7E;
  --line: #E4E7F0;
  --soft: #F3F4F8;
  --white: #fff;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 18px 50px -20px rgba(14, 27, 77, .35);
  --font-head: "Syne", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 6px 8px 6px 22px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:not(:has(.btn__arrow)) { padding-right: 22px; }
.btn:hover { transform: translateY(-2px); }
.btn--red { --bg: var(--red); box-shadow: 0 12px 28px -12px rgba(215, 38, 46, .7); }
.btn--red:hover { --bg: var(--red-700); }
.btn--blue { --bg: var(--blue); }
.btn--blue:hover { --bg: var(--blue-700); }
.btn--white { --bg: #fff; --fg: var(--navy); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn--lg { min-height: 56px; font-size: 17px; }
.btn--block { width: 100%; }
.btn__arrow {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--navy); transition: transform .25s ease;
}
.btn--lg .btn__arrow { width: 44px; height: 44px; }
.btn--white .btn__arrow { background: var(--red); color: #fff; }
.btn__arrow svg { width: 16px; height: 16px; }
.btn:hover .btn__arrow { transform: rotate(45deg); }

/* ---------- Pills / headings ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--navy); background: #fff;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.pill--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow--light { color: rgba(255, 255, 255, .82); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; max-width: 780px; margin-left: auto; margin-right: auto; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--split h2 { max-width: 640px; margin-bottom: 0; }
.section-head__lead { color: var(--muted); font-size: 18px; }
.section-head__lead--side { max-width: 420px; margin: 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--red); color: #fff; font-size: 14px; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; margin: 0; text-decoration: none; }
.topbar__right { margin-left: auto; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(14, 27, 77, .45); }
.header__inner {
  display: flex; align-items: center; gap: 20px;
  height: var(--header-h); padding-left: max(var(--gutter), calc((100% - var(--container)) / 2));
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark { width: 40px; height: 40px; }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.05; color: var(--navy); }
.logo__text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo--light .logo__text, .logo--light .logo__text small { color: #fff; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 4px; }
.nav__list a {
  display: block; padding: 10px 10px; border-radius: 10px; font-weight: 500; font-size: 16px; white-space: nowrap;
  text-decoration: none; color: var(--navy); transition: color .2s;
}
.nav__list a:hover { color: var(--red); }
.nav__cta { display: none; }
.header__estimate { flex: none; }
.header__call {
  position: relative; display: flex; align-items: center; gap: 12px; align-self: stretch;
  flex: none; padding: 0 var(--gutter) 0 52px;
  background: var(--navy); color: #fff; text-decoration: none;
  clip-path: polygon(34px 0, 100% 0, 100% 100%, 0 100%);
}
.header__call-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); }
.header__call-ico .ico { width: 20px; height: 20px; }
.header__call-text { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.15; white-space: nowrap; }
.header__call-text small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; opacity: .75; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-950); }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(61, 107, 242, .55), transparent 60%),
    radial-gradient(45% 60% at 100% 100%, rgba(215, 38, 46, .75), transparent 65%),
    radial-gradient(40% 50% at 0% 0%, rgba(61, 107, 242, .25), transparent 70%),
    linear-gradient(120deg, var(--navy-950) 0%, var(--navy) 55%, #2a1a5e 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%);
  mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(64px, 9vw, 120px);
}
.hero__title { color: #fff; font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; line-height: 1.06; margin-bottom: 24px; letter-spacing: -.02em; }
.hero__title .hl { color: transparent; background: linear-gradient(90deg, #ff6b70, #ffb4b6); -webkit-background-clip: text; background-clip: text; }
.hero__lead { font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, .86); max-width: 590px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ico { color: #ff8a8e; }
.hero__art { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: end; }
.hero__orb { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .18), rgba(255, 255, 255, .02) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hero__svg { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.25; animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 16px; }
.float-card small { color: var(--muted); }
.float-card--a { left: -4%; bottom: 14%; }
.float-card--b { right: 0; top: 4%; animation-delay: -3s; }
.float-card__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; }
.float-card__ico--red { background: var(--red); }
.float-card__ico--blue { background: var(--blue); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--red); color: #fff; padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 700; font-size: 22px; white-space: nowrap; }
.marquee i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .6); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services (tabs) ---------- */
.svc { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc__list { position: relative; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc__tab {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 20px 8px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 1.7vw, 21px); text-align: left; color: var(--navy);
  transition: color .2s, padding .25s;
}
.svc__tab > .ico { width: 22px; height: 22px; color: var(--muted); transition: color .2s; }
.svc__tab span { flex: 1; }
.svc__chev { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .25s; }
.svc__tab:hover, .svc__tab[aria-selected="true"] { color: var(--red); }
.svc__tab[aria-selected="true"] { padding-left: 16px; }
.svc__tab[aria-selected="true"] > .ico { color: var(--red); }
.svc__tab[aria-selected="true"] .svc__chev { transform: rotate(0deg); }
.svc__panels { position: sticky; top: calc(var(--header-h) + 24px); }
.svc__panel {
  position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
  color: #fff; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy) 45%, var(--red) 130%);
  box-shadow: var(--shadow);
}
.svc__panel[hidden] { display: none; }
.svc__panel--red { background: linear-gradient(160deg, var(--navy) 0%, var(--red-700) 70%, var(--red) 100%); }
.svc__panel h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.svc__panel p { color: rgba(255, 255, 255, .86); }
.svc__panel .btn { align-self: flex-start; margin-top: 8px; }
.svc__bigico { position: absolute; top: -20px; right: -20px; width: 220px; height: 220px; color: rgba(255, 255, 255, .08); }
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 24px; font-size: 15px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
/* No-JS: show every panel stacked */
html:not(.js) .svc { grid-template-columns: 1fr; }
html:not(.js) .svc__list { display: none; }
html:not(.js) .svc__panels { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
html:not(.js) .svc__panel[hidden] { display: flex; }

/* ---------- Local (dark) ---------- */
.local { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.local::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 38, 46, .45), transparent 65%);
}
.local__grid { position: relative; display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 72px); }
.local h2 { color: #fff; }
.local__lead { color: rgba(255, 255, 255, .8); font-size: 18px; margin-bottom: 36px; }
.stat { padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.stat strong { display: block; font-family: var(--font-head); font-size: 48px; line-height: 1; margin-bottom: 8px; }
.stat span { color: rgba(255, 255, 255, .72); font-size: 15px; }
.issues { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 36px; }
.issue { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .25s, transform .25s; }
.issue:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.issue h3 { color: #fff; font-size: 19px; margin: 14px 0 6px; }
.issue p { color: rgba(255, 255, 255, .72); font-size: 15px; margin: 0; }
.issue__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--red); }
.issue__ico .ico { width: 22px; height: 22px; }

/* ---------- How it works ---------- */
.panel-soft {
  position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--soft);
}
.panel-soft::after {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 50px solid rgba(215, 38, 46, .07);
}
.steps { position: relative; z-index: 1; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; }
.step { position: relative; padding: 8px clamp(16px, 3vw, 36px); }
.step + .step { border-left: 1px solid #D7DBE7; }
.step + .step::before {
  content: "→"; position: absolute; left: -16px; top: 54px; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font-size: 16px; line-height: 1;
}
.step__tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 700; transform: rotate(-8deg); margin-bottom: 14px;
}
.step__ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: #fff; color: var(--red); box-shadow: var(--shadow); margin-bottom: 20px; }
.step__ico .ico { width: 30px; height: 30px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Bento ---------- */
.why { padding-top: 0; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 18px; }
.bento__card { position: relative; overflow: hidden; padding: 30px; border-radius: var(--radius-lg); }
.bento__card p { margin: 0; font-size: 16px; }
.bento__card--soft { background: var(--soft); }
.bento__card--soft p { color: var(--muted); }
.bento__card--feature {
  grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px;
  color: #fff; background: linear-gradient(170deg, var(--blue) 0%, var(--navy) 55%, var(--red) 120%);
}
.bento__card--feature h3 { color: #fff; font-size: 28px; }
.bento__card--feature p { color: rgba(255, 255, 255, .86); margin-bottom: 22px; }
.bento__card--feature p a { color: #fff; font-weight: 700; display: inline-block; padding: 4px 0; }
.bento__card--feature .btn { align-self: flex-start; }
.bento__art { position: absolute; top: 24px; right: 24px; width: 170px; height: 170px; }
.bento__card--red { background: var(--red); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.bento__big { font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1; margin-bottom: 10px; }
.bento__card--navy { background: var(--navy); color: #fff; }
.bento__card--navy h3 { color: #fff; }
.bento__card--navy p { color: rgba(255, 255, 255, .78); }
.bento__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: #fff; margin-bottom: 18px; }
.bento__ico--light { background: var(--red); }
.bento__ico .ico { width: 24px; height: 24px; }
.bento h3 { margin-bottom: 8px; }

/* ---------- Areas ---------- */
.areas { background: var(--soft); }
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.areas__grid > div > p { color: var(--muted); }
.areas__h { font-size: 18px; margin: 26px 0 12px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 15px; color: var(--navy); }
.chips li:has(a) { padding: 0; }
.chips a { display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none; transition: background-color .2s, color .2s; }
.chips a:hover { background: var(--navy); color: #fff; }
.chips--muted li { background: transparent; }
.areas__zip { display: flex; gap: 8px; align-items: center; margin-top: 24px; font-weight: 500; color: var(--navy) !important; }
.areas__zip .ico { color: var(--red); }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #dfe3ee; aspect-ratio: 4 / 3.4; border: 6px solid #fff; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 18px; background: var(--soft); transition: background-color .2s, box-shadow .2s; }
.qa[open] { background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1px var(--line); font-family: var(--font-body); font-size: 20px; line-height: 1; color: var(--navy);
  transition: transform .2s, background-color .2s;
}
.qa[open] summary::after { content: "−"; background: var(--red); color: #fff; box-shadow: none; }
.qa p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.faq__aside {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 60%, var(--red-700) 140%); color: #fff;
  box-shadow: 0 0 0 8px var(--soft), 0 0 0 9px rgba(215, 38, 46, .4);
}
.faq__aside h3 { color: #fff; font-size: 26px; }
.faq__aside > p { color: rgba(255, 255, 255, .8); }
.first-aid { counter-reset: s; list-style: none; display: grid; gap: 14px; margin-bottom: 26px; }
.first-aid li { counter-increment: s; position: relative; padding-left: 44px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.first-aid li::before {
  content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--red); font-weight: 700;
}
.first-aid strong { color: #fff; }

/* ---------- Contact ---------- */
.contact { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.contact::before {
  content: ""; position: absolute; left: -200px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 107, 242, .35), transparent 65%);
}
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact h2 { color: #fff; }
.contact__info > p:not(.pill) { color: rgba(255, 255, 255, .8); font-size: 18px; }
.nap { list-style: none; display: grid; gap: 18px; margin-top: 32px; padding-left: 22px; border-left: 3px solid var(--red); }
.nap li { display: flex; align-items: center; gap: 14px; }
.nap small { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); }
.nap a { text-decoration: none; font-weight: 700; font-size: 18px; word-break: break-word; }
.nap a:hover { color: #ff8a8e; }
.nap__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); flex: none; }
.form { background: #fff; color: var(--ink); padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.form__title { font-size: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft);
  font-size: 16px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(61, 107, 242, .15); }
.field.is-invalid input { border-color: var(--red); background: #fff5f5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.form__status { margin: 8px 0 0; font-weight: 700; text-align: center; min-height: 1.4em; }
.form__status.is-ok { color: #12804a; }
.form__status.is-err { color: var(--red); }

.page-meta { padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--muted); background: var(--navy-900); max-width: none; }
.page-meta p { max-width: var(--container); margin: 0 auto; color: rgba(255, 255, 255, .55); }

/* ---------- Footer ---------- */
.footer {
  color: #fff; padding: 56px 0 28px; position: relative;
  background: linear-gradient(115deg, var(--red-700) 0%, #6b1546 35%, var(--navy) 70%, var(--navy-950) 100%);
}
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-link { padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--red); font-weight: 700; font-size: 14px; text-decoration: none; }
.pill-link:hover { background: var(--soft); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0; }
.footer__cta h2 { color: #fff; font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 22px; }
.footer h3 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer nav a, .footer p { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 15px; }
.footer nav a { display: inline-block; padding: 6px 0; }
.footer ul { gap: 2px; }
.footer nav a:hover { color: #fff; text-decoration: underline; }
.footer__h-gap { margin-top: 22px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); }
.footer__bottom p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .88); }

/* ---------- 404 / thank-you ---------- */
.simple-page { min-height: 100vh; display: flex; align-items: center; }
.simple-page__inner { position: relative; padding-top: 48px; padding-bottom: 48px; }
.simple-page .logo { margin-bottom: 48px; }

/* ---------- Floating UI ---------- */
.callbar { display: none; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .header__estimate { display: none; }
}
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .nav-toggle {
    display: grid; align-content: center; gap: 5px; width: 48px; height: 48px; margin-left: auto; margin-right: var(--gutter);
    border: 0; border-radius: 14px; background: var(--soft); cursor: pointer; padding: 0 13px;
  }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header__call { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; z-index: 99; margin: 0;
    padding: 20px var(--gutter) 32px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; margin-bottom: 20px; }
  .nav__list a { padding: 16px 4px; font-size: 20px; font-family: var(--font-head); font-weight: 700; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__cta { display: flex; width: 100%; }
  body.nav-open { overflow: hidden; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { justify-self: center; max-width: 420px; }
  .svc { grid-template-columns: 1fr; gap: 20px; }
  .svc__panels { position: static; }
  .svc__panel { min-height: 0; }
  /* tabs become a horizontally scrolling chip bar */
  .svc__list {
    flex-direction: row; gap: 8px; border-top: 0; overflow-x: auto; scroll-snap-type: x proximity;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none;
  }
  .svc__list::-webkit-scrollbar { display: none; }
  .svc__tab {
    flex: none; width: auto; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
    font-size: 15px; white-space: nowrap; scroll-snap-align: start; background: #fff;
  }
  .svc__tab > .ico { width: 18px; height: 18px; }
  .svc__tab[aria-selected="true"] { padding-left: 16px; background: var(--navy); border-color: var(--navy); color: #fff; }
  .svc__tab[aria-selected="true"] > .ico { color: #ff8a8e; }
  .svc__chev { display: none; }
  .local__grid { grid-template-columns: 1fr; }
  .local__side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; align-items: start; }
  .local__side .pill { grid-column: 1 / -1; justify-self: start; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__cta { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .topbar__mail { display: none; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0; }
  .step + .step { border-left: 0; border-top: 1px solid #D7DBE7; padding-top: 32px; }
  .step + .step::before { content: "↓"; left: 50%; top: -16px; transform: translateX(-50%); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card--feature { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .areas__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .topbar__inner { justify-content: center; }
  .topbar__right { display: none; }
  .logo__text { font-size: 18px; }
  .logo__mark { width: 36px; height: 36px; }
  .hero__ctas .btn { width: 100%; }
  .hero__art { max-width: 340px; }
  .float-card { padding: 8px 12px 8px 8px; font-size: 12px; }
  .float-card strong { font-size: 14px; }
  .float-card__ico { width: 34px; height: 34px; border-radius: 10px; }
  .float-card--a { left: 0; bottom: 4%; }
  .ticks { grid-template-columns: 1fr; }
  .svc__panel .btn { white-space: normal; text-align: left; }
  .local__side { grid-template-columns: 1fr; }
  .stat { padding: 18px 0; }
  .stat strong { font-size: 38px; }
  .issues { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__card { padding: 26px 22px; }
  .bento__card--feature { min-height: 0; }
  .bento__art { position: static; width: 84px; height: 84px; margin-bottom: 18px; }
  .bento__card--feature h3 { font-size: 24px; }
  .qa summary { font-size: 16.5px; padding: 18px; }
  .qa p { padding: 0 18px 18px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .to-top { display: none; }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px -12px rgba(14, 27, 77, .35);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 700; text-decoration: none; }
  .callbar__call { background: var(--red); color: #fff; }
  .callbar__quote { background: var(--navy); color: #fff; }
}
@media (max-width: 380px) {
  .topbar { font-size: 12.5px; }
  .topbar__item { white-space: nowrap; }
  .logo__text { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
