/* ========================================================
   1. VARIABLES DE DISEÑO PREMIUM (Paleta SadminSoft Ultra)
   ======================================================== */
:root {
    --primary-blue: #2a4073;      
    --primary-bright: #40578e;
    --primary-gradient: linear-gradient(135deg, #40578e 0%, #2a4073 100%);
    --gradient-glow: linear-gradient(90deg, #60a5fa, #40578e, #60a5fa);
    --secondary-blue: #1b2640;    
    --background-light: #f0f3fa;  
    --white: #ffffff;             
    --text-main: #1e293b;         
    --text-muted: #64748b;        
    --accent-gold: #60a5fa;       
    --accent-blue: #3b82f6;       
    --glass-bg: rgba(255, 255, 255, 0.45); 
    --glass-border: rgba(255, 255, 255, 0.9);
    --shadow-soft: 0 10px 40px -10px rgba(42, 64, 115, 0.15);
    --shadow-glow: 0 0 40px rgba(64, 87, 142, 0.3);
    --shadow-hover: 0 30px 60px -15px rgba(42, 64, 115, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; scroll-behavior: smooth; }

/* Accesibilidad global para la navegación por teclado */
*:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

body { color: var(--text-main); background-color: var(--background-light); line-height: 1.7; overflow-x: hidden; position: relative; }

h1, h2, h3, h4, .cta-button, .btn-contacto { font-family: 'Outfit', sans-serif; letter-spacing: -0.5px; }

/* ========================================================
   CUSTOM SCROLLBAR
   ======================================================== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--secondary-blue); }
::-webkit-scrollbar-thumb { background: var(--primary-bright); border-radius: 10px; border: 2px solid var(--secondary-blue); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

/* SELECTION */
::selection { background: var(--accent-gold); color: var(--secondary-blue); }
::-moz-selection { background: var(--accent-gold); color: var(--secondary-blue); }

/* ========================================================
   PAGE TRANSITION OVERLAY
   ======================================================== */
.page-transition-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--secondary-blue);
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-transition-overlay.active { opacity: 1; pointer-events: all; }
body.page-loading .page-transition-overlay { opacity: 1; }

/* Fade-in the page content on load */
body { animation: fadeInPage 0.6s ease-out forwards; }
@keyframes fadeInPage { from { opacity: 0; } to { opacity: 1; } }

/* FONDOS ANIMADOS Y BLOBS */
.background-blobs { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; background: var(--background-light); }
.blob { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.6; animation: blobBounce 20s infinite alternate ease-in-out; will-change: transform; }
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: #c7d2fe; animation-delay: 0s; }
.blob-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: #e2e8f0; animation-delay: -5s; }
.blob-3 { top: 40%; left: 60%; width: 40vw; height: 40vw; background: #e0e7ff; animation-delay: -10s; }
@keyframes blobBounce { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(10vw, 5vh) scale(1.1); } 100% { transform: translate(-5vw, -10vh) scale(0.9); } }

.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* ========================================================
   HEADER
   ======================================================== */
.glass-header { background-color: var(--glass-bg); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); position: fixed; top: 15px; left: 50%; transform: translateX(-50%); width: calc(100% - 40px); max-width: 1300px; z-index: 1000; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.glass-header.scrolled { top: 0; width: 100%; max-width: 100%; border-radius: 0; border-top: none; background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 75px; padding: 0 20px; transition: height 0.4s ease; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.real-logo { height: 45px; width: auto; border-radius: 8px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); transition: transform 0.4s; }
.logo:hover .real-logo { transform: scale(1.1) rotate(-3deg); }
.logo-text { font-size: 26px; font-weight: 800; color: var(--primary-blue); }

.main-nav ul { list-style: none; display: flex; gap: 35px; align-items: center; }
.main-nav a { color: var(--text-main); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.main-nav a:not(.btn-contacto):hover { color: var(--primary-bright); }
.btn-contacto { background: var(--text-main); color: var(--white) !important; padding: 12px 28px; border-radius: 50px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important; }
.btn-contacto:hover { transform: translateY(-3px) scale(1.05); background: var(--primary-gradient); box-shadow: 0 15px 25px rgba(0,0,0,0.2); }
.btn-contacto:active { transform: translateY(0) scale(0.98); box-shadow: 0 5px 10px rgba(0,0,0,0.1); }

/* ========================================================
   HAMBURGER MENU (MOBILE)
   ======================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px; height: 36px;
    background: none; border: none; cursor: pointer;
    z-index: 1001;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 100%; height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* UTILITARIOS */
.disable-drag { user-select: none; pointer-events: none; }
.hidden { opacity: 0; transform: translateY(50px) scale(0.95); filter: blur(5px); transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); }
.show { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* TABLA COMPARATIVA STICKY */
.comparison-table-container {
    overflow-x: auto;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    background: var(--white);
    max-height: 800px; /* For vertical sticky */
    overflow-y: auto;
}
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
}
.compare-table thead th {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 25px 20px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-blue);
    border-bottom: 2px solid rgba(42,64,115,0.1);
}
.compare-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 10;
    background: #f8fafc;
    font-weight: 700;
    text-align: left;
    color: var(--primary-blue);
    border-right: 1px solid rgba(42,64,115,0.05);
}
.compare-table thead th:first-child {
    z-index: 30; /* Intersection of row and col sticky */
    left: 0;
}
.compare-table tr:hover td {
    background: rgba(42,64,115,0.02);
}
.compare-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.premium-col {
    background: rgba(96, 165, 250,0.03);
}

