/* =====================================================================
   JELMEZKIRÁLY — TURBÓ DESIGN SYSTEM (shared)
   Modern, glassmorphism + neon-orange, dark/light, teljesen reszponzív.
   Progresszív fejlesztés: JS nélkül is működik minden.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- DESIGN TOKENS ---------- */
:root {
    --primary: #ff6b00;
    --primary-2: #ff9f43;
    --primary-ink: #ffffff;
    --accent: #22d3ee;
    --accent-2: #a855f7;
    --grad-primary: linear-gradient(135deg, #ff6b00 0%, #ff9f43 100%);
    --grad-fun: linear-gradient(120deg, #ff6b00, #ff2d78 55%, #a855f7);
    --glow: rgba(255, 107, 0, 0.45);

    /* Dark (default) */
    --bg: #0c0c10;
    --bg-2: #121218;
    --surface: #17171f;
    --surface-2: #1e1e28;
    --surface-3: #26263280;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #f3f3f7;
    --text-dim: #a2a2ae;
    --text-mute: #6f6f7c;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.4);
    --ring: 0 0 0 3px rgba(255, 107, 0, 0.28);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 26px;
    --nav-h: 68px;
    --font-head: 'Sora', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

:root[data-theme="light"] {
    --bg: #f4f5fa;
    --bg-2: #ffffff;
    --surface: #ffffff;
    --surface-2: #f6f7fb;
    --surface-3: #eef0f6;
    --border: rgba(15, 20, 40, 0.09);
    --border-strong: rgba(15, 20, 40, 0.16);
    --text: #14151d;
    --text-dim: #5a5d6e;
    --text-mute: #9096a6;
    --shadow: 0 18px 50px rgba(20, 25, 60, 0.14);
    --shadow-sm: 0 6px 20px rgba(20, 25, 60, 0.08);
    --primary-ink: #ffffff;
}

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background .4s ease, color .4s ease;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); margin: 0 0 .4em; line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
img { max-width: 100%; display: block; }
::selection { background: var(--primary); color: #fff; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 22px; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #3a3a46; border-radius: 20px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ---------- NAV ---------- */
.tb-nav {
    position: sticky; top: 0; z-index: 900;
    height: var(--nav-h);
    display: flex; align-items: center;
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s, background .3s;
}
.tb-nav.scrolled { box-shadow: var(--shadow-sm); }
.tb-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; }
.tb-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; display: flex; align-items: center; gap: 9px; letter-spacing: -0.02em; }
.tb-logo .crown { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--grad-primary); color: #fff; box-shadow: 0 6px 18px var(--glow); font-size: 1rem; }
.tb-logo b { background: var(--grad-fun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tb-navlinks { display: flex; align-items: center; gap: 6px; }
.tb-navlinks > a { padding: 9px 14px; border-radius: 10px; font-size: .93rem; font-weight: 600; color: var(--text-dim); }
.tb-navlinks > a:hover { color: var(--text); background: var(--surface-2); }

.icon-btn {
    position: relative; width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center; cursor: pointer;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
    font-size: 1.02rem; transition: .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.icon-btn .count {
    position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px;
    background: var(--grad-primary); color: #fff; border-radius: 20px; font-size: .68rem; font-weight: 700;
    display: grid; place-items: center; box-shadow: 0 3px 8px var(--glow);
    transform: scale(0); transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.icon-btn .count.show { transform: scale(1); }

.pill-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; font-weight: 700; font-size: .88rem; cursor: pointer; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); transition: .2s; }
.pill-btn:hover { border-color: var(--primary); transform: translateY(-2px); }
.pill-btn.solid { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 8px 22px var(--glow); }
.pill-btn.solid:hover { box-shadow: 0 12px 30px var(--glow); }
.pill-btn.admin { background: #d32f2f; border-color: transparent; color: #fff; }

/* Mobile nav toggle */
.tb-burger { display: none; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 22px; border-radius: 13px; font-family: var(--font-body); font-weight: 700; font-size: .95rem;
    cursor: pointer; border: 1px solid transparent; transition: .22s; text-align: center; line-height: 1;
}
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 10px 26px var(--glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px var(--glow); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-soft { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-soft:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.tb-hero { position: relative; padding: 96px 0 120px; text-align: center; overflow: hidden; isolation: isolate; }
.tb-hero::before {
    content: ''; position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -2;
    background:
        radial-gradient(45% 55% at 22% 18%, rgba(255,107,0,.30), transparent 60%),
        radial-gradient(40% 55% at 82% 22%, rgba(168,85,247,.24), transparent 60%),
        radial-gradient(50% 60% at 55% 88%, rgba(34,211,238,.16), transparent 60%);
    filter: blur(6px);
}
.tb-hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 34px 34px; mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
    opacity: .5;
}
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 30px; background: var(--surface); border: 1px solid var(--border-strong); font-size: .82rem; font-weight: 600; color: var(--text-dim); margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.25); } 50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }
.tb-hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; }
.tb-hero h1 .grad { background: var(--grad-fun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tb-hero .subtitle { color: var(--text-dim); font-size: clamp(1rem, 2vw, 1.25rem); max-width: 640px; margin: 18px auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 54px; }
.hero-stat b { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; display: block; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat span { font-size: .82rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .06em; }

.float-emoji { position: absolute; z-index: -1; font-size: 3rem; opacity: .85; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-22px) rotate(6deg); } }

/* ---------- SEARCH BAR ---------- */
.tb-search { position: relative; z-index: 5; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; margin-top: -42px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tb-search .field { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 13px; padding: 4px 14px; transition: .2s; }
.tb-search .field:focus-within { border-color: var(--primary); box-shadow: var(--ring); }
.tb-search .field i { color: var(--text-mute); }
.tb-search input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 1rem; padding: 13px 0; font-family: inherit; }
.tb-search .field.narrow { flex: 0 1 160px; }
.ac-panel { position: absolute; top: calc(100% + 8px); left: 14px; right: 14px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; z-index: 20; display: none; }
.ac-panel.show { display: block; animation: fadeDown .2s ease; }
.ac-item { display: flex; align-items: center; gap: 12px; padding: 11px 16px; cursor: pointer; border-bottom: 1px solid var(--border); }
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.active { background: var(--surface-2); }
.ac-item img { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; }
.ac-item .ac-name { font-weight: 600; font-size: .92rem; }
.ac-item .ac-price { margin-left: auto; color: var(--primary); font-weight: 700; font-size: .9rem; }
.ac-empty { padding: 16px; text-align: center; color: var(--text-mute); font-size: .9rem; }

/* ---------- SECTION HEADERS ---------- */
.sec { padding: 70px 0 10px; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.sec-head p { color: var(--text-dim); max-width: 560px; margin: 10px auto 0; }

/* Filter chips */
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.chip { padding: 9px 18px; border-radius: 30px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; font-size: .88rem; color: var(--text-dim); cursor: pointer; transition: .2s; }
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 8px 20px var(--glow); }

/* ---------- CARD GRID ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 26px; }

.pcard { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.pcard:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard-media img { transform: scale(1.07); }
.pcard-media .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); opacity: 0; transition: .3s; display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.pcard:hover .pcard-media .overlay { opacity: 1; }
.quickview-btn { background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 10px 18px; border-radius: 30px; font-weight: 700; font-size: .85rem; cursor: pointer; transform: translateY(10px); transition: .3s; }
.pcard:hover .quickview-btn { transform: translateY(0); }
.quickview-btn:hover { background: var(--primary); border-color: var(--primary); }

.badge { position: absolute; top: 13px; left: 13px; padding: 6px 12px; border-radius: 30px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; backdrop-filter: blur(8px); z-index: 2; }
.badge-rent { background: rgba(255,107,0,.9); color: #fff; }
.badge-service { background: rgba(168,85,247,.9); color: #fff; }
.badge-hot { background: rgba(255,45,120,.92); color: #fff; }

.wish-btn { position: absolute; top: 11px; right: 11px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.42); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 3; transition: .2s; font-size: 1rem; }
.wish-btn:hover { transform: scale(1.12); background: rgba(0,0,0,.6); }
.wish-btn.active { color: #ff2d78; border-color: #ff2d78; background: rgba(255,45,120,.15); }
.wish-btn.active i { animation: pop .35s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { 0% { transform: scale(.5); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }

.pcard-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-title { font-size: 1.16rem; font-weight: 700; margin-bottom: 6px; }
.pcard-stars { display: flex; align-items: center; gap: 3px; color: #ffb703; font-size: .84rem; margin-bottom: 10px; }
.pcard-stars .muted { color: var(--text-mute); }
.pcard-stars span { color: var(--text-mute); margin-left: 6px; font-size: .78rem; }
.pcard-desc { color: var(--text-dim); font-size: .9rem; margin-bottom: 16px; flex: 1; }
.pcard-foot { border-top: 1px solid var(--border); padding-top: 16px; margin-top: auto; }
.price { font-family: var(--font-head); font-size: 1.42rem; font-weight: 800; color: var(--text); }
.price small { font-size: .72rem; color: var(--text-mute); font-weight: 500; }
.price-sub { font-size: .74rem; color: var(--text-mute); }
.date-field { width: 100%; margin: 12px 0 10px; padding: 11px 13px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; color: var(--text); font-family: inherit; font-size: .9rem; }
.date-field:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }

/* Costume-card cross links */
.link-row { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.text-link { font-size: .8rem; color: var(--text-mute); cursor: pointer; }
.text-link:hover { color: var(--primary); }

/* ---------- FEATURE / TRUST STRIP ---------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin: 20px 0; }
.trust-item { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.trust-item .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem; color: #fff; background: var(--grad-primary); flex-shrink: 0; box-shadow: 0 8px 20px var(--glow); }
.trust-item h4 { font-size: 1rem; margin: 0 0 2px; }
.trust-item p { font-size: .84rem; color: var(--text-dim); margin: 0; }

/* ---------- TESTIMONIALS ---------- */
.tmon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.tmon { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; }
.tmon .quote { font-size: 2.6rem; font-family: var(--font-head); color: var(--primary); opacity: .35; line-height: .6; }
.tmon p { color: var(--text-dim); margin: 8px 0 18px; }
.tmon .who { display: flex; align-items: center; gap: 12px; }
.tmon .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--grad-fun); }
.tmon .who b { display: block; font-size: .92rem; }
.tmon .who small { color: var(--text-mute); }
.tmon .rate { color: #ffb703; font-size: .82rem; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; font-weight: 600; }
.faq-q i { transition: transform .3s; color: var(--primary); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--text-dim); }
.faq-a > div { padding: 0 20px 18px; }

/* ---------- NEWSLETTER / CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 56px 32px; text-align: center; background: var(--grad-fun); color: #fff; box-shadow: var(--shadow); }
.cta-band::after { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1px); background-size: 22px 22px; opacity:.35; }
.cta-band h2, .cta-band p { color: #fff; position: relative; }
.cta-band form { position: relative; display: flex; gap: 10px; max-width: 480px; margin: 22px auto 0; flex-wrap: wrap; }
.cta-band input { flex: 1 1 220px; padding: 15px 18px; border-radius: 30px; border: none; font-size: 1rem; font-family: inherit; }
.cta-band .btn { background: #111; color: #fff; }
.cta-band .btn:hover { background: #000; }

/* ---------- FOOTER ---------- */
.tb-footer { margin-top: 90px; border-top: 1px solid var(--border); background: var(--bg-2); }
.tb-footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; padding: 56px 0 40px; }
.tb-footer h5 { font-family: var(--font-head); font-size: .95rem; margin-bottom: 16px; }
.tb-footer a { display: block; color: var(--text-dim); font-size: .9rem; padding: 5px 0; }
.tb-footer a:hover { color: var(--primary); }
.tb-footer .brand-desc { color: var(--text-dim); font-size: .9rem; max-width: 300px; margin-top: 12px; }
.tb-footer .socials { display: flex; gap: 10px; margin-top: 16px; }
.tb-footer .socials a { width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; }
.tb-footer .socials a:hover { background: var(--primary); color: #fff; border-color: transparent; }
.tb-footer .bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--text-mute); font-size: .84rem; }

