/* ============================================================
   AMORES DAYCARE — Main Stylesheet
   Montessori Child Care · Downtown San Francisco
   Style: Bright & Energetic · Font: Poppins
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --coral:        #FF6B6B;
  --coral-dark:   #E55A5A;
  --coral-light:  #FFF0F0;
  --teal:         #4ECDC4;
  --teal-dark:    #3ab5ac;
  --teal-light:   #E0F9F7;
  --yellow:       #FFE66D;
  --yellow-dark:  #c9a800;
  --yellow-med:   #d4b800;
  --yellow-light: #FFFBE0;
  --dark:         #2D3748;
  --dark-med:     #4A5568;
  --gray:         #718096;
  --light:        #EDF2F7;
  --lighter:      #F7FAFC;
  --white:        #FFFFFF;
  --font:         'Poppins', sans-serif;
  --r-sm:  8px;
  --r:     14px;
  --r-lg:  20px;
  --r-xl:  30px;
  --sh-sm: 0 2px 8px rgba(0,0,0,0.07);
  --sh:    0 4px 20px rgba(0,0,0,0.09);
  --sh-md: 0 8px 30px rgba(0,0,0,0.11);
  --sh-lg: 0 20px 60px rgba(0,0,0,0.13);
  --t:     all 0.3s ease;
  --max:   1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p  { color: var(--dark-med); line-height: 1.75; }

.text-coral  { color: var(--coral); }
.text-teal   { color: var(--teal-dark); }
.text-yellow { color: var(--yellow-dark); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.5rem;
  display: block;
}

/* ---- Layout ---- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 1.5rem; }
.section-sm { padding: 3rem 1.5rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.bg-white  { background: var(--white); }
.bg-light  { background: var(--lighter); }
.bg-coral  { background: var(--coral-light); }
.bg-teal   { background: var(--teal-light); }
.bg-yellow { background: var(--yellow-light); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600; border: none;
  transition: var(--t); line-height: 1; white-space: nowrap; cursor: pointer;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }

.btn-coral         { background: var(--coral); color: var(--white); }
.btn-coral:hover   { background: var(--coral-dark); }
.btn-teal          { background: var(--teal); color: var(--white); }
.btn-teal:hover    { background: var(--teal-dark); }
.btn-yellow        { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover  { background: #f5d800; }
.btn-dark          { background: var(--dark); color: var(--white); }
.btn-dark:hover    { background: var(--dark-med); }

.btn-outline {
  background: transparent; border: 2px solid var(--white); color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--dark); box-shadow: var(--sh-md); }

.btn-outline-coral {
  background: transparent; border: 2px solid var(--coral); color: var(--coral);
}
.btn-outline-coral:hover { background: var(--coral); color: var(--white); }

.btn-outline-dark {
  background: transparent; border: 2px solid var(--dark); color: var(--dark);
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

/* ---- Navigation ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 1.5rem; gap: 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.2rem; font-weight: 800; color: var(--dark); flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px; height: 38px; background: var(--coral); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.nav-logo .accent { color: var(--coral); }
.nav-links {
  display: flex; align-items: center; gap: 0.1rem; flex: 1; justify-content: center;
}
.nav-links a {
  padding: 0.5rem 0.9rem; font-size: 0.88rem; font-weight: 500;
  color: var(--dark-med); border-radius: var(--r-sm); transition: var(--t);
}
.nav-links a:hover,
.nav-links a.active { color: var(--coral); background: var(--coral-light); }
.nav-cta { flex-shrink: 0; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 0.5rem; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: var(--t);
}
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white); box-shadow: var(--sh-md);
  padding: 1.5rem; z-index: 99; flex-direction: column; gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.75rem 1rem; font-weight: 500;
  color: var(--dark-med); border-radius: var(--r-sm); transition: var(--t);
}
.mobile-menu a:hover { color: var(--coral); background: var(--coral-light); }
.mobile-menu .btn { margin-top: 0.5rem; justify-content: center; }

/* ---- Footer ---- */
.footer { background: var(--dark); color: var(--white); padding: 4rem 1.5rem 2rem; }
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-row {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem;
}
.footer-logo-row .accent { color: var(--coral); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.08); border-radius: 20px;
  padding: 0.35rem 0.85rem; font-size: 0.78rem;
  color: rgba(255,255,255,0.55); margin-top: 1rem;
}
.footer-col h4 {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem; font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: var(--t); }
.footer-col ul a:hover { color: var(--coral); }
.footer-contact p,
.footer-contact a { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-contact a:hover { color: var(--coral); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.08);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 0.95rem;
  color: rgba(255,255,255,0.6); transition: var(--t);
}
.footer-socials a:hover { background: var(--coral); color: var(--white); }

