/* ===========================================================
   Burbank Edu-Care — Preschool site styles
   =========================================================== */

:root{
  --red:#e8262f;
  --red-dark:#c81f2a;
  --purple:#8b5fbf;
  --pink:#ec4899;
  --blue:#2b6cb0;
  --orange:#f4a300;
  --sky-top:#bfe3f8;
  --sky-bottom:#eef9ff;
  --green-dark:#5f9a1e;
  --green:#7cb342;
  --green-light:#a4d65e;
  --cream:#fffaf0;
  --text:#2d3142;
  --text-soft:#5b6070;
  --radius:20px;
  --shadow:0 12px 30px -12px rgba(45,49,66,.25);
  --container:1160px;
  font-size:16px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  overflow-x:hidden;
  width:100%;
  background:var(--cream);
  overscroll-behavior-x:none;
}
body{
  margin:0;
  font-family:'Nunito', system-ui, sans-serif;
  color:var(--text);
  background:var(--cream);
  overflow-x:hidden;
  width:100%;
  max-width:100vw;
  position:relative;
  overscroll-behavior-x:none;
}
h1,h2,h3{ font-family:'Baloo 2', 'Nunito', sans-serif; margin:0; }
p{ margin:0 0 1em; line-height:1.6; color:var(--text-soft); }
a{ color:inherit; text-decoration:none; }
img,svg{ display:block; max-width:100%; }
ul{ margin:0; padding:0; list-style:none; }
button{ font:inherit; cursor:pointer; }

