/* ==========================================================================
   Economy House Painting Inc. — site styles
   Palette: deep navy + signal orange, warm neutrals
   ========================================================================== */

:root {
  --navy-900: #0a1f38;
  --navy-800: #0f2c4c;
  --navy-700: #163c66;
  --navy-600: #1e4f83;
  /* Brand orange. --orange-500 matches the logo and is used for large fills,
     icons and decoration. Small text and button fills use --orange-ink, which is
     darkened just enough to clear WCAG AA (4.5:1) against white — the bright
     brand orange only reaches 3.04:1, which fails for button labels. */
  --orange-600: #d9550f;
  --orange-500: #f26b21;
  --orange-400: #ff8a44;
  --orange-ink: #b34f18;
  --orange-ink-hover: #984314;
  --sand-50: #fbf9f6;
  --sand-100: #f4f0ea;
  --sand-200: #e7e0d6;
  --ink-900: #12181f;
  --ink-700: #333d49;
  --ink-500: #5c6773;
  --ink-400: #8792a0;
  --white: #ffffff;
  --green-500: #1f9d55;

  --shadow-sm: 0 1px 2px rgba(10, 31, 56, .06), 0 2px 8px rgba(10, 31, 56, .06);
  --shadow-md: 0 4px 12px rgba(10, 31, 56, .08), 0 12px 32px rgba(10, 31, 56, .10);
  --shadow-lg: 0 12px 28px rgba(10, 31, 56, .12), 0 32px 64px rgba(10, 31, 56, .16);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--orange-ink); }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.022em;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.85rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.28; }
h4 { font-size: 1.06rem; line-height: 1.35; }
p  { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- language toggle ---------- */
[data-l] { display: none; }
html[data-lang="en"] [data-l="en"] { display: revert; }
html[data-lang="es"] [data-l="es"] { display: revert; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sand { background: var(--sand-50); }
.section--navy { background: var(--navy-800); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange-500); border-radius: 2px; }
.section--navy .eyebrow { color: var(--orange-400); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { margin-top: 16px; font-size: 1.075rem; color: var(--ink-500); }
.section--navy .section-head p { color: rgba(255,255,255,.72); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-500); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: .98rem; letter-spacing: .01em; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange-ink); color: #fff; box-shadow: 0 6px 18px rgba(179,79,24,.34); }
.btn--primary:hover { background: var(--orange-ink-hover); color: #fff; box-shadow: 0 10px 26px rgba(179,79,24,.42); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.42); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--sand-200); }
.btn--outline:hover { border-color: var(--navy-800); color: var(--navy-900); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--sand-200);
  transition: box-shadow .2s ease;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; flex-shrink: 0; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 23px; height: 23px; }
.brand__logo { width: 46px; height: auto; flex-shrink: 0; display: block; }
.brand__logo--lg { width: 58px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.02rem; color: var(--navy-900); letter-spacing: -.02em; }
.brand__tag { font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--orange-ink); }

.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav > li { position: relative; }
.nav a {
  display: block; padding: 10px 13px; border-radius: 9px;
  font-size: .94rem; font-weight: 700; color: var(--ink-700);
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand-100); color: var(--navy-900); }
.nav a[aria-current="page"] { color: var(--orange-ink); }

.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
}
.subnav {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 218px;
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a { font-weight: 600; font-size: .92rem; }

.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.langswitch { display: inline-flex; background: var(--sand-100); border-radius: 999px; padding: 3px; }
.langswitch button {
  border: 0; background: transparent; border-radius: 999px; padding: 6px 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .04em; color: var(--ink-500);
}
.langswitch button[aria-pressed="true"] { background: var(--navy-800); color: #fff; }

.header__phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; color: var(--navy-900); font-size: .98rem; white-space: nowrap;
}
.header__phone svg { width: 17px; height: 17px; color: var(--orange-500); }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--sand-200);
  background: #fff; border-radius: 12px; padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; position: relative; transition: .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: .2s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy-900); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 620px at 12% 18%, rgba(15,44,76,.55), transparent 62%),
    linear-gradient(100deg, rgba(10,31,56,.95) 4%, rgba(10,31,56,.78) 42%, rgba(10,31,56,.42) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(72px, 10vw, 140px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--orange-400); }
.hero__sub { margin-top: 20px; font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: rgba(255,255,255,.8); max-width: 56ch; }
.hero .btn-row { margin-top: 32px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .02em;
}
.hero__badge b { color: var(--orange-400); }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(31,157,85,.24); }

.hero__points { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.hero__points li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.88); font-weight: 600; font-size: .99rem; }
.hero__points svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--orange-400); margin-top: 1px; }