/* ---- Page Hero ---- */
.page-hero {
  padding: 5rem 1.5rem 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.page-hero.coral-bg  { background: linear-gradient(135deg, var(--coral-light) 0%, var(--yellow-light) 100%); }
.page-hero.teal-bg   { background: linear-gradient(135deg, var(--teal-light) 0%, var(--yellow-light) 100%); }
.page-hero.yellow-bg { background: linear-gradient(135deg, var(--yellow-light) 0%, var(--coral-light) 100%); }
.page-hero.dark-bg   { background: linear-gradient(135deg, var(--dark) 0%, #3d4f66 100%); }
.page-hero.dark-bg h1,
.page-hero.dark-bg .lead { color: var(--white); }
.page-hero.dark-bg .section-label { color: rgba(255,255,255,0.6); }

/* ============================================================
   HOME PAGE
   ============================================================ */

/* Hero */
.home-hero {
  background: linear-gradient(135deg, #fff5f5 0%, #fffef0 50%, #f0fafa 100%);
  position: relative; overflow: hidden;
}
.home-hero-content {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 5rem 1.5rem 4rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); border: 2px solid var(--yellow);
  color: var(--dark); padding: 0.45rem 1rem; border-radius: 30px;
  font-size: 0.82rem; font-weight: 700; margin-bottom: 1.5rem;
  box-shadow: var(--sh-sm);
}
.home-hero-text h1 { margin-bottom: 1.25rem; }
.home-hero-text p  { font-size: 1.1rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hero-trust {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--gray); font-weight: 500;
}
.home-hero-img { position: relative; }
.home-hero-img img { border-radius: var(--r-xl); box-shadow: var(--sh-lg); width: 100%; }
.hero-float-card {
  position: absolute; bottom: 1.5rem; left: -2rem;
  background: var(--white); border-radius: var(--r-lg);
  padding: 1rem 1.25rem; box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-float-card .float-icon { font-size: 1.8rem; }
.hero-float-card strong { display: block; font-size: 0.88rem; color: var(--dark); }
.hero-float-card span   { font-size: 0.78rem; color: var(--gray); }

/* Trust Bar */
.trust-bar { background: var(--white); border-top: 1px solid var(--light); border-bottom: 1px solid var(--light); padding: 1.25rem 1.5rem; }
.trust-bar-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; font-weight: 600; color: var(--dark-med); }
.trust-item .icon { font-size: 1rem; }
.trust-divider { width: 1px; height: 28px; background: var(--light); }

/* Program Cards (Home) */
.program-card {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh); padding: 2rem;
  transition: var(--t); border-top: 4px solid transparent;
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.program-card.coral  { border-top-color: var(--coral); }
.program-card.teal   { border-top-color: var(--teal); }
.program-card.yellow { border-top-color: var(--yellow-dark); }

.program-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.program-icon.coral  { background: var(--coral-light); }
.program-icon.teal   { background: var(--teal-light); }
.program-icon.yellow { background: var(--yellow-light); }

.program-age {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 0.4rem;
}
.program-age.coral  { color: var(--coral); }
.program-age.teal   { color: var(--teal-dark); }
.program-age.yellow { color: var(--yellow-dark); }
.program-card h3 { margin-bottom: 0.75rem; }
.program-card p  { font-size: 0.93rem; margin-bottom: 1.5rem; }
.link-arrow {
  font-size: 0.88rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.4rem; transition: var(--t);
}
.program-card.coral  .link-arrow { color: var(--coral); }
.program-card.teal   .link-arrow { color: var(--teal-dark); }
.program-card.yellow .link-arrow { color: var(--yellow-dark); }
.link-arrow:hover { gap: 0.7rem; }

/* Why Section */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }
.why-card { text-align: center; padding: 2rem 1.5rem; }
.why-icon {
  width: 70px; height: 70px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 1.25rem;
}
.why-card h4 { margin-bottom: 0.5rem; }
.why-card p  { font-size: 0.9rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 2rem; box-shadow: var(--sh); position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-size: 5rem; line-height: 1;
  color: var(--coral-light); position: absolute;
  top: 0.5rem; left: 1.25rem; font-family: Georgia, serif;
}
.stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 0.75rem; }
.testimonial-text {
  font-style: italic; color: var(--dark-med); margin-bottom: 1.25rem;
  padding-top: 0.75rem; font-size: 0.93rem; line-height: 1.8;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.testimonial-meta { font-size: 0.8rem; color: var(--gray); }

/* Day Schedule */
.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.day-item {
  background: var(--white); border-radius: var(--r);
  padding: 1.25rem; display: flex; gap: 1rem; align-items: flex-start;
  box-shadow: var(--sh-sm); transition: var(--t);
}
.day-item:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.day-time   { font-size: 0.73rem; font-weight: 700; color: var(--coral); white-space: nowrap; padding-top: 0.15rem; }
.day-activity { font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.day-desc   { font-size: 0.8rem; color: var(--gray); margin-top: 0.2rem; }

/* CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, var(--coral) 0%, #ff8e53 100%);
  padding: 4.5rem 1.5rem; text-align: center; color: var(--white);
}
.cta-strip h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-strip p  { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-strip .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Location */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: var(--max); margin: 0 auto; }
.location-detail { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.location-icon {
  width: 42px; height: 42px; background: var(--coral-light);
  border-radius: var(--r-sm); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.location-detail h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.location-detail p  { font-size: 0.9rem; color: var(--gray); }
.map-embed {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md);
  height: 420px; background: var(--light);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   PROGRAMS PAGE
   ============================================================ */
.program-section { padding: 5rem 1.5rem; }
.program-section.alt { background: var(--lighter); }
.program-detail {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.program-detail.reverse .program-detail-img { order: 2; }
.program-detail.reverse .program-detail-content { order: 1; }
.program-detail-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); }
.program-detail-img img { width: 100%; height: 400px; object-fit: cover; }

.prog-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.9rem; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 0.75rem;
}
.prog-badge.coral  { background: var(--coral-light);  color: var(--coral); }
.prog-badge.teal   { background: var(--teal-light);   color: var(--teal-dark); }
.prog-badge.yellow { background: var(--yellow-light); color: var(--yellow-dark); }

.ratio-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--dark); color: var(--white);
  padding: 0.4rem 1rem; border-radius: var(--r);
  font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem;
}
.program-detail-content h2 { margin-bottom: 0.5rem; }
.program-detail-content > p { margin-bottom: 1rem; }

