/* ==========================================================================
   AUTOSIAL PREMIER - AWWWARDS LEVEL STYLESHEET
   Italian Automotive Excellence & Digital Experience
   Full Dual-Theme Support (Dark Luxury & Sleek Light)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Syne:wght@700;800;900&display=swap');

/* ─── Core Theme Variables (Dark Mode Default) ─────────────────────────── */
:root {
    --primary-brand: #eab308;
    --primary-rgb: 234, 179, 8;
    --primary-glow: rgba(234, 179, 8, 0.4);
    --primary-dark: #ca8a04;
    
    --bg-page: #06090e;
    --bg-surface: #0c111a;
    --bg-card: rgba(16, 23, 36, 0.85);
    --bg-card-hover: rgba(22, 32, 50, 0.95);
    
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(234, 179, 8, 0.4);
    --glass-highlight: rgba(255, 255, 255, 0.04);
    
    --text-main: #ffffff;
    --text-white: #ffffff;
    --text-dim: #94a3b8;
    --text-muted: #64748b;
    
    --navbar-bg: rgba(6, 9, 14, 0.7);
    --navbar-scrolled: rgba(6, 9, 14, 0.95);
    
    --input-bg: rgba(15, 23, 42, 0.6);
    --input-border: rgba(255, 255, 255, 0.12);
    --input-color: #ffffff;
    --input-placeholder: #64748b;

    --calc-card-bg: linear-gradient(135deg, rgba(16, 23, 36, 0.95) 0%, rgba(8, 12, 20, 0.98) 100%);
    --calc-result-bg: rgba(var(--primary-rgb), 0.06);
    --calc-term-bg: rgba(255, 255, 255, 0.05);

    --pill-bg: rgba(255, 255, 255, 0.05);
    --badge-bg: rgba(6, 9, 14, 0.75);
    --footer-bg: #040609;

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Backwards compatibility aliases */
    --bg-dark-base: var(--bg-page);
    --bg-dark-surface: var(--bg-surface);
    --bg-dark-card: var(--bg-card);
}

/* ─── Light Mode Overrides ──────────────────────────────────────────────── */
[data-bs-theme="light"] {
    --bg-page: #f8fafc;
    --bg-surface: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-border-hover: rgba(202, 138, 4, 0.6);
    --glass-highlight: rgba(0, 0, 0, 0.03);
    
    --text-main: #0f172a;
    --text-white: #0f172a;
    --text-dim: #475569;
    --text-muted: #64748b;
    
    --navbar-bg: rgba(255, 255, 255, 0.85);
    --navbar-scrolled: rgba(255, 255, 255, 0.98);
    
    --input-bg: #ffffff;
    --input-border: rgba(0, 0, 0, 0.15);
    --input-color: #0f172a;
    --input-placeholder: #94a3b8;

    --calc-card-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --calc-result-bg: rgba(var(--primary-rgb), 0.08);
    --calc-term-bg: rgba(0, 0, 0, 0.04);

    --pill-bg: rgba(0, 0, 0, 0.05);
    --badge-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: #0f172a;

    --bg-dark-base: var(--bg-page);
    --bg-dark-surface: var(--bg-surface);
    --bg-dark-card: var(--bg-card);
}

/* ─── Global Reset & Typography ─────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    letter-spacing: -0.2px;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ambient Cursor Glow effect */
.ambient-glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

[data-bs-theme="light"] .ambient-glow-orb {
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
}

/* Dynamic Section Background Helpers */
.section-bg-base {
    background-color: var(--bg-page);
    transition: background-color 0.3s ease;
}

.section-bg-surface {
    background-color: var(--bg-surface);
    transition: background-color 0.3s ease;
}

/* Adaptive Text Utilities */
.theme-text-main {
    color: var(--text-main) !important;
}

.theme-text-dim {
    color: var(--text-dim) !important;
}

