/* ============================================================
   YDC — Public site (scrollable)
   Aesthetic: futuristic neon arcade · immersive
   bg.png hero background · cyan glow · amber food accent
   ============================================================ */

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

/* ---------------- THEME TOKENS ---------------- */

:root {
    --font-display: 'Unbounded', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --nav-h: 74px;

    --bg: #eef0f4;
    --bg-grad-1: #f1f3f8;
    --bg-grad-2: #e3e6ee;
    --surface: #ffffff;
    --surface-2: #f0eee6;
    --text: #14161c;
    --text-dim: #5a606e;
    --border: #e2ded2;

    --accent: #0894b3;
    --accent-strong: #0b7e98;
    --accent-soft: rgba(8, 148, 179, 0.12);
    --warm: #e8730c;
    --warm-soft: rgba(232, 115, 12, 0.12);

    --glow: rgba(8, 148, 179, 0.25);
    --grid-line: rgba(20, 30, 60, 0.05);
    --shadow: 0 18px 50px -20px rgba(20, 22, 28, 0.28);
    --nav-bg: rgba(241, 243, 248, 0.72);
    --on-accent: #ffffff;
    --cursor-strength: 0.16;
}

[data-theme="dark"] {
    --bg: #05070d;
    --bg-grad-1: #0a0f1c;
    --bg-grad-2: #03050a;
    --surface: #121829;
    --surface-2: #1a2236;
    --text: #f2f5fb;
    --text-dim: #8e98ae;
    --border: #232c42;

    --accent: #2bd4ee;
    --accent-strong: #4fe0f5;
    --accent-soft: rgba(43, 212, 238, 0.14);
    --warm: #ffa23d;
    --warm-soft: rgba(255, 162, 61, 0.14);

    --glow: rgba(43, 212, 238, 0.4);
    --grid-line: rgba(120, 180, 230, 0.07);
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
    --nav-bg: rgba(5, 7, 13, 0.6);
    --on-accent: #04141a;
    --cursor-strength: 0.36;
}

/* ---------------- RESET ---------------- */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background .4s ease, color .4s ease;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--on-accent); }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* offset for fixed navbar when jumping to anchors */
section[id] { scroll-margin-top: var(--nav-h); }

/* ---------------- IMMERSIVE BACKGROUND ---------------- */

.bg-mesh, .bg-grid, .bg-scan { position: fixed; inset: -15%; z-index: -3; pointer-events: none; }

.bg-mesh {
    background:
        radial-gradient(38% 50% at 82% 8%, var(--accent-soft), transparent 70%),
        radial-gradient(36% 48% at 10% 38%, var(--warm-soft), transparent 70%),
        radial-gradient(45% 55% at 60% 100%, var(--accent-soft), transparent 75%),
        linear-gradient(160deg, var(--bg-grad-1), var(--bg-grad-2));
    animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
    0%   { transform: translate3d(0,0,0) scale(1); }
    50%  { transform: translate3d(-2%, 2%, 0) scale(1.06); }
    100% { transform: translate3d(2%, -1%, 0) scale(1.04); }
}

.bg-grid {
    z-index: -2;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 78%);
}

.bg-scan {
    z-index: -1;
    background: repeating-linear-gradient(to bottom, transparent 0, transparent 2px, rgba(120, 170, 220, 0.018) 3px, transparent 4px);
    opacity: .6;
}

/* ---------------- CURSOR GLOW (minimal) ---------------- */

.cursor-glow {
    position: fixed; top: 0; left: 0; width: 460px; height: 460px; border-radius: 50%;
    pointer-events: none; z-index: 1; transform: translate3d(-50%, -50%, 0);
    background: radial-gradient(circle, var(--accent) 0%, transparent 62%);
    opacity: 0; mix-blend-mode: screen; transition: opacity .5s ease; will-change: left, top;
}
.cursor-glow.active { opacity: var(--cursor-strength); }
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ---------------- BUTTONS ---------------- */

