/* ============================================
   Little Owls Childcare & Kindergarten
   Main Stylesheet - v1.0
   ============================================ */

:root {
  /* Brand Colors — pastel palette matched to Little Owls logo */
  --color-primary: #6a9e90;        /* sage green */
  --color-primary-dark: #4c7a6e;
  --color-primary-light: #e2efe9;
  --color-secondary: #f2b8c6;      /* light pink */
  --color-secondary-dark: #c48396; /* dusty rose */
  --color-secondary-light: #fdeef2;
  --color-accent: #a9d3ea;         /* light / baby blue */
  --color-accent-dark: #5e9dbd;
  --color-terracotta: #c48396;     /* dusty rose (replaces terracotta) */
  --color-terracotta-dark: #9e5f71;

  /* Neutrals */
  --color-dark: #3d3532;
  --color-body: #5a5350;
  --color-muted: #a09a94;
  --color-light: #fffbfc;          /* soft pink-white background */
  --color-white: #ffffff;
  --color-border: #f1dee4;
  --color-card: #ffffff;

  /* Typography */
  --font-heading: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.4rem, 5vw, 3.8rem);
  --fs-h1: clamp(2rem, 4vw, 2.9rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.2rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;

  /* Spacing & Shape */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(61, 53, 50, 0.07);
  --shadow-md: 0 10px 30px rgba(61, 53, 50, 0.1);
  --shadow-lg: 0 20px 60px rgba(196, 131, 150, 0.16);

  /* Layout */
  --max-width: 1140px;
  --header-height: 76px;
  --transition: 0.25s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-body);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { color: #3e6258; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: var(--fs-h1); margin-bottom: var(--space-sm); }
h2 { font-size: var(--fs-h2); margin-bottom: var(--space-sm); }
h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}
.section { padding: var(--space-xl) 0; }
.section--white { background: var(--color-white); }
.section--cream { background: var(--color-light); }
.section--green { background: var(--color-primary-dark); color: #fdf3f6; }
.section--green h2, .section--green h3 { color: #fff; }
/* Cards sit on white — keep their text dark even inside green sections */
.section--green .card h2, .section--green .card h3 { color: var(--color-dark); }
.section--green .card p, .section--green .card li { color: var(--color-body); }
.section--amber { background: var(--color-secondary-light); }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta-dark);
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.section--green .eyebrow {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: var(--color-secondary);
}
.lead { font-size: 1.2rem; color: var(--color-body); max-width: 640px; }
.section--green .lead { color: #f3e2e8; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color-dark); color: #fff;
  padding: 0.75rem 1.25rem; z-index: 200; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 500; font-size: 1.02rem;
  padding: 0.85rem 1.7rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-secondary); color: #4a2e38; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-secondary-dark); color: #4a2e38; }
.btn--green { background: var(--color-primary-dark); color: #fff; }
.btn--green:hover { background: #3e6258; color: #fff; }
.btn--outline { background: transparent; border-color: var(--color-primary-dark); color: var(--color-primary-dark); }
.btn--outline:hover { background: var(--color-primary-dark); color: #fff; }
.btn--white { background: #fff; color: var(--color-primary-dark); }
.btn--white:hover { background: var(--color-light); color: var(--color-primary-dark); }
.btn--outline-white { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--color-primary-dark); }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }
.center .btn-group { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 251, 252, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  display: flex; align-items: center;
}
.header-inner {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 48px; height: 48px; }
.brand-text { line-height: 1.1; }
.brand-text strong { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-dark); display: block; }
.brand-text span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-weight: 700; font-size: 0.98rem; color: var(--color-body);
  padding: 0.4rem 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 3px; border-radius: 3px;
  background: var(--color-secondary); transition: width var(--transition);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--color-dark); }

