/* ============================================================
   BROWNLILY HAIR — "The Lily Effect" Design System
   Warm, feminine, beachy-fresh aesthetic for a boutique salon
   GSAP 3 + ScrollTrigger + Lenis
   ============================================================ */

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }

/* ---- DESIGN TOKENS ---- */
:root {
  /* Palette — Warm cream & sage with dusty rose accents */
  --surface:          #faf8f5;       /* warm off-white */
  --surface-dim:      #f2efe9;       /* slightly darker cream */
  --surface-low:      #ebe7df;       /* card backgrounds */
  --surface-dark:     #2c2a26;       /* dark sections */
  --surface-dark-dim: #1e1d1a;       /* darker variant */
  --primary:          #cf9f8a;       /* washed salmon */
  --primary-light:    #e2b8a7;       /* light salmon */
  --primary-dark:     #b3826c;       /* deeper salmon-terracotta */
  --accent:           #879d7e;       /* earthy eucalyptus green */
  --accent-light:     #a7bd9e;       /* light earthy green */
  --text-primary:     #2c2a26;       /* near-black warm */
  --text-secondary:   #5c574e;       /* warm grey */
  --text-muted:       #9a948a;       /* muted warm */
  --text-light:       #faf8f5;       /* light text on dark */
  --text-light-secondary: #d4cfc6;   /* muted light text */
  --outline:          #d4cfc6;       /* borders */
  --outline-variant:  #e5e0d8;       /* subtle borders */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 10rem;

  /* Sizing */
  --nav-height: 72px;
  --content-max: 42vw;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(207, 159, 138, 0.15);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 200ms;
}

/* ---- BASE ---- */
html { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--surface);
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--primary-dark); }
button, a.cta-button, .nav-cta { cursor: pointer; }

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

::selection {
  background: var(--primary);
  color: var(--surface);
}

/* ---- LOADER ---- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}
.loader-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
}
.loader-name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  line-height: 1.1;
  color: var(--text-primary);
}
.loader-name em {
  font-style: italic;
  color: var(--primary);
}
.loader-track {
  width: 200px;
  height: 2px;
  background: var(--outline);
  position: relative;
  border-radius: var(--radius-pill);
  overflow: hidden;
}
#loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.1s linear;
  border-radius: var(--radius-pill);
}
#loader-percent {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ---- NAVIGATION ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.scrolled {
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--outline-variant);
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}
.nav-logo:hover { color: var(--primary); }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-logo-location {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--primary);
  text-transform: uppercase;
}
.nav-logo-name em {
  font-style: italic;
  color: var(--primary);
}
.nav-links {
  display: flex;
  gap: var(--space-md);
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--duration) var(--ease);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.6rem;
  background: var(--primary);
  color: var(--surface);
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--surface);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.nav-hamburger.active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---- HERO ---- */
.hero-standalone {
  position: relative;
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface-dark);
  z-index: 10;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  transform: scale(1.12);
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(207, 159, 138, 0.22) 0%,
      rgba(135, 157, 126, 0.12) 40%,
      rgba(44, 42, 38, 0.32) 70%,
      rgba(44, 42, 38, 0.58) 100%
    );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-md);
}
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--primary-light);
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  line-height: 1.7;
}
.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-heading-sm {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-light-secondary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-heading-lg {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.hero-location {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-light);
  border-top: 1px solid rgba(250, 248, 245, 0.55);
  border-bottom: 1px solid rgba(250, 248, 245, 0.55);
  padding: 0.4rem 0;
  margin-top: var(--space-xs);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light-secondary);
  margin-top: var(--space-xs);
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

/* Desktop only: left-aligned hero so Lily's face stays clear on the right.
   Mobile keeps the centred layout (see @media max-width:768px). */
@media (min-width: 769px) {
  .hero-content {
    align-self: flex-start;
    align-items: flex-start;
    text-align: left;
    max-width: 56%;
    padding-left: 7vw;
  }
  .hero-heading { align-items: flex-start; }
  .hero-heading-lg { font-size: clamp(3.5rem, 8vw, 7rem); }
  .hero-location { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: 0.22em; }
  .hero-actions { justify-content: flex-start; }
  .hero-gradient {
    background:
      linear-gradient(95deg,
        rgba(44, 42, 38, 0.76) 0%,
        rgba(44, 42, 38, 0.52) 26%,
        rgba(44, 42, 38, 0.20) 45%,
        rgba(44, 42, 38, 0.0) 62%
      );
  }
}
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-light-secondary);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- CTA BUTTONS ---- */
.cta-button {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  font-weight: 500;
  transition: all var(--duration) var(--ease);
  text-align: center;
  border-radius: var(--radius-pill);
}
.cta-button.primary {
  background: var(--primary);
  color: var(--surface);
  box-shadow: var(--shadow-sm);
}
.cta-button.primary:hover {
  background: var(--primary-dark);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.cta-button.secondary {
  background: rgba(207, 159, 138, 0.08);
  color: var(--primary-light);
  border: 1px solid rgba(207, 159, 138, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cta-button.secondary:hover {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- PARALLAX BACKGROUND IMAGES ---- */
.bg-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path;
  background: var(--surface-dim);
}
.bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity, transform;
  transform: scale(1.05);
}

/* Bridge logo — fades + drifts over the coast background between hero and About */
#bridge-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-light);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
  will-change: opacity, transform;
}
#bridge-logo em {
  font-style: italic;
  color: var(--primary-light);
}
.bg-image.active {
  opacity: 1;
}

