/* ==========================================================
   Obi the Super Spaniel - Main Stylesheet
   Author: PR Jones
   Charset: UTF-8
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&display=swap');

/* -- CSS Variables -- */
:root {
  --orange:     #FF6B35;
  --teal:       #3DBFB8;
  --yellow:     #FFD166;
  --green:      #06D6A0;
  --pink:       #FF9EBB;
  --lilac:      #C0A8E1;
  --bg:         #FFFBF0;
  --bg-alt:     #F0FAF8;
  --text:       #2D3047;
  --text-light: #5C6280;
  --white:      #FFFFFF;
  --shadow:     0 4px 24px rgba(45,48,71,0.10);
  --radius:     18px;
  --radius-sm:  10px;
  --font-head:  'Fredoka One', cursive;
  --font-body:  'Nunito', sans-serif;
}

/* -- Skip link (accessibility) -- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #FF6B35;
  color: #fff;
  padding: 8px 16px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* -- Reset -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* -- Paw print background pattern -- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='7' fill='%23FF6B35'/%3E%3Ccircle cx='14' cy='32' r='5' fill='%23FF6B35'/%3E%3Ccircle cx='26' cy='32' r='5' fill='%23FF6B35'/%3E%3Cellipse cx='20' cy='44' rx='9' ry='11' fill='%23FF6B35'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* ==========================================================
   HEADER / NAV
   ========================================================== */
#site-header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(45,48,71,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo .logo-paw {
  width: 44px;
  height: 44px;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo .logo-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--orange);
  letter-spacing: 0.5px;
}

.site-logo .logo-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

#site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

#site-nav a {
  display: block;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

#site-nav a:hover,
#site-nav a.active {
  background: var(--orange);
  color: var(--white);
}

#site-nav .nav-cta {
  background: var(--orange);
  color: var(--white);
  border-radius: 50px;
  padding: 8px 18px;
}

#site-nav .nav-cta:hover {
  background: #e55a26;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: 0.3s;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  background: linear-gradient(135deg, #FFF5EB 0%, #E8FAF8 50%, #FFF0F5 100%);
  padding: 64px 24px 80px;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text { animation: fadeInLeft 0.8s ease both; }
.hero-image { animation: fadeInRight 0.8s ease both 0.2s; }

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 .highlight { color: var(--orange); }
.hero h1 .highlight2 { color: var(--teal); }

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 2.5px solid var(--teal);
}

.hero-book-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-book {
  width: 320px;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(255,107,53,0.25), 0 8px 30px rgba(0,0,0,0.10);
  animation: floatBook 3s ease-in-out infinite;
}

.hero-stars {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
  text-align: center;
  animation: floatBook 3s ease-in-out infinite 0.5s;
}

/* ==========================================================
   WAVE DIVIDER
   ========================================================== */
.wave-divider { width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section {
  padding: 72px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ==========================================================
   ABOUT OBI (home)
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  background: #e8f4f2;
}

.about-bubble {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--pink);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: 0.85rem;
  max-width: 180px;
  color: var(--text);
}

.about-content .section-title { margin-bottom: 20px; }

.fact-list { margin: 24px 0; }
.fact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.fact-list .fact-icon {
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* ==========================================================
   BOOK SECTION
   ========================================================== */
.book-section { background: var(--bg-alt); }

.book-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}

.book-cover {
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(255,107,53,0.20);
  width: 100%;
}

.book-meta { margin-bottom: 16px; color: var(--text-light); font-size: 0.9rem; }
.book-meta span { font-weight: 700; color: var(--text); }

.book-description { margin-bottom: 24px; font-size: 1.05rem; }

.age-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-weight: 700;
}

.stars { color: var(--yellow); font-size: 1.2rem; letter-spacing: 2px; }
.star-count { color: var(--text-light); font-size: 0.9rem; }

/* ==========================================================
   REVIEWS
   ========================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.review-card:hover { transform: translateY(-4px); }

.review-stars { color: var(--yellow); font-size: 1rem; margin-bottom: 12px; }
.review-text { font-size: 0.95rem; color: var(--text-light); margin-bottom: 16px; font-style: italic; }
.review-author { font-weight: 700; font-size: 0.85rem; color: var(--text); }

/* ==========================================================
   GALLERY
   ========================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  background: #e8f4f2;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover { transform: scale(1.03); box-shadow: 0 8px 32px rgba(45,48,71,0.18); }

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(45,48,71,0.75));
  color: var(--white);
  padding: 16px 14px 12px;
  font-weight: 700;
  font-size: 0.88rem;
  transform: translateY(4px);
  transition: transform 0.2s;
}

.gallery-item:hover .item-caption { transform: translateY(0); }

.gallery-item .video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--orange);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox-content img,
.lightbox-content video {
  border-radius: var(--radius);
  max-height: 80vh;
  width: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.lightbox-caption {
  color: var(--white);
  text-align: center;
  margin-top: 12px;
  font-size: 0.95rem;
}

/* ==========================================================
   FUN ZONE / ACTIVITIES
   ========================================================== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.activity-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  border-top: 5px solid var(--orange);
}

.activity-card:nth-child(2) { border-color: var(--teal); }
.activity-card:nth-child(3) { border-color: var(--yellow); }
.activity-card:nth-child(4) { border-color: var(--pink); }

.activity-card:hover { transform: translateY(-4px); }

.activity-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.activity-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text);
}

.activity-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-list { max-width: 780px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(45,48,71,0.07);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question .faq-arrow {
  width: 22px;
  height: 22px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ==========================================================
   NEWSLETTER
   ========================================================== */