/* HARDWARE V2 & FILTERS */
.hw-filters-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 5px 25px;
    scrollbar-width: none;
}
.hw-filters-scroll::-webkit-scrollbar { display: none; }

.hw-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid rgba(42,64,115,0.1);
    border-radius: 50px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.hw-filter-btn:hover {
    border-color: var(--primary-bright);
    color: var(--primary-bright);
    transform: translateY(-2px);
}
.hw-filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 15px rgba(42,64,115,0.2);
}
.hw-filter-btn .material-symbols-outlined { font-size: 18px; }

/* MODAL TABS */
.modal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.modal-tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
}
.modal-tab-btn:hover { color: var(--primary-blue); }
.modal-tab-btn.active {
    color: var(--primary-blue);
    border-bottom-color: var(--accent-blue);
}
.modal-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}
.modal-tab-content.active { display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ========================================================
   HERO
   ======================================================== */
.hero-section { position: relative; padding: 220px 0 100px 0; text-align: center; z-index: 10; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.8); border: 1px solid rgba(64,87,142,0.2); padding: 8px 16px; border-radius: 50px; font-weight: 800; color: var(--primary-bright); margin-bottom: 25px; backdrop-filter: blur(10px); }
.hero-title { font-size: 4.5rem; line-height: 1.1; margin-bottom: 30px; font-weight: 800; color: var(--primary-blue); }
.animated-gradient-text { background: linear-gradient(to right, var(--primary-bright), var(--accent-gold), var(--primary-blue), var(--primary-bright)); background-size: 200% auto; color: #000; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shine 4s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.hero-subtitle { font-size: 1.25rem; max-width: 800px; margin: 0 auto 50px auto; color: var(--text-muted); font-weight: 500; }
.hero-actions { display: flex; gap: 20px; justify-content: center; align-items: center; }
.cta-button { text-decoration: none; font-size: 1.1rem; padding: 18px 40px; border-radius: 50px; font-weight: 800; display: inline-flex; align-items: center; gap: 10px; transition: all 0.4s !important; }
.primary-glow { background: var(--primary-gradient); color: var(--white) !important; box-shadow: 0 15px 35px rgba(64,87,142,0.3); overflow: hidden; position: relative; }
.primary-glow::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: buttonShine 3s infinite; }
@keyframes buttonShine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
.primary-glow:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(64,87,142,0.4); }
.primary-glow:active { transform: translateY(0) scale(0.98); box-shadow: 0 10px 20px rgba(64,87,142,0.2); }
.secondary-btn { background: var(--white); color: var(--text-main); border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 10px 20px rgba(0,0,0,0.02); }
.secondary-btn:hover { background: #f8fafc; border-color: rgba(0,0,0,0.2); transform: translateY(-5px); }
.secondary-btn:active { transform: translateY(0) scale(0.98); box-shadow: 0 5px 10px rgba(0,0,0,0.02); }

/* ========================================================
   STATS COUNTER SECTION
   ======================================================== */
.stats-section {
    position: relative; z-index: 10;
    padding: 80px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.stat-icon {
    font-size: 42px;
    color: var(--primary-bright);
    margin-bottom: 15px;
    display: block;
    transition: transform 0.4s;
}
.stat-card:hover .stat-icon { transform: scale(1.15) rotate(-5deg); }
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-suffix {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 800;
}
.stat-label {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* MARQUEE GIROS */
.marquee-container { overflow: hidden; white-space: nowrap; padding: 25px 0; background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue)); color: var(--white); transform: rotate(-2deg) scale(1.05); box-shadow: 0 15px 30px rgba(0,0,0,0.15); margin: 60px 0 100px 0; display: flex; position: relative; z-index: 10; }
.marquee-content { display: flex; gap: 40px; animation: scrollLeft 25s linear infinite; padding-right: 40px; align-items: center; will-change: transform; }
.marquee-item { font-size: 1.4rem; font-weight: 700; font-family: 'Outfit'; display: flex; align-items: center; gap: 12px; }
.marquee-icon { color: var(--accent-gold); font-size: 32px; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* MARQUEE PARTNERS (NUEVO) */
.partners-section { padding: 40px 0; background-color: var(--white); margin: 60px 0; box-shadow: var(--shadow-soft); overflow: hidden; }
.partners-title { text-align: center; color: var(--text-muted); font-size: 1rem; text-transform: uppercase; letter-spacing: 3px; font-weight: 800; margin-bottom: 30px; }
.partners-marquee-container { display: flex; overflow: hidden; white-space: nowrap; position: relative; }
/* Efecto de difuminado en bordes */
.partners-marquee-container::before, .partners-marquee-container::after { content: ''; position: absolute; top:0; width: 15%; height: 100%; z-index: 2; pointer-events: none;}
.partners-marquee-container::before { left: 0; background: linear-gradient(to right, white, transparent); }
.partners-marquee-container::after { right: 0; background: linear-gradient(to left, white, transparent); }
.partners-content { display: flex; gap: 60px; align-items: center; animation: scrollPartners 30s linear infinite; padding-right: 60px; will-change: transform; }
.partners-content:hover { animation-play-state: paused; }
.partners-content a,
.partners-content > img { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 160px; height: 60px; text-decoration: none; }
.partner-logo { max-width: 140px; max-height: 50px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); transform-origin: center center; flex-shrink: 0; }
.partner-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.2); }
@keyframes scrollPartners { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* PRODUCTOS Y EQUIPOS */
.products-section { padding: 80px 0; position: relative; z-index: 10; }
.section-label { text-transform: uppercase; color: var(--accent-blue); font-weight: 800; letter-spacing: 2px; margin-bottom: 10px; display: block; text-align: center; }
.section-title { font-size: 3.2rem; color: var(--primary-blue); margin-bottom: 25px; text-align: center; line-height: 1.1; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.2rem; margin-bottom: 80px; max-width: 800px; margin-left: auto; margin-right: auto; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }

/* HARDWARE CARDS GENERADAS POR JSON (NUEVO) */
.hardware-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); transition: all 0.4s; display: flex; flex-direction: column; height: 100%; border: 1px solid rgba(0,0,0,0.02); max-width: 400px; }
.hardware-img-wrapper { height: 220px; overflow: hidden; position: relative; width: 100%; background: #f8fafc; display: flex; align-items: center; justify-content: center; }
.hardware-img-wrapper img { width: 80%; height: auto; object-fit: contain; transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); }
.hardware-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: rgba(64,87,142,0.2); }
.hardware-card:hover .hardware-img-wrapper img { transform: scale(1.15) rotate(2deg); }
.hardware-content { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.hardware-title { font-size: 1.5rem; font-weight: 800; color: var(--secondary-blue); margin-bottom: 15px; line-height: 1.3; }
.hardware-desc { color: var(--text-muted); margin-bottom: 25px; font-size: 1.05rem; flex-grow: 1; }

.action-buttons-group { display: flex; gap: 15px; margin-top: auto; flex-wrap: wrap; }
.btn-quote { flex: 1; text-align: center; color: var(--primary-blue); font-weight: 800; text-decoration: none; padding: 12px; border: 1px solid var(--primary-blue); border-radius: 12px; transition: all 0.3s; }
.btn-quote:hover { background: var(--primary-blue); color: white; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(42,64,115,0.2); }
.btn-quote:active { transform: translateY(0) scale(0.98); }

/* Botón Descarga Driver Dinámico */
.btn-driver { flex: 1; text-align: center; background: var(--background-light); color: var(--text-main); font-weight: 700; text-decoration: none; padding: 12px; border-radius: 12px; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.95rem; }
.btn-driver:hover { background: var(--accent-blue); color: white; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(59,130,246,0.3); }
.btn-driver:active { transform: translateY(0) scale(0.98); }

/* ========================================================
   PRODUCT CARDS V2 — PREMIUM REDESIGN
   ======================================================== */
.products-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.products-grid-v2 > *:nth-child(1) { transition-delay: 0.05s; }
.products-grid-v2 > *:nth-child(2) { transition-delay: 0.15s; }
.products-grid-v2 > *:nth-child(3) { transition-delay: 0.25s; }
.products-grid-v2 > *:nth-child(4) { transition-delay: 0.35s; }

.product-card-v2 {
    position: relative;
    text-decoration: none;
    color: var(--text-main);
    border-radius: 28px;
    padding: 3px; /* space for animated border */
    background: linear-gradient(135deg, rgba(42,64,115,0.08), rgba(255,255,255,0.5));
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

/* Animated gradient border on hover */
.card-glow-border {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-bright), var(--accent-gold), var(--primary-blue), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotateBorder 4s linear infinite;
    z-index: 0;
}
@keyframes rotateBorder {
    to { transform: rotate(360deg); }
}
.product-card-v2:hover .card-glow-border { opacity: 1; }

.card-inner {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px 35px 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: background 0.4s;
}
.product-card-v2:hover .card-inner {
    background: rgba(255,255,255,0.98);
}
.product-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px -15px rgba(42,64,115,0.25);
}

