/* ==========================================================================
   PrimeTimeGym NextGen - main stylesheet
   Ported from the legacy Brno site (index.css) - same dark + neon-green look,
   de-duplicated into tokens + components. No build step.
   ========================================================================== */

/* ---------- Self-hosted fonts (variable woff2 from Google Fonts, SIL OFL; no request to Google) ---------- */
@font-face {
    font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap;
    src: url('../fonts/roboto-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap;
    src: url('../fonts/roboto-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Brand */
    --green: #4EE24A;
    --green-600: #35c032;
    --green-gradient: linear-gradient(135deg, #4EE24A 0%, #35c032 100%);
    --green-a05: rgba(78, 226, 74, 0.05);
    --green-a10: rgba(78, 226, 74, 0.10);
    --green-a20: rgba(78, 226, 74, 0.20);
    --green-a30: rgba(78, 226, 74, 0.30);
    --green-a50: rgba(78, 226, 74, 0.50);
    --amber: #FFC107;
    --amber-a12: rgba(255, 193, 7, 0.12);
    --red: #ff5c5c;
    --red-a10: rgba(255, 68, 68, 0.10);

    /* Neutrals */
    --black: #000000;
    --bg: #121212;
    --bg-deep: #0a0a0a;
    --surface-1: #111111;
    --surface-2: #1a1a1a;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-2: rgba(255, 255, 255, 0.05);
    --glass-3: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.12);
    --text: #e0e0e0;
    --text-strong: #ffffff;
    --muted: #9ca3af;
    --muted-2: #6b7280;

    /* Type */
    --font: 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-ui: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --sp-1: 0.5rem;
    --sp-2: 1rem;
    --sp-3: 1.5rem;
    --sp-4: 2rem;
    --sp-5: 3rem;
    --sp-6: 4rem;
    --sp-7: 6rem;
    --gutter: 2rem;

    /* Radius */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 9999px;

    /* Effects */
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.45);
    --glow: 0 0 20px rgba(78, 226, 74, 0.2);
    --glow-strong: 0 0 30px rgba(78, 226, 74, 0.35);
    --ease: 300ms ease-in-out;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

    --nav-h: 76px;
    --bottom-nav-h: 0px;
    color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: var(--bottom-nav-h);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; transition: color var(--ease), background var(--ease), border-color var(--ease); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 3000;
    background: var(--green); color: var(--black); padding: .6rem 1rem; border-radius: var(--r-md); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding: var(--sp-7) 0; position: relative; }
.section--dark { background: var(--black); }
.section--fade { background: linear-gradient(180deg, var(--black) 0%, var(--surface-1) 100%); }
.section--panel { background: var(--surface-1); }
.page-top { padding-top: calc(var(--nav-h) + var(--sp-5)); padding-bottom: var(--sp-6); }
.accent { color: var(--green); }
.muted { color: var(--muted); }
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

/* ---------- Section header ---------- */
.section-header { text-align: center; margin-bottom: var(--sp-6); }
.section-badge {
    display: inline-block; padding: var(--sp-1) var(--sp-3);
    background: var(--green-a10); border: 1px solid var(--green-a30); border-radius: var(--r-full);
    color: var(--green); font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
    margin-bottom: var(--sp-3);
}
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; color: var(--text-strong); margin-bottom: var(--sp-3); }
.section-desc { font-size: 1.125rem; color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .875rem 2rem; border-radius: var(--r-full); font-weight: 600; font-size: 1rem; line-height: 1.2;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
    text-align: center; white-space: nowrap; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: var(--black); }
.btn--primary:hover { box-shadow: var(--glow); }
.btn--primary:disabled, .btn--primary[aria-disabled="true"] {
    background: #2a2a2a; color: var(--muted-2); box-shadow: none; transform: none; cursor: not-allowed;
}
.btn--cta { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.btn--xl { padding: 1.25rem 3rem; font-size: 1.125rem; box-shadow: 0 0 30px var(--green-a30); }
.btn--xl:hover { box-shadow: 0 0 50px var(--green-a50); transform: translateY(-4px); }
.btn--ghost { background: var(--glass-2); border-color: var(--line-2); color: var(--text-strong); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); background: var(--glass-3); }
.btn--outline { border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--black); box-shadow: var(--glow); }
.btn--sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--danger { color: var(--red); border-color: rgba(255, 92, 92, .35); background: var(--red-a10); }
.btn--danger-solid { color: #fff; background: #e53935; border-color: #e53935; }
.btn--danger-solid:hover { background: #c62828; border-color: #c62828; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h);
    display: flex; align-items: center;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background var(--ease), box-shadow var(--ease);
}
.navbar.is-scrolled { background: rgba(0, 0, 0, 0.95); box-shadow: var(--shadow-lg); }
.nav-inner { display: flex; align-items: center; gap: var(--sp-3); width: 100%; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--sp-4); margin: 0 auto; }
.nav-link {
    position: relative; padding: var(--sp-1) 0; color: var(--muted);
    font-size: .875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em;
}
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: var(--green); transition: width var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--text-strong); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: .75rem; }
.nav-account {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-full);
    background: var(--glass-2); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-strong);
    font-size: .9rem; font-weight: 600;
}
.nav-account:hover { border-color: var(--green); color: var(--green); }
.nav-mobile-only { display: none; }
.nav-toggle {
    display: none; position: relative; width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.1); z-index: 1100;
}
.nav-toggle span {
    position: absolute; left: 11px; width: 20px; height: 2px; background: var(--text-strong);
    transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Branch switcher (pill) ---------- */
.branch-switch {
    display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--r-full);
    background: rgba(26, 26, 26, 0.6); border: 1px solid var(--line);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.branch-switch a {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 7px 16px; border-radius: var(--r-full); font-size: .875rem; font-weight: 700; color: var(--text-strong);
    transition: background .4s var(--ease-out), color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.branch-switch a:hover { background: var(--glass-3); }
.branch-switch a[aria-current="page"], .branch-switch a.is-active {
    background: var(--green); color: var(--black); box-shadow: 0 4px 20px rgba(78, 226, 74, 0.4);
}
.branch-switch--hero { padding: 6px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); }
.branch-switch--hero a { padding: 12px 36px; min-width: 140px; font-size: 1rem; }
.branch-switch-label {
    display: block; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
    color: var(--text-strong); opacity: .7; margin-bottom: 14px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
    overflow: hidden; padding: calc(var(--nav-h) + 4rem) 0 4rem;
}
.hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    filter: brightness(0.4); z-index: 0; transform: scale(1.02);
}
.hero::after {
    content: ''; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent, var(--black));
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-content {
    max-width: 900px; margin: 0 auto; text-align: center;
    display: flex; flex-direction: column; align-items: center;
}
.hero-switch { margin-bottom: var(--sp-5); animation: fadeInDown 1s ease-out both; }
.hero-title {
    font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 700; line-height: 1.08; text-transform: uppercase;
    color: var(--text-strong); margin-bottom: var(--sp-3); animation: fadeInUp 1s ease-out .15s both;
}
.hero-title .accent { display: block; }
.hero-text {
    font-size: 1.25rem; color: #c3c8cf; line-height: 1.8; max-width: 820px;
    animation: fadeInUp 1s ease-out .3s both;
}
.hero-chips {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: var(--sp-4);
    animation: fadeInUp 1s ease-out .4s both;
}
.chip {
    display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: var(--r-full);
    background: rgba(0, 0, 0, .45); border: 1px solid var(--line-2); font-size: .875rem; color: var(--text);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip .icon { color: var(--green); }
.hero-cta {
    display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-5); width: 100%;
    animation: fadeInUp 1s ease-out .5s both;
}
.hero-cta .btn--xl { flex: 1 1 360px; max-width: 520px; }
.hero--short { min-height: 0; padding-bottom: var(--sp-6); }

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Quick slots strip (Book now) ---------- */
.quickbook {
    position: relative; z-index: 2; margin-top: -3.5rem;
    background: linear-gradient(180deg, transparent 3.5rem, var(--black) 3.5rem);
}
.quickbook-card {
    background: rgba(10, 10, 10, .92); border: 1px solid var(--green-a30); border-radius: var(--r-xl);
    padding: var(--sp-3) var(--sp-4); box-shadow: var(--shadow-lg), var(--glow);
    display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-3); align-items: center;
}
.quickbook-title { font-weight: 700; color: var(--text-strong); font-size: 1.05rem; line-height: 1.3; }
.quickbook-title small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.quickbook-slots { display: flex; gap: .5rem; flex-wrap: wrap; }
.qslot {
    display: inline-flex; flex-direction: column; align-items: flex-start; padding: .5rem .85rem; border-radius: 12px;
    background: var(--glass-2); border: 1px solid var(--line-2); line-height: 1.2; min-width: 96px;
}
.qslot:hover { border-color: var(--green); background: var(--green-a10); }
.qslot-when { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.qslot-time { font-weight: 700; color: var(--text-strong); }
.qslot-price { font-size: .78rem; color: var(--green); }
.qslot-price.is-peak { color: var(--amber); }

/* ---------- Cards / features ---------- */
.card {
    background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-xl);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.feature-card {
    position: relative; overflow: hidden; padding: var(--sp-5) var(--sp-4);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.feature-card::before {
    content: ''; position: absolute; inset: 0; background: var(--green-gradient); opacity: 0; transition: opacity var(--ease);
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--green-a50); box-shadow: var(--glow); }
.feature-card:hover::before { opacity: .08; }
.feature-card > * { position: relative; }
.feature-icon {
    width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: var(--sp-3);
    background: var(--green-a10); border: 1px solid var(--green-a30); color: var(--green);
}
.feature-title { font-size: 1.5rem; font-weight: 700; color: var(--text-strong); margin-bottom: var(--sp-1); }
.feature-text { color: var(--muted); line-height: 1.7; }

/* ---------- Branch cards (landing) ---------- */
.branches-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.branch-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.branch-card:hover { transform: translateY(-6px); border-color: var(--green); box-shadow: var(--glow); }
.branch-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.branch-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.branch-card:hover .branch-card-media img { transform: scale(1.05); }
.branch-card-media::after {
    content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .85));
}
.branch-card-name {
    position: absolute; left: var(--sp-4); bottom: var(--sp-3); z-index: 1;
    font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; text-transform: uppercase; color: var(--text-strong); line-height: 1;
}
.branch-card-name small { display: block; font-size: .8rem; letter-spacing: .2em; color: var(--green); margin-bottom: .4rem; }
.branch-card-body { padding: var(--sp-3) var(--sp-4) var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.branch-card-meta { display: flex; flex-direction: column; gap: .4rem; color: var(--muted); font-size: .95rem; }
.branch-card-meta span { display: flex; align-items: center; gap: .5rem; }
.branch-card-meta .icon { color: var(--green); }
.branch-card-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: auto; padding-top: var(--sp-1); }
.branch-card-actions .btn { flex: 1 1 160px; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); counter-reset: step; }
.step { padding: var(--sp-4) var(--sp-3); }
.step-num {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
    background: var(--green); color: var(--black); margin-bottom: var(--sp-2); box-shadow: var(--glow);
}
.step h3 { color: var(--text-strong); font-size: 1.15rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-grid--few { grid-template-columns: repeat(4, 1fr); }
/* counts divisible by 3 (not 4), e.g. 9 photos: 3 columns at every width so rows are always full */
.gallery-grid.gallery-grid--thirds { grid-template-columns: repeat(3, 1fr); }
.gallery-item {
    position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 3 / 4;
    background: var(--surface-2); cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out), filter .3s ease; }
