/* ════════════════════════════════════════════════════════════════════
   MiniSite_v43 — مهدکودک و پیش‌دبستانی (Kindergarten / preschool)
   هویت: شکل‌های موج‌دار / منحنی ارگانیک — هر بخش با موج SVG جدا می‌شود،
   حباب‌های شناور، کارت‌های حبابی گرد. پالت روشن کودکانه.
   ════════════════════════════════════════════════════════════════════ */
@import url('/templates/_shared/fonts/fonts.css');

.kg-root, .kg-header, .kg-mobile, .kg-footer, .kg-fab-stack {
    --kg-sky: #38bdf8;
    --kg-sky-d: #0ea5e9;
    --kg-sun: #fbbf24;
    --kg-coral: #fb7185;
    --kg-coral-d: #f43f5e;
    --kg-mint: #34d399;
    --kg-purple: #a78bfa;
    --kg-ink: #243b53;
    --kg-muted: #5b7088;
    --kg-cream: #fff8ee;
    --kg-radius: 30px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.kg-root * { box-sizing: border-box; }

.kg-root {
    color: var(--kg-ink);
    background: #ffffff;
    overflow-x: clip;
    line-height: 2;
    font-size: 16px;
}

.page-card-shell:has(.kg-root) { background: #fff; }

.kg-container { max-width: 1180px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 2; }
.kg-container--narrow { max-width: 820px; }

/* ───────── Buttons ───────── */
.kg-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; border-radius: 50px; font-weight: 800; font-size: .98rem;
    text-decoration: none; border: none; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s;
    white-space: nowrap;
}
.kg-btn-primary { background: linear-gradient(135deg, var(--kg-coral), var(--kg-coral-d)); color: #fff; box-shadow: 0 12px 26px rgba(244,63,94,.35); }
.kg-btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 34px rgba(244,63,94,.45); color: #fff; }
.kg-btn-ghost { background: #fff; color: var(--kg-sky-d); border: 3px solid var(--kg-sky); }
.kg-btn-ghost:hover { background: var(--kg-sky); color: #fff; transform: translateY(-3px); }
.kg-btn-outline { background: #fff; color: var(--kg-coral-d); border: 3px solid var(--kg-coral); }
.kg-btn-outline:hover { background: var(--kg-coral); color: #fff; }
.kg-btn-white { background: #fff; color: var(--kg-coral-d); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.kg-btn-white:hover { transform: translateY(-3px) scale(1.02); color: var(--kg-coral-d); }
.kg-btn-white-ghost { background: rgba(255,255,255,.18); color: #fff; border: 3px solid rgba(255,255,255,.7); }
.kg-btn-white-ghost:hover { background: rgba(255,255,255,.3); color: #fff; }

/* ───────── Header ───────── */
.kg-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
    transition: box-shadow .3s, background .3s;
}
.kg-header.is-scrolled { box-shadow: 0 8px 30px rgba(36,59,83,.12); background: rgba(255,255,255,.97); }
.kg-header-inner { max-width: 1180px; margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; gap: 20px; }
.kg-logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.3rem; color: var(--kg-ink); text-decoration: none; }
.kg-logo-blob {
    width: 46px; height: 46px; display: grid; place-items: center; color: #fff; font-size: 1.2rem;
    background: linear-gradient(135deg, var(--kg-sky), var(--kg-purple));
    border-radius: 48% 52% 58% 42% / 55% 48% 52% 45%;
    animation: kgMorph 9s ease-in-out infinite;
}
.kg-logo-blob--sm { width: 38px; height: 38px; font-size: 1rem; }
@keyframes kgMorph {
    0%,100% { border-radius: 48% 52% 58% 42% / 55% 48% 52% 45%; }
    50% { border-radius: 58% 42% 45% 55% / 42% 58% 45% 55%; }
}
.kg-nav { display: flex; gap: 6px; margin-inline-start: auto; }
.kg-nav a { color: var(--kg-ink); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 9px 14px; border-radius: 50px; transition: background .2s, color .2s; }
.kg-nav a:hover { background: rgba(56,189,248,.16); color: var(--kg-sky-d); }
.kg-header-actions { display: flex; align-items: center; gap: 12px; }
.kg-nav-cta { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--kg-sun), #f59e0b); color: #5b3d00; font-weight: 800; text-decoration: none; padding: 11px 22px; border-radius: 50px; box-shadow: 0 10px 22px rgba(251,191,36,.4); transition: transform .25s; }
.kg-nav-cta:hover { transform: translateY(-2px) scale(1.03); color: #5b3d00; }
.kg-hamburger { display: none; background: var(--kg-sky); color: #fff; border: none; width: 46px; height: 46px; border-radius: 16px; font-size: 1.2rem; cursor: pointer; }

/* ───────── Mobile nav ───────── */
.kg-mobile-overlay { position: fixed; inset: 0; background: rgba(36,59,83,.5); backdrop-filter: blur(3px); z-index: 1100; opacity: 0; visibility: hidden; transition: .3s; }
.kg-mobile-overlay.active { opacity: 1; visibility: visible; }
.kg-mobile { position: fixed; top: 0; inset-inline-end: 0; width: 300px; max-width: 84vw; height: 100%; background: #fff; z-index: 1200; transform: translateX(110%); transition: transform .35s cubic-bezier(.4,0,.2,1); box-shadow: -10px 0 40px rgba(0,0,0,.16); padding: 24px; overflow-y: auto; }
.kg-mobile.active { transform: translateX(0); }
.kg-mobile-header { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.15rem; padding-bottom: 18px; border-bottom: 2px dashed #e2e8f0; margin-bottom: 16px; }
.kg-mobile-links { display: flex; flex-direction: column; gap: 6px; }
.kg-mobile-links a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; color: var(--kg-ink); text-decoration: none; font-weight: 700; }
.kg-mobile-links a i { width: 24px; text-align: center; color: var(--kg-sky-d); }
.kg-mobile-links a:hover { background: rgba(56,189,248,.14); }

/* ───────── Blobs & stickers ───────── */
.kg-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; z-index: 0; pointer-events: none; animation: kgFloat 12s ease-in-out infinite; }
.kg-blob-a { width: 340px; height: 340px; background: radial-gradient(circle at 30% 30%, #fde68a, #fbbf24); top: -90px; inset-inline-start: -90px; }
.kg-blob-b { width: 260px; height: 260px; background: radial-gradient(circle at 30% 30%, #bae6fd, #38bdf8); bottom: -60px; inset-inline-end: 6%; animation-delay: -3s; }
.kg-blob-c { width: 180px; height: 180px; background: radial-gradient(circle at 30% 30%, #fecdd3, #fb7185); top: 40%; inset-inline-end: -50px; animation-delay: -6s; }
.kg-blob-d { width: 300px; height: 300px; background: radial-gradient(circle at 30% 30%, #bae6fd, #7dd3fc); top: -70px; inset-inline-end: -80px; opacity: .4; }
.kg-blob-e { width: 280px; height: 280px; background: radial-gradient(circle at 30% 30%, #a7f3d0, #34d399); bottom: -70px; inset-inline-start: -80px; opacity: .4; animation-delay: -4s; }
.kg-blob-f { width: 240px; height: 240px; background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,.25)); top: -40px; inset-inline-start: 4%; opacity: .35; }
.kg-blob-g { width: 320px; height: 320px; background: radial-gradient(circle at 30% 30%, #fef3c7, #fcd34d); top: -80px; inset-inline-end: -60px; opacity: .45; }
.kg-blob-h { width: 300px; height: 300px; background: radial-gradient(circle at 30% 30%, #ddd6fe, #a78bfa); bottom: -60px; inset-inline-end: -60px; opacity: .35; }
@keyframes kgFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(20px,-24px) scale(1.06); }
    66% { transform: translate(-18px,16px) scale(.96); }
}
.kg-sticker { position: absolute; z-index: 1; font-size: 2rem; opacity: .85; pointer-events: none; animation: kgBob 6s ease-in-out infinite; }
.kg-sticker-1 { top: 14%; inset-inline-start: 8%; color: var(--kg-sun); }
.kg-sticker-2 { top: 24%; inset-inline-end: 6%; color: var(--kg-sky); font-size: 2.6rem; animation-delay: -2s; }
.kg-sticker-3 { bottom: 24%; inset-inline-start: 12%; color: var(--kg-coral); font-size: 2.3rem; animation-delay: -4s; }
.kg-sticker-4 { top: 30%; inset-inline-start: 10%; color: rgba(255,255,255,.85); font-size: 1.8rem; }
.kg-sticker-5 { bottom: 30%; inset-inline-end: 12%; color: rgba(255,255,255,.85); font-size: 2.2rem; animation-delay: -3s; }
@keyframes kgBob {
    0%,100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-16px) rotate(8deg); }
}

/* ───────── Wave dividers ───────── */
.kg-wave { position: absolute; inset-inline: 0; width: 100%; line-height: 0; z-index: 1; pointer-events: none; }
.kg-wave svg { width: 100%; height: 90px; display: block; }
.kg-wave-down { bottom: -1px; }
.kg-wave-up { top: -1px; }
.kg-wave-up svg { transform: scaleY(1); }
.kg-wave path { fill: #ffffff; }
/* colored fills matching the section the wave belongs to */
.kg-wave-sky path { fill: #eef9ff; }
.kg-wave-mint path { fill: #effdf6; }
.kg-wave-sun path { fill: #fffbeb; }
.kg-wave-coral path { fill: #fff1f3; }
.kg-wave-purple path { fill: #f5f3ff; }
.kg-wave-footer path { fill: var(--kg-ink); }

/* ───────── Section bases ───────── */
.kg-section { position: relative; padding: 92px 0 110px; background: #fff; }
.kg-section-sky { background: #eef9ff; }
.kg-section-mint { background: #effdf6; }
.kg-section-sun { background: #fffbeb; }

.kg-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kg-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid rgba(56,189,248,.4); color: var(--kg-sky-d); font-weight: 800; padding: 7px 18px; border-radius: 50px; font-size: .85rem; box-shadow: 0 6px 16px rgba(56,189,248,.16); }
.kg-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; margin: 18px 0 12px; color: var(--kg-ink); }
.kg-head p { color: var(--kg-muted); font-size: 1.05rem; margin: 0; }
.kg-head-light .kg-eyebrow { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); color: #fff; }
.kg-head-light h2 { color: #fff; }
.kg-head-light p { color: rgba(255,255,255,.9); }

/* ───────── Hero ───────── */
.kg-hero { position: relative; padding: 70px 0 150px; background: linear-gradient(160deg, #e0f5ff 0%, #fff4e6 55%, #ffe9ee 100%); overflow: hidden; }
.kg-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.kg-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--kg-coral-d); font-weight: 800; padding: 8px 18px; border-radius: 50px; font-size: .88rem; box-shadow: 0 8px 20px rgba(244,63,94,.18); }
.kg-hero-text h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.3; margin: 20px 0 16px; color: var(--kg-ink); }
.kg-hero-sub { font-size: 1.15rem; color: var(--kg-muted); margin: 0 0 30px; max-width: 540px; }
.kg-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.kg-hero-trust { margin-top: 26px; color: var(--kg-muted); font-weight: 600; font-size: .95rem; }
.kg-hero-trust i { color: var(--kg-coral); margin-inline-end: 6px; }

.kg-hero-visual { position: relative; }
.kg-hero-bubble {
    position: relative; aspect-ratio: 1/1; overflow: hidden;
    border-radius: 58% 42% 48% 52% / 54% 46% 54% 46%;
    box-shadow: 0 30px 70px rgba(36,59,83,.22); border: 10px solid #fff;
    animation: kgMorph 11s ease-in-out infinite;
}
.kg-hero-bubble img { width: 100%; height: 100%; object-fit: cover; }
.kg-float-card { position: absolute; background: #fff; border-radius: 22px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 40px rgba(36,59,83,.18); animation: kgBob 5s ease-in-out infinite; }
.kg-float-card i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; }
.kg-float-card strong { display: block; font-size: .95rem; color: var(--kg-ink); }
.kg-float-card span { font-size: .78rem; color: var(--kg-muted); }
.kg-float-1 { top: 8%; inset-inline-start: -28px; }
.kg-float-1 i { background: linear-gradient(135deg, var(--kg-coral), var(--kg-coral-d)); }
.kg-float-2 { bottom: 10%; inset-inline-end: -20px; animation-delay: -2.5s; }
.kg-float-2 i { background: linear-gradient(135deg, var(--kg-mint), #059669); }

/* ───────── Stats band ───────── */
.kg-stats-band { padding: 0; }
.kg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; transform: translateY(-46px); }
.kg-stat { background: #fff; border-radius: var(--kg-radius); padding: 28px 16px; text-align: center; box-shadow: 0 18px 44px rgba(36,59,83,.12); border: 3px solid #fff; }
.kg-stat-bubble { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; background: linear-gradient(135deg, var(--kg-sky), var(--kg-purple)); }
.kg-stat:nth-child(2) .kg-stat-bubble { background: linear-gradient(135deg, var(--kg-sun), #f59e0b); }
.kg-stat:nth-child(3) .kg-stat-bubble { background: linear-gradient(135deg, var(--kg-coral), var(--kg-coral-d)); }
.kg-stat:nth-child(4) .kg-stat-bubble { background: linear-gradient(135deg, var(--kg-mint), #059669); }
.kg-stat-num { font-size: 2rem; font-weight: 900; color: var(--kg-ink); }
.kg-stat-lbl { color: var(--kg-muted); font-weight: 700; font-size: .92rem; }

/* ───────── Programs (bubbly cards) ───────── */
.kg-prog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.kg-prog-card { position: relative; background: #fff; border-radius: var(--kg-radius); padding: 36px 26px 30px; text-align: center; box-shadow: 0 16px 40px rgba(36,59,83,.1); transition: transform .3s, box-shadow .3s; border: 3px solid transparent; }
.kg-prog-card:hover { transform: translateY(-8px); box-shadow: 0 26px 56px rgba(36,59,83,.16); border-color: rgba(56,189,248,.35); }
.kg-prog-icon { width: 76px; height: 76px; margin: 0 auto 18px; display: grid; place-items: center; color: #fff; font-size: 1.9rem; background: linear-gradient(135deg, var(--kg-sky), var(--kg-purple)); border-radius: 46% 54% 60% 40% / 54% 48% 52% 46%; animation: kgMorph 8s ease-in-out infinite; }
.kg-prog-card:nth-child(3n+2) .kg-prog-icon { background: linear-gradient(135deg, var(--kg-coral), var(--kg-coral-d)); }
.kg-prog-card:nth-child(3n) .kg-prog-icon { background: linear-gradient(135deg, var(--kg-sun), #f59e0b); }
.kg-prog-age { display: inline-block; background: #fff4e6; color: #b45309; font-weight: 800; font-size: .76rem; padding: 4px 14px; border-radius: 50px; margin-bottom: 10px; }
.kg-prog-card h4 { font-size: 1.2rem; font-weight: 800; margin: 0 0 10px; color: var(--kg-ink); }
.kg-prog-card p { color: var(--kg-muted); margin: 0; font-size: .95rem; }

/* ───────── Features ───────── */
.kg-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.kg-feat-card { background: #fff; border-radius: var(--kg-radius); padding: 30px 26px; box-shadow: 0 14px 36px rgba(36,59,83,.08); border: 3px solid #f1f5f9; transition: transform .3s; display: flex; gap: 18px; align-items: flex-start; }
.kg-feat-card:hover { transform: translateY(-6px); }
.kg-feat-icon { flex-shrink: 0; width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; color: var(--kg-mint); background: #ecfdf5; font-size: 1.5rem; }
.kg-feat-card h4 { font-size: 1.1rem; font-weight: 800; margin: 0 0 8px; }
.kg-feat-card p { color: var(--kg-muted); margin: 0; font-size: .93rem; }

/* ───────── Booking ───────── */
.kg-booking { position: relative; padding: 130px 0; background: linear-gradient(135deg, var(--kg-coral) 0%, var(--kg-coral-d) 100%); overflow: hidden; }
.kg-booking-head { text-align: center; max-width: 680px; margin: 0 auto 40px; color: #fff; }
.kg-booking-icon { width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: rgba(255,255,255,.2); color: #fff; }
.kg-booking-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 900; margin: 0 0 12px; }
.kg-booking-head p { color: rgba(255,255,255,.92); font-size: 1.05rem; margin: 0 0 22px; }
.kg-booking-perks { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.kg-booking-perks span { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; }
.kg-widget-shell { background: #fff; border-radius: var(--kg-radius); padding: 30px; max-width: 880px; margin: 0 auto; box-shadow: 0 30px 70px rgba(0,0,0,.25); }

/* ───────── Daily routine timeline ───────── */
.kg-daily { max-width: 760px; margin: 0 auto; position: relative; }
.kg-daily::before { content: ''; position: absolute; inset-inline-start: 31px; top: 12px; bottom: 12px; width: 4px; background: repeating-linear-gradient(to bottom, var(--kg-sun) 0 12px, transparent 12px 22px); border-radius: 4px; }
.kg-daily-item { position: relative; display: flex; gap: 22px; padding: 12px 0; align-items: center; }
.kg-daily-dot { position: relative; z-index: 2; flex-shrink: 0; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; background: linear-gradient(135deg, var(--kg-sun), #f59e0b); box-shadow: 0 10px 24px rgba(245,158,11,.35); border: 4px solid #fffbeb; }
.kg-daily-item:nth-child(3n+2) .kg-daily-dot { background: linear-gradient(135deg, var(--kg-sky), var(--kg-sky-d)); box-shadow: 0 10px 24px rgba(14,165,233,.3); }
.kg-daily-item:nth-child(3n) .kg-daily-dot { background: linear-gradient(135deg, var(--kg-mint), #059669); box-shadow: 0 10px 24px rgba(5,150,105,.3); }
.kg-daily-body { background: #fff; border-radius: 22px; padding: 16px 22px; flex: 1; box-shadow: 0 10px 28px rgba(36,59,83,.08); }
.kg-daily-time { display: inline-block; color: var(--kg-coral-d); font-weight: 800; font-size: .82rem; }
.kg-daily-body h4 { margin: 4px 0 0; font-size: 1.08rem; font-weight: 800; }

/* ───────── Gallery ───────── */
.kg-gal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.kg-gal-item { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 12px 34px rgba(36,59,83,.12); }
.kg-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.kg-gal-item:hover img { transform: scale(1.08); }
.kg-gal-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 16px 14px; color: #fff; font-weight: 800; background: linear-gradient(to top, rgba(36,59,83,.78), transparent); }

/* ───────── Benefits band ───────── */
.kg-benefits { position: relative; padding: 130px 0; background: linear-gradient(135deg, var(--kg-purple) 0%, #7c3aed 100%); overflow: hidden; }
.kg-ben-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.kg-ben-card { background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 2px solid rgba(255,255,255,.22); border-radius: var(--kg-radius); padding: 30px 26px; text-align: center; color: #fff; transition: transform .3s, background .3s; }
.kg-ben-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.22); }
.kg-ben-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: #fff; color: var(--kg-purple); }
.kg-ben-card h4 { font-size: 1.15rem; font-weight: 800; margin: 0 0 8px; }
.kg-ben-card p { color: rgba(255,255,255,.9); margin: 0; font-size: .93rem; }

/* ───────── Pricing ───────── */
.kg-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; align-items: stretch; }
.kg-plan { position: relative; background: #fff; border-radius: var(--kg-radius); padding: 36px 28px; box-shadow: 0 16px 40px rgba(36,59,83,.1); border: 3px solid #f1f5f9; display: flex; flex-direction: column; transition: transform .3s; }
.kg-plan:hover { transform: translateY(-6px); }
.kg-plan--featured { border-color: var(--kg-coral); box-shadow: 0 26px 60px rgba(244,63,94,.22); transform: scale(1.03); }
.kg-plan-badge { position: absolute; top: -15px; inset-inline-start: 50%; transform: translateX(50%); background: linear-gradient(135deg, var(--kg-coral), var(--kg-coral-d)); color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 18px; border-radius: 50px; box-shadow: 0 8px 18px rgba(244,63,94,.35); }
.kg-plan h3 { font-size: 1.3rem; font-weight: 900; margin: 0 0 14px; }
.kg-plan-price { margin-bottom: 18px; }
.kg-plan-amount { font-size: 1.7rem; font-weight: 900; color: var(--kg-coral-d); }
.kg-plan-period { color: var(--kg-muted); font-size: .9rem; margin-inline-start: 6px; }
.kg-plan-features { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.kg-plan-features li { display: flex; align-items: flex-start; gap: 10px; color: var(--kg-ink); font-size: .94rem; }
.kg-plan-features i { color: var(--kg-mint); margin-top: 6px; }
.kg-plan-note { font-size: .85rem; color: var(--kg-muted); margin: 0 0 16px; }

/* ───────── Testimonials ───────── */
.kg-test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.kg-test-card { background: #fff; border-radius: var(--kg-radius); padding: 28px 26px; box-shadow: 0 14px 36px rgba(36,59,83,.09); border: 3px solid #f1f5f9; }
.kg-test-stars { color: var(--kg-sun); margin-bottom: 12px; font-size: .95rem; }
.kg-test-text { color: var(--kg-ink); font-size: .98rem; margin: 0 0 18px; }
.kg-test-foot { display: flex; align-items: center; gap: 13px; }
.kg-test-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.kg-test-avatar--ph { display: grid; place-items: center; background: #eef9ff; color: var(--kg-sky-d); }
.kg-test-author { font-weight: 800; font-size: .98rem; }
.kg-test-role { color: var(--kg-muted); font-size: .85rem; }

/* ───────── Team ───────── */
.kg-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.kg-member { background: #fff; border-radius: var(--kg-radius); padding: 26px 20px; text-align: center; box-shadow: 0 14px 36px rgba(36,59,83,.09); transition: transform .3s; }
.kg-member:hover { transform: translateY(-6px); }
.kg-member-photo-wrap { width: 130px; height: 130px; margin: 0 auto 16px; border-radius: 56% 44% 50% 50% / 50% 50% 50% 50%; overflow: hidden; border: 6px solid #effdf6; animation: kgMorph 10s ease-in-out infinite; }
.kg-member-photo { width: 100%; height: 100%; object-fit: cover; }
.kg-member-body h4 { font-size: 1.08rem; font-weight: 800; margin: 0 0 4px; }
.kg-member-body p { color: var(--kg-muted); margin: 0; font-size: .9rem; }

/* ───────── FAQ ───────── */
.kg-faq { display: flex; flex-direction: column; gap: 14px; }
.kg-faq-item { background: #fff; border-radius: 22px; box-shadow: 0 10px 28px rgba(36,59,83,.08); overflow: hidden; border: 3px solid #f1f5f9; }
.kg-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: none; border: none; cursor: pointer; padding: 20px 24px; font-family: inherit; font-weight: 800; font-size: 1rem; color: var(--kg-ink); text-align: start; }
.kg-faq-q i { transition: transform .3s; color: var(--kg-sky-d); flex-shrink: 0; }
.kg-faq-item.is-open .kg-faq-q i { transform: rotate(180deg); }
.kg-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 24px; color: var(--kg-muted); font-size: .95rem; }
.kg-faq-item.is-open .kg-faq-a { max-height: 360px; padding: 0 24px 20px; }

/* ───────── About ───────── */
.kg-about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; }
.kg-about-img { position: relative; }
.kg-about-bubble { aspect-ratio: 4/3.4; overflow: hidden; border-radius: 56% 44% 52% 48% / 48% 52% 48% 52%; border: 10px solid #fff; box-shadow: 0 26px 60px rgba(36,59,83,.18); animation: kgMorph 12s ease-in-out infinite; }
.kg-about-bubble img { width: 100%; height: 100%; object-fit: cover; }
.kg-exp-badge { position: absolute; bottom: -14px; inset-inline-end: -14px; background: linear-gradient(135deg, var(--kg-sun), #f59e0b); color: #5b3d00; border-radius: 24px; padding: 16px 22px; text-align: center; box-shadow: 0 16px 34px rgba(245,158,11,.4); }
.kg-exp-badge .years { display: block; font-size: 1.8rem; font-weight: 900; line-height: 1; }
.kg-exp-badge .text { font-size: .8rem; font-weight: 700; }
.kg-about-text .kg-eyebrow { border-color: rgba(244,63,94,.35); color: var(--kg-coral-d); }
.kg-about-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 900; margin: 16px 0 14px; }
.kg-about-text > p { color: var(--kg-muted); font-size: 1.02rem; margin: 0 0 20px; }
.kg-about-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kg-about-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--kg-ink); font-size: .95rem; }
.kg-about-list i { color: var(--kg-mint); }

/* ───────── Contact ───────── */
.kg-ct-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; }
.kg-ct-card { background: #fff; border-radius: var(--kg-radius); padding: 32px; box-shadow: 0 16px 40px rgba(36,59,83,.1); border: 3px solid #f1f5f9; }
.kg-ct-card h3 { font-size: 1.3rem; font-weight: 900; margin: 0 0 22px; }
.kg-ct-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 2px dashed #eef2f7; }
.kg-ct-row:last-of-type { border-bottom: none; }
.kg-ct-row > i { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: #eef9ff; color: var(--kg-sky-d); font-size: 1.1rem; }
.kg-ct-lbl { font-size: .8rem; color: var(--kg-muted); font-weight: 700; }
.kg-ct-val { font-weight: 700; color: var(--kg-ink); }
.kg-ct-val a { color: var(--kg-ink); text-decoration: none; }
.kg-hours-box { margin-top: 16px; background: #fffbeb; border-radius: 18px; padding: 16px 18px; }
.kg-hours-title { font-weight: 800; color: #b45309; margin-bottom: 8px; }
.kg-h-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .9rem; border-bottom: 1px dashed #fde68a; }
.kg-h-row:last-child { border-bottom: none; }
.kg-h-row .h-day { font-weight: 700; }
.kg-h-row .h-time { color: var(--kg-muted); }
.kg-ct-socials { display: flex; gap: 10px; margin-top: 18px; }
.kg-soc { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #eef9ff; color: var(--kg-sky-d); text-decoration: none; transition: transform .25s, background .25s, color .25s; }
.kg-soc:hover { transform: translateY(-3px) scale(1.08); background: var(--kg-sky); color: #fff; }
.kg-map { border-radius: var(--kg-radius); overflow: hidden; min-height: 380px; box-shadow: 0 16px 40px rgba(36,59,83,.1); }
.kg-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ───────── CTA ───────── */
.kg-cta-section { position: relative; padding: 140px 0; background: linear-gradient(135deg, var(--kg-sun) 0%, #f59e0b 100%); overflow: hidden; }
.kg-cta { text-align: center; max-width: 720px; margin: 0 auto; color: #5b3d00; }
.kg-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; margin: 0 0 14px; }
.kg-cta p { font-size: 1.1rem; margin: 0 0 26px; color: #7c4a00; }
.kg-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ───────── Post tiles (shared widget look) ───────── */
.kg-post-tile { border-radius: var(--kg-radius) !important; overflow: hidden; box-shadow: 0 14px 36px rgba(36,59,83,.1); transition: transform .3s; }
.kg-post-tile:hover { transform: translateY(-6px); }

/* ───────── Footer ───────── */
.kg-footer { position: relative; background: var(--kg-ink); color: #cbd5e1; padding: 120px 0 0; margin-top: 0; }
.kg-footer-grid { max-width: 1180px; margin: 0 auto; padding: 0 22px 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 34px; }
.kg-footer-brand h3 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.3rem; font-weight: 900; margin: 0 0 12px; }
.kg-footer-brand p { color: #94a3b8; font-size: .92rem; }
.kg-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.kg-footer-social .kg-soc { background: rgba(255,255,255,.08); color: #fff; }
.kg-footer-social .kg-soc:hover { background: var(--kg-sky); }
.kg-footer-links h4 { color: #fff; font-size: 1rem; font-weight: 800; margin: 0 0 16px; }
.kg-footer-links a { display: block; color: #94a3b8; text-decoration: none; padding: 6px 0; font-size: .92rem; transition: color .2s; }
.kg-footer-links a:hover { color: var(--kg-sky); }
.kg-footer-news h4 { color: #fff; font-size: 1rem; font-weight: 800; margin: 0 0 12px; }
.kg-footer-news p { color: #94a3b8; font-size: .88rem; }
.kg-news-form { display: flex; gap: 8px; margin-top: 12px; }
.kg-news-form input { flex: 1; padding: 11px 16px; border-radius: 50px; border: none; background: rgba(255,255,255,.1); color: #fff; font-family: inherit; }
.kg-news-form input::placeholder { color: #94a3b8; }
.kg-news-btn { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--kg-sky), var(--kg-purple)); color: #fff; cursor: pointer; }
.kg-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 22px; text-align: center; color: #94a3b8; font-size: .85rem; }

/* ───────── FAB ───────── */
.kg-fab-stack { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.kg-fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.3rem; text-decoration: none; box-shadow: 0 10px 26px rgba(0,0,0,.22); transition: transform .25s; }
.kg-fab:hover { transform: scale(1.12); color: #fff; }
.kg-fab-wa { background: #25d366; }
.kg-fab-call { background: var(--kg-sky-d); }
.kg-fab-book { background: linear-gradient(135deg, var(--kg-coral), var(--kg-coral-d)); }

/* ───────── Responsive ───────── */
@media (max-width: 900px) {
    .kg-nav { display: none; }
    .kg-hamburger { display: grid; place-items: center; }
    .kg-nav-cta { display: none; }
    .kg-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .kg-hero-sub { margin-inline: auto; }
    .kg-hero-btns { justify-content: center; }
    .kg-hero-trust { text-align: center; }
    .kg-hero-visual { max-width: 420px; margin: 30px auto 0; }
    .kg-stats { grid-template-columns: repeat(2, 1fr); }
    .kg-about-grid { grid-template-columns: 1fr; }
    .kg-ct-grid { grid-template-columns: 1fr; }
    .kg-footer-grid { grid-template-columns: 1fr 1fr; }
    .kg-wave svg { height: 56px; }
}
@media (max-width: 560px) {
    .kg-stats { grid-template-columns: 1fr; }
    .kg-about-list { grid-template-columns: 1fr; }
    .kg-footer-grid { grid-template-columns: 1fr; }
    .kg-section { padding: 64px 0 80px; }
    .kg-feat-card { flex-direction: column; text-align: center; align-items: center; }
}


/* ===== Appointment widget — modal/calendar z-index over template layers ===== */
#bookingModal { z-index: 10050 !important; }
.modal-backdrop { z-index: 10040 !important; }
body .popover { z-index: 10060 !important; }
