/* ==========================================================================
   Lauryn and Littles - Boutique Childcare Hero Page & Footer
   ========================================================================== */

@font-face {
  font-family: 'Brittany Signature';
  src: url('../fonts/BrittanySignature.otf') format('opentype'),
       url('../fonts/BrittanySignature.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Exact Colors from Reference Design */
  --color-sage-deep: #4a5c52;
  --color-sage-btn: #526757;
  --color-sage-btn-hover: #405244;
  --color-sage-muted: #7d877e;

  --color-blush: #e5aba0;
  --color-blush-btn: #f1bdb0;
  --color-blush-btn-hover: #e8aca0;
  --color-blush-soft: #fcf4f2;
  --color-blush-border: #f4d0c9;

  --color-wall-portrait: #f7f2ea;
  --color-wall-landscape: #f7f2ea;
  --color-header-bg: rgba(247, 242, 234, 0.94);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-headline-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Brittany Signature', 'Ms Madi', 'Allison', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(50, 60, 52, 0.05);
  --shadow-lg: 0 16px 36px rgba(50, 60, 52, 0.12);
  --shadow-pill: 0 6px 18px rgba(82, 103, 87, 0.22);
  --shadow-blush-pill: 0 6px 18px rgba(241, 189, 176, 0.35);

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-wall-portrait);
  color: var(--color-sage-deep);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Boutique Scrollbar (Firefox, Chrome, Edge, Safari) */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(67, 85, 72, 0.32) transparent;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(67, 85, 72, 0.28);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-sage-deep);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* ==========================================================================
   Header Navbar (Sticky, dedicated surface, no links/buttons)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.site-header.scrolled {
  background-color: rgba(247, 242, 234, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(67, 85, 72, 0.08);
  box-shadow: 0 4px 20px rgba(50, 60, 52, 0.08);
}

.header-navbar {
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
}



/* Brand Logo (Centered on mobile by default) */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

/* "Lauryn" & "Littles" */
.logo-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
  color: #4a5c52; /* vintage deep slate / muted forest green */
  letter-spacing: -0.01em; /* slight tightening for high-fashion editorial look */
  line-height: 1;
  position: relative;
  z-index: 2;
}

/* "and" - Sacramento cursive in italic */
.logo-script {
  font-family: 'Sacramento', cursive;
  font-size: 1.50rem;
  font-weight: 400;
  font-style: italic;
  font-synthesis: style;
  transform: skewX(-11deg);
  transform-origin: left baseline;
  color: #db9c93;
  line-height: 1;
  display: inline-block;

  margin-left: 0.10em;
  margin-right: 0.18em;

  /* Sit on the shared baseline */
  position: relative;
  bottom: 0;
  z-index: 1;

  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: visible;
}

.logo-heart {
  font-size: 1.15rem;
  color: #db9c93;
  margin-left: 0.15em;
  position: relative;
  bottom: 0.05em;
  font-weight: 300;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-sage-muted);
  text-transform: uppercase;
  margin-top: 2px;
  padding-left: 0;
  text-align: center;
}

/* ==========================================================================
   HERO SECTION
   Phone: Fullscreen display (100vh / 100dvh) with cover background
   Desktop: Full landscape cover with spacious content
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 101vh;
  min-height: 101dvh;
  height: 101vh;
  height: 101dvh;
  aspect-ratio: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    rgba(247, 242, 234, 0.96) 0%,
    rgba(247, 242, 234, 0.96) 29%,
    rgba(247, 242, 234, 0.92) 34%,
    rgba(247, 242, 234, 0.70) 38%,
    rgba(247, 242, 234, 0.30) 41.5%,
    transparent 44%
  ), url('../images/1000054756.jpg');
  background-repeat: no-repeat;
  background-position: center 32%;
  background-size: cover;
  overflow: hidden;
}

.hero-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(90px, 14vh, 115px) 18px clamp(24px, 4vh, 40px) 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

/* Top Heart Icon Badge */
.hero-heart-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.heart-svg {
  width: 22px;
  height: 22px;
  color: var(--color-blush);
  filter: drop-shadow(0 1px 3px rgba(229, 171, 160, 0.25));
  animation: float-heart 3.5s ease-in-out infinite;
}

@keyframes float-heart {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Hero Headline */
.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(22px, 4.5vh, 32px);
  color: #4a5c52;
  line-height: 1.12;
}

.script-line {
  font-family: 'Brittany Signature', var(--font-script);
  font-size: clamp(3.2rem, 9.6vw, 4.5rem);
  font-weight: 400;
  font-style: normal;
  color: #4a5c52;
  display: block;
  letter-spacing: normal;
  transform: none;
  margin-bottom: 18px;
  line-height: 1.2;



  /* Essential for connected cursive */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga" 1, "calt" 1, "kern" 1;
  font-variant-ligatures: common-ligatures contextual;

  /* Prevents ascenders/descenders from clipping */
  padding: 0.15em 0.25em;
  overflow: visible;
  white-space: nowrap;
}

.serif-line {
  font-family: var(--font-headline-serif);
  font-size: clamp(2.2rem, 6.6vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  color: #4a5c52;
  display: block;
  line-height: 1.16;



  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

/* Hero Action Buttons */
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 4vh, 28px);
}

/* Button 1: "Find a Sitter ->" */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #4a5c52;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 2.7vw, 1.02rem);
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(74, 92, 82, 0.25);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-hero-primary:hover {
  background-color: #3d4e44;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(74, 92, 82, 0.35);
}

