:root {
    /* === Palette based on LeoBoom logo === */
    --primary: #F08B3C;          /* orange — lion / "Leo" */
    --primary-dark: #D6751F;
    --primary-soft: #FFE1C1;
    --secondary: #2FA9AC;        /* teal — "boom" / "АСТАНА" / crown */
    --secondary-dark: #1E8588;
    --secondary-soft: #C7ECEE;
    --yellow: #F5C84A;           /* sun / stars */
    --green: #7BB85F;            /* trees */
    --red: #E55B5B;              /* dots */
    --purple: #A78BFA;
    --accent: var(--secondary);

    --header-h: 84px;

    --bg: #FFF8EE;               /* warm cream */
    --bg-soft: #FFEAC8;          /* peach */
    --text: #2D3A47;             /* warm dark */
    --text-soft: #6D7B89;
    --white: #ffffff;

    --shadow: 0 20px 60px rgba(45, 58, 71, 0.08);
    --shadow-hover: 0 30px 80px rgba(45, 58, 71, 0.15);
    --radius: 24px;
    --radius-sm: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    animation: pageIn .4s ease forwards;
    padding-top: var(--header-h);
}
body.is-leaving { animation: pageOut .25s ease forwards; }
@keyframes pageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pageOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: 'Fredoka', sans-serif; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
    white-space: nowrap;
}
.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(240, 139, 60, 0.35);
}
.btn--primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(240, 139, 60, 0.45);
}
.btn--secondary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(47, 169, 172, 0.3);
}
.btn--secondary:hover {
    background: var(--secondary-dark);
    color: #fff;
    transform: translateY(-2px);
}
.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(45, 58, 71, 0.15);
}
.btn--ghost:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.btn--full { width: 100%; }
.btn--large { padding: 18px 34px; font-size: 1.05rem; }

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 248, 238, 0.88);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    z-index: 100;
    border-bottom: 1px solid rgba(45, 58, 71, 0.05);
    transition: box-shadow .3s ease, background .3s ease;
}
.header.is-scrolled {
    background: rgba(255, 248, 238, 0.96);
    box-shadow: 0 4px 20px rgba(45, 58, 71, 0.08);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    gap: 24px;
}
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__progress {
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--yellow), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .15s ease-out;
    width: 100%;
}

/* ===== Logo ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}
.logo {
    flex-shrink: 0;
}
.logo__img {
    height: 72px;
    width: auto;
    display: block;
    transition: transform .3s ease;
    filter: drop-shadow(0 4px 10px rgba(240, 139, 60, 0.18));
    object-fit: contain;
}
.logo:hover .logo__img { transform: rotate(-4deg) scale(1.05); }
.logo__text { color: var(--primary); }
.logo__text span { color: var(--secondary); }
.logo--small .logo__img { height: 58px; }

/* ===== Nav — beautiful active state ===== */
.nav {
    display: flex;
    gap: 2px;
    font-weight: 600;
    align-items: center;
    flex-wrap: nowrap;
}
.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    transition: color .2s ease, background .25s ease;
    font-size: 0.92rem;
    color: var(--text);
    white-space: nowrap;
}
/* Icons hidden on desktop — visible only inside mobile drawer */
.nav__icon { display: none; }

