@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Bebas+Neue&family=Noto+Sans+Georgian:wght@400;700&display=swap');

:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-elevated: #222222;
    --accent: #ea580c;
    --accent-hover: #c2410c;
    --accent-glow: rgba(234, 88, 12, 0.25);
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --border: #2a2a2a;
    --border-accent: rgba(234, 88, 12, 0.4);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 0 32px rgba(234, 88, 12, 0.2);
}

/* ── SCROLL REVEAL ─────────────────────────────── */

/* Hidden state — applied in HTML; removed by JS when element enters viewport */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* Visible state — added by IntersectionObserver */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay helpers — add alongside .reveal on sibling cards */
.reveal-delay-1 {
    transition-delay: 0.10s;
}

.reveal-delay-2 {
    transition-delay: 0.20s;
}

.reveal-delay-3 {
    transition-delay: 0.30s;
}

.reveal-delay-4 {
    transition-delay: 0.40s;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}



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

html {
    scroll-behavior: smooth;
    /* offset for fixed navbar when jumping to anchors */
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── GLOBAL INTERACTION TRANSITIONS ────────────── */
a,
button,
input,
textarea,
select,
.service-card,
.gallery-item,
.panel-card,
.stat-item,
.badge {
    transition: color 0.3s ease-in-out,
        background-color 0.3s ease-in-out,
        border-color 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out,
        transform 0.3s ease-in-out,
        opacity 0.3s ease-in-out;
}

/* prevent transitions overriding existing button specifics */
.btn {
    transition: all 0.25s ease-in-out;
}

/* ── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

/* ── NAVBAR ────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 70px;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Navbar darkens and glows when page is scrolled */
.navbar.scrolled {
    background: rgba(13, 13, 13, 0.97);
    border-bottom-color: var(--border-accent);
    box-shadow: 0 4px 32px rgba(234, 88, 12, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    opacity: 1;
}

.logo:hover {
    opacity: 0.85;
}

.logo-svg {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 2px;
    color: var(--text-primary);
    line-height: 1;
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    /* more breathing room */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    /* taller hit-target */
    transition: color 0.3s ease;
}

/* Sliding underline on hover — expands left → right */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--accent);
    /* orange on hover */
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

/* Don't apply underline slide to button-style links */
.nav-links a.btn::after {
    display: none;
}

/* ── Products highlight badge ───────────────────── */
.nav-highlight {
    background: rgba(234, 88, 12, 0.12);
    border: 1px solid rgba(234, 88, 12, 0.55);
    color: var(--accent) !important;
    /* always orange text */
    padding: 5px 13px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: background 0.3s ease, color 0.3s ease,
        box-shadow 0.3s ease !important;
}

.nav-highlight:hover {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(234, 88, 12, 0.40);
}

/* Hide underline slide on the highlight badge */
.nav-highlight::after {
    display: none !important;
}

/* ── Keep btn-style nav links text ALWAYS white ─ */
.nav-links a.btn:hover {
    color: #fff !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ── BUTTONS ───────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease-in-out;
    letter-spacing: 0.3px;
    will-change: transform, box-shadow;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 24px rgba(234, 88, 12, 0.55), var(--shadow-accent);
    transform: translateY(-2px) scale(1.04);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.45);
    transform: translateY(-2px) scale(1.04);
}

.btn-outline:active {
    transform: translateY(0);
}

.btn-ghost {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--accent);
    border-color: var(--border-accent);
    box-shadow: 0 0 10px rgba(234, 88, 12, 0.15);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.btn-danger:active {
    transform: translateY(0);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 15px 36px;
    font-size: 16px;
    border-radius: 12px;
}

/* ── HERO ──────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* LEFT align */
    padding: 0 7%;
    /* breathing room */
    text-align: left;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/static/images/main-bg.jpg.png');
    background-size: cover;
    background-position: top center;  /* align to top — keeps helmet in frame */
    filter: brightness(0.68);         /* brighter & clearer */
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero:hover .hero-bg {
    transform: scale(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* very light at top so the photo shows through; darkens only at bottom for text legibility */
    background: linear-gradient(to bottom,
            rgba(13, 13, 13, 0.05) 0%,
            rgba(13, 13, 13, 0.20) 50%,
            rgba(13, 13, 13, 0.75) 85%,
            var(--bg-primary) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    /* tight left-aligned block */
    padding: 0;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1.05;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    /* LEFT align buttons */
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    opacity: 0.5;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ── SECTION ───────────────────────────────────── */
section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 5vw, 54px);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    font-size: 15px;
}

/* ── SERVICES GRID ─────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.35s ease-in-out,
        border-color 0.35s ease-in-out,
        box-shadow 0.35s ease-in-out;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-in-out;
}

.service-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(234, 88, 12, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover .service-icon {
    background: rgba(234, 88, 12, 0.2);
    border-color: var(--accent);
    transform: scale(1.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ── GALLERY ───────────────────────────────────── */
/* ── GALLERY CAROUSEL ──────────────────────────── */
.slider-shell {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    /* Space for arrows outside the grid */
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
}

/* Homepage track — uses transform-based sliding, scoped to .slider-shell */
.slider-shell .slider-track {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px) / 3);
    gap: 16px;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

