/* Rapid Plumbing & Restoration — Nampa, ID
   Brand: shield blue / navy / logo black / chrome silver, hot-water red for calls. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 600 900;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --blue: #1F55A3;
  --blue-d: #1B4C93;
  --blue-l: #2A63B5;
  --blue-deep: #163F7A;
  --navy: #0B2545;
  --ink: #0D0F12;
  --text: #24364F;
  --muted: #4A5B72;
  --silver: #C3C8CF;
  --line: #DDE3EA;
  --mist: #EEF3F9;
  --red: #C8202D;
  --red-d: #A8151F;
  --drop: #9CC3F0;
  --star: #F4B400;
  --radius: 14px;
  --head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hdr-h: 68px;
  --shadow: 0 10px 30px -12px rgba(11, 37, 69, .28);
}
@media (min-width: 1000px) { :root { --hdr-h: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); color: var(--navy); margin: 0; font-stretch: 110%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }

/* inline phone links get a taller hit area without shifting the text */
.services__more a, .area__note a, .faq .lead a, .form__fine a { display: inline-block; padding: 11px 0; margin: -11px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.35em; border-radius: 9px; border: 2px solid transparent;
  font-family: var(--head); font-stretch: 105%; font-weight: 750; font-size: 1.02rem; line-height: 1.1;
  text-decoration: none; text-align: center; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 58px; font-size: 1.08rem; padding: 0 1.6em; }
