/* ================================================
   ORHEI BARBERSHOP - Premium Design v3
   ================================================ */

:root {
    /* === Brand: gold ramp (OKLCH-tuned) === */
    --gold-50:  oklch(96% 0.025 85);
    --gold-100: oklch(90% 0.06 85);
    --gold-200: oklch(83% 0.10 85);
    --gold-300: oklch(78% 0.13 85);
    --gold-400: oklch(73% 0.14 85);
    --gold-500: oklch(68% 0.13 82);  /* primary brand */
    --gold-600: oklch(58% 0.11 75);
    --gold-700: oklch(48% 0.09 68);
    --gold-800: oklch(38% 0.07 62);

    /* === Tinted neutrals (warm chroma toward gold hue) === */
    --neutral-50:  oklch(96% 0.005 85);
    --neutral-100: oklch(88% 0.006 85);
    --neutral-200: oklch(78% 0.007 85);
    --neutral-300: oklch(68% 0.008 85);
    --neutral-400: oklch(55% 0.008 85);
    --neutral-500: oklch(42% 0.007 85);
    --neutral-600: oklch(28% 0.006 85);
    --neutral-700: oklch(18% 0.005 85);
    --neutral-800: oklch(12% 0.005 85);
    --neutral-900: oklch(7%  0.005 85);
    --neutral-950: oklch(4%  0.004 85);

    /* === Semantic palette === */
    --success: oklch(72% 0.16 155);
    --success-bg: oklch(72% 0.16 155 / 0.14);
    --danger:  oklch(65% 0.20 25);
    --danger-bg: oklch(65% 0.20 25 / 0.14);
    --info: oklch(68% 0.16 250);
    --info-bg: oklch(68% 0.16 250 / 0.14);

    /* === Brand partners (social platforms, hard identity) === */
    --brand-google:   oklch(63% 0.20 260);
    --brand-dikidi:   oklch(68% 0.18 25);
    --brand-facebook: oklch(50% 0.16 260);
    --brand-instagram: oklch(60% 0.18 340);

    /* === Semantic surface tokens === */
    --bg-page:    var(--neutral-950);
    --bg-elevated: var(--neutral-800);
    --bg-card:    var(--neutral-700);
    --bg-card-hover: var(--neutral-600);
    --bg-overlay: color-mix(in oklch, var(--neutral-950) 70%, transparent);

    /* === Text tokens (WCAG AA verified against bg-page #0a0908) === */
    --text-primary:   var(--neutral-50);                /* ~14.6:1 */
    --text-secondary: var(--neutral-200);               /* ~9.0:1 */
    --text-meta:      var(--neutral-100);               /* ~7.0:1 — placeholder/meta */
    --text-muted:     oklch(78% 0.005 85);              /* ~4.83:1 — AA pass */
    --text-on-gold:   var(--neutral-950);               /* readable on accent fills */

    /* === Borders === */
    --border:        oklch(100% 0 0 / 0.08);
    --border-strong: oklch(100% 0 0 / 0.18);

    /* === Accent (gold-500) === */
    --accent:        var(--gold-500);
    --accent-strong: var(--gold-400);
    --accent-soft:   var(--gold-700);
    --accent-glow:   oklch(73% 0.14 85 / 0.32);
    --accent-wash:   oklch(73% 0.14 85 / 0.08);

    /* === Typography === */
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* === z-index scale (semantic) === */
    --z-base: 1;
    --z-sticky: 100;
    --z-nav: 200;
    --z-dropdown: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-toast: 600;
    --z-tooltip: 700;
    --z-loader: 900;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
}

