/* ==========================================================================
   NAB SELLOS METÁLICOS - PREMIUM DESIGN SYSTEM & STYLES
   Inspired by Simulador aesthetics: Vibrant Orange (#ff6600), Warm Contrasts,
   Glassmorphism, Dynamic Animations & Modern Typography (Outfit).
   ========================================================================== */

:root {
    /* --- Color Palette --- */
    --primary: #ff6600;
    --primary-hover: #e65c00;
    --primary-light: #fff5ed;
    --primary-glow: rgba(255, 102, 0, 0.3);
    
    --dark-bg: #141418;
    --dark-surface: #1e1e24;
    --dark-card: #26262e;
    
    --light-bg: #fdfcfb;
    --light-surface: #ffffff;
    --light-alt: #f5f3f0;
    
    --text-main: #212529;
    --text-muted: #6c757d;
    --text-light: #ffffff;
    --text-light-muted: #a0a0a8;
    
    --border-light: rgba(0, 0, 0, 0.08);
    --border-dark: rgba(255, 255, 255, 0.12);
    
    /* --- Glassmorphism Tokens --- */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    
    /* --- Typography & Spacing --- */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* --- Transitions --- */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 90px 0;
    position: relative;
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    border: 1px solid rgba(255, 102, 0, 0.2);
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px var(--primary-glow);
    transition: var(--transition-bounce);
}

.logo-link:hover .logo-icon {
    transform: rotate(-10deg) scale(1.08);
}

.nav-brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-bounce);
    filter: drop-shadow(0 2px 8px rgba(255, 102, 0, 0.25));
}

.logo-link:hover .nav-brand-logo {
    transform: scale(1.08) rotate(-4deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

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

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

.btn-nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px var(--primary-glow);
    transition: var(--transition-bounce);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
    color: white;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger-btn .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: var(--transition-smooth);
}

.hamburger-btn .bar:nth-child(1) { top: 0; }
.hamburger-btn .bar:nth-child(2) { top: 10px; }
.hamburger-btn .bar:nth-child(3) { top: 20px; }

.hamburger-btn.active .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
    background-color: var(--primary);
}
.hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
    background-color: var(--primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(255, 102, 0, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(255, 153, 51, 0.08) 0%, transparent 40%),
                var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.40) 55%, rgba(255, 255, 255, 0.10) 100%);
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    box-shadow: var(--glass-shadow);
    border: 1px solid rgba(255, 102, 0, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 102, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary), #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px var(--primary-glow);
    transition: var(--transition-bounce);
}

.btn-primary-hero:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.45);
    color: white;
}

.btn-secondary-hero {
    background-color: white;
    color: var(--text-main);
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-light);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.btn-secondary-hero:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hero-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.trust-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    transition: var(--transition-smooth);
}

.trust-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

.trust-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PRODUCTOS Y SERVICIOS
   ========================================================================== */
.products-section {
    background-color: var(--light-alt);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--light-surface);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 102, 0, 0.3);
}

.product-card:hover::before {
    background: var(--primary);
}

.product-card.featured {
    background: linear-gradient(180deg, #ffffff 0%, var(--primary-light) 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 15px 35px var(--primary-glow);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 102, 0, 0.2);
}

.card-badge.cocktail { background-color: #e3f2fd; color: #1976d2; border-color: #bbdefb; }
.card-badge.eco { background-color: #e8f5e9; color: #2e7d32; border-color: #c8e6c9; }
.card-badge.craft { background-color: #efebe9; color: #5d4037; border-color: #d7ccc8; }

/* Product Card Images & Sliders */
.card-img-container,
.card-slider-container {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 16px;
    margin-bottom: 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    position: relative;
    box-shadow: none;
}

.card-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: var(--transition-bounce);
}

.product-card:hover .card-img {
    transform: scale(1.08) translateY(-4px);
}

/* Slider Specific Styles */
.card-slider-container {
    padding: 0;
}

.slider-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.94);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.slider-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .slide.active .slider-img {
    transform: scale(1.08) translateY(-3px);
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 18px rgba(255, 102, 0, 0.4);
}

.prev-btn {
    left: 12px;
}

.next-btn {
    right: 12px;
}

.card-slider-container:hover .slider-btn {
    opacity: 0.85;
    transform: translateY(-50%) scale(1);
}

.card-slider-container:hover .slider-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.12);
}