.btn-hero-primary .btn-arrow {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Button Loading & Disabled State */
.btn-hero-primary:disabled,
.btn-hero-primary.is-loading {
  opacity: 0.78;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(74, 92, 82, 0.2) !important;
  pointer-events: none;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin 0.75s linear infinite;
  margin-right: 6px;
  flex-shrink: 0;
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Button 2: "Find a Family ->" */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #f2bfb3;
  color: #233327;
  border: 1px solid rgba(67, 85, 72, 0.12);
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 2.7vw, 1.02rem);
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(220, 160, 150, 0.25);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
  background-color: #eaaea0;
  color: #141f17;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(220, 160, 150, 0.45);
}

.btn-hero-secondary .btn-arrow {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn-hero-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Bottom Delicate Heart Divider */
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-blush);
  opacity: 0.75;
}

.divider-heart {
  font-size: 1.1rem;
  color: var(--color-blush);
  line-height: 1;
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   ENTRANCE TRANSITIONS (Luxury Staggered Page Load Animation)
   ========================================================================== */

@keyframes luxuryFadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes luxuryFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes luxuryFadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes luxuryFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Header & Logo Entrance */
.header-container {
  animation: luxuryFadeInDown 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s backwards;
}

/* Hero Content Staggered Entrance */
.hero-heart-badge {
  animation: luxuryFadeInScale 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

.hero-headline {
  animation: luxuryFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.28s backwards;
}

.btn-hero-primary {
  animation: luxuryFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.48s backwards;
}

.btn-hero-secondary {
  animation: luxuryFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.58s backwards;
}

.hero-divider {
  animation: luxuryFadeIn 0.85s ease 0.7s backwards;
}

/* ==========================================================================
   FOOTER ENTRANCE / SCROLL REVEAL TRANSITION
   ========================================================================== */

.site-footer {
  overflow: hidden;
}

.site-footer .footer-social-wrap {
  opacity: 0;
  transform: translateY(24px) scale(0.94);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer .footer-copyright {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.site-footer .footer-legal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.28s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.28s;
}

/* Activated when scrolled into view */
.site-footer.footer-visible .footer-social-wrap,
.site-footer.footer-visible .footer-copyright,
.site-footer.footer-visible .footer-legal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   LEGAL PAGES ENTRANCE TRANSITIONS (Privacy Policy & Terms of Service)
   ========================================================================== */

@keyframes legalPageEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes legalCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(45px) scale(0.982);
    box-shadow: 0 4px 14px rgba(50, 60, 52, 0.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 44px rgba(50, 60, 52, 0.08);
  }
}

@keyframes heartPop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  55% {
    transform: scale(1.28);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sectionSlideIn {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-page-body .legal-page-main {
  animation: legalPageEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.legal-page-body .legal-nav-bar {
  animation: luxuryFadeInDown 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.legal-page-body .legal-heart-accent {
  animation: heartPop 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.legal-page-body .legal-title {
  animation: luxuryFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.28s backwards;
}

.legal-page-body .legal-updated {
  animation: luxuryFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.36s backwards;
}

.legal-page-body .legal-intro {
  animation: luxuryFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.44s backwards;
}

.legal-page-body .legal-card {
  animation: legalCardEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

.legal-page-body .legal-callout {
  animation: sectionSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.65s backwards;
}

.legal-page-body .legal-section:nth-of-type(1) {
  animation: sectionSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.72s backwards;
}

.legal-page-body .legal-section:nth-of-type(2) {
  animation: sectionSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards;
}

.legal-page-body .legal-section:nth-of-type(3) {
  animation: sectionSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.88s backwards;
}

.legal-page-body .legal-bottom-actions {
  animation: luxuryFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.95s backwards;
}

/* Accessibility: Respect Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  .header-container,
  .hero-heart-badge,
  .hero-headline,
  .btn-hero-primary,
  .btn-hero-secondary,
  .hero-divider,
  .legal-page-main,
  .legal-nav-bar,
  .legal-heart-accent,
  .legal-title,
  .legal-updated,
  .legal-intro,
  .legal-card,
  .legal-callout,
  .legal-section,
  .legal-bottom-actions,
  .heart-svg,
  .site-footer .footer-social-wrap,
  .site-footer .footer-copyright,
  .site-footer .footer-legal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   FOOTER (Clean & Minimal: Instagram Only)
   ========================================================================== */
.site-footer {
  background-color: #4a5c52;
  color: #e3e8e4;
  padding: 48px 0 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

.footer-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 24px;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  align-items: center;
  text-shadow: none !important;
  filter: none !important;
}

.footer-logo,
.footer-logo * {
  text-shadow: none !important;
  filter: none !important;
  -webkit-text-stroke: 0 !important;
}

.footer-logo .logo-serif {
  color: #f7f4ec;
  font-size: 2rem;
}

.footer-logo .logo-script {
  font-size: 1.63rem;
}

.footer-logo .brand-subtitle {
  color: rgba(247, 244, 236, 0.6);
  text-align: center;
  padding-left: 0;
}

.footer-social-wrap {
  display: flex;
  justify-content: center;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 22px;
  border-radius: 9999px;
  color: #f7f4ec;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.instagram-icon {
  width: 20px;
  height: 20px;
  color: var(--color-blush);
}

.instagram-btn:hover {
  background-color: var(--color-blush);
  color: var(--color-sage-deep);
  border-color: transparent;
  transform: translateY(-2px);
}

.instagram-btn:hover .instagram-icon {
  color: var(--color-sage-deep);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.8125rem;
  color: rgba(247, 244, 236, 0.55);
  text-align: center;
  width: 100%;
}

.footer-copyright {
  font-size: 0.74rem;
  color: rgba(247, 244, 236, 0.65);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.heart-text {
  color: var(--color-blush);
  font-size: 0.95rem;
  vertical-align: middle;
}

.footer-legal {
  display: flex;
  gap: 12px;
}

.footer-legal a:hover {
  color: var(--color-blush);
}

.sep {
  opacity: 0.3;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 40, 32, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  border-radius: 24px;
  padding: 32px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: var(--transition-smooth);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-right: 44px;
}

.modal-title-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-sage-deep);
  line-height: 1.2;
}

.modal-heart {
  font-size: 1.4rem;
  color: var(--color-blush);
  margin-bottom: 2px;
}

.modal-close {
  position: sticky;
  top: 0px;
  float: right;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-sage-deep);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 92, 82, 0.18);
  border-radius: 50%;
  cursor: pointer;
  margin-top: -8px;
  margin-right: -8px;
  margin-bottom: -38px;
  box-shadow: 0 4px 12px rgba(50, 60, 52, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close:hover {
  background: #ffffff;
  color: #1e2b21;
  border-color: var(--color-blush);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(50, 60, 52, 0.18);
}

/* Role Selector Toggle */
.role-toggle-group {
  display: flex;
  background-color: #f1ede6;
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}

.role-toggle-btn {
  flex: 1;
  padding: 9px 14px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: #5d6d60;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  background: transparent;
}

/* Green when 'I'm looking for a Sitter' is active (matching Find a Sitter button) */
#role-family-btn.active {
  background-color: #4a5c52;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(74, 92, 82, 0.28);
}

/* Pink/blush when 'I'm a Sitter looking for a Family' is active (matching Find a Family button) */
#role-sitter-btn.active {
  background-color: #f2bfb3;
  color: #1e2b21;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(242, 191, 179, 0.45);
}

/* Quote Tips Box */
.quote-tips-box {
  background: linear-gradient(135deg, rgba(242, 191, 179, 0.22), rgba(250, 247, 242, 0.98));
  border: 1px solid rgba(229, 171, 160, 0.45);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

/* Message Note & Sitter Waiting List Note (Spacious, clean, editorial layout) */
.waiting-list-note,
.message-note {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 6px 0 0 0;
  color: #3b493f;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.68;
  margin-bottom: 24px;
}

.waiting-list-note p,
.message-note p {
  margin: 0 0 16px 0 !important;
  line-height: 1.68;
}

.waiting-list-note p:last-child,
.waiting-list-note p:last-of-type,
.message-note p:last-child,
.message-note p:last-of-type {
  margin-bottom: 24px !important;
}

.waiting-list-signature,
.message-signature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #3b493f;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.4;
  margin-top: 4px;
}

.waiting-list-signature .sig-regards,
.message-signature .sig-regards {
  color: #3b493f;
}

.waiting-list-signature .sig-name,
.message-signature .sig-name {
  color: #3b493f;
  font-weight: 500;
}

.quote-tips-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2b3b2f;
  margin-bottom: 8px;
}

.quote-tips-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 2px;
  font-size: 0.82rem;
  color: #4b5d4f;
  line-height: 1.45;
}

.quote-tips-list li {
  position: relative;
  padding-left: 14px;
}

.quote-tips-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-blush);
  font-size: 1.1rem;
  line-height: 1;
  top: 1px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-sage-deep);
}