/* ─── Navigation Bar (Glass Luxury) ─────────────────────────────────────── */
.awwwards-navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.1rem 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}

.awwwards-navbar.navbar-scrolled {
    background: var(--navbar-scrolled);
    padding: 0.75rem 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-bottom-color: rgba(var(--primary-rgb), 0.2);
}

.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.nav-logo-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--pill-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: transform 0.3s ease;
}

.nav-brand-group:hover .nav-logo-badge {
    transform: scale(1.08) rotate(4deg);
    border-color: var(--primary-brand);
}

.nav-brand-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    margin: 0;
    line-height: 1;
}

.nav-brand-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-brand);
    display: block;
    margin-top: 3px;
}

.nav-link-awwwards {
    color: var(--text-dim) !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.5rem 0.9rem !important;
    border-radius: 9999px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link-awwwards:hover {
    color: var(--text-main) !important;
    background: var(--pill-bg);
}

.nav-btn-vip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-brand) 0%, #ca8a04 100%);
    color: #000000 !important;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    padding: 0.65rem 1.4rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.35);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
}

.nav-btn-vip:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.55);
    color: #000000 !important;
}

/* Theme Toggle Button (Luxury Circular Switch) */
.theme-toggle-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pill-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
    padding: 0;
    backdrop-filter: blur(10px);
}

.theme-toggle-nav:hover {
    background: var(--primary-brand);
    color: #000000;
    border-color: var(--primary-brand);
    transform: scale(1.1) rotate(18deg);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

/* ─── Hero Section (Cinematic & Atmospheric) ────────────────────────────── */
.hero-awwwards {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8.5rem 0 6.5rem 0;
    overflow: hidden;
    background: radial-gradient(circle at 50% 20%, rgba(var(--primary-rgb), 0.16) 0%, transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(30, 58, 138, 0.2) 0%, transparent 50%),
                #06090e;
    color: #ffffff;
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    filter: saturate(1.15) brightness(0.9);
    z-index: 0;
    transition: transform 0.5s ease-out;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(6, 9, 14, 0.75) 0%, 
        rgba(6, 9, 14, 0.45) 40%, 
        rgba(6, 9, 14, 0.9) 85%, 
        var(--bg-page) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

[data-bs-theme="light"] .hero-overlay-gradient {
    background: linear-gradient(180deg, 
        rgba(6, 9, 14, 0.75) 0%, 
        rgba(6, 9, 14, 0.45) 40%, 
        rgba(6, 9, 14, 0.85) 75%, 
        var(--bg-page) 100%);
}

.hero-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.15rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    backdrop-filter: blur(12px);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-brand);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.badge-live-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-brand);
    box-shadow: 0 0 10px var(--primary-brand);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    color: #cbd5e1;
    max-width: 740px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.65;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.btn-awwwards-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-brand);
    color: #000000 !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2px;
    padding: 0.95rem 2.2rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.45);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
}

.btn-awwwards-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(var(--primary-rgb), 0.6);
    color: #000000 !important;
}

.btn-awwwards-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.95rem 2.2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-awwwards-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-brand);
    color: var(--primary-brand) !important;
    transform: translateY(-2px);
}