/* hero quote card */
.quotecard {
  background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
}
.quotecard h2 { font-size: 1.42rem; }
.quotecard__note { margin-top: 6px; font-size: .92rem; color: var(--ink-500); }

/* ---------- trust bar ---------- */
.trustbar { background: var(--sand-100); border-bottom: 1px solid var(--sand-200); }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 28px);
  padding-block: 30px; text-align: center;
}
.trustbar__item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trustbar__num { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; line-height: 1; }
.trustbar__lbl { font-size: .82rem; font-weight: 700; color: var(--ink-500); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(20px, 2.6vw, 30px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { color: var(--ink-500); font-size: .97rem; }
.card__link {
  margin-top: auto; padding-top: 18px; font-weight: 800; font-size: .92rem; color: var(--orange-ink);
  display: inline-flex; align-items: center; gap: 7px;
}
.card__link::after { content: "→"; transition: transform .2s ease; }
.card:hover .card__link::after { transform: translateX(4px); }

/* feature card (icon) */
.fcard {
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius-lg);
  padding: 30px 28px; height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fcard__icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(242,107,33,.14), rgba(242,107,33,.05));
  color: var(--orange-600);
}
.fcard__icon svg { width: 25px; height: 25px; }
.fcard h3 { font-size: 1.14rem; margin-bottom: 8px; }
.fcard p { font-size: .96rem; color: var(--ink-500); }
.section--navy .fcard { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.12); }
.section--navy .fcard p { color: rgba(255,255,255,.7); }
.section--navy .fcard__icon { background: rgba(255,138,68,.16); color: var(--orange-400); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 70px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 100px); }
.split--flip .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.split__stamp {
  position: absolute; right: -14px; bottom: -20px;
  background: var(--orange-500); color: #fff; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-md); max-width: 210px;
}
.split__stamp b { display: block; font-size: 1.6rem; line-height: 1; font-weight: 800; }
.split__stamp span { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .92; }

.ticks { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink-700); }
.ticks svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--green-500); margin-top: 2px; }
.ticks--2 { grid-template-columns: repeat(2, 1fr); }
.section--navy .ticks li { color: rgba(255,255,255,.85); }

