/*
Theme Name: Kid2Kids
Theme URI: https://kid2kids.ro/
Author: Kid2Kids
Author URI: https://kid2kids.ro/
Description: Temă WordPress luminoasă și animată pentru creșă, grădiniță și after-school. Optimizată pentru mobil, accesibilitate și performanță.
Version: 1.3.2
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kid2kids
Tags: education, blog, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

:root {
  --k2k-navy: #14275f;
  --k2k-navy-2: #243e7b;
  --k2k-blue: #51b8df;
  --k2k-blue-soft: #dff5fc;
  --k2k-pink: #f58fad;
  --k2k-pink-soft: #ffe1eb;
  --k2k-yellow: #ffc957;
  --k2k-yellow-soft: #fff1c9;
  --k2k-coral: #f2705b;
  --k2k-mint: #75d3bd;
  --k2k-cream: #fcf9f4;
  --k2k-white: #fff;
  --k2k-text: #657087;
  --k2k-border: #e7eaf1;
  --k2k-radius: 32px;
  --k2k-shadow: 0 20px 55px rgba(20, 39, 95, .12);
  --k2k-font-display: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --k2k-font-body: "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--k2k-text);
  background: var(--k2k-white);
  font-family: var(--k2k-font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--k2k-navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--k2k-coral); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .45em;
  color: var(--k2k-navy);
  font-family: var(--k2k-font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(2.9rem, 6.4vw, 6.5rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
p { margin: 0 0 1.25rem; }
::selection { color: var(--k2k-navy); background: var(--k2k-yellow); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  position: fixed !important; z-index: 99999; top: 12px; left: 12px; width: auto; height: auto;
  padding: 12px 18px; clip: auto; color: var(--k2k-white); background: var(--k2k-navy); border-radius: 12px;
}
.site-wrap { position: relative; width: 100%; max-width: 100%; min-height: 100vh; overflow-x: clip; }
.kid2kids-front-page .site-main { display: flex; flex-direction: column; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.container--wide { width: min(1380px, calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: clamp(76px, 9vw, 135px) 0; }
.section--cream { background: var(--k2k-cream); }
.section--blue { color: var(--k2k-white); background: var(--k2k-blue); }
.section--navy { color: var(--k2k-white); background: var(--k2k-navy); }
.section-title { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-title p { max-width: 680px; margin: 18px auto 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 6px 14px;
  color: var(--k2k-navy); background: var(--k2k-blue-soft); border-radius: 999px;
  font-size: .78rem; font-weight: 900; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--k2k-coral); border-radius: 50%; }
.title-highlight { position: relative; z-index: 0; display: inline; }
.title-highlight::after {
  content: ""; position: absolute; z-index: -1; left: -.08em; right: -.08em; bottom: .08em; height: .28em;
  background: var(--k2k-pink-soft); transform: rotate(-1deg); border-radius: 3px;
}
.title-highlight--yellow::after { background: var(--k2k-yellow-soft); transform: rotate(1deg); }

.k2k-button, .wp-block-button__link, input[type="submit"] {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px; color: var(--k2k-navy); background: var(--k2k-yellow);
  border: 0; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 8px 20px rgba(255,201,87,.28);
  font-family: var(--k2k-font-display); font-size: .98rem; font-weight: 900; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.k2k-button::after, .wp-block-button__link::after {
  content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(20,39,95,.45); border-radius: inherit; pointer-events: none;
}
.k2k-button:hover, .k2k-button:focus-visible, .wp-block-button__link:hover {
  color: var(--k2k-navy); background: #ffd97c; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6), 0 14px 28px rgba(20,39,95,.16); transform: translateY(-3px);
}
.k2k-button--pink { color: var(--k2k-white); background: var(--k2k-pink); box-shadow: 0 8px 20px rgba(245,143,173,.25); }
.k2k-button--pink::after { border-color: rgba(255,255,255,.75); }
.k2k-button--pink:hover { color: var(--k2k-white); background: #fa9db7; }
.k2k-button--ghost { color: var(--k2k-navy); background: transparent; border: 2px solid rgba(20,39,95,.16); box-shadow: none; }
.k2k-button--ghost::after { display: none; }
.k2k-button--small { min-height: 46px; padding: 10px 20px; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; z-index: 1000; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(20,39,95,.06);
  box-shadow: 0 7px 24px rgba(20,39,95,.06); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 94px; gap: 28px; }
.site-branding { flex: 0 0 auto; min-width: 0; }
.custom-logo-link { display: block; }
.custom-logo { width: auto; max-height: 68px; }
.brand-wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-house {
  position: relative; display: grid; place-items: center; width: 48px; height: 42px; color: var(--k2k-white);
  background: var(--k2k-blue); border-radius: 14px 14px 16px 16px; font-weight: 900; transform: rotate(-3deg);
}
.brand-house::before {
  content: ""; position: absolute; top: -13px; left: 6px; width: 33px; height: 33px; background: var(--k2k-pink);
  border-radius: 5px; transform: rotate(45deg); z-index: -1;
}
.brand-house::after { content: "♥"; font-size: 17px; }
.brand-copy { display: grid; line-height: .92; }
.brand-name { color: var(--k2k-navy); font-family: var(--k2k-font-display); font-size: 1.58rem; font-weight: 900; letter-spacing: -.06em; }
.brand-name strong { color: var(--k2k-coral); font-size: 1.42em; }
.brand-tagline { color: var(--k2k-pink); font-size: .58rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 5px; margin: 0; padding: 0; list-style: none; }
.main-navigation a {
  display: block; padding: 12px 14px; color: var(--k2k-navy); border-radius: 12px;
  font-family: var(--k2k-font-display); font-size: .86rem; font-weight: 900; text-decoration: none; text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a {
  color: var(--k2k-navy); background: var(--k2k-yellow); transform: translateY(-2px) rotate(-1deg);
}
.main-navigation .menu-item-has-children { position: relative; }
.main-navigation .sub-menu {
  position: absolute; top: calc(100% + 12px); left: 0; display: grid; min-width: 220px; padding: 12px;
  visibility: hidden; opacity: 0; background: var(--k2k-white); border-radius: 18px; box-shadow: var(--k2k-shadow);
  transform: translateY(8px); transition: .2s ease;
}
.main-navigation .menu-item-has-children:hover > .sub-menu, .main-navigation .menu-item-has-children:focus-within > .sub-menu {
  visibility: visible; opacity: 1; transform: translateY(0);
}
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.header-phone { min-height: 46px; padding: 10px 18px; white-space: nowrap; }
.header-icon {
  display: grid; place-items: center; width: 46px; height: 46px; color: var(--k2k-navy); background: var(--k2k-pink-soft);
  border: 2px dashed var(--k2k-pink); border-radius: 50%; font-size: 1.05rem; text-decoration: none; transition: transform .25s ease;
}
.header-icon:hover { color: var(--k2k-navy); transform: rotate(8deg) scale(1.06); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; background: var(--k2k-yellow); border: 0; border-radius: 15px; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; display: block; width: 23px; height: 3px; margin: 5px auto; background: var(--k2k-navy); border-radius: 99px; transition: .25s ease;
}
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(820px, calc(100vh - 94px)); overflow: hidden; color: var(--k2k-white); background: var(--k2k-navy); }
.hero::after {
  content: ""; position: absolute; z-index: 4; right: -4%; bottom: -82px; left: -4%; height: 150px; background: var(--k2k-white);
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
}
.hero-inner { position: relative; z-index: 5; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; min-height: inherit; padding: 76px 0 120px; gap: clamp(34px, 6vw, 88px); }
.hero-copy { position: relative; }
.hero .eyebrow { color: var(--k2k-white); background: var(--k2k-blue); }
.hero .eyebrow::before { background: var(--k2k-yellow); }
.hero h1 { max-width: 720px; color: var(--k2k-white); }
.hero h1 .pink { color: var(--k2k-pink); }
.hero h1 .yellow { color: var(--k2k-yellow); }
.hero-lead { max-width: 600px; margin: 24px 0 31px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-micro { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.76); font-size: .85rem; }
.hero-micro strong { display: block; color: var(--k2k-white); }
.hero-avatars { display: flex; }
.hero-avatars span { display: grid; place-items: center; width: 37px; height: 37px; margin-left: -9px; background: var(--k2k-blue); border: 3px solid var(--k2k-navy); border-radius: 50%; }
.hero-avatars span:first-child { margin-left: 0; background: var(--k2k-pink); }
.hero-avatars span:nth-child(2) { background: var(--k2k-yellow); }
.hero-visual { position: relative; min-height: 570px; }
.hero-photo-shell {
  position: absolute; inset: 8% 0 8% 3%; overflow: hidden; background: var(--k2k-blue); border: 8px solid rgba(255,255,255,.08);
  border-radius: 46% 54% 48% 52% / 52% 38% 62% 48%; box-shadow: 0 35px 70px rgba(5,15,47,.35); transform: translateZ(0);
}
.hero-photo-shell img { width: 100%; height: 100%; object-fit: cover; object-position: 64% center; transition: transform .25s linear; }
.hero-badge {
  position: absolute; z-index: 2; right: -10px; bottom: 36px; width: 142px; height: 142px; display: grid; place-items: center;
  color: var(--k2k-navy); background: var(--k2k-yellow); border: 5px solid var(--k2k-navy); border-radius: 50%; text-align: center;
  font-family: var(--k2k-font-display); font-weight: 900; line-height: 1.15; animation: k2k-float 4.5s ease-in-out infinite;
}
.hero-badge::after { content: ""; position: absolute; inset: 6px; border: 2px dashed rgba(20,39,95,.5); border-radius: 50%; }
.hero-sticker { position: absolute; z-index: 3; filter: drop-shadow(0 8px 12px rgba(0,0,0,.14)); animation: k2k-float 5s ease-in-out infinite; }
.hero-sticker--star { top: 4%; left: 0; color: var(--k2k-pink); font-size: 4rem; transform: rotate(-12deg); }
.hero-sticker--planet { top: 11%; right: -4%; font-size: 5rem; animation-delay: -1.5s; }
.hero-sticker--pencil { bottom: 5%; left: 3%; font-size: 4.4rem; animation-delay: -2.8s; }
.orbit-dot { position: absolute; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.14); animation: k2k-pulse 3s ease-in-out infinite; }
.orbit-dot--1 { top: 16%; left: 8%; }
.orbit-dot--2 { right: 7%; bottom: 22%; animation-delay: -1s; }
.orbit-dot--3 { left: 47%; bottom: 6%; width: 11px; height: 11px; animation-delay: -2s; }
.hero-socials { position: absolute; z-index: 6; left: max(14px, calc((100vw - 1440px)/2)); top: 50%; display: grid; gap: 10px; transform: translateY(-50%); }
.hero-socials a { display: grid; place-items: center; width: 34px; height: 34px; color: var(--k2k-white); background: rgba(255,255,255,.12); border-radius: 50%; font-size: .72rem; text-decoration: none; transition: .2s ease; }
.hero-socials a:hover { color: var(--k2k-navy); background: var(--k2k-yellow); transform: translateX(4px); }

/* Program cards */
.programs { z-index: 10; padding-top: 25px; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
  position: relative; isolation: isolate; overflow: hidden; min-height: 290px; padding: 36px; color: var(--k2k-navy); border-radius: var(--k2k-radius); box-shadow: var(--k2k-shadow);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.program-card:nth-child(1) { background: var(--k2k-blue-soft); }
.program-card:nth-child(2) { background: var(--k2k-pink-soft); }
.program-card:nth-child(3) { background: var(--k2k-yellow-soft); }
.program-card::before { content: ""; position: absolute; z-index: -1; right: -55px; bottom: -70px; width: 180px; height: 180px; background: rgba(255,255,255,.55); border-radius: 50%; transition: transform .35s ease; }
.program-card:hover { transform: translateY(-12px) rotate(-.5deg); box-shadow: 0 28px 65px rgba(20,39,95,.18); }
.program-card:hover::before { transform: scale(1.35); }
.program-card-icon { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 25px; background: var(--k2k-white); border-radius: 24px; font-size: 2.35rem; transform: rotate(-4deg); }
.program-card:nth-child(2) .program-card-icon { transform: rotate(4deg); }
.program-card h3 { font-size: 1.7rem; }
.program-card p { margin-bottom: 18px; color: var(--k2k-text); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--k2k-font-display); font-weight: 900; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }

/* About and offers */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(45px, 8vw, 110px); }
.about-visual { position: relative; padding: 24px; }
.about-visual::before { content: ""; position: absolute; inset: 0 28px 28px 0; border: 2px dashed var(--k2k-pink); border-radius: 44px; }
.about-visual img { position: relative; width: 100%; aspect-ratio: 1.14; object-fit: cover; object-position: 63% center; border-radius: 36px; box-shadow: var(--k2k-shadow); }
.about-note {
  position: absolute; right: -15px; bottom: 0; max-width: 220px; padding: 18px 22px; color: var(--k2k-white); background: var(--k2k-blue);
  border-radius: 22px; box-shadow: var(--k2k-shadow); font-family: var(--k2k-font-display); font-weight: 900; line-height: 1.4;
}
.about-copy .lead { font-size: 1.15rem; }
.check-list { display: grid; gap: 14px; margin: 25px 0 32px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--k2k-navy); font-family: var(--k2k-font-display); font-weight: 900; }
.check-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; color: var(--k2k-white); background: var(--k2k-blue); border-radius: 50%; font-size: .8rem; }
.offers-stage { position: relative; display: grid; grid-template-columns: 1fr minmax(280px, .92fr) 1fr; align-items: center; gap: 24px; }
.offers-image { position: relative; order: 2; }
.offers-image::before { content: ""; position: absolute; inset: -10px; border: 2px dashed var(--k2k-pink); border-radius: 48% 52% 46% 54%; }
.offers-image img { position: relative; width: 100%; aspect-ratio: .82; object-fit: cover; border-radius: 48% 52% 46% 54%; }
.offer-column { display: grid; gap: 50px; }
.offer-column:first-child { order: 1; text-align: right; }
.offer-column:last-child { order: 3; }
.offer-item { position: relative; }
.offer-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 12px; background: var(--k2k-white); border-radius: 22px; box-shadow: 0 12px 25px rgba(20,39,95,.08); font-size: 2rem; transition: transform .3s ease; }
.offer-item:hover .offer-icon { transform: rotate(8deg) scale(1.08); }
.offer-item p { margin: 0; font-size: .95rem; }