.nav__link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: scale(.85);
    transition: opacity .25s ease, transform .25s ease;
    z-index: -1;
}
.nav__link:hover { color: var(--primary); }
.nav__link:hover::before { opacity: 1; transform: scale(1); }
.nav__link.is-active { color: var(--primary-dark); }
.nav__link.is-active::before {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(135deg, var(--primary-soft), #FFF3E0);
}
.header__cta { gap: 8px; }
.header__cta span { font-size: 1rem; }

/* ===== Mobile overlay ===== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 58, 71, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 95;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.nav-overlay.is-visible { opacity: 1; visibility: visible; }

/* ===== Language switch ===== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--white);
    padding: 6px;
    border-radius: 999px;
    box-shadow: var(--shadow);
}
.lang-switch button,
.lang-switch a {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-soft);
    padding: 6px 12px;
    border-radius: 999px;
    transition: color .2s, background .2s;
    text-decoration: none;
}
.lang-switch button:hover,
.lang-switch a:hover { color: var(--primary); }
.lang-switch button.is-active,
.lang-switch a.is-active {
    background: var(--primary);
    color: #fff;
}
.lang-switch__sep { color: rgba(45, 58, 71, 0.15); font-weight: 700; }

/* ===== Burger ===== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.burger span {
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 50px 0 80px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.hero::before {
    content: '🎈';
    position: absolute;
    top: 12%; left: 6%;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    opacity: .85;
}
.hero::after {
    content: '⭐';
    position: absolute;
    bottom: 18%; right: 8%;
    font-size: 2.5rem;
    animation: float 5s ease-in-out infinite reverse;
    opacity: .85;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
}
.badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.hero__lead {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin: 20px 0 32px;
    max-width: 520px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__facts { display: flex; gap: 36px; list-style: none; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: var(--primary);
}
.hero__facts span { color: var(--text-soft); font-size: 0.9rem; }

.hero__visual { position: relative; height: 500px; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 50%; z-index: 0; }
.blob--1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle at 30% 30%, #FFDAB0, #F08B3C);
    top: 30px; right: 0;
    animation: morph 12s ease-in-out infinite;
    opacity: .8;
}
.blob--2 {
    width: 280px; height: 280px;
    background: radial-gradient(circle at 70% 70%, #BBEAEC, #2FA9AC);
    bottom: 0; left: 0;
    animation: morph 10s ease-in-out infinite reverse;
    opacity: .8;
}
@keyframes morph {
    0%, 100% { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
    50% { border-radius: 40% 60% 50% 50% / 50% 60% 40% 60%; }
}
.hero__logo {
    position: relative;
    z-index: 1;
    width: 88%;
    max-width: 460px;
    animation: bounce 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(45, 58, 71, 0.18));
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(8deg); }
}
.hero__card {
    position: absolute;
    background: var(--white);
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
    max-width: 250px;
    animation: float 5s ease-in-out infinite;
}
.hero__card span {
    font-size: 1.8rem;
    background: var(--bg-soft);
    padding: 10px;
    border-radius: 12px;
}
.hero__card strong {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
}
.hero__card p { font-size: 0.8rem; color: var(--text-soft); margin-top: 2px; }
.hero__card--top { top: 0; left: -40px; }
.hero__card--bottom { bottom: 0; right: -30px; animation-delay: 1.5s; }

/* ===== Inner page hero ===== */
.page-hero {
    padding: 70px 0 120px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero__inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.page-hero .eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 16px;
    background: var(--white);
    border-radius: 999px;
    box-shadow: var(--shadow);
}
.page-hero p { color: var(--text-soft); font-size: 1.1rem; margin-top: 18px; }
.page-hero__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}
.page-hero__nav a {
    background: var(--white);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform .2s, color .2s, background .25s;
    border: 2px solid transparent;
}
.page-hero__nav a:hover {
    color: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary);
}
@media (max-width: 640px) {
    .page-hero__nav { gap: 6px; }
    .page-hero__nav a { font-size: 0.82rem; padding: 8px 14px; }
}
.page-hero::before {
    content: '';
    position: absolute;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(240, 139, 60, 0.28), transparent 65%);
    top: -100px; left: -80px;
    border-radius: 50%;
    z-index: 1;
}
.page-hero::after {
    content: '';
    position: absolute;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(47, 169, 172, 0.25), transparent 65%);
    bottom: -120px; right: -80px;
    border-radius: 50%;
    z-index: 1;
}

/* Floating decorations */
.page-hero__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.page-hero__decor span {
    position: absolute;
    font-size: 2.2rem;
    opacity: .85;
    filter: drop-shadow(0 6px 12px rgba(45, 58, 71, 0.12));
    animation: floatY 6s ease-in-out infinite;
}
.page-hero__decor span:nth-child(1) { top: 14%; left: 8%;  animation-delay: 0s; }
.page-hero__decor span:nth-child(2) { top: 22%; right: 10%; animation-delay: 1.2s; font-size: 1.8rem; }
.page-hero__decor span:nth-child(3) { bottom: 28%; left: 14%; animation-delay: 2.4s; font-size: 1.7rem; }
.page-hero__decor span:nth-child(4) { bottom: 32%; right: 12%; animation-delay: 0.6s; }
.page-hero__decor span:nth-child(5) { top: 50%; left: 4%; animation-delay: 3s; font-size: 1.5rem; }
.page-hero__decor span:nth-child(6) { top: 60%; right: 6%; animation-delay: 1.8s; font-size: 1.5rem; }
@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-18px) rotate(8deg); }
}

/* Wavy bottom divider — smooth transition into next section */
.page-hero__wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    width: 100%;
    height: 80px;
    z-index: 3;
    display: block;
    pointer-events: none;
}
.page-hero__wave path { fill: var(--bg); }

@media (max-width: 640px) {
    .page-hero { padding: 60px 0 110px; }
    .page-hero__decor span { font-size: 1.6rem !important; }
    .page-hero__wave { height: 50px; }
}

/* ===== Sections ===== */
.section { padding: 70px 0; }
.section--compact { padding: 50px 0; }
.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}
.section__head p { color: var(--text-soft); font-size: 1.1rem; margin-top: 16px; }
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature__icon {
    width: 60px; height: 60px;
    border-radius: 18px;
    display: grid; place-items: center;
    font-size: 1.8rem;
    background: color-mix(in srgb, var(--c) 18%, white);
    margin-bottom: 20px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-soft); }