/* Background images loaded from site/images/frames/ */

/* ---- WATERMARKS ---- */
.watermark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--primary);
  opacity: 0.10;
  white-space: nowrap;
  line-height: 1;
}
.watermark-right {
  right: -5vw;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  font-size: clamp(12rem, 20vw, 22rem);
}
.watermark-left {
  left: -5vw;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  font-size: clamp(12rem, 20vw, 22rem);
}
.watermark-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(14rem, 25vw, 28rem);
  opacity: 0.08;
}
.watermark-footer {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 14vw, 16rem);
  font-weight: 300;
  color: var(--primary-light);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}
.watermark em {
  font-style: italic;
}
.watermark-services {
  position: absolute;
  left: 50%;
  top: 15%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(10rem, 18vw, 20rem);
  font-weight: 300;
  color: var(--primary);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

/* ---- DARK OVERLAY ---- */
#dark-overlay {
  position: fixed;
  inset: 0;
  background: var(--surface-dark);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

/* ---- MARQUEE ---- */
.marquee-wrap {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(7rem, 14vw, 18vw);
  font-weight: 700;
  color: var(--primary);
  opacity: 0.18;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  will-change: transform;
}

/* ---- SCROLL CONTAINER ---- */
#scroll-container {
  position: relative;
  width: 100%;
  height: 900vh;
  z-index: 4;
}

/* ---- SCROLL SECTIONS ---- */
.scroll-section {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
  opacity: 0;
}
.scroll-section > * { pointer-events: auto; }

/* Side-aligned text zones — per website-animated-scroll skill */
.align-left { padding-left: 5vw; padding-right: 55vw; justify-content: flex-start; }
.align-right { padding-left: 55vw; padding-right: 5vw; justify-content: flex-end; }
.align-left .section-inner,
.align-right .section-inner { max-width: 40vw; }

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.section-heading em {
  font-style: italic;
  color: var(--primary-light);
}
.section-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  max-width: 560px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
.section-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-top: var(--space-md);
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* ---- STATS SECTION ---- */
.section-stats {
  padding: 0 5vw;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-lg);
}
.stats-heading {
  text-align: center;
}
.stats-title {
  margin-bottom: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  width: 100%;
  max-width: 900px;
  align-items: stretch;
  margin: 0 auto;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--text-light);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-light-secondary);
  text-transform: uppercase;
}
.stat-suffix.accent {
  color: var(--primary-light);
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-light-secondary);
  text-align: center;
}

/* ---- REVIEWS ---- */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.review {
  border-left: 2px solid var(--primary);
  padding-left: var(--space-md);
}
.review p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-light-secondary);
}
.review cite {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  font-style: normal;
  margin-top: var(--space-xs);
}

/* ---- GALLERY CTA ---- */
.gallery-cta {
  margin-top: var(--space-md);
}

/* ---- CTA SECTION ---- */
.section-cta {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5vw;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: 0 var(--space-md);
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-light);
}
.cta-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}
.cta-details {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}
.cta-detail {
  text-align: center;
}
.cta-detail-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}
.cta-detail p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
}
.cta-detail a {
  color: var(--primary-light);
}

