/* =========================================================
   Southern Living Exteriors — stylesheet
   Modern, warm, Louisiana-rooted outdoor-living brand system.
   ========================================================= */

:root {
  /* Brand palette — sampled directly from the real Southern Living Exteriors logo */
  --green-950: #202f0e;
  --green-900: #2e4314;
  --green-700: #4b6b24;
  --green-500: #608830;
  --green-200: #d3e6bc;
  --green-100: #ebf3e2;

  --terracotta-700: #884b20;
  --terracotta-600: #cc793d;
  --terracotta-400: #e19f70;
  --terracotta-200: #f2dbca;

  --gold-500: #eaa53e;
  --gold-300: #f2c98c;

  --cream-100: #fdf6ee;
  --cream-200: #f8ead9;
  --cream-300: #f0dac0;

  --charcoal-900: #28201a;
  --charcoal-700: #483b32;
  --charcoal-400: #7f6d62;
  --charcoal-200: #b1a7a0;

  --white: #ffffff;

  /* Semantic */
  --color-bg: var(--cream-100);
  --color-surface: var(--white);
  --color-text: var(--charcoal-900);
  --color-text-soft: var(--charcoal-400);
  --color-primary: var(--green-900);
  --color-primary-dark: var(--green-950);
  --color-accent: var(--terracotta-600);
  --color-accent-dark: var(--terracotta-700);
  --color-gold: var(--gold-500);
  --color-border: rgba(32, 30, 27, 0.1);

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container-w: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(32, 30, 27, 0.08);
  --shadow-md: 0 14px 40px rgba(20, 41, 32, 0.16);
  --shadow-lg: 0 28px 70px rgba(20, 41, 32, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 86px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
p.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--color-text-soft); }
::selection { background: var(--color-accent); color: var(--white); }

.container { width: 100%; max-width: var(--container-w); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-dark { background: var(--color-primary-dark); color: var(--cream-100); }
.section-cream { background: var(--cream-200); }
.text-center { text-align: center; }
.grid { display: grid; gap: 28px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--gold-300); }
.section-dark .eyebrow::before, .on-dark .eyebrow::before { background: var(--gold-300); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent-dark);
  transform: translateX(-102%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
  border-radius: inherit;
}
.btn:hover::after { transform: translateX(0); }
.btn-primary { background: var(--color-accent); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--color-primary); }
.btn-outline::after { background: var(--color-primary); }
.btn-outline:hover { color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--color-primary); }
.btn-light::after { background: var(--color-primary); }
.btn-light:hover { color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 0.88rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled { padding: 12px 0; background: rgba(250, 245, 236, 0.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.site-header.is-solid { background: var(--cream-100); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 58px; width: auto; max-width: 64px; object-fit: contain; flex-shrink: 0; display: block; filter: drop-shadow(0 2px 6px rgba(32, 20, 10, 0.25)); }
.brand-word { font-family: var(--font-display); line-height: 1.02; }
.brand-word strong { display: block; font-size: 1.28rem; font-weight: 700; color: var(--color-primary); letter-spacing: -0.01em; }
.brand-word span { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.24em; color: var(--color-accent); text-transform: uppercase; margin-top: 2px; }
.site-header.is-transparent:not(.is-scrolled) .brand-word strong { color: var(--white); }
.site-header.is-transparent:not(.is-scrolled) .brand-word span { color: var(--gold-300); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-item.has-dropdown > a .caret { width: 10px; height: 10px; transition: transform 0.3s var(--ease); }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 10;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item.has-dropdown:hover > a .caret { transform: rotate(180deg); }
.dropdown a { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: var(--radius-sm); color: var(--color-text) !important; }
.dropdown a:hover { background: var(--cream-200); }
.dropdown a small { font-weight: 500; font-size: 0.78rem; color: var(--color-text-soft); }
.dropdown a::after { display: none; }
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--color-text);
  border-radius: 100px;
  transition: color 0.3s ease;
}
.site-header.is-transparent:not(.is-scrolled) .main-nav a { color: var(--white); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--color-accent) !important; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--color-accent); }
.site-header.is-transparent:not(.is-scrolled) .header-phone { color: var(--white); }

/* ---------- Hero Google-reviews strip ----------
   Markup is a sibling placed right after the </section> for .hero / .page-hero
   (not a descendant), so it's never clipped by their overflow:hidden.
   Desktop: floats absolute, positioned to sit over that banner's top-right
   corner (using the `+` adjacent-sibling selectors below, since it's no
   longer nested inside .hero/.page-hero for CSS targeting purposes).
   Mobile/tablet: becomes a normal in-flow block that sits directly under
   the hero/banner instead of floating over it. */