/* Nav dropdowns (Childcare / Kindergarten submenus) */
.nav-item { position: relative; display: flex; align-items: center; gap: 0.1rem; }
.dropdown-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--color-body); font-size: 0.75rem; line-height: 1;
  padding: 0.4rem 0.15rem; transition: transform var(--transition);
}
.nav-item.open > .dropdown-toggle { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: -0.7rem;
  min-width: 230px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 0.4rem;
  display: none; z-index: 120;
}
/* Invisible bridge over the visual gap so the menu stays open while
   moving the mouse down from the nav item */
.dropdown::before {
  content: ""; position: absolute; top: -12px; left: 0; right: 0;
  height: 12px;
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.open > .dropdown { display: block; }
.dropdown a { display: block; padding: 0.65rem 0.9rem; border-radius: 9px; font-size: 0.95rem; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--color-light); }
/* Current-location highlight — pastel pink so visitors know where they are */
.dropdown a.active {
  background: var(--color-secondary);
  color: #4a2e38;
  font-weight: 800;
}
.dropdown a.active:hover { background: var(--color-secondary); color: #4a2e38; }

/* Anchor targets sit below the sticky header */
section[id], figure[id] { scroll-margin-top: calc(var(--header-height) + 12px); }
.header-cta { display: flex; align-items: center; gap: 0.8rem; }
.header-cta .btn { padding: 0.65rem 1.3rem; font-size: 0.95rem; }

.nav-toggle {
  display: none; background: var(--color-primary-dark); color: #fff;
  border: none; width: 46px; height: 46px; border-radius: 12px;
  font-size: 1.4rem; cursor: pointer; line-height: 1;
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fffbfc 0%, #fdeef2 55%, #e2efe9 100%);
  padding: 4rem 0 3rem;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem; align-items: center;
}
.hero h1 { font-size: var(--fs-hero); }
.hero h1 .highlight {
  color: var(--color-primary);
  background: linear-gradient(transparent 62%, var(--color-secondary) 62%, var(--color-secondary) 92%, transparent 92%);
  padding: 0 0.15em;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0; }
.badge {
  font-size: 0.85rem; font-weight: 800;
  background: #fff; border: 1px solid var(--color-border);
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.hero-stats { display: flex; gap: 2rem; margin-top: 1.8rem; flex-wrap: wrap; }
.stat strong { font-family: var(--font-heading); font-size: 1.6rem; color: var(--color-primary-dark); display: block; line-height: 1; }
.stat span { font-size: 0.88rem; color: var(--color-muted); font-weight: 700; }

.hero-art {
  position: relative; background: #fff;
  border-radius: var(--radius-lg); padding: 1.2rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--color-border);
}
.hero-art img { border-radius: 18px; width: 100%; }
.floating-card {
  position: absolute; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 0.8rem 1rem;
  display: flex; gap: 0.7rem; align-items: center;
  border: 1px solid var(--color-border);
  font-size: 0.9rem; font-weight: 700; color: var(--color-dark);
  animation: float 4s ease-in-out infinite;
}
.floating-card small { display: block; font-weight: 600; color: var(--color-muted); }
.floating-card .icon { font-size: 1.6rem; }
.fc-1 { top: -18px; left: -18px; }
.fc-2 { bottom: -18px; right: -18px; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.wave-divider { display: block; width: 100%; height: 70px; margin-bottom: -1px; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 1rem;
}
.card--green .card-icon { background: var(--color-primary-light); }
.card--amber .card-icon { background: var(--color-secondary-light); }
.card--teal .card-icon { background: #d9ebf7; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.98rem; }
.card .card-link { display: inline-block; margin-top: 1rem; font-weight: 800; }
.program-card { overflow: hidden; padding: 0; }
.program-card img { height: 210px; width: 100%; object-fit: cover; }
.program-card-body { padding: 1.6rem; }
.age-pill {
  display: inline-block; font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--color-primary-dark); color: #fff;
  padding: 0.25rem 0.8rem; border-radius: var(--radius-pill); margin-bottom: 0.8rem;
}
.age-pill--amber { background: var(--color-secondary); color: #4a2e38; }

/* Profile photo cards — image-only, nothing cropped */
.profile-photo-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); overflow: hidden; padding: 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.profile-photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.profile-photo-card img { width: 100%; height: auto; display: block; }

/* Feature list */
.check-list li {
  padding-left: 2rem; position: relative; margin-bottom: 0.7rem;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-primary-light); color: var(--color-primary-dark);
  font-weight: 900; font-size: 0.8rem;
  display: grid; place-items: center;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
/* Two-column checklist (collapses to one column on phones) */
.check-list--cols { columns: 2; column-gap: 2.5rem; }
.check-list--cols li { break-inside: avoid; }
/* Photo banner topping a split text column (e.g. kindergarten page) */
.split-photo {
  width: 100%; height: 230px; object-fit: cover;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  margin-bottom: 1.3rem;
}
/* Landscape crop for a portrait photo inside a split column, so it
   matches the height of a sibling landscape photo (object-position
   keeps the faces in frame) */
.split-photo--crop {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  object-position: center 30%;
}
/* Logo feature panel — transparent so it melts into the page background.
   Keeps padding/centering and kills the rect shadow from .split img. */
.logo-panel {
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  place-items: center;
}
.split .logo-panel img { box-shadow: none; }

/* Schedule / table */
.schedule {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.schedule-row {
  display: grid; grid-template-columns: 160px 1fr; gap: 1rem;
  padding: 1rem 1.4rem; border-bottom: 1px solid var(--color-border);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-row:nth-child(odd) { background: #fdf2f5; }
.schedule-time { font-weight: 800; color: var(--color-primary-dark); font-size: 0.95rem; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.2rem; }
.testimonial {
  background: #fff; border-radius: var(--radius-md); padding: 1.6rem;
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.stars { color: var(--color-secondary-dark); letter-spacing: 0.15em; }
.testimonial p { font-style: italic; font-size: 0.98rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary-dark); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-family: var(--font-heading);
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--color-dark); line-height: 1.2; }
.testimonial-author span { font-size: 0.82rem; color: var(--color-muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg); padding: 3rem;
  color: #fff; display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem; align-items: center; position: relative; overflow: hidden;
}
.cta-banner::after {
  content: "🦉"; position: absolute; right: -10px; bottom: -30px;
  font-size: 11rem; opacity: 0.08; transform: rotate(-12deg);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #f3e2e8; }
.cta-banner img { border-radius: var(--radius-md); position: relative; z-index: 1; }

/* Page hero */
.page-hero {
  background: linear-gradient(180deg, #fff 0%, var(--color-secondary-light) 100%);
  padding: 3.5rem 0 2.5rem; text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-hero p { max-width: 680px; margin: 0 auto; }
.breadcrumbs { font-size: 0.88rem; color: var(--color-muted); margin-bottom: 0.8rem; font-weight: 700; }
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }

/* Founders (about page) */
.founder-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 2.2rem; align-items: start;
}
.founder-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 2rem; text-align: center;
  box-shadow: var(--shadow-sm); height: 100%;
}
.founder-card img {
  width: 200px; height: 200px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 1.2rem; border: 5px solid var(--color-primary-light);
}
.founder-card h3 { margin-bottom: 0.2rem; }
.founder-role {
  display: inline-block; font-size: 0.85rem; font-weight: 800;
  color: var(--color-terracotta-dark); margin-bottom: 1rem;
}
.founder-card p { text-align: left; font-size: 0.97rem; margin-bottom: 0.9rem; }
.founder-card p:last-child { margin-bottom: 0; }
.founder-card .photo-caption {
  font-size: 0.85rem; color: var(--color-muted); text-align: center;
  margin: -0.7rem 0 1rem;
}
.founder-closing { max-width: 760px; margin: 2.5rem auto 0; }
.founder-closing h3 { text-align: center; margin-bottom: 1rem; }
.founder-closing p { margin-bottom: 1rem; }
.pull-quote {
  text-align: center; font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 600; color: var(--color-primary-dark);
  margin-top: 1.4rem; line-height: 1.5;
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2rem; }
.team-card { text-align: center; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.6rem 1.2rem; }
.team-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid var(--color-primary-light); }
.team-card strong { color: var(--color-dark); display: block; }
.team-card span { font-size: 0.87rem; color: var(--color-terracotta-dark); font-weight: 800; }

/* FAQ */
.faq { max-width: 760px; margin: 2rem auto 0; text-align: left; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; margin-bottom: 0.8rem; overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-dark);
  padding: 1.1rem 1.3rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-question:hover { color: var(--color-primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 1.3rem 1.2rem; font-size: 0.97rem; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-icon { background: var(--color-primary-light); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Forms */
.form-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; font-weight: 800; font-size: 0.9rem; color: var(--color-dark); margin-bottom: 0.4rem; }
input, select, textarea {
  width: 100%; font-family: inherit; font-size: 1rem;
  padding: 0.8rem 1rem; border: 2px solid var(--color-border);
  border-radius: 12px; background: #fffdfe; color: var(--color-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-primary-light);
}
textarea { min-height: 130px; resize: vertical; }
.field-error { font-size: 0.85rem; color: #b3261e; font-weight: 700; margin-top: 0.3rem; display: none; }
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: #b3261e; background: #fef2f2; }
.form-group.invalid .field-error { display: block; }
.form-note { font-size: 0.88rem; color: var(--color-muted); margin-top: 0.8rem; }
.form-success {
  display: none; background: #eaf7ee; border: 1px solid #9ed5ab;
  color: #1f5c2e; border-radius: 14px; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; font-weight: 700;
}
.form-success.show { display: block; }
.form-error {
  display: none; background: #fdecea; border: 1px solid #e5a49d;
  color: #8f1d12; border-radius: 14px; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; font-weight: 700;
}
.form-error.show { display: block; }
.form-error a { color: #8f1d12; text-decoration: underline; }
/* Honeypot anti-spam field — never visible, never focusable */
.hp-field {
  position: absolute !important; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.contact-info-card {
  background: var(--color-primary-dark); color: #fdf3f6;
  border-radius: var(--radius-lg); padding: 4.6rem;
}
.contact-info-card h3 { color: #fff; }
.contact-line { display: flex; gap: 0.9rem; margin-bottom: 1.2rem; align-items: flex-start; }
.contact-line .icon { background: rgba(255,255,255,0.12); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-line a { color: #fff; font-weight: 700; }
.hours-table { width: 100%; font-size: 0.95rem; margin-top: 0.5rem; }
.hours-table td { padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.hours-table td:last-child { text-align: right; font-weight: 700; }

/* Footer */
.site-footer { background: var(--color-dark); color: #d5c9ce; padding: 3.5rem 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: 2.2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.04em; }
.site-footer a { color: #d5c9ce; }
.site-footer a:hover { color: var(--color-secondary); }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand strong { color: #fff; font-family: var(--font-heading); font-size: 1.2rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem; padding: 1.2rem 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.87rem;
}
.socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: grid; place-items: center; font-size: 1.1rem;
  color: #d5c9ce;
}
.socials a:hover { background: var(--color-secondary); color: #4a2e38; }
.socials a svg { width: 18px; height: 18px; display: block; }
/* Facebook text link (replaces the icon in footers) */
.socials .facebook-text {
  width: auto; height: auto; border-radius: var(--radius-pill);
  padding: 0.55rem 1.2rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.18em;
}
.contact-line .icon svg { width: 20px; height: 20px; display: block; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Back to top */
#backToTop {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--color-primary-dark); color: #fff; font-size: 1.3rem;
  cursor: pointer; box-shadow: var(--shadow-md); display: none;
}
#backToTop.show { display: block; }
#backToTop:hover { background: var(--color-primary-dark); }

/* ============================================
   HERO SLIDER — full-screen 3-photo slider
   (same pattern as reference: full-bleed bg photo,
   dark overlay, centred white text, yellow pill CTA)
   Everything else in this file is untouched.
   ============================================ */
.hero-slider {
  position: relative;
  height: clamp(560px, 92vh, 760px);
  min-height: 560px;
  overflow: hidden;
  background: var(--color-dark);
  isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}
.hero-slide.is-active {
  opacity: 1; visibility: visible; z-index: 1;
  transition: opacity 0.8s ease;
}
.hero-slide-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s linear;
}
.hero-slide.is-active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74,52,60,0.42) 0%, rgba(74,52,60,0.32) 40%, rgba(74,52,60,0.60) 100%);
}
.hero-slide-content {
  position: relative; z-index: 2;
  color: #fff; padding: 5rem 1.25rem 4rem;
  max-width: 900px;
}
.hero-kicker {
  display: inline-block;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 0.4rem 1rem; border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
  backdrop-filter: blur(6px);
}
.hero-slide-content h1 {
  color: #fff; font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5.1rem);
  line-height: 1.05; letter-spacing: -0.01em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero-slide-content h1 .line { display: block; }
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: rgba(255,255,255,0.92);
  max-width: 640px; margin: 0 auto;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
/* Text entrance — mimics reference rise-in (o:1;y:100%) */
.hero-slide .hero-kicker,
.hero-slide h1 .line,
.hero-slide .hero-sub,
.hero-slide .btn-group {
  opacity: 0; transform: translateY(60px);
}
.hero-slide.is-active .hero-kicker { animation: heroUp 0.9s ease 0.2s forwards; }
.hero-slide.is-active h1 .line:first-child { animation: heroUp 1s ease 0.4s forwards; }
.hero-slide.is-active h1 .line:last-child { animation: heroUp 1s ease 0.55s forwards; }
.hero-slide.is-active .hero-sub { animation: heroUp 1s ease 0.9s forwards; }
.hero-slide.is-active .btn-group { animation: heroUp 1s ease 1.05s forwards; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
.hero-slide-content .btn-group { justify-content: center; margin-top: 1.8rem; }
.hero-slide-content .btn--primary {
  background: var(--color-secondary); /* pastel pink */
  border-color: var(--color-secondary); color: #4a2e38;
  padding: 1.05rem 2.4rem; font-size: 1.05rem; font-weight: 700;
  border-radius: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.hero-slide-content .btn--primary:hover { background: #fff; border-color: #fff; color: var(--color-dark); }

/* Arrows */
.hero-arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12); color: #fff;
  font-size: 1.8rem; line-height: 1; cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background var(--transition), transform var(--transition);
  display: grid; place-items: center;
}
.hero-arrow:hover { background: var(--color-secondary); color: #4a2e38; transform: scale(1.06); }
.hero-arrow--prev { left: 1.2rem; }
.hero-arrow--next { right: 1.2rem; }

/* Dots */
.hero-dots {
  position: absolute; z-index: 3; left: 50%; bottom: 4.2rem; translate: -50% 0;
  display: flex; gap: 0.6rem;
}
.hero-dots button {
  width: 34px; height: 6px; border-radius: 99px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.35);
  transition: background var(--transition), width var(--transition);
}
.hero-dots button[aria-selected="true"] { background: var(--color-secondary); width: 52px; }

/* Scroll cue — like reference "Scroll ›" */
.hero-scroll {
  position: absolute; z-index: 3; left: 1.4rem; bottom: 1.1rem;
  color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.5rem;
  writing-mode: vertical-rl; rotate: 180deg;
}
.hero-scroll span {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  rotate: 90deg; animation: heroBounce 2s infinite;
}
.hero-scroll:hover { color: var(--color-secondary); }
@keyframes heroBounce { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide-bg, .hero-slide .hero-kicker,
  .hero-slide h1 .line, .hero-slide .hero-sub, .hero-slide .btn-group {
    animation: none !important; transition: none !important;
    opacity: 1 !important; transform: none !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .cta-banner { grid-template-columns: 1fr; }
  .grid-3, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: 8px; } .fc-2 { right: 8px; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; top: var(--header-height); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 1.4rem 1.4rem; gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--color-border); }
  .nav a:last-child { border-bottom: none; }
  /* Dropdowns stack inline in the mobile menu (tap toggle only,
     no sticky hover) */
  .nav-item { flex-wrap: wrap; }
  .nav-item:hover > .dropdown { display: none; }
  .nav-item.open > .dropdown,
  .nav-item:focus-within > .dropdown { display: block; }
  .nav-item > a:first-child { flex: 1; }
  .dropdown-toggle { padding: 0.85rem 0.4rem; font-size: 0.9rem; }
  .nav-item > .dropdown {
    flex-basis: 100%; position: static;
    border: none; box-shadow: none; padding: 0 0 0.3rem 0.9rem;
  }
  .nav-item .dropdown a { border-bottom: none; padding: 0.6rem 0.2rem; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .grid-2, .grid-3, .testimonial-grid, .form-grid, .founder-grid { grid-template-columns: 1fr; }
  .check-list--cols { columns: 1; }
  .grid-4, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .cta-banner { padding: 2rem 1.5rem; }
  .form-card, .contact-info-card { padding: 1.5rem; }
  .schedule-row { grid-template-columns: 1fr; gap: 0.2rem; }
  .hero-slider { height: 92svh; min-height: 520px; }
  .hero-arrow { display: none; }
  .hero-scroll { display: none; }
  .hero-dots { bottom: 1.4rem; }
  .masonry { columns: 2 220px; }
  .lightbox-nav { display: none; }
  /* Tap-to-enlarge hint on slideshow photos (viewer opens on tap) */
  .hero-slide-bg { cursor: zoom-in; }
  .hero-slide::after {
    content: "⤢"; position: absolute; z-index: 2; right: 1rem; bottom: 1rem;
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.2rem; color: #fff;
    background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.4);
    pointer-events: none;
  }
}
/* Tiny phones (≤400px): squeeze header brand so logo + menu button fit */
@media (max-width: 400px) {
  .brand img { width: 38px; height: 38px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text span { font-size: 0.66rem; letter-spacing: 0.05em; }
  .header-inner { gap: 0.5rem; }
}
/* Tour-form grid (used by the home CTA form when enabled): 2 cols → 1 col */
.tour-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
}
@media (max-width: 720px) {
  .tour-form-grid { grid-template-columns: 1fr; }
}

/* ============================================
   GALLERY — Masonry + lightbox
   ============================================ */
.masonry {
  columns: 3 300px; column-gap: 1.2rem;
}
.masonry-item {
  break-inside: avoid; margin-bottom: 1.2rem;
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition), opacity 0.3s ease;
}
.masonry-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.masonry-item.hidden { display: none; }
.masonry-item img { width: 100%; height: auto; display: block; }
/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(61, 53, 50, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-figure { max-width: min(90vw, 900px); text-align: center; overflow: auto; }
.lightbox-figure img {
  max-width: 100%; max-height: 78vh; border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
/* Hero viewer zoom: tap the photo to fill the screen height, pan sideways */
#heroLightboxImg { transition: height 0.25s ease; cursor: zoom-in; }
#heroLightboxImg.zoomed {
  max-width: none; max-height: none;
  height: 82vh; width: auto;
  cursor: zoom-out;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1.2rem;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: #fff; color: var(--color-dark); font-size: 1.6rem;
  cursor: pointer; line-height: 1;
}
.lightbox-nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.12);
  color: #fff; font-size: 1.8rem; cursor: pointer;
}
.lightbox-nav:hover { background: var(--color-secondary); color: #4a2e38; }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-counter { color: #fff; font-weight: 700; margin-top: 0.8rem; }
/* Small footnote line (e.g. gallery privacy note) */
.privacy-note {
  text-align: center; font-size: 0.85rem; color: var(--color-muted);
  max-width: 640px; margin: 2rem auto 0;
}
