/* ============================================
   PaintHack — Professional Auto Paint Shop
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a80;
    --accent: #ff4d2e;
    --accent-glow: rgba(255, 77, 46, 0.35);
    --accent-secondary: #ff8c42;
    --gradient: linear-gradient(135deg, #ff4d2e 0%, #ff8c42 50%, #ffb347 100%);
    --gradient-text: linear-gradient(135deg, #ff4d2e, #ff8c42, #ffb347);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --nav-height: 80px;
}

[data-theme="light"] {
    --bg-primary: #f8f8fc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f5fa;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a60;
    --text-muted: #8a8a9a;
    --accent: #ff4d2e;
    --accent-glow: rgba(255, 77, 46, 0.2);
    --accent-secondary: #ff8c42;
    --gradient: linear-gradient(135deg, #ff4d2e 0%, #ff8c42 50%, #ffb347 100%);
    --gradient-text: linear-gradient(135deg, #ff4d2e, #ff8c42, #ffb347);
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
}

/* Light theme adjustments */
[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .particle {
    background: #ff8c42;
}

[data-theme="light"] .gallery-placeholder {
    background:
        linear-gradient(135deg,
            hsl(var(--hue), 55%, 82%) 0%,
            hsl(var(--hue), 50%, 70%) 50%,
            hsl(var(--hue), 45%, 88%) 100%);
}

[data-theme="light"] .gallery-placeholder::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 0%, transparent 50%);
}

[data-theme="light"] .gallery-placeholder span {
    color: rgba(0, 0, 0, 0.65);
}

[data-theme="light"] .testimonial-stars {
    color: #ff8c42;
}

[data-theme="light"] .mobile-menu {
    background: #f8f8fc;
}

[data-theme="light"] .burger span {
    background: var(--text-primary);
}

[data-theme="light"] .noise-overlay {
    opacity: 0.02;
}

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

html {
    scroll-behavior: auto;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============ Preloader ============ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 24px;
    line-height: 0;
}

.preloader-logo-img {
    width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 16px;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.preloader-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============ Custom Cursor ============ */
.cursor, .cursor-dot {
    display: none;
}

@media (hover: hover) {
    * {
        cursor: auto !important;
    }
}

/* ============ Noise Overlay ============ */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============ Navbar ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border);
}

/* Solid background on a pseudo-element (no backdrop-filter: it breaks
   gradient text and creates visible edge artifacts) */
.navbar.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0a0a0f;
    z-index: -1;
}

[data-theme="light"] .navbar.scrolled::before {
    background: #f8f8fc;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.nav-logo-img {
    height: 34px;
    width: auto;
    display: block;
}

/* Tema uchun mos rasmiy logotip variantlari */
.nav-logo-img.logo-for-light,
.preloader-logo-img.logo-for-light,
.auth-logo-img.logo-for-light {
    display: none;
}

[data-theme="light"] .nav-logo-img.logo-for-dark,
[data-theme="light"] .preloader-logo-img.logo-for-dark,
[data-theme="light"] .auth-logo-img.logo-for-dark {
    display: none;
}

[data-theme="light"] .nav-logo-img.logo-for-light,
[data-theme="light"] .preloader-logo-img.logo-for-light,
[data-theme="light"] .auth-logo-img.logo-for-light {
    display: block;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav-phone:hover { color: var(--accent); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Mobile Menu ============ */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 999;
    background: #0a0a0f;
    border-bottom: 1px solid var(--border);
    padding: 24px 40px;
    transform: translateY(-120%);
    visibility: hidden;
    pointer-events: none;
    transition:
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0s 0.5s;
}

.mobile-menu.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition:
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0s 0s;
}

.mobile-links { display: flex; flex-direction: column; gap: 16px; }

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.mobile-link:hover,
.mobile-link.active { color: var(--accent); }

/* ============ Auth (Login) ============ */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 77, 46, 0.06);
}