/* Card header */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.card-step {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: rgba(42,64,115,0.15);
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: -2px;
    transition: color 0.4s;
}
.product-card-v2:hover .card-step {
    color: rgba(42,64,115,0.25);
}

/* Premium badge v2 */
.premium-badge-v2 {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #1b2640;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(96, 165, 250,0.35);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Icon v2 */
.product-icon-v2 {
    position: relative;
    width: 80px; height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.product-icon-v2 > .material-symbols-outlined {
    font-size: 42px;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.product-card-v2:hover .product-icon-v2 > .material-symbols-outlined {
    transform: scale(1.15);
    color: var(--primary-bright);
}
.icon-gold-v2 > .material-symbols-outlined {
    color: var(--accent-gold) !important;
}
.icon-ring {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 2px solid rgba(42,64,115,0.08);
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.product-card-v2:hover .icon-ring {
    border-color: var(--primary-bright);
    transform: scale(1.15) rotate(90deg);
    border-width: 3px;
    border-style: dashed;
}
.premium-v2:hover .icon-ring {
    border-color: var(--accent-gold);
}

/* Title v2 */
.product-title-v2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
    line-height: 1.2;
    transform: translateZ(30px);
}

/* Description v2 */
.product-desc-v2 {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
    transform: translateZ(20px);
}

/* Feature pills */
.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    transform: translateZ(25px);
}
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--background-light);
    color: var(--primary-blue);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: 50px;
    border: 1px solid rgba(42,64,115,0.06);
    transition: all 0.3s;
    white-space: nowrap;
}
.feature-pill .material-symbols-outlined {
    font-size: 16px;
    color: var(--accent-blue);
}
.product-card-v2:hover .feature-pill {
    background: rgba(42,64,115,0.06);
    border-color: rgba(42,64,115,0.12);
}
.premium-v2 .feature-pill {
    border-color: rgba(96, 165, 250,0.15);
}
.premium-v2:hover .feature-pill {
    background: rgba(96, 165, 250,0.08);
    border-color: rgba(96, 165, 250,0.25);
}
.premium-v2 .feature-pill .material-symbols-outlined {
    color: var(--accent-gold);
}