.newsletter-section {
  background: linear-gradient(135deg, var(--orange) 0%, #FF9561 100%);
  padding: 64px 24px;
  text-align: center;
  color: var(--white);
}

.newsletter-section h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  margin-bottom: 12px;
}

.newsletter-section p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  background: var(--text);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover { background: #111; }

/* ==========================================================
   SCHOOLS CTA
   ========================================================== */
.schools-banner {
  background: var(--teal);
  color: var(--white);
  padding: 48px 24px;
}

.schools-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.schools-banner h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.schools-banner p { opacity: 0.92; max-width: 520px; }

.btn-white {
  background: var(--white);
  color: var(--teal);
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.btn-white:hover { transform: translateY(-2px); }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.contact-info p { color: var(--text-light); margin-bottom: 24px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E8E8EE;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px;
  transition: border-color 0.2s;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form label { font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 6px; }

/* ==========================================================
   FOOTER
   ========================================================== */
#site-footer {
  background: #2D3047;
  color: rgba(255,255,255,0.85);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-text .logo-name { font-size: 1.3rem; }
.footer-brand .logo-text .logo-tag { color: var(--teal); }

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.75;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col a {
  font-size: 0.88rem;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col a:hover { opacity: 1; color: var(--yellow); }

/* Social Icons */
.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link.fb:hover     { background: #1877F2; box-shadow: 0 0 18px rgba(24,119,242,0.7); border-color: #1877F2; }
.social-link.ig:hover     { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); box-shadow: 0 0 18px rgba(220,39,67,0.6); border-color: transparent; }
.social-link.x:hover      { background: #000000; box-shadow: 0 0 18px rgba(0,0,0,0.6); border-color: #555; }
.social-link.yt:hover     { background: #FF0000; box-shadow: 0 0 18px rgba(255,0,0,0.7); border-color: #FF0000; }
.social-link.tt:hover     { background: #010101; box-shadow: 0 0 18px rgba(105,201,208,0.7); border-color: #69C9D0; }
.social-link.pin:hover    { background: #E60023; box-shadow: 0 0 18px rgba(230,0,35,0.7); border-color: #E60023; }
.social-link.amz:hover    { background: #FF9900; box-shadow: 0 0 18px rgba(255,153,0,0.7); border-color: #FF9900; }
.social-link.email:hover  { background: var(--teal); box-shadow: 0 0 18px rgba(61,191,184,0.7); border-color: var(--teal); }

.social-link svg {
  width: 20px;
  height: 20px;
  fill: rgba(255,255,255,0.85);
  transition: fill 0.2s;
}

.social-link:hover svg { fill: var(--white); }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.6;
  line-height: 1.8;
}

/* ==========================================================
   PAGE HERO (inner pages)
   ========================================================== */
.page-hero {
  background: linear-gradient(135deg, #FFF5EB 0%, #E8FAF8 100%);
  padding: 56px 24px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  gap: 8px;
}

.breadcrumb a { color: var(--teal); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ==========================================================
   ALERTS / NOTICES
   ========================================================== */
.notice {
  background: var(--yellow);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes floatBook {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .book-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-image { order: -1; }
  .hero-book { width: 240px; margin: 0 auto; }
  .hero-buttons { justify-content: center; }
  .hero-text { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }

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

  .about-bubble { display: none; }
}

@media (max-width: 640px) {
  #site-nav { display: none; }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; padding: 16px 0; }
  #site-nav a { padding: 12px 24px; }
  .nav-toggle { display: flex; }
  .header-inner { height: 64px; }

  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { min-width: 0; }

  .section { padding: 48px 20px; }
  .schools-inner { flex-direction: column; text-align: center; }
}

/* ==========================================================
   PRINT
   ========================================================== */
@media print {
  #site-header, #site-footer, .newsletter-section, .schools-banner { display: none; }
}