.hero-reviews {
  position: absolute;
  z-index: 3;
  top: calc(var(--header-h) + 18px);
  right: max(24px, calc((100% - var(--container-w)) / 2 + 24px));
  display: flex; flex-direction: column; align-items: flex-end; gap: 9px;
  cursor: default;
}
.hero-reviews-badge {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  white-space: nowrap; color: var(--white);
}
.hero-reviews-badge .stars { color: var(--gold-500); font-size: 0.9rem; letter-spacing: 1px; }
.hero-reviews-window {
  width: 330px; height: 150px; overflow: hidden; border-radius: 12px;
  background: #202124; box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-reviews-window::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -18px 16px -12px rgba(0,0,0,0.6); pointer-events: none; }
.hero-reviews-track { display: flex; flex-direction: column; animation: reviewsscroll 56s linear infinite; }
.hero-reviews-track img { display: block; width: 330px; height: auto; margin-bottom: 10px; }
.hero-reviews:hover .hero-reviews-track { animation-play-state: paused; }
@keyframes reviewsscroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

@media (max-width: 1150px) {
  .hero-reviews {
    position: static;
    width: 100%;
    align-items: center;
    padding: 30px 24px;
    gap: 10px;
    background: var(--cream-100);
  }
  .hero-reviews-badge {
    color: var(--color-primary);
    background: var(--cream-200);
    border-color: var(--color-border);
    backdrop-filter: none;
  }
  .hero-reviews-badge .stars { color: var(--color-accent); }
}

@media (max-width: 620px) {
  .hero-reviews-badge { font-size: 0.64rem; padding: 7px 13px; }
  .hero-reviews-badge .stars { font-size: 0.78rem; }
  .hero-reviews-window { width: 240px; height: 108px; }
  .hero-reviews-track img { width: 240px; }
}


.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--color-text);
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg) translate(0); top: 0; }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  background: var(--color-primary-dark);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 22s ease-in-out infinite alternate; }
.hero .hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--green-950) 0%, rgba(32,47,14,0.95) 26%, rgba(32,47,14,0.74) 46%, rgba(32,47,14,0.28) 64%, rgba(32,47,14,0) 80%),
    linear-gradient(180deg, rgba(10,8,4,0) 50%, rgba(10,8,4,0.75) 100%);
}
.page-hero .hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,41,32,0.55) 0%, rgba(20,41,32,0.35) 45%, rgba(20,41,32,0.85) 100%);
}
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.12) translate(-1%, -1%); } }

.hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-shapes span { position: absolute; display: block; border-radius: 50%; filter: blur(2px); opacity: 0.55; animation: float 9s ease-in-out infinite; }
.hero-shapes span:nth-child(1) { width: 14px; height: 14px; background: var(--gold-300); top: 22%; left: 12%; animation-duration: 8s; }
.hero-shapes span:nth-child(2) { width: 9px; height: 9px; background: var(--cream-100); top: 62%; left: 20%; animation-duration: 11s; animation-delay: 1s; }
.hero-shapes span:nth-child(3) { width: 20px; height: 20px; background: var(--terracotta-400); top: 36%; left: 85%; animation-duration: 10s; animation-delay: 0.5s; }
.hero-shapes span:nth-child(4) { width: 11px; height: 11px; background: var(--gold-300); top: 76%; left: 78%; animation-duration: 7.5s; animation-delay: 1.4s; }
.hero-shapes span:nth-child(5) { width: 7px; height: 7px; background: var(--cream-100); top: 15%; left: 55%; animation-duration: 9.5s; animation-delay: 0.8s; }
@keyframes float { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-26px) translateX(10px); } }

.hero-roofline { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; opacity: 0.9; }

.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: var(--header-h); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  font-size: 0.86rem; font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--color-accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.85rem; }
.hero h1 { max-width: 820px; }
.hero h1 em { font-style: italic; color: var(--gold-300); }
.hero .lede { color: rgba(250,245,236,0.88); max-width: 560px; margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-stats { position: relative; z-index: 2; margin-top: clamp(50px, 8vw, 96px); }
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hero-stat { border-top: 1px solid rgba(255,255,255,0.22); padding-top: 18px; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.hero-stat span { font-size: 0.82rem; color: rgba(250,245,236,0.75); text-transform: uppercase; letter-spacing: 0.06em; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.8); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 36px; background: linear-gradient(180deg, rgba(255,255,255,0.9), transparent); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Inner page hero (banner) ---------- */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--header-h);
}
.page-hero .hero-media img { animation: kenburns 26s ease-in-out infinite alternate; }
.page-hero-inner { position: relative; z-index: 2; padding-bottom: 56px; width: 100%; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(250,245,236,0.78); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-300); }
.page-hero h1 { max-width: 760px; }
.page-hero p.lede { color: rgba(250,245,236,0.85); max-width: 600px; margin-top: 16px; }

