/* ============================================
   LABILAND v2 - Storybook Woodland
   ============================================ */

:root {
  --sun: #FFCF3A;
  --sun-dark: #E8B91E;
  --sun-light: #FFF3CC;
  --sun-glow: #FFE47A;

  --forest: #1a3c2a;
  --forest-mid: #2a5c3e;
  --forest-light: #3d7a54;

  --cream: #FBF8F0;
  --cream-dark: #F0EBD8;
  --bark: #6B4D30;
  --bark-light: #8B6B4A;

  --ink: #1a2118;
  --ink-2: #3a4a36;
  --ink-3: #6a7a64;
  --ink-4: #9aaa94;

  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-lock { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--forest);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 16px;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sun);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.topbar__pulse {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.topbar__hours span { opacity: .8; }
.topbar__hours b { opacity: 1; }
.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar__where {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: .8;
}
.topbar__where svg { opacity: .6; flex-shrink: 0; }
.topbar__phones { display: flex; gap: 14px; }
.topbar__phones a {
  color: var(--sun-glow);
  transition: color .2s;
}
.topbar__phones a:hover { color: var(--sun); }

@media (max-width: 768px) {
  .topbar__right { display: none; }
  .topbar__hours { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform .35s var(--ease-out), box-shadow .35s;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.site-header.is-scrolled .nav {
  box-shadow: 0 4px 20px rgba(26,60,42,.1);
}
.site-header.is-hidden .nav {
  transform: translateY(-100%);
}
.site-header.is-scrolled .topbar {
  display: none;
}
.nav .wrap {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 8px;
}
.nav__logo {
  flex-shrink: 0;
  margin-right: auto;
}
.nav__logo img {
  height: 40px;
  width: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__list > li > a,
.nav__drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav__list > li > a:hover,
.nav__drop-toggle:hover {
  color: var(--forest);
  background: var(--cream);
}
.nav__list > li > a.is-active {
  color: var(--forest);
  background: var(--sun-light);
}

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__drop-toggle svg {
  transition: transform .25s var(--ease-out);
}
.nav__dropdown.is-open .nav__drop-toggle svg {
  transform: rotate(180deg);
}
.nav__drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(26,60,42,.12), 0 2px 8px rgba(0,0,0,.06);
  padding: 8px;
  min-width: 210px;
  transition: opacity .25s, transform .25s var(--ease-out);
}
.nav__dropdown.is-open .nav__drop-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav__drop-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.nav__drop-menu a:hover {
  background: var(--sun-light);
  color: var(--forest);
}

/* CTA */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding: 10px 22px;
  background: var(--forest);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__cta:hover {
  background: var(--forest-mid);
  transform: translateY(-1px);
}
.nav__cta svg { opacity: .8; }

/* Burger */
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__list { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .nav.is-open .nav__list {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px;
    gap: 2px;
    align-items: stretch;
    overflow-y: auto;
    z-index: 99;
    animation: slideDown .35s var(--ease-out);
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav.is-open .nav__list > li > a,
  .nav.is-open .nav__drop-toggle {
    font-size: 17px;
    padding: 14px 16px;
  }
  .nav.is-open .nav__drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .nav.is-open .nav__dropdown.is-open .nav__drop-menu {
    transform: none;
  }
  .nav.is-open .nav__list::after {
    content: '';
    display: block;
    padding-top: 16px;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  transition: transform .2s var(--ease-spring), box-shadow .2s, background .2s, color .2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--sun);
  color: var(--forest);
  box-shadow: 0 4px 16px rgba(255,207,58,.3);
}
.btn--primary:hover {
  background: var(--sun-dark);
  box-shadow: 0 8px 28px rgba(255,207,58,.4);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.4);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.7);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--forest);
  overflow: hidden;
  padding-top: 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26,60,42,.94) 0%, rgba(26,60,42,.88) 42%, rgba(26,60,42,.65) 60%, rgba(26,60,42,.55) 100%);
}

.hero__wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 40px;
  min-height: 580px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sun-glow);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero__eyebrow svg { opacity: .7; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  font-variation-settings: 'opsz' 144;
}
.hero__title-accent {
  display: inline;
  color: var(--sun);
  font-family: var(--font-hand);
  font-size: 1.15em;
  font-weight: 700;
  position: relative;
}
.hero__title-accent::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 2px;
  height: 3px;
  background: var(--sun);
  border-radius: 2px;
  opacity: .5;
}

.hero__lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Visual */
.hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  padding: 24px;
  background: rgba(0,0,0,.25);
  border-radius: calc(var(--radius-lg) + 12px);
}
.hero__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 4px 12px rgba(0,0,0,.3);
  border: 3px solid rgba(255,255,255,.5);
}
.hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.hero__card:hover img {
  transform: scale(1.04);
}
.hero__card--main {
  grid-row: 1 / 3;
  min-height: 380px;
  transform: rotate(-1.5deg);
}
.hero__card--small {
  min-height: 180px;
  border-radius: var(--radius);
  transform: rotate(1.5deg);
}

/* Tags */
.hero__tag {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 12px;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  z-index: 2;
}
.hero__tag b { font-size: 14px; }

.hero__tag--open {
  top: 8px;
  left: 8px;
  background: var(--sun);
  color: var(--forest);
}
.hero__tag--open b { color: var(--forest); }

.hero__tag--age {
  bottom: 32px;
  right: 8px;
  background: var(--white);
  color: var(--ink);
}

/* Stats bar */
.hero__stats {
  background: var(--forest);
  border-top: 3px solid var(--sun);
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.hero__stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,.15);
}
.hero__stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--sun);
  line-height: 1.2;
  font-variation-settings: 'opsz' 144;
}
.hero__stat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
}

/* ============================================
   HERO RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero__wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 32px;
    min-height: auto;
  }
  .hero__overlay {
    background: rgba(26,60,42,.82);
  }
  .hero__visual {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }
  .hero__lead {
    font-size: 15.5px;
  }
  .hero__ctas {
    flex-direction: column;
    gap: 10px;
  }
  .hero__ctas .btn {
    justify-content: center;
    width: 100%;
  }
  .hero__stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__stat:nth-child(2)::after { display: none; }
  .hero__stat {
    padding: 18px 12px;
  }
  .hero__stat-num { font-size: 19px; }
}

/* ============================================
   FOOTER (temp)
   ============================================ */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
}
