/* ═══════════════════════════════════════════════════════════════
   ElaraBlinds.com — Luxury Custom Blinds & Shades, South Florida
   Design tokens pulled from the brand logo: deep navy, metallic
   gold, champagne, warm ivory, charcoal, taupe.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Palette */
  --navy-deep: #0A1730;
  --navy:      #12244A;
  --navy-soft: #1A2F5C;
  --gold:      #C6A14F;
  --gold-soft: #DDBE7E;
  --gold-deep: #A9873B;
  --champagne: #EFE6D3;
  --ivory:     #F8F4EC;
  --charcoal:  #23262C;
  --taupe:     #8A7F6F;
  --ink:       #1E2634;
  --white:     #FFFFFF;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", -apple-system, sans-serif;

  /* Rhythm */
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --container: 1180px;
  --radius: 10px;

  --shadow-soft: 0 18px 50px -18px rgba(10, 23, 48, 0.28);
  --shadow-card: 0 10px 34px -14px rgba(10, 23, 48, 0.22);

  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--navy-deep);
  letter-spacing: 0.005em;
}

h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-pad); }
.section--ivory { background: var(--ivory); }
.section--champagne { background: var(--champagne); }

.section--navy {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(198, 161, 79, 0.10), transparent 60%),
    linear-gradient(175deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: rgba(248, 244, 236, 0.86);
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--ivory); }

/* ── Shared elements ──────────────────────────────────────────── */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}
.eyebrow--gold { color: var(--gold-soft); }
.eyebrow--light { color: rgba(248, 244, 236, 0.82); }

/* Signature "orbit rule": hairline gold divider with the orbit dot */
.orbit-rule {
  position: relative;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(198, 161, 79, 0.25));
  margin: 1.4rem 0 1.8rem;
}
.orbit-rule span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--gold-deep));
  transform: translate(-50%, -50%);
  animation: orbit-travel 5s var(--ease-lux) infinite;
}
.orbit-rule--center { margin-inline: auto; }
.orbit-rule--gold { background: linear-gradient(90deg, var(--gold-soft), rgba(221, 190, 126, 0.2)); }

@keyframes orbit-travel {
  0%, 100% { left: 0; }
  50% { left: 100%; }
}

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.section__lede { color: var(--taupe); font-size: 1.1rem; }
.section__head--light .section__lede { color: rgba(248, 244, 236, 0.72); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-lux), box-shadow 0.35s var(--ease-lux),
              background-color 0.35s, color 0.35s, border-color 0.35s;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: var(--navy-deep);
  box-shadow: 0 10px 26px -10px rgba(198, 161, 79, 0.55);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(198, 161, 79, 0.65); }
.btn--ghost {
  border-color: rgba(248, 244, 236, 0.5);
  color: var(--ivory);
  background: rgba(248, 244, 236, 0.04);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); transform: translateY(-2px); }
.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(198, 161, 79, 0.4);
  transition: gap 0.3s var(--ease-lux), border-color 0.3s;
}
.link-arrow::after { content: "→"; font-size: 1rem; transition: transform 0.3s var(--ease-lux); }
.link-arrow:hover { border-color: var(--gold); }
.link-arrow:hover::after { transform: translateX(5px); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ═══════════════ PRELOADER — "The Rising Shade" ═══════════════
   Sequence (≈2.6s):
   0.0s  gold hairlines draw outward from center
   0.4s  logo emerges — soft scale + fade
   1.2s  a diagonal light sweep glides across the emblem once
   1.4s  tagline letter-spaces into place
   exit  the entire screen rises like a single roller shade,
         a gold hairline "hem" trailing its bottom edge          */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.preloader.is-done { visibility: hidden; }

.preloader__shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 620px at 50% 44%, rgba(198, 161, 79, 0.09), transparent 62%),
    linear-gradient(180deg, #0B1832 0%, var(--navy-deep) 55%, #081226 100%);
  will-change: transform;
}

.preloader__stage {
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  padding: 0 1.5rem;
}

