/* ============================================================
   HORIZON RIDGE CONSTRUCTION GROUP — Landing Page
   El Paso, TX Roofing
   ============================================================ */

:root {
  --navy:        #13273D;
  --navy-dark:   #0C1B2C;
  --navy-soft:   #1C3653;
  --orange:      #E5712A;
  --orange-dark: #C85D1C;
  --orange-lt:   #F5904A;
  --cta-orange:  #B94F17;
  --cta-dark:    #A94713;
  --cream:       #F5F0E8;
  --cream-dark:  #ECE4D6;
  --text:        #1E2A36;
  --muted:       #5C6773;
  --white:       #FFFFFF;
  --line:        #E3DCCF;
  --shadow:      0 16px 42px rgba(19, 39, 61, 0.09);
  --shadow-lg:   0 28px 72px rgba(19, 39, 61, 0.14);
  --radius:      12px;
  --maxw:        1200px;
  --head-h:      100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.accent { color: var(--orange); }

/* When a real photo is auto-loaded into a [data-img] slot, hide the placeholder label */
.has-img::after { content: "" !important; }
[data-img].has-img { background-size: cover; background-position: center; }

/* ---------- Bilingual (EN default / ES) ---------- */
[data-lang="es"] { display: none; }
html[lang="es"] [data-lang="es"] { display: inline; }
html[lang="es"] [data-lang="en"] { display: none; }

.langswitch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.langswitch__btn {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 1px;
  padding: 7px 12px; background: transparent; color: var(--navy); cursor: pointer; border: none; line-height: 1;
  transition: background .15s ease, color .15s ease;
}
.langswitch__btn + .langswitch__btn { border-left: 1.5px solid var(--line); }
.langswitch__btn:hover { color: var(--orange); }
.langswitch__btn.active { background: var(--navy); color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  font-size: 15px;
  margin-bottom: 12px;
}
.eyebrow--center { display: block; text-align: center; }

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section-lead { color: var(--muted); font-size: 18px; margin-top: 14px; }

.stars { color: var(--orange); letter-spacing: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--cta-orange);
  color: #fff;
  border-color: rgba(255, 202, 158, .76);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 8px 20px rgba(200, 93, 28, .30),
    0 0 7px rgba(245, 144, 74, .12);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--cta-dark);
  border-color: rgba(255, 220, 190, .92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 13px 30px rgba(169, 71, 19, .34), 0 0 12px rgba(245, 144, 74, .18);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn:focus-visible { outline: 3px solid rgba(229,113,42,.3); outline-offset: 3px; }
.btn--outline { background: transparent; border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--lg { font-size: 19px; padding: 16px 30px; }
.btn--block { width: 100%; }

/* ---------- Service area strip ---------- */
.service-strip {
  background: var(--navy-dark);
  color: #dfe6ee;
  font-size: 14px;
  position: relative;
  z-index: 110;
  overflow: hidden;
  box-shadow: inset 0 -1px rgba(255,255,255,.06);
}
.service-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(229,113,42,.10) 38%, rgba(245,144,74,.82) 50%, rgba(229,113,42,.10) 62%, transparent 100%);
  background-size: 240% 100%;
  animation: serviceLineSweep 8s ease-in-out infinite;
}
@keyframes serviceLineSweep {
  0%, 18% { background-position: 180% 0; opacity: .35; }
  48%, 58% { opacity: .9; }
  82%, 100% { background-position: -80% 0; opacity: .35; }
}
.service-strip__inner { display: flex; justify-content: space-between; align-items: center; max-width: 1672px; padding: 8px clamp(24px, 4.5vw, 76px); gap: 24px; }
.service-strip__areas { font-size: 13px; line-height: 1.25; letter-spacing: .1px; }
.service-strip__label { color: var(--orange-lt); font-weight: 800; text-transform: uppercase; letter-spacing: .8px; margin-right: 9px; }
.service-strip__phone { flex: none; font-weight: 800; color: #fff; }
.service-strip__phone:hover { color: var(--orange-lt); }

/* ---------- Header ---------- */
.header {
  position: relative; z-index: 100;
  background: #f7f3ed;
  border-bottom: 1px solid rgba(19,39,61,.12);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 140px; max-width: 1672px; padding-inline: clamp(24px, 4.5vw, 76px); }

.brand { display: flex; align-items: center; gap: 12px; }
.header .brand { width: 180px; height: 140px; overflow: hidden; flex: none; }
.brand__hero-logo {
  width: 174px;
  height: 174px;
  object-fit: contain;
  flex: none;
  transform: translateY(2px);
  mix-blend-mode: multiply;
}
.brand__logo { height: 112px; width: auto; }
.brand__logo:not([hidden]) { display: block; }
.brand__logo[hidden], .footer__logo[hidden] { display: none !important; }
.brand__fallback { display: flex; align-items: center; gap: 14px; }
.brand__fallback[hidden] { display: none !important; }
.brand__mark { width: 116px; height: 88px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: 'Barlow Condensed', sans-serif; }
.brand__text strong { font-family: Georgia, 'Times New Roman', serif; font-size: 42px; font-weight: 700; letter-spacing: 2px; color: var(--navy); }
.brand__text em { margin-top: 3px; font-size: 20px; font-style: normal; letter-spacing: 3px; color: var(--orange); font-weight: 700; text-align: center; }
.brand__text small { margin-top: 5px; font-size: 15px; letter-spacing: 6px; color: var(--navy); font-weight: 800; white-space: nowrap; }
.brand--light .brand__text strong { color: #fff; }

.nav { display: flex; align-items: center; gap: clamp(15px, 1.6vw, 26px); margin-left: auto; }
.nav > a { font-weight: 700; font-size: 13px; letter-spacing: .25px; text-transform: uppercase; color: var(--navy); position: relative; white-space: nowrap; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--orange); transition: right .2s ease; }
.nav > a:hover::after, .nav > a:focus-visible::after { right: 0; }
.nav a:hover { color: var(--orange); }
.nav a:focus-visible, .service-strip__phone:focus-visible, .hamburger:focus-visible { outline: 3px solid rgba(229,113,42,.35); outline-offset: 4px; }
.nav__mobile-actions { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.btn--phone { font-size: 16px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (code-built content over photographic background) ---------- */
.hero {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -50vw;
  background: #f7f3ed;
  overflow: hidden;
}
.hero__inner {
  --hero-edge: max(clamp(32px, 4.5vw, 76px), calc((100vw - 1672px) / 2 + 76px));
  position: relative; width: 100vw; max-width: none; min-height: clamp(690px, 46vw, 770px); margin: 0;
}

/* LEFT: message column */
.hero__left { position: relative; z-index: 3; width: 54%; min-height: clamp(690px, 46vw, 770px); padding: 52px clamp(32px, 4.5vw, 76px) 0 var(--hero-edge); display: flex; flex-direction: column; }
.hero__title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase;
  line-height: 1.01; letter-spacing: -0.3px; font-size: clamp(48px, 3.45vw, 58px);
}
.hero__title-a { display: block; color: var(--navy); }
.hero__title-b { display: block; color: var(--orange); }
.hero__rule { display: block; width: 106px; height: 3px; background: var(--orange); margin: 19px 0 18px; position: relative; }
.hero__rule::after { content: ""; position: absolute; left: 130px; top: 0; width: 40px; height: 3px; background: var(--navy); opacity: .35; }
.hero__kicker { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; line-height: 1.03; margin-bottom: 8px; }
.hero__kicker .k1 { display: block; font-size: clamp(22px, 1.7vw, 28px); font-weight: 800; color: var(--navy); letter-spacing: .2px; }
.hero__kicker .k2 { display: block; font-size: clamp(17px, 1.35vw, 22px); font-weight: 800; color: var(--orange); letter-spacing: .15px; }

.hero__points { list-style: none; margin: 0 0 18px; max-width: 490px; }
.hpt { display: flex; gap: 16px; align-items: center; padding: 10px 0; }
.hpt + .hpt { border-top: 1px solid var(--line); }
.hpt__ic { flex: none; width: 84px; height: 64px; display: grid; place-items: center; }
.hpt__ic svg { width: 58px; height: 58px; }
.hpt__ic--sun svg { fill: none; stroke: var(--orange); stroke-width: 1.8; }
.hpt__ic--drop svg { fill: var(--orange); }
.hpt__ic--shield svg { fill: var(--orange); }
.hpt p { color: #253342; font-size: 14.25px; font-weight: 550; line-height: 1.42; }

/* Navy CTA banner with slanted right edge (like the flyer) */
.hero__cta {
  display: inline-flex; align-items: center; gap: 40px; align-self: flex-start;
  background: var(--navy-dark); color: #fff;
  width: min(41vw, 686px); margin-top: auto; margin-left: calc(var(--hero-edge) * -1);
  padding: 20px 72px 20px var(--hero-edge);
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
  border-top: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  transition: transform .15s ease, background .15s ease, filter .2s ease;
}
.hero__cta:hover { transform: translateY(-2px); background: #0a1622; }
.hero__cta-ic { flex: none; width: 50px; height: 50px; color: var(--orange); }
.hero__cta-ic svg { width: 50px; height: 50px; }
.hero__cta-tx { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(20px, 1.55vw, 26px); line-height: 1; letter-spacing: .25px; }
.hero__cta-tx strong { color: var(--orange); font-weight: 800; }
.hero__cta-line { display: block; }

/* RIGHT: sunset home photo */
.hero__right { position: absolute; inset: 0; width: 100vw; max-width: none; z-index: 0; min-height: clamp(690px, 46vw, 770px); }
.hero__photo { position: absolute; inset: 0; display: block; width: 100vw; max-width: none; height: 100%; object-fit: cover; object-position: center center; }
.hero__right::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #f7f3ed 0%, rgba(247,243,237,.98) 27%, rgba(247,243,237,.86) 43%, rgba(247,243,237,.24) 60%, rgba(247,243,237,0) 72%);
}
.hero__badge {
  position: absolute; z-index: 2; right: 3.5%; bottom: 58px; width: clamp(370px, 28vw, 455px);
  background: rgba(252,250,247,.92); border: 1px solid rgba(255,255,255,.72); border-radius: 12px; padding: 23px 25px 23px 22px;
  box-shadow: 0 24px 64px rgba(12,27,44,.18), inset 0 1px 0 rgba(255,255,255,.72); display: flex; gap: 14px; align-items: flex-start;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero__badge-ic { flex: none; width: 54px; height: 54px; color: var(--orange); margin-top: 1px; }
.hero__badge-ic svg { width: 54px; height: 54px; }
.hero__badge p { font-size: 17px; line-height: 1.36; color: #101820; font-weight: 700; }

/* ---------- Schedule / Lead form section ---------- */
.quote { padding: 104px 0; background: #fff; border-top: 1px solid rgba(19,39,61,.08); }
.quote__inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 72px; align-items: center; }
.quote__lead { color: var(--muted); font-size: 17px; margin: 14px 0 20px; }
.check-list--light { margin-bottom: 26px; }
.quote .check-list--light li { color: var(--navy); font-weight: 600; }

/* ---------- Quote Card (lead form) ---------- */
.quote-card {
  background: #fff; color: var(--text);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 30px; border: 1px solid rgba(19,39,61,.10); border-top: 4px solid var(--orange);
}
.quote-card__head { text-align: center; margin-bottom: 18px; }
.quote-card__head h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  text-transform: uppercase; font-size: 28px; color: var(--navy); line-height: 1.05;
}
.quote-card__head p { font-size: 14px; color: var(--muted); margin-top: 6px; }

.quote-form { display: grid; gap: 13px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1.5px solid #d6dce2; border-radius: 8px; background: #f8f9fa; color: var(--text);
  transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(229,113,42,0.15); background: #fff;
}
.form-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 2px; }
.form-success {
  text-align: center; font-weight: 600; color: #1a7f37;
  background: #e6f4ea; padding: 12px; border-radius: 10px; margin-top: 6px;
}
.form-success[data-status="error"] { color: #9b2c20; background: #fdecea; }
.quote-card--dark { border-top-color: var(--orange); }

/* ---------- Trust Bar ---------- */
.trustbar { background: #10243a; color: #fff; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 26px 20px; }
.trustbar__item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.trustbar__item + .trustbar__item { border-left: 1px solid rgba(255,255,255,0.12); }
.trustbar__item .ic { width: 40px; height: 40px; fill: none; stroke: var(--orange); stroke-width: 1.6; flex: none; }
.trustbar__item div { display: flex; flex-direction: column; line-height: 1.15; font-family: 'Barlow Condensed', sans-serif; }
.trustbar__item strong { font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.trustbar__item span { font-size: 14px; color: #cdd6df; letter-spacing: .5px; text-transform: uppercase; }

/* ---------- Problem section ---------- */
.problem { padding: 80px 0; background: var(--cream); }
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard {
  background: #fff; border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard__icon { width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.pcard__icon svg { width: 34px; height: 34px; }
.pcard__icon--sun { background: #fdeede; }
.pcard__icon--sun svg { fill: none; stroke: var(--orange); stroke-width: 2; }
.pcard__icon--water { background: #e4eefb; }
.pcard__icon--water svg { fill: #2f6fb0; }
.pcard__icon--shield { background: #fdeede; }
.pcard__icon--shield svg { fill: var(--orange); }
.pcard h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.pcard p { color: var(--muted); font-size: 16px; }
.problem__cta { text-align: center; margin-top: 46px; }

/* ---------- Services ---------- */
.services { padding: 80px 0; background: #fff; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scard {
  border-radius: var(--radius); overflow: hidden; background: var(--cream);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.scard__img {
  position: relative; height: 190px;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  background-size: cover; background-position: center;
}
.scard__img::after {
  content: attr(data-img);
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,0.55); font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
}
.scard__img[style]::after { content: ""; }
.scard__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 12px;
  padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px;
  font-family: 'Barlow Condensed', sans-serif;
}
.scard__body { padding: 22px; }
.scard__body h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 23px; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.scard__body p { color: var(--muted); font-size: 15px; }

/* ---------- Insurance (differentiator band) ---------- */
.insurance { background: #10243a; color: #fff; padding: 96px 0; }
.insurance__inner { text-align: center; }
.insurance__head { max-width: 800px; margin: 0 auto; }
.insurance__head .eyebrow { display: block; }
.insurance__head .section-title { color: #fff; }
.insurance__lead { color: #d3dce5; font-size: 17px; margin-top: 16px; }
.insurance__lead strong { color: #fff; }
.insurance__grid {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  max-width: 1000px; margin: 40px auto; text-align: center;
  counter-reset: insurance-step;
}
.insurance__grid li {
  counter-increment: insurance-step; padding: 18px 24px; display: flex; flex-direction: column; align-items: center; gap: 13px;
  border-right: 1px solid rgba(255,255,255,.16);
}
.insurance__grid li:last-child { border-right: 0; }
.ins-ic { font-size: 0; line-height: 1; }
.ins-ic::before { content: "0" counter(insurance-step); font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; color: var(--orange-lt); letter-spacing: .08em; }
.insurance__grid p { color: #eaf0f6; font-size: 15px; }
.insurance__cta { margin-top: 6px; }

.check-list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.check-list li { position: relative; padding-left: 34px; font-size: 16px; color: #eaf0f6; }
.check-list li::before {
  content: "✔"; position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px; background: var(--orange); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: 13px;
}
.fineprint { font-size: 13px; color: #9fb0c1; margin-top: 16px; }

/* ---------- Process ---------- */
.process { padding: 104px 0; background: #f6f5f2; }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1080px; margin: 0 auto; border-top: 1px solid rgba(19,39,61,.18); }
.step {
  min-width: 0; max-width: none; text-align: left;
  background: transparent; border-radius: 0; padding: 36px 38px 20px;
  box-shadow: none; border: 0; border-right: 1px solid rgba(19,39,61,.13);
}
.step:nth-of-type(5) { border-right: 0; }
.step__num {
  width: auto; height: auto; margin: 0 0 28px;
  background: transparent; color: var(--orange-dark);
  border-radius: 0; display: block;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 34px;
}
.step h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step__arrow { display: none; }

/* ---------- Why ---------- */
.why { padding: 80px 0; background: #fff; }
.why__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.why__item { display: flex; gap: 14px; }
.why__ic { font-size: 30px; flex: none; }
.why__item strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 20px; text-transform: uppercase; color: var(--navy); }
.why__item p { color: var(--muted); font-size: 15px; }
.why__media {
  min-height: 440px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-soft), var(--navy)); box-shadow: var(--shadow-lg);
  background-size: cover; background-position: center; position: relative;
}
.why__media::after {
  content: "Your Crew / Team Photo"; position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,0.4); font-family: 'Barlow Condensed', sans-serif; letter-spacing: 1px; text-transform: uppercase;
}
.why__media[style]::after { content: ""; }

/* ---------- Reviews ---------- */
.reviews { padding: 104px 0; background: #fff; }
.reviews__rating { margin-top: 14px; font-size: 17px; }
.reviews__rating .stars { font-size: 20px; }
.reviews .container { max-width: 100%; padding-inline: 0; }
.reviews .section-head { padding-inline: 20px; }
.reviews__viewport {
  overflow: hidden;
  padding: 18px 0 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.reviews__track {
  display: flex;
  width: max-content;
  animation: reviewsMarquee 104s linear infinite;
  will-change: transform;
}
.reviews__group { display: flex; gap: 22px; padding-right: 22px; }
.review {
  position: relative; z-index: 1; flex: 0 0 clamp(320px, 30vw, 420px);
  background: #f7f8f9; border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(19,39,61,.08); border: 1px solid rgba(19,39,61,.09); border-top: 3px solid var(--orange);
  transition: transform .38s cubic-bezier(.16,1,.3,1), box-shadow .38s ease;
}
.review__photo { width: 100%; height: 175px; object-fit: cover; }
.review__content { padding: 25px 28px 28px; }
.review .stars { font-size: 18px; }
.review p { font-size: 16px; margin: 12px 0; color: var(--text); font-style: italic; }
.review cite { font-weight: 700; color: var(--navy); font-style: normal; font-size: 15px; }
.reviews__viewport:hover .reviews__track { animation-play-state: paused; }
.review:hover { z-index: 2; transform: scale(1.045); box-shadow: 0 22px 48px rgba(19,39,61,.18); }

@keyframes reviewsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Service area ---------- */
.area { padding: 70px 0; background: var(--navy); color: #fff; text-align: center; }
.area .section-title { color: #fff; }
.area p { max-width: 760px; margin: 16px auto 26px; color: #d3dce5; font-size: 17px; }

/* ---------- FAQ ---------- */
.faq { padding: 80px 0; background: #fff; }
.faq__list { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px;
  padding: 4px 22px; transition: box-shadow .2s;
}
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 17px;
  color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--orange); font-size: 26px; font-weight: 700; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 18px; color: var(--muted); font-size: 16px; }

/* ---------- Final CTA ---------- */
.finalcta { padding: 96px 0; background: #0d2033; color: #fff; }
.finalcta__inner { display: grid; grid-template-columns: 1fr 0.85fr; gap: 50px; align-items: center; }
.finalcta__copy h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 46px); line-height: 1.03; }
.finalcta__copy p { font-size: 18px; color: #d3dce5; margin: 16px 0 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #c9d3dd; padding: 56px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer__logo-chip { display: inline-flex; align-items: center; }
.footer__logo-chip.has-logo { background: transparent; box-shadow: none; padding: 0; }
.footer__logo { height: 109px; width: auto; }
.footer__logo:not([hidden]) { display: block; }
.footer__brand p { margin-top: 14px; font-size: 15px; max-width: 320px; }
.footer__col h4 { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 1px; color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer__col p { margin-bottom: 8px; font-size: 15px; }
.footer__col a:hover { color: var(--orange-lt); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer__bottom p { font-size: 13px; color: #8ea0b2; text-align: center; }

/* ---------- Sticky mobile CTA ---------- */
.mobilebar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; }
.mobilebar a {
  flex: 1; text-align: center; padding: 15px; font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif; font-size: 18px; text-transform: uppercase; letter-spacing: .5px;
}
.mobilebar__call { background: var(--navy); color: #fff; }
.mobilebar__quote {
  background: linear-gradient(135deg, var(--cta-orange), var(--cta-dark));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 209, 170, .72);
}

/* ============================================================
   CTA ANIMATIONS
   ============================================================ */

/* Visible but restrained zoom-and-glow rhythm for conversion actions. */
@keyframes ctaBreathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 20px rgba(200, 93, 28, .29), 0 0 6px rgba(245, 144, 74, .10);
  }
  50% {
    transform: scale(1.035);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 10px 24px rgba(200, 93, 28, .34), 0 0 14px rgba(245, 144, 74, .25);
  }
}

@keyframes heroCtaBreathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 2px 5px rgba(229, 113, 42, .13)); }
  50% { transform: scale(1.028); filter: drop-shadow(0 4px 10px rgba(229, 113, 42, .27)); }
}

@keyframes heroBadgeBreathe {
  0%, 100% { transform: scale(1); box-shadow: 0 24px 64px rgba(12,27,44,.18), inset 0 1px 0 rgba(255,255,255,.72); }
  50% { transform: scale(1.026); box-shadow: 0 28px 70px rgba(12,27,44,.24), 0 0 13px rgba(229,113,42,.15), inset 0 1px 0 rgba(255,255,255,.82); }
}

@keyframes mobileCtaGlow {
  0%, 100% { transform: scale(1); box-shadow: inset 0 0 0 1px rgba(255, 209, 170, .68), inset 0 0 7px rgba(255,255,255,.04), 0 0 5px rgba(245, 144, 74, .08); }
  50% { transform: scale(1.02); box-shadow: inset 0 0 0 1px rgba(255, 226, 202, .90), inset 0 0 11px rgba(255,255,255,.11), 0 0 12px rgba(245, 144, 74, .22); }
}

.btn--primary { transform-origin: center; animation: ctaBreathe 3.6s ease-in-out infinite; }
.hero__cta { transform-origin: left center; animation: heroCtaBreathe 3.6s ease-in-out infinite; }
.hero__badge { transform-origin: center; animation: heroBadgeBreathe 3.6s ease-in-out -1.8s infinite; }
.mobilebar__quote { transform-origin: right center; animation: mobileCtaGlow 3.6s ease-in-out -.9s infinite; }

.btn--primary:hover, .btn--primary:focus-visible,
.hero__cta:hover, .hero__cta:focus-visible,
.mobilebar__quote:hover, .mobilebar__quote:focus-visible { animation: none; }

@media (prefers-reduced-transparency: reduce) {
  .hero__badge { background: #fbfaf7; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    align-items: stretch; background: #fff; padding: 18px clamp(24px, 4.5vw, 76px) 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav__mobile-actions { display: grid; gap: 10px; padding-top: 14px; }
  .nav.open .nav__mobile-actions p { color: var(--muted); font-size: 13px; line-height: 1.4; }
  .nav.open .nav__mobile-actions .btn { padding: 12px 18px; border-bottom: 2px solid transparent; }

  .quote__inner { grid-template-columns: 1fr; gap: 30px; }
  .insurance__grid { grid-template-columns: 1fr 1fr; }
  .finalcta__inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 1000px) {
  .header__cta .btn--phone { display: none; }
}

/* Tablet portrait: simplify dense desktop grids before they begin to feel cramped. */
@media (max-width: 900px) {
  .process__grid { grid-template-columns: 1fr; align-items: stretch; border-top: 0; max-width: 680px; }
  .step { max-width: 100%; padding: 28px 18px; border-right: 0; border-top: 1px solid rgba(19,39,61,.14); }
  .step__arrow { transform: rotate(90deg); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: 460px; }
}

@media (min-width: 821px) {
  .header__actions { display: flex; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .header__inner { height: 118px; padding-inline: 28px; }
  .header .brand { width: 150px; height: 114px; }
  .brand__hero-logo { width: 145px; height: 145px; transform: translateY(2px); }
  .brand__mark { width: 92px; height: 70px; }
  .brand__text strong { font-size: 34px; }
  .brand__text em { font-size: 16px; }
  .brand__text small { font-size: 12px; letter-spacing: 4.8px; }
  .hero__inner { min-height: 650px; }
  .hero__left { width: 57%; min-height: 650px; padding: 38px 28px 0; }
  .hero__title { font-size: clamp(38px, 4.2vw, 47px); }
  .hero__kicker .k1 { font-size: 23px; }
  .hero__kicker .k2 { font-size: 18px; }
  .hero__points { max-width: 450px; }
  .hpt { gap: 12px; padding: 9px 0; }
  .hpt__ic { width: 44px; height: 44px; }
  .hpt__ic svg { width: 38px; height: 38px; }
  .hpt p { font-size: 13px; }
  .hero__cta { margin-left: -28px; padding-left: 28px; padding-right: 45px; gap: 18px; }
  .hero__cta-tx { font-size: 21px; }
  .hero__right { inset: 0; min-height: 650px; }
  .hero__right::before { background: linear-gradient(90deg, #f7f3ed 0%, rgba(247,243,237,.98) 31%, rgba(247,243,237,.82) 49%, rgba(247,243,237,.14) 68%, rgba(247,243,237,0) 78%); }
  .hero__badge { right: 18px; bottom: 30px; max-width: 335px; padding: 17px; }
  .hero__badge-ic, .hero__badge-ic svg { width: 40px; height: 40px; }
  .hero__badge p { font-size: 14px; }
}

@media (min-width: 960px) and (max-width: 1100px) {
  .hero__title { font-size: 38px; }
  .hero__title-b { white-space: nowrap; }
}

@media (max-width: 820px) {
  .header { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
  .header__inner { height: 94px; padding-inline: 20px; gap: 14px; }
  .header .brand { width: 116px; height: 90px; }
  .brand__hero-logo { width: 112px; height: 112px; transform: translateY(2px); }
  .brand__mark { width: 72px; height: 56px; }
  .brand__text strong { font-size: 29px; }
  .brand__text em { font-size: 13px; letter-spacing: 2px; }
  .brand__text small { font-size: 10px; letter-spacing: 3.8px; }
  .header__actions { margin-left: auto; }
  .header__cta { display: none; }
  .hero { left: auto; width: 100%; margin-left: 0; }
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; min-height: 0; }
  .hero__left { width: 100%; min-width: 0; min-height: 0; padding: 36px 28px 0; }
  .hero__title, .hero__kicker, .hero__points, .hpt, .hpt p, .hero__cta, .hero__cta-tx { min-width: 0; }
  .hero__title { font-size: clamp(39px, 5.9vw, 46px); max-width: 680px; }
  .hero__kicker .k1 { font-size: 24px; }
  .hero__kicker .k2 { font-size: 19px; }
  .hero__points { max-width: none; }
  .hpt { padding: 9px 0; }
  .hpt p { font-size: 14px; }
  .hero__cta { margin: 10px 0 0; padding: 17px 50px 17px 28px; }
  .hero__cta { width: 100%; align-self: stretch; gap: 18px; }
  .hero__right { position: relative; inset: auto; width: 100%; min-height: 0; }
  .hero__photo {
    position: relative; inset: auto; width: 100%; height: auto;
    aspect-ratio: 1672 / 941; object-fit: contain; object-position: center;
  }
  .hero__right::before { background: linear-gradient(180deg, #f7f3ed 0%, rgba(247,243,237,0) 20%); }
  .hero__badge {
    position: relative; left: auto; right: auto; bottom: auto; max-width: none;
    margin: -18px 28px 24px;
  }
  .trustbar__grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .trustbar__item + .trustbar__item { border-left: 0; }
  .trustbar__item:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.14); }
}

@media (max-width: 760px) {
  .service-strip__inner { flex-direction: column; gap: 3px; text-align: center; padding: 7px 16px; }
  .service-strip__areas { font-size: 11px; }
  .service-strip__label { display: block; margin: 0 0 2px; }
  .service-strip__phone { font-size: 13px; }
  .trustbar__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .trustbar__item + .trustbar__item { border-left: none; }
  .trustbar__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .problem__grid, .services__grid, .reviews__grid { grid-template-columns: 1fr; }
  .reviews__viewport { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%); }
  .reviews__track { animation-duration: 88s; }
  .reviews__group { gap: 16px; padding-right: 16px; }
  .review { flex-basis: min(84vw, 350px); }
  .review__photo { height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--cream); }
  .review__content { padding: 22px 22px 25px; }
  .why__grid { grid-template-columns: 1fr; }
  .step__arrow { transform: rotate(90deg); }
  .process__grid { grid-template-columns: 1fr; align-items: stretch; border-top: 0; }
  .step { max-width: 100%; padding: 28px 8px; border-right: 0; border-top: 1px solid rgba(19,39,61,.14); }
  .step__num { margin-bottom: 14px; }
  .insurance__grid { grid-template-columns: 1fr; }
  .insurance__grid li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 22px 8px; }
  .insurance__grid li:last-child { border-bottom: 0; }
  .hero__badge { left: auto; right: auto; bottom: auto; max-width: none; margin: -16px 16px 20px; }
  .mobilebar { display: flex; }
  body { padding-bottom: 54px; }
  .header__cta { display: none; }        /* bottom sticky bar handles the CTA on mobile */
  .header__inner { gap: 12px; }
  .section-head { margin-bottom: 34px; }
  .problem, .services, .process, .why, .reviews, .faq, .finalcta { padding: 56px 0; }
  .quote { padding: 64px 0; }
  .quote-card { padding: 26px 20px; }
  .field input, .field select { min-height: 48px; font-size: 16px; }
  .btn--lg { padding: 15px 18px; font-size: 18px; }
  .insurance__cta .btn, .finalcta__actions .btn { width: 100%; }
  .nav.open a { min-height: 48px; display: flex; align-items: center; }
  .langswitch__btn { min-height: 40px; }
  .hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
}

@media (max-width: 760px) {
  :root { --head-h: 76px; }
  .brand__logo { height: 60px; }
  .footer__logo { height: 101px; }
  /* Collapse the footer so long content (email) can't force horizontal overflow */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col a, .footer__col p { overflow-wrap: anywhere; }
}

@media (max-width: 440px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__logo-chip { margin: 0 auto; }
}

@media (max-width: 420px) {
  .header__inner { height: 78px; padding-inline: 12px; gap: 8px; }
  .brand__fallback { gap: 7px; }
  .header .brand { width: 96px; height: 74px; }
  .brand__hero-logo { width: 92px; height: 92px; transform: translateY(2px); }
  .brand__mark { width: 52px; height: 42px; }
  .brand__text strong { font-size: 22px; letter-spacing: 1px; }
  .brand__text em { margin-top: 1px; font-size: 10px; letter-spacing: 1.2px; }
  .brand__text small { margin-top: 3px; font-size: 7px; letter-spacing: 2.5px; }
  .langswitch__btn { padding: 7px 7px; font-size: 12px; letter-spacing: .35px; }
  .hamburger { margin-left: 0; padding: 5px; }
  .hamburger span { width: 24px; }
  .hero__left { padding: 28px 18px 0; }
  .hero__title { font-size: clamp(33px, 9.4vw, 37px); }
  .hero__rule { margin: 15px 0; }
  .hero__kicker .k1 { font-size: 23px; }
  .hero__kicker .k2 { font-size: 18px; }
  .hpt { align-items: flex-start; gap: 12px; }
  .hpt__ic { width: 42px; height: 42px; }
  .hpt__ic svg { width: 36px; height: 36px; }
  .hpt p { font-size: 13px; }
  .hero__cta { margin: 8px 0 0; width: 100%; padding: 15px 38px 15px 18px; }
  .hero__cta-ic, .hero__cta-ic svg { width: 32px; height: 32px; }
  .hero__cta-tx { font-size: 19px; }
  .hero__right { min-height: 0; }
  .hero__photo { object-position: center; }
  .hero__badge { padding: 14px; gap: 10px; }
  .hero__badge-ic, .hero__badge-ic svg { width: 38px; height: 38px; }
  .hero__badge p { font-size: 13px; }
  .trustbar__grid { grid-template-columns: 1fr; gap: 0; padding-block: 12px; }
  .trustbar__item { justify-content: flex-start; padding: 14px 22px; }
  .trustbar__item:nth-child(even) { border-left: 0; }
  .trustbar__item + .trustbar__item { border-top: 1px solid rgba(255,255,255,0.12); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .brand__text strong { font-size: 18px; }
  .brand__logo { height: 54px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  .reviews__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .reviews__track { animation: none !important; transform: none !important; }
  .reviews__group[aria-hidden="true"] { display: none; }
  .service-strip::after { animation: none !important; background-position: center; opacity: .45; }
}