.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-weight: 700; font-size: .95rem;
    padding: 14px 26px; border-radius: 14px; cursor: pointer; border: 1px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -10px var(--accent); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px var(--accent); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }

/* ---------------- NAVBAR ---------------- */

.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
    height: var(--nav-h); display: flex; align-items: center;
    background: var(--nav-bg); backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--border); transition: background .4s ease, border-color .4s ease;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(1180px, 92%); margin-inline: auto; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.logo span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.logo span b { color: var(--accent); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { font-weight: 600; font-size: .92rem; color: var(--text-dim); padding: 8px 14px; border-radius: 10px; transition: color .2s ease, background .2s ease; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    cursor: pointer; font-size: 1rem; position: relative;
    transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.cart-count {
    position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 999px; background: var(--warm); color: #1a0f00; font-size: .72rem; font-weight: 800;
    display: grid; place-items: center; transform: scale(0); transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cart-count.show { transform: scale(1); }
.admin-link { font-size: .82rem; color: var(--text-dim); }
.admin-link:hover { color: var(--accent); }
.menu-toggle { display: none; }

/* ---------------- HERO (text on the left, over bg.png) ---------------- */

.hero {
    position: relative;
    display: block;
    background: #05070d url('images/bg.png') center center / cover no-repeat;
    overflow: hidden;
}
/* Container governed by normal block flow (1180 centered, matches navbar);
   it also vertically centers the hero content. */
.hero > .container {
    width: min(1180px, 92vw); margin-inline: auto;
    min-height: clamp(560px, 90vh, 920px);
    padding: calc(var(--nav-h) + 40px) 0 80px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
/* Left scrim for legibility — keeps the right-side YDC logo visible */
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(95deg, rgba(3,6,14,.94) 0%, rgba(3,6,14,.82) 33%, rgba(3,6,14,.4) 62%, rgba(3,6,14,.08) 100%),
        linear-gradient(to bottom, rgba(3,6,14,.5) 0%, transparent 16%);
}
/* Neon divider where the hero meets the page */
.hero-glowline {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 22px 2px var(--glow); opacity: .9;
}

.hero-inner { position: relative; z-index: 2; color: #fff; max-width: 640px; margin-left: clamp(-250px, -12.5vw, 0px); }

.hero-title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2.9rem, 7.4vw, 5.6rem); line-height: .94; letter-spacing: -.02em;
    text-transform: uppercase; color: #fff;
}
.hero-title span { display: block; animation: rise .6s ease both; }
.hero-title span:nth-child(2) { animation-delay: .08s; }
.hero-title span.neon {
    color: #2bd4ee; text-shadow: 0 0 34px rgba(43,212,238,.65), 0 0 10px rgba(43,212,238,.5);
    animation-delay: .16s;
}
.hero-sub {
    max-width: 470px; margin: 22px 0 32px; color: rgba(255,255,255,.82);
    font-size: clamp(1rem, 1.6vw, 1.12rem); animation: rise .6s ease .24s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Icon row (matches hero text.png) */
.hero-icons {
    display: flex; flex-wrap: wrap; gap: 30px; animation: rise .6s ease .32s both;
}
.hicon { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 78px; }
.hicon-ic {
    width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
    font-size: 1.3rem; color: #2bd4ee;
    background: rgba(43,212,238,.12); border: 1px solid rgba(43,212,238,.4);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.hicon span:last-child { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.9); }
.hicon:hover .hicon-ic { transform: translateY(-4px); background: rgba(43,212,238,.22); box-shadow: 0 10px 26px -10px rgba(43,212,238,.7); }

.scroll-cue {
    position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%);
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
    color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(8,12,20,.4);
    backdrop-filter: blur(6px); animation: bob 2s ease-in-out infinite;
}
.scroll-cue:hover { border-color: var(--accent); color: var(--accent); }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ---------------- INTRO SECTION ---------------- */

.intro { padding: 84px 0 100px; }
.intro-inner { text-align: center; max-width: 760px; margin: 0 auto; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
    background: var(--accent-soft); border: 1px solid var(--accent);
    padding: 7px 14px; border-radius: 999px;
}
.hero-badge i { font-size: .5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

.intro h1 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(3rem, 8vw, 5.6rem); line-height: .9; letter-spacing: -.03em;
    margin: 20px 0 6px; color: var(--text);
}
.intro h1 .neon {
    display: block; font-size: clamp(1.2rem, 3.2vw, 2.2rem); color: var(--accent);
    letter-spacing: .05em; text-shadow: 0 0 30px var(--glow);
}
.intro h2 {
    font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 2.4vw, 1.5rem);
    color: var(--text-dim); margin-bottom: 18px;
}
.intro > .container > p, .intro-inner > p {
    max-width: 520px; margin: 0 auto 30px; color: var(--text-dim); font-size: 1.05rem;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* FEATURE CARDS — theme-aware */
.hero-features {
    display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 44px;
}
.feature {
    display: flex; align-items: center; gap: 12px; text-align: left;
    background: var(--surface); border: 1px solid var(--border);
    padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow);
    transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature-ic {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent); font-size: 1.1rem;
}
.feature strong { display: block; font-size: .92rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.feature small { font-size: .78rem; color: var(--text-dim); }

/* ---------------- SECTIONS ---------------- */

.section { padding: 100px 0; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 54px; }
.section-tag { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--warm); }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.02em; margin: 10px 0 12px; }
.section-head p { color: var(--text-dim); }