@media (max-width: 900px) {
    .slider-shell .slider-track {
        grid-auto-columns: calc((100% - 16px) / 2);
    }
}

@media (max-width: 680px) {
    .slider-shell .slider-track {
        grid-template-rows: 1fr;
        grid-auto-columns: 100%;
    }
}

.gallery-item {
    display: block;              /* <a> tag needs this to fill grid cell */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    /* Fixed height as requested */
    cursor: pointer;
    text-decoration: none;      /* remove underline from <a> */
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease-in-out, filter 0.4s ease-in-out;
    filter: brightness(0.85);
}

/* Homepage arrows: absolutely positioned inside .slider-shell only */
.slider-shell .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #d1d5db;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease, transform 0.3s ease;
}

.slider-shell .slider-arrow:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-50%) scale(1.15);
}

.slider-shell .slider-arrow-prev {
    left: -10px;
}

.slider-shell .slider-arrow-next {
    right: -10px;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--border-accent);
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* label */
.gallery-label {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.35s ease 0.1s, opacity 0.35s ease 0.1s;
}

.gallery-item:hover .gallery-label {
    transform: translateY(0);
    opacity: 1;
}

/* "მეტი" button extra pulse on hover */
.gallery-more-btn {
    min-width: 160px;
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.gallery-more-btn:hover {
    box-shadow: 0 0 28px rgba(234, 88, 12, 0.55), 0 0 0 1px var(--accent);
}

/* ── Shared scroll-based carousel (.slider-main-wrapper) ────── */
/* Used on both index.html and projects.html.                    */
/* projects.html inline <style> overrides these where needed.    */
.slider-main-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* External circular arrows */
.slider-main-wrapper .slider-arrow {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease,
        border-color 0.3s ease, box-shadow 0.3s ease;
}

.slider-main-wrapper .slider-arrow:hover {
    background: #ea580c;
    color: #fff;
    border-color: #ea580c;
    box-shadow: 0 0 22px rgba(234, 88, 12, 0.45);
}

/* 3×2 grid that scrolls horizontally */
.slider-main-wrapper .slider-track {
    display: grid;
    grid-template-rows: 250px 250px;
    grid-auto-flow: column;
    grid-auto-columns: calc(33.333% - 14px);
    gap: 21px;
    /* ── KEY FIX: use scroll, NOT hidden — hidden collapses height on mobile ── */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;   /* smooth momentum scroll on iOS */
    scroll-behavior: smooth;
    /* Hide the scrollbar track visually but keep it functional */
    scrollbar-width: none;               /* Firefox */
    flex: 1;
    min-width: 0;
    /* Explicit height so the grid doesn't collapse to 0 on mobile renderers */
    height: calc(250px * 2 + 21px);
}
.slider-main-wrapper .slider-track::-webkit-scrollbar {
    display: none;                       /* Chrome/Safari: hide scrollbar */
}

/* ── RESPONSIVE: Gallery + Slider ─────────────────── */

/* Tablet: 2 columns */
@media (max-width: 900px) {
    .slider-main-wrapper .slider-track {
        grid-template-rows: 220px 220px;
        grid-auto-columns: calc(50% - 11px);
        height: calc(220px * 2 + 21px);
    }
    .gallery-item {
        height: 220px;
    }
}

/* Mobile: 1 column, shrink arrows, full-width cards */
@media (max-width: 600px) {
    .slider-main-wrapper {
        gap: 6px;
    }
    .slider-main-wrapper .slider-track {
        /* Single-row on mobile */
        grid-template-rows: 190px;
        grid-auto-columns: 85vw;    /* show a sliver of the next card */
        gap: 12px;
        height: 190px;
        /* snap to cards for a swipeable feel */
        scroll-snap-type: x mandatory;
    }
    .slider-main-wrapper .slider-track .gallery-item {
        scroll-snap-align: start;
    }
    .gallery-item {
        height: 190px;
        border-radius: 8px;
    }
    /* Shrink arrows on mobile so they don't eat card space */
    .slider-main-wrapper .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
        flex-shrink: 0;
    }
}