.feature-list { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.75rem; }
.feature-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.93rem; font-weight: 500; color: var(--dark-med);
}
.feature-item .check {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; flex-shrink: 0;
}
.check.coral  { background: var(--coral-light);  color: var(--coral); }
.check.teal   { background: var(--teal-light);   color: var(--teal-dark); }
.check.yellow { background: var(--yellow-light); color: var(--yellow-dark); }

.age-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.age-card { border-radius: var(--r-md); padding: 1.2rem; }
.age-card.coral  { background: var(--coral-light); }
.age-card.teal   { background: var(--teal-light); }
.age-card.yellow { background: var(--yellow-light); }
.age-card-emoji  { font-size: 1.3rem; margin-bottom: 0.4rem; }
.age-card-title  { font-weight: 700; font-size: 0.9rem; }
.age-card.coral  .age-card-title { color: var(--coral); }
.age-card.teal   .age-card-title { color: var(--teal-dark); }
.age-card.yellow .age-card-title { color: var(--yellow-dark); }
.age-card-desc   { font-size: 0.8rem; color: var(--dark-med); margin-top: 0.3rem; }

.hours-callout { background: var(--teal-light); border-radius: var(--r-md); padding: 1rem; margin: 1rem 0; font-size: 0.9rem; }

.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.info-card  { background: var(--white); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--sh-sm); }
.info-card-icon { font-size: 1.8rem; margin-bottom: 1rem; }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.room-section { padding: 4rem 1.5rem; }
.room-section.alt { background: var(--lighter); }
.room-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.room-photos.two-col { grid-template-columns: repeat(2, 1fr); }
.room-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.room-photo img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform 0.35s ease; }
.room-photo:hover img { transform: scale(1.04); }
.room-photo-single { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); margin-top: 2rem; }
.room-photo-single img { width: 100%; height: 420px; object-fit: cover; display: block; }
.room-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.room-tag { padding: 0.3rem 0.85rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; background: var(--white); color: var(--dark-med); box-shadow: var(--sh-sm); }