/* ---------------- RATES ---------------- */

.rates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.rate-card {
    position: relative; background: var(--surface); border: 1px solid var(--border);
    border-radius: 18px; padding: 24px 18px; text-align: center; overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.rate-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
.rate-card span { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; display: block; }
.rate-card p { color: var(--text-dim); font-size: .9rem; font-weight: 600; margin-top: 4px; }
.rate-card.best { border-color: var(--accent); background: var(--accent-soft); }
.rate-card.best span { color: var(--accent); text-shadow: 0 0 18px var(--glow); }
.rate-card.best small {
    position: absolute; top: 10px; right: 10px; font-size: .62rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; background: var(--accent);
    color: var(--on-accent); padding: 3px 8px; border-radius: 999px;
}

/* ---------------- SERVICES ---------------- */

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 26px; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 34px; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card > i { font-size: 1.5rem; color: var(--accent); width: 56px; height: 56px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 16px; margin-bottom: 18px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 14px; }
.service-card ul li { padding: 8px 0; color: var(--text-dim); font-weight: 500; border-bottom: 1px dashed var(--border); display: flex; align-items: center; gap: 10px; }
.service-card ul li:last-child { border-bottom: 0; }
.service-card ul li::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .6rem; color: var(--accent); }
.file-submit { background: linear-gradient(135deg, var(--accent-soft), var(--warm-soft)); border: 1px solid var(--border); border-radius: 22px; padding: 30px 34px; text-align: center; }
.file-submit h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; }
.file-submit p { color: var(--text-dim); }
.file-submit p strong { color: var(--text); }

/* ---------------- STORE ---------------- */

.store-toolbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.category-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip { font-weight: 700; font-size: .85rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-dim); cursor: pointer; transition: all .2s ease; }
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.food-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.food-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.food-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.food-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--surface-2); }
.food-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.food-card:hover .thumb img { transform: scale(1.07); }
.food-card .cat-tag { position: absolute; top: 12px; left: 12px; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--nav-bg); backdrop-filter: blur(8px); color: var(--text); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); }
.food-content { padding: 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.food-content h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.food-content .price { font-weight: 800; color: var(--accent); font-size: 1.15rem; }
.add-btn { margin-top: 14px; width: 100%; border: none; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: .9rem; padding: 12px; border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s ease, color .2s ease; }
.add-btn:hover { background: var(--accent); color: var(--on-accent); }
.sold-out { opacity: .55; }
.sold-out .add-btn { background: var(--surface-2); color: var(--text-dim); cursor: not-allowed; pointer-events: none; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 2px dashed var(--border); border-radius: 24px; background: var(--surface); }
.empty-state i { font-size: 2.6rem; color: var(--accent); margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-dim); max-width: 380px; margin: 0 auto; }