.btn--block { width: 100%; }
.btn--call { background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(200, 32, 45, .55); }
.btn--call:hover { background: var(--red-d); color: #fff; box-shadow: 0 12px 22px -8px rgba(200, 32, 45, .6); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { color: var(--navy); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }

/* ---------- eyebrow tag (the logo's black banner) ---------- */
.tag {
  display: inline-block; margin: 0 0 14px;
  background: var(--ink); color: #fff;
  font-family: var(--head); font-stretch: 112%; font-weight: 700; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; line-height: 1.2;
  padding: .55em .85em .5em; border-radius: 3px;
  box-shadow: 0 0 0 2px var(--silver);
}

/* ---------- stars ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 18px; height: 18px; }
.stars--sm svg { width: 13px; height: 13px; }

/* ---------- preview + utility bars ---------- */
.preview-bar { background: var(--ink); color: #D5DAE1; font-size: .8125rem; line-height: 1.35; text-align: center; padding: 7px 16px; }
.preview-bar strong { color: #fff; font-weight: 600; }
.util { background: var(--blue-deep); color: #fff; font-size: .875rem; }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; }
.util__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.util__item .ico { width: 15px; height: 15px; color: var(--drop); }
.util__rating { color: #fff; text-decoration: none; font-weight: 600; gap: 7px; min-height: 44px; }
.util__rating:hover { color: #fff; text-decoration: underline; }
@media (max-width: 759px) {
  .util__item--hide-sm { display: none; }
  .util { font-size: .8125rem; }
}
@media (max-width: 420px) { .util .stars--sm svg:not(:first-child) { display: none; } }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; }
.hdr::after { content: ""; position: absolute; inset: 0; box-shadow: 0 8px 24px -12px rgba(11, 37, 69, .35); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.hdr.is-scrolled::after { opacity: 1; }
.hdr__in { display: flex; align-items: center; gap: 16px; height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; transform-origin: left center; transition: transform .3s ease; flex: none; }
.hdr.is-scrolled .brand { transform: scale(.9); }
.brand__mark { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand__name { font-family: var(--head); font-stretch: 125%; font-weight: 900; font-size: 1.6rem; color: var(--navy); letter-spacing: .01em; }
.brand__tag { margin-top: 4px; background: var(--ink); color: #fff; font-family: var(--head); font-stretch: 108%; font-weight: 700; font-size: .56rem; letter-spacing: .07em; text-transform: uppercase; padding: 3px 5px 2px; border-radius: 2px; }
@media (min-width: 1000px) {
  .brand__mark { width: 48px; }
  .brand__name { font-size: 1.9rem; }
  .brand__tag { font-size: .64rem; }
}
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; white-space: nowrap; padding: 10px 9px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 6px; }
.nav a:hover { background: var(--mist); color: var(--blue); }
.hdr__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr__call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-height: 44px; }
.hdr__callicon { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: transform .2s ease; }
.hdr__callicon svg { width: 20px; height: 20px; }
.hdr__call:hover .hdr__callicon { transform: translateY(-2px); }
.hdr__calltext { display: none; white-space: nowrap; font-family: var(--head); font-stretch: 105%; font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.hdr__calltext small { display: block; font-family: var(--body); font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.hdr__req { display: none; min-height: 46px; white-space: nowrap; }
.menu-btn { width: 46px; height: 46px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1.5px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer; }
.menu-btn span { width: 20px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mnav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(11, 37, 69, .4); padding: 8px 20px 20px; max-height: calc(100vh - var(--hdr-h)); overflow-y: auto; }
.mnav a:not(.btn) { display: flex; align-items: center; min-height: 52px; color: var(--navy); font-family: var(--head); font-stretch: 108%; font-weight: 700; font-size: 1.1rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 16px; }
@media (min-width: 480px) { .hdr__calltext { display: block; } }
@media (min-width: 1200px) {
  .nav { display: block; }
  .hdr__cta { margin-left: 8px; }
  .menu-btn, .mnav { display: none !important; }
}
@media (min-width: 1300px) { .hdr__req { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: 36px 0 64px; isolation: isolate; }
.hero__mark { position: absolute; z-index: -1; width: 560px; height: 600px; left: -170px; bottom: -260px; fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 9; overflow: visible; }
.hero__in { display: grid; gap: 34px; }
.hero h1 { color: #fff; font-stretch: 112%; font-weight: 850; font-size: clamp(2.15rem, 3.6vw + 1rem, 3.6rem); line-height: 1.04; letter-spacing: -.01em; margin: 4px 0 18px; text-wrap: balance; }
.hero h1 .u { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: .11em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.hero__sub { font-size: 1.08rem; line-height: 1.6; color: #E4ECF7; max-width: 36em; margin-bottom: 26px; }
.hero__btns { display: grid; gap: 12px; }
.hero__checks { display: grid; gap: 10px; margin-top: 24px; font-weight: 600; font-size: 1rem; }
.hero__checks li { display: flex; align-items: center; gap: 10px; }
.hero__checks svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #fff; color: var(--red); flex: none; }
.hero__media { position: relative; }
.hero__photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 5px solid var(--silver); background: var(--blue-d); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__photo figcaption { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: 6px 10px; border-radius: 4px; }
.hero__quote { position: relative; margin: -46px 12px 0 18px; background: #fff; color: var(--navy); border-radius: 12px; border-left: 5px solid var(--red); padding: 16px 18px 14px; box-shadow: 0 18px 40px -16px rgba(11, 37, 69, .5); max-width: 340px; }
.hero__quote p { font-family: var(--head); font-stretch: 100%; font-weight: 700; font-size: 1.05rem; line-height: 1.35; margin: 6px 0 8px; }
.hero__quote cite { display: flex; align-items: center; gap: 7px; font-style: normal; font-size: .875rem; color: var(--muted); font-weight: 600; }
.hero__quote cite svg { width: 16px; height: 16px; }
@media (min-width: 560px) {
  .hero__btns { grid-template-columns: auto auto; justify-content: start; }
}
@media (min-width: 1000px) {
  .hero { padding: 64px 0 120px; background: linear-gradient(90deg, var(--blue) 0 62%, var(--blue-d) 62% 100%); }
  .hero__in { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .hero__mark { left: -120px; bottom: -300px; width: 700px; height: 750px; }
  .hero__checks { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 1rem; }
  .hero__checks li { white-space: nowrap; }
  .hero__quote { position: absolute; left: -48px; bottom: -40px; margin: 0; max-width: 300px; }
}

/* hero load-in (CSS only; buttons are never hidden) */
@keyframes h-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .h-in { animation: h-in .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * 90ms); }

/* ---------- trust badges ---------- */
.trust { position: relative; z-index: 2; margin-top: -40px; }
.trust__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 420px; margin: 0 auto; }
.badge { position: relative; aspect-ratio: 280 / 300; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22% 14% 14%; }
.badge__shape { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; stroke: var(--silver); stroke-width: 12; overflow: visible; filter: drop-shadow(0 10px 14px rgba(11, 37, 69, .18)); }
.badge:first-child .badge__shape { fill: var(--blue-d); stroke: var(--ink); }
.badge > span { position: relative; }
.badge__big { display: inline-flex; align-items: center; gap: 4px; font-family: var(--head); font-stretch: 118%; font-weight: 900; font-size: 2.1rem; line-height: 1; color: var(--navy); }
.badge__big--word { font-size: 1.4rem; font-stretch: 104%; }
.badge__star { width: 24px; height: 24px; color: var(--star); }
.badge__small { margin-top: 6px; font-size: .82rem; font-weight: 600; line-height: 1.25; color: var(--muted); }
.badge:first-child .badge__big, .badge:first-child .badge__small { color: #fff; }
@media (min-width: 700px) {
  .trust { margin-top: -64px; }
  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; gap: 22px; }
  .badge__big { font-size: 2.3rem; }
  .badge__big--word { font-size: 1.5rem; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 1000px) { .section { padding: 104px 0; } }
.head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.head--left { margin-left: 0; text-align: left; }
.head h2 { font-weight: 850; font-size: clamp(1.75rem, 3.4vw + .9rem, 2.7rem); line-height: 1.1; letter-spacing: -.005em; text-wrap: balance; }
.lead { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }

/* ---------- services ---------- */
.services { padding-top: 64px; }
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1200px) {
  .cards--plumb { grid-template-columns: repeat(4, 1fr); }
  .cards--resto { grid-template-columns: 1fr 1fr 2fr; }
}
.sgroup + .sgroup { margin-top: 44px; }
.sgroup__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--line); }
.sgroup__icon { flex: none; width: 76px; height: 48px; border-radius: 10px; background: var(--blue-d); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px var(--silver); margin-left: 5px; }
.sgroup__icon svg { width: 58px; height: 32px; }
.sgroup__title { font-stretch: 118%; font-weight: 900; font-size: 1.45rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.sgroup__head p { margin: 2px 0 0; color: var(--muted); font-size: 1rem; }
.card--photo { padding: 0; overflow: hidden; border: 0; margin: 0; min-height: 240px; position: relative; background: var(--line); }
.card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card--photo figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600; line-height: 1.35; padding: 6px 10px; border-radius: 4px; }
.card--photo:hover { transform: none; box-shadow: none; }
@media (min-width: 640px) and (max-width: 1199px) { .card--photo { grid-column: span 2; min-height: 300px; } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px 24px 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #C9D3DF; }
.card--top { border-color: var(--blue); box-shadow: inset 0 4px 0 var(--blue); }
.card__flag { position: absolute; top: 18px; right: 18px; background: var(--red); color: #fff; font-family: var(--head); font-stretch: 110%; font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; }
.card__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 32px; height: 32px; }
.card__icon--red { background: var(--red); }
.card h3 { font-size: 1.28rem; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.card p { font-size: 1rem; color: var(--muted); margin-bottom: 18px; }
.card__act { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--head); font-stretch: 105%; font-weight: 750; font-size: 1rem; color: var(--blue); text-decoration: none; }
.card__act svg { width: 18px; height: 18px; transition: transform .2s ease; }
.card__act:hover svg { transform: translateX(3px); }
.card__act--call { color: var(--red); }
.card__act--call:hover { color: var(--red-d); }
.card__act--call svg { width: 18px; height: 18px; }
.services__more { margin-top: 34px; text-align: center; font-size: 1.08rem; font-weight: 600; color: var(--navy); }
.services__more a { color: var(--red); font-weight: 800; white-space: nowrap; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: #fff; border-top: 3px solid var(--silver); border-bottom: 3px solid var(--silver); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__list { display: flex; flex: none; }
.marquee__list li { display: flex; align-items: center; white-space: nowrap; padding: 18px 0; font-family: var(--head); font-stretch: 110%; font-weight: 700; font-size: 1.1rem; }
.marquee__list li::after { content: ""; width: 12px; height: 16px; margin: 0 26px; background: var(--drop); clip-path: path("M6 0C6 0 0 7 0 10a6 6 0 0 0 12 0C12 7 6 0 6 0Z"); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- why ---------- */
.why { background: var(--mist); }
.why__in { display: grid; gap: 40px; }
.frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow); background: var(--line); }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600; padding: 7px 10px; border-radius: 4px; }
.why__media { max-width: 480px; }
.reasons { display: grid; gap: 14px; }
.reason { display: grid; grid-template-columns: auto 1fr; gap: 16px; background: #fff; border-radius: var(--radius); padding: 22px 22px 20px; border: 1.5px solid var(--line); }
.reason__n { font-family: var(--head); font-stretch: 125%; font-weight: 900; font-size: 1.15rem; color: var(--blue); line-height: 1.5; }
.reason h3 { font-size: 1.18rem; font-weight: 800; line-height: 1.25; margin-bottom: 8px; }
.reason blockquote { color: var(--text); font-size: 1rem; border-left: 3px solid var(--silver); padding-left: 12px; }
.reason cite { font-style: normal; font-weight: 700; color: var(--navy); white-space: nowrap; }
@media (min-width: 1000px) {
  .why__in { grid-template-columns: 440px 1fr; gap: 64px; align-items: center; }
  .why__media { max-width: none; }
}

/* ---------- process ---------- */
.process { position: relative; background: var(--blue); color: #fff; isolation: isolate; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: var(--blue); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.process h2, .process h3 { color: #fff; }
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; background: var(--blue-d); border: 1.5px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 26px 24px 24px; }
.step__n { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--silver); font-family: var(--head); font-stretch: 120%; font-weight: 900; font-size: 1.3rem; margin-bottom: 16px; }
.step h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: #E4ECF7; font-size: 1rem; }
.process__cta { display: grid; gap: 12px; margin-top: 36px; justify-content: center; }
@media (min-width: 560px) { .process__cta { grid-template-columns: auto auto; } }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .process::before { top: -58px; height: 60px; }
}

/* ---------- reviews ---------- */
.reviews__top { display: grid; gap: 18px; margin-bottom: 34px; }
.reviews__top .head { margin-bottom: 0; }
.score { display: flex; align-items: center; gap: 14px; background: var(--mist); border-radius: var(--radius); padding: 14px 20px; width: fit-content; }
.score__g { width: 34px; height: 34px; }
.score__num { font-family: var(--head); font-stretch: 118%; font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--navy); }
.score__meta { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.star--part { -webkit-mask: linear-gradient(90deg, #000 72%, rgba(0, 0, 0, .25) 72%); mask: linear-gradient(90deg, #000 72%, rgba(0, 0, 0, .25) 72%); }
@media (min-width: 800px) { .reviews__top { grid-template-columns: 1fr auto; align-items: end; } }

.rgrid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; margin: 0 -20px; scrollbar-width: thin; }
.review { flex: 0 0 86%; scroll-snap-align: center; display: flex; flex-direction: column; background: var(--mist); border-radius: var(--radius); padding: 22px; }
.review header { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; margin-bottom: 14px; }
.review header .stars { grid-column: 1 / -1; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.15rem; }
.review h3 { font-size: 1.05rem; font-weight: 800; font-stretch: 105%; }
.review header p { font-size: .9375rem; color: var(--muted); margin: 0; }
.review > p { font-size: 1rem; color: var(--text); }
.reply { margin-top: 16px; background: #fff; border-left: 4px solid var(--blue); border-radius: 8px; padding: 12px 14px; font-size: 1rem; }
.reply strong { display: block; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.review--cta { position: relative; overflow: hidden; background: var(--blue); color: #fff; justify-content: center; isolation: isolate; }
.review--cta__mark { position: absolute; z-index: -1; right: -60px; bottom: -80px; width: 240px; height: 260px; fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 10; overflow: visible; }
.review--cta__big { font-family: var(--head); font-stretch: 112%; font-weight: 850; font-size: 1.5rem; line-height: 1.15; }
.review--cta p { color: #E4ECF7; }
.review--cta .btn { margin-top: 18px; align-self: flex-start; }
.reviews__hint { font-size: .9375rem; color: var(--muted); font-weight: 600; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.reviews__hint svg { width: 16px; height: 16px; }
@media (min-width: 700px) {
  .rgrid { display: block; columns: 2; column-gap: 20px; overflow: visible; padding: 0; margin: 0; }
  .review { break-inside: avoid; margin-bottom: 20px; }
  .reviews__hint { display: none; }
}
@media (min-width: 1080px) { .rgrid { columns: 3; } }

/* ---------- work gallery ---------- */
.work { background: var(--mist); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 10px; }
.g { position: relative; overflow: hidden; border-radius: 12px; background: var(--line); }
.g img { width: 100%; height: 100%; object-fit: cover; }
.g figcaption { position: absolute; left: 8px; bottom: 8px; right: 8px; width: fit-content; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.3; padding: 5px 8px; border-radius: 4px; }
.g--tall { grid-row: span 2; }
@media (max-width: 799px) { .gallery > .g:last-child { grid-column: span 2; } }
.g--wide { grid-column: span 2; }
.g--quote { grid-column: span 2; grid-row: span 2; position: relative; display: flex; flex-direction: column; justify-content: center; background: var(--navy); color: #fff; padding: 24px; isolation: isolate; }
.g--quote svg { position: absolute; z-index: -1; right: -40px; top: -30px; width: 200px; height: 215px; fill: var(--blue-d); }
.g--quote p { font-family: var(--head); font-stretch: 105%; font-weight: 750; font-size: 1.2rem; line-height: 1.35; margin-bottom: 12px; }
.g--quote span { color: var(--drop); font-weight: 600; font-size: .95rem; }
@media (min-width: 800px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 14px; }
  .g--quote { grid-column: span 1; grid-row: span 2; padding: 30px; }
  .g figcaption { font-size: .85rem; left: 12px; bottom: 12px; }
}
@media (min-width: 1100px) { .gallery { grid-auto-rows: 240px; } .g--quote p { font-size: 1.35rem; } }

/* ---------- about ---------- */
.about__in { display: grid; gap: 40px; }
.about__brand { position: relative; display: grid; place-items: center; background: var(--navy); border-radius: var(--radius); padding: 40px 24px; overflow: hidden; isolation: isolate; }
.about__brand::before { content: ""; position: absolute; inset: 0 50% 0 0; background: #0F2E55; z-index: -1; }
.about__brand img { width: min(240px, 70%); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .4)); }
.about__copy > .rv > p { font-size: 1.06rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.facts li { background: var(--mist); border-radius: 12px; padding: 16px; border-top: 4px solid var(--blue); }
.facts strong { display: block; font-family: var(--head); font-stretch: 110%; font-weight: 850; font-size: 1.15rem; color: var(--navy); line-height: 1.2; }
.facts li > span { display: block; font-size: .9rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
@media (min-width: 1000px) {
  .about__in { grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
  .about__brand { padding: 64px 32px; }
}

/* ---------- service area ---------- */
.area { background: var(--mist); }
.area__in { display: grid; gap: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; color: var(--navy); font-size: 1rem; }
.chips li:first-child { background: var(--blue); border-color: var(--blue); color: #fff; }
.area__note { margin-top: 20px; font-weight: 600; color: var(--navy); }
.area__note a { color: var(--red); font-weight: 800; white-space: nowrap; }
.area__addr { display: flex; gap: 12px; margin-top: 22px; }
.area__addr svg { width: 26px; height: 26px; color: var(--red); flex: none; margin-top: 2px; }
.area__addr strong { color: var(--navy); }
.area__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.area__map { border-radius: var(--radius); overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow); background: var(--line); }
.area__map iframe { display: block; width: 100%; height: 340px; border: 0; }
@media (min-width: 1000px) {
  .area__in { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
  .area__map iframe { height: 460px; }
}

/* ---------- FAQ ---------- */
.faq__in { display: grid; gap: 10px; }
.faq .lead a { color: var(--red); font-weight: 700; white-space: nowrap; }
.faq__list { display: grid; gap: 12px; }
.qa { border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s ease; }
.qa[open] { border-color: var(--blue); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 20px; font-family: var(--head); font-stretch: 105%; font-weight: 750; font-size: 1.08rem; color: var(--navy); line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231F55A3' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .3s ease; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa__a { padding: 0 20px 20px; color: var(--text); font-size: 1rem; }
.qa[open] .qa__a { animation: qa-in .35s ease-out; }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}
@media (min-width: 1000px) {
  .faq__in { grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
  .faq .head { position: sticky; top: calc(var(--hdr-h) + 24px); }
}

/* ---------- contact ---------- */
.contact { background: var(--navy); color: #fff; }
.contact__in { display: grid; gap: 36px; }
.contact h2 { color: #fff; font-stretch: 118%; font-weight: 900; font-size: clamp(2.4rem, 6vw + .5rem, 4rem); line-height: 1; margin-bottom: 18px; }
.contact__phone { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-family: var(--head); font-stretch: 110%; font-weight: 850; font-size: clamp(1.7rem, 4vw + .6rem, 2.5rem); line-height: 1.1; min-height: 56px; }
.contact__phone svg { width: 54px; height: 54px; padding: 13px; border-radius: 50%; background: var(--red); flex: none; transition: transform .2s ease; }
.contact__phone:hover { color: #fff; }
.contact__phone:hover svg { transform: translateY(-2px); }
.contact__dl { margin: 30px 0 0; display: grid; gap: 18px; }
.contact__dl dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--drop); font-weight: 700; margin-bottom: 2px; }
.contact__dl dd { margin: 0; font-size: 1.05rem; color: #E4ECF7; }
.social { display: inline-flex; align-items: center; gap: 8px; color: #fff; min-height: 44px; font-weight: 600; }
.social:hover { color: var(--drop); }
.social svg { width: 22px; height: 22px; }
.formcard { background: #fff; color: var(--text); border-radius: 16px; padding: 26px 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); border-top: 6px solid var(--red); }
.form h3, .form__done h3 { font-size: 1.4rem; font-weight: 850; line-height: 1.2; }
.form__sub { color: var(--muted); margin: 6px 0 20px; font-size: 1rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: 1rem; margin-bottom: 6px; }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1.0625rem; color: var(--navy); background: #F7F9FC; border: 1.5px solid #C9D3DF; border-radius: 9px; padding: 13px 14px; min-height: 52px; transition: border-color .2s ease, background-color .2s ease; }
.field select { appearance: none; background: #F7F9FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230B2545' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 3px rgba(31, 85, 163, .2); }
.field.is-flash select { border-color: var(--red); background-color: #FFF5F5; }
.field [aria-invalid="true"] { border-color: var(--red); }
.form__err { color: var(--red); font-weight: 700; margin: -4px 0 12px; }
.form__fine { margin-top: 12px; text-align: center; font-size: 1rem; color: var(--muted); font-weight: 600; }
.form__fine a { color: var(--red); font-weight: 800; white-space: nowrap; }
.form__done { text-align: center; padding: 30px 10px; }
.form__done:focus { outline: none; }
.form__done svg { width: 64px; height: 64px; margin: 0 auto 16px; padding: 14px; border-radius: 50%; background: var(--blue); color: #fff; }
.form__done p { margin-top: 10px; color: var(--muted); }
@media (min-width: 1000px) {
  .contact__in { grid-template-columns: 1fr 480px; gap: 64px; align-items: center; }
  .formcard { padding: 34px 32px; }
}

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #C4CBD5; padding: 56px 0 24px; font-size: 1rem; border-top: 3px solid var(--silver); }
.ftr__in { display: grid; gap: 32px; }
.ftr__brand img { width: 110px; margin-bottom: 16px; }
.ftr__phone { display: inline-block; color: #fff; font-family: var(--head); font-stretch: 110%; font-weight: 850; font-size: 1.5rem; text-decoration: none; margin-bottom: 6px; min-height: 44px; line-height: 44px; }
.ftr__phone:hover { color: var(--drop); }
.ftr__h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 700; margin: 0 0 12px; }
.ftr__h:not(:first-child) { margin-top: 22px; }
.ftr ul { display: grid; gap: 2px; }
.ftr ul a { color: #C4CBD5; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.ftr ul a:hover { color: #fff; text-decoration: underline; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #2A2F37; font-size: .875rem; color: #9AA3AF; }
@media (min-width: 800px) { .ftr__in { grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; } }

/* ---------- mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -10px 30px -12px rgba(11, 37, 69, .4); transform: translate3d(0, 115%, 0); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.callbar.is-on { transform: none; }
.callbar .btn { min-height: 52px; padding: 0 .8em; }
@media (max-width: 999px) { body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (min-width: 1000px) { .callbar { display: none; } }

/* ---------- scroll reveals (only once main.js has armed them) ---------- */
.rv-armed .rv { opacity: 0; transform: translate3d(0, 20px, 0); }
.rv-armed .rv.in { opacity: 1; transform: none; transition: opacity .55s ease-out, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.rv-armed .ph { opacity: 0; transform: scale(.96); }
.rv-armed .ph.in { opacity: 1; transform: none; transition: opacity .7s ease-out, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 60ms); }
.rv-armed .rv.now, .rv-armed .ph.now { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .js .h-in { animation: none; }
  .rv-armed .rv, .rv-armed .ph { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
  .btn, .card, .callbar, .brand, .hdr__callicon { transition: none; }
  .qa[open] .qa__a { animation: none; }
  .qa::details-content { transition: none; }
}