/* Footer row */
.card-footer-row {
    margin-top: auto;
    transform: translateZ(30px);
}
.view-more-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary-blue);
    padding: 10px 22px;
    background: var(--background-light);
    border-radius: 50px;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.view-more-v2 .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.35s;
}
.product-card-v2:hover .view-more-v2 {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(42,64,115,0.25);
    gap: 12px;
}
.product-card-v2:hover .view-more-v2 .material-symbols-outlined {
    transform: translateX(3px);
}
.premium-v2:hover .view-more-v2 {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #1b2640;
    box-shadow: 0 8px 25px rgba(96, 165, 250,0.35);
}

/* PREMIUM card v2 special border */
.premium-v2 {
    background: linear-gradient(135deg, rgba(96, 165, 250,0.15), rgba(255,255,255,0.5));
}
.premium-v2 .card-glow-border {
    background: conic-gradient(from 0deg, transparent, #60a5fa, #3b82f6, var(--primary-blue), #60a5fa, transparent);
}
.premium-v2 .card-step { color: rgba(59, 130, 246,0.2); }
.premium-v2:hover .card-step { color: rgba(59, 130, 246,0.35); }

/* Old interactive-card kept for productos.html glass-cards */
.interactive-card { background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); padding: 50px 35px; border-radius: 30px; text-decoration: none; color: var(--text-main); display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,1); transform-style: preserve-3d; }
.product-icon-container, .product-title, .product-description, .view-more { transform: translateZ(40px); transition: all 0.3s ease; }
.interactive-card:hover { box-shadow: var(--shadow-hover); border-color: rgba(64,87,142,0.2); }
.product-icon-container { width: 90px; height: 90px; background: var(--white); border-radius: 24px; display: flex; justify-content: center; align-items: center; margin-bottom: 30px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: background 0.4s; }
.interactive-card:hover .product-icon-container { background: var(--primary-gradient); }
.interactive-card:hover .product-icon { color: var(--white); transform: scale(1.2); }
.product-icon { font-size: 45px; color: var(--primary-blue); transition: all 0.4s; }
.icon-gold { color: var(--accent-gold); }
.product-title { font-size: 1.8rem; margin-bottom: 15px; color: var(--primary-blue); font-weight: 800; }
.product-description { color: var(--text-muted); margin-bottom: 30px; flex-grow: 1; font-size: 1.1rem; }
.view-more { font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 10px 20px; background: var(--background-light); border-radius: 50px; width: fit-content; transition: all 0.3s; }
.interactive-card:hover .view-more { background: var(--text-main); color: var(--white); gap: 15px; } 

.premium-card { background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%); border: 2px solid var(--accent-gold); }
.premium-badge { position: absolute; top: -15px; right: 30px; background: var(--accent-gold); color: #000; font-size: 0.9rem; font-weight: 800; padding: 8px 16px; border-radius: 20px; text-transform: uppercase; transform: translateZ(50px); box-shadow: 0 10px 20px rgba(96, 165, 250, 0.4); }

/* ========================================================
   LICENSING SECTION V2 — REDESIGNED
   ======================================================== */
.licensing-section-v2 {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}
.license-grid-v2 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    margin-top: 50px;
}

/* VS Divider */
.license-vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
}
.vs-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, rgba(42,64,115,0.15), transparent);
}
.vs-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--text-muted);
    background: var(--background-light);
    border: 2px solid rgba(42,64,115,0.1);
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    letter-spacing: 1px;
}

/* Panel */
.license-panel-v2 {
    position: relative;
    border-radius: 28px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(42,64,115,0.06), rgba(255,255,255,0.4));
    transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
    overflow: hidden;
}
.license-panel-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px -15px rgba(42,64,115,0.2);
}
.license-panel-inner {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 45px 35px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Cloud panel special */
.panel-cloud {
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(96, 165, 250,0.08));
}
.panel-cloud-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent-blue), var(--accent-gold), var(--primary-blue), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: rotateBorder 5s linear infinite;
    z-index: 0;
}
.panel-cloud:hover .panel-cloud-glow { opacity: 0.7; }

/* Header */
.license-header-v2 {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}
.license-icon-wrap {
    width: 60px; height: 60px;
    border-radius: 18px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(42,64,115,0.2);
}
.license-icon-wrap .material-symbols-outlined {
    font-size: 30px;
    color: white;
}
.icon-cloud {
    background: linear-gradient(135deg, var(--accent-blue), #6366f1);
    box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}
.license-type-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
}
.license-type-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 50px;
    margin-top: 4px;
}
.local-tag {
    background: rgba(42,64,115,0.08);
    color: var(--primary-bright);
}
.cloud-tag {
    background: rgba(59,130,246,0.1);
    color: var(--accent-blue);
}