.gallery-item::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--line);
    transition: border-color var(--ease); pointer-events: none;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); filter: brightness(1.08); }
.gallery-item:hover::after { border-color: var(--green-a50); }
.gallery-zoom {
    position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(0, 0, 0, .6); color: var(--text-strong);
    opacity: 0; transform: translateY(6px); transition: opacity var(--ease), transform var(--ease);
}
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lb {
    position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    opacity: 0; transition: opacity .25s ease; touch-action: pan-y pinch-zoom;
}
.lb.is-open { opacity: 1; }
.lb-stage { position: relative; display: flex; flex-direction: column; align-items: center; max-width: min(92vw, 1100px); }
.lb-img {
    max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; height: auto;
    border-radius: var(--r-lg); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); user-select: none; -webkit-user-drag: none;
    transition: opacity .2s ease, transform .25s ease;
}
.lb-img.is-loading { opacity: .25; }
.lb-caption { margin-top: 1rem; display: flex; gap: 1rem; align-items: baseline; color: var(--text); font-size: .95rem; text-align: center; }
.lb-counter { color: var(--green); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
.lb-btn {
    position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: var(--text-strong);
    transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.lb-btn:hover { background: var(--green-a20); border-color: var(--green); color: var(--green); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
body.lb-lock { overflow: hidden; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: var(--sp-4); align-items: stretch; }
.price-card {
    position: relative; padding: var(--sp-5) var(--sp-4); display: flex; flex-direction: column;
    background: var(--glass-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-xl);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.price-card:hover { transform: translateY(-8px); border-color: var(--green-a50); box-shadow: var(--glow); }
.price-card--featured { background: var(--green-a10); border: 2px solid var(--green-a50); }
.price-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    padding: .45rem 1.3rem; border-radius: var(--r-full); background: var(--green); color: var(--black);
    font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.price-title { text-align: center; font-size: 1.5rem; font-weight: 700; color: var(--green); margin-bottom: var(--sp-2); }
.price-main { display: flex; justify-content: center; align-items: flex-start; gap: .3rem; color: var(--text-strong); }
.price-amount { font-size: 4rem; font-weight: 900; line-height: 1; }
.price-currency { font-size: 1.5rem; font-weight: 700; margin-top: .4rem; }
.price-sub { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .4rem; }
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: var(--sp-1) 0 var(--sp-2); }
.price-tier { border-radius: var(--r-lg); padding: 1rem .75rem; text-align: center; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); }
.price-tier-label { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.price-tier--off .price-tier-label { color: var(--green); }
.price-tier--peak .price-tier-label { color: var(--amber); }
.price-tier .price-amount { font-size: 2.6rem; display: block; margin-top: .25rem; color: var(--text-strong); }
.price-tier .price-currency { font-size: 1rem; }
.price-tier-note { display: block; color: var(--muted); font-size: .78rem; margin-top: .25rem; }
.price-features { margin: var(--sp-3) 0; flex: 1; }
.price-features li {
    display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 0; color: var(--muted);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.price-features li .icon { color: var(--green); margin-top: 3px; }
.price-card .btn { margin-top: auto; }
.pricing-note { text-align: center; margin-top: var(--sp-5); color: var(--muted); font-size: .9rem; }
.tag-placeholder {
    display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
    background: var(--amber-a12); color: var(--amber); border: 1px solid rgba(255, 193, 7, .3); vertical-align: middle;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-5); align-items: stretch; }
.contact-panel { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.contact-item {
    display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-3);
    background: rgba(255, 255, 255, .02); border: 1px solid transparent; border-radius: var(--r-lg);
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.contact-item:hover { background: var(--glass-2); border-color: var(--green-a30); transform: translateX(4px); }
.contact-icon {
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
    background: var(--green-gradient); color: var(--black); box-shadow: var(--glow);
}
.contact-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .15rem; font-weight: 500; }
.contact-value, .contact-link { display: block; font-size: 1.1rem; font-weight: 500; color: var(--text-strong); line-height: 1.45; }
.contact-link:hover { color: var(--green); }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { padding: .15rem 0; color: var(--text-strong); }
.hours-table td:first-child { color: var(--muted); padding-right: 1rem; white-space: nowrap; }
.map-box {
    position: relative; min-height: 420px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1);
    background:
        radial-gradient(circle at 30% 30%, rgba(78, 226, 74, .12), transparent 55%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 44px),
        var(--surface-1);
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.map-placeholder {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: var(--sp-2); padding: var(--sp-4); text-align: center;
}
.map-pin {
    width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    background: var(--green); color: var(--black); box-shadow: var(--glow-strong);
}
.map-placeholder p { color: var(--muted); font-size: .9rem; max-width: 340px; }
.map-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* ---------- CTA band ---------- */
.cta-band {
    padding: var(--sp-5) var(--sp-4); border-radius: var(--r-xl); text-align: center;
    background: radial-gradient(ellipse at top, rgba(78, 226, 74, .18), transparent 65%), var(--surface-1);
    border: 1px solid var(--green-a30);
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--text-strong); margin-bottom: .5rem; line-height: 1.2; }
.cta-band p { color: var(--muted); margin-bottom: var(--sp-4); }

/* ---------- Footer ---------- */
.footer { background: var(--surface-1); border-top: 1px solid rgba(255, 255, 255, .1); padding: var(--sp-6) 0 var(--sp-4); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: var(--sp-5); margin-bottom: var(--sp-5); }
.footer-logo img { height: 46px; width: auto; margin-bottom: var(--sp-2); }
.footer-tagline { color: var(--muted); line-height: 1.7; }
.footer-title { font-size: 1.05rem; font-weight: 700; color: var(--text-strong); margin-bottom: var(--sp-2); }
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a, .footer-links button { color: var(--muted); text-align: left; transition: color var(--ease), transform var(--ease); display: inline-block; }
.footer-links a:hover, .footer-links button:hover { color: var(--text-strong); transform: translateX(4px); }
.footer-small { color: var(--muted); font-size: .85rem; line-height: 1.7; }
.footer-small strong { color: var(--text); font-weight: 600; }
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center;
    padding-top: var(--sp-3); border-top: 1px solid rgba(255, 255, 255, .1); color: var(--muted-2); font-size: .875rem;
}
.pay-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.pay-badge { padding: .25rem .6rem; border-radius: 6px; border: 1px solid var(--line-2); font-size: .75rem; font-weight: 700; color: var(--text); background: var(--glass-2); }

/* ---------- Mobile bottom nav (app-like, from legacy) ---------- */
.bottom-nav {
    display: none; position: fixed; inset: auto 0 0 0; z-index: 1500; height: calc(68px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom); background: var(--black); border-top: 1px solid rgba(255, 255, 255, .15);
    justify-content: space-around; align-items: stretch;
}
.bottom-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    color: #8a8a8a; font-size: .68rem; font-weight: 600;
}
.bottom-nav a.is-active, .bottom-nav a:hover { color: var(--green); }
.bottom-nav a.is-cta .bottom-nav-ico {
    background: var(--green); color: var(--black); border-radius: 50%; width: 40px; height: 40px;
    display: grid; place-items: center; margin-top: -18px; box-shadow: 0 0 18px var(--green-a50); border: 3px solid var(--black);
}
.bottom-nav a.is-cta { color: var(--text-strong); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed; z-index: 2500; left: 0; right: 0; margin: 0 auto; bottom: calc(var(--bottom-nav-h) + 16px);
    width: min(760px, calc(100% - 32px)); padding: var(--sp-3) var(--sp-4);
    background: rgba(10, 10, 10, .97); border: 1px solid var(--green-a30); border-radius: var(--r-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    animation: fadeInUp .4s ease-out both; max-height: calc(100vh - var(--bottom-nav-h) - 32px); overflow-y: auto;
}
.cookie-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.cookie-head .icon { color: var(--green); }
.cookie-title { font-size: 1.1rem; font-weight: 700; color: var(--text-strong); }
.cookie-text { color: var(--muted); font-size: .92rem; }
.cookie-text a { color: var(--green); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--sp-2); }
.cookie-actions .btn { flex: 1 1 auto; }
.cookie-settings { margin-top: var(--sp-2); display: flex; flex-direction: column; gap: .6rem; }
.cookie-cat {
    display: flex; gap: var(--sp-2); align-items: center; justify-content: space-between;
    padding: .85rem 1rem; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line);
}
.cookie-cat strong { color: var(--text-strong); display: block; font-size: .95rem; }
.cookie-cat span { color: var(--muted); font-size: .82rem; }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch-track { position: absolute; inset: 0; border-radius: 999px; background: #333; transition: background var(--ease); }
.switch-track::after {
    content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
    background: #fff; transition: transform var(--ease);
}
.switch input:checked + .switch-track { background: var(--green); }
.switch input:checked + .switch-track::after { transform: translateX(20px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch-track { opacity: .55; }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; z-index: 3500; left: 50%; bottom: calc(var(--bottom-nav-h) + 24px); transform: translateX(-50%) translateY(20px);
    background: var(--surface-2); border: 1px solid var(--green-a30); color: var(--text-strong); padding: .8rem 1.2rem;
    border-radius: var(--r-lg); box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
    max-width: calc(100% - 32px); font-size: .92rem;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%); }

/* ---------- Page header (inner pages) ---------- */
.page-head { margin-bottom: var(--sp-4); }
.page-head .section-badge { margin-bottom: var(--sp-2); }
.page-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1.15; color: var(--text-strong); }
.page-sub { color: var(--muted); margin-top: .5rem; font-size: 1.05rem; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; color: var(--muted); font-size: .875rem; margin-bottom: var(--sp-2); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green); }