.skip-to-content {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--text-on-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 100px;
    transition: top 0.3s;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.skip-to-content:focus {
    top: 16px;
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Global focus-visible — keyboard navigation */
:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
    border-radius: 4px;
}
.btn:focus-visible,
.service-card:focus-visible,
.social-link:focus-visible,
.gallery-nav:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

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

/* Loading Screen */
.loader {
    position: fixed;
    inset: 0;
    z-index: var(--z-loader);
    background: var(--bg-page);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s cubic-bezier(0.7, 0, 0.3, 1), visibility 0.7s;
    overflow: hidden;
}
.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-content {
    text-align: center;
    position: relative;
    z-index: 2;
}
.loader-logo-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: loaderLogoIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
.loader-logo-img {
    width: 110px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px var(--accent-glow));
    animation: loaderPulse 2.4s ease-in-out infinite;
}
.loader-logo-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 65%);
    animation: loaderGlow 2.4s ease-in-out infinite;
}
.loader-logo-glow::before,
.loader-logo-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--accent-glow);
    animation: loaderRing 3s linear infinite;
}
.loader-logo-glow::after {
    animation-delay: -1.5s;
}
.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.loader-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    letter-spacing: 0.18em;
    color: var(--text-primary);
    line-height: 1;
}
.loader-sub {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-top: 6px;
}
.loader-bar {
    width: 180px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 18px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}
.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
    animation: loadProgress 1.8s var(--ease-out) 0.5s forwards;
    box-shadow: 0 0 10px var(--accent);
}
.loader-tagline {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}
@keyframes loaderLogoIn {
    0% { opacity: 0; transform: scale(0.6) rotate(-10deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes loaderPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px oklch(73% 0.14 85 / 0.4)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 40px oklch(73% 0.14 85 / 0.8)); }
}
@keyframes loaderGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}
@keyframes loaderRing {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 0; }
}
@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Typography */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: 0.02em;
    line-height: 1.1;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 8px;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: var(--z-nav);
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}
.navbar.scrolled {
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 0 var(--accent-glow), 0 8px 24px oklch(0% 0 0 / 0.4);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}
.logo-img { height: 56px; width: auto; }
.logo-text-wrapper { display: flex; flex-direction: column; line-height: 1; }
.logo-text { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.1em; }
.logo-accent { font-family: var(--font-heading); font-size: 0.5rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent); }

.nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-page);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 299;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.nav-menu.active { display: flex; opacity: 1; transform: scale(1); }
.nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link:hover {
    color: var(--accent);
}

/* Desktop nav links */
@media (min-width: 900px) {
    .nav-menu {
        display: flex;
        position: static;
        background: none;
        flex-direction: row;
        gap: 32px;
    }
    .nav-link {
        font-size: 0.85rem;
        font-weight: 500;
        letter-spacing: 0.05em;
        color: var(--text-secondary);
        transition: color 0.3s;
    }
    .nav-link:hover { color: var(--accent); }
    .nav-cta { display: flex; align-items: center; }
}

@media (min-width: 1024px) {
    .nav-link { font-size: 0.8rem; letter-spacing: 0.02em; }
    .mobile-menu-btn { display: none; }
}

.nav-cta {
    display: none;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--text-on-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 0 20px var(--accent-glow);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 32px var(--accent-glow);
    background: var(--accent-strong);
}
.pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); } 50% { box-shadow: 0 0 20px 5px var(--accent-glow); } }

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: calc(var(--z-nav) + 2);
    position: relative;
}
.mobile-menu-btn span { display: block; width: 100%; height: 2px; background: var(--text-primary); transition: all 0.3s var(--ease-out); }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero - Fullscreen */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
}
@media (max-width: 768px) {
    .hero {
        height: 80vh;
        min-height: 560px;
    }
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        oklch(4% 0.004 85 / 0.5) 0%,
        oklch(4% 0.004 85 / 0.85) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px 24px 60px;
    max-width: 800px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 9vw, 5.5rem);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}
.title-line { display: block; }
.title-line.accent { color: var(--accent); }
.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    margin-bottom: 32px;
    padding: 0;
    display: block;
    text-shadow: 0 2px 8px oklch(0% 0 0 / 0.6);
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}
.btn-primary { background: var(--accent); color: var(--text-on-gold); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-glow); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-secondary-label { font-weight: 600; }
.btn-secondary-divider { opacity: 0.4; margin: 0 2px; }
.btn-secondary > span:last-child { opacity: 0.75; font-weight: 500; }
.btn-lg { padding: 16px 32px; font-size: 0.8rem; }
@media (max-width: 480px) {
    .btn-lg { padding: 14px 24px; font-size: 0.7rem; }
}
.btn-full { width: 100%; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 1;
}
@media (max-width: 480px) {
    .scroll-indicator { bottom: 24px; }
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent); }