.form-input, .form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-sage-deep);
  background-color: #faf7f2;
  border: 1.5px solid rgba(74, 92, 82, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: var(--transition-fast);
}

.form-textarea {
  resize: vertical;
  min-height: 85px;
  line-height: 1.5;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-sage-deep);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(67, 85, 72, 0.12);
}

/* Terms & Privacy Confirmation Checkbox */
.form-checkbox-field {
  margin-top: 4px;
  margin-bottom: 4px;
  padding: 2px 0;
}

.custom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 0.82rem;
  color: #4b5d4f;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.custom-checkbox-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #8e9e92;
  border-radius: 5px;
  background-color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  display: grid;
  place-content: center;
  transition: all 0.2s ease;
}

.custom-checkbox-input:checked {
  background-color: #4a5c52;
  border-color: #4a5c52;
}

.custom-checkbox-input:checked::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.custom-checkbox-input:focus-visible {
  outline: 2px solid #4a5c52;
  outline-offset: 2px;
}

.custom-checkbox-label .checkbox-text {
  flex: 1;
}

.custom-checkbox-label a {
  color: #4a5c52;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.custom-checkbox-label a:hover {
  color: #d88f82;
}

/* ==========================================================================
   BOUTIQUE CUSTOM DROPDOWN (Zero browser native blue)
   ========================================================================== */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4a5c52;
  background-color: #faf7f2;
  border: 1.5px solid rgba(74, 92, 82, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
  text-align: left;
}

.custom-select-trigger:hover {
  background-color: #ffffff;
  border-color: rgba(67, 85, 72, 0.32);
}

.custom-select.open .custom-select-trigger,
.custom-select-trigger:focus {
  border-color: var(--color-blush);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(229, 171, 160, 0.25);
}

.custom-select-arrow {
  display: flex;
  align-items: center;
  color: var(--color-sage-deep);
  transition: transform 0.25s ease, color 0.2s ease;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--color-blush);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border: 1.5px solid rgba(229, 171, 160, 0.4);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(50, 60, 52, 0.15);
  padding: 6px;
  max-height: 220px;
  overflow-y: auto;
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 171, 160, 0.5) transparent;
}