/* Description */
.license-desc-v2 {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Price row */
.license-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: var(--background-light);
    border-radius: 16px;
}
.license-price-v2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
}
.price-cloud { color: var(--accent-blue); }
.license-price-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Systems label + pills */
.license-systems-label {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.license-systems-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}
.license-system-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid rgba(42,64,115,0.1);
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 50px;
    transition: all 0.3s;
}
.license-system-pill .material-symbols-outlined {
    font-size: 18px;
    color: var(--primary-bright);
}
.license-system-pill:hover {
    background: rgba(42,64,115,0.05);
    border-color: var(--primary-bright);
}
.pill-cloud {
    border-color: rgba(59,130,246,0.15);
}
.pill-cloud .material-symbols-outlined {
    color: var(--accent-blue);
}
.pill-cloud:hover {
    background: rgba(59,130,246,0.05);
    border-color: var(--accent-blue);
}

/* Benefits */
.license-benefits-v2 {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}
.license-benefits-v2 li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.license-benefits-v2 li:last-child { border-bottom: none; }
.benefit-icon {
    font-size: 22px;
    color: var(--accent-blue);
    flex-shrink: 0;
}
.benefit-gold { color: var(--accent-gold) !important; }

/* CTA buttons */
.license-cta-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    width: 100%;
    text-align: center;
}
.cta-local {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}
.cta-local:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(42,64,115,0.3);
    transform: translateY(-2px);
}
.cta-cloud {
    background: linear-gradient(135deg, var(--accent-blue), #6366f1);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 10px 25px rgba(59,130,246,0.3);
}
.cta-cloud:hover {
    box-shadow: 0 15px 35px rgba(59,130,246,0.45);
    transform: translateY(-2px);
}
.license-cta-v2 .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.3s;
}
.license-cta-v2:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* Reportería Web Glass */
.reporteria-card { background: rgba(255,255,255,0.7); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 30px; padding: 60px; display: flex; align-items: center; gap: 50px; margin-top: 80px; box-shadow: var(--shadow-soft); }

/* ========================================================
   SOFTWARE TABS (PRODUCTOS PAGE)
   ======================================================== */
.software-catalog-section {
    position: relative;
    z-index: 10;
}
.software-tabs {
    display: flex;
    gap: 12px;
    padding: 6px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    width: fit-content;
    border: 1px solid rgba(42,64,115,0.06);
}
.sw-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 16px;
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
    font-family: 'Outfit', sans-serif;
    color: var(--text-muted);
}
.sw-tab .material-symbols-outlined {
    font-size: 26px;
    transition: all 0.3s;
}
.sw-tab:hover {
    background: var(--background-light);
}
.sw-tab.active {
    background: rgba(42,64,115,0.05);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(42,64,115,0.1);
}
.sw-tab.active .material-symbols-outlined {
    color: var(--primary-bright);
}
.sw-tab[data-tab="rentaMensual"].active {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(59,130,246,0.05);
    box-shadow: 0 4px 15px rgba(59,130,246,0.12);
}
.sw-tab[data-tab="rentaMensual"].active .material-symbols-outlined {
    color: var(--accent-blue);
}
.sw-tab-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.sw-tab-title {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.2;
}
.sw-tab-sub {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card subtitle & cloud tag for dynamic cards */
.sw-card-subtitle {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-bright), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sw-cloud-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(59,130,246,0.1);
    color: var(--accent-blue);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    vertical-align: middle;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================================
   WHATSAPP FLOATING CTA
   ======================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 999;
    width: 65px; height: 65px;
    border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    animation: whatsappPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    animation: none;
}
.whatsapp-float svg { width: 36px; height: 36px; fill: white; }
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

/* ========================================================
   BACK TO TOP BUTTON
   ======================================================== */
.back-to-top {
    position: fixed;
    bottom: 110px; right: 35px;
    z-index: 998;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-gradient);
    transform: translateY(-4px) scale(1.08);
    box-shadow: var(--shadow-glow);
}
.back-to-top:hover .material-symbols-outlined { color: white; }
.back-to-top .material-symbols-outlined { font-size: 26px; color: var(--primary-blue); transition: color 0.3s; }