.mobile-login {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
    width: 100%;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Logged-in user chip */
.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px 4px 4px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.user-chip:hover { border-color: var(--accent); }

.user-chip img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: var(--transition);
    z-index: 1001;
}

.user-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-head {
    padding: 8px 10px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
}

.user-menu-head strong { display: block; font-size: 0.9rem; }
.user-menu-head span { font-size: 0.78rem; color: var(--text-muted); }

.user-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 10px;
    border: none;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.user-menu button:hover { background: rgba(255, 77, 46, 0.08); color: var(--accent); }

/* Auth modal */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal.open {
    opacity: 1;
    visibility: visible;
}

.auth-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.auth-modal.open .auth-box {
    transform: translateY(0) scale(1);
}

.auth-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.auth-close:hover { color: var(--accent); background: rgba(255, 77, 46, 0.08); }

.auth-logo {
    margin-bottom: 20px;
    line-height: 0;
}

.auth-logo-img {
    height: 30px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 26px;
    line-height: 1.6;
}

.google-btn-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

/* Fallback Google button (used when GIS is unavailable / not configured) */
.google-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.google-btn:hover { border-color: var(--accent); transform: translateY(-1px); }

.google-btn svg { flex-shrink: 0; }

.auth-note {
    min-height: 20px;
    font-size: 0.82rem;
    color: var(--accent);
    margin-bottom: 12px;
    line-height: 1.5;
}

.auth-note:empty { margin-bottom: 0; }

.auth-terms {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.auth-terms a { color: var(--accent); }

/* Keep the official Google button on-brand */
.g_id_signin {
    display: flex;
    justify-content: center;
}

/* ============ Auth forms (Firebase) ============ */
.auth-box {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
    text-align: left;
}

.auth-input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition);
}

.auth-input::placeholder { color: var(--text-muted); }

.auth-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.auth-input-code {
    text-align: center;
    font-size: 1.35rem;
    letter-spacing: 0.45em;
    padding-left: calc(16px + 0.45em);
}

.auth-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.auth-forgot { font-size: 0.8rem; }

.auth-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-size: 1.6rem;
    font-weight: 700;
}

.auth-field-phone {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    transition: var(--transition);
}

.auth-field-phone:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.auth-field-phone .auth-input {
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.auth-field-phone .auth-input:focus { box-shadow: none; }

.auth-phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px 0 16px;
    color: var(--text-muted);
    font-size: 0.92rem;
    border-right: 1px solid var(--border);
    white-space: nowrap;
}

.auth-btn {
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 50px;
    background: var(--gradient);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px var(--accent-glow); }

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

.auth-btn.is-loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -2px;
    animation: auth-spin 0.7s linear infinite;
}

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

.auth-ghost {
    width: 100%;
    margin-top: 4px;
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-ghost:hover { border-color: var(--accent); color: var(--accent); }

.auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-google:hover { border-color: var(--accent); transform: translateY(-1px); }

.auth-google:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-error {
    min-height: 18px;
    margin: -4px 0 0;
    font-size: 0.8rem;
    color: var(--accent);
    line-height: 1.5;
}

.auth-error code {
    padding: 1px 5px;
    border-radius: 5px;
    background: var(--bg-secondary);
    font-size: 0.76rem;
}

.auth-recaptcha {
    display: flex;
    justify-content: center;
    min-height: 78px;
    margin-top: 2px;
}

/* Telegram orqali tasdiqlash */
.auth-tg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 6px;
}

.auth-tg-hint {
    margin: 14px 0 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
}

.auth-tg-hint code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.78rem;
}