/* ---------- Marquee strip ---------- */
.marquee { background: var(--color-primary); color: var(--cream-100); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; display: flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-track span::after { content: "✶"; font-style: normal; color: var(--gold-500); margin-left: 48px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Intro / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.split-media:hover .frame img { transform: scale(1.06); }
.split-media .accent-card {
  position: absolute;
  bottom: -28px; left: -28px;
  background: var(--color-accent);
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 230px;
}
.split-media .accent-card strong { display: block; font-family: var(--font-display); font-size: 2.1rem; }
.split-media .accent-card span { font-size: 0.82rem; opacity: 0.9; }
.split-media .ring { position: absolute; top: -24px; right: -24px; width: 110px; height: 110px; border: 2px dashed var(--gold-500); border-radius: 50%; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--color-accent); margin-top: 2px; }

/* ---------- Service / value cards ---------- */
.card-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card .thumb { position: relative; aspect-ratio: 6 / 5; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card:hover .thumb img { transform: scale(1.1) rotate(0.5deg); }
.service-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,41,32,0.65), transparent 55%); }
.service-card .num { position: absolute; top: 16px; left: 16px; font-family: var(--font-display); font-style: italic; color: var(--white); font-size: 0.95rem; background: rgba(0,0,0,0.25); padding: 4px 12px; border-radius: 100px; backdrop-filter: blur(4px); }
.service-card .body { padding: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--color-text-soft); font-size: 0.95rem; }
.service-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 0.9rem; color: var(--color-accent); }
.service-card .more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service-card:hover .more svg { transform: translateX(5px); }

.value-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.value-card .icon { width: 54px; height: 54px; border-radius: 16px; background: var(--green-100); color: var(--color-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease); }
.value-card .icon svg { width: 26px; height: 26px; }
.value-card:hover .icon { background: var(--color-accent); color: var(--white); transform: rotate(-8deg) scale(1.08); }
.value-card p { color: var(--color-text-soft); font-size: 0.95rem; margin-top: 10px; }

/* ---------- Stats ---------- */
.stat-row { grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--color-primary); }
.section-dark .stat-item strong { color: var(--white); }
.stat-item span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-soft); }
.section-dark .stat-item span { color: rgba(250,245,236,0.7); }

/* ---------- Process timeline ---------- */
.process-wrap { display: grid; grid-template-columns: 1fr 400px; gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: 8px; }
.process-list { counter-reset: step; display: grid; gap: 0; }
.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  cursor: default;
}
.process-item:first-child { padding-top: 0; }
.process-item > div:first-child::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--color-accent);
  opacity: 0.55;
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease;
}
.process-item:hover > div:first-child::before,
.process-item.is-active > div:first-child::before { opacity: 1; transform: scale(1.06); }
.process-item.is-active h3 { color: var(--color-accent); }
.process-item h3 { margin-bottom: 8px; transition: color 0.4s ease; }
.process-item p { color: var(--color-text-soft); max-width: 640px; }
.section-dark .process-item { border-bottom-color: rgba(250, 245, 236, 0.16); }
.section-dark .process-item p { color: rgba(250, 245, 236, 0.72); }

/* Reactive image panel that crossfades to match the step in view */
.process-visual { position: sticky; top: calc(var(--header-h) + 28px); }
.process-visual-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--charcoal-900);
}
.process-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s var(--ease), transform 1.4s var(--ease);
}
.process-visual-img.is-active { opacity: 1; transform: scale(1); }
.process-visual-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20, 16, 10, 0.55) 0%, rgba(20, 16, 10, 0) 38%);
  pointer-events: none;
}
.process-visual-badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  display: flex; align-items: baseline; gap: 8px;
  color: var(--white);
  font-family: var(--font-display);
}
.process-visual-badge .process-visual-num { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.process-visual-badge span { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--color-text);
}
.faq-q .plus { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--color-border); position: relative; transition: transform 0.4s var(--ease), background 0.4s var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--color-primary); top: 50%; left: 50%; transition: transform 0.4s var(--ease); }
.faq-q .plus::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-q .plus::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.is-open .plus { background: var(--color-accent); border-color: var(--color-accent); }
.faq-item.is-open .plus::before, .faq-item.is-open .plus::after { background: var(--white); }
.faq-item.is-open .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--color-text-soft); max-width: 720px; }