/* ===== Programs ===== */
.programs-section { background: var(--bg-soft); }
.programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.program {
    padding: 36px 32px;
    border-radius: var(--radius);
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform .25s;
}
.program::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}
.program:hover { transform: translateY(-6px); }
.program--orange { background: linear-gradient(135deg, #F5A45D, #E07628); }
.program--yellow { background: linear-gradient(135deg, #F5C84A, #E0A52A); }
.program--teal { background: linear-gradient(135deg, #4DC3C6, #1E8588); }
.program__age {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.program h3 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.program > p { opacity: .95; margin-bottom: 18px; }
.program ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.program ul li { padding-left: 22px; position: relative; }
.program ul li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; }
.program__link {
    display: inline-block;
    align-self: flex-start;
    color: #fff;
    font-weight: 700;
    padding: 8px 18px;
    background: rgba(255,255,255,0.25);
    border-radius: 999px;
    margin-top: 14px;
    transition: background .2s, transform .2s;
}
.program__link:hover {
    background: rgba(255,255,255,0.4);
    color: #fff;
    transform: translateX(4px);
}

/* ===== Day flow — colorful cards ===== */
.day-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.day-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: var(--shadow);
    isolation: isolate;
}
.day-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, var(--g1), var(--g2));
    opacity: .12;
    z-index: -1;
    transition: opacity .25s ease;
}
.day-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.day-card:hover::before { opacity: .22; }
.day-card::after {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: linear-gradient(140deg, var(--g1), var(--g2));
    border-radius: 50%;
    opacity: .25;
    z-index: -1;
    transition: transform .35s ease;
}
.day-card:hover::after { transform: scale(1.15) rotate(8deg); }
.day-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(140deg, var(--g1), var(--g2));
    display: grid;
    place-items: center;
    font-size: 2rem;
    box-shadow: 0 8px 18px rgba(45, 58, 71, 0.12);
    flex-shrink: 0;
}
.day-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.day-card time {
    display: inline-block;
    align-self: flex-start;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    color: #fff;
    background: linear-gradient(135deg, var(--g2), var(--g1));
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.day-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
}
.day-card p {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.45;
}

@media (max-width: 960px) {
    .day-flow { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
    .day-flow { grid-template-columns: 1fr; }
    .day-card { flex-direction: row; align-items: flex-start; }
    .day-card__icon { width: 56px; height: 56px; font-size: 1.7rem; border-radius: 16px; }
}

/* ===== Prices ===== */
.prices-section { background: var(--bg-soft); }
.prices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius);
    position: relative;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.price--featured {
    background: linear-gradient(160deg, #fff, var(--primary-soft));
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    border: 2px solid var(--primary);
}
.price--featured:hover { transform: translateY(-18px); }
.price__tag {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.price__amount {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
}
.price__amount > span { font-size: 1rem; color: var(--text-soft); font-weight: 400; }
.price__amount small { font-size: 1rem; color: var(--text-soft); font-weight: 600; }
.price ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 8px;
    flex-grow: 1;
}
.price ul li { padding-left: 26px; position: relative; color: var(--text-soft); }
.price ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.prices__note { text-align: center; color: var(--text-soft); font-size: 0.9rem; margin-top: 32px; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq__q {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 22px 26px;
    text-align: left;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq__q::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--primary);
    transition: transform .3s ease;
    flex-shrink: 0;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 26px;
    color: var(--text-soft);
}
.faq__item.is-open .faq__a { max-height: 240px; padding: 0 26px 22px; }

/* ===== Reviews ===== */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.review__stars { color: var(--yellow); font-size: 1.2rem; margin-bottom: 14px; letter-spacing: 2px; }
.review p { color: var(--text-soft); font-style: italic; margin-bottom: 18px; }
.review footer {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(45, 58, 71, 0.08);
    padding-top: 14px;
}
.review footer strong { font-family: 'Fredoka', sans-serif; }
.review footer span { color: var(--text-soft); font-size: 0.85rem; }

/* ===== Team ===== */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team__card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}
.team__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.team__photo {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
    display: grid;
    place-items: center;
    font-size: 5rem;
}
.team__info { padding: 20px; text-align: center; }
.team__info h4 { font-family: 'Fredoka', sans-serif; font-size: 1.1rem; margin-bottom: 4px; }
.team__info span { color: var(--text-soft); font-size: 0.9rem; }

/* ===== Gallery ===== */
.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.gallery__filter {
    background: var(--white);
    border: 2px solid transparent;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: var(--shadow);
}
.gallery__filter:hover { color: var(--primary); }
.gallery__filter.is-active { background: var(--primary); color: #fff; }
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 18px;
}
.gallery__item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--c1, var(--primary-soft)), var(--c2, var(--primary)));
    display: grid;
    place-items: center;
    font-size: 4rem;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s;
    box-shadow: var(--shadow);
}
.gallery__item:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item::after {
    content: attr(data-label);
    position: absolute;
    bottom: 14px; left: 16px;
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* ===== Events feed (posts grid) ===== */
.feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.post {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s;
}
.post:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.post__media {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    display: grid;
    place-items: center;
    font-size: 5.5rem;
    transition: transform .35s ease;
}
.post:hover .post__media { transform: scale(1.05); }
.post__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.post:hover .post__cover { transform: scale(1.06); }
.post__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 42, 54, 0.85) 0%, rgba(31, 42, 54, 0.35) 40%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
    opacity: 0;
    transition: opacity .25s ease;
}
.post:hover .post__overlay { opacity: 1; }
.post__date {
    font-family: ui-monospace, monospace;
    font-size: 0.78rem;
    opacity: 0.85;
    margin-bottom: 4px;
}
.post__title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.25;
}
.post__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FCAF45, #E1306C, #833AB4);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 2;
}

.post-page__embed {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}

