/* ═══════════════════════════════════════════════════════════
   KazaWorks — design system (light + dark)
   Follows the visitor's device setting; the sun/moon button overrides it.
   ═══════════════════════════════════════════════════════════ */

:root {
    color-scheme: light dark;
    --bg: #F6F7F5; --bg-alt: #EDF0EC; --surface: #FFFFFF; --surface-2: #E8ECE7;
    --line: rgba(11, 13, 12, .10); --line-strong: rgba(11, 13, 12, .22);
    --text: #0B0D0C; --soft: #2B312E; --muted: #4B534F; --faint: #6B726E;
    --accent: #16A34A; --accent-ink: #FFFFFF; --accent-text: #15803D; --accent-glow: rgba(22, 163, 74, .16);
    --nav-bg: rgba(246, 247, 245, .86); --chip-bg: rgba(11, 13, 12, .05);
    --grid: rgba(11, 13, 12, .045); --shadow: 0 18px 40px rgba(11, 13, 12, .14);
    --avatar: #DDE3DC; --input-bg: #FFFFFF;
    --sec-white: #FFFFFF; --sec-grey: #EDF0EC; --glow: rgba(22, 163, 74, .13); --glow-soft: rgba(22, 163, 74, .07); --band: rgba(22, 163, 74, .045); --hairline: rgba(22, 163, 74, .38);
    --map-bg: #E9EEE8; --map-grid: #DCE3DB; --map-ring: #C9D3C8; --map-road: #CED8CD; --map-river: #BFD9CC; --map-dot: #8F9992; --map-text: #4B534F; --map-label: #8A918C;
    --hero-bg: #101A14; --hero-overlay: none;
    --hero-text: #FFFFFF; --hero-soft: #F2F4F3; --hero-muted: #E4E8E6; --hero-line: rgba(255, 255, 255, .22); --hero-line-strong: rgba(255, 255, 255, .40);
    --hero-accent: #4ADE80; --hero-accent-ink: #0B0D0C; --hero-accent-text: #4ADE80; --hero-chip: rgba(255, 255, 255, .12); --hero-surface: rgba(20, 22, 21, .66);
    --hero-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 3px 22px rgba(0, 0, 0, .40); --hero-btn2-bg: #FFFFFF; --hero-btn2-ink: #0B0D0C;
    --navh-link: rgba(255, 255, 255, .92); --navh-link-hover: #FFFFFF; --navh-pill-bg: rgba(8, 12, 10, .42); --navh-pill-line: rgba(255, 255, 255, .26);
    --navh-toggle-line: rgba(255, 255, 255, .42); --navh-toggle-bg: rgba(8, 12, 10, .42); --navh-ink: #FFFFFF;
    --radius: 24px;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0B0D0C; --bg-alt: #0D100F; --surface: #121514; --surface-2: #1A1D1C;
        --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .22);
        --text: #FFFFFF; --soft: #D4D4D4; --muted: #B5B5B5; --faint: #8A8F8C;
        --accent: #4ADE80; --accent-ink: #0B0D0C; --accent-text: #4ADE80; --accent-glow: rgba(74, 222, 128, .16);
        --nav-bg: rgba(11, 13, 12, .84); --chip-bg: rgba(255, 255, 255, .05);
        --grid: rgba(255, 255, 255, .045); --shadow: 0 18px 40px rgba(0, 0, 0, .45);
        --avatar: #2A2E2C; --input-bg: #0B0D0C;
        --sec-white: #0B0D0C; --sec-grey: #131716; --glow: rgba(74, 222, 128, .12); --glow-soft: rgba(74, 222, 128, .06); --band: rgba(74, 222, 128, .035); --hairline: rgba(74, 222, 128, .34);
        --map-bg: #0D100F; --map-grid: #1C201E; --map-ring: #2A302D; --map-road: #252A27; --map-river: #14302A; --map-dot: #3A403D; --map-text: #8A8F8C; --map-label: #4A504D;
        --hero-bg: #101A14; --hero-overlay: none;
        --hero-text: #FFFFFF; --hero-soft: #E5E8E6; --hero-muted: #C9D0CC; --hero-line: rgba(255, 255, 255, .16); --hero-line-strong: rgba(255, 255, 255, .34);
        --hero-accent: #4ADE80; --hero-accent-ink: #0B0D0C; --hero-accent-text: #4ADE80; --hero-chip: rgba(255, 255, 255, .08); --hero-surface: rgba(20, 22, 21, .74);
        --hero-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 3px 22px rgba(0, 0, 0, .40); --hero-btn2-bg: #FFFFFF; --hero-btn2-ink: #0B0D0C;
        --navh-link: rgba(255, 255, 255, .85); --navh-link-hover: #FFFFFF; --navh-pill-bg: rgba(8, 12, 10, .42); --navh-pill-line: rgba(255, 255, 255, .2);
        --navh-toggle-line: rgba(255, 255, 255, .35); --navh-toggle-bg: rgba(8, 12, 10, .42); --navh-ink: #FFFFFF;
    }
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0B0D0C; --bg-alt: #0D100F; --surface: #121514; --surface-2: #1A1D1C;
    --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .22);
    --text: #FFFFFF; --soft: #D4D4D4; --muted: #B5B5B5; --faint: #8A8F8C;
    --accent: #4ADE80; --accent-ink: #0B0D0C; --accent-text: #4ADE80; --accent-glow: rgba(74, 222, 128, .16);
    --nav-bg: rgba(11, 13, 12, .84); --chip-bg: rgba(255, 255, 255, .05);
    --grid: rgba(255, 255, 255, .045); --shadow: 0 18px 40px rgba(0, 0, 0, .45);
    --avatar: #2A2E2C; --input-bg: #0B0D0C;
    --sec-white: #0B0D0C; --sec-grey: #131716; --glow: rgba(74, 222, 128, .12); --glow-soft: rgba(74, 222, 128, .06); --band: rgba(74, 222, 128, .035); --hairline: rgba(74, 222, 128, .34);
    --map-bg: #0D100F; --map-grid: #1C201E; --map-ring: #2A302D; --map-road: #252A27; --map-river: #14302A; --map-dot: #3A403D; --map-text: #8A8F8C; --map-label: #4A504D;
    --hero-bg: #101A14; --hero-overlay: none;
    --hero-text: #FFFFFF; --hero-soft: #E5E8E6; --hero-muted: #C9D0CC; --hero-line: rgba(255, 255, 255, .16); --hero-line-strong: rgba(255, 255, 255, .34);
    --hero-accent: #4ADE80; --hero-accent-ink: #0B0D0C; --hero-accent-text: #4ADE80; --hero-chip: rgba(255, 255, 255, .08); --hero-surface: rgba(20, 22, 21, .74);
    --hero-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 3px 22px rgba(0, 0, 0, .40); --hero-btn2-bg: #FFFFFF; --hero-btn2-ink: #0B0D0C;
    --navh-link: rgba(255, 255, 255, .85); --navh-link-hover: #FFFFFF; --navh-pill-bg: rgba(8, 12, 10, .42); --navh-pill-line: rgba(255, 255, 255, .2);
    --navh-toggle-line: rgba(255, 255, 255, .35); --navh-toggle-bg: rgba(8, 12, 10, .42); --navh-ink: #FFFFFF;
}