/* Stats */
.stats-wave { position: relative; overflow: hidden; padding: 105px 0 82px; background: var(--k2k-blue); }
.stats-wave::before { content: ""; position: absolute; top: -70px; left: -4%; width: 108%; height: 120px; background: var(--k2k-white); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { position: relative; padding: 20px; color: var(--k2k-white); text-align: center; }
.stat-number { display: block; font-family: var(--k2k-font-display); font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 900; line-height: 1; }
.stat-label { display: block; margin-top: 10px; font-family: var(--k2k-font-display); font-weight: 900; }

/* Schedule */
.schedule-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.schedule-intro { position: sticky; top: 135px; }
.schedule-list { display: grid; gap: 18px; }
.schedule-item {
  display: grid; grid-template-columns: 82px 44px 1fr; align-items: center; gap: 18px; padding: 24px 26px; background: var(--k2k-white);
  border: 1px solid rgba(20,39,95,.07); border-radius: 24px; box-shadow: 0 12px 30px rgba(20,39,95,.06); transition: transform .25s ease, border-color .25s ease;
}
.schedule-item:hover { border-color: var(--k2k-pink); transform: translateX(8px); }
.schedule-time { color: var(--k2k-coral); font-family: var(--k2k-font-display); font-weight: 900; }
.schedule-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--k2k-yellow-soft); border-radius: 14px; font-size: 1.4rem; }
.schedule-item h3 { margin: 0 0 3px; font-size: 1.2rem; }
.schedule-item p { margin: 0; font-size: .92rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: 1.05fr .7fr .7fr; grid-auto-rows: 235px; gap: 18px; }
.gallery-item { position: relative; overflow: hidden; background: var(--k2k-blue-soft); border-radius: 28px; }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.gallery-item::after { content: "Vezi fotografia"; position: absolute; inset: auto 15px 15px; padding: 12px 16px; color: var(--k2k-white); background: rgba(20,39,95,.82); border-radius: 14px; font-weight: 900; opacity: 0; transform: translateY(10px); transition: .3s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }
.gallery-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--k2k-navy); background: linear-gradient(135deg, var(--k2k-blue-soft), var(--k2k-pink-soft)); font-size: 3rem; }