.philosophy-section { padding: 5rem 1.5rem; background: var(--dark); }
.philosophy-section .section-header h2,
.philosophy-section .section-header p { color: rgba(255,255,255,0.9); }
.philosophy-section .section-label { color: rgba(255,255,255,0.5); }
.philosophy-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.philosophy-card {
  background: rgba(255,255,255,0.06); border-radius: var(--r-lg);
  padding: 2rem; text-align: center; border: 1px solid rgba(255,255,255,0.1);
  transition: var(--t);
}
.philosophy-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.philosophy-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.philosophy-card h4 { color: var(--white); margin-bottom: 0.5rem; }
.philosophy-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.story-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.story-img img { width: 100%; height: 480px; object-fit: cover; }
.story-content h2 { margin-bottom: 1.25rem; }
.story-content p  { margin-bottom: 1rem; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; }
.team-card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh); text-align: center; transition: var(--t);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.team-avatar {
  height: 180px; background: var(--lighter);
  display: flex; align-items: center; justify-content: center; font-size: 4.5rem;
}
.team-body { padding: 1.5rem; }
.team-body h4 { margin-bottom: 0.2rem; }
.team-role { font-size: 0.82rem; color: var(--coral); font-weight: 700; margin-bottom: 0.4rem; }
.team-cert { font-size: 0.8rem; color: var(--gray); }

.accred-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.accred-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 1.5rem 2rem; box-shadow: var(--sh); text-align: center; min-width: 175px;
}
.accred-card .icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.accred-card h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.accred-card p  { font-size: 0.8rem; color: var(--gray); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.value-card { padding: 2rem; border-radius: var(--r-lg); border-left: 4px solid; }
.value-card.coral  { border-color: var(--coral);  background: var(--coral-light); }
.value-card.teal   { border-color: var(--teal);   background: var(--teal-light); }
.value-card.yellow { border-color: var(--yellow-dark); background: var(--yellow-light); }
.value-card h4 { margin-bottom: 0.5rem; }
.value-card p  { font-size: 0.9rem; }

/* ============================================================
   SAFETY PAGE
   ============================================================ */
.safety-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.safety-card { background: var(--white); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--sh); }
.safety-card .s-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.safety-card.coral  .s-icon { background: var(--coral-light); }
.safety-card.teal   .s-icon { background: var(--teal-light); }
.safety-card.yellow .s-icon { background: var(--yellow-light); }
.safety-card h4 { margin-bottom: 0.75rem; }
.safety-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.safety-card ul li {
  font-size: 0.9rem; color: var(--dark-med);
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.safety-card ul li::before { content: '•'; color: var(--coral); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }

.facility-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.gal-item {
  border-radius: var(--r); overflow: hidden;
  background: var(--light); height: 200px;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  font-size: 2rem; gap: 0.5rem; color: var(--gray);
}
.gal-item span { font-size: 0.8rem; font-weight: 600; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-item.large { grid-column: span 2; height: 280px; }

.app-highlight {
  display: flex; gap: 2rem; align-items: center;
  background: var(--white); border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--sh-md);
  max-width: 800px; margin: 0 auto;
}
.app-highlight .icon { font-size: 4rem; flex-shrink: 0; }
.app-highlight h3 { margin-bottom: 0.5rem; }

/* ============================================================
   ENROLLMENT PAGE
   ============================================================ */
.tuition-table {
  width: 100%; border-collapse: collapse;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh);
}
.tuition-table thead { background: var(--dark); color: var(--white); }
.tuition-table th { padding: 1.2rem 1.5rem; text-align: left; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.5px; }
.tuition-table td { padding: 1.2rem 1.5rem; font-size: 0.95rem; border-bottom: 1px solid var(--light); color: var(--dark-med); }
.tuition-table tbody tr:last-child td { border-bottom: none; }
.tuition-table tbody tr:hover td { background: var(--lighter); }
.price { font-weight: 700; color: var(--dark); font-size: 1.1rem; }
.t-tag {
  display: inline-block; padding: 0.2rem 0.65rem;
  border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.t-tag.coral  { background: var(--coral-light);  color: var(--coral); }
.t-tag.teal   { background: var(--teal-light);   color: var(--teal-dark); }
.t-tag.yellow { background: var(--yellow-light); color: var(--yellow-dark); }

.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.5rem; }
.step-card {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}
.step-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--coral); color: var(--white);
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h4 { margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.88rem; }

.subsidy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.subsidy-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 1.75rem; box-shadow: var(--sh-sm); border-top: 3px solid var(--teal);
}
.subsidy-card h4 { color: var(--teal-dark); margin-bottom: 0.5rem; }
.subsidy-card p  { font-size: 0.9rem; }
.subsidy-card a  { color: var(--teal-dark); text-decoration: underline; font-weight: 600; }

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  background: var(--white); border-radius: var(--r-xl);
  padding: 2.5rem; box-shadow: var(--sh-md);
}
.form-card h3 { margin-bottom: 0.4rem; }
.form-card > p { font-size: 0.93rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.83rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem; border: 2px solid var(--light);
  border-radius: var(--r-sm); font-size: 0.93rem;
  color: var(--dark); transition: var(--t); background: var(--lighter);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--coral); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.8rem; color: var(--gray); margin-top: 0.4rem; }