/* Services */
.services { padding: 80px 0; background: var(--bg-page); border-top: 1px solid var(--border); }

/* Barber Pole Divider — full-width horizontal
   Classic Americana barber pole: gold/cream/dark diagonal stripes
   scroll horizontally to give the illusion of a rotating cylinder.
   Top + bottom shading bands add the 3D cylinder look. */
.barber-divider {
    width: 100%;
    height: 28px;             /* half the previous height */
    background: var(--bg-page);
    overflow: hidden;
    position: relative;
}
.barber-pole {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.barber-pole-stripes {
    position: absolute;
    top: -50%;
    bottom: -50%;
    left: 0;
    /* Width is set inline by JS based on the actual stripe count so the
       CSS animation can loop by exactly one period (-420px) without a jump. */
    display: flex;
    /* Slow, steady scroll — 12s loop, never stops */
    animation: barberPoleScroll 12s linear infinite;
    will-change: transform;
}
/* Individual stripes are injected via JS. Skewed -30° so they look
   like they wrap around a cylinder. Width: 70px so a full period of
   6 stripes = 420px. */
.barber-pole-stripes > span {
    flex: 0 0 70px;
    width: 70px;
    transform: skewX(-30deg);
}

/* Loops by exactly one period (420px) for a provably seamless loop. */
@keyframes barberPoleScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-420px); }
}

/* Cylinder shading: dark bands on top and bottom of the pole to give
   the illusion it's a 3D round object lit from above. */
.barber-pole::before,
.barber-pole::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    pointer-events: none;
    z-index: 1;
}
.barber-pole::before {
    top: 0;
    background: linear-gradient(to bottom, oklch(0% 0 0 / 0.55), oklch(0% 0 0 / 0));
}
.barber-pole::after {
    bottom: 0;
    background: linear-gradient(to top, oklch(0% 0 0 / 0.55), oklch(0% 0 0 / 0));
}
@media (prefers-reduced-motion: reduce) {
    .barber-pole-stripes { animation: none; }
}

/* Unified Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Service Card Base */
.service-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px oklch(0% 0 0 / 0.3);
}

.service-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Card Image - 16:9 aspect ratio */
.service-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    background: var(--bg-elevated);
}

.service-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

/* Badge */
.service-badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--accent);
    color: var(--text-on-gold);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

/* Popular Card */
.service-card-popular {
    border-color: var(--border-strong);
}
.service-card-popular:hover {
    box-shadow: 0 8px 24px oklch(0% 0 0 / 0.3);
}

/* Premium Card */
.service-card-premium .service-badge-top {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent-soft));
}