.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-features {
    margin-bottom: 28px;
    border-top: 1px dashed var(--border-light);
    padding-top: 20px;
}

.card-features li {
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li i {
    color: #2e7d32;
    font-size: 0.85rem;
}

/* Reproductor de video limpio en tarjeta sin títulos ni marcos */
.card-clean-video {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: -12px;
    background: #000;
}

.card-clean-video video {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    outline: none;
}

.card-action {
    margin-top: auto;
}

.btn-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background-color: var(--light-alt);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.product-card:hover .btn-card {
    background-color: var(--primary);
    color: white;
}

.btn-card i {
    transition: var(--transition-fast);
}

.product-card:hover .btn-card i {
    transform: translateX(6px);
}

/* Promo Banner */
.simulador-promo-banner {
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-bg));
    color: white;
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-dark);
    flex-wrap: wrap;
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 300px;
}

.promo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #ff9900);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.promo-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-text p {
    color: var(--text-light-muted);
    font-size: 0.95rem;
}

.btn-promo-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    box-shadow: 0 8px 25px var(--primary-glow);
    transition: var(--transition-bounce);
}

.btn-promo-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.5);
    color: white;
}

/* ==========================================================================
   SOBRE NOSOTROS
   ========================================================================== */
.about-section {
    background-color: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.5;
}

.about-body {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

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

.stat-box {
    background: var(--primary-light);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(255, 102, 0, 0.2);
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
}

/* About Tools Showcase */
.about-tools-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.tool-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 14px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.tool-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(255, 102, 0, 0.15);
}

.tool-img {
    height: 190px;
    width: auto;
    object-fit: contain;
    margin-bottom: 14px;
    filter: none !important;
    transition: var(--transition-bounce);
    background: transparent !important;
}

.tool-item:hover .tool-img {
    transform: scale(1.08) rotate(-4deg);
}

/* Sliders ciegos para Mango a Fuego y Mango Eléctrico */
.fuego-blind-slider,
.electrico-blind-slider {
    position: relative;
    width: 190px;
    height: 190px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: none !important;
    transition: var(--transition-bounce);
    background: transparent !important;
}

.tool-item:hover .fuego-blind-slider,
.tool-item:hover .electrico-blind-slider {
    transform: scale(1.08) rotate(-4deg);
}

.fuego-blind-slider .fuego-slide,
.electrico-blind-slider .electrico-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
    background: transparent !important;
    filter: none !important;
}

.fuego-blind-slider .fuego-slide.active,
.electrico-blind-slider .electrico-slide.active {
    opacity: 1;
}

.tool-item span {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    background: var(--light-surface);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--glass-shadow);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.ac-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.about-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACTO SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--light-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--light-surface);
    padding: 22px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.whatsapp-card:hover { border-color: #25d366; }
.whatsapp-card:hover .ci-icon { background-color: #25d366; color: white; }

.email-card:hover { border-color: var(--primary); }
.email-card:hover .ci-icon { background-color: var(--primary); color: white; }

.insta-card:hover { border-color: #e1306c; }
.insta-card:hover .ci-icon { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; }

.ci-icon {
    width: 52px;
    height: 52px;
    background-color: var(--light-alt);
    color: var(--text-main);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.ci-data {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ci-data span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ci-data strong {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
}

.ci-link-icon {
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.contact-info-card:hover .ci-link-icon {
    transform: translateX(4px);
    color: var(--text-main);
}

.contact-hour-card {
    background: var(--primary-light);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 102, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.contact-hour-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--light-surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--light-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.12);
}

textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px var(--primary-glow);
    transition: var(--transition-bounce);
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.45);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-dark);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.15));
}

.footer-tagline {
    color: var(--text-light-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: var(--dark-surface);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid var(--border-dark);
    transition: var(--transition-bounce);
}

.footer-socials a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.1);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: var(--text-light-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.links-col ul li a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.cta-col p {
    color: var(--text-light-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-btn-simulador {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition-bounce);
}

.footer-btn-simulador:hover {
    transform: scale(1.05);
    background-color: var(--primary-hover);
    color: white;
}

.footer-bottom {
    padding: 24px 0;
    background-color: #0e0e11;
}

.bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-light-muted);
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-float-btn {
    width: 64px;
    height: 64px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-bounce);
    position: relative;
    animation: floatBounce 3s infinite ease-in-out;
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.whatsapp-float-btn:hover {
    transform: scale(1.15) rotate(10deg);
    background-color: #20bd5a;
    color: white;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
    position: absolute;
    right: 78px;
    background-color: var(--dark-surface);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    box-shadow: var(--glass-shadow);
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark-surface);
}