:root[data-theme="light"] { color-scheme: light; }

/* ── Base ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.kb {
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    /* soft green light drifting down the page, left and right, over a fine grid */
    background-image:
        radial-gradient(900px 700px at 100% 3%, var(--glow), transparent 70%),
        radial-gradient(800px 700px at 0% 14%, var(--glow-soft), transparent 70%),
        radial-gradient(900px 700px at 100% 28%, var(--glow), transparent 70%),
        radial-gradient(800px 700px at 0% 44%, var(--glow-soft), transparent 70%),
        radial-gradient(900px 700px at 100% 60%, var(--glow), transparent 70%),
        radial-gradient(800px 700px at 0% 77%, var(--glow-soft), transparent 70%),
        radial-gradient(900px 700px at 100% 96%, var(--glow), transparent 70%),
        linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: auto, auto, auto, auto, auto, auto, auto, 72px 72px, 72px 72px;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
    overflow-x: hidden;
    transition: background-color .3s ease, color .3s ease;
}
h1, h2, h3, h4 { font-family: Sora, system-ui, sans-serif; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
a { color: inherit; text-decoration-color: var(--accent); }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: 84px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.sec { padding: 90px 0; position: relative; }
/* sections alternate white and grey */
.sec.band-white { background: var(--sec-white); }
.sec.band-grey { background: var(--sec-grey); }
/* a thin green line that fades out at both ends marks the start of each section */
.sec::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(1100px, 88%); height: 1px; background: linear-gradient(90deg, transparent, var(--hairline), transparent); pointer-events: none; }
.eyebrow { display: block; font-size: 13px; color: var(--accent-text); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.04em; }
.lead { color: var(--muted); font-size: 17px; max-width: 40rem; margin-top: 12px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
    transition: transform .15s ease, filter .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-white { background: #FFFFFF; color: #0B0D0C; }
.hero .btn-white { background: var(--hero-btn2-bg); color: var(--hero-btn2-ink); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.chip { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.toggle-group { display: inline-flex; gap: 4px; background: var(--chip-bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.toggle-group button { padding: 9px 18px; min-height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s ease; }
.toggle-group button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.pill-opt { padding: 8px 14px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s ease; }
.pill-opt[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ── Menu ── */
.site-nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background .3s ease, border-color .3s ease; }
.nav-progress { display: none; }   /* the green scroll "loading" line under the menu was removed */
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.nav-pill { display: flex; align-items: center; gap: 2px; background: var(--chip-bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.nav-pill a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: background .2s ease, color .2s ease; white-space: nowrap; }
.nav-pill a:hover, .nav-pill a.active { background: var(--chip-bg); color: var(--text); }
.nav-pill .nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 10px 20px; }
.theme-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--chip-bg); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease, transform .15s ease; }
.theme-toggle:hover { transform: rotate(18deg); }
.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
    :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer; }
.nav-burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s ease; }
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Homepage: the menu starts transparent over the video, then turns solid */
body.has-hero .site-nav:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; position: fixed; left: 0; right: 0; }
body.has-hero .site-nav:not(.scrolled) .nav-pill a { color: var(--navh-link); }
body.has-hero .site-nav:not(.scrolled) .nav-pill a:hover { color: var(--navh-link-hover); }
body.has-hero .site-nav:not(.scrolled) .nav-pill { background: var(--navh-pill-bg); border-color: var(--navh-pill-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.has-hero .site-nav:not(.scrolled) .theme-toggle { color: var(--navh-link-hover); border-color: var(--navh-toggle-line); background: var(--navh-toggle-bg); }
body.has-hero .site-nav:not(.scrolled) .nav-burger { border-color: var(--navh-toggle-line); }
body.has-hero .site-nav:not(.scrolled) .nav-burger span { background: var(--navh-link-hover); }
body.has-hero .site-nav { position: fixed; left: 0; right: 0; top: 0; }

/* ── Animated logo (draws once on load, replays on hover) ── */
.kz-logo { display: inline-block; line-height: 0; --logo-ink: var(--accent-text); }
.kz-logo svg { display: block; height: 52px; width: auto; overflow: visible; }
.kz-logo .band, .kz-logo .zdiag { fill: none; stroke: var(--logo-ink); stroke-width: 25; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s ease; }
.kz-logo .works path, .kz-logo .works rect { fill: none; stroke: var(--logo-ink); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s ease; }
.kz-logo .dot { fill: var(--logo-ink); transition: fill .35s ease; }
.kz-logo .sheen { transform: translateX(-260px); opacity: 0; }
.kz-logo.play .band { stroke-dasharray: 1; animation: kz-draw 1.9s cubic-bezier(.65, 0, .35, 1) .2s both; }
.kz-logo.play .zdiag { stroke-dasharray: 1; animation: kz-draw .45s cubic-bezier(.5, 0, .3, 1) 1.85s both; }
.kz-logo.play .mark { transform-origin: 320px 290px; animation: kz-settle .7s cubic-bezier(.3, 1.6, .5, 1) 2.25s both; }
.kz-logo.play .works > * { stroke-dasharray: 1; animation: kz-draw .55s ease-out both; }
.kz-logo.play .works > :nth-child(1) { animation-delay: 2.45s; }
.kz-logo.play .works > :nth-child(2) { animation-delay: 2.55s; }
.kz-logo.play .works > :nth-child(3) { animation-delay: 2.65s; }
.kz-logo.play .works > :nth-child(4) { animation-delay: 2.75s; }
.kz-logo.play .works > :nth-child(5) { animation-delay: 2.85s; }
.kz-logo.play .works > :nth-child(6) { animation-delay: 2.95s; }
.kz-logo.play .works > :nth-child(7) { animation-delay: 3.05s; }
.kz-logo.play .dot { transform-box: fill-box; transform-origin: center; animation: kz-pop .45s cubic-bezier(.3, 1.8, .5, 1) both; }
.kz-logo.play .dot.l { animation-delay: 3.25s; }
.kz-logo.play .dot.r { animation-delay: 3.35s; }
.kz-logo.play .sheen { animation: kz-sheen 1.1s ease-in-out 3.5s both; }
@keyframes kz-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes kz-settle { 0% { transform: scale(1); } 40% { transform: scale(1.035); } 100% { transform: scale(1); } }
@keyframes kz-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes kz-sheen { 0% { transform: translateX(-260px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(560px); opacity: 0; } }
body.has-hero .site-nav:not(.scrolled) .kz-logo { --logo-ink: var(--navh-ink); }

/* ── Hero (video on laptops, still photo on phones). Dark theme: dark tint, white text. Light theme: soft white wash, dark text. ── */
.hero {
    position: relative; overflow: hidden; color: var(--hero-text);
    min-height: 100vh; min-height: 100svh; padding: 120px 0 64px; background: var(--hero-bg);
    display: flex; align-items: center;
    --text: var(--hero-text); --muted: var(--hero-muted); --soft: var(--hero-soft); --line: var(--hero-line); --line-strong: var(--hero-line-strong);
    --accent: var(--hero-accent); --accent-ink: var(--hero-accent-ink); --accent-text: var(--hero-accent-text); --chip-bg: var(--hero-chip); --surface: var(--hero-surface);
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-poster, .hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-vid { opacity: 0; transition: opacity 1.2s ease; }
.hero-vid.ready { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: var(--hero-overlay); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; width: 100%; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.hero-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: kb-pulse 2s ease-in-out infinite; }
@keyframes kb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 { font-size: clamp(38px, 5.6vw, 82px); line-height: 1.02; letter-spacing: -0.045em; text-shadow: var(--hero-shadow); animation: kz-fade 1.1s ease .2s both; }
.hero-lead { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.6; color: var(--hero-text); max-width: 40rem; animation: kz-fade-up 1s ease .4s both; }
.hero-lead .rot-window { display: inline-block; vertical-align: bottom; height: 1.6em; overflow: hidden; color: var(--accent-text); font-weight: 600; }
.hero-lead .rot-list { display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.7, 0, .2, 1); }
.hero-lead .rot-list span { height: 1.6em; line-height: 1.6em; white-space: nowrap; }
.hero-lead.build { animation: none; }
.hero-lead.build .w { display: inline-block; opacity: 0; transform: translateY(.55em); filter: blur(5px); }
.hero-lead.build.go .w { opacity: 1; transform: none; filter: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), filter .7s ease; transition-delay: calc(var(--i) * 45ms + 500ms); }
.hero-lead.build .rot-window { opacity: 0; }
.hero-lead.build.go .rot-window { opacity: 1; transition: opacity .8s ease; transition-delay: calc(var(--n) * 45ms + 650ms); }
.hero-eyebrow, .hero-lead, .hero-stats { text-shadow: var(--hero-shadow); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; animation: kz-fade-up 1s ease .65s both; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 6px; }
.hero-stats .stat strong { display: block; font-family: Sora, sans-serif; font-size: 30px; font-weight: 600; line-height: 1.1; }
.hero-stats .stat strong small { font-size: 15px; color: var(--muted); font-weight: 400; }
.hero-stats .stat span { font-size: 13px; color: var(--muted); }
@keyframes kz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kz-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.glass { background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); }
.quiz { border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 18px; animation: kz-fade-up 1s ease .8s both; }
.quiz h2 { font-size: 20px; letter-spacing: -0.02em; }
.quiz-row { display: flex; flex-direction: column; gap: 8px; }
.quiz-row > span { font-size: 13px; color: var(--muted); }
.quiz-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.quiz-result { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.quiz-result small { display: block; font-size: 13px; color: var(--muted); }
.quiz-result .q-name { font-family: Sora, sans-serif; font-size: 20px; font-weight: 600; }
.quiz-result .q-price { font-family: Sora, sans-serif; font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1.1; text-align: right; }
.quiz-cta { width: 100%; }
.q-alt { display: block; margin-top: -6px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 14px; font-size: 13px; color: var(--muted); text-decoration: none; line-height: 1.4; }
.q-alt[hidden] { display: none; }
.q-alt strong { color: var(--text); font-weight: 600; }
.q-alt:hover strong, .q-alt:focus-visible strong { color: var(--accent-text); }
.hero-pause { position: absolute; right: 24px; bottom: 20px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .35); color: #FFFFFF; font-size: 12px; cursor: pointer; transition: background .2s ease; }
.hero-pause:hover { background: var(--accent); border-color: var(--accent); color: #0B0D0C; }

/* ── Ticker ── */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; font-family: Sora, sans-serif; font-weight: 600; font-size: 22px; white-space: nowrap; color: var(--soft); background: var(--bg); }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: kb-scroll 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 56px; }
.ticker-track span::after { content: '✦'; color: var(--accent-text); }
@keyframes kb-scroll { to { transform: translateX(-50%); } }

/* ── About + video ── */
.about { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about .sec-head { margin-bottom: 40px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-text p { font-size: 1.15rem; line-height: 1.85; color: var(--soft); }
.about-text p + p { margin-top: 1rem; }
.yt-embed { position: relative; aspect-ratio: 16 / 9; background: #0b130e; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.yt-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.yt-play:hover img { transform: scale(1.03); filter: brightness(.85); }
.yt-btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; padding-left: 5px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .25s ease; }
.yt-play:hover .yt-btn, .yt-play:focus-visible .yt-btn { transform: scale(1.1); }
.yt-fallback { position: absolute; left: 1rem; bottom: 1rem; color: #FFFFFF; }

.facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }

/* ── Explore the floor: the photo grid ── */
.g-grid { column-width: 260px; column-gap: 14px; }
.g-item { display: block; position: relative; margin-bottom: 14px; break-inside: avoid; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.g-item[hidden] { display: none; }
.g-item img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.g-item:hover img { transform: scale(1.06); }
.g-grid.g-preview { column-width: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.g-grid.g-preview .g-item { margin-bottom: 0; aspect-ratio: 4 / 3; }
.g-grid.g-preview .g-item img { height: 100%; object-fit: cover; }
.g-more { text-align: center; margin-top: 28px; }
.g-more button[hidden] { display: none; }
.g-empty { color: var(--muted); font-size: 17px; padding: 48px 0; text-align: center; border: 1px dashed var(--line-strong); border-radius: 24px; }
.g-empty[hidden] { display: none; }
#gallery { scroll-margin-top: 70px; }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .93); z-index: 3000; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 90vw; text-align: center; color: #FFFFFF; }
.lb-figure img { max-width: 90vw; max-height: 80vh; width: auto; height: auto; border-radius: 8px; }
.lb-figure figcaption { margin-top: .8rem; font-size: .95rem; opacity: .85; min-height: 1.4em; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255, 255, 255, .12); color: #FFFFFF; border: none; cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 1.3rem; line-height: 1; transition: background .2s ease; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--accent); color: #0B0D0C; }
.lb-close { top: 1.2rem; right: 1.2rem; font-size: 1.8rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ── Pricing ── */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plan-grid { grid-template-columns: 1fr; } }
.plan { border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--accent); background: var(--surface); box-shadow: 0 0 0 1px var(--accent), 0 14px 40px var(--accent-glow); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--accent), 0 22px 56px var(--accent-glow); }
.plan.fit { box-shadow: 0 0 0 1px var(--accent), 0 18px 50px var(--accent-glow); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.plan h3 { font-size: 21px; }
.plan .who { font-size: 14px; color: var(--muted); margin-top: 2px; }
.fit-badge { background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.plan-price { font-family: Sora, sans-serif; font-size: 46px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan-price small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan-etb { font-size: 13px; color: var(--muted); margin-top: -10px; min-height: 1.2em; }
.plan-perks { list-style: none; font-size: 14px; color: var(--soft); display: flex; flex-direction: column; gap: 7px; flex-grow: 1; }
.plan-perks li { display: flex; gap: 10px; }
.plan-perks li::before { content: '✓'; color: var(--accent-text); }
.plan .btn { width: 100%; }
.plan-note { color: var(--muted); font-size: 15px; margin-top: 22px; }

/* ── Services & amenities, Why KazaWorks ── */
.amen-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.amen-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-weight: 600; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.amen-grid li:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 36px var(--accent-glow); }
.amen-grid i { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--chip-bg, var(--surface-2)); color: var(--accent-text); font-size: 18px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why { padding: 28px 24px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--accent), 0 14px 40px var(--accent-glow); }
.why i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); color: var(--accent-text); font-size: 20px; margin-bottom: 18px; }
.why h3 { font-size: 20px; margin-bottom: 8px; }
.why p { color: var(--soft); font-size: 15px; line-height: 1.65; }
@media (max-width: 1000px) { .amen-grid, .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .amen-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .amen-grid li { padding: 14px; gap: 10px; font-size: 14px; } .amen-grid i { width: 36px; height: 36px; } .why-grid { grid-template-columns: 1fr; } }

/* ── Boardrooms calculator ── */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 48px; align-items: center; }
.room-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 22px; }
.room-pick { text-align: left; border: 1px solid var(--line-strong); border-radius: 20px; padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; background: var(--chip-bg); transition: all .2s ease; }
.room-pick strong { font-family: Sora, sans-serif; font-size: 18px; font-weight: 600; }
.room-pick span { font-size: 14px; color: var(--muted); }
.room-pick .pick-note { color: var(--accent-text); font-weight: 600; font-size: 13px; }
.room-pick[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-glow); box-shadow: 0 0 0 1px var(--accent); }
.chairs { display: flex; gap: 6px; align-items: flex-end; height: 64px; margin-top: 22px; flex-wrap: wrap; align-content: flex-end; overflow: hidden; }
.chairs span { width: 22px; border-radius: 6px 6px 3px 3px; background: var(--accent); height: 100%; transition: all .3s ease; }
.chairs span.off { background: var(--chip-bg); border: 1px solid var(--line); height: 60%; }
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 26px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; font-size: 22px; cursor: pointer; transition: transform .15s ease, background .2s ease; }
.stepper button:hover { background: var(--chip-bg); transform: translateY(-2px); }
.stepper output { font-family: Sora, sans-serif; font-size: 36px; font-weight: 600; min-width: 70px; text-align: center; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: transparent; border: 0; padding: 0; cursor: pointer; font-size: 16px; font-weight: 600; text-align: left; min-height: 44px; width: 100%; }
.switch-row small { color: var(--muted); font-weight: 400; font-size: inherit; }
.switch { width: 52px; height: 30px; border-radius: 999px; position: relative; flex-shrink: 0; transition: background .2s ease; background: var(--line-strong); }
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; transition: transform .2s ease; }
.switch-row[aria-pressed="true"] .switch { background: var(--accent); }
.switch-row[aria-pressed="true"] .switch::after { transform: translateX(22px); }
.calc-total { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.calc-total > span { font-size: 14px; color: var(--muted); }
.calc-total .amount { font-family: Sora, sans-serif; font-size: clamp(44px, 5vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--accent-text); }
.calc-total .amount small { font-size: 22px; color: var(--text); letter-spacing: 0; }

/* ── Event space card ── */
.event-plan { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.event-plan p { margin-bottom: 0; }
.event-plan p { color: var(--soft); max-width: 36rem; margin-top: 18px; }
.event-plan .facts { margin-top: 18px; padding-top: 0; }
.event-cta { display: flex; flex-direction: column; gap: 12px; }
.event-cta .price { font-family: Sora, sans-serif; font-size: 26px; font-weight: 600; }
.event-cta .price small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); font-family: Inter, sans-serif; }
.event-plan.has-video { grid-template-columns: 1fr 240px; }
.event-video { width: 100%; max-width: 240px; justify-self: end; }
.yt-portrait { position: relative; aspect-ratio: 9 / 16; background: #0b130e; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.yt-portrait iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.event-plan.has-video .event-cta { margin-top: 28px; flex-direction: row; flex-wrap: wrap; align-items: center; }
.event-plan.has-video .event-cta .price { flex-basis: 100%; }

/* ── Members & clients logos (all at once, not clickable) ── */
.partners { border-top: 1px solid var(--line); background: transparent; }
.partners[hidden], .blog[hidden], .reviews[hidden] { display: none; }
.partners .h2 { text-align: center; font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 44px; }
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 44px; }
.partner { flex: none; width: 160px; height: 76px; display: flex; align-items: center; justify-content: center; }
.partner img { max-width: 100%; max-height: 100%; object-fit: contain; background: #FFFFFF; border-radius: 10px; padding: 8px; }

/* ── Reviews ── */
.reviews { background: transparent; }
.rating-badge { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; transition: transform .2s ease, border-color .2s ease; }
.rating-badge:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.rating-badge .stars { color: #FBBF24; letter-spacing: 2px; }
.rating-badge strong { font-family: Sora, sans-serif; font-size: 20px; }
.rating-badge span { color: var(--muted); font-size: 14px; }
.quote-feature { border-radius: 32px; background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 26px; }
.quote-feature blockquote { font-family: Sora, sans-serif; font-size: clamp(22px, 2.8vw, 36px); line-height: 1.3; letter-spacing: -0.025em; font-weight: 400; }
.quote-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.who { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--avatar); display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.who strong { display: block; }
.who span { display: block; color: var(--muted); font-size: 14px; }
.quote-ctrl { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 6px; }
.dots i { height: 8px; width: 8px; border-radius: 999px; background: var(--line-strong); transition: all .3s ease; }
.dots i.on { width: 26px; background: var(--accent); }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; font-size: 18px; cursor: pointer; transition: transform .15s ease; }
.round-btn:hover { transform: translateY(-2px); }
.round-btn.fill { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; margin-top: 16px; }
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; transition: transform .25s ease, border-color .25s ease; }
.quote-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.quote-card .tag { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--accent-text); border: 1px solid var(--accent-text); border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }
.quote-card blockquote { font-size: 17px; line-height: 1.5; }
.quote-card .avatar { width: 40px; height: 40px; font-size: 14px; }