.service-card-premium {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.service-card-premium:hover {
    box-shadow: 0 0 30px var(--accent-glow), 0 8px 24px oklch(0% 0 0 / 0.3);
}

/* Card Body */
.service-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    margin-top: auto;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.service-price {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
}

.service-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive - Tablet */
@media (max-width: 999px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Mobile */
@media (max-width: 639px) {
    .services { padding: 60px 0; }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .service-card-body {
        padding: 14px;
    }
    
    .service-name {
        font-size: 0.95rem;
    }
    
    .service-desc {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .service-meta {
        padding-top: 10px;
    }
    
    .service-price {
        font-size: 0.9rem;
    }
    
    .service-duration {
        font-size: 0.75rem;
    }
    
    /* Premium card spans full width on mobile */
    .service-card-premium {
        grid-column: 1 / -1;
    }
}


/* Team */
.team { padding: 100px 0; background: var(--bg-elevated); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(6, 1fr); } }

.team-card {
    display: flex;
}
.team-card-inner {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    width: 100%;
}
.team-card-inner:hover,
.team-card-inner:focus-within {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px oklch(0% 0 0 / 0.4), 0 0 40px var(--accent-glow);
}
.team-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    flex-shrink: 0;
}
.team-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.team-card-inner:hover .team-image img { transform: scale(1.05); }
.team-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, oklch(73% 0.14 85 / 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}
.team-card-inner:hover .team-glow { opacity: 1; }
.team-info { padding: 20px; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.team-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.team-role { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }

/* Gallery — infinite marquee with hover-pause, drag-pause, prev/next buttons */
.gallery { padding: 100px 0; background: var(--bg-page); }
.gallery-scroll { position: relative; padding: 0 24px; }
.gallery-track {
    overflow: hidden;
    position: relative;
    padding: 8px 0;
    /* Fade the edges so cards don't clip hard as they enter/exit */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.gallery-track-inner {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollGallery 45s linear infinite;
    will-change: transform;
}
.gallery-track:hover .gallery-track-inner { animation-play-state: paused; }
@keyframes scrollGallery {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .gallery-track-inner { animation: none; }
}
.gallery-item {
    flex-shrink: 0;
    width: 300px;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-card);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}
.gallery-nav:hover { background: var(--accent); border-color: var(--accent); color: var(--text-on-gold); }
.gallery-nav-prev { left: 8px; }
.gallery-nav-next { right: 8px; }
@media (max-width: 768px) {
    .gallery-nav { display: none; }
    .gallery-item { width: 260px; height: 300px; }
}

/* Reviews */
.reviews { padding: 100px 0; background: var(--bg-elevated); }
.google-review-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}
.google-review-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}
.google-review-info { display: flex; flex-direction: column; gap: 4px; }
.google-review-stars { display: flex; gap: 4px; color: var(--accent); }
.google-review-score { font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); line-height: 1; }
.google-review-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--info-bg);
    border: 1px solid oklch(63% 0.20 260 / 0.3);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--brand-google);
    transition: all 0.3s;
    text-decoration: none;
}
.google-review-link:hover { background: var(--brand-google); color: white; border-color: var(--brand-google); }

/* Reviews Carousel — infinite marquee with hover-pause + drag-to-scroll */
.reviews-carousel-wrapper {
    overflow: hidden;
    position: relative;
    /* Fade the edges so cards don't clip hard */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.reviews-carousel {
    padding: 0 24px;
    overflow: hidden;
}
.reviews-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollReviews 60s linear infinite;
    will-change: transform;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes scrollReviews {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .reviews-track { animation: none; }
}

.review-card {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 320px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.review-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px oklch(0% 0 0 / 0.2);
}
.review-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.review-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
}
.review-avatar-fallback {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent-soft));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-on-gold);
    flex-shrink: 0;
}
.review-meta { flex: 1; min-width: 0; }
.review-author {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.review-time { font-size: 0.72rem; color: var(--text-muted); }
.review-stars {
    display: flex;
    gap: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}
.review-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 12px;
}
.review-google-link {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--brand-google);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s, transform 0.3s;
}
.review-card:hover .review-google-link {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 639px) {
    .reviews { padding: 60px 0; }
    .google-review-card { padding: 20px; flex-direction: column; align-items: flex-start; }
    .google-review-score { font-size: 2rem; }
    .review-card { width: 280px; padding: 20px; }
    .review-google-link { opacity: 1; transform: none; }
}

@media (max-width: 400px) {
    .review-card { width: 260px; }
}

/* Combined Contact & Booking */
.contact-booking { padding: 100px 0; background: var(--bg-page); }
.contact-booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
@media (max-width: 900px) { .contact-booking-grid { grid-template-columns: 1fr; } }

/* Info Widgets */
.info-widgets { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.info-widget {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}
.info-widget:hover { border-color: var(--accent); transform: translateX(4px); }
.info-widget-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-wash);
    border-radius: 14px;
    color: var(--accent-strong);
    flex-shrink: 0;
}
.info-widget-content { flex: 1; }
.info-widget-label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.info-widget-value { font-family: var(--font-heading); font-size: 1rem; font-weight: 500; }
.info-widget-link { font-family: var(--font-heading); font-size: 1rem; font-weight: 500; color: var(--accent); }
.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--success-bg);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.status-badge.closed { background: var(--danger-bg); color: var(--danger); }
.status-dot { width: 8px; height: 8px; background: currentColor; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.social-link:hover svg { fill: var(--accent); }
.social-link.dikidi { background: oklch(68% 0.18 25 / 0.10); border-color: oklch(68% 0.18 25 / 0.30); color: var(--brand-dikidi); }
.social-link.dikidi:hover { background: var(--brand-dikidi); color: white; border-color: var(--brand-dikidi); }

/* Map */
.contact-map-container {
    position: relative;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-map-container:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}
.contact-map-container iframe { width: 100%; height: 100%; filter: grayscale(100%) invert(92%) contrast(90%); }
.map-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: oklch(0% 0 0 / 0.8);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(12px);
    transition: all 0.3s;
    color: var(--text-primary);
}
.map-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-on-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.map-btn svg { transition: transform 0.3s; }
.map-btn:hover svg { transform: translate(1px, -1px); }