@media (max-width: 760px) {
    .feed { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .post__media { font-size: 3.5rem; }
    .post__overlay { opacity: 1; padding: 14px; }
    .post__date { font-size: 0.7rem; }
    .post__title { font-size: 0.9rem; }
}

/* ===== Single post page ===== */
.post-page__hero {
    position: relative;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    padding: 60px 0 90px;
    color: #fff;
    overflow: hidden;
}
.post-page__hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 280px; height: 280px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}
.post-page__hero::after {
    content: '';
    position: absolute;
    bottom: -120px; left: -60px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.post-page__hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.post-page__back {
    display: inline-block;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s;
}
.post-page__back:hover { background: rgba(255, 255, 255, 0.35); color: #fff; }
.post-page__tag {
    display: inline-block;
    background: #fff;
    color: var(--text);
    padding: 5px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.post-page__hero h1 {
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.post-page__meta {
    display: flex;
    gap: 18px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-family: ui-monospace, monospace;
    font-size: 0.95rem;
}
.post-page__media {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    font-size: 12rem;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}
.post-page__media--img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 24px;
    opacity: 1;
    border: 6px solid rgba(255,255,255,0.5);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
@media (max-width: 720px) {
    .post-page__media--img { width: 130px; height: 130px; right: -10px; border-width: 4px; border-radius: 18px; }
}

.post-page__body {
    max-width: 760px;
    margin: -50px auto 0;
    background: var(--white);
    padding: 50px 50px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 3;
}
.post-page__body p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
}
.post-page__share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(45, 58, 71, 0.08);
}
.post-page__share span {
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.92rem;
    margin-right: 6px;
}
.post-page__share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    transition: transform .2s, background .2s;
}
.post-page__share-btn:hover {
    transform: translateY(-3px);
    background: var(--primary-soft);
}

/* ===== Post nav (prev/next) ===== */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 50px;
    padding: 0;
}
.post-nav__item {
    text-decoration: none;
    color: var(--text);
}
.post-nav__label {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.post-nav__item--next { text-align: right; }
.post-nav__card {
    display: flex;
    gap: 14px;
    align-items: center;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    color: #fff;
    padding: 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}
.post-nav__item:hover .post-nav__card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.post-nav__icon { font-size: 2rem; }
.post-nav__card strong {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    line-height: 1.25;
    color: #fff;
}
.post-nav__date {
    font-size: 0.78rem;
    opacity: 0.85;
    font-family: ui-monospace, monospace;
}

@media (max-width: 720px) {
    .post-page__hero { padding: 36px 0 70px; }
    .post-page__hero h1 { font-size: 1.6rem; }
    .post-page__media { font-size: 6rem; right: -10px; opacity: 0.25; }
    .post-page__body { margin: -40px 18px 0; padding: 30px 24px; }
    .post-page__body p { font-size: 1rem; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav__item--next { text-align: left; }
    .post-nav__item--next .post-nav__card { flex-direction: row-reverse; }
}

/* ===== Pager ===== */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.pager__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    transition: transform .2s, color .2s, box-shadow .2s;
    border: 2px solid transparent;
}
.pager__btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.pager__btn.is-disabled {
    color: var(--text-soft);
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
    background: transparent;
}
.pager__pages {
    display: flex;
    gap: 6px;
    align-items: center;
}
.pager__num {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    transition: transform .2s, color .2s, background .2s;
}
.pager__num:hover {
    color: var(--primary);
    transform: translateY(-2px);
}
.pager__num.is-active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(240, 139, 60, 0.4);
    cursor: default;
}
.pager__info {
    text-align: center;
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-top: 18px;
    font-family: ui-monospace, monospace;
}

@media (max-width: 600px) {
    .pager { gap: 8px; margin-top: 32px; }
    .pager__btn { padding: 10px 16px; font-size: 0.85rem; }
    .pager__num { width: 38px; height: 38px; font-size: 0.92rem; }
}

/* ===== Events ===== */
.events__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.event-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    border-top: 6px solid var(--c);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.event-card__icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--c) 15%, white);
    display: grid; place-items: center;
    font-size: 1.7rem;
}
.event-card__date {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: var(--c);
    font-size: 1.1rem;
}
.event-card__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    background: color-mix(in srgb, var(--c) 15%, white);
    color: var(--c);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.event-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
}
.event-card p { color: var(--text-soft); flex-grow: 1; }
.event-card .btn { align-self: flex-start; margin-top: 4px; }

.annual {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}
.annual__item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 22px 14px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .25s;
    position: relative;
}
.annual__item:hover { transform: translateY(-5px); }
.annual__month {
    display: inline-block;
    background: var(--c);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.annual__icon { font-size: 2rem; margin-bottom: 8px; }
.annual__item p {
    color: var(--text-soft);
    font-size: 0.85rem;
    line-height: 1.35;
}

.events__gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.events__photo {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--c1), var(--c2));
    display: grid;
    place-items: center;
    font-size: 3rem;
    box-shadow: var(--shadow);
    transition: transform .25s;
}
.events__photo:hover { transform: scale(1.04); }

@media (max-width: 960px) {
    .events__grid { grid-template-columns: 1fr; }
    .annual { grid-template-columns: repeat(3, 1fr); }
    .events__gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .annual { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Attestation — documents ===== */
.docs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.doc {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 24px 24px 28px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: transform .25s, box-shadow .25s;
    border-left: 5px solid var(--c);
    position: relative;
}
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.doc__icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--c) 15%, white);
    display: grid; place-items: center;
    font-size: 1.7rem;
    flex-shrink: 0;
}
.doc__body { flex-grow: 1; }
.doc__body h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.08rem;
    margin-bottom: 4px;
}
.doc__num {
    display: inline-block;
    background: var(--bg-soft);
    padding: 3px 10px;
    border-radius: 6px;
    font-family: ui-monospace, monospace;
    font-size: 0.78rem;
    color: var(--text-soft);
    margin-bottom: 10px;
}
.doc__body p {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.45;
}
.doc__check {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(123, 184, 95, 0.4);
}
.doc--clickable { cursor: pointer; }
.doc--clickable:hover { border-left-width: 8px; }
.doc__view {
    display: inline-block;
    margin-top: 10px;
    color: var(--c);
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform .2s;
}
.doc--clickable:hover .doc__view { transform: translateX(4px); }