/* ---- SERVICES GRID SECTION ---- */
.services-grid-section {
  position: relative;
  z-index: 5;
  background: var(--surface);
  padding: var(--space-2xl) 5vw;
}
.services-grid-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.services-grid-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.sg-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.sg-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.sg-heading em {
  font-style: italic;
  color: var(--primary);
}
.services-grid-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.service-card {
  background: var(--surface-dim);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all var(--duration) var(--ease);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin: calc(var(--space-lg) * -1) calc(var(--space-lg) * -1) 0;
  width: calc(100% + var(--space-lg) * 2);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}
.service-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}
.service-card-info p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}
.service-card-price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  font-weight: 500;
  background: rgba(207, 159, 138, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  display: inline-block;
}
.services-grid-cta {
  text-align: center;
  margin-top: var(--space-xl);
}
.services-grid-note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* ---- SERVICE MODAL ---- */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.service-modal.open {
  opacity: 1;
  visibility: visible;
}
.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.service-modal-content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s var(--ease);
}
.service-modal.open .service-modal-content {
  transform: scale(1) translateY(0);
}
.service-modal-x {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration) var(--ease);
}
.service-modal-x:hover {
  background: rgba(0, 0, 0, 0.7);
}
.service-modal-img {
  width: 100%;
  height: 350px;
  overflow: hidden;
}
.service-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-modal-info {
  padding: var(--space-lg);
}
.service-modal-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.service-modal-info p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .service-modal-img { height: 220px; }
  .service-modal-content { width: 95%; }
  .service-card-img { height: 160px; }
}

/* ---- FOOTER ---- */
.site-footer {
  position: relative;
  z-index: 5;
  background: var(--surface-dark);
  padding: var(--space-xl) 5vw;
  border-top: 1px solid rgba(207, 159, 138, 0.2);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-lg);
  align-items: start;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 300;
  color: var(--text-light);
  display: block;
  margin-bottom: var(--space-xs);
  line-height: 1;
}
.footer-name em {
  font-style: italic;
  color: var(--primary-light);
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-light-secondary);
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-secondary);
}
.footer-links a:hover {
  color: var(--primary-light);
}
.footer-social {
  display: flex;
  gap: var(--space-sm);
}
.footer-social a {
  color: var(--text-light-secondary);
  transition: color 0.3s ease;
}
.footer-social a:hover {
  color: var(--primary-light);
}
.footer-legal {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(207, 159, 138, 0.15);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: var(--space-sm);
    right: var(--space-sm);
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-sm);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
  }

  :root { --content-max: 80vw; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root { --content-max: 90vw; }

  #scroll-container { height: 900vh; }

  /* Lighter gradient on mobile — old heavy one was to hide burned-in text (now removed) */
  .hero-gradient {
    background:
      linear-gradient(135deg,
        rgba(207, 159, 138, 0.18) 0%,
        rgba(135, 157, 126, 0.1) 40%,
        rgba(44, 42, 38, 0.3) 70%,
        rgba(44, 42, 38, 0.55) 100%
      );
  }

  .hero-heading-lg {
    font-size: clamp(3rem, 15vw, 6rem);
  }
  .hero-label {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    padding: 0.45rem 0.9rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Collapse side alignment to centered + dark backdrop (mobile only) */
  .align-left, .align-right {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
    justify-content: center;
  }
  .align-left .section-inner,
  .align-right .section-inner,
  .section-inner {
    max-width: 90vw !important;
    background: rgba(30, 29, 26, 0.85);
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }
  .section-cta .cta-inner {
    background: rgba(30, 29, 26, 0.85);
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }
  .section-stats {
    padding: 0 5vw !important;
    gap: var(--space-sm) !important;
  }
  .stats-heading .section-heading {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: var(--space-xs);
  }
  .stat-number {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .section-heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }

  .service-card {
    padding: var(--space-md);
  }
  .service-card-img {
    margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) 0;
    width: calc(100% + var(--space-md) * 2);
    height: 180px;
  }
  .service-card-info p {
    font-size: 1rem;
  }
  .cta-detail p {
    font-size: 1rem;
  }

  .cta-heading {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  .cta-details {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* ---- ACCESSIBILITY ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #scroll-container { height: auto !important; }
  .scroll-section {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    padding: var(--space-xl) 5vw !important;
  }
  .bg-wrap { display: none; }
  #dark-overlay { display: none; }
  .marquee-wrap { display: none; }
  .hero-scroll-indicator { display: none; }
}