/* Booking Form */
.booking-form-side {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}
.booking-header { text-align: center; margin-bottom: 28px; }
.booking-logo { height: 80px; width: auto; margin: 0 auto 20px; filter: drop-shadow(0 0 24px var(--accent-glow)); }
.booking-header h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; margin-bottom: 6px; }
.booking-header p { font-size: 0.9rem; color: var(--text-muted); }
.booking-form { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* Field wrapper — always-visible label pattern (Stripe / Linear style) */
.field {
    position: relative;
    display: flex;
    flex-direction: column;
}
.field-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.field-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    appearance: none;
}
.field-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}
.field-input:hover { border-color: oklch(100% 0 0 / 0.14); }
.field-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-wash);
    background: var(--bg-page);
}
/* Validation states */
.field-input[aria-invalid="true"] {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px var(--danger-bg);
}
.field-input[aria-invalid="true"]:focus {
    box-shadow: 0 0 0 4px var(--danger-bg);
}
/* Hide the browser-default invalid tooltip — we render our own */
.field-input:invalid { box-shadow: none; }

/* Select chevron — dark theme friendly */
select.field-input {
    cursor: pointer;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9b274' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
select.field-input option { background: var(--bg-elevated); color: var(--text-primary); }

/* Date input — calendar icon contrast on dark bg */
input[type="date"].field-input { color-scheme: dark; }
input[type="date"].field-input::-webkit-calendar-picker-indicator {
    filter: invert(78%) sepia(35%) saturate(456%) hue-rotate(2deg) brightness(95%) contrast(92%);
    cursor: pointer;
    opacity: 0.85;
}
input[type="date"].field-input::-webkit-calendar-picker-indicator:hover { opacity: 1; }

/* Autofill — kill the yellow */
input.field-input:-webkit-autofill,
input.field-input:-webkit-autofill:hover,
input.field-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0 1000px var(--bg-elevated) inset;
    caret-color: var(--text-primary);
    transition: background-color 5000s ease-in-out 0s;
}

/* Hint + error text */
.field-hint {
    margin-top: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.4;
}
.field-error {
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--danger);
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.4;
    min-height: 0;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.2s, transform 0.2s;
}
.field-error:not(:empty) {
    opacity: 1;
    transform: translateY(0);
}

/* Submit button — added spinner state */
.btn-submit { position: relative; min-height: 52px; }
.btn-submit[aria-busy="true"] { cursor: progress; opacity: 0.85; }
.btn-submit[aria-busy="true"] .btn-label { opacity: 0; }
.btn-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid oklch(100% 0 0 / 0.3);
    border-top-color: var(--text-on-gold);
    border-radius: 50%;
    opacity: 0;
    animation: spin 0.7s linear infinite;
}
.btn-submit[aria-busy="true"] .btn-spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Form-level disclaimer */
.form-disclaimer {
    margin-top: 12px;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .booking-form-side { padding: 28px 22px; }
    .field-input { padding: 13px 14px; font-size: 16px; /* prevent iOS zoom */ }
}

/* Footer */
.footer {
    padding: 64px 0 28px;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* Brand column */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer-logo-img { height: 56px; width: auto; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1; }
.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: 0.1em;
}
.footer-logo-accent {
    font-family: var(--font-heading);
    font-size: 0.5rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 4px;
}
.footer-tagline {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 28ch;
}

/* Generic column */
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 4px;
}