/* ---------- Stepper ---------- */
.stepper { display: flex; gap: 10px; margin-bottom: var(--sp-4); list-style: none; }
.stepper li {
    flex: 1; padding-bottom: 10px; border-bottom: 2px solid rgba(255, 255, 255, .1); text-align: center;
    color: var(--muted-2); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.stepper li.is-active { border-color: var(--green); color: var(--text-strong); }
.stepper li.is-done { border-color: var(--green-a50); color: var(--muted); }
.stepper li.is-skipped { opacity: .55; }

/* ---------- Booking ---------- */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--sp-4); align-items: start; }
.booking-panel { padding: var(--sp-4); }
.booking-h { font-size: 1.15rem; font-weight: 700; color: var(--text-strong); margin-bottom: var(--sp-2); display: flex; align-items: center; gap: .5rem; }
.booking-h .icon { color: var(--green); }
.quick-row { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: var(--sp-4); scrollbar-width: thin; }
.quick-row .qslot { flex: 0 0 auto; }
.date-strip {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 10px; overflow-x: auto;
    padding: 4px 2px 10px; margin-bottom: var(--sp-3); scroll-snap-type: x proximity; scrollbar-width: thin;
    scrollbar-color: var(--green-a30) transparent;
}
.date-btn {
    scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: .7rem .4rem; border-radius: 14px; background: var(--glass-2); border: 1px solid rgba(255, 255, 255, .1);
    transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.date-btn:hover { border-color: var(--green-a50); background: var(--glass-3); }
.date-btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--black); }
.date-btn-wd { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; opacity: .75; font-weight: 600; }
.date-btn-day { font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.date-btn-free { font-size: .68rem; color: var(--green); font-weight: 600; }
.date-btn[aria-pressed="true"] .date-btn-free { color: rgba(0, 0, 0, .7); }
.date-btn.is-full .date-btn-free { color: var(--muted-2); }
.slot-toolbar { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; justify-content: space-between; margin-bottom: var(--sp-2); }
.slot-day-title { font-weight: 700; color: var(--text-strong); font-size: 1.05rem; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .82rem; }
.legend span { display: inline-flex; align-items: center; gap: .4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--off { background: var(--green); }
.dot--peak { background: var(--amber); }
.dot--taken { background: #444; }
.toggle-line { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-size: .9rem; cursor: pointer; }
.slot-period { margin-bottom: var(--sp-3); }
.slot-period-h { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .6rem; font-weight: 700; }
.slot-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot-face {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 64px;
    padding: .5rem .25rem; border-radius: 12px; background: var(--glass-2); border: 1px solid rgba(255, 255, 255, .1);
    transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.slot-time { font-weight: 700; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.slot-price { font-size: .78rem; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: .3rem; }
.slot.is-peak .slot-price { color: var(--amber); }
.slot input:hover + .slot-face { border-color: var(--green-a50); background: var(--glass-3); }
.slot input:focus-visible + .slot-face { outline: 2px solid var(--green); outline-offset: 2px; }
.slot input:checked + .slot-face { background: var(--green); border-color: var(--green); box-shadow: var(--glow); transform: translateY(-2px); }
.slot input:checked + .slot-face .slot-time, .slot input:checked + .slot-face .slot-price { color: var(--black); }
.slot.is-taken .slot-face, .slot.is-past .slot-face { opacity: .35; background: transparent; border-style: dashed; }
.slot.is-taken .slot-price, .slot.is-past .slot-price { color: var(--muted-2); }
.slot.is-taken input, .slot.is-past input { cursor: not-allowed; }
.slots-free-only .slot.is-taken, .slots-free-only .slot.is-past { display: none; }
.slot-empty { color: var(--muted); padding: var(--sp-3); text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.day-panel[hidden] { display: none; }

.summary { position: sticky; top: calc(var(--nav-h) + 20px); padding: var(--sp-4); border-color: var(--green-a30); background: rgba(10, 10, 10, .9); }
.summary h2 { font-size: 1.2rem; color: var(--text-strong); margin-bottom: var(--sp-2); }
.summary-rows { display: flex; flex-direction: column; gap: .7rem; margin-bottom: var(--sp-3); }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.summary-row dt { color: var(--muted); }
.summary-row dd { color: var(--text-strong); font-weight: 600; text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--sp-2); border-top: 1px solid var(--line-2); margin-bottom: var(--sp-3); }
.summary-total strong { font-size: 2rem; color: var(--text-strong); font-weight: 900; }
.summary-hint { color: var(--muted); font-size: .82rem; margin-top: .8rem; display: flex; gap: .5rem; align-items: flex-start; }
.summary-hint .icon { color: var(--green); margin-top: 2px; }
.summary-hint--warn { color: var(--text-strong); }
.summary-hint--warn .icon { color: var(--amber, #e0a100); }
.summary-empty { color: var(--muted); font-size: .92rem; padding: var(--sp-2); border: 1px dashed var(--line-2); border-radius: var(--r-lg); margin-bottom: var(--sp-3); text-align: center; }
.mobile-checkout { display: none; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + var(--sp-4)) var(--gutter) var(--sp-5); }
.auth-card {
    width: 100%; max-width: 460px; padding: var(--sp-5) var(--sp-4); background: var(--bg-deep);
    border: 1px solid rgba(78, 226, 74, .4); border-radius: var(--r-xl); box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.auth-card h1 { font-size: 2rem; color: var(--text-strong); text-align: center; line-height: 1.2; }
.auth-sub { color: var(--muted); text-align: center; margin: .5rem 0 var(--sp-4); }
.auth-booking { display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; border-radius: var(--r-lg); background: var(--green-a05); border: 1px solid var(--green-a30); margin-bottom: var(--sp-3); font-size: .92rem; }
.auth-booking .icon { color: var(--green); }
.auth-booking strong { color: var(--text-strong); display: block; }
.oauth-btn {
    display: flex; align-items: center; justify-content: center; gap: .75rem; width: 100%; padding: .95rem 1rem;
    border-radius: var(--r-full); font-weight: 600; font-size: 1rem; transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.oauth-btn + .oauth-btn { margin-top: .75rem; }
.oauth-btn:hover { transform: translateY(-2px); }
.oauth-btn--google { background: #fff; color: #1f1f1f; }
.oauth-btn--google:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.oauth-btn--apple { background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.oauth-btn--apple:hover { border-color: #fff; }
.divider { display: flex; align-items: center; gap: 1rem; color: var(--muted-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: var(--sp-4) 0 var(--sp-3); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.dev-box { border: 1px dashed rgba(255, 193, 7, .35); border-radius: var(--r-lg); padding: var(--sp-2) var(--sp-3) var(--sp-3); }
.dev-box summary { cursor: pointer; color: var(--amber); font-size: .85rem; font-weight: 600; list-style: none; display: flex; align-items: center; gap: .5rem; }
.dev-box summary::-webkit-details-marker { display: none; }
.demo-logins { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: var(--sp-2); margin: var(--sp-2) 0 var(--sp-3); }
.demo-logins form { min-width: 0; }
.demo-logins .btn { padding-left: .75rem; padding-right: .75rem; white-space: normal; }
.form { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .88rem; color: var(--muted); }
.input {
    width: 100%; padding: .8rem 1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .12); color: var(--text-strong); outline: none; transition: border-color var(--ease), box-shadow var(--ease);
}
.input:focus { border-color: var(--green-a50); box-shadow: 0 0 0 3px var(--green-a10); }
.input:disabled { opacity: .6; }
.auth-legal { color: var(--muted-2); font-size: .8rem; text-align: center; margin-top: var(--sp-3); }
.auth-legal a { color: var(--muted); text-decoration: underline; }

/* ---------- Profile ---------- */
.profile-head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.avatar {
    width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800;
    background: var(--green-gradient); color: var(--black); box-shadow: 0 10px 20px var(--green-a20); flex-shrink: 0;
}
.profile-id { flex: 1; min-width: 200px; }
.profile-name { font-size: 1.6rem; font-weight: 700; color: var(--text-strong); line-height: 1.2; }
.profile-mail { color: var(--muted); word-break: break-all; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: var(--r-full); font-size: .75rem; font-weight: 700; background: var(--glass-3); color: var(--text); border: 1px solid var(--line-2); margin-top: .4rem; }
.pill--green { background: var(--green-a10); color: var(--green); border-color: var(--green-a30); }
.pill--amber { background: var(--amber-a12); color: var(--amber); border-color: rgba(255, 193, 7, .3); }
.pill--red { background: var(--red-a10); color: var(--red); border-color: rgba(255, 92, 92, .3); }
.pill--blue { background: rgba(57, 135, 229, .14); color: #9ec5f4; border-color: rgba(57, 135, 229, .32); }  /* tariff Rodina */
.profile-section { margin-bottom: var(--sp-5); }
.profile-section > h2 { font-size: 1.35rem; color: var(--text-strong); margin-bottom: var(--sp-2); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.credit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.credit-card { padding: var(--sp-3); display: flex; align-items: center; gap: var(--sp-3); }
.credit-ring {
    width: 78px; height: 78px; border-radius: 50%; border: 3px solid var(--green); display: flex; flex-direction: column;
    align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--glow);
}
.credit-ring b { font-size: 1.7rem; color: var(--green); line-height: 1; }
.credit-ring small { font-size: .6rem; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.credit-ring.is-empty { border-color: #444; box-shadow: none; }
.credit-ring.is-empty b { color: var(--muted); }
.credit-info { flex: 1; min-width: 0; }
.credit-info strong { color: var(--text-strong); font-size: 1.1rem; display: block; }
.credit-info span { color: var(--muted); font-size: .88rem; }
.res-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.res-card { display: flex; align-items: center; gap: var(--sp-3); padding: 18px 20px; flex-wrap: wrap; }
.res-date {
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 70px; padding: 10px 12px;
    background: var(--green-a10); border: 1px solid var(--green-a20); border-radius: 14px; text-align: center;
}
.res-date small { font-size: .62rem; text-transform: uppercase; color: var(--green); font-weight: 800; letter-spacing: .06em; }
.res-date b { color: var(--text-strong); font-size: .95rem; line-height: 1.3; }
.res-main { flex: 1; min-width: 180px; }
.res-time { font-size: 1.25rem; font-weight: 700; color: var(--text-strong); }
.res-meta { color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.res-access { flex-basis: 100%; display: flex; align-items: flex-start; gap: .5rem; font-size: .82rem; color: var(--muted); padding-top: .8rem; border-top: 1px solid var(--line); }
.res-access > span { flex: 1; min-width: 0; }
.res-access .icon { color: var(--green); flex-shrink: 0; margin-top: .1rem; }
a.res-link { color: inherit; text-decoration: none; }
a.res-link:hover, a.res-link:focus-visible { color: var(--green); }
.profile-subhead { font-size: .95rem; font-weight: 700; color: var(--text-strong); margin: 0 0 var(--sp-2); }
.history { width: 100%; border-collapse: collapse; font-size: .92rem; }
.history th { text-align: left; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: .8rem 1rem; border-bottom: 1px solid var(--line-2); }
.history td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); color: var(--text); }
.history td.amount { text-align: right; font-weight: 700; white-space: nowrap; color: var(--text-strong); }
.history th:last-child { text-align: right; }
.history .kind { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .5rem; background: var(--green); }
.history .kind--payment { background: #7aa7ff; }
.history .kind--refund { background: var(--amber); }
.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2) var(--sp-3); padding: var(--sp-4); }
.settings-grid .field--full { grid-column: 1 / -1; }
.settings-actions { grid-column: 1 / -1; display: flex; gap: .75rem; flex-wrap: wrap; margin-top: var(--sp-1); }
.notice {
    display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: var(--r-lg);
    background: var(--amber-a12); border: 1px solid rgba(255, 193, 7, .3); color: #ffe08a; font-size: .88rem; margin-bottom: var(--sp-4);
}
.notice .icon { color: var(--amber); margin-top: 2px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: calc(var(--nav-h) + var(--sp-7)) var(--gutter) var(--sp-7); }
.notfound-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; color: var(--green); text-shadow: 0 0 40px var(--green-a30); }

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.5, 0, 0, 1), transform .8s cubic-bezier(.5, 0, 0, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; }
.js .reveal.d2 { transition-delay: .2s; }
.js .reveal.d3 { transition-delay: .3s; }

/* ---------- Page-specific bits ---------- */
.hero--landing .section-badge { animation: fadeInDown 1s ease-out both; }
.hero--landing .hero-switch { margin: 2.5rem 0 0; animation-delay: .5s; }
.steps { list-style: none; }
.legend { margin-bottom: 1.25rem; }
.slots-free-only .slot-period:not(.has-free) { display: none; }
.slot-footnote { color: var(--muted-2); font-size: .85rem; }
.notfound-actions { animation: none; }
.table-wrap { overflow-x: auto; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .nav-links {
        position: fixed; inset: 0; z-index: 1050; margin: 0; padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
        flex-direction: column; justify-content: center; gap: var(--sp-3);
        background: rgba(10, 10, 10, .98); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
        transform: translateX(100%); visibility: hidden; opacity: 0;
        transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .4s, visibility .4s; overflow-y: auto;
    }
    .nav-links.is-open { transform: none; visibility: visible; opacity: 1; }
    .nav-link { font-size: 1.6rem; font-weight: 700; color: var(--text-strong); }
    .nav-link::after { display: none; }
    .nav-link:hover, .nav-link.is-active { color: var(--green); }
    .nav-mobile-only { display: block; }
    .nav-toggle { display: block; }
    .nav-right { margin-left: auto; }
    .nav-right .branch-switch { display: none; }
    .nav-links .branch-switch { display: inline-flex; }
    .nav-links .branch-switch a { padding: 10px 28px; font-size: 1rem; }
    body.menu-open { overflow: hidden; }
    /* backdrop-filter would make the navbar the containing block of the fixed menu overlay */
    body.menu-open .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; box-shadow: none; }
    body.menu-open .nav-logo, body.menu-open .nav-right, body.menu-open .nav-toggle { position: relative; z-index: 1100; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid .price-card--single { grid-column: 1 / -1; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .booking-layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    :root { --bottom-nav-h: calc(68px + env(safe-area-inset-bottom)); }
    .bottom-nav { display: flex; }
    .nav-cta-desktop { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .branches-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .quickbook-card { grid-template-columns: 1fr; text-align: left; }
    .booking-layout { grid-template-columns: minmax(0, 1fr); }
    .summary { display: none; }
    .mobile-checkout {
        display: flex; position: fixed; z-index: 1400; left: 0; right: 0; bottom: var(--bottom-nav-h);
        align-items: center; gap: 1rem; padding: .8rem var(--gutter); background: rgba(10, 10, 10, .97);
        border-top: 1px solid var(--green-a30); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    }
    .mobile-checkout-info { flex: 1; min-width: 0; line-height: 1.25; }
    .mobile-checkout-info strong { display: block; color: var(--text-strong); font-size: 1.1rem; }
    .mobile-checkout-info span { color: var(--muted); font-size: .8rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mobile-checkout .btn { padding: .8rem 1.2rem; font-size: .9rem; }
    .page-booking .footer { padding-bottom: calc(var(--sp-4) + 76px); }
    .page-booking .toast { bottom: calc(var(--bottom-nav-h) + 96px); }
    .gallery-grid, .gallery-grid--few { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    :root { --sp-7: 3.5rem; --sp-6: 3rem; --sp-5: 2rem; --sp-4: 1.25rem; --sp-3: 1rem; --gutter: 1rem; --nav-h: 66px; }
    .nav-logo img { height: 30px; }
    .nav-account { padding: 10px; }
    .nav-account-text { display: none; }
    .hero { padding-top: calc(var(--nav-h) + 2.5rem); min-height: 0; padding-bottom: 5.5rem; }
    .hero-title { font-size: clamp(1.75rem, 8.6vw, 2.4rem); }
    .hero-text { font-size: 1rem; line-height: 1.6; }
    .branch-switch--hero a { padding: 9px 22px; min-width: 104px; font-size: .95rem; }
    .hero-cta .btn--xl { flex-basis: 100%; padding: 1.1rem 1.5rem; font-size: 1rem; }
    .chip { font-size: .8rem; }
    .section-header { margin-bottom: var(--sp-5); }
    .section-desc { font-size: 1rem; }
    .feature-card { padding: var(--sp-4); }
    .gallery-grid, .gallery-grid--few { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
    .gallery-grid.gallery-grid--thirds { gap: .4rem; }
    .gallery-item { border-radius: 12px; }
    .gallery-zoom { opacity: 1; transform: none; width: 32px; height: 32px; right: 8px; bottom: 8px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-amount { font-size: 3.2rem; }
    .price-tier .price-amount { font-size: 2.2rem; }
    .contact-item { padding: .75rem; gap: .9rem; }
    .contact-icon { width: 44px; height: 44px; }
    .contact-value, .contact-link { font-size: 1rem; word-break: break-word; }
    .map-box { min-height: 300px; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
    .footer-bottom { flex-direction: column; text-align: center; }
    .steps { grid-template-columns: 1fr; }
    .branch-card-name { left: var(--sp-3); }
    .branch-card-body { padding: var(--sp-3); }
    .quickbook { margin-top: -3rem; background: linear-gradient(180deg, transparent 3rem, var(--black) 3rem); }
    .quickbook-card { padding: var(--sp-3); }
    .booking-panel { padding: var(--sp-3); }
    .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .slot-face { min-height: 58px; }
    .date-strip { grid-auto-columns: 72px; gap: 8px; }
    .stepper { gap: 6px; }
    .stepper li { flex: 1 1 auto; font-size: .68rem; letter-spacing: .01em; white-space: nowrap; }
    .credit-grid { grid-template-columns: 1fr; }
    .settings-grid { grid-template-columns: 1fr; }
    .history th:nth-child(2), .history td:nth-child(2) { display: none; }
    .history td, .history th { padding: .75rem .5rem; }
    .auth-card { padding: var(--sp-5) var(--sp-3); }
    .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; width: 48px; height: 48px; }
    .lb-prev { left: calc(50% - 64px); }
    .lb-next { right: calc(50% - 64px); }
    .lb-close { top: 12px; right: 12px; }
    .lb-img { max-height: calc(100dvh - 190px); border-radius: 10px; }
    .lb-stage { max-width: 100vw; padding: 0 8px; margin-bottom: 60px; }
    .cookie-banner { padding: var(--sp-3); bottom: calc(var(--bottom-nav-h) + 10px); }
    .cookie-actions .btn { flex: 1 1 100%; }
}

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

/* ==========================================================================
   Foundation additions: user menu, flash messages, form errors, account page
   ========================================================================== */
.user-menu { position: relative; }
.user-menu > summary { list-style: none; cursor: pointer; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu-avatar {
    width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--green-gradient); color: #000; font-size: .7rem; font-weight: 800; letter-spacing: .02em;
}
.user-menu-panel {
    position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: .5rem; z-index: 60;
    background: rgba(17, 17, 17, .97); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; gap: 2px;
}
.user-menu-name { padding: .5rem .75rem .65rem; color: var(--text-strong); font-weight: 700; border-bottom: 1px solid var(--line); margin-bottom: .25rem; }
.user-menu-name small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; }
.user-menu-panel a, .user-menu-panel button {
    display: flex; align-items: center; gap: .6rem; width: 100%; padding: .6rem .75rem; border-radius: 10px;
    color: var(--text); font: inherit; font-size: .92rem; background: none; border: 0; cursor: pointer; text-align: left;
}
.user-menu-panel a:hover, .user-menu-panel button:hover { background: var(--glass-3); color: var(--text-strong); }
.user-menu-panel .icon { color: var(--green); }

.flash-stack {
    position: fixed; top: calc(var(--nav-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 70;
    display: flex; flex-direction: column; gap: .5rem; width: min(560px, calc(100% - 32px)); pointer-events: none;
}
.flash {
    display: flex; align-items: flex-start; gap: .6rem; padding: .85rem 1.1rem; border-radius: var(--r-lg);
    background: rgba(17, 17, 17, .96); border: 1px solid var(--line-2); color: var(--text-strong); font-size: .92rem;
    box-shadow: var(--shadow-lg); animation: flash-out .4s ease 8s forwards; pointer-events: auto;
}
.flash .icon { flex-shrink: 0; margin-top: 2px; }
.flash--success { border-color: var(--green-a50); }
.flash--success .icon { color: var(--green); }
.flash--error { border-color: rgba(255, 92, 92, .5); animation-delay: 14s; }
.flash--error .icon { color: var(--red); }
.flash--warning .icon, .flash--info .icon { color: var(--amber); }
@keyframes flash-out { to { opacity: 0; visibility: hidden; transform: translateY(-6px); } }

.field-error { color: var(--red); font-size: .82rem; }
.input.is-invalid { border-color: rgba(255, 92, 92, .6); }
.check-line { display: flex; align-items: flex-start; gap: .6rem; color: var(--text); font-size: .92rem; cursor: pointer; }
.check-line input { margin-top: .25rem; accent-color: var(--green); width: 18px; height: 18px; flex-shrink: 0; }
.oauth-btn[disabled] { opacity: .45; cursor: not-allowed; }
.oauth-note { font-size: .78rem; color: var(--muted); margin: .45rem 0 .75rem; text-align: center; }

.credit-card--wide { flex-wrap: wrap; align-items: flex-start; }
.lot-list { flex-basis: 100%; list-style: none; display: flex; flex-direction: column; gap: .45rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.lot-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: .86rem; color: var(--muted); }
.lot-list li b { color: var(--text-strong); }
.lot-list .is-soon { color: var(--amber); }
.res-card form { margin: 0; }
/* QR: square white box, the size-less segno SVG (viewBox, equal quiet zone) fills it -> centred on every page */
.qr-box { background: #fff; border-radius: 12px; padding: 6px; width: 132px; aspect-ratio: 1; display: block; margin-inline: auto; line-height: 0; flex-shrink: 0; }
.qr-box svg { display: block; width: 100%; height: auto; aspect-ratio: 1; shape-rendering: crispEdges; }
.qr-box--lg { width: min(220px, 100%); padding: 8px; }
.qr-box--xl { width: min(300px, 100%); padding: 10px; margin-block: var(--sp-3); }
.empty-state { padding: var(--sp-4); text-align: center; color: var(--muted); }
.empty-state .btn { margin-top: var(--sp-2); }
.danger-zone { padding: var(--sp-4); border-color: rgba(255, 92, 92, .25); display: flex; flex-direction: column; gap: var(--sp-2); }
.danger-zone p { color: var(--muted); font-size: .9rem; }
.danger-zone form { display: flex; gap: .75rem; flex-wrap: wrap; align-items: flex-end; }
.activate-card { padding: var(--sp-4); }
.activate-form { display: flex; gap: .75rem; flex-wrap: wrap; align-items: flex-end; margin-top: var(--sp-2); }
.activate-form .field { flex: 1 1 220px; }
.error-page { text-align: center; padding: calc(var(--nav-h) + var(--sp-6)) var(--gutter) var(--sp-7); max-width: 720px; margin: 0 auto; }
@media (max-width: 640px) {
    .user-menu-panel { position: fixed; left: 16px; right: 16px; top: calc(var(--nav-h) + 6px); min-width: 0; }
}

/* ==========================================================================
   Booking + pricing + public frontend (booking stream)
   ========================================================================== */
.btn--lg { padding: 1rem 2.2rem; font-size: 1.02rem; }
.hero-cta--split { gap: .75rem; }
.hero-cta--split .btn { flex: 0 1 auto; }
.slot-badge {
    display: inline-flex; align-items: center; padding: .05rem .4rem; border-radius: var(--r-full);
    background: var(--green); color: var(--black); font-size: .68rem; font-weight: 800; letter-spacing: .02em; line-height: 1.4;
    white-space: nowrap;
}
.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }

/* ---------- Booking page header ---------- */
.page-head--split { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); align-items: flex-end; justify-content: space-between; }
.page-head--split > div { flex: 1 1 520px; }
.wallet-chip {
    display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border-radius: var(--r-full);
    background: var(--green-a10); border: 1px solid var(--green-a30); color: var(--text-strong); font-size: .9rem;
}
.wallet-chip .icon, .wallet-chip b { color: var(--green); }
.wallet-chip.is-empty { background: var(--glass-2); border-color: var(--line-2); }
.wallet-chip.is-empty .icon, .wallet-chip.is-empty b { color: var(--muted); }
.wallet-chip:hover { border-color: var(--green); }
.pending-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .85rem 1.1rem; margin-bottom: var(--sp-3);
    border-color: var(--green-a30); background: var(--green-a05);
}
.pending-bar > .icon { color: var(--green); }
.pending-bar p { flex: 1 1 260px; font-size: .92rem; }
.pending-bar strong { color: var(--text-strong); }
.pending-bar form { margin: 0; }

/* ---------- Suggestions ("Termíny pro tebe") ---------- */
.sugg { padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-4); border-color: var(--green-a30); }
.sugg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: var(--sp-2); }
.sugg-title { font-size: 1.1rem; font-weight: 700; color: var(--text-strong); display: flex; align-items: center; gap: .5rem; }
.sugg-title .icon { color: var(--green); }
.sugg-sub { color: var(--muted); font-size: .85rem; }
.sugg-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.sugg .qslot { min-width: 0; width: 100%; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.sugg .qslot:hover { transform: translateY(-2px); }
.qslot-tier { font-size: .68rem; color: var(--muted); margin-top: .1rem; }
.qslot.is-offpeak { border-color: var(--green-a30); background: var(--green-a05); }
.qslot-price { display: inline-flex; align-items: center; gap: .3rem; flex-wrap: wrap; font-weight: 700; }
.qslot .qslot-price { color: var(--text-strong); }
.qslot.is-offpeak .qslot-price { color: var(--green); }
.qslot-std { color: var(--muted-2); font-weight: 500; font-size: .9em; }
.quickbook .sugg {
    margin-bottom: 0; background: rgba(10, 10, 10, .92); box-shadow: var(--shadow-lg), var(--glow);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--sp-2) var(--sp-3);
}
.quickbook .sugg-head { grid-column: 1 / -1; margin-bottom: 0; }
.quickbook .sugg-slots { grid-column: 1; }
.sugg-all { align-self: center; }

/* ---------- Month calendar ---------- */
.booking-cal-layout { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
.cal-card { padding: var(--sp-3); position: sticky; top: calc(var(--nav-h) + 16px); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: var(--sp-2); }
.cal-title { font-size: 1.25rem; font-weight: 700; color: var(--text-strong); text-align: center; flex: 1; outline: none; }
.cal-nav {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
    background: var(--glass-2); border: 1px solid var(--line-2); color: var(--text-strong);
}
.cal-nav:hover { border-color: var(--green); color: var(--green); background: var(--glass-3); }
.cal-nav.is-disabled { opacity: .3; pointer-events: none; }
.cal-grid { border-collapse: separate; border-spacing: 5px; table-layout: fixed; margin: 0 -5px; width: calc(100% + 10px); }
.cal-grid th { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .2rem 0 .35rem; text-align: center; }
.cal-day { padding: 0; text-align: center; vertical-align: middle; }
.cal-day a, .cal-static {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
    aspect-ratio: 1 / 1; min-height: 40px; border-radius: 12px; border: 1px solid transparent; line-height: 1;
    font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.cal-num { font-weight: 700; font-size: 1rem; }
.cal-mark { height: .9rem; font-size: 1.05rem; line-height: .9rem; color: var(--green); }
.cal-day a { background: var(--glass-2); border-color: var(--line); color: var(--text-strong); }
.cal-day a:hover { border-color: var(--green-a50); background: var(--glass-3); transform: translateY(-1px); }
.cal-day.has-offpeak a { background: var(--green-a10); border-color: var(--green-a30); }
.cal-day.is-full a { color: var(--muted); background: transparent; border-color: var(--line); }
.cal-day.is-today a, .cal-day.is-today .cal-static { box-shadow: inset 0 0 0 1px var(--text-strong); }
.cal-day.is-selected a { background: var(--green); border-color: var(--green); color: var(--black); box-shadow: var(--glow); }
.cal-day.is-selected .cal-mark { color: var(--black); }
.cal-static { color: var(--muted-2); }
.cal-day.is-past .cal-static, .cal-day.is-out .cal-static { opacity: .45; }
.cal-day.is-closed .cal-static { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.cal-legend { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.cal-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.cal-legend-mark { color: var(--green); font-size: 1.1rem; line-height: 1; width: 14px; text-align: center; }
.cal-legend-mark.is-none { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-2); }
.cal-legend-swatch { width: 14px; height: 14px; border-radius: 4px; background: var(--green-a20); border: 1px solid var(--green-a50); }

/* ---------- Day panel + slot buttons ---------- */
.day-card { padding: var(--sp-3) var(--sp-4); min-height: 320px; scroll-margin-top: calc(var(--nav-h) + 12px); }
.day-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: var(--sp-2); }
.day-title { font-size: 1.25rem; font-weight: 700; color: var(--text-strong); }
.day-title::first-letter { text-transform: uppercase; }
.day-sub { color: var(--muted); font-size: .88rem; }
.day-card .slot-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.day-card .slot-period { margin-bottom: var(--sp-2); }
.slot-form { margin: 0; }
.slot-btn {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 66px; padding: .45rem .3rem; border-radius: 12px; width: 100%;
    background: var(--glass-2); border: 1px solid rgba(255, 255, 255, .12); color: var(--text-strong); text-align: center; line-height: 1.15;
    transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.slot-btn .slot-time { font-size: 1.02rem; }
.slot-btn .slot-price { color: var(--text-strong); font-size: .8rem; font-weight: 600; }
.slot-btn.is-offpeak { background: var(--green-a05); border-color: var(--green-a30); }
.slot-btn.is-offpeak .slot-price { color: var(--green); }
.slot-deal { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; color: var(--muted); }
.slot-deal s { color: var(--muted-2); }
button.slot-btn:hover { border-color: var(--green); background: var(--green-a10); transform: translateY(-2px); box-shadow: var(--glow); }
button.slot-btn:active { transform: translateY(0); }
.slot-btn.is-full, .slot-btn.is-past, .slot-btn.is-out, .slot-btn.is-closed, .slot-btn.is-blocked, .slot-btn.is-disabled {
    background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, .12); cursor: not-allowed; opacity: .5;
}
.slot-btn.is-full .slot-price, .slot-btn.is-past .slot-price, .slot-btn.is-out .slot-price,
.slot-btn.is-closed .slot-price, .slot-btn.is-blocked .slot-price { color: var(--muted-2); font-weight: 500; }
.slot-btn.is-mine { border-color: rgba(255, 193, 7, .5); background: var(--amber-a12); cursor: default; }
.slot-btn.is-mine .slot-price { color: var(--amber); }
.slot-legend { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; color: var(--muted); font-size: .8rem; padding-top: var(--sp-2); border-top: 1px solid var(--line); }
.slot-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.slot-legend-chip { width: 16px; height: 12px; border-radius: 4px; background: var(--glass-3); border: 1px solid var(--line-2); }
.slot-legend-chip.is-offpeak { background: var(--green-a20); border-color: var(--green-a50); }
.slot-legend-chip.is-full { background: transparent; border-style: dashed; }
.booking-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-top: var(--sp-4); }
.booking-info p { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: .88rem; }
.booking-info .icon { color: var(--green); margin-top: 2px; }
.booking-info b { color: var(--text-strong); }

/* ---------- Confirm page ---------- */
.confirm-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
.confirm-card { padding: var(--sp-4); }
.confirm-title { font-size: 1.6rem; color: var(--text-strong); margin-bottom: var(--sp-3); line-height: 1.2; }
.confirm-change { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--sp-3); }
.tier-tag { display: inline-flex; padding: .15rem .6rem; border-radius: var(--r-full); font-size: .8rem; font-weight: 700; background: var(--glass-3); border: 1px solid var(--line-2); color: var(--text-strong); }
.tier-tag--off { background: var(--green-a10); border-color: var(--green-a30); color: var(--green); }
.confirm-actions { display: flex; flex-direction: column; gap: var(--sp-2); }
.pay-card { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.pay-card h2 { font-size: 1.25rem; color: var(--text-strong); line-height: 1.25; }
.pay-card--primary { border-color: var(--green-a30); background: rgba(10, 10, 10, .9); box-shadow: var(--glow); }
.pay-card form { margin: 0; }
.btn--xl-soft { padding: 1.1rem 1.5rem; font-size: 1.02rem; }
.pay-or { color: var(--muted); font-size: .85rem; text-align: center; display: flex; align-items: center; gap: .75rem; }
.pay-or::before, .pay-or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.pass-options { display: flex; flex-direction: column; gap: .6rem; }
.pass-option button {
    width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "meta price"; gap: .1rem 1rem;
    align-items: center; text-align: left; padding: .85rem 1.1rem; border-radius: var(--r-lg);
    background: var(--glass-2); border: 1px solid var(--line-2); transition: border-color .15s, background .15s;
}
.pass-option button:hover { border-color: var(--green); background: var(--green-a05); }
.pass-option-name { grid-area: name; font-weight: 700; color: var(--text-strong); }
.pass-option-meta { grid-area: meta; font-size: .8rem; color: var(--muted); }
.pass-option-price { grid-area: price; font-weight: 800; font-size: 1.15rem; color: var(--green); white-space: nowrap; }

/* ---------- Reservation detail ---------- */
.res-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--sp-4); align-items: start; margin-bottom: var(--sp-3); }
.res-detail-card { padding: var(--sp-4); }
.res-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: var(--sp-3); flex-wrap: wrap; }
.res-detail-head .section-badge { margin-bottom: var(--sp-1); }
.res-detail-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--sp-2); }
.entry-card { padding: var(--sp-4); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); border-color: var(--green-a30); }
.entry-title { font-size: 1.15rem; color: var(--text-strong); display: flex; align-items: center; gap: .5rem; }
.entry-title .icon { color: var(--green); }
.pin-value { font-size: 2.4rem; font-weight: 900; letter-spacing: .25em; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.pin-value--pending { color: var(--muted-2); letter-spacing: .15em; }
.entry-card .muted { font-size: .88rem; }
.entry-card .muted a { color: var(--green); text-decoration: underline; }
.cancel-card { padding: var(--sp-3) var(--sp-4); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-bottom: var(--sp-3); border-color: rgba(255, 92, 92, .2); }
.cancel-card h2 { font-size: 1.1rem; color: var(--text-strong); }
.cancel-card form { margin: 0; }
.res-detail-back { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; margin-top: var(--sp-3); }

/* ---------- Pricing additions ---------- */
.price-was { display: inline-flex; align-items: center; gap: .4rem; margin-top: .35rem; font-size: .85rem; color: var(--muted-2); }
.price-tier-label .icon { color: var(--green); }
.price-card--best { border-color: var(--green-a30); }
.price-card form { margin-top: auto; }
.gift-band {
    display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-4);
    border-color: var(--green-a30); transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.gift-band:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--glow); }
.gift-band-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; background: var(--green-a10); border: 1px solid var(--green-a30); color: var(--green); }
.gift-band-text { flex: 1; display: flex; flex-direction: column; gap: .15rem; color: var(--muted); font-size: .92rem; }
.gift-band-text strong { color: var(--text-strong); font-size: 1.1rem; }

/* ---------- Videos (vertical Shorts gallery + lightbox) ---------- */
.vgal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-2); }
.vcard {
    position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
    border: 1px solid var(--line); background: var(--surface-2); color: var(--text-strong);
    transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.vcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.vcard-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .35) 38%, transparent 62%); }
.vcard-title { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: .88rem; font-weight: 700; line-height: 1.25; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.vcard-play {
    position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(0, 0, 0, .55); border: 1px solid var(--green-a50); color: var(--green); backdrop-filter: blur(4px);
    transition: background .2s, color .2s, transform .2s;
}
.vcard-play svg { margin-left: 2px; }
.vcard:hover, .vcard:focus-visible { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--glow); }
.vcard:hover .vcard-img { transform: scale(1.05); }
.vcard:hover .vcard-play, .vcard:focus-visible .vcard-play { background: var(--green); color: var(--black); transform: scale(1.1); }
.vcard:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.vlb { position: fixed; inset: 0; z-index: 3200; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .88); backdrop-filter: blur(6px); animation: vlb-in .2s ease-out; }
.vlb[hidden] { display: none; }
@keyframes vlb-in { from { opacity: 0; } to { opacity: 1; } }
.vlb-stage { position: relative; width: min(calc(100vw - 32px), calc(min(88vh, 900px) * 9 / 16)); aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: 0 20px 80px rgba(0, 0, 0, .7); }
.vlb-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vlb-btn {
    position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: rgba(20, 20, 20, .8); border: 1px solid var(--line-2); color: var(--text-strong); transition: background .2s, color .2s;
}
.vlb-btn:hover, .vlb-btn:focus-visible { background: var(--green); color: var(--black); }
.vlb-btn[hidden] { display: none; }
.vlb-close { top: 16px; right: 16px; }
.vlb-prev, .vlb-next { top: 50%; margin-top: -22px; }
.vlb-prev { left: max(16px, calc(50% - min(88vh, 900px) * 9 / 32 - 76px)); }
.vlb-next { right: max(16px, calc(50% - min(88vh, 900px) * 9 / 32 - 76px)); }
@media (prefers-reduced-motion: reduce) { .vlb { animation: none; } .vcard, .vcard-img, .vcard-play { transition: none; } .vcard:hover, .vcard:focus-visible, .vcard:hover .vcard-img { transform: none; } }
body.vlb-open { overflow: hidden; }

/* ---------- Legal pages ---------- */
.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--sp-3); }
.legal-nav a { padding: .45rem 1rem; border-radius: var(--r-full); border: 1px solid var(--line-2); color: var(--muted); font-size: .88rem; font-weight: 600; }
.legal-nav a:hover { color: var(--text-strong); border-color: var(--green-a50); }
.legal-nav a[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--black); }
.legal-card { padding: var(--sp-5) var(--sp-4); line-height: 1.8; color: var(--text); }
.legal-card h2 { font-size: 1.4rem; color: var(--text-strong); text-transform: uppercase; letter-spacing: .03em; padding-bottom: .75rem; margin-bottom: var(--sp-3); border-bottom: 1px solid var(--green-a30); display: inline-block; }
.legal-card h3 { font-size: 1.12rem; color: var(--green); margin: var(--sp-4) 0 .6rem; line-height: 1.35; scroll-margin-top: calc(var(--nav-h) + 12px); }
.legal-card h4 { font-size: 1rem; color: var(--text-strong); margin: var(--sp-2) 0 .3rem; }
.legal-card p { margin-bottom: .75rem; }
.legal-card ol { padding-left: 1.3rem; display: flex; flex-direction: column; gap: .5rem; margin-bottom: .75rem; }
.legal-card ul { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .9rem; }
.legal-card a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal-card .btn { text-decoration: none; }
.legal-bullets li, .legal-card > ul:not(.legal-bullets) li { position: relative; padding-left: 1.2rem; }
.legal-bullets li::before, .legal-card > ul:not(.legal-bullets) li::before { content: '\2022'; position: absolute; left: 0; color: var(--green); }
.legal-toc { margin-top: .5rem; }
.legal-toc li::before { content: '\2022'; margin-right: .5rem; color: var(--green); }
.legal-box { background: var(--glass-2); padding: 1.1rem 1.4rem; border-radius: var(--r-md); margin: 1rem 0; border-left: 3px solid var(--green); line-height: 1.75; }
.legal-box strong { color: var(--text-strong); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: .5rem 0 1rem; }
.legal-table th { text-align: left; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding: .6rem .75rem; border-bottom: 1px solid var(--line-2); }
.legal-table td { padding: .7rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table code { color: var(--green); font-size: .85rem; }

/* ---------- Responsive (booking stream) ---------- */
@media (max-width: 1100px) {
    .sugg-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .booking-cal-layout { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: var(--sp-3); }
    .vgal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .booking-cal-layout { grid-template-columns: minmax(0, 1fr); }
    .cal-card { position: static; }
    .booking-info { grid-template-columns: 1fr; gap: var(--sp-2); }
    .confirm-layout, .res-detail { grid-template-columns: minmax(0, 1fr); }
    .quickbook .sugg { grid-template-columns: minmax(0, 1fr); }
    .sugg-all { justify-self: start; }
}
@media (max-width: 640px) {
    .sugg { padding: var(--sp-3); }
    .sugg-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .cal-card { padding: var(--sp-2) .6rem; }
    .cal-grid { border-spacing: 3px; margin: 0 -3px; width: calc(100% + 6px); }
    .cal-day a, .cal-static { border-radius: 10px; min-height: 0; }
    .cal-num { font-size: .95rem; }
    .day-card { padding: var(--sp-3) var(--sp-2); }
    .day-card .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .slot-btn { min-height: 62px; }
    .slot-deal { flex-wrap: wrap; font-size: .62rem; }
    .slot-deal s { flex-basis: 100%; }
    .vgal { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 0 calc(-1 * var(--gutter, 16px)); padding: 6px var(--gutter, 16px) 14px; scroll-padding: 0 var(--gutter, 16px); scrollbar-width: none; }
    .vgal::-webkit-scrollbar { display: none; }
    .vcard { flex: 0 0 44%; max-width: 220px; scroll-snap-align: start; }
    .vlb-stage { width: min(calc(100vw - 32px), calc(min(78vh, 78dvh) * 9 / 16)); }
    .vlb-prev { left: 16px; } .vlb-next { right: 16px; }
    .vlb-prev, .vlb-next { top: auto; bottom: 16px; margin-top: 0; }
    .legal-card { padding: var(--sp-4) var(--sp-3); }
    .legal-table th:nth-child(3), .legal-table td:nth-child(3) { display: none; }
    .hero-cta--split .btn { flex: 1 1 100%; }
    .gift-band { flex-wrap: wrap; }
    .pin-value { font-size: 2rem; }
}

/* Integration pass: large CTAs must fit narrow phones (no horizontal scroll) */
@media (max-width: 480px) {
    .btn--xl { padding: 1.1rem 1.5rem; font-size: 1rem; max-width: 100%; white-space: normal; }
}

/* ==========================================================================
   Long buttons never clip: wrap on phones (balanced lines) instead of overflowing the pill
   ========================================================================== */
.btn { max-width: 100%; }
/* the pay column on the confirm page is ~380px wide even on desktop: long CTAs wrap there too */
.pay-card .btn, .checkout-pay .btn { white-space: normal; text-wrap: balance; overflow-wrap: break-word; }
@media (max-width: 640px) {
    .btn { white-space: normal; text-wrap: balance; overflow-wrap: break-word; }
    .btn--cta { letter-spacing: .04em; line-height: 1.25; }
    .pay-card .btn--block { padding: .95rem 1.1rem; }
}

/* ==========================================================================
   Account (/ucet/*) - compact, mobile-first sub-pages with a tab bar (account/_layout.html)
   ========================================================================== */
.account { padding-top: var(--nav-h); padding-bottom: var(--sp-5); }
.account .container { max-width: 1040px; }
.account-head { padding: var(--sp-3) 0 var(--sp-2); }
.account-head-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.account-id { display: flex; align-items: center; gap: .85rem; min-width: 0; color: inherit; }
.avatar--sm { width: 48px; height: 48px; font-size: 1.05rem; box-shadow: none; }
.account-id-text { display: flex; flex-direction: column; min-width: 0; }
.account-id-text strong { color: var(--text-strong); font-size: 1.1rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-id-text small { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-admin { flex-shrink: 0; }
.account-tabs {
    position: sticky; top: var(--nav-h); z-index: 900; background: rgba(0, 0, 0, .92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-2);
}
.account-tabs-inner { display: flex; gap: .25rem; }
.account-tabs a {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 52px; padding: .85rem 1.1rem;
    color: var(--muted); font-weight: 600; font-size: .95rem; border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: color .15s, border-color .15s;
}
.account-tabs a:hover { color: var(--text-strong); }
.account-tabs a.is-active { color: var(--green); border-bottom-color: var(--green); }
.account-body { padding-top: var(--sp-4); }
.account-flash { display: flex; flex-direction: column; gap: .5rem; margin-bottom: var(--sp-3); }
.account-flash .flash { animation: none; box-shadow: none; }
.account .btn--sm { min-height: 44px; }

.acc-greet { margin-bottom: var(--sp-3); }
.acc-greet .acc-title { display: block; }
.acc-sub > span { display: inline-flex; align-items: center; gap: .35rem; }
.acc-title { font-size: clamp(1.45rem, 4vw, 1.9rem); font-weight: 800; color: var(--text-strong); line-height: 1.2; display: flex; align-items: center; gap: .6rem; }
.acc-title .icon { color: var(--green); }
.acc-sub { color: var(--muted); font-size: .88rem; margin-top: .35rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.acc-sub .icon { color: var(--green); }
.acc-pagehead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: var(--sp-3); }
.acc-section { margin-bottom: var(--sp-4); }
.acc-h {
    display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; min-height: 28px;
    font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.acc-h .icon { color: var(--green); }
.acc-h-link {
    margin-left: auto; display: inline-flex; align-items: center; gap: .2rem; padding: .75rem 0; margin-block: -.75rem;
    color: var(--green); font-size: .85rem; text-transform: none; letter-spacing: 0;
}
.acc-overview { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 var(--sp-4); align-items: start; }

/* reservation cards */
.rcard-list { display: flex; flex-direction: column; gap: .75rem; }
.rcard { overflow: hidden; border-radius: var(--r-lg); }
.rcard-link { display: flex; align-items: center; gap: .9rem; padding: 14px 16px; color: inherit; }
.rcard-link:hover .rcard-main strong { color: var(--green); }
.rcard-date {
    display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; min-width: 64px; padding: 8px 10px;
    background: var(--green-a10); border: 1px solid var(--green-a20); border-radius: 12px; text-align: center; line-height: 1.25;
}
.rcard-date small { font-size: .62rem; text-transform: uppercase; color: var(--green); font-weight: 800; letter-spacing: .06em; }
.rcard-date b { color: var(--text-strong); font-size: .9rem; white-space: nowrap; }
.rcard-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rcard-main strong { font-size: 1.15rem; color: var(--text-strong); font-variant-numeric: tabular-nums; transition: color .15s; }
.rcard-meta { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.rcard .pill { margin-top: 0; flex-shrink: 0; }
.rcard-access { display: flex; gap: .5rem; align-items: flex-start; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); line-height: 1.4; }
.rcard-access .icon { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.rcard-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 16px 14px; }
.rcard-actions form { margin: 0; display: flex; }
.rcard-actions .btn { padding-inline: 1rem; }
.rcard-actions form .btn { flex: 1; }
.rcard--next { border-color: var(--green-a30); background: linear-gradient(180deg, var(--green-a05), transparent 70%), var(--glass); }
.rcard--next .rcard-actions { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.btn--entry { font-size: 1.05rem; min-height: 54px; padding: .9rem 1rem; box-shadow: var(--glow); }

/* quick actions */
.quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-bottom: var(--sp-4); }
.qa {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; min-height: 88px; padding: .85rem .4rem;
    border-radius: var(--r-lg); color: var(--text-strong); font-size: .84rem; font-weight: 600; text-align: center; line-height: 1.2;
    transition: border-color .15s, transform .15s;
}
.qa:hover { border-color: var(--green-a50); transform: translateY(-2px); }
.qa-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-a10); border: 1px solid var(--green-a20); color: var(--green); }

/* wallets */
.wallet-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.wallet-tile { display: flex; flex-direction: column; gap: .2rem; min-width: 0; padding: .9rem 1rem; border-radius: var(--r-lg); color: inherit; transition: border-color .15s; }
.wallet-tile:hover { border-color: var(--green-a50); }
.wallet-tile-branch { display: flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.wallet-tile-branch .icon { color: var(--green); }
.wallet-tile-num { color: var(--muted); font-size: .85rem; }
.wallet-tile-num b { font-size: 2rem; font-weight: 900; color: var(--green); line-height: 1.05; margin-right: .1rem; }
.wallet-tile.is-empty .wallet-tile-num b { color: var(--muted); }
.wallet-tile-exp { font-size: .75rem; color: var(--muted); line-height: 1.3; }
.wallet-tile-exp.is-soon { color: var(--amber); }
.wallet-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
.wallet-card { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .8rem; border-radius: var(--r-lg); }
.wallet-card-head { display: flex; align-items: center; gap: .9rem; }
.wallet-card .lot-list { padding-top: .7rem; }
.wallet-card .credit-info span { font-size: .82rem; line-height: 1.35; display: block; }
.wallet-card-head .btn { flex-shrink: 0; }
.credit-ring--sm { width: 62px; height: 62px; border-width: 2px; }
.credit-ring--sm b { font-size: 1.35rem; }

/* lists (history, ledger, settings rows) */
.acc-list { list-style: none; padding: 0; overflow: hidden; border-radius: var(--r-lg); }
.acc-list > li + li { border-top: 1px solid var(--line); }
.acc-list form { margin: 0; }
.acc-row {
    display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 56px; padding: .7rem 1rem;
    color: inherit; background: none; border: 0; font: inherit; text-align: left;
}
a.acc-row, .acc-row--btn { cursor: pointer; transition: background .15s; }
a.acc-row:hover, .acc-row--btn:hover { background: var(--glass-2); }
.acc-row > .icon:last-child { color: var(--muted-2); flex-shrink: 0; }
.acc-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.acc-row-main strong { color: var(--text-strong); font-size: .95rem; font-weight: 600; }
.acc-row-main small { color: var(--muted); font-size: .78rem; line-height: 1.35; overflow-wrap: anywhere; }
.acc-row .pill { margin-top: 0; flex-shrink: 0; }
.acc-row-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--glass-3); color: var(--green); }
.acc-delta { min-width: 2.5rem; text-align: right; font-weight: 800; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.acc-delta.is-plus { color: var(--green); }
.acc-empty { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: var(--sp-3); text-align: center; color: var(--muted); font-size: .92rem; border-radius: var(--r-lg); }
.acc-empty-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-3); color: var(--green); }
.acc-empty--flat { display: block; font-size: .88rem; }
.acc-note { display: flex; gap: .5rem; align-items: flex-start; margin-top: .75rem; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.acc-note .icon { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.acc-small { margin: 0; color: var(--muted); font-size: .82rem; }
.account .settings-grid { border-radius: var(--r-lg); }
.account .activate-card { border-radius: var(--r-lg); padding: var(--sp-3); }
.account .activate-card > .muted:first-child { font-size: .9rem; }
.account .my-vouchers { margin-top: 0; }

.account .acc-h.my-voucher-h { font-size: .8rem; color: var(--muted); margin: 0 0 .75rem; flex: 1; }
.account .my-vouchers > div:first-child { margin-bottom: .25rem; }
.account .my-voucher .pill { margin-top: 0; }
.account .my-voucher .btn { margin-left: auto; }
.rcard--next .rcard-actions .rcard-detail-wide { grid-column: 1 / -1; }
.wallet-buy { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.wallet-buy-label { display: inline-flex; align-items: center; gap: .3rem; margin-right: auto; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.wallet-buy-label .icon { color: var(--green); }
.wallet-buy .btn { padding-inline: .9rem; }

/* delete account (collapsed, native <details>) */
.danger-details { overflow: hidden; border-radius: var(--r-lg); border-color: rgba(255, 92, 92, .2); }
.danger-details > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: .6rem; min-height: 56px; padding: .8rem 1rem;
    color: var(--red); font-weight: 600;
}
.danger-details > summary::-webkit-details-marker { display: none; }
.danger-details > summary span { flex: 1; }
.danger-details > summary .icon:last-child { color: var(--muted-2); transition: transform .2s; }
.danger-details[open] > summary .icon:last-child { transform: rotate(90deg); }
.danger-details .danger-zone { padding: 0 1rem 1rem; }

/* entry (full screen QR / PIN) */
.entry-full { text-align: center; }
.entry-full h1 { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.entry-full h1 .icon { color: var(--green); }
.entry-full .notice { text-align: left; }
.entry-full-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: var(--sp-3); }

@media (max-width: 860px) {
    .acc-overview { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .account-head { padding: .9rem 0 .7rem; }
    .avatar--sm { width: 40px; height: 40px; font-size: .9rem; }
    .account-id-text strong { font-size: 1rem; }
    .account-id-text small { font-size: .78rem; }
    .account-admin span { display: none; }
    .account-admin { width: 44px; padding: 0; }
    .account-tabs .container { padding: 0; }
    .account-tabs-inner { gap: 0; }
    .account-tabs a {
        flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 3px;
        min-height: 58px; padding: .45rem .15rem .4rem; font-size: .7rem; letter-spacing: .01em;
    }
    .account-tabs a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .account-body { padding-top: var(--sp-3); }
    .acc-pagehead { margin-bottom: var(--sp-2); }
    .acc-section { margin-bottom: var(--sp-4); }
    .rcard-link { gap: .7rem; padding: 12px 12px; }
    .rcard-date { min-width: 58px; padding: 7px 8px; }
    .rcard-main strong { font-size: 1.05rem; }
    .rcard-access { padding: 9px 12px; }
    .rcard-actions { padding: 0 12px 12px; }
    .rcard-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
    .rcard-actions .btn { padding-inline: .5rem; }
    .wallet-list { grid-template-columns: minmax(0, 1fr); }
    .wallet-tile-num b { font-size: 1.7rem; }
    .qa { min-height: 80px; font-size: .78rem; }
    .account .activate-card { padding: var(--sp-3) var(--sp-2); }
    .account .settings-grid { padding: var(--sp-3) var(--sp-2); }
    .danger-zone form { flex-direction: column; align-items: stretch; }
    .wallet-buy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wallet-buy-label { grid-column: 1 / -1; }
    .wallet-buy .btn { padding-inline: .4rem; }
    /* account pages on phones: no long site footer under every sub-page (links live in Nastavení) */
    .page-profile .footer { padding-top: var(--sp-3); }
    .page-profile .footer-grid { display: none; }
}

/* ---- user types (tariff badge / note; partials/tariff.html) ---- */
.tariff-pill { margin-top: 0; white-space: nowrap; }
.tariff-note { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .6rem; margin-top: .6rem; font-size: .85rem; }
.section-header .tariff-note { justify-content: center; }
.acc-tariff { display: inline-flex; align-items: center; gap: .35rem; }
.acc-tariff .pill { padding: .1rem .55rem; }
.acc-tariff-field p { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .6rem; margin: 0; }
.acc-tariff-field .form-label { font-size: .88rem; color: var(--muted); }

/* Stage 2: entry-type chips inside the overview wallet tiles */
.wallet-tile .et-chips { display: flex; flex-direction: column; align-items: stretch; gap: .35rem; margin: .5rem 0 .25rem; min-width: 0; }
.wallet-tile .et-chip { max-width: 100%; min-width: 0; flex-wrap: wrap; row-gap: 0; }
.wallet-tile .et-chip__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wallet-tile .et-empty:empty { display: none; }
/* verifier stage 2: wrapped chips get a rounded rectangle (a 999px pill turns into an oval on 2 lines) and on
   phones each branch tile takes the full width so labels like "Týdenní permanentka" are not cut off */
.wallet-tile .et-chip { border-radius: 14px; }
@media (max-width: 479px) { .wallet-tiles { grid-template-columns: minmax(0, 1fr); } }

/* peak windows: one range per line, never broken inside */
.price-tier-window { display: block; white-space: nowrap; }

/* native <select> dropdowns: dark list, readable options (were white-on-white) */
select { color-scheme: dark; }
select option, select optgroup { background-color: #141414; color: #f2f2f2; }
select option:checked { background-color: #2a2a2a; color: #4EE24A; }

/* account settings: on/off switch row ("Dotazníky") */
.acc-switch { padding: 0; display: flex; flex-direction: column; border-radius: var(--r-lg); }
.acc-switch-row { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; cursor: pointer; }
.acc-switch-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.acc-switch-text strong { color: var(--text-strong); font-size: .98rem; font-weight: 600; }
.acc-switch-text small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.acc-switch-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.acc-switch-track { flex: 0 0 auto; position: relative; width: 52px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .14); transition: background .2s; }
.acc-switch-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); transition: transform .2s cubic-bezier(.3, 1.4, .5, 1); }
.acc-switch-input:checked + .acc-switch-track { background: var(--green); }
.acc-switch-input:checked + .acc-switch-track .acc-switch-knob { transform: translateX(22px); }
.acc-switch-input:focus-visible + .acc-switch-track { outline: 2px solid var(--green); outline-offset: 3px; }
.acc-switch .settings-actions { padding: 0 1.1rem 1rem; }

/* quiet marketing re-opt-in (logged-in non-subscribers only) */
.footer-optin { margin: 0; }
.footer-optin-btn, .acc-optin-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; opacity: .7; }
.footer-optin-btn:hover, .acc-optin-btn:hover { opacity: 1; }
.footer-optin-btn { font-size: .8rem; }
.acc-optin { margin: 1.2rem 0 0; font-size: .85rem; color: var(--text-muted, inherit); opacity: .85; }

/* FAQ (public branch pages) */
.faq-list{display:grid;gap:12px}
.faq-item{padding:18px 20px}
.faq-q{font-size:1.05rem;margin:0 0 6px}
.faq-a{margin:0;color:var(--text-muted,inherit);opacity:.9}

/* ==== notes 2026-10-28 F: SMS reminder (booking confirm + reservation detail) ==== */
.sms-opt { display: flex; flex-direction: column; gap: .6rem; margin: .2rem 0 .9rem; }
.sms-opt-phone[hidden] { display: none; }
.sms-card-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem; }
.sms-card-form .field { min-width: 200px; }
/* ==== /notes 2026-10-28 F ==== */

/* ==== notes 2026-10-30 pololetni permanentka ==== */
/* the pololetní pass card spans the whole pricing row (single + weekly + monthly stay in the first row) */
.pricing-grid .price-card--wide { grid-column: 1 / -1; }
/* ==== /notes 2026-10-30 pololetni permanentka ==== */

/* ==== notes 2026-10-30 legacy question ==== */
/* one-time "Cvičil/a jsi u nás už dřív?" hero (legacy/_question.html): /ucet top + first page after login */
.legacy-hero { border: 1px solid var(--green-a30); box-shadow: var(--glow); padding: 1.1rem 1.2rem; margin: 0 0 1.25rem; }
.legacy-hero h2 { margin: 0 0 .4rem; font-size: 1.35rem; }
.legacy-hero p { margin: 0 0 .9rem; }
.legacy-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.legacy-hero-actions form { margin: 0; }
.legacy-banner-wrap { padding-top: 1rem; }
.acc-legacy-link { margin: 0 0 1rem; }
/* ==== /notes 2026-10-30 legacy question ==== */