.auth-tg-status {
    margin: 16px 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

.auth-switch {
    margin-top: 16px;
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.auth-link {
    border: none;
    background: none;
    padding: 0;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.auth-link:hover { text-decoration: underline; }

/* Navbar: foydalanuvchi avatarlari va telefon belgisi */
.user-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.user-chip-phone {
    display: inline-flex;
    align-items: center;
    color: #4ade80;
    flex-shrink: 0;
}

.user-menu-phone {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--nav-height) + 40px) 40px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(255, 77, 46, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255, 140, 66, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 80%, rgba(255, 179, 71, 0.06) 0%, transparent 60%);
    animation: gradientShift 12s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.6; transform: translateY(-40px) scale(1); }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-120px) scale(0.5); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 77, 46, 0.08);
    border: 1px solid rgba(255, 77, 46, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
}

/* Only hide words while JS is present (prevents permanent blank hero) */
.js .hero-title .word {
    transform: translateY(110%);
}

/* Fallback: if GSAP is unavailable, reveal the hero */
.no-anim .hero-title .word {
    transform: none !important;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

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

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 77, 46, 0.05);
}

.btn-full { width: 100%; justify-content: center; }

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-scroll span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -12px; }
    100% { top: 40px; }
}

/* ============ Marquee ============ */
.marquee-section {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg-secondary);
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.marquee-content i {
    color: var(--accent);
    font-style: normal;
    font-size: 0.8rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ Sections Common ============ */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 77, 46, 0.08);
    border: 1px solid rgba(255, 77, 46, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

section {
    padding: 120px 0;
    position: relative;
}

/* ============ Products ============ */
.products { background: var(--bg-primary); }

.product-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-card:hover::before { opacity: 1; }

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: rgba(255, 77, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
    transition: var(--transition);
}

.product-card:hover .product-icon {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.05) rotate(-5deg);
}