.wrap{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--red); color:#fff; padding:10px 16px; border-radius:0 0 10px 0; z-index:200;
}
.skip-link:focus{ left:0; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,250,240,.9);
  backdrop-filter:blur(8px);
  border-bottom:3px solid #fff;
  box-shadow:0 2px 14px rgba(45,49,66,.08);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  height:76px; gap:10px;
}
.brand{ display:flex; align-items:center; gap:10px; min-width:0; flex-shrink:1; }
.brand-mark{ flex-shrink:0; display:flex; overflow:visible; }
.brand-mark img{ display:block; }
.brand-text{
  font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.3rem;
  color:var(--red);
  letter-spacing:.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-text em{ font-style:normal; color:var(--blue); }

.main-nav{ display:flex; gap:28px; }
.main-nav a{
  font-weight:700; font-size:.98rem; color:var(--text);
  position:relative; padding:6px 2px;
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:3px;
  background:var(--orange); border-radius:2px; transition:width .2s ease;
}
.main-nav a:hover::after{ width:100%; }

.header-cta{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.phone-pill{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--red); color:#fff; font-weight:800;
  padding:10px 18px; border-radius:999px;
  box-shadow:0 6px 16px -4px rgba(232,38,47,.55);
  transition:transform .15s ease, box-shadow .15s ease;
  white-space:nowrap;
  flex-shrink:0;
}
.phone-pill svg{ flex-shrink:0; }
.phone-pill .phone-number{ white-space:nowrap; }
.phone-pill:hover{ transform:translateY(-2px); box-shadow:0 10px 20px -6px rgba(232,38,47,.6); }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; background:none; border:none;
}
.nav-toggle span{ display:block; height:3px; width:100%; background:var(--text); border-radius:3px; transition:.25s; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px; justify-content:center;
  font-family:'Baloo 2',sans-serif; font-weight:700; font-size:1.05rem;
  padding:14px 28px; border-radius:999px; border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  color:#fff; box-shadow:0 10px 22px -8px rgba(232,38,47,.6);
}
.btn-primary:hover{ transform:translateY(-3px) scale(1.02); }
.btn-outline{
  background:#fff; color:var(--blue); border-color:var(--blue);
}
.btn-outline:hover{ background:var(--blue); color:#fff; transform:translateY(-3px); }
.btn-light{
  background:#fff; color:var(--purple); box-shadow:var(--shadow);
}
.btn-light:hover{ transform:translateY(-3px); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding:64px 0 180px;
  background:linear-gradient(180deg,var(--sky-top),var(--sky-bottom) 70%);
  overflow:hidden;
  text-align:center;
}
.hero-sky{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.cloud{ position:absolute; width:200px; opacity:.9; animation:drift 26s linear infinite; }
.cloud-a{ top:8%; left:-10%; width:260px; animation-duration:34s; }
.cloud-b{ top:22%; right:-8%; width:190px; animation-duration:28s; animation-direction:reverse; }
.cloud-c{ top:2%; left:40%; width:170px; animation-duration:40s; opacity:.75; }
@keyframes drift{ from{ transform:translateX(0); } to{ transform:translateX(40px); } }

.sun{
  position:absolute; top:-40px; right:8%;
  width:140px; height:140px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #fff7d6, var(--orange) 70%);
  box-shadow:0 0 60px 20px rgba(244,163,0,.35);
  animation:pulse 5s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{ transform:scale(1);} 50%{ transform:scale(1.06);} }

.bunting{ position:absolute; top:26px; right:2%; display:flex; gap:10px; transform:rotate(4deg); }
.bunting li{
  width:26px; height:32px;
  background:var(--c);
  clip-path:polygon(0 0,100% 0,50% 100%);
  animation:sway 3s ease-in-out infinite;
  transform-origin:top center;
}
.bunting li:nth-child(even){ animation-delay:.4s; }
.bunting li:nth-child(3n){ animation-delay:.8s; }
@keyframes sway{ 0%,100%{ transform:rotate(-6deg);} 50%{ transform:rotate(6deg);} }

.hero-content{ position:relative; z-index:5; padding-top:20px; }
.eyebrow{
  color:var(--blue); font-weight:800; letter-spacing:1.5px; text-transform:uppercase; font-size:.85rem;
  margin-bottom:10px;
}
.hero-title{
  font-size:clamp(2.6rem,7vw,4.6rem);
  font-weight:800; color:var(--red);
  text-decoration:underline;
  text-decoration-thickness:6px;
  text-underline-offset:10px;
  text-decoration-color:var(--red);
  line-height:1.05;
}
.hero-tagline{
  font-family:'Baloo 2',sans-serif; font-weight:700;
  font-size:clamp(1.4rem,3.6vw,2.1rem);
  margin:18px 0 14px;
  background:linear-gradient(90deg,var(--purple),var(--pink));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.yelp-chip{
  --yelp-red:#d32323;
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; color:var(--text); font-weight:700; font-size:.92rem;
  padding:8px 16px; border-radius:999px; box-shadow:var(--shadow);
  border:2px solid transparent;
  margin:0 0 22px;
  transition:transform .15s ease, border-color .15s ease;
}
.yelp-chip:hover{ transform:translateY(-2px); border-color:var(--yelp-red); }
.yelp-chip svg{ color:var(--yelp-red); flex-shrink:0; }
.yelp-chip strong{ font-family:'Baloo 2',sans-serif; }
.yelp-chip-stars{ color:var(--yelp-red); letter-spacing:1px; }
.hero-copy{ max-width:560px; margin:0 auto 30px; font-size:1.08rem; }
.hero-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:30px; }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; color:var(--red-dark); font-weight:800;
  padding:12px 26px; border-radius:999px; box-shadow:var(--shadow);
  border:2px dashed var(--red);
}
.hero-badge .star{ color:var(--orange); }

.hill{ position:absolute; z-index:1; }
.hill-back{
  left:-15%; width:130%;
  bottom:60px; height:220px;
  background:var(--green-light);
  border-radius:50% 50% 0 0/100px 100px 0 0;
  opacity:.85;
}
.hill-front{
  left:-20%; width:140%;
  bottom:0; height:200px;
  background:var(--green);
  border-radius:50% 50% 0 0/90px 90px 0 0;
}
.hero-tree{
  position:absolute; z-index:1;
  left:16px; bottom:30px;
  width:286px; height:412px;
  filter:drop-shadow(0 8px 10px rgba(45,49,66,.15));
}
.tree-trunk{
  position:absolute; left:126px; bottom:0;
  width:34px; height:152px;
  background:#7a4a24; border-radius:4px 4px 0 0;
}
.tree-blob{ position:absolute; border-radius:50%; }
.tree-apple{
  position:absolute; width:32px; height:32px;
  border-radius:50%; background:#e8262f;
}
/* ---------- Trust strip ---------- */
.trust-strip{ background:#fff; border-bottom:1px solid #f1e9d8; }
.trust-row{
  display:flex; flex-wrap:wrap; gap:20px 34px; justify-content:center;
  padding:22px 24px; text-align:center;
}
.trust-item{ font-weight:800; font-family:'Baloo 2',sans-serif; color:var(--text); font-size:.98rem; }
.trust-item span{ margin-right:6px; }

/* ---------- Sections ---------- */
.section{ padding:88px 0; position:relative; }
.kicker{
  color:var(--red); font-weight:800; text-transform:uppercase; letter-spacing:1.4px;
  font-size:.82rem; margin-bottom:10px; text-align:center;
}
.section-title{
  font-size:clamp(1.7rem,3.4vw,2.5rem); text-align:center; margin-bottom:14px; color:var(--text);
}
.section-sub{ text-align:center; max-width:600px; margin:0 auto 46px; font-size:1.05rem; }

/* ---------- Offer grid ---------- */
.offer-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}
.offer-card{
  background:#fff; border-radius:var(--radius); padding:26px 22px;
  box-shadow:var(--shadow); text-align:left;
  border:2px solid transparent;
  transition:transform .2s ease, border-color .2s ease;
}
.offer-card:hover{ transform:translateY(-6px); border-color:var(--orange); }
.offer-star{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%;
  background:#fdecec; color:var(--red); font-size:1.15rem; margin-bottom:12px;
}
.offer-card h3{ font-size:1.08rem; margin-bottom:6px; }
.offer-card p{ font-size:.92rem; margin-bottom:0; }

/* ---------- Promo banner ---------- */
.promo{
  background:linear-gradient(120deg,var(--purple),var(--pink) 60%, var(--orange));
  padding:44px 0;
}
.promo-row{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.promo-text h2{ color:#fff; font-size:clamp(1.3rem,3vw,1.9rem); margin-bottom:6px; }
.promo-text p{ color:#fff2fb; margin:0; }
.promo .star{ color:#fff59d; }

/* ---------- About ---------- */
.about-grid{
  display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center;
}
.about-art{ max-width:340px; margin:0 auto; }
.check-list{ margin-top:18px; display:grid; gap:10px; }
.check-list li{
  position:relative; padding-left:30px; font-weight:700; color:var(--text);
}
.check-list li::before{
  content:"✓"; position:absolute; left:0; top:-1px;
  width:20px; height:20px; border-radius:50%;
  background:var(--green); color:#fff; font-size:.75rem;
  display:flex; align-items:center; justify-content:center;
}

/* ---------- Why us ---------- */
.why{ background:#fff8ec; }
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.why-card{
  background:#fff; border-radius:var(--radius); padding:30px 22px; text-align:center;
  box-shadow:var(--shadow);
}
.why-icon{
  font-size:2.1rem; margin-bottom:14px;
  width:64px; height:64px; border-radius:50%; margin-inline:auto;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#fdecec,#fff);
}
.why-card h3{ font-size:1.1rem; margin-bottom:8px; }
.why-card p{ font-size:.92rem; margin:0; }

.yelp-tile{
  --yelp-red:#d32323;
  display:flex; align-items:center; gap:16px;
  background:#fff; border-radius:var(--radius);
  padding:18px 22px; box-shadow:var(--shadow);
  border:2px solid transparent;
  transition:transform .2s ease, border-color .2s ease;
}
.yelp-tile:hover{ transform:translateY(-4px); border-color:var(--yelp-red); }
.yelp-badge{
  flex:none; width:46px; height:46px; border-radius:50%;
  background:var(--yelp-red); color:#fff;
  font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.2rem; font-style:italic;
  display:flex; align-items:center; justify-content:center;
}
.yelp-body{ display:flex; flex-direction:column; gap:3px; text-align:left; }
.yelp-rating-row{ display:flex; align-items:baseline; gap:8px; }
.yelp-rating-num{ font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.15rem; color:var(--text); }
.yelp-stars{ color:var(--yelp-red); font-size:.95rem; letter-spacing:1px; }
.yelp-sub{ font-size:.85rem; color:var(--text-soft); font-weight:700; }

/* ---------- Gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.gallery-card{
  background:var(--bg,#f5f5f5); border-radius:var(--radius);
  padding:40px 20px; text-align:center;
  transition:transform .2s ease;
}
.gallery-card:hover{ transform:translateY(-6px) rotate(-1deg); }
.gallery-card span{ font-size:2.4rem; display:block; margin-bottom:14px; }
.gallery-card p{ font-weight:800; font-family:'Baloo 2',sans-serif; color:var(--text); margin:0; }

/* ---------- Contact ---------- */
.contact{ background:linear-gradient(180deg,#fff,#eaf6fd); padding-top:110px; overflow-x:hidden; }
.contact-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:start; position:relative; z-index:2;
}
.contact-list{ display:grid; gap:20px; margin:26px 0 30px; }
.contact-list li{ display:flex; align-items:flex-start; gap:14px; }
.contact-icon{
  width:44px; height:44px; border-radius:50%; flex:none;
  background:#fff; box-shadow:var(--shadow);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem;
}
.contact-list a{ color:var(--blue); font-weight:800; }
.contact-list strong{ font-family:'Baloo 2',sans-serif; }
.contact-map-col{ display:flex; flex-direction:column; gap:18px; }
.contact-map{
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  border:6px solid #fff; height:360px;
}
.contact-map iframe{ width:100%; height:100%; border:0; }

.hill-back-2{
  position:absolute; top:0; left:-20%; width:140%; height:90px;
  background:var(--green-light); opacity:.5;
  border-radius:0 0 50% 50%/0 0 60px 60px;
}

/* ---------- Footer ---------- */
.site-footer{ background:var(--text); color:#e7e8ee; padding:34px 0; }
.footer-row{ text-align:center; display:grid; gap:10px; }
.footer-brand{
  display:flex; align-items:center; justify-content:center; gap:10px;
  font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.1rem; color:#fff;
}
.footer-address{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:6px 10px;
  max-width:100%;
}
.footer-address a{ color:#ffd166; font-weight:700; }
.footer-phone{ white-space:nowrap; }
.footer-sep{ color:#6b7080; }
.footer-copy{ font-size:.85rem; color:#a9acbd; margin:0; }

@media (max-width:520px){
  .footer-sep{ display:none; }
}

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

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .offer-grid{ grid-template-columns:repeat(2,1fr); }
  .why-grid{ grid-template-columns:repeat(2,1fr); }
  .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .about-art{ order:-1; max-width:240px; }
}

@media (max-width:760px){
  .main-nav{
    position:absolute; top:76px; left:0; right:0;
    background:#fffaf0; flex-direction:column; gap:0;
    box-shadow:0 12px 24px rgba(0,0,0,.12);
    max-height:0; overflow:hidden; transition:max-height .3s ease;
  }
  .main-nav.open{ max-height:340px; }
  .main-nav a{ padding:16px 24px; border-bottom:1px solid #f1e9d8; }
  .nav-toggle{ display:flex; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:520px){
  .offer-grid, .why-grid{ grid-template-columns:1fr; }
  .promo-row{ text-align:center; justify-content:center; }
  .header-row{ height:66px; }
  .brand-text{ font-size:1.05rem; }
  .phone-pill{ padding:9px 12px; }
  .phone-pill .phone-number{ display:none; }
}