.custom-select.open .custom-select-menu {
  display: flex;
  animation: dropMenuAnim 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropMenuAnim {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #4a5c52;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-select-option:hover {
  background-color: #f8eee9;
  color: #1e2b21;
}

.custom-select-option.selected {
  background-color: #4a5c52;
  color: #ffffff;
  font-weight: 600;
}

.custom-select-option .option-check {
  font-size: 0.85rem;
  opacity: 0;
  color: inherit;
}

.custom-select-option.selected .option-check {
  opacity: 1;
}

/* ==========================================================================
   BOUTIQUE CUSTOM CALENDAR DATE PICKER (Zero browser native blue)
   ========================================================================== */
.custom-date-wrap {
  position: relative;
  width: 100%;
}

.custom-date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4a5c52;
  background-color: #faf7f2;
  border: 1.5px solid rgba(74, 92, 82, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
  text-align: left;
}

.custom-date-trigger:hover {
  background-color: #ffffff;
  border-color: rgba(67, 85, 72, 0.32);
}

.custom-date-wrap.open .custom-date-trigger,
.custom-date-trigger:focus {
  border-color: var(--color-blush);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(229, 171, 160, 0.25);
}

.custom-date-icon {
  color: var(--color-blush);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.custom-date-wrap.open .custom-date-icon {
  transform: scale(1.1);
}

.custom-calendar-popup {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 100;
  background: #ffffff;
  border: 1.5px solid rgba(229, 171, 160, 0.4);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(50, 60, 52, 0.16);
  padding: 16px;
  width: 290px;
  display: none;
  flex-direction: column;
  animation: dropMenuAnim 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-date-wrap.open .custom-calendar-popup {
  display: flex;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calendar-month-year {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: #4a5c52;
}

.calendar-nav-btn {
  background: #faf7f2;
  border: 1px solid rgba(74, 92, 82, 0.18);
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4a5c52;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.15s ease;
}

.calendar-nav-btn:hover {
  background: #f7ede9;
  border-color: var(--color-blush);
  color: #1e2b21;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-sage-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar-day-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4a5c52;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.15s ease;
}

.calendar-day-btn:hover:not(.disabled) {
  background-color: #f7ede9;
  color: #1e2b21;
}

.calendar-day-btn.today {
  border: 1.5px solid var(--color-blush);
}

.calendar-day-btn.selected,
.calendar-day-btn.range-start,
.calendar-day-btn.range-end {
  background-color: #4a5c52;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(74, 92, 82, 0.35);
}

.calendar-day-btn.range-start {
  border-radius: 50% 0 0 50%;
}

.calendar-day-btn.range-end {
  border-radius: 0 50% 50% 0;
}

.calendar-day-btn.range-start.range-end,
.calendar-day-btn.selected:not(.in-range) {
  border-radius: 50%;
}

.calendar-day-btn.in-range {
  background-color: #f7ebe7;
  color: #2b3b2f;
  border-radius: 0;
  font-weight: 600;
}

.calendar-day-btn.range-hover {
  background-color: #fdf2ef;
}

.calendar-day-btn.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  opacity: 0.5;
}

.calendar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(67, 85, 72, 0.08);
}

.calendar-btn-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-sage-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.calendar-btn-text:hover {
  color: var(--color-blush);
}

.calendar-btn-done {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #4a5c52;
  border: none;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(74, 92, 82, 0.25);
}

.calendar-btn-done:hover {
  background-color: #3d4e44;
  transform: translateY(-1px);
}

.range-helper-hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  text-align: center;
  background-color: #fbf7f2;
  border: 1px solid rgba(74, 92, 82, 0.12);
  border-radius: 8px;
  padding: 5px 8px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   BOUTIQUE CUSTOM HOURS RANGE PICKER (2-Click Range Selection)
   ========================================================================== */
.custom-time-wrap {
  position: relative;
  width: 100%;
}

.custom-time-wrap.open .custom-date-trigger {
  border-color: var(--color-blush);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(229, 171, 160, 0.25);
}

.custom-time-wrap.open .custom-date-icon {
  transform: scale(1.1);
}

.custom-time-popup {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 100;
  background: #ffffff;
  border: 1.5px solid rgba(229, 171, 160, 0.4);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(50, 60, 52, 0.16);
  padding: 16px;
  width: 300px;
  max-width: calc(100vw - 40px);
  display: none;
  flex-direction: column;
  animation: dropMenuAnim 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-time-wrap.open .custom-time-popup {
  display: flex;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding: 2px 2px 2px 0;
  scrollbar-width: thin;
}

.time-slot-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: #4a5c52;
  background-color: #faf7f2;
  border: 1px solid rgba(74, 92, 82, 0.15);
  border-radius: 8px;
  padding: 8px 4px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.time-slot-btn:hover {
  background-color: #f7ede9;
  color: #1e2b21;
}

.time-slot-btn.selected,
.time-slot-btn.range-start,
.time-slot-btn.range-end {
  background-color: #4a5c52;
  color: #ffffff;
  font-weight: 600;
  border-color: #4a5c52;
  box-shadow: 0 2px 6px rgba(74, 92, 82, 0.3);
}

.time-slot-btn.range-start {
  border-radius: 8px 0 0 8px;
}

.time-slot-btn.range-end {
  border-radius: 0 8px 8px 0;
}

.time-slot-btn.range-start.range-end,
.time-slot-btn.selected:not(.in-range) {
  border-radius: 8px;
}

.time-slot-btn.in-range {
  background-color: #f7ebe7;
  color: #2b3b2f;
  border-color: #f4d0c9;
  border-radius: 0;
  font-weight: 600;
}

.time-slot-btn.range-hover {
  background-color: #fdf2ef;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-sage-deep);
  cursor: pointer;
}

.custom-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-sage-btn);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--color-sage-deep);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideToast 0.3s ease;
  pointer-events: auto;
  border-left: 4px solid var(--color-blush);
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Phone & Desktop)
   ========================================================================== */