/* FOOTER */
.main-footer { position: relative; background-color: var(--secondary-blue); color: #e2e8f0; z-index: 10; margin-top: 100px; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; transform: translateY(-98%); line-height: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; padding: 80px 20px; max-width: 1300px; margin: 0 auto; }
.contact-link { display: flex; align-items: center; gap: 12px; color: #e2e8f0; text-decoration: none; margin-bottom: 18px; font-size: 1.1rem; transition: color 0.3s, transform 0.3s; }
.contact-link:hover { color: var(--accent-gold); transform: translateX(8px); }
.footer-bottom { background-color: rgba(0,0,0,0.4); text-align: center; padding: 25px; font-size: 1rem; font-weight: 500;}

/* Footer social icons */
.footer-socials { display: flex; gap: 15px; margin-top: 25px; }
.footer-socials a {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}
.footer-socials a:hover { background: var(--accent-gold); transform: translateY(-3px); }
.footer-socials a svg { width: 20px; height: 20px; fill: #e2e8f0; }
.footer-socials a:hover svg { fill: var(--secondary-blue); }

/* ========================================================
   MEDIA QUERIES
   ======================================================== */
@media (max-width: 1000px) {
    .hamburger { display: flex; }
    .glass-header { width: 100%; top: 0; border-radius: 0; }
    .header-container { height: 65px !important; padding: 0 20px !important; flex-direction: row !important; }
    
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 380px;
        height: 100vh;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 100px 40px 40px;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        z-index: 999;
        overflow-y: auto;
    }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 10px; align-items: stretch; }
    .main-nav a { font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.05); display: block; }
    .btn-contacto { text-align: center; margin-top: 15px; }

    /* Mobile backdrop overlay */
    .nav-backdrop {
        position: fixed; top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }
    .nav-backdrop.active { opacity: 1; pointer-events: all; }

    .hero-title { font-size: 3rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .cta-button { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .products-grid, .products-grid-v2, .licensing-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .hardware-card { max-width: 100%; }
    .license-grid-v2 { grid-template-columns: 1fr; gap: 20px; }
    .license-vs-divider { flex-direction: row; padding: 10px 0; }
    .vs-line { width: auto; height: 2px; flex: 1; background: linear-gradient(to right, transparent, rgba(42,64,115,0.15), transparent); }
    .vs-badge { margin: 0 15px; }
    .reporteria-card { flex-direction: column; text-align: center; padding: 30px; }
    .software-tabs { width: 100%; }
    .sw-tab { flex: 1; padding: 12px 16px; justify-content: center; }
    .sw-tab-title { font-size: 0.95rem; }
    .sw-tab-sub { font-size: 0.7rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .background-blobs { display: none; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 56px; height: 56px; }
    .whatsapp-float svg { width: 30px; height: 30px; }
    .back-to-top { bottom: 90px; right: 25px; width: 42px; height: 42px; }

    /* Mobile comparison table scroll hint */
    .comparison-table-wrap {
        position: relative;
    }
    .comparison-table-wrap::after {
        content: 'Desliza →';
        position: absolute;
        top: 8px; right: 8px;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--text-muted);
        background: rgba(255,255,255,0.9);
        padding: 4px 10px;
        border-radius: 8px;
        pointer-events: none;
        z-index: 6;
        animation: fadeHint 3s ease forwards;
    }
    @keyframes fadeHint {
        0%, 70% { opacity: 1; }
        100% { opacity: 0; }
    }

    /* Mobile filter bar scroll */
    .hw-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        border-radius: 16px;
    }
    .hw-filter-bar::-webkit-scrollbar { display: none; }
    .hw-filter-btn { white-space: nowrap; flex-shrink: 0; }

    /* Comparison spacing mobile */
    .comparison-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 550px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 25px 15px; }
    .stat-number { font-size: 2.2rem; }
    .stat-label { font-size: 0.85rem; }
    .hero-title { font-size: 2.3rem; }

    /* Mobile hero adjustments */
    .hero-section { padding: 140px 0 40px; }
    .hero-section .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }

    /* Products section mobile */
    .products-grid { grid-template-columns: 1fr; gap: 20px; }
    .hardware-card { max-width: 100%; }
    .hardware-img-wrapper { height: 180px; }
    .hardware-content { padding: 20px; }
    .hardware-title { font-size: 1.25rem; }
    .hardware-desc { font-size: 0.95rem; }

    /* Software cards mobile */
    .product-card-v2 .card-inner { padding: 25px 20px 20px; }
    .product-title-v2 { font-size: 1.4rem; }
    .product-desc-v2 { font-size: 0.95rem; }

    /* Comparison mobile */
    .comparison-title { font-size: 1.3rem; }
    .comparison-subtitle { font-size: 0.9rem; }

    /* Section titles mobile */
    .section-title { font-size: 2.2rem; }
    .section-title.left-align { font-size: 2rem; }
}

/* ========================================================
   SEARCH OVERLAY — COMMAND PALETTE (Ctrl+K)
   ======================================================== */
.search-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--background-light);
    border: 1px solid rgba(42,64,115,0.1);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.search-trigger:hover {
    background: rgba(42,64,115,0.06);
    border-color: rgba(42,64,115,0.2);
    color: var(--primary-blue);
}
.search-trigger .material-symbols-outlined { font-size: 18px; }
.search-trigger kbd {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    background: rgba(42,64,115,0.08);
    border-radius: 4px;
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.search-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 5000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}
.search-overlay.active { display: flex; }

.search-container {
    width: 100%;
    max-width: 620px;
    margin: 0 20px;
    animation: searchSlideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.search-input-wrap {
    position: relative;
    margin-bottom: 8px;
}
.search-input-wrap .material-symbols-outlined {
    position: absolute;
    top: 50%; left: 20px;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--text-muted);
}
.search-input {
    width: 100%;
    padding: 20px 20px 20px 56px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(42,64,115,0.15);
    border-radius: 20px;
    font-size: 1.15rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.3s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.search-input:focus { border-color: var(--primary-bright); }
.search-input::placeholder { color: var(--text-muted); font-weight: 500; }

.search-close-hint {
    position: absolute;
    top: 50%; right: 20px;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--background-light);
    padding: 4px 10px;
    border-radius: 6px;
}

.search-results {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(42,64,115,0.1);
    border-radius: 16px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.search-results:empty { display: none; }

.search-category-label {
    padding: 12px 20px 6px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: var(--text-main);
}
.search-result-item:hover { background: rgba(42,64,115,0.04); }

.search-result-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.search-result-icon.sw-icon {
    background: rgba(42,64,115,0.08);
    color: var(--primary-blue);
}
.search-result-icon.hw-icon {
    background: rgba(59,130,246,0.08);
    color: var(--accent-blue);
}
.search-result-name {
    font-weight: 700;
    font-size: 0.95rem;
}
.search-result-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 380px;
}
.search-no-results {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
}

/* ========================================================
   SYSTEM DETAIL MODAL
   ======================================================== */
.detail-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15,23,42,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.detail-modal-overlay.active { display: flex; }