.whatsapp-float-btn:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .hero-title { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }
    .simulador-promo-banner { flex-direction: column; text-align: center; }
    .promo-content { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .hamburger-btn { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--light-surface);
        flex-direction: column;
        padding: 30px 24px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-light);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-link { width: 100%; text-align: center; padding: 12px 0; font-size: 1.1rem; }
    .btn-nav-cta { width: 100%; justify-content: center; margin-top: 10px; }
    
    .hero-title { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-trust-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .bottom-row { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .btn-primary-hero, .btn-secondary-hero { width: 100%; justify-content: center; }
    .section-title { font-size: 2rem; }
    .contact-form-wrapper { padding: 24px 20px; }
    .simulador-promo-banner { padding: 28px 20px; }
}

/* ==========================================
   FAQ PAGE & ACCORDION STYLES
   ========================================== */
.faq-section {
    padding: 120px 0 100px;
    background: var(--bg-main);
    min-height: 75vh;
}

.faq-header-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.faq-header-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-header-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--light-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.faq-header {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    background: transparent;
    transition: background-color 0.3s ease;
}

.faq-header:hover {
    background: rgba(255, 102, 0, 0.03);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-question i {
    color: var(--primary);
    font-size: 1.4rem;
}

.faq-toggle-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-bounce);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    background: var(--primary);
    color: white;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-content {
    padding: 0 30px 30px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 20px;
}

.faq-content p {
    margin-bottom: 16px;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

.faq-content ul {
    list-style: none;
    padding-left: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-content li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-content li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 1.1rem;
}

.faq-callout {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.06) 0%, rgba(255, 153, 0, 0.03) 100%);
    border-left: 4px solid var(--primary);
    padding: 18px 22px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 18px 0;
    color: var(--text-main);
    font-weight: 500;
}

.faq-callout i {
    color: var(--primary);
    margin-right: 8px;
}

.faq-video-card {
    background: var(--bg-main);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
}

.faq-video-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.faq-contact-banner {
    margin-top: 60px;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.faq-contact-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: white;
}

.faq-contact-banner p {
    color: #ccc;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .faq-header-hero h1 {
        font-size: 2.2rem;
    }
    .faq-question {
        font-size: 1.1rem;
    }
    .faq-header {
        padding: 18px 20px;
    }
    .faq-content {
        padding: 0 20px 20px;
    }
}

/* ==========================================================================
   How To Use / Manual Page Styles
   ========================================================================== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 60px;
}

.guide-card {
    background: var(--light-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.guide-card.electric {
    border-top: 5px solid #ff9900;
}

.guide-card.fire {
    border-top: 5px solid #ff3300;
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.guide-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.guide-card.electric .guide-icon {
    background: #fff3e0;
    color: #ff9900;
}

.guide-card.fire .guide-icon {
    background: #ffebee;
    color: #ff3300;
}

.guide-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.spec-badge {
    background: var(--light-alt);
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.guide-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex-grow: 1;
}

.guide-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ff9900;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3);
}

.guide-card.fire .step-num {
    background: #ff3300;
    box-shadow: 0 4px 10px rgba(255, 51, 0, 0.3);
}

.step-content h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
}

.step-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Video Tutorial Cards inside Manual Guide --- */
.video-tutorials-container {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px dashed var(--border-light);
}

.video-tutorials-title {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.video-card-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.video-card-box:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    background: #141418;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-card-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-card-info h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

.video-card-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.materials-section {
    background: var(--light-surface);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    margin-bottom: 60px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.material-item {
    background: var(--light-alt);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.material-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.material-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: inline-block;
}

.material-item h4 {
    margin: 0 0 10px 0;
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 700;
}

.material-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.manual-download-bar {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1e1e24 100%);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.manual-download-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    color: #ffffff;
}

.manual-download-text p {
    margin: 0;
    color: #aaa;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .guide-card {
        padding: 24px;
    }
    .materials-section {
        padding: 30px 20px;
    }
    .manual-download-bar {
        padding: 28px 20px;
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   IMAGE LIGHTBOX / POPUP
   ========================================================================== */
.image-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #fff;
}

.lightbox-caption {
    margin-top: 16px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.zoomable-img {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoomable-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