/* ===== Document modal ===== */
.doc-modal {
    position: fixed;
    inset: 0;
    background: rgba(31, 42, 54, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 32px 16px;
    opacity: 0;
    transition: opacity .25s ease;
}
.doc-modal.is-open {
    display: grid;
    opacity: 1;
}
.doc-modal__inner {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 960px;
    width: 100%;
    max-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    animation: docIn .3s cubic-bezier(.2,1.3,.4,1);
    overflow: hidden;
}
@keyframes docIn {
    from { transform: scale(.85); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.doc-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid #F0E5D0;
    background: var(--bg-soft);
}
.doc-modal__title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    color: var(--text);
    margin: 0;
}
.doc-modal__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.doc-modal__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--white);
    color: var(--text);
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: var(--shadow);
    transition: transform .2s, color .2s;
}
.doc-modal__btn:hover { transform: translateY(-2px); color: var(--primary); }
.doc-modal__btn--primary {
    background: var(--primary);
    color: #fff;
}
.doc-modal__btn--primary:hover { background: var(--primary-dark); color: #fff; }
.doc-modal__close {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.doc-modal__close:hover {
    background: rgba(45, 58, 71, 0.08);
    transform: rotate(90deg);
}
.doc-modal__body {
    flex: 1;
    overflow: auto;
    background: #2D3A47;
    display: grid;
    place-items: center;
    padding: 12px;
    min-height: 60vh;
}
.doc-modal__body iframe,
.doc-modal__body object {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    border: 0;
    background: #fff;
    border-radius: 8px;
    display: block;
}
.doc-modal__body img {
    max-width: 100%;
    max-height: calc(100vh - 200px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.doc-modal__placeholder {
    color: var(--white);
    text-align: center;
    padding: 60px 24px;
}
.doc-modal__placeholder .icon { font-size: 5rem; margin-bottom: 16px; }
.doc-modal__placeholder p { font-size: 1.05rem; opacity: 0.9; }

/* PDF card shown on mobile (and as fallback on desktop) */
.doc-modal__pdf-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 22px;
    text-align: center;
    width: 100%;
    max-width: 420px;
    margin: auto;
    box-shadow: 0 18px 48px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    box-sizing: border-box;
}
.doc-modal__pdf-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: grid;
    place-items: center;
    font-size: 3rem;
    margin-bottom: 6px;
    box-shadow: 0 14px 30px rgba(240, 139, 60, 0.35);
}
.doc-modal__pdf-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.doc-modal__pdf-hint {
    color: var(--text-soft);
    font-size: 0.92rem;
    margin: 0 0 10px;
    line-height: 1.45;
}
.doc-modal__pdf-btn {
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 14px 18px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .2s, background .2s, color .2s;
}
.doc-modal__pdf-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-soft);
    color: var(--primary);
}
.doc-modal__pdf-btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(240, 139, 60, 0.35);
}
.doc-modal__pdf-btn--primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

@media (max-width: 820px) {
    .doc-modal { padding: 0; align-items: stretch; }
    .doc-modal__inner {
        max-height: 100vh;
        height: 100dvh;
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        overflow: hidden;
    }
    .doc-modal__head { padding: 12px 14px; gap: 8px; }
    .doc-modal__title {
        font-size: 0.95rem;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .doc-modal__actions { gap: 4px; flex-shrink: 0; }
    /* On mobile, hide the desktop Download/Open buttons — the PDF card has its own big buttons */
    .doc-modal__btn { display: none; }
    .doc-modal__close { width: 36px; height: 36px; font-size: 1.6rem; }
    .doc-modal__body {
        padding: 18px;
        background: var(--bg-soft);
        min-height: 0;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .doc-modal__pdf-card { padding: 26px 18px; max-width: 100%; }
    .doc-modal__pdf-icon { width: 80px; height: 80px; font-size: 2.5rem; border-radius: 20px; }
    .doc-modal__pdf-name { font-size: 1.05rem; }
    .doc-modal__pdf-hint { font-size: 0.85rem; }
}

@media (max-width: 720px) {
    .docs { grid-template-columns: 1fr; }
}

/* ===== Inspection cards ===== */
.inspect {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
}
.inspect__item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 22px 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform .25s;
    border-top: 4px solid var(--c);
}
.inspect__item:hover { transform: translateY(-4px); }
.inspect__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--c) 15%, white);
    display: grid; place-items: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.inspect__body h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    margin-bottom: 4px;
}
.inspect__body p {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .inspect { grid-template-columns: 1fr; }
}

