/* Gonzalez Family Child Care — playful preschool look (cream, coral, sunshine yellow, pink), original code. */
:root {
  --cream: #FFF6DE;
  --cream-deep: #FDE8B4;
  --coral: #F4532C;
  --coral-dark: #D93F1B;
  --sun: #F9B208;
  --sun-dark: #E09E00;
  --pink: #F06BA8;
  --teal: #19A7A0;
  --ink: #26233A;
  --muted: #6B6879;
  --line: #F1E3BF;
  --white: #FFFFFF;
  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(38, 35, 58, .35);
  --font-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--coral); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Bilingual: every text has an .en and an .es version; <html lang> decides which one shows */
html[lang="es"] .en, html[lang="en"] .es { display: none !important; }

/* ---------- Top bar ---------- */
.topbar { background: var(--cream-deep); font-size: 14px; color: var(--ink); }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding: 8px 0; }
.topbar .items { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.topbar .item { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.topbar svg { width: 16px; height: 16px; color: var(--coral); flex-shrink: 0; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.handbook-link { font-weight: 800; color: var(--coral-dark) !important; }
.lang-switch { display: inline-flex; border-radius: 30px; background: var(--white); padding: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.lang-switch button { border: 0; background: transparent; font: 700 13px var(--font-body); padding: 4px 12px; border-radius: 30px; cursor: pointer; color: var(--muted); }
.lang-switch button.active { background: var(--coral); color: var(--white); }

/* ---------- Header / navigation ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--cream-deep); padding: 10px 0 14px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--white); border-radius: 18px; padding: 10px 14px 10px 18px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand .brand-text { font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.05; }
.brand .brand-text small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.brand.has-logo .brand-text { display: none; }
.brand img.brand-icon { height: 50px; width: 50px; }
.footer-logo img { height: 120px; width: auto; }
.photo-note { text-align: center; color: var(--muted); font-size: 14px; margin: 20px auto 0; max-width: 680px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 8px 9px; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: 15px; }
.menu a:hover, .menu a.active { color: var(--coral); background: #FFF1EA; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.portal-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--teal); padding: 8px 12px; border-radius: 12px; background: #E7F7F6; }
.menu .menu-parents { display: none; }
.brand .brand-text, .nav-actions .btn, .menu a { white-space: nowrap; }
.nav .lang-switch { background: var(--cream); box-shadow: none; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--cream); cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .2s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 16px var(--font-body); border: 0; border-radius: 14px; padding: 14px 24px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 6px 0 var(--sun-dark); }
.btn-coral { background: var(--coral); color: var(--white); box-shadow: 0 6px 0 var(--coral-dark); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: 0 6px 0 #E9DDC0; }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn-sm.btn-sun { box-shadow: 0 4px 0 var(--sun-dark); }

/* ---------- Clouds (section edges) ---------- */
.clouds { display: block; width: 100%; height: 70px; color: var(--white); }
.clouds.flip { transform: rotate(180deg); }

/* ---------- Hero ---------- */
.hero { background: var(--cream-deep); position: relative; padding: 40px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-bottom: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--coral); font-weight: 800; font-size: 14px; padding: 8px 16px; border-radius: 30px; box-shadow: 0 4px 14px -8px rgba(244, 83, 44, .6); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #25C26E; box-shadow: 0 0 0 4px rgba(37, 194, 110, .2); }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); margin: 18px 0 16px; }
.hero h1 .heart { color: var(--coral); }
.hero h1 .hl { color: var(--coral); position: relative; white-space: nowrap; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-call { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; }
.hero-call .icon { width: 50px; height: 50px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--coral); box-shadow: var(--shadow); }
.hero-call small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.hero-art { position: relative; }
.blob { margin: 0; width: 100%; border-radius: 46% 54% 44% 56% / 52% 42% 58% 48%; overflow: hidden; border: 10px solid var(--white); box-shadow: var(--shadow); aspect-ratio: 1 / 1; background: var(--cream); }
.blob img { width: 100%; height: 100%; object-fit: cover; }
.sticker { position: absolute; background: var(--white); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow); font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.sticker .big { font-family: var(--font-head); font-size: 26px; color: var(--coral); line-height: 1; }
.sticker.s1 { left: -14px; bottom: 34px; }
.sticker.s2 { right: -6px; top: 26px; }
.deco { position: absolute; pointer-events: none; }
.deco.sun { width: 110px; right: 4%; top: 10px; animation: spin 30s linear infinite; }
.deco.balloons { width: 90px; left: 2%; top: 30px; animation: float 6s ease-in-out infinite; }
.deco.star { width: 34px; animation: twinkle 3s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes twinkle { 50% { transform: scale(.75) rotate(20deg); opacity: .6; } }

/* ---------- Facts strip ---------- */
.facts { background: var(--white); padding: 34px 0 10px; }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fact { border-radius: var(--radius); padding: 18px 16px; text-align: center; border: 3px solid; background: var(--white); }
.fact:nth-child(5n+1) { border-color: var(--coral); }
.fact:nth-child(5n+2) { border-color: var(--sun); }
.fact:nth-child(5n+3) { border-color: var(--pink); }
.fact:nth-child(5n+4) { border-color: var(--teal); }
.fact:nth-child(5n+5) { border-color: var(--coral); }
.fact .value { font-family: var(--font-head); font-size: 22px; font-weight: 600; line-height: 1.2; }
.fact .label { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; position: relative; }
.section.cream { background: var(--cream); }
.kicker { display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.kicker::before { content: '✦ '; color: var(--sun); }
.section-title { font-size: clamp(30px, 4vw, 44px); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* About + provider */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check-list li::before { content: ''; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.teacher-card { background: var(--white); border: 4px solid var(--pink); border-radius: 28px; padding: 14px; box-shadow: var(--shadow); max-width: 440px; margin: 0 auto; position: relative; }
.teacher-card .photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.teacher-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card .info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 8px 6px; }
.teacher-card .name { font-family: var(--font-head); font-size: 24px; font-weight: 600; }
.teacher-card .role { color: var(--muted); font-weight: 600; font-size: 15px; }
.round-link { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--coral); color: var(--coral); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.round-link svg { width: 18px; height: 18px; }
.langs { display: flex; gap: 8px; margin-top: 4px; }
.langs span { font-size: 12px; font-weight: 800; background: var(--cream); padding: 3px 10px; border-radius: 20px; }

/* Learning cards (teacher-card style borders) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--white); border: 3px solid var(--coral); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:nth-child(4n+2) { border-color: var(--pink); }
.card:nth-child(4n+3) { border-color: var(--sun); }
.card:nth-child(4n+4) { border-color: var(--teal); }
.card .icon { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 16px; background: #FFF0E9; }
.card:nth-child(4n+2) .icon { background: #FDE7F1; }
.card:nth-child(4n+3) .icon { background: #FFF4D2; }
.card:nth-child(4n+4) .icon { background: #E3F6F5; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Programs (pricing-plan style rows, no prices) */
.programs { display: grid; gap: 18px; max-width: 960px; margin: 0 auto; }
.program { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); border-left: 8px solid var(--coral); }
.program:nth-child(2) { border-left-color: var(--sun); }
.program:nth-child(3) { border-left-color: var(--teal); }
.program .icon { width: 64px; height: 64px; border-radius: 20px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.program h3 { font-size: 22px; margin-bottom: 4px; }
.program p { margin: 0; color: var(--muted); }
.program .when { font-family: var(--font-head); font-size: 20px; color: var(--coral); white-space: nowrap; text-align: right; }
.program .when small { display: block; font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 700; }

/* Parent resources: the handbook */
.resource-card { display: flex; gap: 32px; align-items: center; background: var(--white); border: 4px solid var(--sun); border-radius: 32px;
                 padding: 36px; box-shadow: var(--shadow); max-width: 980px; margin: 0 auto; }
.resource-icon { flex-shrink: 0; width: 130px; height: 150px; border-radius: 12px 26px 26px 12px; background: linear-gradient(135deg, #2F80ED, #1A5FC4);
                 display: flex; align-items: center; justify-content: center; font-size: 64px; box-shadow: 8px 8px 0 var(--cream-deep); transform: rotate(-4deg); }
.resource-body .section-title { margin-bottom: .35em; }
.resource-body p { color: var(--muted); }
.resource-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0 12px; }
.resource-meta { font-size: 14px; margin: 0; }
.resource-meta a { font-weight: 800; color: var(--coral-dark); white-space: nowrap; }
.resource-meta a:hover { text-decoration: underline; }

/* Why families choose us (coral band) */
.band { background: var(--coral); color: var(--white); padding: 84px 0; position: relative; overflow: hidden; }
.band h2, .band h3 { color: var(--white); }
.band .kicker { color: #FFE3D8; }
.band .kicker::before { color: var(--sun); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why { background: rgba(255, 255, 255, .12); border: 2px solid rgba(255, 255, 255, .28); border-radius: var(--radius); padding: 24px; }
.why .icon { font-size: 30px; margin-bottom: 10px; }
.why h3 { font-size: 20px; }
.why p { margin: 0; color: #FFEDE6; font-size: 15.5px; }
.band .deco.star { opacity: .7; }

/* Gallery */
/* 3 columns: the first photo takes 2x2, the next two stack beside it, the last three fill the bottom row */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery .photo { border-radius: var(--radius); overflow: hidden; border: 4px solid var(--white); box-shadow: var(--shadow); }
.gallery .photo:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Photo placeholders: shown until the real file is in images/ */
.photo { position: relative; background: repeating-linear-gradient(45deg, #FFF1CC, #FFF1CC 14px, #FFEBB8 14px, #FFEBB8 28px); }
.photo .ph-label { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px; text-align: center; color: var(--muted); font-weight: 700; font-size: 14px; padding: 10px; }
.photo .ph-label b { font-family: var(--font-head); font-size: 28px; }
.photo.empty img { display: none; }
.photo.empty .ph-label { display: flex; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--white); border-radius: 18px; border: 2px solid var(--line); padding: 4px 22px; }
.faq details[open] { border-color: var(--sun); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 19px; padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--coral); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.faq details[open] summary::after { content: '–'; background: var(--coral); color: var(--white); }
.faq details p { color: var(--muted); }

/* Visit CTA (rounded coral card, like the newsletter block) */
.visit-cta { background: var(--coral); border-radius: 36px; color: var(--white); text-align: center; padding: 56px 24px; position: relative; overflow: hidden; }
.visit-cta h2 { color: var(--white); font-size: clamp(28px, 4vw, 42px); }
.visit-cta p { color: #FFEDE6; max-width: 620px; margin: 0 auto 26px; font-size: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 24px 0; }
.contact-item { display: flex; gap: 14px; align-items: center; background: var(--white); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); color: var(--ink); }
.contact-item .icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--muted); font-weight: 700; font-size: 13px; }
.contact-item b { font-size: 16px; word-break: break-word; }
.map { border-radius: var(--radius); overflow: hidden; border: 4px solid var(--white); box-shadow: var(--shadow); height: 230px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.form-card { background: var(--white); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); border: 3px solid var(--sun); }
.form-card h3 { font-size: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: 16px var(--font-body); color: var(--ink); background: #FFFBF0; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; outline: none; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sun); background: var(--white); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 14px; font-weight: 700; }
.form-status.ok { display: block; background: #E3F7EC; color: #157347; }
.form-status.err { display: block; background: #FDE8E4; color: var(--coral-dark); }

/* Footer */
.footer { background: var(--cream-deep); padding: 30px 0 0; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; padding: 30px 0 40px; }
.footer h4 { font-size: 20px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 4px; border-radius: 4px; background: var(--coral); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--ink); font-weight: 600; }
.footer ul a::before { content: '» '; color: var(--coral); }
.footer p { color: var(--muted); }
.footer-bottom { background: var(--sun); padding: 14px 0; font-size: 14px; font-weight: 700; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom a { color: var(--ink); }
.wave-top { display: block; width: 100%; height: 26px; color: var(--sun); margin-bottom: -1px; }

/* Floating call button (phones) */
.float-call { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--coral); color: var(--white); display: none; align-items: center; justify-content: center; box-shadow: 0 12px 24px -8px rgba(244, 83, 44, .7); }
.float-call svg { width: 26px; height: 26px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .deco { animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .menu { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); flex-direction: column; align-items: stretch; background: var(--white); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu a { padding: 12px 14px; }
  .menu-toggle { display: block; }
  .header .container { position: relative; }
  .portal-link .label { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { width: 100%; max-width: 460px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery .photo:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery .photo:nth-child(6) { grid-column: span 2; }
  .program { grid-template-columns: auto 1fr; }
  .program .when { grid-column: 1 / -1; text-align: left; }
  .resource-card { flex-direction: column; text-align: center; padding: 28px 20px; }
  .resource-actions { justify-content: center; }
  .resource-icon { width: 96px; height: 112px; font-size: 48px; }
  .deco.sun { width: 76px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar .item.hide-sm { display: none; }
  .nav { padding: 8px 10px 8px 12px; }
  .brand img.brand-icon { height: 42px; width: 42px; }
  .brand .brand-text { font-size: 16px; }
  .nav-actions .btn, .nav-actions .portal-link { display: none; }
  .nav-actions { gap: 8px; }
  .menu .menu-parents { display: block; }
  .lang-switch button { padding: 6px 10px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid .fact:last-child { grid-column: 1 / -1; }
  .cards, .why-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .section, .band { padding: 60px 0; }
  .form-card { padding: 22px 18px; }
  .sticker.s1 { left: 0; } .sticker.s2 { right: 0; }
  .deco.balloons, .deco.sun { display: none; }
  .float-call { display: flex; }
}