/* Hairlines drawing outward */
.preloader__hairline {
  display: block;
  width: min(340px, 68vw);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(198, 161, 79, 0.85) 35%,
    var(--gold-soft) 50%,
    rgba(198, 161, 79, 0.85) 65%,
    transparent 100%);
  transform: scaleX(0);
  animation: hairline-draw 1.3s var(--ease-lux) forwards;
}
.preloader__hairline--bottom { animation-delay: 0.15s; }
@keyframes hairline-draw { to { transform: scaleX(1); } }

/* Emblem sits on a soft champagne "plate" so the logo's deep-navy
   wordmark reads with proper contrast against the dark preloader
   (the text is #05163C on transparency — invisible on navy without
   this). The plate is part of the composition, not a patch: rounded,
   softly glowing, with a hairline gold edge. */
.preloader__emblem {
  position: relative;
  width: min(340px, 66vw);
  padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.8rem, 4.5vw, 2.8rem);
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at 50% 30%, #FDFBF6 0%, var(--ivory) 55%, var(--champagne) 100%);
  border: 1px solid rgba(198, 161, 79, 0.45);
  box-shadow:
    0 0 0 6px rgba(248, 244, 236, 0.04),
    0 24px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 60px -10px rgba(221, 190, 126, 0.35);
  opacity: 0;
  transform: scale(0.93);
  animation: emblem-in 1.5s var(--ease-lux) 0.35s forwards;
}
.preloader__logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(10, 23, 48, 0.12));
}
@keyframes emblem-in {
  0%   { opacity: 0; transform: scale(0.93); }
  60%  { opacity: 1; }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.preloader__sheen {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.20) 48%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.20) 52%,
    transparent 60%);
  transform: translateX(-120%);
  animation: sheen-pass 1.1s cubic-bezier(0.4, 0, 0.2, 1) 1.15s forwards;
}
@keyframes sheen-pass { to { transform: translateX(120%); } }

/* Tagline tracking in like a fashion-house lockup */
.preloader__tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--gold-soft);
  letter-spacing: 0.2em;
  opacity: 0;
  animation: tagline-track 1.6s var(--ease-lux) 1.35s forwards;
}
@keyframes tagline-track {
  from { opacity: 0; letter-spacing: 0.2em; }
  to   { opacity: 1; letter-spacing: 0.52em; }
}

/* Gold "hem" along the shade's bottom edge — visible as it lifts */
.preloader__hem {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(198, 161, 79, 0.15),
    var(--gold-soft) 50%,
    rgba(198, 161, 79, 0.15));
  box-shadow: 0 0 22px rgba(221, 190, 126, 0.55);
  opacity: 0;
}

/* Exit: the shade rises in one continuous, weighted motion */
.preloader.is-exiting .preloader__stage {
  animation: stage-fade 0.55s ease forwards;
}
@keyframes stage-fade { to { opacity: 0; transform: translateY(-14px); } }
.preloader.is-exiting .preloader__hem { opacity: 1; }
.preloader.is-exiting .preloader__shade {
  animation: shade-rise 1.35s cubic-bezier(0.7, 0, 0.16, 1) 0.35s forwards;
}
@keyframes shade-rise { to { transform: translateY(-100.5%); } }