/* ===== Story (timeline) ===== */
.story {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}
.story::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 5%;
    right: 5%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--yellow), var(--secondary), var(--green));
    border-radius: 2px;
    z-index: 0;
}
.story__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}
.story__year {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.78rem;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(240, 139, 60, 0.25);
}
.story__item:nth-child(2) .story__year { border-color: var(--yellow); color: #C9A12C; }
.story__item:nth-child(3) .story__year { border-color: var(--secondary); color: var(--secondary-dark); }
.story__item:nth-child(4) .story__year { border-color: var(--green); color: #4F8E3E; }
.story__card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    width: 100%;
    transition: transform .25s, box-shadow .25s;
}
.story__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.story__icon {
    font-size: 2rem;
    margin-bottom: 10px;
}
.story__card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.story__card p {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .story { grid-template-columns: 1fr; gap: 18px; max-width: 480px; }
    .story::before {
        top: 5%; bottom: 5%; left: 22px; right: auto;
        width: 4px; height: auto;
        background: linear-gradient(180deg, var(--primary), var(--yellow), var(--secondary), var(--green));
    }
    .story__item { flex-direction: row; align-items: flex-start; gap: 16px; text-align: left; }
    .story__year { margin-bottom: 0; flex-shrink: 0; }
}

/* ===== Approach (methodology) ===== */
.approach {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.approach__item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
    border-left: 5px solid var(--c);
}
.approach__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.approach__num {
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    color: var(--c);
    opacity: 0.15;
    line-height: 1;
}
.approach__icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--c) 15%, white);
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    margin-bottom: 18px;
}
.approach__item h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 10px;
}
.approach__item p { color: var(--text-soft); line-height: 1.55; }

@media (max-width: 720px) {
    .approach { grid-template-columns: 1fr; gap: 18px; }
    .approach__item { padding: 28px 24px; }
}

/* ===== Trust / certificates ===== */
.trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
}
.trust__item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 22px 24px;
    box-shadow: var(--shadow);
    transition: transform .25s;
    border: 2px solid transparent;
}
.trust__item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}
.trust__icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.trust__body h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.trust__body p {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .trust { grid-template-columns: 1fr; }
}

/* ===== Team — polished ===== */
.team__role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 6px;
}
.team__exp {
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1.35;
    display: block;
}

/* ===== Mission card ===== */
.mission {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    background: linear-gradient(140deg, #FFF6E8 0%, #FFE9C9 50%, #C7ECEE 100%);
    border-radius: 32px;
    padding: 64px 56px 48px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow);
    isolation: isolate;
}
.mission::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(240, 139, 60, 0.35), transparent 65%);
    border-radius: 50%;
    z-index: -1;
}
.mission::after {
    content: '';
    position: absolute;
    bottom: -140px; left: -100px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(47, 169, 172, 0.3), transparent 65%);
    border-radius: 50%;
    z-index: -1;
}
.mission__quote {
    position: absolute;
    top: 20px; left: 36px;
    font-family: 'Fredoka', sans-serif;
    font-size: 10rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.15;
    font-weight: 700;
    pointer-events: none;
}
.mission__icon {
    width: 84px; height: 84px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    box-shadow: 0 18px 30px rgba(240, 139, 60, 0.3);
    transform: rotate(-6deg);
    transition: transform .35s ease;
}
.mission:hover .mission__icon { transform: rotate(6deg) scale(1.05); }
.mission__eyebrow { margin-bottom: 14px; }
.mission__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 18px;
}
.mission__text {
    font-size: 1.15rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.55;
    font-weight: 500;
}
.mission__author {
    display: inline-block;
    color: var(--text-soft);
    font-style: italic;
    font-size: 0.95rem;
    padding-top: 18px;
    border-top: 2px solid rgba(45, 58, 71, 0.08);
}