/* ---------- Testimonials ---------- */
.testimonial-wrap { position: relative; max-width: 760px; margin-inline: auto; text-align: center; }
.testimonial-slide { display: none; }
.testimonial-slide.is-active { display: block; animation: fadeUp 0.6s var(--ease); }
.testimonial-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 20px; color: var(--gold-500); }
.testimonial-stars svg { width: 20px; height: 20px; }
.testimonial-quote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.4; }
.testimonial-name { margin-top: 24px; font-weight: 700; }
.testimonial-role { font-size: 0.85rem; color: var(--color-text-soft); }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.testimonial-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--color-border); cursor: pointer; transition: background 0.3s ease, transform 0.3s ease; }
.testimonial-dots button.is-active { background: var(--color-accent); transform: scale(1.25); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  padding: clamp(50px, 7vw, 90px) clamp(24px, 6vw, 72px);
  text-align: center;
  isolation: isolate;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(20,41,32,0.9), rgba(150,66,42,0.75)); z-index: -1; }
.cta-band h2 { max-width: 640px; margin-inline: auto; }
.cta-band p { color: rgba(250,245,236,0.85); max-width: 560px; margin: 16px auto 0; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Gallery ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.filter-btn.is-active { background: var(--color-primary); color: var(--white); border-color: var(--color-primary); }

.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.6s var(--ease), opacity 0.4s ease;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,41,32,0.78), transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  color: var(--white);
  opacity: 0; transition: opacity 0.4s ease;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay .tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-300); margin-bottom: 4px; }
.gallery-item.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(20, 20, 18, 0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
  padding: 40px;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 82vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); transform: scale(0.96); transition: transform 0.35s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox-close, .lightbox-nav {
  position: absolute;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.3s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 28px; right: 28px; }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-caption { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--cream-200); font-size: 0.9rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-soft); }
.field input, .field select, .field textarea {
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--white);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(193,102,47,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--color-text-soft); margin-top: 14px; }
.form-success { display: none; background: var(--green-100); color: var(--color-primary); padding: 18px 22px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 18px; }
.form-success.is-visible { display: block; animation: fadeUp 0.5s var(--ease); }

.info-card { background: var(--color-surface); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.info-row:last-child { border-bottom: none; }
.info-row .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-100); color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-row .icon svg { width: 20px; height: 20px; }
.info-row strong { display: block; font-size: 0.95rem; }
.info-row span, .info-row a { color: var(--color-text-soft); font-size: 0.92rem; }
.map-frame { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 22px; aspect-ratio: 16/10; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: rgba(250,245,236,0.82); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(250,245,236,0.12); }
.footer-brand .brand-word strong { color: var(--white); }
.footer-brand p { margin-top: 18px; max-width: 280px; font-size: 0.92rem; color: rgba(250,245,236,0.65); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(250,245,236,0.25); display: flex; align-items: center; justify-content: center; transition: background 0.3s ease, transform 0.3s ease; }
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-300); margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.94rem; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; font-size: 0.82rem; color: rgba(250,245,236,0.55); flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--color-accent); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .process-wrap { grid-template-columns: 1fr 300px; gap: 32px; }
}

@media (max-width: 860px) {
  :root { --header-h: 74px; }
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .site-header { background: rgba(250,245,236,0.96); padding: 14px 0; backdrop-filter: blur(8px); }
  .site-header.is-transparent .brand-word strong,
  .site-header .brand-word strong { color: var(--color-primary) !important; }
  .site-header.is-transparent .brand-word span,
  .site-header .brand-word span { color: var(--color-accent) !important; }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--cream-100);
    padding: 20px 24px 40px;
    gap: 2px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
  }
  .nav-open .main-nav { transform: translateX(0); }
  .main-nav a { color: var(--color-text) !important; font-size: 1.1rem; padding: 16px 10px; border-bottom: 1px solid var(--color-border); border-radius: 0; display: block; }
  .main-nav .btn { margin-top: 18px; width: 100%; justify-content: center; display: flex; }
  .nav-item.has-dropdown > a { display: flex !important; justify-content: space-between; align-items: center; }
  .nav-item.has-dropdown > a .caret { margin-left: auto; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    max-height: 0; overflow: hidden; padding: 0 0 0 14px; transition: max-height 0.4s var(--ease);
  }
  .nav-item.is-open .dropdown { max-height: 320px; padding: 6px 0 6px 14px; }
  .nav-item.is-open > a .caret { transform: rotate(180deg); }
  .dropdown a { padding: 12px 10px; border-bottom: 1px dashed var(--color-border); }

  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .card-grid, .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .process-item { grid-template-columns: 56px 1fr; }
  .process-wrap { grid-template-columns: 1fr; gap: 24px; }
  .process-visual { position: static; order: -1; }
  .process-visual-frame { aspect-ratio: 16 / 9; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }

  .scroll-cue { display: none; }

  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
    background: var(--color-primary); padding: 12px 16px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
    gap: 10px;
  }
  .mobile-cta .btn { flex: 1; justify-content: center; }
  body { padding-bottom: 72px; }
}

@media (max-width: 1100px) and (min-width: 861px) {
  .main-nav a { padding: 10px 11px; font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