/* Hero Live Stats Bar */
.hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: rgba(16, 23, 36, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="light"] .hero-stats-strip {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hero-stat-item {
    text-align: center;
    border-right: 1px solid var(--glass-border);
}

.hero-stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-num-accent {
    color: var(--primary-brand);
}

.stat-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

/* ─── Section Shared Styles ──────────────────────────────────────────────── */
.section-pad {
    padding: 7rem 0;
    position: relative;
    transition: background-color 0.3s ease;
}

.section-head-awwwards {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 4.5rem auto;
}

.section-pill-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary-brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title-large {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.section-subtitle-dim {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin: 0;
}

/* ─── Vehicle Showcase (Luxury Virtual Showroom) ─────────────────────────── */
.showroom-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.showroom-tab-btn {
    background: var(--pill-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.showroom-tab-btn:hover,
.showroom-tab-btn.active {
    background: var(--primary-brand);
    color: #000000;
    border-color: var(--primary-brand);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
}

.vehicle-card-awwwards {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.vehicle-card-awwwards:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.15), 0 0 30px rgba(var(--primary-rgb), 0.15);
}

[data-bs-theme="dark"] .vehicle-card-awwwards:hover {
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(var(--primary-rgb), 0.15);
}

.vehicle-media-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.vehicle-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vehicle-card-awwwards:hover .vehicle-card-img {
    transform: scale(1.06);
}

.vehicle-badge-floating {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--badge-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-brand);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
}

.vehicle-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.vehicle-card-edition {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.25rem;
}

.vehicle-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

.spec-cell {
    text-align: center;
}

.spec-cell-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.spec-cell-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.vehicle-card-footer {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
}

.btn-card-primary {
    flex: 1;
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.35);
    color: var(--primary-brand);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-card-primary:hover {
    background: var(--primary-brand);
    color: #000000;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.btn-card-secondary {
    background: var(--pill-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-card-secondary:hover {
    background: var(--primary-brand);
    color: #000000;
    border-color: var(--primary-brand);
}

/* ─── Bento Grid Services Section ────────────────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

[data-bs-theme="dark"] .bento-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.bento-card-large {
    grid-column: span 8;
}

.bento-card-medium {
    grid-column: span 4;
}

.bento-card-half {
    grid-column: span 6;
}

.bento-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    color: var(--primary-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.bento-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.bento-card-text {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.bento-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bento-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    background: var(--pill-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
}

/* ─── Interactive Financing Calculator ───────────────────────────────────── */
.calc-card-awwwards {
    background: var(--calc-card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .calc-card-awwwards {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.calc-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 9999px;
    background: var(--pill-bg);
    border: 1px solid var(--glass-border);
    outline: none;
}

.calc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-brand);
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary-brand);
    border: 2px solid #000;
}

.calc-term-btn {
    flex: 1;
    background: var(--calc-term-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    padding: 0.65rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.calc-term-btn.active,
.calc-term-btn:hover {
    background: var(--primary-brand);
    color: #000;
    border-color: var(--primary-brand);
}

.calc-result-box {
    background: var(--calc-result-bg);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.calc-result-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--primary-brand);
    line-height: 1;
    margin: 0.5rem 0;
}

/* ─── Contact & Dealership Section ───────────────────────────────────────── */
.contact-form-glass {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="dark"] .contact-form-glass {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.contact-card-info {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.contact-card-info:hover {
    transform: translateX(6px);
    border-color: var(--primary-brand);
    background: rgba(var(--primary-rgb), 0.05);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    color: var(--primary-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ─── Adaptive Form Inputs ───────────────────────────────────────────────── */
.awwwards-input,
.awwwards-select {
    background-color: var(--input-bg) !important;
    border: 1px solid var(--input-border) !important;
    color: var(--input-color) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.85rem 1.15rem;
    transition: all 0.25s ease !important;
}

.awwwards-input.has-icon-left {
    padding-left: 3.25rem !important;
}

.awwwards-input.has-icon-both {
    padding-left: 3.25rem !important;
    padding-right: 3.25rem !important;
}

.auth-input-icon-left {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
    z-index: 5;
    font-size: 1.05rem;
    transition: color 0.25s ease;
}

.position-relative:focus-within .auth-input-icon-left {
    color: var(--primary-brand) !important;
}

.awwwards-input::placeholder {
    color: var(--input-placeholder) !important;
}

.awwwards-input:focus,
.awwwards-select:focus {
    border-color: var(--primary-brand) !important;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2) !important;
    outline: none !important;
}

/* ─── Footer Luxury ──────────────────────────────────────────────────────── */
.footer-awwwards {
    background: var(--footer-bg);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2.5rem 0;
    color: #cbd5e1;
}

.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pill-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social-btn:hover {
    background: var(--primary-brand);
    color: #000;
    transform: translateY(-3px) scale(1.08);
}

/* ─── Responsive Media Queries ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .awwwards-navbar .navbar-collapse {
        background: var(--bg-card);
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-md);
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .bento-card-large,
    .bento-card-medium,
    .bento-card-half {
        grid-column: span 12;
    }

    .hero-heading {
        font-size: 3rem;
    }

    .theme-toggle-nav {
        margin: 0.5rem auto 0 auto;
    }
}

/* ─── Awwwards Auth System (Login, Register, Recovery) ─────────────────── */
.auth-page-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 3rem 1.25rem;
    overflow-x: hidden;
    background-color: var(--bg-page);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.auth-bg-media {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.28;
    filter: saturate(1.1) brightness(0.8);
    z-index: 0;
    pointer-events: none;
}

[data-bs-theme="light"] .auth-bg-media {
    opacity: 0.12;
    filter: saturate(1.2) brightness(1.1);
}

.auth-bg-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 25%, rgba(var(--primary-rgb), 0.12) 0%, transparent 65%),
                linear-gradient(180deg, rgba(6, 9, 14, 0.75) 0%, var(--bg-page) 100%);
    z-index: 0;
    pointer-events: none;
    transition: background 0.3s ease;
}

[data-bs-theme="light"] .auth-bg-overlay {
    background: radial-gradient(circle at 50% 25%, rgba(var(--primary-rgb), 0.12) 0%, transparent 65%),
                linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, var(--bg-page) 100%);
}

.auth-wrapper-awwwards {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    margin: auto;
}

.auth-card-awwwards {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.25rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

[data-bs-theme="dark"] .auth-card-awwwards {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 35px rgba(var(--primary-rgb), 0.08);
}

.auth-card-awwwards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-brand), transparent);
    opacity: 0.9;
}

.auth-logo-badge {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: var(--pill-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin: 0 auto 1.25rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-card-awwwards:hover .auth-logo-badge {
    transform: scale(1.08) rotate(4deg);
    border-color: var(--primary-brand);
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    background: var(--pill-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
    margin-bottom: 1.5rem;
}

.btn-back-home:hover {
    color: var(--primary-brand);
    border-color: var(--primary-brand);
    transform: translateX(-3px);
}

.theme-toggle-floating {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
}

.password-toggle-awwwards {
    position: absolute;
    right: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    cursor: pointer;
    z-index: 6;
    padding: 0.35rem;
    transition: all 0.2s ease;
}

.password-toggle-awwwards:hover {
    color: var(--primary-brand);
    transform: translateY(-50%) scale(1.15);
}

.pw-strength-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--pill-bg);
    margin-top: 0.5rem;
    overflow: hidden;
    position: relative;
}

.pw-strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* ─── Checkbox Recordar Sesión de Alta Visibilidad ─────────────────── */
.autosial-remember-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    user-select: none;
    margin: 0;
    padding: 2px 0;
}
.autosial-remember-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #94a3b8;
    border-radius: 6px;
    background-color: transparent;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    margin: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
}
[data-bs-theme="light"] .autosial-remember-wrapper input[type="checkbox"] {
    background-color: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
[data-bs-theme="dark"] .autosial-remember-wrapper input[type="checkbox"] {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
}
.autosial-remember-wrapper:hover input[type="checkbox"] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.autosial-remember-wrapper input[type="checkbox"]:checked {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}
.autosial-remember-wrapper input[type="checkbox"]:checked::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    color: #ffffff;
    line-height: 1;
}
.autosial-remember-wrapper .remember-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    cursor: pointer;
    margin: 0;
    transition: color 0.2s ease;
}
.autosial-remember-wrapper:hover .remember-label {
    color: var(--text-main, #0f172a);
}

