/* ============================================================
   EVENT NANNY – styles.css
   Color Palette:
     Gold  : #b5963e   (brand light)
     Green : #133a1f   (brand dark)
     Cream : #f9f6ef
     Off-white: #fdfaf4
============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #b5963e;
  --gold-dark: #967a30;
  --gold-light: #d4b96a;
  --gold-pale: #f0e4c0;
  --green: #133a1f;
  --green-mid: #1e5430;
  --green-light: #2a7245;
  --cream: #f9f6ef;
  --off-white: #fdfaf4;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a3a;
  --text-light: #9a9080;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 12px rgba(19, 58, 31, 0.08);
  --shadow-md: 0 6px 32px rgba(19, 58, 31, 0.14);
  --shadow-lg: 0 16px 64px rgba(19, 58, 31, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* ============================================================
   PRELOADER
============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
.preloader-logo {
  width: 150px;
  animation: pulseLogo 1.5s infinite ease-in-out alternate;
  transition: all 0.6s cubic-bezier(0.8, 0, 0.2, 1);
}
@keyframes pulseLogo {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(181, 150, 62, 0.5));
  }
}
/* When loaded: shrink logo and fly up, background fades out */
body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}
body.loaded .preloader-logo {
  transform: translateY(-200px) scale(0.4);
  opacity: 0;
}

/* ============================================================
   NAVBAR  — gold bar with dark green text
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: #b5963e;
  border-bottom: none;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  transition:
    background var(--transition),
    box-shadow var(--transition);
}
.navbar.scrolled {
  background: #a8872d;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.nav-container {
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 80px;
  padding-right: 3rem;
  overflow: visible;
}
.nav-logo {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  overflow: visible;
  position: relative;
  z-index: 10;
  margin-left: 1.5rem; /* Moved logo roughly 24px right on desktop */
}
.nav-logo-img {
  height: 140px;
  width: 140px;
  display: block;
  object-fit: contain;
  filter: none;
  position: relative;
  z-index: 10;
  transition: all 0.4s ease-in-out; /* Smooth transition for scroll resize */
}
/* When Scrolled: Shrink logo to exactly fit the top bar */
.navbar.scrolled .nav-logo-img {
  height: 80px;
  width: 80px;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  align-self: center;
}
.nav-link {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--transition);
}
.nav-link:hover {
  color: rgba(19, 58, 31, 0.65);
}
.nav-link:hover::after {
  width: 100%;
}

/* Mobile Only Nav Elements (Hidden on Desktop) */
.mobile-nav-logo,
.mobile-nav-close {
  display: none;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: 1rem;
  align-self: center;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--green);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(181, 150, 62, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(42, 114, 69, 0.25) 0%,
      transparent 55%
    ),
    linear-gradient(165deg, #0b2712 0%, #133a1f 45%, #0e2b17 100%);
}

/* Subtle texture overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(181, 150, 62, 0.03) 40px,
    rgba(181, 150, 62, 0.03) 80px
  );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center bottom,
    rgba(19, 58, 31, 0.4) 0%,
    transparent 70%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  padding: 6rem 1.5rem 7rem;
  max-width: 760px;
  animation: fadeUp 0.9s ease both;
}

.hero-logo-wrap {
  margin-bottom: 2.5rem;
}
.hero-logo {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.4));
  animation: subtleFloat 4s ease-in-out infinite;
}

@keyframes subtleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-sub {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

/* Dual CTA row in hero */
.hero-cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Outline button (ghost, used on dark backgrounds) */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color var(--transition),
    color var(--transition),
    background var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(181, 150, 62, 0.08);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: fadeIn 1.5s ease 1s both;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(181, 150, 62, 0.6), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}

/* Hero scroll sits at very bottom, never overlaps CTAs */
.hero-scroll {
  bottom: 1.5rem;
  z-index: 2;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--green);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
  box-shadow: 0 4px 20px rgba(181, 150, 62, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(181, 150, 62, 0.5);
  filter: brightness(1.06);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 20px rgba(181, 150, 62, 0.35);
  filter: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--green);
}

/* ============================================================
   SECTION UTILS
============================================================ */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--green);
  text-align: center;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-family: "Montserrat", sans-serif;
}