/* ═══════════════ HEADER ═══════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background-color 0.45s ease, box-shadow 0.45s ease,
              backdrop-filter 0.45s ease, border-color 0.45s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 23, 48, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(198, 161, 79, 0.22);
  box-shadow: 0 10px 30px -12px rgba(6, 13, 28, 0.5);
}
.header__inner {
  width: min(1320px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.85rem;
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}
.header__brand img,
.header__logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  transition: width 0.35s var(--ease-lux), height 0.35s var(--ease-lux);
}
.header.is-scrolled .header__logo { width: 58px; height: 58px; }
.header__wordmark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.01em;
}
.header__wordmark em { font-style: normal; color: var(--gold-soft); }
.header__wordmark small { font-size: 0.7em; color: rgba(248, 244, 236, 0.6); }

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.header__nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.85);
  padding-block: 0.4rem;
  position: relative;
  transition: color 0.3s;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-lux);
}
.header__nav a:hover { color: var(--gold-soft); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__phone {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-soft);
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(198, 161, 79, 0.45);
  border-radius: 3px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.header__phone:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.header__phone--mobile { display: none; }

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(198, 161, 79, 0.4);
  border-radius: 3px;
  cursor: pointer;
}
.header__toggle span {
  display: block;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.35s var(--ease-lux), opacity 0.25s;
}
.header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.07) translateX(-1%); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 23, 48, 0.55) 0%, rgba(10, 23, 48, 0.28) 40%, rgba(10, 23, 48, 0.68) 100%),
    radial-gradient(80% 60% at 50% 80%, rgba(10, 23, 48, 0.35), transparent);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  max-width: 900px;
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  color: var(--white);
  text-shadow: 0 3px 30px rgba(6, 13, 28, 0.45);
  margin-bottom: 1.4rem;
}
.hero__title-break { display: block; }
.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 300;
  color: rgba(248, 244, 236, 0.92);
  max-width: 620px;
  margin: 0 auto 2.4rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero__trust {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero__scrollcue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: rgba(248, 244, 236, 0.22);
  overflow: hidden;
}
.hero__scrollcue span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--gold-soft);
  animation: cue-fall 2.2s var(--ease-lux) infinite;
}
@keyframes cue-fall {
  from { transform: translateY(-120%); }
  to { transform: translateY(280%); }
}

/* Hero content entrance (triggered after preloader) */
.hero__eyebrow, .hero__title, .hero__sub, .hero__actions, .hero__trust {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease-lux), transform 1s var(--ease-lux);
}
body.is-ready .hero__eyebrow { transition-delay: 0.15s; }
body.is-ready .hero__title   { transition-delay: 0.3s; }
body.is-ready .hero__sub     { transition-delay: 0.45s; }
body.is-ready .hero__actions { transition-delay: 0.6s; }
body.is-ready .hero__trust   { transition-delay: 0.75s; }
body.is-ready .hero__eyebrow,
body.is-ready .hero__title,
body.is-ready .hero__sub,
body.is-ready .hero__actions,
body.is-ready .hero__trust { opacity: 1; transform: none; }

/* ═══════════════ CREDO STRIP ═══════════════ */
.credo {
  background: var(--navy-deep);
  border-block: 1px solid rgba(198, 161, 79, 0.25);
  padding-block: 1.15rem;
}
.credo__inner {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.4rem;
}
.credo span {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}
.credo i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(198, 161, 79, 0.55);
}

/* ═══════════════ ABOUT ═══════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about__points {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.7rem;
}
.about__points li {
  position: relative;
  padding-left: 1.6rem;
  font-weight: 400;
}
.about__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 1px;
  background: var(--gold);
}
.about__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.about__media figcaption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--taupe);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.02rem;
}

/* ═══════════════ PRODUCT FEATURES ═══════════════ */
.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  width: min(1320px, 100%);
  margin: 0 auto clamp(3rem, 7vw, 5.5rem);
  gap: 0;
}
.feature__media {
  position: relative;
  overflow: hidden;
}
.feature__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 1.4s var(--ease-lux);
}
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__body {
  background: var(--white);
  padding: clamp(2.2rem, 4.5vw, 4rem);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
  margin-left: -70px;
  border-top: 2px solid var(--gold);
}
.feature--flip { grid-template-columns: 1fr 1.15fr; }
.feature--flip .feature__media { order: 2; }
.feature--flip .feature__body { order: 1; margin-left: 0; margin-right: -70px; }
.feature__body h3 { margin-bottom: 1rem; }
.feature__body > p { margin-bottom: 1.4rem; }
.feature__list {
  list-style: none;
  margin-bottom: 1.8rem;
  display: grid;
  gap: 0.55rem;
}
.feature__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--charcoal);
}
.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 1px;
  background: var(--gold);
}