/* ---------------- CART DRAWER ---------------- */

.cart-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(2, 4, 10, 0.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; z-index: 1001; width: min(420px, 100%); height: 100%; background: var(--bg); border-left: 1px solid var(--border); box-shadow: -20px 0 60px -20px rgba(0,0,0,.5); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-family: var(--font-display); font-size: 1.2rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.cart-row img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.cart-row .info { flex: 1; }
.cart-row .info h4 { font-size: .98rem; font-weight: 700; }
.cart-row .info .row-price { color: var(--text-dim); font-size: .85rem; font-weight: 600; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-weight: 800; display: grid; place-items: center; }
.qty button:hover { border-color: var(--accent); color: var(--accent); }
.qty span { font-weight: 800; min-width: 18px; text-align: center; }
.cart-empty { text-align: center; color: var(--text-dim); padding: 60px 20px; }
.cart-empty i { font-size: 2.4rem; color: var(--border); margin-bottom: 14px; }
.cart-footer { padding: 22px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.cart-total .amt { color: var(--accent); font-family: var(--font-display); }
.cart-footer .btn-primary { width: 100%; justify-content: center; }
.checkout-fields { display: grid; gap: 10px; margin-bottom: 16px; }
.checkout-fields input, .checkout-fields textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-family: var(--font-body); font-size: .92rem; }
.checkout-fields input:focus, .checkout-fields textarea:focus { outline: none; border-color: var(--accent); }

/* ---------------- CONTACT ---------------- */

#contactForm { max-width: 620px; margin: 0 auto; display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
#contactForm input, #contactForm textarea { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: .96rem; transition: border-color .2s ease; }
#contactForm input:focus, #contactForm textarea:focus { outline: none; border-color: var(--accent); }
#contactForm button { justify-content: center; }

/* ---------------- FOOTER ---------------- */

.site-footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer-inner { text-align: center; }
.footer-logo { width: 54px; margin: 0 auto 14px; }
.site-footer h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 6px; }
.site-footer p { color: var(--text-dim); margin-bottom: 18px; }
.socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text); font-size: 1.1rem; transition: all .2s ease; }
.socials a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-3px); }
.site-footer small { color: var(--text-dim); font-size: .82rem; }

/* ---------------- TOAST ---------------- */

.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 120%); z-index: 1100; background: var(--text); color: var(--bg); padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.toast.show { transform: translate(-50%, 0); }
.toast i { color: var(--accent); }

/* ---------------- SCROLL REVEAL ---------------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .nav-links { display: none; }
    .menu-toggle { display: grid; }
    .nav-links.mobile-open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); right: 4%; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px; gap: 4px; box-shadow: var(--shadow); min-width: 200px; }
    .nav-links.mobile-open a.active { color: var(--accent); }
    .hero-features { flex-direction: column; align-items: stretch; }
    .hero-inner > p { font-size: 1rem; }

    /* MOBILE ONLY: center the hero text + icons, reset the desktop left nudge */
    .hero > .container { align-items: center; padding-top: calc(var(--nav-h) + 28px); }
    .hero-inner { margin-left: 0; text-align: center; max-width: 560px; }
    .hero-title { font-size: clamp(2.6rem, 13vw, 4.2rem); }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-icons { justify-content: center; gap: 18px 22px; }

    .section { padding: 80px 0; }
}