.detail-modal {
    background: var(--white);
    border-radius: 28px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    animation: detailModalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

@keyframes detailModalIn {
    from { opacity: 0; transform: scale(0.92) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.detail-modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--background-light);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}
.detail-modal-close:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}
.detail-modal-close .material-symbols-outlined { font-size: 22px; }

.detail-header {
    padding: 45px 45px 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.detail-icon-box {
    width: 80px; height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detail-icon-box.standard { background: rgba(42,64,115,0.08); }
.detail-icon-box.premium-box { background: linear-gradient(135deg, rgba(96, 165, 250,0.15), rgba(59, 130, 246,0.1)); }
.detail-icon-box .material-symbols-outlined { font-size: 40px; }
.detail-icon-box.standard .material-symbols-outlined { color: var(--primary-blue); }
.detail-icon-box.premium-box .material-symbols-outlined { color: var(--accent-gold); }

.detail-title-area { flex: 1; }
.detail-system-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 4px;
}
.detail-system-subtitle {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-bright), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.detail-system-desc-short {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.detail-body { padding: 35px 45px 45px; }

.detail-desc-long {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 35px;
    white-space: pre-line;
}

/* Video carousel inside modal */
.detail-videos-section { margin-bottom: 35px; }
.detail-videos-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-videos-title .material-symbols-outlined { color: var(--accent-blue); }

.detail-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.detail-video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--background-light);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.detail-video-frame iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.detail-video-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 8px;
}
.detail-video-placeholder .material-symbols-outlined { font-size: 48px; opacity: 0.3; }

/* Features detailed list */
.detail-features-section { margin-bottom: 35px; }
.detail-features-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-features-title .material-symbols-outlined { color: var(--accent-gold); }

.detail-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.detail-feature-card {
    background: var(--background-light);
    border: 1px solid rgba(42,64,115,0.06);
    border-radius: 16px;
    padding: 22px;
    transition: all 0.3s;
}
.detail-feature-card:hover {
    border-color: rgba(42,64,115,0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.detail-feature-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.detail-feature-card-header .material-symbols-outlined {
    font-size: 24px;
    color: var(--accent-blue);
}
.detail-feature-card-header span:last-child {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-blue);
}
.detail-feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.detail-cta-row {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

/* ========================================================
   COMPARISON TABLE
   ======================================================== */
.comparison-section {
    margin-top: 60px;
    padding-top: 60px;
    padding-bottom: 40px;
    margin-bottom: 60px;
    border-top: 2px solid rgba(42,64,115,0.06);
}
.comparison-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
}
.comparison-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.comparison-table-wrap {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid rgba(42,64,115,0.08);
    box-shadow: var(--shadow-soft);
    background: var(--white);
    -webkit-overflow-scrolling: touch;
}
.comparison-table-wrap::-webkit-scrollbar { height: 6px; }
.comparison-table-wrap::-webkit-scrollbar-track { background: var(--background-light); }
.comparison-table-wrap::-webkit-scrollbar-thumb { background: var(--primary-bright); border-radius: 10px; }

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.comparison-table thead th {
    padding: 20px 18px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--white);
    background: var(--primary-gradient);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 5;
}
.comparison-table thead th:first-child {
    text-align: left;
    border-radius: 20px 0 0 0;
    min-width: 180px;
}
.comparison-table thead th:last-child { border-radius: 0 20px 0 0; }

.comparison-table tbody td {
    padding: 16px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(42,64,115,0.04);
    transition: background 0.2s;
    font-size: 0.95rem;
}
.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 700;
    color: var(--primary-blue);
    white-space: nowrap;
}
.comparison-table tbody tr:hover td { background: rgba(42,64,115,0.02); }
.comparison-table tbody tr:last-child td { border-bottom: none; }

.cmp-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 18px;
}
.cmp-yes {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
}
.cmp-no {
    background: rgba(239,68,68,0.06);
    color: #f87171;
    font-size: 14px;
}

.comparison-table thead th.premium-col {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #1b2640;
}

/* ========================================================
   HARDWARE CATEGORY FILTERS
   ======================================================== */
.hw-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
    align-items: center;
}

.hw-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(42,64,115,0.12);
    background: var(--white);
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
}
.hw-filter-btn:hover {
    border-color: var(--primary-bright);
    color: var(--primary-blue);
    background: rgba(42,64,115,0.03);
}
.hw-filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(42,64,115,0.2);
}
.hw-filter-btn .material-symbols-outlined { font-size: 18px; }
.hw-filter-count {
    font-size: 0.75rem;
    background: rgba(0,0,0,0.08);
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 800;
}
.hw-filter-btn.active .hw-filter-count {
    background: rgba(255,255,255,0.25);
}