/* ===== Stats row ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 820px;
    margin: 56px auto 0;
}
.stat {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 18px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}
.stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.stat:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.stat strong {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}
.stat span {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.3;
    display: block;
}

@media (max-width: 720px) {
    .mission { padding: 48px 28px 36px; border-radius: 24px; }
    .mission__quote { font-size: 6rem; top: 10px; left: 18px; }
    .mission__icon { width: 68px; height: 68px; font-size: 2rem; }
    .mission__text { font-size: 1rem; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat { padding: 22px 14px; }
    .stat strong { font-size: 1.9rem; }
}

/* ===== Mission / CTA banner ===== */
.banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.banner h2 { color: #fff; margin-bottom: 14px; }
.banner p { max-width: 560px; margin: 0 auto 28px; opacity: .95; font-size: 1.05rem; }
.banner::before,
.banner::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
}
.banner::before { width: 220px; height: 220px; top: -80px; left: -60px; }
.banner::after { width: 280px; height: 280px; bottom: -120px; right: -80px; }
.banner .btn { position: relative; z-index: 1; background: #fff; color: var(--primary-dark); }
.banner .btn:hover { background: var(--text); color: #fff; }

/* ===== Contacts ===== */
.contacts {
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg) 50%, var(--secondary-soft) 100%);
}
.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contacts__info p { color: var(--text-soft); font-size: 1.05rem; margin: 16px 0 28px; }
.contacts__list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.contacts__list li { display: flex; gap: 14px; align-items: center; }
.contacts__icon {
    width: 44px; height: 44px;
    background: var(--white);
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}
.contacts__list strong {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.contacts__list a, .contacts__list span { font-weight: 600; font-size: 1.05rem; }

.contacts__form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contacts__form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.contacts__form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-soft);
}
.contacts__form input,
.contacts__form select,
.contacts__form textarea {
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    padding: 13px 16px;
    border: 2px solid #F0E5D0;
    border-radius: 12px;
    background: #FBF5EA;
    transition: border-color .2s, background .2s;
    resize: vertical;
}
.contacts__form input:focus,
.contacts__form select:focus,
.contacts__form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}
.contacts__legal { font-size: 0.8rem; color: var(--text-soft); text-align: center; margin-top: 4px; }
.contacts__success {
    display: none;
    padding: 16px;
    background: #E2F4EC;
    color: #2A8E55;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}
.contacts__success.is-visible { display: block; }

/* ===== Footer ===== */
.footer { background: #1F2A36; color: #B5C2CF; padding: 70px 0 0; }
.footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer__brand .logo__text { color: var(--primary); }
.footer__brand .logo__text span { color: var(--secondary); }
.footer__brand .logo__img,
.footer__brand .logo--small .logo__img { height: 110px; }
.footer__brand .logo {
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: 18px;
    display: inline-flex;
}
.footer__brand p { margin-top: 16px; max-width: 280px; color: #8A98A7; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav h4 { color: #fff; font-family: 'Fredoka', sans-serif; margin-bottom: 8px; }
.footer__nav a, .footer__nav span { color: #B5C2CF; }
.footer__nav a:hover { color: var(--primary); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #6B7785;
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
    :root { --header-h: 78px; }
    .nav__link { padding: 7px 10px; font-size: 0.88rem; }
    .logo--small .logo__img { height: 54px; }
}
@media (max-width: 1150px) {
    :root { --header-h: 74px; }
    .nav__link { padding: 6px 8px; font-size: 0.82rem; }
    .header__inner { gap: 12px; }
    .header__cta { padding: 11px 16px; font-size: 0.88rem; }
    .logo--small .logo__img { height: 50px; }
}
@media (max-width: 1020px) {
    :root { --header-h: 70px; }
    .nav__link { padding: 5px 7px; font-size: 0.78rem; }
    .header__cta { padding: 10px 14px; font-size: 0.82rem; }
    .lang-switch button, .lang-switch a { padding: 5px 9px; font-size: 0.78rem; }
    .logo--small .logo__img { height: 46px; }
}
@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { height: 360px; order: -1; }
    .hero__logo { width: 70%; max-width: 320px; }
    .features, .programs__grid, .prices__grid, .reviews__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team { grid-template-columns: repeat(2, 1fr); }
    .contacts__inner { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .price--featured { transform: none; }
    .price--featured:hover { transform: translateY(-6px); }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
    /* Full-screen mobile drawer */
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: min(360px, 88vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 90px 22px 32px;
        box-shadow: -20px 0 60px rgba(45, 58, 71, 0.15);
        transition: right .35s cubic-bezier(.2,1.2,.4,1);
        z-index: 100;
        overflow-y: auto;
    }
    .nav.is-open { right: 0; }
    .nav__link {
        padding: 14px 18px;
        font-size: 1.05rem;
        gap: 14px;
        background: var(--bg-soft);
        border-radius: var(--radius-sm);
        justify-content: flex-start;
        animation: navItemIn .4s ease backwards;
    }
    .nav__link::before { display: none; }
    .nav__link:hover { background: var(--primary-soft); }
    .nav__link.is-active {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
    }
    .nav__icon {
        display: inline-block;
        font-size: 1.5rem;
        width: 32px;
        text-align: center;
    }
    .nav.is-open .nav__link:nth-child(1) { animation-delay: .05s; }
    .nav.is-open .nav__link:nth-child(2) { animation-delay: .10s; }
    .nav.is-open .nav__link:nth-child(3) { animation-delay: .15s; }
    .nav.is-open .nav__link:nth-child(4) { animation-delay: .20s; }
    .nav.is-open .nav__link:nth-child(5) { animation-delay: .25s; }
    .nav.is-open .nav__link:nth-child(6) { animation-delay: .30s; }
    @keyframes navItemIn {
        from { opacity: 0; transform: translateX(20px); }
        to   { opacity: 1; transform: translateX(0); }
    }
    .header__cta { display: none; }
    .burger { display: flex; position: relative; z-index: 101; }
    .burger.is-open span { background: var(--text); }
}
@media (max-width: 640px) {
    :root { --header-h: 82px; }
    .section { padding: 70px 0; }
    .header__inner { padding: 8px 16px; gap: 10px; }
    .logo__img { height: 64px; }
    .logo--small .logo__img { height: 64px; }
    .lang-switch button { padding: 5px 9px; font-size: 0.78rem; }
    .hero { padding: 20px 0 60px; }
    .hero__visual { height: 360px; margin-bottom: 20px; }
    .hero__logo { width: 95%; max-width: 360px; }
    .blob--1 { width: 280px; height: 280px; top: 20px; right: -10px; }
    .blob--2 { width: 200px; height: 200px; bottom: 0; left: -10px; }
    /* Hide floating cards on mobile — they cover the logo */
    .hero__card { display: none; }
    .badge { font-size: 0.78rem; padding: 7px 14px; white-space: nowrap; }
    .hero__facts { gap: 20px; flex-wrap: wrap; }
    .hero__facts strong { font-size: 1.6rem; }
    .features, .programs__grid, .prices__grid, .reviews__grid {
        grid-template-columns: 1fr;
    }
    .team { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 30px; }
    .timeline { padding-left: 20px; }
    .timeline__item { grid-template-columns: 70px 1fr; gap: 14px; }
    .contacts__form { padding: 24px; }
    .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    .gallery__item--wide, .gallery__item--tall { grid-column: span 1; grid-row: span 1; }
    .banner { padding: 40px 24px; }
}
@media (max-width: 380px) {
    .badge { font-size: 0.72rem; }
    h1 { font-size: 1.7rem; }
}

/* ===== Floating action buttons ===== */
.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fabSlide .6s ease .4s backwards;
}
@keyframes fabSlide {
    from { opacity: 0; transform: translateX(80px); }
    to { opacity: 1; transform: translateX(0); }
}
.fab__btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(45, 58, 71, 0.25);
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
}
.fab__btn:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 14px 30px rgba(45, 58, 71, 0.35);
    color: #fff;
}
.fab__btn--whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}
.fab__btn--phone {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.fab__btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: fabPulse 2.4s ease-out infinite;
}
.fab__btn--phone::before { animation-delay: 1.2s; }
@keyframes fabPulse {
    0% { opacity: .55; transform: scale(.85); }
    100% { opacity: 0; transform: scale(1.5); }
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(31, 42, 54, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 60px 24px;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity .25s ease;
}
.lightbox.is-open { display: grid; opacity: 1; }
.lightbox__content {
    width: min(560px, 100%);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--c1, var(--primary-soft)), var(--c2, var(--primary)));
    display: grid;
    place-items: center;
    font-size: 14rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    animation: lightboxIn .35s cubic-bezier(.2,1.3,.4,1);
}
@keyframes lightboxIn {
    from { transform: scale(.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox__label {
    position: absolute;
    bottom: 24px; left: 28px;
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.lightbox__close {
    position: absolute;
    top: 24px; right: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 0;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: background .2s, transform .2s;
    line-height: 1;
}
.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}
.gallery__item { cursor: zoom-in; }

@media (max-width: 640px) {
    .fab { bottom: 16px; right: 16px; gap: 10px; }
    .fab__btn { width: 50px; height: 50px; }
    .fab__btn svg { width: 22px; height: 22px; }
    .lightbox { padding: 50px 16px; }
    .lightbox__content { font-size: 8rem; }
    .lightbox__label { font-size: 1.2rem; bottom: 16px; left: 18px; }
}

/* ===== Instagram section ===== */
.insta {
    background: var(--bg);
    padding: 70px 0;
}
.insta__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.insta__head h2 { margin-bottom: 6px; }
.insta__head p { color: var(--text-soft); max-width: 480px; }
.insta__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.insta__item {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, var(--c1, var(--primary-soft)), var(--c2, var(--primary)));
    position: relative;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s;
    box-shadow: var(--shadow);
    display: block;
    color: #fff;
}
.insta__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.insta__icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 3.6rem;
    transition: transform .35s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
}
.insta__item:hover .insta__icon { transform: scale(1.1); }
.insta__cover {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.insta__item:hover .insta__cover { transform: scale(1.06); }
.insta__caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 42, 54, 0.85) 0%, rgba(31, 42, 54, 0.35) 45%, transparent 75%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity .25s ease;
}
.insta__item:hover .insta__caption { opacity: 1; }
.insta__date {
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    opacity: 0.85;
    margin-bottom: 4px;
}
.insta__name {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.92rem;
    line-height: 1.2;
    color: #fff;
}
.insta__brand {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px; height: 26px;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FCAF45, #E1306C, #833AB4);
    fill: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.insta__empty {
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.insta__empty-icon { font-size: 4rem; }
.insta__empty p { color: var(--text-soft); max-width: 460px; font-size: 1rem; }

@media (max-width: 640px) {
    .insta__icon { font-size: 2.8rem; }
    .insta__caption { opacity: 1; padding: 10px; }
    .insta__date { font-size: 0.65rem; }
    .insta__name { font-size: 0.78rem; }
}

@media (max-width: 960px) {
    .insta__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .insta__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .insta__head { flex-direction: column; align-items: flex-start; }
}

/* ===== Map ===== */
.map {
    margin-top: 28px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-soft);
    position: relative;
}
.map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}
.map--full {
    margin-top: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    background: var(--white);
}
.map--full iframe { height: 560px; }
.map__overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    pointer-events: none;
}
.map__card {
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 30px rgba(45, 58, 71, 0.18);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: auto;
    border-left: 4px solid var(--primary);
}
.map__card-icon {
    font-size: 1.6rem;
    background: var(--primary-soft);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
}
.map__card-text { display: flex; flex-direction: column; }
.map__card-text strong {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    color: var(--text);
}
.map__card-text span { color: var(--text-soft); font-size: 0.85rem; }

.map__link {
    display: block;
    background: linear-gradient(135deg, #00C36F, #009E5B);
    color: #fff;
    padding: 16px 18px;
    text-align: center;
    font-weight: 700;
    font-size: 1.02rem;
    transition: filter .2s;
}
.map__link:hover { filter: brightness(1.08); color: #fff; }

@media (max-width: 960px) {
    .map--full { margin-top: 40px; }
    .map--full iframe { height: 460px; }
}
@media (max-width: 640px) {
    .map--full { margin-top: 30px; }
    .map--full iframe { height: 360px; }
    .map__overlay { top: 12px; left: 12px; right: 12px; }
    .map__card { padding: 10px 12px; gap: 10px; }
    .map__card-icon { width: 38px; height: 38px; font-size: 1.3rem; }
    .map__card-text strong { font-size: 0.9rem; }
    .map__card-text span { font-size: 0.78rem; }
    .map__link { font-size: 0.9rem; padding: 14px 16px; }
}

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