/* ── Blog (homepage + blog pages) ── */
.blog { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.blog-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 18px; min-height: 48px; width: 320px; max-width: 100%; }
.blog-search input { flex-grow: 1; background: transparent; border: 0; color: var(--text); outline: none; min-width: 0; font: inherit; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
.blog-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.blog-card-media { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.blog-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.blog-card:hover .blog-card-media img { transform: scale(1.08); }
.blog-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--accent-text); }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.blog-meta { font-size: 13px; color: var(--accent-text); font-weight: 600; }
.blog-card-body h2, .blog-card-body h3 { font-size: 20px; line-height: 1.25; }
.blog-card-body h2 a, .blog-card-body h3 a { text-decoration: none; }
.blog-card-body p { color: var(--muted); font-size: 15px; }
.read-more { margin-top: auto; padding-top: 10px; color: var(--accent-text); font-weight: 600; text-decoration: none; font-size: 14px; }
.blog-empty { display: none; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); margin-top: 16px; }
.blog-more { text-align: center; margin-top: 24px; }

/* ── FAQ ── */
.faq .wrap { max-width: 860px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq .faq-list { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent-text); font-size: 26px; line-height: 1; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }
.faq details p a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── Location map ── */
.location { position: relative; overflow: hidden; padding: 110px 0; min-height: 760px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--map-bg); display: flex; align-items: center; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-svg .m-grid { stroke: var(--map-grid); stroke-width: 1; fill: none; }
.map-svg .m-dist { fill: none; stroke: var(--map-ring); stroke-width: 2; stroke-dasharray: 4 9; stroke-linecap: round; }
.map-svg .m-ringlabel { fill: var(--map-label); font-family: Inter, sans-serif; font-size: 12px; letter-spacing: .04em; }
.map-svg .m-north path { fill: var(--map-text); }
.map-svg .m-north text { fill: var(--map-text); font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; }
.map-svg .m-scale path { fill: none; stroke: var(--map-text); stroke-width: 2; stroke-linecap: round; }
.map-svg .m-scale text { fill: var(--map-text); font-family: Inter, sans-serif; font-size: 12px; }
.map-svg .lm circle { fill: var(--map-dot); transition: r .2s ease, fill .2s ease; }
.map-svg .lm text { fill: var(--map-text); font-family: Inter, sans-serif; font-size: 15px; transition: fill .2s ease; }
.map-svg .lm:hover circle { r: 9; fill: var(--accent); }
.map-svg .lm:hover text { fill: var(--text); }
.map-svg .lm .dist { font-size: 12px; opacity: .8; }
.map-svg .me-ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: kb-ring 2.4s ease-out infinite; }
.map-svg .me-ring.r2 { animation-delay: 1.2s; }
.map-svg .me-dot { fill: var(--accent); }
.map-svg .me-core { fill: var(--bg); }
.map-svg .me-title { fill: var(--text); font-family: Sora, sans-serif; font-size: 18px; font-weight: 600; }
.map-svg .me-sub { fill: var(--muted); font-family: Inter, sans-serif; font-size: 14px; }
.map-svg .m-label { fill: var(--map-label); font-family: Inter, sans-serif; font-size: 12px; }
@keyframes kb-ring { from { transform: scale(.4); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.location .wrap { position: relative; width: 100%; }
.map-card { border-radius: 28px; padding: 32px; width: 440px; max-width: 100%; display: flex; flex-direction: column; gap: 18px; }
.location .map-card { --surface: var(--nav-bg); }
.map-card h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.04em; }
.map-card p { color: var(--soft); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Contact ── */
.contact-card { border-radius: 32px; background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info h2 .accent { color: var(--accent-text); }
.contact-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; font-size: 15px; }
.contact-facts dt { color: var(--muted); font-size: 13px; }
.contact-facts dd a { text-decoration: none; word-break: break-word; }
.hours-box { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; font-size: 14px; color: var(--soft); background: var(--chip-bg); }
.hours-box strong { display: block; color: var(--text); margin-bottom: 10px; font-size: 15px; }
.hours-list { list-style: none; display: flex; flex-direction: column; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.hours-list li:first-child { border-top: 0; padding-top: 0; }
.hours-list li span:first-child { color: var(--muted); }
.hours-list li span:last-child { color: var(--text); font-weight: 600; text-align: right; }
.hours-extra { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--soft); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label.lbl { font-weight: 600; font-size: 15px; }
.contact-form input, .contact-form textarea, .contact-form select { padding: 12px 16px; background: var(--input-bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 14px; min-height: 48px; font: inherit; width: 100%; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--faint); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn { flex: 1 1 180px; }

/* ── Footer + WhatsApp button ── */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 24px; background: var(--sec-white); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.wordmark { font-family: Sora, sans-serif; font-weight: 700; font-size: 21px; color: var(--text); letter-spacing: -0.02em; }
.wordmark span { color: var(--accent-text); }
.footer-brand .kz-logo svg { height: 64px; }
.footer-brand p { margin: 14px 0; font-size: 14px; max-width: 22rem; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--text); transition: all .2s ease; }
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.footer-col h4 { color: var(--text); font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.footer-bottom a { text-decoration: none; }
.chat-float { position: fixed; bottom: 26px; right: 26px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-float a { transition: transform .15s ease; }
.chat-float a:hover { transform: translateY(-2px); }
.tg-float, .wa-float, .chat-btn { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 34px; text-decoration: none; border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-glow), 0 12px 30px var(--accent-glow); transition: transform .15s ease, background .2s ease, color .2s ease; }
.tg-float:hover, .wa-float:hover, .chat-btn:hover { background: var(--surface); color: var(--accent-text); transform: translateY(-2px); }
.chat-row { display: flex; gap: 12px; margin-top: 12px; }
.chat-btn { width: 54px; height: 54px; font-size: 28px; }

/* ── Inner pages (blog, post, optional events page) ── */
.subpage .site-nav { position: sticky; }
.page-hero { padding: 80px 0 48px; text-align: center; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.blog-section { padding: 60px 0 100px; }
.section-heading { font-size: 2rem; text-align: center; margin-bottom: 2rem; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; color: var(--accent-text); margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.4rem; color: var(--text); margin-bottom: .5rem; }
.empty-state a { color: var(--accent-text); font-weight: 600; }
.cta-band { padding: 4.5rem 0; text-align: center; background: var(--bg-alt); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: 2rem; margin-bottom: .6rem; }
.cta-band p { color: var(--muted); margin-bottom: 1.5rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 3rem; color: var(--muted); font-size: .9rem; }
.pagination a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.draft-banner { background: #fff4e0; color: #8a5a00; text-align: center; padding: .7rem 1rem; font-size: .9rem; }
.post-head { padding: 64px 0 24px; text-align: center; }
.post-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 1rem 0; }
.back-link { color: var(--accent-text); text-decoration: none; font-size: .9rem; font-weight: 600; }
.post-cover { display: block; width: 100%; border-radius: 20px; margin: 1.5rem 0; }
.post-content { padding: 1rem 0 4rem; font-size: 1.1rem; line-height: 1.85; color: var(--soft); }
.post-content p { margin: 0 0 1.4rem; }
.post-content h2 { font-size: 1.7rem; color: var(--text); margin: 2.4rem 0 1rem; }
.post-content h3 { font-size: 1.3rem; color: var(--text); margin: 2rem 0 .8rem; }
.post-content ul, .post-content ol { margin: 0 0 1.4rem 1.5rem; }
.post-content li { margin-bottom: .4rem; }
.post-content a { color: var(--accent-text); }
.post-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 1rem 0; }
.post-content blockquote { border-left: 4px solid var(--accent); margin: 1.5rem 0; padding: .3rem 0 .3rem 1.2rem; color: var(--text); font-style: italic; }
.more-posts { background: var(--bg-alt); border-top: 1px solid var(--line); }
.events-section { padding: 60px 0; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.event-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.event-card.is-past { opacity: .8; }
.event-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.event-body { display: flex; gap: 1.2rem; padding: 1.5rem; }
.event-date { flex-shrink: 0; width: 62px; height: 70px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.event-date strong { font-size: 1.6rem; }
.event-date span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.event-info h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.event-meta { font-size: .85rem; color: var(--muted); margin-bottom: .2rem; }
.event-meta i { color: var(--accent-text); width: 1.1em; }
.event-desc { margin: .8rem 0 1rem; color: var(--soft); font-size: .95rem; }
.host-section { padding: 70px 0; border-top: 1px solid var(--line); }
.host-intro { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.host-intro h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.host-intro p { color: var(--muted); font-size: 1.1rem; }
.host-note { background: var(--accent-glow); border: 1px solid var(--accent-text); border-radius: 12px; padding: .8rem 1.2rem; margin-bottom: 2rem; font-size: .95rem; }
.host-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.host-feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; }
.host-feature i { font-size: 2rem; color: var(--accent-text); margin-bottom: 1rem; }
.host-feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.host-feature p { color: var(--muted); font-size: .9rem; }
.host-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 3rem; }
.host-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.host-more { text-align: center; margin-top: 1rem; }
.host-more a { color: var(--accent-text); font-weight: 600; }
.host-cta { text-align: center; margin: 3rem auto 0; max-width: 640px; }
.host-cta p { color: var(--muted); margin-bottom: 1.2rem; }

/* ── Scroll reveal (homepage) ── */
.reveal { opacity: 0; transition: opacity .85s ease, transform .85s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.reveal.r-up { transform: translateY(30px); }
.reveal.r-left { transform: translateX(-30px); }
.reveal.r-right { transform: translateX(30px); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .nav-burger { display: inline-flex; }
    .nav-cta { display: none; }
    .nav-pill { display: none; position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; align-items: stretch; background: var(--surface); border-radius: 24px; padding: 10px; box-shadow: var(--shadow); }
    .nav-pill.open { display: flex; }
    .nav-pill a { padding: 14px 16px; font-size: 16px; color: var(--text) !important; }
    .nav-pill .nav-cta-mobile { display: block; background: var(--accent); color: var(--accent-ink) !important; text-align: center; font-weight: 600; margin-top: 6px; }
    body.has-hero .site-nav:not(.scrolled) .nav-pill { background: var(--surface); border-color: var(--line); }
}
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .about-grid, .event-plan { grid-template-columns: 1fr; }
    .event-plan.has-video { grid-template-columns: 1fr 200px; gap: 32px; }
    .event-plan.has-video .event-video { max-width: 200px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    .sec { padding: 64px 0; }
    .nav-inner { padding: 8px 16px; }
    .kz-logo svg { height: 44px; }
    .g-grid.g-preview { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero { padding: 100px 0 40px; }
    .hero-buttons .btn { flex: 1 1 100%; }
    .about-text p { font-size: 1rem; line-height: 1.7; }
    .contact-facts { grid-template-columns: 1fr; }
    .location { padding: 80px 0; min-height: 0; }
    .map-card { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .chat-float { right: 14px; bottom: 14px; gap: 8px; }
    .wa-float, .tg-float { width: 58px; height: 58px; font-size: 30px; }
    .partners-grid { gap: 20px 28px; }
    .partner { width: 120px; height: 60px; }
    .calc { padding: 22px; }
    .section-heading, .cta-band h2 { font-size: 1.6rem; }
    .event-body { flex-direction: column; gap: .8rem; }
    .lb-prev { left: .4rem; }
    .lb-next { right: .4rem; }
    .post-content { font-size: 1rem; }
}
@media (max-width: 640px) {
    .event-plan.has-video { grid-template-columns: 1fr; }
    .event-plan.has-video .event-video { max-width: 220px; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .kz-logo.play * { animation: none !important; stroke-dasharray: none !important; transform: none !important; }
    .hero h1, .hero-lead, .hero-buttons, .quiz, .ticker-track, .hero-eyebrow::before, .map-svg .me-ring { animation: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