/* ---------- process ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 30px); }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 2.4rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--sand-200); margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .95rem; color: var(--ink-500); }
.section--navy .step::before { -webkit-text-stroke-color: rgba(255,255,255,.24); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: var(--sand-100); border: 0; padding: 0; display: block;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: rgba(10,31,56,.34);
  opacity: 0; transition: opacity .25s ease;
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--tall { grid-row: span 2; aspect-ratio: 1 / 2.07; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(8,20,35,.94); padding: 28px;
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26);
  color: #fff; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.3rem;
}
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav--prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange-500); border-color: var(--orange-500); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 28px); }
.review {
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 16px;
}
.stars { display: flex; gap: 3px; color: #f5a623; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1rem; color: var(--ink-700); line-height: 1.62; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}
.review__name { font-weight: 800; color: var(--navy-900); font-size: .95rem; line-height: 1.2; }
.review__meta { font-size: .84rem; color: var(--ink-400); }
.review__trans {
  display: inline-block; margin-top: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-400);
}
.review__trans::before { content: "↻ "; }

.rating-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  margin-top: 36px; padding: 18px 24px; border-radius: 999px;
  background: #fff; border: 1px solid var(--sand-200); width: fit-content; margin-inline: auto;
  font-weight: 700; color: var(--navy-900);
}

/* ---------- accordion ---------- */
.acc { border-top: 1px solid var(--sand-200); }
.acc__item { border-bottom: 1px solid var(--sand-200); }
.acc__btn {
  width: 100%; background: none; border: 0; text-align: left;
  padding: 24px 44px 24px 0; position: relative;
  font-size: 1.06rem; font-weight: 800; color: var(--navy-900); line-height: 1.4;
}
.acc__btn::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--orange-500); border-bottom: 2.5px solid var(--orange-500);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.acc__btn[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
.acc__btn:hover { color: var(--orange-ink); }
.acc__panel { display: none; padding: 0 44px 26px 0; color: var(--ink-500); }
.acc__panel.is-open { display: block; }

/* ---------- areas ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--sand-200);
  font-weight: 700; font-size: .95rem; color: var(--navy-900);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.area svg { width: 17px; height: 17px; color: var(--orange-500); flex-shrink: 0; }
a.area:hover { border-color: var(--orange-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--navy-900); }
.section--navy .area { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); color: #fff; }
.section--navy a.area:hover { background: rgba(255,255,255,.12); border-color: var(--orange-400); color: #fff; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--navy-900), var(--navy-700)); }
.ctaband::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,107,33,.32), transparent 66%);
  top: -220px; right: -160px;
}
.ctaband__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.78); margin-top: 12px; font-size: 1.08rem; }
.ctaband .btn-row { justify-content: flex-end; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 800; color: var(--navy-900); margin-bottom: 7px; letter-spacing: .01em; }
.field .req { color: var(--orange-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .97rem; color: var(--ink-900);
  background: var(--sand-50); border: 1.5px solid var(--sand-200); border-radius: var(--radius-sm);
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(30,79,131,.12);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6773' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__foot { margin-top: 8px; font-size: .82rem; color: var(--ink-400); text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.formnote {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(31,157,85,.09); border: 1px solid rgba(31,157,85,.28);
  color: #0f5c31; font-size: .93rem; font-weight: 600; display: none;
}
.formnote.is-visible { display: block; }

/* ---------- page hero (interior pages) ---------- */
.pagehero { position: relative; background: var(--navy-900); overflow: hidden; }
.pagehero__bg { position: absolute; inset: 0; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.pagehero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,31,56,.94), rgba(10,31,56,.62)); }
.pagehero__inner { position: relative; z-index: 2; padding-block: clamp(56px, 7vw, 96px); max-width: 780px; }
.pagehero h1 { color: #fff; }
.pagehero p { color: rgba(255,255,255,.8); margin-top: 16px; font-size: 1.1rem; }
.pagehero .btn-row { margin-top: 28px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .86rem; margin-bottom: 20px; }
.crumbs li { color: rgba(255,255,255,.55); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .55; }
.crumbs a { color: rgba(255,255,255,.78); font-weight: 600; }
.crumbs a:hover { color: var(--orange-400); }

/* ---------- prose ---------- */
.prose h2 { margin-top: 1.6em; margin-bottom: .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; margin-bottom: .45em; }
.prose ul { margin: 0 0 1.2em; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { display: flex; gap: 11px; align-items: flex-start; }
.prose ul li::before {
  content: ""; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%;
  background: var(--orange-500); flex-shrink: 0;
}

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.66); padding-block: clamp(56px, 7vw, 84px) 0; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--orange-400); }
.footer__grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand .brand__name { color: #fff; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--orange-400); flex-shrink: 0; margin-top: 4px; }
.footer__areas { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.footer__areas span, .footer__areas a {
  padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.07);
  font-size: .81rem; font-weight: 600;
}
.footer__areas a:hover { background: rgba(242,107,33,.22); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
}
.social a:hover { background: var(--orange-500); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer__bar {
  margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.11);
  padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .86rem; color: rgba(255,255,255,.5);
}
.license-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 10px;
  background: rgba(255,255,255,.07); font-size: .82rem; font-weight: 700; color: #fff; margin-top: 16px;
}
.license-badge svg { width: 16px; height: 16px; color: var(--orange-400); }

/* ---------- floating actions ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: var(--shadow-md);
  transition: transform .2s ease;
}
.fab:hover { transform: scale(1.07); color: #fff; }
.fab svg { width: 30px; height: 30px; }

.mobilebar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .burger { display: grid; }
  .nav-wrap {
    position: fixed; inset: var(--header-h) 0 0; background: #fff; z-index: 89;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s ease; visibility: hidden;
  }
  .nav-wrap.is-open { transform: translateX(0); visibility: visible; }
  .nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 15px 4px; font-size: 1.06rem; border-bottom: 1px solid var(--sand-100); border-radius: 0; }
  .has-sub > a::after { display: none; }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 0 18px; min-width: 0;
  }
  .subnav a { font-size: .97rem; color: var(--ink-500); }
  .nav-wrap .btn { margin-top: 22px; }
  .header__phone span { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .quotecard { order: 2; }
  .split, .grid--3, .grid--2, .reviews { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .ctaband__inner { grid-template-columns: 1fr; }
  .ctaband .btn-row { justify-content: flex-start; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery__item--tall { grid-row: span 1; aspect-ratio: 1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .ticks--2 { grid-template-columns: 1fr; }
  .split__stamp { right: 12px; bottom: -16px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .header__actions .btn { display: none; }
  .langswitch button { padding: 6px 10px; }

  body { padding-bottom: 68px; }
  .fab { bottom: 80px; width: 52px; height: 52px; }
  .fab svg { width: 27px; height: 27px; }
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    background: #fff; border-top: 1px solid var(--sand-200); box-shadow: 0 -4px 18px rgba(10,31,56,.1);
  }
  .mobilebar a {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 17px 10px; font-weight: 800; font-size: .95rem; color: var(--navy-900);
  }
  .mobilebar a + a { background: var(--orange-ink); color: #fff; }
  .mobilebar svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .header, .footer, .fab, .mobilebar, .ctaband { display: none !important; }
}