/* Hardware card animations for filtering */
.hardware-card.filtering-out {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}
.hardware-card.filtering-in {
    animation: filterCardIn 0.4s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes filterCardIn {
    from { opacity: 0; transform: translateY(15px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========================================================
   SKELETON LOADING STATES
   ======================================================== */
.skeleton-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.02);
}
.skeleton-img {
    height: 200px;
    background: linear-gradient(90deg, #f0f3fa 25%, #e2e8f0 50%, #f0f3fa 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
.skeleton-text {
    height: 14px;
    background: linear-gradient(90deg, #f0f3fa 25%, #e2e8f0 50%, #f0f3fa 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 7px;
    margin: 12px 20px;
}
.skeleton-text.short { width: 60%; }
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================================
   LEFT ALIGN HELPER
   ======================================================== */
.left-align { text-align: left !important; }

/* ========================================================
   PILL CLOUD FOR FEATURE PILLS (additional product page styles)
   ======================================================== */
.pill-cloud {
    border-color: rgba(59,130,246,0.15) !important;
}
.pill-cloud .material-symbols-outlined {
    color: var(--accent-blue) !important;
}

/* ========================================================
   NEW RESPONSIVE: Search, Modal, Comparison, Filters
   ======================================================== */
@media (max-width: 1000px) {
    .search-container { max-width: 100%; }
    .detail-header { flex-direction: column; padding: 30px 25px 25px; }
    .detail-body { padding: 25px; }
    .detail-system-name { font-size: 1.6rem; }
    .detail-features-grid { grid-template-columns: 1fr; }
    .detail-videos-grid { grid-template-columns: 1fr; }
    .detail-cta-row { flex-direction: column; }
    .comparison-title { font-size: 1.5rem; }
    .search-result-desc { max-width: 200px; }
}

@media (max-width: 550px) {
    .hw-filter-bar { gap: 6px; }
    .hw-filter-btn { padding: 8px 14px; font-size: 0.82rem; }
    .detail-icon-box { width: 60px; height: 60px; }
    .detail-icon-box .material-symbols-outlined { font-size: 30px; }
    .search-input { font-size: 1rem; padding: 16px 16px 16px 48px; }
}

/* ========================================================
   ✨ UI POLISH — Enhanced Section Titles with Decorative Lines
   ======================================================== */
.section-title.left-align {
    position: relative;
    display: inline-block;
}
.section-title.left-align::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    animation: titleLineShimmer 3s ease-in-out infinite;
}
@keyframes titleLineShimmer {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; filter: brightness(1.2); }
}

/* ========================================================
   ✨ UI POLISH — Smooth Card Entrance Micro-Animations
   ======================================================== */
.hardware-card {
    opacity: 0;
    animation: cardFadeIn 0.5s ease forwards;
}
@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Enhanced hover on hardware cards */
.hardware-card:hover .hardware-title {
    color: var(--primary-bright);
    transition: color 0.3s;
}

/* ========================================================
   ✨ UI POLISH — Comparison Table Column Highlight
   ======================================================== */
.comparison-table th {
    position: relative;
}
.comparison-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}
.comparison-table th:hover::after {
    width: 60%;
}

/* Animated checkmarks */
.cmp-yes {
    transition: all 0.3s;
}
.cmp-yes:hover {
    transform: scale(1.25);
    background: rgba(34,197,94,0.2);
    box-shadow: 0 0 12px rgba(34,197,94,0.3);
}

/* ========================================================
   ✨ UI POLISH — Glass Filter Bar Enhancement
   ======================================================== */
.hw-filter-bar {
    padding: 10px 14px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 60px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    width: fit-content;
}

/* ========================================================
   ✨ UI POLISH — Card V2 Enhanced Micro-Interactions
   ======================================================== */
.product-card-v2 .product-icon-v2 > .material-symbols-outlined {
    transition: all 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.product-card-v2:hover .product-title-v2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.premium-v2:hover .product-title-v2 {
    background: linear-gradient(135deg, var(--accent-gold), #ff8f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================================
   ✨ UI POLISH — Detail Modal Enhanced Body
   ======================================================== */
.detail-desc-long {
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--accent-gold);
}

.detail-feature-card {
    position: relative;
    overflow: hidden;
}
.detail-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.3s;
}
.detail-feature-card:hover::before {
    opacity: 1;
}

/* ========================================================
   ✨ UI POLISH — Smooth tab transition
   ======================================================== */
.sw-tab {
    position: relative;
    overflow: hidden;
}
.sw-tab::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
.sw-tab:hover::before {
    left: 100%;
}

/* ========================================================
   ✨ UI POLISH — Stat card number pulse on view
   ======================================================== */
.stat-card.show .stat-number {
    animation: numberPop 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes numberPop {
    0% { transform: scale(0.8); opacity: 0; }
    60% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* ========================================================
   ✨ UI POLISH — WhatsApp tooltip
   ======================================================== */
.whatsapp-float::before {
    content: '¿Necesitas ayuda?';
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.whatsapp-float:hover::before {
    opacity: 1;
}

/* === UPDATED GALLERY LIGHTBOX (FIXED WINDOW) === */
.gallery-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease-in-out;
}
.gallery-overlay.active {
    display: flex; opacity: 1;
}
.gallery-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px; border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%; max-width: 900px;
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalPop {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.gallery-main-img {
    width: 100%; max-height: 70vh;
    border-radius: 12px;
    object-fit: contain;
    transition: opacity 0.2s;
}
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: var(--primary-blue);
    color: white; border: none; width: 60px; height: 60px;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: all 0.3s;
}
.gallery-nav:hover { background: var(--accent-blue); transform: translateY(-50%) scale(1.1); }
.gallery-prev { left: -30px; }
.gallery-next { right: -30px; }

@media (max-width: 900px) {
    .gallery-prev { left: 10px; }
    .gallery-next { right: 10px; }
    .gallery-nav { width: 45px; height: 45px; }
}

.gallery-counter {
    color: white; margin-top: 20px;
    font-family: 'Outfit'; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    background: rgba(255,255,255,0.1);
    padding: 6px 16px; border-radius: 20px;
}
.gallery-close {
    position: absolute; top: -15px; right: -15px;
    background: #ff4757; color: white;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