/* ---------- CART DRAWER ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .3s; z-index: 1000; }
.drawer-scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(410px, 92vw); background: var(--bg-2); border-left: 1px solid var(--border); box-shadow: -20px 0 60px rgba(0,0,0,.5); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); z-index: 1001; display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { margin: 0; font-size: 1.15rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.drawer-empty { text-align: center; color: var(--text-mute); padding: 60px 20px; }
.drawer-empty i { font-size: 2.6rem; margin-bottom: 12px; opacity: .5; }
.di { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.di img { width: 62px; height: 62px; border-radius: 11px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.di .di-info { flex: 1; min-width: 0; }
.di .di-info b { font-size: .92rem; display: block; }
.di .di-info small { color: var(--text-mute); font-size: .78rem; }
.di .di-price { color: var(--primary); font-weight: 700; font-size: .9rem; margin-top: 4px; }
.di .di-del { color: var(--text-mute); cursor: pointer; align-self: flex-start; padding: 4px; }
.di .di-del:hover { color: #ff4444; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--border); }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--text-dim); font-size: .9rem; }
.drawer-foot .row.total { font-size: 1.2rem; font-weight: 800; color: var(--text); font-family: var(--font-head); margin: 12px 0 16px; }

/* ---------- MODAL (quick view) ---------- */
.modal-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.62); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .28s; z-index: 1002; display: grid; place-items: center; padding: 20px; }
.modal-scrim.open { opacity: 1; visibility: visible; }
.modal { background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); width: min(820px, 100%); max-height: 90vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; transform: translateY(20px) scale(.97); transition: .3s; box-shadow: var(--shadow); }
.modal-scrim.open .modal { transform: none; }
.modal .m-media { background: var(--surface-2); }
.modal .m-media img { width: 100%; height: 100%; object-fit: cover; }
.modal .m-body { padding: 30px; overflow-y: auto; position: relative; }
.modal .m-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.modal .m-close:hover { color: #ff4444; border-color: #ff4444; }

/* ---------- TOAST ---------- */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1100; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border-strong); border-left: 4px solid var(--primary); padding: 14px 18px; border-radius: 13px; box-shadow: var(--shadow); min-width: 260px; max-width: 92vw; transform: translateY(20px); opacity: 0; transition: .3s; pointer-events: auto; }
.toast.show { transform: none; opacity: 1; }
.toast.ok { border-left-color: #22c55e; }
.toast.err { border-left-color: #ff4444; }
.toast .t-ic { font-size: 1.2rem; color: var(--primary); }
.toast.ok .t-ic { color: #22c55e; }
.toast.err .t-ic { color: #ff4444; }
.toast b { font-size: .92rem; }
.toast small { display: block; color: var(--text-dim); font-size: .8rem; }

/* ---------- COOKIE BANNER ---------- */
.cookie { position: fixed; bottom: 18px; left: 18px; right: 18px; max-width: 520px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); z-index: 1050; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.cookie.show { transform: none; }
.cookie p { margin: 0; font-size: .86rem; color: var(--text-dim); flex: 1 1 240px; }
.cookie .btn { padding: 10px 18px; }

/* ---------- BACK TO TOP ---------- */
.to-top { position: fixed; bottom: 22px; right: 22px; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-primary); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 26px var(--glow); z-index: 800; opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s; border: none; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- FLOATING CHAT ---------- */
.tb-chat { position: fixed; bottom: 84px; right: 22px; display: flex; flex-direction: column; gap: 10px; z-index: 790; }
.tb-chat a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.35rem; box-shadow: var(--shadow-sm); transition: .25s; }
.tb-chat a:hover { transform: scale(1.1) translateY(-2px); }
.tb-chat .wa { background: #25d366; }
.tb-chat .mes { background: #0084ff; }

/* ---------- SKELETON ---------- */
.skel { position: relative; overflow: hidden; background: var(--surface-2); }
.skel::after { content:''; position:absolute; inset:0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--text) 8%, transparent), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- ANIM HELPERS ---------- */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .tb-footer .cols { grid-template-columns: 1fr 1fr; }
    .modal { grid-template-columns: 1fr; }
    .modal .m-media { max-height: 240px; }
}
@media (max-width: 720px) {
    .tb-burger { display: grid; }
    .tb-navlinks { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 18px 22px; background: var(--bg-2); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s; z-index: 899; }
    .tb-navlinks.open { transform: none; }
    .tb-navlinks > a { padding: 13px 14px; }
    .hero-stats { gap: 26px; }
    .tb-footer .cols { grid-template-columns: 1fr; gap: 24px; }
}