/* ============================================================
   ABOUT STRIP
============================================================ */
.about-strip {
  padding: 6rem 0;
  background: var(--off-white);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.about-img-col {
  display: flex;
  justify-content: center;
}
.about-img-wrap {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition);
}
.about-img-wrap:hover .about-photo {
  transform: scale(1.05);
}
.about-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-family: "Montserrat", sans-serif;
}
.about-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.about-body {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* ============================================================
   SERVICES SECTION  — dark bg, all 4 cards white & uniform
============================================================ */
.services-section {
  padding: 7rem 0;
  background: linear-gradient(160deg, #071c0c 0%, #0e2b17 45%, #133a1f 100%);
  position: relative;
}
.services-section .section-eyebrow {
  color: var(--gold);
}
.services-section .section-title {
  color: var(--gold-light);
}
.services-section .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(181, 150, 62, 0.15);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-img-container {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}
.service-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.service-card:hover .service-img-container img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}
.service-cta:hover {
  color: var(--green);
  transform: translateX(4px);
}

/* ALL 4 cards  — reset the dark highlight so they match */
.service-card--highlight {
  background: #fff;
  border-color: rgba(181, 150, 62, 0.15);
}
.service-card--highlight h3 {
  color: var(--green);
  font-size: 1.3rem;
}
.service-card--highlight p {
  color: var(--text-mid);
}
.service-card--highlight:hover {
  transform: translateY(-8px);
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   FEATURES
============================================================ */
.features {
  padding: 6rem 0;
  background: var(--off-white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(181, 150, 62, 0.12);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-img-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.feature-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.feature-card:hover .feature-img-container img {
  transform: scale(1.08);
}
.feature-card-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.feature-card h3 {
  font-size: 1.25rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   GOLD DIVIDER
============================================================ */
/* Gold divider — just two lines, no gap in middle */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--gold-pale),
    var(--gold),
    var(--gold-pale),
    transparent
  );
}
.divider-logo {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

/* ============================================================
   FORM SECTION
============================================================ */
.form-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--off-white) 100%);
}

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(181, 150, 62, 0.15);
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3rem;
  right: 3rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--gold-light),
    var(--gold)
  );
}

.booking-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-row.single {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.required {
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #e0d8c4;
  border-radius: var(--radius);
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: #fdfaf4;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b5963e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #c0b8a4;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181, 150, 62, 0.12);
  background: white;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-submit-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.btn-submit {
  font-size: 0.85rem;
  padding: 1rem 3rem;
}
.btn-icon {
  font-size: 1.1rem;
  transition: transform var(--transition);
}
.btn-submit:hover .btn-icon {
  transform: translateX(4px);
}

/* SUCCESS MESSAGE */
.success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeUp 0.6s ease both;
}
.success-message.visible {
  display: flex;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 24px rgba(19, 58, 31, 0.25);
}
.success-message h3 {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.success-message p {
  color: var(--text-mid);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: var(--gold-light);
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(19, 58, 31, 0.25);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.phone-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(19, 58, 31, 0.35);
}
.phone-icon {
  font-size: 1.3rem;
}
.meet-nannies-btn {
  margin-top: 0.5rem;
}

/* ============================================================
   NANNIES TEASER
============================================================ */
.nannies-teaser {
  position: relative;
  padding: 7rem 2rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 30% 50%,
      rgba(181, 150, 62, 0.15) 0%,
      transparent 60%
    ),
    linear-gradient(145deg, #0e2b17 0%, #133a1f 50%, #102814 100%);
}
.nannies-teaser-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(181, 150, 62, 0.04) 0%,
    transparent 70%
  );
}
.nannies-teaser-content {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  color: white;
}
.nannies-teaser-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.nannies-teaser-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

/* ============================================================
   CONTACT STRIP
============================================================ */
.contact-strip {
  background: var(--cream);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--gold-pale);
  border-bottom: 1px solid var(--gold-pale);
}
.contact-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.contact-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}
.contact-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--green);
}
.contact-phone:hover {
  color: var(--gold);
}
.contact-insta {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.contact-insta:hover {
  color: var(--gold);
}
.contact-divider-v {
  width: 1px;
  height: 48px;
  background: var(--gold-pale);
}

/* ============================================================
   FOOTER  — 3-column grid
============================================================ */
.site-footer {
  background: var(--green);
  color: rgba(255, 255, 255, 0.65);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(181, 150, 62, 0.15);
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo {
  width: 130px;
  height: 130px;
  opacity: 0.95;
}
.footer-owner {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}
.footer-tagline {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.footer-col-head {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-family: "Montserrat", sans-serif;
}
.footer-links-col .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.footer-links-col .footer-nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.footer-links-col .footer-nav a:hover {
  color: var(--gold-light);
}
/* Contact Us Col */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  width: fit-content;
}
.footer-contact-link svg {
  color: var(--gold-pale);
  flex-shrink: 0;
  order: -1; /* Ensure icon is always on the left */
}
.footer-contact-link:hover {
  color: var(--gold-pale);
  transform: translateX(3px);
}

/* Back to Top Block - Global Floating */
.go-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.go-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Bottom Bar */
.footer-bottom-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-credit {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
}
.footer-credit-link {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-credit-link:hover {
  color: white;
  text-decoration: underline;
}
/* legacy aliases kept for old markup compatibility */
.footer-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NANNIES PAGE – HERO
============================================================ */
.page-hero {
  position: relative;
  padding: 9rem 1.5rem 5rem;
  text-align: center;
  background:
    radial-gradient(
      ellipse at 25% 60%,
      rgba(181, 150, 62, 0.18) 0%,
      transparent 55%
    ),
    linear-gradient(155deg, #0b2712 0%, #133a1f 50%, #0e2b17 100%);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(181, 150, 62, 0.025) 40px,
    rgba(181, 150, 62, 0.025) 80px
  );
}
.page-hero-content {
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   NANNIES GRID
============================================================ */
.nannies-section {
  padding: 6rem 0;
  background: var(--off-white);
}
.nannies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2.5rem;
}
.nanny-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(181, 150, 62, 0.12);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.nanny-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.nanny-photo-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  position: relative;
}
.nanny-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.nanny-card:hover .nanny-photo-wrap img {
  transform: scale(1.05);
}

/* Placeholder avatar when no photo */
.nanny-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--green) 0%, #0b2712 100%);
  color: var(--gold-light);
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.nanny-avatar-placeholder small {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-family: "Montserrat", sans-serif;
  margin-top: 0.5rem;
  font-weight: 400;
}

.nanny-info {
  padding: 1.75rem;
  border-top: 2px solid var(--gold-pale);
}
.nanny-name {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 0.3rem;
}
.nanny-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}
.nanny-bio {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
.nanny-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.nanny-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gold-pale);
  color: var(--green);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* QuadM Form Elements */