/* Top-right counter badge */
.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 2px 9px;
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.4px;
}


/* ── STATS ─────────────────────────────────────── */
.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 56px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ── FOOTER ────────────────────────────────────── */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 14px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.25s ease-in-out, letter-spacing 0.25s ease-in-out;
}

.footer-col ul li a:hover {
    color: var(--accent);
    letter-spacing: 0.3px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ── AUTH PAGE ─────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px 40px;
    background: var(--bg-primary);
    position: relative;
}

.auth-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(234, 88, 12, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    flex: 1;
    padding: 18px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-muted);
    transition: all 0.25s;
}

.auth-tab.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    background: rgba(234, 88, 12, 0.05);
}

.auth-tab:hover:not(.active) {
    color: var(--text-secondary);
}

.auth-form-wrapper {
    padding: 36px 32px;
}

.auth-form {
    display: none;
    animation: fadeIn 0.3s;
}

.auth-form.active {
    display: block;
}

.auth-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 28px;
}

/* ── FORM ELEMENTS ─────────────────────────────── */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 7px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 11px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group select option {
    background: var(--bg-card);
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

/* ── ALERT ─────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    display: none;
    animation: fadeIn 0.3s;
}

.alert.show {
    display: block;
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* ── PROFILE PAGE ──────────────────────────────── */
.profile-page {
    min-height: 100vh;
    padding: 90px 5% 60px;
    background: var(--bg-primary);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.profile-header {
    max-width: 1100px;
    margin: 0 auto 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.profile-header-left h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-header-left p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ── PANEL CARD ────────────────────────────────── */
.panel-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.panel-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-card-header h3 {
    font-size: 15px;
    font-weight: 700;
}

.panel-card-body {
    padding: 24px;
}

/* ── TABLE ─────────────────────────────────────── */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

thead th {
    text-align: left;
    padding: 10px 14px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody td {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-in_progress {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ── ADMIN PAGE ────────────────────────────────── */
.admin-page {
    min-height: 100vh;
    padding: 90px 5% 60px;
    background: var(--bg-primary);
}

.admin-header {
    max-width: 1300px;
    margin: 0 auto 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-header h1 {
    font-size: 28px;
    font-weight: 700;
}

.admin-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.admin-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto 28px;
}

.admin-stat-card {
    flex: 1;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
}

.admin-stat-card .label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.admin-stat-card .value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 38px;
    line-height: 1;
}

.admin-stat-card.orange .value {
    color: var(--accent);
}

.admin-stat-card.blue .value {
    color: #60a5fa;
}

.admin-stat-card.green .value {
    color: #4ade80;
}

.admin-stat-card.gray .value {
    color: var(--text-secondary);
}

.admin-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 1300px;
    margin: 0 auto;
}

.admin-table-card .table-toolbar {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-table-card .table-toolbar h3 {
    font-size: 15px;
    font-weight: 700;
}

.search-input {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 8px 12px;
    outline: none;
    transition: border-color 0.2s;
    width: 220px;
}

.search-input:focus {
    border-color: var(--accent);
}

.status-select {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    padding: 5px 8px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.status-select:focus {
    border-color: var(--accent);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    opacity: 0.3;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 15px;
}

/* ── LOADER ────────────────────────────────────── */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        gap: 16px;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-hamburger {
        display: flex;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── PASSWORD EYE TOGGLE ───────────────────────── */
.pw-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.pw-wrapper input {
    /* takes full width, leaving room for the icon */
    padding-right: 44px !important;
    width: 100%;
}

.pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
    line-height: 1;
}

.pw-toggle:hover {
    color: var(--text-primary);
}

/* ── BUTTON LOADING SPINNER ────────────────────── */
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ── FORGOT PASSWORD LINK ──────────────────────── */
.forgot-link {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: var(--accent);
}

/* ── DEMO RESET LINK BOX ───────────────────────── */
.demo-link-box {
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(234, 88, 12, 0.06);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.demo-link-box p {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
}

.demo-link-box strong {
    color: var(--accent);
}

/* ── HAMBURGER ACTIVE STATE ────────────────────── */
.nav-hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── FILE UPLOAD DROP-ZONE ─────────────────────── */
.file-dropzone {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s;
    overflow: hidden;
    margin-bottom: 0;
}

.file-dropzone:hover,
.file-dropzone.drag-over {
    border-color: var(--accent);
    background: rgba(234, 88, 12, 0.05);
}

.file-dropzone.drag-over {
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.file-input-hidden {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.file-dropzone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 16px;
    pointer-events: none;
    text-align: center;
}

.file-drop-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.file-drop-accent {
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.file-drop-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Preview */
.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-accent);
    border-radius: var(--radius);
    margin-bottom: 0;
    animation: fadeIn 0.3s;
}

.file-preview img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.file-preview-remove {
    margin-left: auto;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.file-preview-remove:hover {
    background: rgba(239, 68, 68, 0.25);
}

/* OR divider */
.file-or-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    color: var(--text-muted);
    font-size: 12px;
}

.file-or-divider hr {
    flex: 1;
    border: none;
    border-top: 1px solid var(--border);
}

/* ── IMAGE LOGO ────────────────────────────────── */
.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
    flex-shrink: 0;
    transition: filter 0.25s;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.75));
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 1;
}

.logo-wordmark-en {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.logo-wordmark-ka {
    font-family: 'Noto Sans Georgian', 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
    color: #ea580c;
    letter-spacing: 0.3px;
    display: block;
}

/* ── FLOATING CONTACT BUTTON ───────────────────── */
.floating-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    /* Use a massive z-index so it always wins over any section/overlay */
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    /* Create its own stacking context — nothing inside can leak out */
    isolation: isolate;
    /* Prevent any accidental overflow clipping from ancestor sections */
    pointer-events: auto;
}

/* On very small phones, pull it in a bit more */
@media (max-width: 420px) {
    .floating-contact {
        bottom: 16px;
        right: 14px;
    }
    .fc-label {
        font-size: 11px;
        padding: 4px 8px;
        max-width: 160px;          /* prevent overflow on tiny screens */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .fc-item {
        width: 44px;
        height: 44px;
    }
    .fc-btn {
        width: 52px;
        height: 52px;
    }
}

.fc-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom center;
}

.fc-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.fc-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.fc-wa {
    background: #25D366;
}

.fc-call {
    background: #16a34a;  /* green — distinct from WhatsApp */
}

.fc-fb {
    background: #1877F2;  /* official Facebook blue */
}

/* Wrapper row: [label] [icon button] */
.fc-item-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.fc-label {
    background: rgba(20, 20, 20, 0.88);
    color: #f5f5f5;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
    pointer-events: none;
    user-select: none;
}

.fc-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--accent-glow);
    animation: pulseAccent 2s infinite;
    transition: transform 0.3s ease, background 0.3s ease;
}

.fc-btn:hover {
    transform: scale(1.05);
    background: var(--accent-hover);
}

.fc-btn svg {
    transition: transform 0.3s ease;
}

.fc-btn.active svg {
    /* If the icon is a chat bubble, a simple rotation or scale can look nice as a toggle state */
    transform: scale(0);
    opacity: 0;
}

.fc-btn.active::after {
    content: "✕";
    position: absolute;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}

@keyframes pulseAccent {
    0% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(234, 88, 12, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
    }
}

/* ── ADMIN PANEL: STATUS DROPDOWN ──────────────── */
/* Overrides browser-default white background on <select> */
.status-select {
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    appearance: auto;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.status-select:focus {
    border-color: var(--border-accent) !important;
    box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.15);
}

/* Force dropdown option list to be dark (Chromium supports this) */
.status-select option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* ── ADMIN PANEL: CLICKABLE TABLE ROWS ─────────── */
tbody tr.clickable-row {
    cursor: pointer;
    transition: background 0.2s ease;
}

tbody tr.clickable-row:hover {
    background: rgba(234, 88, 12, 0.07) !important;
    outline: 1px solid var(--border-accent);
}

/* Prevent the status <select> click from also triggering the row click */
tbody tr.clickable-row td:last-child,
tbody tr.clickable-row td .status-select {
    position: relative;
    z-index: 2;
}

/* ── ORDER DETAIL PAGE ─────────────────────────── */
.order-detail-page {
    max-width: 860px;
    margin: 100px auto 80px;
    padding: 0 5%;
}

.order-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.order-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 32px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.order-detail-header h1 {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-detail-body {
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 640px) {
    .order-detail-body {
        grid-template-columns: 1fr;
    }
}

.order-detail-section h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.order-detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.order-detail-row .label {
    font-size: 12px;
    color: var(--text-muted);
}

.order-detail-row .value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-word;
}

.order-detail-photo {
    padding: 0 32px 32px;
}

.order-detail-photo h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.order-detail-photo img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

.order-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.order-detail-back:hover {
    color: var(--accent);
}

/* ── FOOTER SOCIAL BAR ──────────────────── */
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 5%;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-link:hover {
    transform: translateY(-2px);
}

/* per-brand hover accent */
.footer-social-link[aria-label="Facebook"]:hover {
    color: #1877F2;
    border-color: rgba(24,119,242,0.4);
    box-shadow: 0 4px 16px rgba(24,119,242,0.15);
}

.footer-social-link[aria-label="WhatsApp"]:hover {
    color: #25D366;
    border-color: rgba(37,211,102,0.4);
    box-shadow: 0 4px 16px rgba(37,211,102,0.15);
}

/* ── VISITOR ANALYTICS SECTION ─────────────────── */
.visitor-analytics-section {
    margin-bottom: 28px;
}

.analytics-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.visitor-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 700px) {
    .visitor-stats-grid { grid-template-columns: 1fr; }
}

.visitor-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.visitor-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.visitor-stat-card:hover {
    transform: translateY(-3px);
}

/* Teal — daily */
.visitor-stat-card.teal                { border-color: rgba(20,184,166,0.25); }
.visitor-stat-card.teal::before        { background: linear-gradient(90deg, #14b8a6, transparent); }
.visitor-stat-card.teal .vs-icon       { color: #14b8a6; background: rgba(20,184,166,0.12); }
.visitor-stat-card.teal .vs-value      { color: #14b8a6; }
.visitor-stat-card.teal:hover          { box-shadow: 0 8px 32px rgba(20,184,166,0.18); }

/* Indigo — monthly */
.visitor-stat-card.indigo              { border-color: rgba(99,102,241,0.25); }
.visitor-stat-card.indigo::before      { background: linear-gradient(90deg, #6366f1, transparent); }
.visitor-stat-card.indigo .vs-icon     { color: #6366f1; background: rgba(99,102,241,0.12); }
.visitor-stat-card.indigo .vs-value    { color: #6366f1; }
.visitor-stat-card.indigo:hover        { box-shadow: 0 8px 32px rgba(99,102,241,0.18); }

/* Amber — yearly */
.visitor-stat-card.amber               { border-color: rgba(245,158,11,0.25); }
.visitor-stat-card.amber::before       { background: linear-gradient(90deg, #f59e0b, transparent); }
.visitor-stat-card.amber .vs-icon      { color: #f59e0b; background: rgba(245,158,11,0.12); }
.visitor-stat-card.amber .vs-value     { color: #f59e0b; }
.visitor-stat-card.amber:hover         { box-shadow: 0 8px 32px rgba(245,158,11,0.18); }

.vs-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vs-info {
    flex: 1;
    min-width: 0;
}

.vs-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    line-height: 1;
    letter-spacing: 1px;
}

.vs-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
    font-weight: 500;
}

.vs-period {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    flex-shrink: 0;
}

/* ── FAQ ACCORDION ─────────────────────────────── */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
    border-color: var(--border-accent);
    box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.12),
                0 8px 32px rgba(0, 0, 0, 0.4);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;           /* remove default marker */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.25s ease, background 0.25s ease;
    position: relative;
}

/* Remove default WebKit triangle */
.faq-item summary::-webkit-details-marker { display: none; }

/* Custom animated chevron */
.faq-item summary::after {
    content: '›';
    font-size: 22px;
    font-weight: 300;
    color: var(--text-muted);
    transform: rotate(90deg);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.25s ease;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item[open] summary::after {
    transform: rotate(270deg);
    color: var(--accent);
}

.faq-item summary:hover {
    color: var(--accent);
    background: rgba(234, 88, 12, 0.04);
}

.faq-item[open] summary {
    color: var(--accent);
    border-bottom: 1px solid var(--border);
}

.faq-item p {
    padding: 20px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.faq-item p a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.faq-item p a:hover {
    text-decoration: underline;
}

/* Mobile: tighter padding */
@media (max-width: 600px) {
    .faq-item summary {
        padding: 16px 18px;
        font-size: 14px;
    }
    .faq-item p {
        padding: 16px 18px;
        font-size: 14px;
    }
}