/* Additional solutions card (Horizontal Shades — visually secondary) */
.addl {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(1.6rem, 3.5vw, 3rem);
  align-items: center;
  background: var(--champagne);
  border: 1px solid rgba(198, 161, 79, 0.3);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.addl__media img {
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.addl__body h3 { margin-bottom: 0.7rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.addl__body p { margin-bottom: 1.2rem; }

/* ═══════════════ MOTORIZATION ═══════════════ */
.motor__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.motor__copy > p { color: rgba(248, 244, 236, 0.78); }
.motor__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
  margin-block: 2.2rem;
}
.motor__feature h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}
.motor__feature p {
  font-size: 0.94rem;
  color: rgba(248, 244, 236, 0.68);
}
.motor__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.motor__media img {
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(198, 161, 79, 0.25);
}

/* ═══════════════ GALLERY ═══════════════ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease-lux);
}
.gallery__item--wide img { aspect-ratio: auto; min-height: 100%; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.4rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(10, 23, 48, 0.82));
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ═══════════════ SERVICE AREAS ═══════════════ */
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.areas__county {
  background: rgba(248, 244, 236, 0.035);
  border: 1px solid rgba(198, 161, 79, 0.22);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.areas__county h3 {
  font-size: 1.5rem;
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
}
.areas__county ul {
  list-style: none;
  columns: 2;
  column-gap: 1.4rem;
}
.areas__county li {
  padding-block: 0.32rem;
  font-size: 0.97rem;
  font-weight: 300;
  color: rgba(248, 244, 236, 0.82);
  break-inside: avoid;
}
.areas__note {
  margin-top: 2.6rem;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  color: rgba(248, 244, 236, 0.66);
  font-size: 0.99rem;
}

/* ═══════════════ REVIEWS ═══════════════ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.review {
  background: var(--white);
  border: 1px solid rgba(198, 161, 79, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-lux), box-shadow 0.4s var(--ease-lux);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.review__stars {
  color: var(--gold);
  letter-spacing: 0.28em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.review p {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--navy);
  flex: 1;
  margin-bottom: 1.4rem;
}
.review footer {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(198, 161, 79, 0.25);
}
.review cite {
  font-style: normal;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}
.review footer span {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ═══════════════ FAQ ═══════════════ */
.faq__list { display: grid; gap: 0.9rem; }
.faq__item {
  background: var(--white);
  border: 1px solid rgba(198, 161, 79, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-lux);
}
.faq__item[open] { box-shadow: var(--shadow-card); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 {
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.4;
}
.faq__icon {
  position: relative;
  flex: 0 0 20px;
  height: 20px;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--gold-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-lux);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 1.5rem 1.35rem; }
.faq__answer p { color: var(--charcoal); font-size: 0.99rem; }

/* ═══════════════ CONTACT ═══════════════ */
.contact__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.contact__intro > p {
  color: rgba(248, 244, 236, 0.78);
  margin: 0 auto 2.4rem;
  max-width: 560px;
}
.contact__channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.4rem;
}
.contact__channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 1.4rem 1.4rem;
  border: 1px solid rgba(198, 161, 79, 0.3);
  border-radius: var(--radius);
  background: rgba(248, 244, 236, 0.03);
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-lux);
}
.contact__channel:hover {
  border-color: var(--gold-soft);
  background: rgba(198, 161, 79, 0.08);
  transform: translateY(-2px);
}
.contact__label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.55);
}
.contact__value {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 600;
  color: var(--gold-soft);
  word-break: break-word;
}

/* Email inquiry call-to-action */
.contact__cta {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 2.4rem 1.5rem;
  background: rgba(248, 244, 236, 0.035);
  border: 1px solid rgba(198, 161, 79, 0.25);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
  margin-bottom: 2.4rem;
}
.contact__email-btn {
  padding-inline: 3rem;
  font-size: 0.9rem;
}
.contact__cta-note {
  font-size: 0.9rem;
  color: rgba(248, 244, 236, 0.6);
  max-width: 420px;
}
.contact__cta-note a {
  color: var(--gold-soft);
  font-weight: 500;
  white-space: nowrap;
}
.contact__areasline {
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.5);
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: #071022;
  color: rgba(248, 244, 236, 0.72);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}