/* Hours list */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-day {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
    display: block;
}
.footer-time {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

/* Live status badge in footer */
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    width: fit-content;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.footer-status[data-state="open"] {
    background: var(--success-bg);
    border-color: oklch(72% 0.16 155 / 0.3);
    color: var(--success);
}
.footer-status[data-state="closed"] {
    background: var(--danger-bg);
    border-color: oklch(65% 0.20 25 / 0.3);
    color: var(--danger);
}
.footer-status-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Contact list */
.footer-list-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}
.footer-list-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent);
}
.footer-list-contact a {
    color: var(--text-primary);
    transition: color 0.2s;
}
.footer-list-contact a:hover { color: var(--accent); }

/* Social row */
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.25s;
}
.footer-social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Inline nav strip */
.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 28px;
    padding: 24px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.footer-nav a {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    letter-spacing: 0.04em;
}
.footer-nav a:hover { color: var(--accent); }

/* Bottom bar */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}
.footer-legal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
}
.footer-legal a {
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent); }

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--accent);
    color: var(--text-on-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
    box-shadow: 0 10px 40px var(--accent-glow);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    animation: slideInUp 0.6s var(--ease-out) 2s both;
    max-width: calc(100vw - 48px);
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.sticky-cta:hover { transform: translateY(-4px); box-shadow: 0 20px 50px var(--accent-glow); }
@media (max-width: 480px) { .sticky-cta { bottom: 16px; right: 16px; padding: 16px; border-radius: 50%; } .sticky-text { display: none; } }

/* Phone Floating Action Button (left side, taps open dialer) */
.phone-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: var(--z-sticky);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--text-on-gold);
    border-radius: 50%;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.2s;
    animation: slideInUp 0.6s var(--ease-out) 2.2s both;
    text-decoration: none;
}
.phone-fab-icon {
    font-size: 28px;
    line-height: 1;
    display: block;
    /* Emojis render with OS color; force our accent theme on top */
    filter: drop-shadow(0 1px 2px oklch(0% 0 0 / 0.2));
    /* Push the glyph down/right slightly inside the 56px circle for visual centering */
    transform: translateY(-1px);
}
.phone-fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px var(--accent-glow);
    background: var(--accent-strong);
}
.phone-fab:focus-visible {
    outline: 3px solid var(--accent-strong);
    outline-offset: 3px;
}
.phone-fab-tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}
.phone-fab:hover .phone-fab-tooltip,
.phone-fab:focus-visible .phone-fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
@media (max-width: 480px) {
    .phone-fab { bottom: 16px; left: 16px; width: 52px; height: 52px; }
    .phone-fab-tooltip { display: none; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); background: oklch(0% 0 0 / 0.95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: oklch(100% 0 0 / 0.10); border: none; border-radius: 50%; color: white; cursor: pointer; transition: all 0.3s; }
.lightbox-close:hover { background: var(--accent); transform: rotate(90deg); }
.lightbox-image { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 16px; }

/* Toast */
.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 60px oklch(0% 0 0 / 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
    z-index: var(--z-toast);
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--success-bg); border-radius: 12px; color: var(--success); }
.toast.error .toast-icon { background: var(--danger-bg); color: var(--danger); }
.toast-content { display: flex; flex-direction: column; gap: 2px; }
.toast-title { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; }
.toast-message { font-size: 0.85rem; color: var(--text-muted); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Selection */
::selection { background: var(--accent); color: var(--text-on-gold); }

/* ================================================
   Reveal animations (vanilla, no GSAP)
   Opacity-only with a tiny stagger. Snappy on scroll
   so users don't see black voids while moving.
   ================================================ */
[data-reveal] {
    opacity: 0;
    transform: none;
    transition: opacity 0.35s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity;
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* Hero entrance — runs after loader hides, CSS only */
@keyframes heroLineIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-title .title-line,
.hero-tagline,
.hero-actions {
    opacity: 0;
}
body.hero-ready .hero-title .title-line {
    animation: heroLineIn 0.8s var(--ease-out) both;
}
body.hero-ready .hero-title .title-line:nth-child(1) { animation-delay: 0.1s; }
body.hero-ready .hero-title .title-line:nth-child(2) { animation-delay: 0.25s; }
body.hero-ready .hero-tagline {
    animation: heroFadeUp 0.6s var(--ease-out) 0.5s both;
}
body.hero-ready .hero-actions {
    animation: heroFadeUp 0.6s var(--ease-out) 0.7s both;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}