/* Phone Responsiveness (< 768px) */
@media (max-width: 767px) {
  .site-header {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: none !important;
  }

  .site-header.scrolled {
    background-color: rgba(247, 242, 234, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(67, 85, 72, 0.08) !important;
    box-shadow: 0 4px 20px rgba(50, 60, 52, 0.08) !important;
  }

  .legal-page-body .site-header {
    background-color: rgba(247, 242, 234, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(67, 85, 72, 0.08) !important;
  }

  .hero-section {
    width: 100%;
    min-height: 101vh;
    min-height: 101dvh;
    height: 101vh;
    height: 101dvh;
    aspect-ratio: unset;
    background-color: transparent;
    background-image: linear-gradient(
      180deg,
      rgba(247, 242, 234, 0.96) 0%,
      rgba(247, 242, 234, 0.96) 29%,
      rgba(247, 242, 234, 0.92) 34%,
      rgba(247, 242, 234, 0.70) 38%,
      rgba(247, 242, 234, 0.30) 41.5%,
      transparent 44%
    ), url('../images/1000054756.jpg');
    background-repeat: no-repeat;
    background-position: center 32%;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .hero-wrapper {
    width: 100%;
    max-width: none;
    padding: clamp(68px, 9.5vh, 80px) 16px clamp(16px, 3vh, 24px) 16px;
    margin: 0 auto;
  }

  .hero-content {
    width: 100%;
    max-width: 480px;
  }

  .hero-heart-badge {
    margin-bottom: 8px;
  }

  .hero-heart-badge .heart-svg {
    width: 22px;
    height: 22px;
  }

  .hero-headline {
    margin-bottom: clamp(14px, 2.5vh, 20px);
  }

  .script-line {
    font-size: clamp(2.8rem, 8.8vw, 3.8rem);
    margin-bottom: 20px;
  }

  .serif-line {
    font-family: var(--font-headline-serif);
    font-size: clamp(2rem, 6.2vw, 2.55rem);
    font-weight: 400;
  }

  .hero-buttons {
    gap: 10px;
    margin-bottom: clamp(12px, 2.2vh, 18px);
  }

  .btn-hero-primary, .btn-hero-secondary {
    font-size: clamp(0.88rem, 2.6vw, 0.98rem);
    font-weight: 500;
    padding: 10px 22px;
  }

  .hero-divider {
    max-width: 240px;
  }

  .footer-bottom {
    padding-top: 16px;
    gap: 8px;
  }

  .footer-copyright {
    font-size: clamp(0.6rem, 2.1vw, 0.72rem);
    white-space: nowrap;
    letter-spacing: -0.015em;
  }

  /* Modal Phone Responsiveness */
  .modal-overlay {
    padding: 12px;
  }

  .modal-container {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    padding: 22px 18px 24px 18px;
    border-radius: 20px;
  }

  .modal-header {
    margin-bottom: 14px;
    padding-right: 42px;
  }

  .modal-title-wrap h3 {
    font-size: 1.55rem;
  }

  .modal-subtitle {
    font-size: 0.85rem;
  }

  .role-toggle-group {
    margin-bottom: 12px;
    padding: 3px;
  }

  .role-toggle-btn {
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  .quote-tips-box {
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .quote-tips-title {
    font-size: 0.82rem;
  }

  .quote-tips-list {
    font-size: 0.78rem;
    gap: 5px;
  }

  .waiting-list-note,
  .message-note {
    padding: 6px 0 0 0;
    font-size: 0.92rem;
    line-height: 1.64;
    margin-bottom: 22px;
  }

  .waiting-list-note p,
  .message-note p {
    margin: 0 0 15px 0 !important;
    line-height: 1.64;
  }

  .waiting-list-note p:last-child,
  .waiting-list-note p:last-of-type,
  .message-note p:last-child,
  .message-note p:last-of-type {
    margin-bottom: 22px !important;
  }

  .waiting-list-signature,
  .message-signature {
    gap: 8px;
    font-size: 0.92rem;
  }

  .modal-form {
    gap: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-field label {
    font-size: 0.76rem;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 0.95rem;
    padding: 11px 12px;
    border-radius: 10px;
  }
}

/* Small Phones (< 400px) */
@media (max-width: 400px) {
  .hero-wrapper {
    padding-top: 86px;
  }

  .script-line {
    font-size: 2.9rem;
    margin-bottom: 17px;
  }

  .serif-line {
    font-family: var(--font-headline-serif);
    font-size: 2.05rem;
    font-weight: 400;
  }

  .btn-hero-primary, .btn-hero-secondary {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 11px 18px;
  }

  .footer-copyright {
    font-size: 0.58rem;
  }

  .modal-container {
    padding: 18px 14px 20px 14px;
    border-radius: 16px;
  }

  .modal-title-wrap h3 {
    font-size: 1.38rem;
  }

  .role-toggle-btn {
    font-size: 0.72rem;
    padding: 7px 6px;
  }
}

/* Desktop Responsiveness (768px+) */
@media (min-width: 768px) {
  body {
    background-color: var(--color-wall-landscape);
  }

  .site-header {
    background-color: transparent;
    border-bottom: 1px solid transparent;
  }

  .site-header.scrolled {
    background-color: rgba(247, 242, 234, 0.97);
    border-bottom: 1px solid rgba(67, 85, 72, 0.08);
  }

  /* Centered brand-logo in desktop header as requested */
  .header-container {
    padding: 12px 24px;
    max-width: none;
    justify-content: center;
  }

  .brand-logo {
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .brand-name {
    justify-content: center;
  }

  .logo-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
  }

  .logo-script {
    font-size: 1.95rem;
    display: inline-block;
    margin-left: 0.10em;
    margin-right: 0.18em;
    bottom: 0;
  }

  .logo-heart {
    font-size: 1.45rem;
    margin-left: 0.15em;
  }

  .brand-subtitle {
    font-size: 0.64rem;
    letter-spacing: 0.36em;
    text-align: center;
    padding-left: 0;
  }

  .site-header .brand-logo {
    filter: drop-shadow(0 0 1.5px #ffffff) drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 5px rgba(255, 255, 255, 0.85));
  }

  .site-header.scrolled .brand-logo {
    filter: none;
  }

  /* Full desktop hero with bright sunlit warmth matching the image */
  .hero-section {
    aspect-ratio: auto;
    background-image: url('../images/1000054758.jpg');
    background-repeat: no-repeat;
    background-position: 55% center;
    background-size: cover;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Hero content positioned on the left side of screen */
  .hero-wrapper {
    width: 100%;
    max-width: none;
    padding: clamp(80px, 9vw, 110px) 40px 40px clamp(50px, 7vw, 120px);
    align-items: flex-start;
  }

  /* Refined, balanced hero-content inside hero section */
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 470px;
    margin: 0;
  }

  .hero-heart-badge {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-left: 0;
    margin-bottom: 12px;
  }

  .hero-heart-badge .heart-svg {
    width: 24px;
    height: 24px;
  }

  .hero-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .script-line {
    font-family: 'Brittany Signature', var(--font-script);
    font-size: clamp(3.2rem, 4.2vw, 3.9rem);
    font-weight: 400;
    font-style: normal;
    color: #4a5c52;
    text-align: center;
    transform: none;
    margin-bottom: 9px;
    letter-spacing: normal;
    line-height: 1.2;
    filter: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga" 1, "calt" 1, "kern" 1;
    font-variant-ligatures: common-ligatures contextual;
    padding: 0.15em 0.25em;
    overflow: visible;
    white-space: nowrap;
  }

  .serif-line {
    font-family: var(--font-headline-serif);
    font-size: clamp(2.15rem, 2.7vw, 2.65rem);
    font-weight: 400;
    color: #4a5c52;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.01em;
    filter: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "liga" 1, "kern" 1;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
    gap: 12px;
  }

  .btn-hero-primary, .btn-hero-secondary {
    font-size: 0.98rem;
    font-weight: 500;
    padding: 12px 26px;
    box-shadow: 0 4px 14px rgba(40, 56, 45, 0.18);
  }

  .btn-hero-primary .btn-arrow,
  .btn-hero-secondary .btn-arrow {
    font-size: 1.2rem;
  }

  .hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .hero-divider .divider-heart {
    font-size: 1.35rem;
  }

  .hero-divider .divider-line {
    height: 1.5px;
  }

  .footer-bottom {
    flex-direction: row;
    gap: 12px;
  }

  .footer-copyright {
    font-size: 0.78rem;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Widescreen Desktops (1200px+) */
@media (min-width: 1200px) {
  .header-container {
    padding: 14px 24px;
    justify-content: center;
  }

  .brand-logo {
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .brand-name {
    justify-content: center;
  }

  .logo-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
  }

  .logo-script {
    font-size: 2.28rem;
    display: inline-block;
    margin-left: 0.10em;
    margin-right: 0.18em;
    bottom: 0;
  }

  .logo-heart {
    font-size: 1.65rem;
    margin-left: 0.15em;
  }

  .brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.38em;
    text-align: center;
    padding-left: 0;
  }

  .hero-wrapper {
    padding-left: clamp(60px, 8vw, 130px);
    padding-top: clamp(85px, 11vh, 120px);
    padding-bottom: 45px;
  }

  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
  }

  .hero-content {
    max-width: 480px;
  }

  .script-line {
    font-size: 4.1rem;
  }

  .serif-line {
    font-size: 2.85rem;
  }

  .btn-hero-primary, .btn-hero-secondary {
    font-size: 1.02rem;
    padding: 13px 28px;
  }

  .hero-divider {
    max-width: 240px;
  }
}

/* ==========================================================================
   Boutique Legal Pages (Privacy Policy & Terms of Service)
   ========================================================================== */

.legal-page-body {
  background-color: var(--color-wall-portrait);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page-main {
  flex: 1;
  padding-top: 110px;
  padding-bottom: 70px;
}

.legal-page-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-sage-deep);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(67, 85, 72, 0.12);
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.legal-back-btn:hover {
  background: #ffffff;
  color: var(--color-sage-btn-hover);
  border-color: var(--color-blush);
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(67, 85, 72, 0.08);
}

.legal-badge {
  background: #fdf5f3;
  color: #a85243;
  border: 1px solid #f2bfb3;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
}

.legal-header-hero {
  text-align: center;
  margin-bottom: 38px;
}

.legal-heart-accent {
  font-size: 1.8rem;
  color: var(--color-blush);
  line-height: 1;
  margin-bottom: 8px;
}

.legal-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 500;
  color: var(--color-sage-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.legal-updated {
  font-size: 0.88rem;
  color: var(--color-sage-muted);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

.legal-intro {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1.05rem;
  line-height: 1.68;
  color: rgba(55, 70, 59, 0.9);
}

.legal-card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(28px, 4.5vw, 54px);
  box-shadow: 0 12px 36px rgba(50, 60, 52, 0.06);
  border: 1px solid rgba(229, 171, 160, 0.28);
}

.legal-callout {
  background: #fcf6f4;
  border-left: 4px solid var(--color-blush);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 34px;
}

.callout-icon {
  color: #cf6e5c;
  font-size: 1.25rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.callout-text {
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--color-sage-deep);
}

.legal-section {
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(67, 85, 72, 0.08);
}

.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(55, 70, 59, 0.92);
  margin-bottom: 14px;
}

.legal-section ul {
  margin-left: 22px;
  margin-bottom: 16px;
}

.legal-section li {
  font-size: 0.93rem;
  line-height: 1.68;
  color: rgba(55, 70, 59, 0.92);
  margin-bottom: 8px;
}

.legal-link {
  color: var(--color-sage-btn);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.legal-link:hover {
  color: #b86252;
}

.legal-contact-box {
  background: #faf7f2;
  border: 1px solid #eeded5;
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-contact-box p {
  margin-bottom: 4px;
}

.legal-supervisory-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #5a6b5e;
}

.legal-bottom-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 44px;
  flex-wrap: wrap;
}

.legal-return-btn, .legal-alt-btn {
  text-decoration: none;
  font-size: 0.98rem;
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.active-legal-link {
  color: var(--color-sage-deep) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   TERMS OF SERVICE ROLE SWITCHER TABS
   ========================================================================== */
.terms-toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 28px;
  box-sizing: border-box;
}

.terms-toggle-group {
  display: flex;
  align-items: center;
  background-color: #f1ede6;
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
  max-width: 380px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: inset 0 1px 3px rgba(50, 60, 52, 0.08);
}

.terms-toggle-btn {
  flex: 1 1 50%;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 2.5vw, 0.88rem);
  font-weight: 600;
  color: #5d6d60;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.terms-toggle-btn:hover:not(.active) {
  color: #2e3a32;
}

#tab-family-btn.active {
  background-color: #4a5c52;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(74, 92, 82, 0.28);
}

#tab-aupair-btn.active {
  background-color: #f2bfb3;
  color: #1e2b21;
  box-shadow: 0 3px 12px rgba(242, 191, 179, 0.45);
}

.terms-tab-panel {
  animation: luxuryFadeIn 0.35s ease;
}

@media (max-width: 600px) {
  .terms-toggle-wrapper {
    margin-bottom: 20px;
  }

  .terms-toggle-group {
    max-width: 100%;
    padding: 3px;
    gap: 3px;
  }

  .terms-toggle-btn {
    padding: 8px 6px;
    font-size: 0.82rem;
  }

  .legal-page-main {
    padding-top: 85px;
    padding-bottom: 45px;
  }

  .legal-nav-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .legal-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .legal-bottom-actions {
    flex-direction: column;
    width: 100%;
  }

  .legal-return-btn, .legal-alt-btn {
    width: 100%;
  }
}

/* ==========================================================================
   SCROLL TO TOP FLOATING BUTTON
   ========================================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #4a5c52;
  color: #f7f2ea;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(40, 56, 47, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.25s, box-shadow 0.25s;
}

.scroll-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background-color: #38473e;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(40, 56, 47, 0.38);
}

.scroll-to-top-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(40, 56, 47, 0.2);
}

.scroll-to-top-btn svg {
  transition: transform 0.2s ease;
}

.scroll-to-top-btn:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .scroll-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   OPTION 2: BRAND-GREEN OVERLAY + CREAM TEXT (Integrated from option2.css)
   Lauryn and Littles - Au Pair & Family Matching
   Active selection adopted for main index.html
   ========================================================================== */

@font-face {
  font-family: 'Autography';
  src: url('../fonts/autography/Autography.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 1. Hero Section Reset & Full-Bleed Photo */
.hero-section.hero-green-overlay {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  aspect-ratio: unset;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 !important;

  /* Mobile Full-Bleed Portrait Photo */
  background-image: url('../images/1000054756.jpg') !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  /* Pushed down so Lauryn's face and body sit fully clear of the green gradient shadow */
  background-position: center 15% !important;
  background-color: var(--color-sage-deep, #4a5c52);
}

/* 2. Multi-Stop Brand-Green Gradient Overlay */
.hero-section.hero-green-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(40, 56, 47, 0.92) 0%,
    rgba(45, 62, 53, 0.90) 22%,
    rgba(45, 62, 53, 0.84) 30%,
    rgba(52, 70, 60, 0.52) 36%,
    rgba(62, 80, 70, 0.20) 41%,
    rgba(74, 92, 82, 0.04) 45%,
    transparent 47%
  );
}

/* 3. Hero Wrapper & Content */
.hero-green-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  padding: clamp(86px, 12vh, 108px) 20px clamp(28px, 4vh, 44px) 20px;
}

.hero-green-content {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.hero-green-content .hero-heart-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.hero-green-content .heart-svg {
  color: #f7dcd5;
  filter: drop-shadow(0 2px 6px rgba(20, 32, 24, 0.4));
}

/* 4. Headline Typography - Cream Palette & High Contrast */
.hero-green-content .hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(22px, 3.8vh, 32px);
  color: var(--color-wall-portrait, #f7f2ea);
  line-height: 1.12;
  width: 100%;
}

.hero-green-content .script-line {
  font-family: 'Brittany Signature', var(--font-script, cursive);
  font-size: clamp(3.3rem, 10vw, 4.8rem);
  font-weight: 400;
  font-style: normal;
  color: var(--color-wall-portrait, #f7f2ea);
  display: block;
  letter-spacing: normal;
  transform: none;
  margin-bottom: 16px;
  line-height: 1.2;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0.12em 0.2em;
  overflow: visible;
  white-space: nowrap;
  -webkit-text-stroke: 0.35px var(--color-wall-portrait, #f7f2ea);
  text-shadow: 0 1px 3px rgba(20, 32, 24, 0.5);
  filter: none !important;
}

.hero-green-content .serif-line {
  font-family: var(--font-headline-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(2.2rem, 6.8vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--color-wall-portrait, #f7f2ea);
  display: block;
  line-height: 1.16;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 3px rgba(20, 32, 24, 0.45);
  filter: none !important;
}

/* 5. Buttons (High Contrast Against Brand Green) */
.hero-green-content .hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 0;
}

.hero-green-content .btn-hero-primary {
  background-color: var(--color-wall-portrait, #f7f2ea);
  color: #2f3e35;
  box-shadow: 0 6px 20px rgba(20, 32, 24, 0.35);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-green-content .btn-hero-primary:hover {
  background-color: #ffffff;
  color: #1f2b24;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 32, 24, 0.45);
}

.hero-green-content .btn-hero-primary .btn-arrow {
  color: #2f3e35;
}

.hero-green-content .btn-hero-secondary {
  background-color: #f2bfb3;
  color: #233327;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(20, 32, 24, 0.28);
}

.hero-green-content .btn-hero-secondary:hover {
  background-color: #eaaea0;
  color: #141f17;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 32, 24, 0.38);
}

/* 6. Header & Logo Colour Switching for Brand-Green Overlay */
body:has(.hero-green-overlay) .site-header:not(.scrolled) .logo-serif,
body.has-green-overlay .site-header:not(.scrolled) .logo-serif {
  color: var(--color-wall-portrait, #f7f2ea) !important;
  text-shadow: 0 1px 4px rgba(20, 32, 24, 0.4);
}

body:has(.hero-green-overlay) .site-header:not(.scrolled) .logo-script,
body.has-green-overlay .site-header:not(.scrolled) .logo-script {
  color: #f7dcd5 !important;
  text-shadow: 0 1px 4px rgba(20, 32, 24, 0.4);
}

body:has(.hero-green-overlay) .site-header:not(.scrolled) .logo-heart,
body.has-green-overlay .site-header:not(.scrolled) .logo-heart {
  color: #f7dcd5 !important;
  text-shadow: 0 1px 4px rgba(20, 32, 24, 0.4);
}

body:has(.hero-green-overlay) .site-header:not(.scrolled) .brand-subtitle,
body.has-green-overlay .site-header:not(.scrolled) .brand-subtitle {
  color: rgba(247, 242, 234, 0.90) !important;
  text-shadow: 0 1px 3px rgba(20, 32, 24, 0.35);
}

body:has(.hero-green-overlay) .site-header:not(.scrolled) .brand-logo,
body.has-green-overlay .site-header:not(.scrolled) .brand-logo {
  filter: none !important;
}

body:has(.hero-green-overlay) .site-header.scrolled .logo-serif,
body.has-green-overlay .site-header.scrolled .logo-serif {
  color: #4a5c52 !important;
  text-shadow: none !important;
}

body:has(.hero-green-overlay) .site-header.scrolled .logo-script,
body.has-green-overlay .site-header.scrolled .logo-script {
  color: #db9c93 !important;
  text-shadow: none !important;
}

body:has(.hero-green-overlay) .site-header.scrolled .logo-heart,
body.has-green-overlay .site-header.scrolled .logo-heart {
  color: #db9c93 !important;
  text-shadow: none !important;
}

body:has(.hero-green-overlay) .site-header.scrolled .brand-subtitle,
body.has-green-overlay .site-header.scrolled .brand-subtitle {
  color: var(--color-sage-muted, #7d877e) !important;
  text-shadow: none !important;
}

/* 7. Desktop Adaptation (min-width: 768px) */
@media (min-width: 768px) {
  .hero-section.hero-green-overlay {
    background-image: url('../images/1000054758.jpg') !important;
    background-position: 84% center !important;
    background-size: cover !important;
    height: 100vh;
    height: 100dvh;
    min-height: 640px;
    max-height: 1080px;
    justify-content: center;
  }

  /* Desktop Multi-Stop Horizontal Gradient: Rich green on left, clear on Lauryn */
  .hero-section.hero-green-overlay::before {
    background: linear-gradient(
      90deg,
      rgba(38, 54, 45, 0.95) 0%,
      rgba(42, 59, 49, 0.93) 25%,
      rgba(45, 62, 53, 0.85) 35%,
      rgba(52, 70, 60, 0.50) 46%,
      rgba(62, 80, 70, 0.15) 54%,
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(38, 54, 45, 0.45) 0%,
      transparent 18%
    );
  }

  .hero-green-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    max-width: 100% !important;
    margin: 0 !important;
    padding: clamp(90px, 12vh, 120px) 40px clamp(40px, 6vh, 60px) clamp(40px, 6vw, 100px);
  }

  .hero-green-content {
    max-width: 480px;
    margin: 0;
    align-items: center;
    text-align: center;
  }

  .hero-green-content .script-line {
    font-size: clamp(3.2rem, 3.8vw, 4.3rem);
    margin-bottom: 12px;
    filter: none !important;
    color: var(--color-wall-portrait, #f7f2ea) !important;
    text-shadow: 0 1px 3px rgba(20, 32, 24, 0.5) !important;
    -webkit-text-stroke: 0.35px var(--color-wall-portrait, #f7f2ea);
  }

  .hero-green-content .serif-line {
    font-size: clamp(2.1rem, 2.5vw, 2.7rem);
    filter: none !important;
    color: var(--color-wall-portrait, #f7f2ea) !important;
    text-shadow: 0 1px 3px rgba(20, 32, 24, 0.45) !important;
  }

  .hero-green-content .hero-buttons {
    gap: 14px;
    margin-top: 10px;
    justify-content: center;
  }
}