.product-category {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.product-card:hover .product-btn {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    transform: rotate(-45deg);
}

/* ============ Services ============ */
.services { background: var(--bg-secondary); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: var(--transition-slow);
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 77, 46, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    background: rgba(255, 77, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.08);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* ============ Gallery ============ */
.gallery { background: var(--bg-primary); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.gallery-item-large { grid-column: span 2; grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background:
        linear-gradient(135deg,
            hsl(var(--hue), 60%, 15%) 0%,
            hsl(var(--hue), 50%, 25%) 50%,
            hsl(var(--hue), 40%, 10%) 100%);
    position: relative;
    transition: var(--transition-slow);
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}

.gallery-placeholder span {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.03);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    pointer-events: none;
    transition: border-color 0.4s;
}

.gallery-item:hover::after { border-color: rgba(255, 77, 46, 0.4); }

/* ============ Testimonials ============ */
.testimonials { background: var(--bg-secondary); }

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    min-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
}

.testimonial-stars {
    color: #ffb347;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.slider-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ============ Contact ============ */
.contact { background: var(--bg-primary); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 77, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-item span {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-phones a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-phones a:hover { color: var(--accent); }

.contact-map {
    margin-top: 28px;
    max-width: 420px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 200px;
    border: 0;
    filter: invert(0.9) hue-rotate(180deg) saturate(0.75) contrast(0.95);
}

[data-theme="light"] .contact-map iframe { filter: none; }

.contact-map-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-top: 1px solid var(--border);
    transition: color 0.2s;
}

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

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    position: relative;
}

.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-status {
    min-height: 1.2em;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-status.success { color: #22c55e; }
.contact-status.error { color: #ff6b6b; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ Footer ============ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .burger { display: flex; }
    .nav-phone { display: none; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item-large { grid-column: span 2; }
    .gallery-item-wide { grid-column: span 2; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 768px) {
    :root { --nav-height: 70px; }

    .nav-container { padding: 0 20px; }
    .section-container { padding: 0 20px; }

    section { padding: 80px 0; }

    .hero { padding: calc(var(--nav-height) + 20px) 20px 60px; }

    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.6rem; }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .gallery-item-large,
    .gallery-item-wide { grid-column: span 1; }

    .testimonial-card { padding: 32px 24px; }

    .contact-form-wrapper { padding: 32px 24px; }

    .contact-map { max-width: none; }

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

    .hero-cta { flex-direction: column; align-items: center; }
}

/* ============ Scrollbar ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============ Selection ============ */
::selection {
    background: var(--accent);
    color: #fff;
}

/* ============================================
   Section routes, language switch, product modal
   ============================================ */

[data-route-section][hidden] { display: none !important; }

body.modal-open { overflow: hidden; }

/* Language switch */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
}

.lang-switch button {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 5px 8px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switch button:hover { color: var(--text-primary); }

.lang-switch button.active {
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 2px 10px var(--accent-glow);
}

.lang-switch-mobile {
    display: inline-flex;
    margin-top: 8px;
    padding: 4px;
}

.lang-switch-mobile button {
    font-size: 0.8rem;
    padding: 7px 14px;
}

/* Contact: map next to the address/phone/hours list */
.contact-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.contact-details { min-width: 0; }

.contact-map {
    margin-top: 0;
    max-width: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-map iframe { height: 100%; min-height: 210px; flex: 1; }

/* Product "more details" pill */
.product-footer { gap: 12px; flex-wrap: wrap; }

.product-btn.product-more {
    width: auto;
    height: auto;
    padding: 9px 14px;
    border-radius: 50px;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-card:hover .product-btn.product-more {
    transform: none;
}

/* Product detail modal */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 5, 10, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s;
}

.product-modal-box {
    position: relative;
    width: min(580px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-modal.open .product-modal-box { transform: none; }

.product-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.product-modal-close:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.product-modal-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding-right: 36px;
}

.product-modal-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: var(--radius-sm);
    background: rgba(255, 77, 46, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-category {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.product-modal-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
}

.product-modal-lead {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-modal-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    margin-bottom: 24px;
}

.product-modal-price span {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.product-modal-price strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-modal-subtitle {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-modal-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
}

.product-modal-order {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1280px) {
    .contact-media { grid-template-columns: 1fr; }
    .contact-map { max-width: 420px; }
    .contact-map iframe { min-height: 200px; }
}

@media (max-width: 1024px) {
    .nav-actions > .lang-switch { display: none; }
}

@media (max-width: 768px) {
    .nav-container { padding: 0 14px; gap: 8px; }
    .nav-logo-img { height: 28px; width: auto; }
    .preloader-logo-img { width: 120px; }
    .auth-logo-img { height: 28px; }
    .nav-actions { gap: 8px; }
    .theme-toggle { width: 36px; height: 36px; }
    .btn-login { padding: 8px 14px; font-size: 0.8rem; }
    .burger { padding: 6px; }

    /* User chip: faqat avatar, ism ikki qatorga bo'linmasin */
    .user-chip {
        padding: 4px;
        gap: 0;
        max-width: none;
    }
    .user-chip > span:not(.user-avatar-fallback):not(.user-chip-phone) { display: none; }
    .user-chip img, .user-avatar-fallback { width: 28px; height: 28px; }

    .hero { padding-bottom: 130px; }
    .hero-scroll { bottom: 26px; }
    .hero-scroll span { font-size: 0.62rem; letter-spacing: 1.5px; }

    .product-modal-box { padding: 30px 22px; }
    .product-modal-head { gap: 14px; }
    .product-modal-icon { width: 54px; height: 54px; flex-basis: 54px; }
    .product-modal-title { font-size: 1.2rem; }
}

@media (max-width: 420px) {
    .nav-logo-img { height: 24px; width: auto; }
    .theme-toggle { width: 34px; height: 34px; }
    .btn-login { padding: 7px 11px; font-size: 0.75rem; gap: 6px; }
    .btn-login svg { width: 15px; height: 15px; }
}

/* Hero: "Pastga suring" endi statistika bilan ustma-ust tushmaydi */
.hero { padding-bottom: 150px; }
.hero-scroll { bottom: 26px; }

@media (max-height: 760px) {
    .hero-scroll { display: none; }
}

.auth-slot { position: relative; display: flex; align-items: center; }