/* Testimonials */
.testimonials { overflow: hidden; }
.testimonial-track { position: relative; min-height: 380px; }
.testimonial-slide { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; visibility: hidden; opacity: 0; transform: translateX(30px); transition: opacity .5s ease, transform .5s ease, visibility .5s; }
.testimonial-slide.is-active { position: relative; visibility: visible; opacity: 1; transform: translateX(0); }
.testimonial-card { position: relative; display: flex; flex-direction: column; min-height: 310px; padding: 35px; color: var(--k2k-white); background: var(--k2k-pink); border-radius: 30px; }
.testimonial-card:nth-child(2) { background: var(--k2k-blue); }
.testimonial-card:nth-child(3) { background: var(--k2k-yellow); }
.testimonial-card:nth-child(3) { color: var(--k2k-navy); }
.testimonial-card::after { content: ""; position: absolute; left: 38px; bottom: -34px; border: 18px solid transparent; border-top-color: var(--k2k-pink); }
.testimonial-card:nth-child(2)::after { border-top-color: var(--k2k-blue); }
.testimonial-card:nth-child(3)::after { border-top-color: var(--k2k-yellow); }
.testimonial-quote { flex: 1; font-size: 1.03rem; line-height: 1.9; }
.testimonial-quote::before { content: "“"; display: block; height: 43px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; opacity: .24; }
.testimonial-author { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.testimonial-avatar { display: grid; place-items: center; width: 48px; height: 48px; background: rgba(255,255,255,.28); border-radius: 50%; font-size: 1.5rem; }
.testimonial-author strong { display: block; font-family: var(--k2k-font-display); }
.testimonial-author span { font-size: .82rem; opacity: .8; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 45px; }
.slider-dot { width: 10px; height: 10px; padding: 0; background: #bce8f8; border: 0; border-radius: 99px; transition: .25s ease; }
.slider-dot.is-active { width: 34px; background: var(--k2k-blue); }

/* News */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { overflow: hidden; background: var(--k2k-white); border: 1px solid rgba(20,39,95,.06); border-radius: 28px; box-shadow: 0 14px 35px rgba(20,39,95,.08); transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover { transform: translateY(-9px); box-shadow: var(--k2k-shadow); }
.post-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1.45; background: linear-gradient(135deg, var(--k2k-blue-soft), var(--k2k-pink-soft)); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-emoji { display: grid; place-items: center; height: 100%; font-size: 4rem; }
.post-card-body { padding: 27px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 13px; color: var(--k2k-blue); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.post-card h3 { font-size: 1.42rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card p { font-size: .94rem; }

/* CTA */
.cta-section { position: relative; overflow: hidden; padding: 90px 0; color: var(--k2k-white); background: var(--k2k-navy); }
.cta-section::before, .cta-section::after { content: "★"; position: absolute; color: var(--k2k-pink); font-size: 7rem; opacity: .55; animation: k2k-float 4s ease-in-out infinite; }
.cta-section::before { left: 4%; bottom: -30px; transform: rotate(-15deg); }
.cta-section::after { top: -25px; right: 5%; color: var(--k2k-yellow); animation-delay: -2s; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 720px; margin: 0; color: var(--k2k-white); }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 95px 0 115px; text-align: center; background: var(--k2k-cream); }
.page-hero::after { content: ""; position: absolute; right: -5%; bottom: -55px; left: -5%; height: 92px; background: var(--k2k-white); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.page-hero h1 { font-size: clamp(2.8rem, 5vw, 4.7rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; color: var(--k2k-text); font-size: .88rem; font-weight: 900; }
.breadcrumbs a { color: var(--k2k-blue); text-decoration: none; }
.page-hero-doodle { position: absolute; color: var(--k2k-blue); font-size: clamp(4rem, 10vw, 8rem); opacity: .42; }
.page-hero-doodle--left { left: 6%; bottom: 28px; transform: rotate(-12deg); }
.page-hero-doodle--right { right: 8%; top: 30px; color: var(--k2k-yellow); transform: rotate(12deg); }
.content-area { padding: 90px 0 120px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 55px; }
.content-card { padding: clamp(24px, 5vw, 55px); background: var(--k2k-white); border-radius: 30px; box-shadow: 0 10px 35px rgba(20,39,95,.07); }
.entry-content > * { max-width: 100%; }
.entry-content a { color: var(--k2k-blue); }
.entry-content blockquote { margin: 2rem 0; padding: 25px 30px; color: var(--k2k-navy); background: var(--k2k-yellow-soft); border-left: 5px solid var(--k2k-yellow); border-radius: 0 20px 20px 0; font-family: var(--k2k-font-display); }
.entry-content img { border-radius: 22px; }
.alignwide { width: min(1180px, 100%); max-width: 1180px; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.sidebar { display: grid; align-content: start; gap: 26px; }
.widget { padding: 28px; background: var(--k2k-cream); border-radius: 24px; }
.widget-title { font-size: 1.3rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px dashed rgba(20,39,95,.13); }
.widget li:last-child { border-bottom: 0; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 80px; }
.contact-card { padding: 38px 28px; text-align: center; border: 2px dashed var(--k2k-blue); border-radius: 28px; transition: transform .25s ease; }
.contact-card:nth-child(2) { border-color: var(--k2k-pink); }
.contact-card:nth-child(3) { border-color: var(--k2k-yellow); }
.contact-card:hover { transform: translateY(-8px); }
.contact-card-icon { display: block; margin-bottom: 14px; font-size: 2.8rem; }
.contact-card h3 { font-size: 1.25rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--k2k-text); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; background: var(--k2k-cream); border-radius: 38px; }
.contact-info-panel { position: relative; padding: 55px; color: var(--k2k-white); background: var(--k2k-navy); }
.contact-info-panel h2 { color: var(--k2k-white); }
.contact-info-panel a { color: var(--k2k-yellow); }
.contact-form { padding: 55px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 6px; color: var(--k2k-navy); font-weight: 900; }
.form-field input, .form-field textarea, .form-field select, .search-field, .comment-form input, .comment-form textarea {
  width: 100%; padding: 15px 18px; color: var(--k2k-navy); background: var(--k2k-white); border: 1px solid #e1e2e7; border-radius: 16px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field textarea:focus, .search-field:focus, .comment-form input:focus, .comment-form textarea:focus { border-color: var(--k2k-blue); box-shadow: 0 0 0 4px rgba(81,184,223,.15); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-notice { margin-bottom: 20px; padding: 13px 17px; border-radius: 14px; }
.form-notice--success { color: #17604e; background: #dff7ef; }
.form-notice--error { color: #843040; background: #ffe5e9; }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding: 110px 0 0; color: rgba(255,255,255,.76); background: var(--k2k-navy); }
.site-footer::before { content: ""; position: absolute; top: -62px; left: -5%; width: 110%; height: 110px; background: var(--k2k-white); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 65px; }
.site-footer h3, .site-footer h4 { color: var(--k2k-white); }
.site-footer .brand-name { color: var(--k2k-white); }
.footer-about p { margin-top: 22px; font-size: .92rem; }
.footer-links, .footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-links li, .footer-contact li { margin: 10px 0; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--k2k-yellow); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a { display: grid; place-items: center; width: 42px; height: 42px; color: var(--k2k-white); background: rgba(255,255,255,.1); border-radius: 50%; text-decoration: none; }
.social-links a:hover { color: var(--k2k-navy); background: var(--k2k-yellow); transform: translateY(-3px); }
.hours-card { padding: 22px; color: var(--k2k-white); background: var(--k2k-blue); border-radius: 22px; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .86rem; border-bottom: 1px dotted rgba(255,255,255,.45); }
.hours-row:last-child { border: 0; }
.site-info { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .82rem; }
.back-to-top { position: fixed; z-index: 900; right: 22px; bottom: 22px; display: grid; place-items: center; width: 50px; height: 50px; color: var(--k2k-navy); background: var(--k2k-yellow); border: 2px dashed var(--k2k-navy); border-radius: 50%; text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Search overlay */
.search-overlay { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 30px; visibility: hidden; opacity: 0; background: rgba(20,39,95,.94); transition: .25s ease; }
.search-overlay.is-open { visibility: visible; opacity: 1; }
.search-dialog { width: min(650px, 100%); }
.search-dialog .search-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-dialog .search-field { min-height: 62px; }
.search-close { position: absolute; top: 26px; right: 28px; width: 48px; height: 48px; color: var(--k2k-white); background: transparent; border: 2px solid rgba(255,255,255,.4); border-radius: 50%; font-size: 1.6rem; }

/* Pagination */
.navigation.pagination { margin-top: 50px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; color: var(--k2k-navy); background: var(--k2k-cream); border-radius: 12px; font-weight: 900; text-decoration: none; }
.page-numbers.current, .page-numbers:hover { color: var(--k2k-navy); background: var(--k2k-yellow); }

/* Animation primitives */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal="left"] { transform: translateX(-45px); }
[data-reveal="right"] { transform: translateX(45px); }
[data-reveal].is-visible { opacity: 1; transform: translate(0,0); }
body.k2k-animation-zoom [data-reveal], [data-reveal][data-animation="zoom"] { transform: scale(.92); }
body.k2k-animation-slide [data-reveal], [data-reveal][data-animation="slide"] { transform: translateX(48px); }
[data-reveal][data-animation="none"], .k2k-animations-disabled [data-reveal] { opacity: 1; transform: none; }
[data-reveal][data-animation="zoom"].is-visible, [data-reveal][data-animation="slide"].is-visible,
body.k2k-animation-zoom [data-reveal].is-visible, body.k2k-animation-slide [data-reveal].is-visible { transform: none; }
body.k2k-speed-slow [data-reveal] { transition-duration: 1.05s; }
body.k2k-speed-fast [data-reveal] { transition-duration: .42s; }
[hidden] { display: none !important; }
@keyframes k2k-float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes k2k-pulse { 0%,100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.7); opacity: .12; } }

@media (max-width: 1120px) {
  .header-phone { display: none; }
  .main-navigation a { padding-inline: 10px; font-size: .8rem; }
  .hero-socials { display: none; }
  .offers-stage { grid-template-columns: 1fr .85fr 1fr; }
}

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 78px; }
  .custom-logo { max-height: 55px; }
  .menu-toggle { display: block; }
  .main-navigation {
    position: fixed; inset: 78px 0 auto; max-height: calc(100vh - 78px); overflow-y: auto; padding: 22px;
    visibility: hidden; opacity: 0; background: var(--k2k-white); border-top: 1px solid var(--k2k-border); transform: translateY(-18px); transition: .25s ease;
  }
  .admin-bar .main-navigation { inset-block-start: 124px; }
  .menu-open .main-navigation { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-navigation ul { display: grid; }
  .main-navigation a { padding: 13px 16px; font-size: .92rem; }
  .main-navigation .sub-menu { position: static; display: grid; margin: 4px 0 5px 20px; visibility: visible; opacity: 1; box-shadow: none; transform: none; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 80px; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-visual { min-height: 500px; }
  .hero-photo-shell { inset: 0 7% 7%; }
  .hero-badge { right: 2%; }
  .program-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card:last-child, .post-grid .post-card:last-child { grid-column: 1 / -1; }
  .split-layout, .schedule-grid, .contact-layout, .content-layout { grid-template-columns: 1fr; }
  .about-copy { order: -1; }
  .offers-stage { grid-template-columns: 1fr 1fr; }
  .offers-image { grid-column: 1 / -1; width: min(480px, 100%); margin: 0 auto 30px; order: 1; }
  .offer-column:first-child { order: 2; text-align: left; }
  .offer-column:last-child { order: 3; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-intro { position: static; }
  .testimonial-slide { grid-template-columns: 1fr; }
  .testimonial-card { display: none; }
  .testimonial-card.is-active-card { display: flex; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { display: grid; text-align: center; justify-items: center; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container, .container--wide { width: min(100% - 28px, 1180px); }
  .section { padding-block: 72px; }
  .header-actions .header-icon { display: none; }
  .brand-house { width: 41px; height: 37px; }
  .brand-name { font-size: 1.3rem; }
  .hero-inner { padding: 65px 0 100px; }
  .hero-visual { min-height: 360px; }
  .hero-photo-shell { inset: 0 0 8%; }
  .hero-badge { right: -5px; bottom: 15px; width: 112px; height: 112px; font-size: .8rem; }
  .hero-sticker--planet { font-size: 3.2rem; }
  .program-grid, .post-grid { grid-template-columns: 1fr; }
  .program-card:last-child, .post-grid .post-card:last-child { grid-column: auto; }
  .program-card { min-height: auto; padding: 29px; }
  .split-layout { gap: 45px; }
  .about-visual { padding: 14px; }
  .about-note { right: 0; }
  .offers-stage { grid-template-columns: 1fr; }
  .offers-image, .offer-column:first-child, .offer-column:last-child { grid-column: auto; }
  .offer-column { gap: 28px; }
  .stats-grid { gap: 6px; }
  .stat { padding: 14px 5px; }
  .stat-label { font-size: .85rem; }
  .schedule-item { grid-template-columns: 1fr; gap: 4px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .gallery-item:first-child, .gallery-item:nth-child(4) { grid-row: auto; grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { padding-top: 90px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info-panel, .contact-form { padding: 34px 24px; }
  .page-hero-doodle { opacity: .2; }
  .alignwide { width: 100%; margin-left: 0; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .back-to-top, .hero-socials, .cta-section { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding: 30px 0; }
}

/* ================================================================
   Kid2Kids 1.1 — richer pages, playful footer and motion details
   ================================================================ */
.site-header::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: calc(var(--scroll-progress, 0) * 1%); height: 3px;
  background: linear-gradient(90deg, var(--k2k-blue), var(--k2k-pink), var(--k2k-yellow)); transition: width .08s linear;
}
.section-action { display: flex; justify-content: center; margin-top: 44px; }
.empty-state { grid-column: 1 / -1; max-width: 720px; margin: auto; text-align: center; }
.empty-state > span { display: block; margin-bottom: 10px; font-size: 4rem; }
[data-tilt] { --tilt-x: 0deg; --tilt-y: 0deg; transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; }
[data-tilt] > * { transform: translateZ(1px); }

.joy-ticker { position: relative; z-index: 12; overflow: hidden; padding: 15px 0; color: var(--k2k-navy); background: var(--k2k-yellow); border-block: 3px dashed rgba(20,39,95,.3); font-family: var(--k2k-font-display); font-size: clamp(.9rem, 1.7vw, 1.2rem); font-weight: 900; letter-spacing: .05em; white-space: nowrap; transform: rotate(-1deg) scale(1.02); }
.joy-ticker-track { display: flex; width: max-content; animation: k2k-marquee 28s linear infinite; }
.joy-ticker-track span { padding-right: 1.4rem; }
@keyframes k2k-marquee { to { transform: translateX(-50%); } }

.program-card { background: var(--program-color, var(--k2k-blue-soft)) !important; }
.program-age { display: inline-flex; margin-bottom: 9px; padding: 4px 10px; color: var(--k2k-navy); background: rgba(255,255,255,.68); border-radius: 999px; font-size: .72rem; font-weight: 900; }
.programs-intro, .gallery-intro { max-width: 820px; margin: 0 auto 45px; text-align: center; }
.program-tabs { position: sticky; z-index: 40; top: 110px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0 auto 85px; padding: 14px; background: rgba(255,255,255,.88); border: 1px solid rgba(20,39,95,.08); border-radius: 26px; box-shadow: 0 18px 45px rgba(20,39,95,.09); backdrop-filter: blur(14px); }
.admin-bar .program-tabs { top: 142px; }
.program-tab { display: inline-flex; align-items: center; gap: 9px; padding: 12px 19px; color: var(--k2k-navy); background: var(--k2k-cream); border: 2px dashed transparent; border-radius: 17px; font-family: var(--k2k-font-display); font-weight: 900; text-decoration: none; transition: .25s ease; }
.program-tab span { font-size: 1.4rem; }
.program-tab:hover, .program-tab.is-active { color: var(--k2k-navy); background: var(--k2k-pink-soft); border-color: var(--k2k-pink); transform: translateY(-3px) rotate(-1deg); }
.program-detail-list { display: grid; gap: clamp(80px, 11vw, 150px); }
.program-detail { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(42px, 8vw, 105px); scroll-margin-top: 220px; }
.program-detail--reverse .program-detail-media { order: 2; }
.program-detail-media { position: relative; min-height: 470px; padding: 18px; background: var(--program-color); border-radius: 44px; box-shadow: var(--k2k-shadow); }
.program-detail-media::before { content: ""; position: absolute; inset: -15px 24px 24px -15px; z-index: -1; border: 2px dashed var(--k2k-pink); border-radius: 48px; }
.program-detail-media > img { width: 100%; height: 100%; min-height: 435px; object-fit: cover; border-radius: 31px; }
.program-illustration { position: absolute; inset: 18px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.35)); border-radius: 31px; }
.program-illustration > span { position: relative; z-index: 2; font-size: clamp(7rem, 14vw, 11rem); animation: k2k-float 5s ease-in-out infinite; }
.program-illustration i { position: absolute; width: 80px; height: 80px; background: var(--k2k-yellow); border-radius: 50%; opacity: .55; }
.program-illustration i:nth-child(2) { top: 8%; right: 9%; width: 105px; height: 105px; background: var(--k2k-pink); }
.program-illustration i:nth-child(3) { bottom: 6%; left: 8%; background: var(--k2k-blue); }
.program-illustration i:nth-child(4) { right: 15%; bottom: 16%; width: 34px; height: 34px; }
.program-age-badge { position: absolute; right: -22px; bottom: 35px; padding: 12px 18px; color: var(--k2k-white); background: var(--k2k-navy); border: 3px solid var(--k2k-white); border-radius: 18px; box-shadow: var(--k2k-shadow); font-family: var(--k2k-font-display); font-weight: 900; transform: rotate(-3deg); }
.program-detail-copy .entry-content { margin-bottom: 25px; }
.program-single-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 50px; align-items: start; }
.program-single-icon { display: grid; place-items: center; min-height: 330px; margin-bottom: 35px; background: linear-gradient(135deg,var(--k2k-blue-soft),var(--k2k-pink-soft)); border-radius: 30px; font-size: 9rem; }
.program-enroll-card { position: sticky; top: 130px; padding: 35px; color: var(--k2k-white); background: var(--k2k-navy); border-radius: 30px; box-shadow: var(--k2k-shadow); }
.program-enroll-card > span { display: block; font-size: 4rem; }
.program-enroll-card h2 { color: var(--k2k-white); font-size: 1.8rem; }

.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.value-card { padding: 32px 26px; background: var(--k2k-white); border: 2px dashed rgba(20,39,95,.13); border-radius: 28px; text-align: center; transition: .3s ease; }
.value-card:nth-child(2) { background: var(--k2k-blue-soft); }
.value-card:nth-child(3) { background: var(--k2k-pink-soft); }
.value-card:nth-child(4) { background: var(--k2k-yellow-soft); }
.value-card:hover { border-color: var(--k2k-pink); transform: translateY(-9px) rotate(-1deg); box-shadow: var(--k2k-shadow); }
.value-card > span { display: block; font-size: 3.3rem; transition: transform .3s ease; }
.value-card:hover > span { transform: scale(1.13) rotate(8deg); }
.value-card h3 { margin-top: 12px; font-size: 1.35rem; }

.projects-section { overflow: hidden; background: linear-gradient(180deg,var(--k2k-white),var(--k2k-cream)); }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.project-card { overflow: hidden; background: var(--project-color,var(--k2k-blue-soft)); border: 1px solid rgba(20,39,95,.07); border-radius: 30px; box-shadow: 0 15px 35px rgba(20,39,95,.08); transition: box-shadow .3s ease; }
.project-card:hover { box-shadow: var(--k2k-shadow); }
.project-card-media { display: block; overflow: hidden; aspect-ratio: 1.45; }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-card-media img { transform: scale(1.07); }
.project-card-icon { display: grid; place-items: center; min-height: 220px; background: rgba(255,255,255,.48); font-size: 6rem; }
.project-card-body { padding: 28px; }
.project-card-body h3 { font-size: 1.5rem; }

.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: -15px 0 50px; }
.gallery-filter { padding: 10px 18px; color: var(--k2k-navy); background: var(--k2k-white); border: 2px dashed var(--k2k-pink); border-radius: 999px; font-family: var(--k2k-font-display); font-weight: 900; transition: .2s ease; }
.gallery-filter:hover, .gallery-filter.is-active { background: var(--k2k-yellow); border-color: var(--k2k-yellow); transform: translateY(-2px); }
.gallery-grid--archive { grid-template-columns: repeat(3,1fr); grid-auto-rows: 300px; }
.gallery-grid--archive .gallery-item:first-child { grid-row: span 2; }
.gallery-grid--archive .gallery-item:nth-child(5n) { grid-column: span 2; }
.gallery-grid--archive .gallery-item::after { display: none; }
.gallery-caption { position: absolute; inset: auto 14px 14px; padding: 15px 17px; color: var(--k2k-white); background: rgba(20,39,95,.88); border-radius: 18px; opacity: 0; transform: translateY(12px); transition: .3s ease; backdrop-filter: blur(8px); }
.gallery-caption h3 { margin: 0; color: var(--k2k-white); font-size: 1.1rem; }
.gallery-caption p { margin: 4px 0 0; font-size: .78rem; line-height: 1.5; }
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-item.is-filtered-out { display: none; }

.blog-grid { grid-template-columns: repeat(2,1fr); }
.blog-grid .post-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 430px; }
.blog-grid .post-card:first-child .post-card-media { aspect-ratio: auto; min-height: 430px; }
.blog-grid .post-card:first-child .post-card-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px,5vw,60px); }
.blog-grid .post-card:first-child h3 { font-size: clamp(1.8rem,3vw,2.8rem); }
.contact-page-intro { max-width: 820px; margin: 0 auto 55px; text-align: center; }
.contact-layout { position: relative; box-shadow: var(--k2k-shadow); }
.contact-layout::after { content: "✎"; position: absolute; right: 25px; bottom: 12px; color: var(--k2k-pink); font-size: 5rem; opacity: .25; transform: rotate(-18deg); pointer-events: none; }
.contact-info-panel::after { content: "★"; position: absolute; right: 30px; bottom: 28px; color: var(--k2k-yellow); font-size: 4rem; opacity: .35; animation: k2k-float 5s ease-in-out infinite; }

/* The new footer starts with a floating cream/yellow invitation card. */
.site-footer--playful { overflow: visible; padding: 0; background: var(--k2k-cream); }
.site-footer--playful::before { display: none; }
.footer-clouds { position: relative; z-index: 1; height: 85px; overflow: hidden; color: var(--k2k-blue); background: var(--k2k-white); font-size: 6rem; line-height: 1; }
.footer-clouds span { position: absolute; bottom: -24px; animation: k2k-float 6s ease-in-out infinite; }
.footer-clouds span:nth-child(1) { left: 5%; }
.footer-clouds span:nth-child(2) { left: 35%; bottom: 15px; color: var(--k2k-pink); font-size: 2.8rem; animation-delay: -2s; }
.footer-clouds span:nth-child(3) { right: 6%; color: var(--k2k-pink); animation-delay: -3s; }
.footer-clouds span:nth-child(4) { right: 35%; bottom: 22px; color: var(--k2k-yellow); font-size: 2.4rem; }
.footer-join { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 45px; margin-bottom: -90px; padding: clamp(36px,5vw,62px); color: var(--k2k-navy); background: var(--k2k-yellow); border: 7px solid var(--k2k-white); border-radius: 42px; box-shadow: 0 25px 70px rgba(20,39,95,.2); }
.footer-join::before { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(20,39,95,.3); border-radius: 29px; pointer-events: none; }
.footer-join-copy { position: relative; z-index: 2; max-width: 760px; }
.footer-join-copy h2 { font-size: clamp(2rem,4vw,3.5rem); }
.footer-join-copy p { margin: 0; color: rgba(20,39,95,.72); }
.footer-join-action { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; }
.footer-join-icon { margin-top: -55px; font-size: 6.5rem; filter: drop-shadow(0 12px 12px rgba(20,39,95,.14)); animation: k2k-float 5s ease-in-out infinite; }
.footer-main { padding-top: 150px; color: rgba(255,255,255,.75); background: var(--k2k-navy); clip-path: polygon(0 4%, 16% 0, 36% 5%, 58% 1%, 79% 5%, 100% 1%, 100% 100%, 0 100%); }
.footer-brand-row { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 45px; padding-bottom: 45px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-wordmark .brand-name { color: var(--k2k-white); font-size: 2rem; }
.footer-location-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.footer-location { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: var(--k2k-navy); background: var(--k2k-blue); border-radius: 19px; text-decoration: none; transition: .25s ease; }
.footer-location--pink { background: var(--k2k-pink); }
.footer-location:hover { color: var(--k2k-navy); transform: translateY(-5px) rotate(-.5deg); }
.footer-location > span { font-size: 1.8rem; }
.footer-location small, .footer-location strong { display: block; }
.footer-location small { font-size: .68rem; font-weight: 900; text-transform: uppercase; opacity: .72; }
.footer-grid--new { grid-template-columns: 1.3fr .7fr .9fr 1fr; padding: 58px 0; }
.footer-grid--new h3, .footer-grid--new h4 { color: var(--k2k-white); }
.footer-grid--new .footer-links { padding: 0; }
.footer-grid--new .footer-links .menu { padding: 0; list-style: none; }
.footer-contact li { display: flex; gap: 9px; align-items: center; }
.footer-mini-button { display: inline-flex; margin-top: 16px; color: var(--k2k-yellow); font-family: var(--k2k-font-display); font-weight: 900; text-decoration: none; }
.site-footer--playful .site-info { padding: 22px 0; background: rgba(0,0,0,.1); }
.site-footer--playful .site-info .container { display: flex; justify-content: space-between; gap: 18px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-legal a { color: rgba(255,255,255,.72); font-size: .82rem; text-decoration: none; }
.footer-legal a:hover { color: var(--k2k-yellow); }
.projects-intro { max-width: 820px; margin: 0 auto 50px; text-align: center; }
.projects-grid--archive { grid-template-columns: repeat(3,1fr); }
.project-card-body h2 a { color: inherit; text-decoration: none; }
.project-single { max-width: 950px; margin: auto; }
.legal-content { max-width: 920px; margin: auto; }
.legal-updated { padding-bottom: 18px; border-bottom: 1px solid var(--k2k-border); font-size: .85rem; font-weight: 900; }

@media (max-width: 1000px) {
  .program-detail, .program-single-layout { grid-template-columns: 1fr; }
  .program-detail--reverse .program-detail-media { order: initial; }
  .program-enroll-card { position: static; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
  .footer-join { grid-template-columns: 1fr; text-align: center; }
  .footer-join-action { grid-template-columns: auto auto; align-items: center; }
  .footer-join-icon { margin: -25px 0 0; }
  .footer-brand-row { grid-template-columns: 1fr; }
  .footer-grid--new { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 700px) {
  .joy-ticker { transform: none; }
  .program-tabs { position: static; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-bottom: 55px; }
  .program-tab { flex: 0 0 auto; }
  .program-detail-media { min-height: 350px; }
  .program-detail-media > img { min-height: 315px; }
  .program-age-badge { right: 0; }
  .values-grid, .projects-grid, .gallery-grid--archive, .footer-location-strip, .footer-grid--new { grid-template-columns: 1fr; }
  .gallery-grid--archive .gallery-item:first-child, .gallery-grid--archive .gallery-item:nth-child(5n) { grid-row: auto; grid-column: auto; }
  .footer-join { width: calc(100% - 28px); padding: 35px 24px; }
  .footer-join-action { grid-template-columns: 1fr; }
  .footer-join-icon { display: none; }
  .footer-main { clip-path: polygon(0 2%,100% 0,100% 100%,0 100%); }
  .site-footer--playful .site-info .container { display: grid; justify-content: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid .post-card:first-child { grid-column: auto; display: block; min-height: auto; }
  .blog-grid .post-card:first-child .post-card-media { min-height: 260px; }
  .schedule-item { grid-template-columns: 70px 42px 1fr; gap: 10px; padding: 20px 16px; }
}

@media (max-width: 520px) {
  .schedule-item { grid-template-columns: 48px 1fr; }
  .schedule-item .schedule-icon { grid-row: 1 / span 2; }
  .schedule-item > div { grid-column: 1 / -1; }
  .projects-grid--archive { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .joy-ticker-track { animation: none; }
  [data-tilt] { transform: none !important; }
}

/* ================================================================
   Kid2Kids 1.3 — responsive hero, compact blog and complete footer
   ================================================================ */
.hero-visual { isolation: isolate; }
.hero-badge {
  right: auto; bottom: clamp(60px, 10%, 86px); left: clamp(18px, 5%, 52px); width: min(390px, calc(100% - 48px)); height: auto;
  min-height: 0; padding: 16px 22px; display: flex; place-items: initial; align-items: center; justify-content: flex-start; gap: 14px;
  color: var(--k2k-white); background: rgba(20,39,95,.9); border: 2px solid rgba(255,201,87,.95); border-radius: 22px;
  text-align: left; box-shadow: 0 18px 45px rgba(5,15,47,.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero-badge::after { inset: 6px; border-color: rgba(255,255,255,.38); border-radius: 15px; }
.hero-badge-spark { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; color: var(--k2k-navy); background: var(--k2k-yellow); border-radius: 15px; font-size: 1.35rem; }
.hero-badge-copy { position: relative; z-index: 1; display: grid; min-width: 0; line-height: 1.08; }
.hero-badge-copy strong { color: var(--k2k-white); font-size: clamp(.72rem,1.1vw,.9rem); letter-spacing: .09em; text-transform: uppercase; }
.hero-badge-copy span { color: var(--k2k-yellow); font-size: clamp(1.35rem,2.6vw,2.15rem); }

.joy-ticker { contain: layout paint; }
.joy-ticker-track { gap: 0; transform: translate3d(0,0,0); animation: k2k-marquee var(--ticker-duration, 28s) linear infinite; will-change: transform; backface-visibility: hidden; }
.joy-ticker-group { display: inline-flex; flex: 0 0 auto; align-items: center; padding-right: 1.4rem; }
@keyframes k2k-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(var(--ticker-shift, -50%),0,0); } }

.content-layout { grid-template-columns: minmax(0,1fr) minmax(210px,250px); align-items: start; gap: clamp(26px,3.4vw,40px); }
.content-layout > * { min-width: 0; }
.sidebar { position: sticky; top: 116px; gap: 12px; width: 100%; }
.admin-bar .sidebar { top: 148px; }
.widget { padding: 15px 16px; background: rgba(255,255,255,.94); border: 1px solid rgba(20,39,95,.075); border-radius: 16px; box-shadow: 0 8px 22px rgba(20,39,95,.045); }
.widget:empty, .widget_recent_comments, .wp-block-latest-comments { display: none !important; }
.sidebar .widget h2, .sidebar .widget .wp-block-heading, .sidebar .widget-title { position: relative; margin: 0 0 10px; padding: 0 0 8px; font-size: 1rem !important; line-height: 1.2; letter-spacing: -.02em; }
.sidebar .widget h2::after, .sidebar .widget .wp-block-heading::after, .widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: linear-gradient(90deg,var(--k2k-pink),var(--k2k-yellow)); border-radius: 99px; }
.sidebar .widget ul, .sidebar .widget ol, .sidebar .wp-block-latest-posts, .sidebar .wp-block-archives, .sidebar .wp-block-categories { margin: 0; padding: 0; list-style: none; }
.sidebar .widget li { margin: 0; padding: 6px 0; border-bottom: 1px dashed rgba(20,39,95,.11); font-size: .82rem; line-height: 1.4; }
.sidebar .widget li:last-child { padding-bottom: 0; border-bottom: 0; }
.sidebar .widget a { font-weight: 800; text-decoration-thickness: 1px; }
.sidebar .widget p, .sidebar .widget select { margin-bottom: 8px; font-size: .82rem; }
.sidebar .widget > :last-child, .sidebar .widget .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.sidebar .search-form, .sidebar .wp-block-search__inside-wrapper { display: block; margin: 0; padding: 0; border: 0; }
.sidebar .search-field, .sidebar .wp-block-search__input { width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid var(--k2k-border); border-radius: 11px; font-size: .8rem; }
.sidebar .search-submit, .sidebar .wp-block-search__button { display: none !important; }

@keyframes k2k-phone-pulse {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 8px 20px rgba(255,201,87,.28), 0 0 0 0 rgba(255,201,87,.42); }
  55% { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 8px 20px rgba(255,201,87,.28), 0 0 0 11px rgba(255,201,87,0); }
}
@keyframes k2k-phone-pulse-mobile {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 6px 16px rgba(255,201,87,.24), 0 0 0 0 rgba(255,201,87,.4); }
  55% { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 6px 16px rgba(255,201,87,.24), 0 0 0 6px rgba(255,201,87,0); }
}
.header-phone.animated-phone { animation: k2k-phone-pulse 2.4s ease-out infinite; }
.contact-card a[href^="tel:"] { display: inline-flex; padding: 5px 10px; border-radius: 12px; font-weight: 900; }

.contact-map-section { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); overflow: hidden; margin-top: 70px; background: var(--k2k-cream); border: 1px solid rgba(20,39,95,.08); border-radius: 34px; box-shadow: var(--k2k-shadow); }
.contact-map-copy { padding: clamp(30px,5vw,58px); }
.contact-map-copy p { max-width: 480px; }
.map-address { color: var(--k2k-navy); font-weight: 900; }
.contact-map-button { width: fit-content; max-width: 100%; min-height: 52px; padding: 12px 22px; text-align: center; line-height: 1.25; white-space: normal; }
.responsive-map { position: relative; min-height: 420px; overflow: hidden; background: var(--k2k-blue-soft); }
.responsive-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.footer-grid--new { grid-template-columns: 1.35fr .65fr 1fr 1fr; gap: 30px; }
.footer-panel h4 { margin-bottom: 14px; }
.footer-info-card, .hours-card { height: calc(100% - 42px); padding: 19px; color: var(--k2k-white); background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
.footer-info-card .footer-mini-button { margin-top: 13px; }
.footer-extras { display: block; padding-bottom: 42px; }
.footer-extras--full-map .footer-map-card { width: 100%; }
.footer-map-card, .consumer-card { overflow: hidden; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; }
.footer-extra-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; }
.footer-extra-heading h4, .consumer-card h4 { margin: 0; color: var(--k2k-white); }
.footer-extra-heading p { margin: 3px 0 0; font-size: .78rem; }
.footer-extra-heading a { flex: 0 0 auto; color: var(--k2k-yellow); font-size: .78rem; font-weight: 900; text-decoration: none; }
.responsive-map--footer { min-height: clamp(300px, 30vw, 430px); }
.footer-consumer-inline { margin-top: 28px; }
.footer-consumer-inline h4 { margin-bottom: 14px; color: var(--k2k-white); font-size: 1rem; }
.consumer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.consumer-badges a { display: block; color: inherit; background: transparent; text-decoration: none; transition: transform .22s ease; }
.consumer-badges a:hover { transform: translateY(-3px); }
.consumer-badges img { width: auto; max-width: 150px; height: auto; max-height: 70px; object-fit: contain; padding: 0; }
.consumer-default { display: block; min-height: 0; }
.consumer-default--sol { display: block; padding: 0; }
.consumer-default--sol img { width: auto; height: 70px; max-width: 110px; padding: 0; border-radius: 0; }
.consumer-badge-fallback { display: grid; gap: 3px; min-height: 82px; padding: 13px 15px; align-content: center; border-left: 7px solid var(--k2k-blue); }
.consumer-badge-fallback--sol { border-left-color: var(--k2k-yellow); }
.consumer-badge-fallback strong { color: var(--k2k-navy); font-family: var(--k2k-font-display); font-size: 1.15rem; }
.consumer-badge-fallback small { color: var(--k2k-text); font-size: .7rem; line-height: 1.35; }
.design-credit { color: var(--k2k-yellow); text-decoration: none; }
.design-credit:hover { color: var(--k2k-white); }

@media (max-width: 900px) {
  .header-phone { display: inline-flex; }
  .content-layout { grid-template-columns: minmax(0,1fr); }
  .sidebar { position: static; top: auto; margin-top: 8px; }
  .hero-badge { left: 8%; }
  .contact-map-section { grid-template-columns: 1fr; }
  .footer-grid--new { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-map-copy { text-align: center; }
  .contact-map-copy p { margin-inline: auto; }
}

@media (max-width: 620px) {
  .site-header { max-width: 100%; overflow-x: clip; }
  .header-inner { width: calc(100% - 20px); min-width: 0; gap: 6px; }
  .site-branding { flex: 1 1 auto; max-width: 158px; }
  .site-branding .brand-wordmark { width: 100%; gap: 7px; }
  .site-branding .brand-house { flex: 0 0 38px; width: 38px; height: 35px; border-radius: 11px 11px 13px 13px; }
  .site-branding .brand-house::before { top: -10px; left: 5px; width: 27px; height: 27px; }
  .site-branding .brand-copy { min-width: 0; max-width: 110px; }
  .site-branding .brand-name { font-size: 1.1rem; }
  .site-branding .brand-tagline { overflow: hidden; max-width: 100%; font-size: .46rem; text-overflow: ellipsis; white-space: nowrap; }
  .header-actions { min-width: 0; gap: 5px; }
  .header-phone { height: 40px; min-height: 40px; padding: 5px 8px; gap: 4px; font-size: .68rem; line-height: 1; }
  .header-phone.animated-phone { animation-name: k2k-phone-pulse-mobile; }
  .header-phone-icon { font-size: .76rem; }
  .menu-toggle { width: 42px; height: 42px; border-radius: 13px; }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after { width: 21px; }
  .hero-badge { right: 14px; bottom: 46px; left: 14px; width: auto; padding: 13px 16px; border-radius: 18px; }
  .hero-badge::after { border-radius: 12px; }
  .hero-badge-spark { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }
  .hero-badge-copy span { font-size: 1.35rem; }
  .content-area { padding-block: 64px 80px; }
  .content-card { padding: 23px 19px; border-radius: 22px; }
  .widget { padding: 17px; }
  .contact-map-section { margin-top: 45px; border-radius: 24px; }
  .contact-map-button { width: 100%; }
  .responsive-map { min-height: 300px; }
  .footer-extra-heading { display: grid; }
  .footer-extras { padding-bottom: 30px; }
  .footer-grid--new { grid-template-columns: minmax(0,1fr); }
  .footer-consumer-inline { margin-top: 24px; }
  .consumer-badges { gap: 14px; }
  .consumer-badges img { max-width: 132px; max-height: 62px; }
  .consumer-default--sol img { width: auto; height: 62px; max-width: 96px; }
}

@media (max-width: 360px) {
  .site-branding { max-width: 135px; }
  .site-branding .brand-copy { max-width: 88px; }
  .site-branding .brand-tagline { display: none; }
  .header-phone { padding-inline: 7px; font-size: .64rem; }
  .header-phone-icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .header-phone.animated-phone { animation: none; }
}