.footer__brand img {
  width: 150px;
  height: 150px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  object-fit: contain;
}
.footer__brand p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(248, 244, 236, 0.6);
  line-height: 1.5;
}
.footer__col { display: grid; gap: 0.55rem; align-content: start; }
.footer__col h4 {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
}
.footer__col a {
  font-size: 0.94rem;
  font-weight: 300;
  color: rgba(248, 244, 236, 0.72);
  transition: color 0.3s;
  width: fit-content;
}
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom { text-align: center; }
.footer__bottom .orbit-rule { margin-bottom: 1.6rem; width: 180px; }
.footer__bottom p {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(248, 244, 236, 0.45);
}
.footer__credit {
  margin-top: 0.5rem;
  font-size: 0.78rem;
}
.footer__credit a {
  color: rgba(221, 190, 126, 0.75);
  transition: color 0.3s;
}
.footer__credit a:hover { color: var(--gold-soft); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1080px) {
  .feature__body { margin-left: -40px; }
  .feature--flip .feature__body { margin-right: -40px; }
  .header__nav { gap: 1.3rem; }
}

@media (max-width: 920px) {
  .header__brand img,
  .header__logo { width: 64px; height: 64px; }
  .header.is-scrolled .header__logo { width: 52px; height: 52px; }
  .header__phone { display: none; }
  .header__toggle { display: flex; }
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(340px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2.5rem;
    background: rgba(10, 23, 48, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-left: 1px solid rgba(198, 161, 79, 0.3);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-lux);
    z-index: 950;
  }
  .header__nav.is-open { transform: translateX(0); }
  .header__nav a { font-size: 1rem; }
  .header__phone--mobile {
    display: block;
    margin-top: 1rem;
    padding: 0.8rem 1.4rem;
    border: 1px solid var(--gold);
    border-radius: 3px;
    color: var(--gold-soft) !important;
  }
  .header__toggle { position: relative; z-index: 960; }

  .about__grid,
  .motor__grid { grid-template-columns: 1fr; }
  .motor__media { order: -1; }

  .feature,
  .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 1; }
  .feature--flip .feature__body { order: 2; }
  .feature__body,
  .feature--flip .feature__body {
    margin: -50px 1.25rem 0;
    border-radius: var(--radius);
  }
  .feature__media img { min-height: 300px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }
  .areas__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .contact__channels { grid-template-columns: 1fr; }
  .contact__email-btn { width: 100%; padding-inline: 1.5rem; }
  .motor__features { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .addl { grid-template-columns: 1fr; }
  .addl__media img { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .credo__inner { gap: 0.6rem 1rem; }
  .credo span { font-size: 0.66rem; }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .preloader__emblem, .preloader__tagline, .preloader__hairline {
    opacity: 1; transform: none;
  }
  .hero__eyebrow, .hero__title, .hero__sub, .hero__actions, .hero__trust {
    opacity: 1; transform: none;
  }
}

/* ═══════════════ SEO FIXES AND SUBPAGES ═══════════════ */
.feature__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin-top: 1.15rem;
}
.link-arrow--muted { color: var(--taupe); }
.areas__county a {
  color: inherit;
  transition: color 0.25s var(--ease-lux);
}
.areas__county a:hover { color: var(--gold-soft); }
.reviews__coming {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(198, 161, 79, 0.26);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(2rem, 5vw, 3rem);
}
.reviews__kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(198, 161, 79, 0.34);
  border-radius: 999px;
  color: var(--gold-deep);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.reviews__coming h3 {
  max-width: 620px;
  margin: 0 auto 1rem;
  color: var(--navy-deep);
}
.reviews__coming p:last-child {
  max-width: 620px;
  margin-inline: auto;
  color: var(--charcoal);
}
.contact__form {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: rgba(248, 244, 236, 0.035);
  border: 1px solid rgba(198, 161, 79, 0.25);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
  margin-bottom: 2.4rem;
  text-align: left;
}
.contact__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.contact__form label {
  display: grid;
  gap: 0.42rem;
}
.contact__form label span {
  color: rgba(248, 244, 236, 0.66);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  border: 1px solid rgba(198, 161, 79, 0.28);
  border-radius: 8px;
  background: rgba(248, 244, 236, 0.08);
  color: var(--ivory);
  padding: 0.92rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 0.25s var(--ease-lux), background-color 0.25s var(--ease-lux), box-shadow 0.25s var(--ease-lux);
}
.contact__form select option { color: var(--ink); }
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(248, 244, 236, 0.38); }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: var(--gold-soft);
  background: rgba(248, 244, 236, 0.12);
  box-shadow: 0 0 0 3px rgba(198, 161, 79, 0.13);
}
.contact__field--full { grid-column: 1 / -1; }
.contact__form .contact__email-btn {
  display: inline-flex;
  border: 0;
  cursor: pointer;
}
.subhero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background: var(--navy-deep);
  color: var(--ivory);
}
.subhero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.subhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
}
.subhero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 23, 48, 0.92) 0%, rgba(10, 23, 48, 0.58) 48%, rgba(10, 23, 48, 0.22) 100%),
    radial-gradient(760px 420px at 20% 80%, rgba(198, 161, 79, 0.16), transparent 65%);
}
.subhero__content {
  position: relative;
  z-index: 2;
  width: min(920px, 100% - 2.5rem);
  margin-inline: auto;
}
.subhero h1 {
  color: var(--ivory);
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 900px;
  margin-bottom: 1.2rem;
}
.subhero p {
  max-width: 660px;
  color: rgba(248, 244, 236, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}
.subnav {
  background: #071022;
  color: rgba(248, 244, 236, 0.72);
  border-top: 1px solid rgba(198, 161, 79, 0.24);
  border-bottom: 1px solid rgba(198, 161, 79, 0.16);
}
.subnav__inner {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding: 0.85rem 0;
}
.subnav a {
  white-space: nowrap;
  color: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.subnav a:hover { color: var(--gold-soft); }
.page-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.page-copy p + p { margin-top: 1rem; }
.page-list {
  list-style: none;
  display: grid;
  gap: 0.72rem;
  margin-top: 1.4rem;
}
.page-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--charcoal);
}
.page-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.page-card {
  background: var(--white);
  border: 1px solid rgba(198, 161, 79, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.page-card h3 { margin-bottom: 0.8rem; }
.page-card img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.2rem;
}
.page-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.page-tile {
  background: var(--white);
  border: 1px solid rgba(198, 161, 79, 0.22);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
}
.page-tile h3 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}
.page-tile p {
  font-size: 0.98rem;
  color: var(--charcoal);
}
.page-cta {
  text-align: center;
}
.page-cta h2,
.page-cta p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.page-cta p { margin-bottom: 1.6rem; }
.city-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 0.7rem;
}
.city-links a {
  background: rgba(248, 244, 236, 0.035);
  border: 1px solid rgba(198, 161, 79, 0.22);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: rgba(248, 244, 236, 0.82);
  transition: border-color 0.25s var(--ease-lux), color 0.25s var(--ease-lux), background-color 0.25s var(--ease-lux);
}
.city-links a:hover {
  color: var(--gold-soft);
  border-color: rgba(198, 161, 79, 0.45);
  background: rgba(198, 161, 79, 0.07);
}
.breadcrumbs {
  color: rgba(248, 244, 236, 0.62);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--gold-soft); }
.header__brand[href$="index.html"] { cursor: pointer; }

@media (max-width: 820px) {
  .contact__fields,
  .page-grid { grid-template-columns: 1fr; }
  .subhero { min-height: 64vh; padding: 8rem 0 4rem; }
  .subhero__scrim { background: linear-gradient(180deg, rgba(10, 23, 48, 0.64) 0%, rgba(10, 23, 48, 0.94) 100%); }
  .feature__links { gap: 0.65rem 1rem; }
}