.form-success {
  background: var(--teal-light); border-radius: var(--r);
  padding: 1rem 1.5rem; color: var(--teal-dark);
  font-weight: 600; display: none; align-items: center; gap: 0.5rem; margin-top: 1rem;
}
.form-success.show { display: flex; }

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--white); border-radius: var(--r); box-shadow: var(--sh-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; background: none; border: none;
  text-align: left; font-size: 0.95rem; font-weight: 600; color: var(--dark);
  cursor: pointer; gap: 1rem; transition: var(--t);
}
.faq-q:hover { color: var(--coral); }
.faq-icon { flex-shrink: 0; font-size: 1.2rem; transition: var(--t); color: var(--gray); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--coral); }
.faq-a {
  padding: 0 1.5rem; max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.92rem; color: var(--dark-med); line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 1.5rem 1.5rem; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-layout {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 320px; gap: 3rem;
}
.blog-articles { display: flex; flex-direction: column; gap: 2.5rem; }
.blog-card {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh); overflow: hidden;
  display: grid; grid-template-columns: 260px 1fr; transition: var(--t);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.blog-img {
  height: 100%; min-height: 200px; background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--gray);
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.75rem; }
.blog-tag {
  display: inline-block; padding: 0.22rem 0.7rem;
  border-radius: 20px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.5px; margin-bottom: 0.75rem; text-transform: uppercase;
}
.blog-tag.coral  { background: var(--coral-light);  color: var(--coral); }
.blog-tag.teal   { background: var(--teal-light);   color: var(--teal-dark); }
.blog-tag.yellow { background: var(--yellow-light); color: var(--yellow-dark); }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.blog-card h3 a:hover { color: var(--coral); }
.blog-card p   { font-size: 0.9rem; margin-bottom: 1rem; }
.blog-meta { font-size: 0.8rem; color: var(--gray); }

.blog-sidebar { display: flex; flex-direction: column; gap: 1.75rem; }
.sidebar-widget { background: var(--white); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--sh-sm); }
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 1.25rem; color: var(--dark); }
.sidebar-cta-widget {
  background: linear-gradient(135deg, var(--coral) 0%, #ff8e53 100%);
  color: var(--white); text-align: center;
}
.sidebar-cta-widget h4 { color: var(--white); margin-bottom: 0.75rem; }
.sidebar-cta-widget p  { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 1.25rem; }
.recent-posts { display: flex; flex-direction: column; gap: 1rem; }
.recent-post { display: flex; gap: 0.75rem; }
.recent-post-date { font-size: 0.75rem; color: var(--gray); white-space: nowrap; margin-top: 0.15rem; }
.recent-post a { font-size: 0.85rem; font-weight: 500; color: var(--dark-med); line-height: 1.4; }
.recent-post a:hover { color: var(--coral); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3.5rem;
}
.contact-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--sh-sm);
  display: flex; gap: 1rem; align-items: flex-start;
}
.c-icon {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.c-icon.coral  { background: var(--coral-light); }
.c-icon.teal   { background: var(--teal-light); }
.c-icon.yellow { background: var(--yellow-light); }
.contact-card h4 { font-size: 0.88rem; margin-bottom: 0.25rem; }
.contact-card p,
.contact-card a { font-size: 0.9rem; color: var(--dark-med); }
.contact-card a:hover { color: var(--coral); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .home-hero-content { grid-template-columns: 1fr; text-align: center; padding: 3.5rem 1.25rem 3rem; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .home-hero-img { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .program-detail { grid-template-columns: 1fr; }
  .program-detail.reverse .program-detail-img,
  .program-detail.reverse .program-detail-content { order: unset; }
  .age-cards { grid-template-columns: 1fr; }
  .room-photos, .room-photos.two-col { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-img { height: 200px; min-height: 200px; }
  .form-row { grid-template-columns: 1fr; }
  .facility-gallery { grid-template-columns: 1fr 1fr; }
  .gal-item.large { grid-column: span 1; height: 200px; }
  .trust-bar-inner { gap: 1rem; }
  .trust-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3.5rem 1.25rem; }
  .page-hero { padding: 3rem 1.25rem 2.5rem; }
  .app-highlight { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .cta-strip .btn-group { flex-direction: column; align-items: center; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .tuition-table th, .tuition-table td { padding: 0.9rem 1rem; font-size: 0.88rem; }
}