.qm-time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.qm-time-slot {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--off-white);
  padding: 0.6rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  user-select: none;
}
.qm-time-slot:hover {
  background: rgba(255, 255, 255, 0.2);
}
.qm-time-slot input[type="checkbox"] {
  display: none;
}
.qm-time-slot:has(input[type="checkbox"]:checked) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green);
  font-weight: 600;
}
.qm-kid-row {
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

/* Back-to-home */
.back-btn-wrap {
  text-align: center;
  padding: 2rem 0 5rem;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  /* ── Navbar ── */
  .nav-container {
    height: 65px;
    padding: 0;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .nav-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-start; /* top align inside */
    justify-content: center;
    overflow: visible;
    z-index: 10;
    margin-left: 0;
  }
  .nav-logo-img {
    height: 110px;
    width: 110px;
  }
  .nav-hamburger {
    display: flex;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: #b5963e;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 6rem 0 2rem;
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
  }

  /* When menu is open, hide underlying nav elements and lock scroll */
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open .nav-logo,
  body.nav-open .nav-hamburger {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-nav-logo {
    display: block;
    width: 100px;
    height: auto;
    margin-bottom: 2rem;
  }

  .nav-link {
    padding: 0.85rem 2rem;
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: none; /* removed border for cleaner full screen */
    color: var(--green-dark);
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    font-weight: 600;
  }

  .mobile-nav-close {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    margin-top: 0;
    background: transparent;
    border: 1px solid var(--green-dark);
    color: var(--green-dark);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: var(--transition);
  }
  .mobile-nav-close:hover {
    background: var(--green-dark);
    color: var(--gold);
  }

  /* ── Hero: centered vertically + horizontally ── */
  .hero {
    min-height: 100svh;
    align-items: center;
    justify-content: center;
  }
  .hero-content {
    padding: 5rem 1.75rem 4rem;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-tagline {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    margin-bottom: 0.75rem;
  }
  .hero-sub {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    margin-bottom: 1.75rem;
  }
  .hero-cta-row {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  .hero-cta-row .btn-gold,
  .hero-cta-row .btn-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .scroll-indicator {
    display: none;
  }

  /* ── Sections ── */
  .section {
    padding: 3.5rem 1.25rem;
  }

  /* ── Forms ── */
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 2.5rem 1.5rem;
  }
  .form-card::before {
    left: 1.5rem;
    right: 1.5rem;
  }

  /* ── Contact ── */
  .contact-flex {
    gap: 2rem;
  }
  .contact-divider-v {
    display: none;
  }

  /* ── About ── */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .about-img-col {
    order: -1;
  }
  .about-logo-block {
    width: 200px;
    height: 200px;
  }
  .about-logo-large {
    width: 150px;
    height: 150px;
  }
  .about-eyebrow {
    text-align: center;
  }
  .about-heading {
    text-align: center;
  }
  .about-body {
    text-align: left;
  }

  /* ── Services ── */
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 1.5rem 2.5rem;
    text-align: center;
  }
  .footer-brand-col,
  .footer-nav,
  .footer-contact {
    align-items: center;
    text-align: center;
  }
  .footer-nav a {
    text-align: center;
    margin: 0 auto;
  }
  .footer-brand-col .footer-logo {
    margin: 0 auto 1.25rem;
  }
  .footer-action-col {
    display: block;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
    padding-bottom: 6rem; /* Prevent overlap with Go to Top button completely */
  }

  /* QuadM Form Mobile Adjustments */
  .qm-time-slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .qm-time-slot {
    padding: 0.5rem 0.2rem;
    text-align: center;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  /* ── Navbar ── */
  .nav-container {
    height: 58px;
  }
  .nav-logo-img {
    height: 95px;
    width: 95px;
  }
  .nav-links {
    top: 58px;
  }

  /* ── Hero ── */
  .hero-content {
    padding: 4rem 1.25rem 3rem;
  }

  /* ── General ── */
  .form-card {
    padding: 2rem 1rem;
  }
  .nannies-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
