
/* --- AQUILPRO Brand Styles --- */

.brand-name {
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 0.06em;
    color: #F8FAFC;
    display: inline-block;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .brand-name {
        font-size: 18px !important;
        letter-spacing: 0.04em !important;
    }
}

.brand-hero-title {
    font-family: var(--font-sans);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #F8FAFC;
    text-transform: uppercase;
    display: inline-block;
}
.brand-card-title {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #F8FAFC;
    display: inline-block;
}
.hero h2 {
    color: #F8FAFC !important;
    font-size: clamp(20px, 3.5vw, 26px) !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
}

/* 
  MILLIONCLUB — El Club del Millón
  Propósito: Hojas de estilo CSS (Diseño visual y estilos premium).
  Paleta: Negro Carbón, Azul Noche, Dorado/Champagne, Azul Tecnológico.
*/

/* --- Fuentes de Google --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Paleta "AQUILPRO Athletic Tech" (Modo Oscuro Premium Unificado) */
    --color-navy-deep: #070F1E;        /* Dominante: Azul noche obsidiana */
    --color-navy-surface: #0A192F;     /* Fondo de contenedores y secciones */
    --color-navy-card: #0B1E36;        /* Fondo de tarjetas y módulos */
    --color-navy-card-hover: #122B4D;  /* Hover en tarjetas */
    --color-orange-energetic: #FF6B35; /* Acento CTA: Naranja Atleta */
    --color-orange-hover: #E85A24;
    --color-text-dark: #1A1A1A;
    --color-text-light: #F8FAFC;

    /* Mapeo unificado para Modo Oscuro Total */
    --color-bg-deep: #070F1E;
    --color-bg-dark: #0A192F;
    --color-bg-card: #0B1E36;
    --color-bg-input: #0D223E;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 107, 53, 0.4);
    
    --color-gold: var(--color-orange-energetic);
    --color-gold-light: #FF885B;
    --color-gold-dark: #E0531A;
    --color-gold-glow: rgba(255, 107, 53, 0.15);
    
    --color-tech-blue: #38BDF8;
    --color-tech-blue-glow: rgba(56, 189, 248, 0.15);
    
    --color-emerald: #10B981;
    --color-emerald-glow: rgba(16, 185, 129, 0.1);
    --color-red: #EF4444;
    
    --color-text-white: #F8FAFC;       /* Blanco titanio de alto contraste */
    --color-text-gray: #94A3B8;        /* Gris pizarra atlético */
    --color-text-dim: #64748B;         /* Gris atenuado */
    
    /* Variables de estructura */
    --header-height: 70px;
    --tab-nav-height: 55px;
    --font-serif: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 12px 35px rgba(0, 0, 0, 0.45);
    --shadow-gold-glow: 0 0 25px rgba(255, 107, 53, 0.22);
}

/* --- Reseteo y Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Tipografía --- */
h1, h2, h3, .gold-title {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gold-text {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Barra de Desplazamiento --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--color-bg-input);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* --- Estructura Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header Sticky --- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(10, 25, 47, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    --color-text-white: #FFFFFF;
    --color-text-gray: #BAC4D6;
    --color-text-dim: #8892B0;
    color: var(--color-text-white);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-crown {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 107, 53, 0.25));
    transition: var(--transition-smooth);
}

.logo-crown:hover {
    transform: scale(1.08);
}

.logo-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.1em;
    font-family: var(--font-serif);
    color: var(--color-text-white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Selector de Idioma */
.lang-selector {
    display: flex;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-text-gray);
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-bg-dark);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Botón Carrito */
.cart-trigger {
    position: relative;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    color: var(--color-text-white);
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.cart-trigger:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold-glow);
}

.cart-badge {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: var(--color-bg-dark);
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -5px;
    right: -5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: var(--color-navy-deep);
    padding: 80px 0 60px 0;
    text-align: center;
    overflow: hidden;
    --color-text-white: #FFFFFF;
    --color-text-gray: #BAC4D6;
    --color-text-dim: #8892B0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, transparent 100%);
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid var(--color-border);
    padding: 6px 20px;
    border-radius: 50px;
    color: var(--color-gold-light);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    animation: pulseGlow 3s infinite alternate;
}

.hero h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero h2 {
    font-size: 26px;
    color: #F8FAFC;
    font-weight: 500;
    margin-bottom: 24px;
    font-family: var(--font-sans);
    line-height: 1.35;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 18px;
    color: var(--color-text-gray);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    color: var(--color-bg-deep);
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.25);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.45), var(--shadow-gold-glow);
}

.btn-secondary {
    background: var(--color-bg-input);
    color: var(--color-text-white);
    border: 1px solid var(--color-border);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-light);
}

/* Card Mockup & 3D Flip Card */
.hero-mockup-wrapper {
    margin-top: 50px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.card-3d-container {
    perspective: 1500px;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 85.6 / 54;
    position: relative;
    margin: 0 auto;
}

.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-3d-container:hover .card-3d-inner,
.card-3d-inner.flipped {
    transform: rotateY(180deg);
}

.card-3d-front, .card-3d-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Front Face */
.card-3d-front {
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
                linear-gradient(135deg, #0e1215 0%, #171d22 50%, #060809 100%);
    color: #ffffff;
    z-index: 2;
    transform: rotateY(0deg);
}

/* Back Face */
.card-3d-back {
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
                linear-gradient(135deg, #060809 0%, #151a1e 50%, #0e1215 100%);
    color: #ffffff;
    transform: rotateY(180deg);
}

/* Subtle carbon texture pattern overlay */
.card-bg-texture {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(#ffffff 1px, transparent 0),
                      radial-gradient(#ffffff 1px, transparent 0);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    pointer-events: none;
    z-index: 0;
}

.card-glow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 40%, rgba(212, 175, 55, 0.05) 60%, rgba(212, 175, 55, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Header Row */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
    z-index: 1;
}

.card-logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-crown-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.card-brand-text {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.card-brand-sub {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 1px;
}

.card-badge-premium {
    font-size: 9px;
    background: linear-gradient(135deg, #d4af37, #f0d978);
    color: #0c0f12;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Middle Row */
.card-middle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    z-index: 1;
}

.card-chip {
    width: 42px;
    height: 32px;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.card-official-seal {
    font-size: 9px;
    color: rgba(212, 175, 55, 0.85);
    border: 1px dashed rgba(212, 175, 55, 0.4);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 2px;
    font-weight: 700;
    background: rgba(212, 175, 55, 0.05);
}

/* Details Grid */
.card-details-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6px 14px;
    margin-top: auto;
    z-index: 1;
}

.card-detail-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card-detail-item.holder,
.card-detail-item.address {
    grid-column: span 1;
}

.card-detail-label {
    font-size: 7.5px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1px;
}

.card-detail-val {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-detail-val.highlight-gold {
    color: #ffd700;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 11.5px;
}

.card-detail-val.highlight-status {
    color: #48BB78;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.card-footer-note {
    font-size: 7px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 6px;
    text-align: right;
    letter-spacing: 0.4px;
    z-index: 1;
}

/* Back Face */
.card-back-header {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--color-gold-light);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    z-index: 1;
}

.card-advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.card-advantages-list li {
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.35;
}

.card-advantages-list li .bullet {
    color: var(--color-gold);
    font-size: 11px;
    line-height: 1;
    margin-top: -1px;
}

.card-back-footer {
    font-size: 7.5px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: auto;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
    letter-spacing: 0.3px;
    z-index: 1;
}

/* Responsive Scaling for smaller screens */
@media (max-width: 480px) {
    .card-3d-front, .card-3d-back {
        padding: 12px 14px !important;
        border-radius: 14px !important;
    }
    .card-header-row {
        margin-bottom: 5px !important;
    }
    .card-middle-row {
        margin-bottom: 5px !important;
    }
    .card-details-grid {
        gap: 4px 8px !important;
    }
    .card-detail-label {
        font-size: 6.5px !important;
    }
    .card-detail-val {
        font-size: 9.5px !important;
    }
    .card-detail-val.highlight-gold {
        font-size: 10px !important;
    }
    .card-detail-val.highlight-status {
        font-size: 8.5px !important;
    }
    .card-footer-note {
        font-size: 6.5px !important;
        margin-top: 4px !important;
    }
    .card-advantages-list {
        gap: 5px !important;
    }
    .card-advantages-list li {
        font-size: 8px !important;
        line-height: 1.25 !important;
        gap: 5px !important;
    }
    .card-back-header {
        font-size: 12px !important;
        padding-bottom: 4px !important;
        margin-bottom: 6px !important;
    }
    .card-back-footer {
        font-size: 6.5px !important;
        padding-top: 4px !important;
    }

    .card-3d-front, .card-3d-back {
        padding: 16px;
        border-radius: 14px;
    }
    
    .card-brand-text {
        font-size: 12px;
    }
    
    .card-brand-sub {
        font-size: 7px;
    }
    
    .card-badge-premium {
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .card-chip {
        width: 32px;
        height: 24px;
    }
    
    .card-official-seal {
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .card-detail-label {
        font-size: 7px;
    }
    
    .card-detail-val {
        font-size: 9.5px;
    }
    
    .card-detail-val.highlight-gold {
        font-size: 11px;
    }
    
    .card-footer-note {
        font-size: 6.5px;
        margin-top: 6px;
    }
    
    .card-back-header {
        font-size: 13px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
    
    .card-advantages-list {
        gap: 5px;
    }
    
    .card-advantages-list li {
        font-size: 8px;
    }
    
    .card-back-footer {
        font-size: 6.5px;
        padding-top: 6px;
    }
}

/* --- Menú de Pestañas Sticky --- */
.tab-navbar {
    position: sticky;
    top: var(--header-height);
    z-index: 90;
    height: var(--tab-nav-height);
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-navbar .container {
    height: 100%;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none; /* Firefox */
    align-items: center;
}

.tab-navbar .container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.tab-link {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    padding: 8px 18px;
    height: 38px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.tab-link:hover {
    color: #FFFFFF;
    background: rgba(255, 107, 53, 0.12);
    border-color: rgba(255, 107, 53, 0.35);
}

.tab-link.active {
    color: #FFFFFF;
    border-color: var(--color-gold);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.25) 0%, rgba(224, 83, 26, 0.35) 100%);
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.3);
}

/* --- Secciones de Contenido --- */
section.tab-section {
    padding: 70px 0;
    display: block !important; /* Embudo vertical continuo: todas las secciones visibles */
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
section.tab-section[style*="display: none"] {
    display: none !important;
}

section.tab-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--color-text-white);
}

.section-header p {
    font-size: 15px;
    color: var(--color-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Estadísticas Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.stats-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.stats-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-premium), var(--shadow-gold-glow);
}

.stats-number {
    font-size: 44px;
    font-family: var(--font-serif);
    font-weight: 900;
    color: var(--color-gold-light);
    margin-bottom: 12px;
}

.stats-desc {
    font-size: 13px;
    color: var(--color-text-gray);
    line-height: 1.5;
}

/* Costes Container */
.costs-container {
    background: rgba(255, 107, 53, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 50px;
}

.costs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg-card);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 18px 24px;
    border-radius: 14px;
}

.cost-label {
    font-size: 14px;
    color: var(--color-text-gray);
}

.cost-value {
    font-weight: 700;
    color: var(--color-gold-light);
}

.cost-row.total-row {
    background: linear-gradient(135deg, rgba(255, 107, 53,0.15) 0%, rgba(255, 107, 53,0.02) 100%);
    border: 1px dashed var(--color-gold);
    padding: 22px 24px;
}

.cost-row.total-row .cost-label {
    color: var(--color-text-white);
    font-weight: 700;
    font-size: 16px;
}

.cost-row.total-row .cost-value {
    color: var(--color-gold-light);
    font-size: 20px;
    font-weight: 800;
}

/* Impacto Sanitario */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.impact-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-red);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.impact-value {
    font-size: 32px;
    font-family: var(--font-serif);
    font-weight: 900;
    color: var(--color-red);
    margin-bottom: 12px;
}

/* --- Soporte Técnico Section --- */
.tech-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.tech-visual {
    background: #ECEFF3;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8px;
    box-shadow: var(--shadow-premium);
}

.tech-product-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: var(--transition-smooth);
}

.tech-product-photo:hover {
    transform: scale(1.03);
}

/* --- Reglas de visualización de Idiomas con Atributo --- */
[data-lang="es"] .lang-en-only { display: none !important; }
body:not([data-lang="es"]) .lang-es-only { display: none !important; }

/* --- Sección de Anatomía y Biomecánica --- */
.anatomy-section {
    margin: 80px 0;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.anatomy-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: flex-start;
    margin-top: 40px;
}

.anatomy-visual {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1200 / 1802;
    cursor: pointer;
    box-shadow: var(--shadow-premium);
    background: #070d18;
}

.anatomy-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: var(--transition-smooth);
    opacity: 0.95;
    background: #070d18;
}

.anatomy-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.anatomy-zoom-overlay span {
    background: rgba(10, 15, 13, 0.9);
    border: 1px solid var(--color-gold);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.anatomy-visual:hover .anatomy-photo {
    transform: scale(1.05);
    opacity: 0.8;
}

.anatomy-visual:hover .anatomy-zoom-overlay {
    opacity: 1;
}

/* Acordeón Anatómico */
.anatomy-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-item.active {
    border-color: var(--color-gold);
    box-shadow: 0 4px 20px var(--color-gold-glow);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-white);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    color: var(--color-gold);
}

.accordion-icon {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
}

.accordion-item.active .accordion-content {
    max-height: 800px; /* high enough limit for rich lists */
    padding-bottom: 24px;
}

.anatomy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.anatomy-list li {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.6;
    position: relative;
    padding-left: 18px;
}

.anatomy-list li::before {
    content: "•";
    color: var(--color-gold);
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -2px;
}

.anatomy-list li strong {
    color: var(--color-text-white);
}

/* Cuadrícula de beneficios anatómicos */
.anatomy-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.anatomy-benefit-card {
    background: rgba(255, 107, 53, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.anatomy-benefit-icon {
    font-size: 24px;
}

.anatomy-benefit-card p {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-white);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Estilos de Modal Extra para Anatomía */
.anatomy-modal-content {
    max-width: 800px;
}

/* Responsive para Anatomía */
@media (max-width: 992px) {
    .anatomy-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .anatomy-visual {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1200 / 1802;
    cursor: pointer;
    box-shadow: var(--shadow-premium);
    background: #070d18;
}
}

.tech-info h3 {
    font-size: 26px;
    margin-bottom: 20px;
}

.tech-info p {
    color: var(--color-text-gray);
    margin-bottom: 24px;
}

.tech-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-point-item {
    border-left: 3px solid var(--color-emerald);
    padding-left: 18px;
}

.tech-point-item h4 {
    font-size: 15px;
    color: var(--color-text-white);
    margin-bottom: 4px;
}

.tech-point-item p {
    font-size: 13px;
    color: var(--color-text-gray);
    margin-bottom: 0;
}

/* Modulos Intercambiables */
.modules-section {
    margin-top: 60px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.module-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: var(--transition-smooth);
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.module-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-card.rigid .module-icon {
    background: rgba(239, 68, 110, 0.1);
    border: 1px solid var(--color-red);
    color: var(--color-red);
}

.module-card.medium .module-icon {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.module-card.flex .module-icon {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--color-emerald);
    color: var(--color-emerald);
}

.module-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.module-card p {
    font-size: 13px;
    color: var(--color-text-gray);
}

/* Tabla de Rigidez */
.table-wrapper {
    overflow-x: auto;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
}

table.rigidity-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

table.rigidity-table th {
    background: rgba(255, 107, 53, 0.05);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-gold);
    font-weight: 700;
    padding: 18px 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

table.rigidity-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    color: var(--color-text-gray);
}

table.rigidity-table tr:last-child td {
    border-bottom: none;
}

table.rigidity-table tr:hover td {
    background: rgba(255,255,255,0.01);
    color: var(--color-text-white);
}

/* --- Alto Rendimiento Section --- */
.perf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.perf-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.perf-card:hover {
    border-color: var(--color-tech-blue);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
}

.perf-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid var(--color-tech-blue);
    color: var(--color-tech-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.perf-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.perf-card p {
    font-size: 13px;
    color: var(--color-text-gray);
}

/* --- Vida Cotidiana Section --- */
.daily-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.daily-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.daily-card:hover {
    border-color: var(--color-emerald);
}

.daily-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--color-emerald);
    color: var(--color-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.daily-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.daily-card p {
    font-size: 13px;
    color: var(--color-text-gray);
}

/* --- Gerontología Section --- */
.gero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gero-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.gero-card:hover {
    border-color: var(--color-gold);
}

.gero-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.gero-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.gero-card p {
    font-size: 13px;
    color: var(--color-text-gray);
}

/* --- Tienda Online Section --- */
.shop-alert {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.shop-alert-icon {
    font-size: 24px;
}

.shop-alert-text {
    font-size: 13px;
    color: var(--color-text-gray);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-premium), var(--shadow-gold-glow);
}

.product-card.premium-pack {
    border-width: 2px;
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.product-image-container {
    aspect-ratio: 16 / 10;
    background: #ECEFF3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-gold);
    color: var(--color-bg-dark);
    font-size: 10px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.04);
}

.product-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 20px;
    font-family: var(--font-serif);
    margin-bottom: 8px;
}

.product-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-gold-light);
    margin-bottom: 16px;
}

.product-desc {
    font-size: 12px;
    color: var(--color-text-gray);
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-includes {
    border-t: 1px solid rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    margin-bottom: 24px;
}

.product-includes-title {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 10px;
}

.product-includes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-includes-item {
    font-size: 12px;
    color: var(--color-text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-includes-item::before {
    content: "✓";
    color: var(--color-gold);
    font-weight: 700;
}

.product-includes-item.is-warning {
    color: #ff9d5c !important;
    font-weight: 700;
}

.product-includes-item.is-warning::before {
    content: "⚠️" !important;
    color: #ff9d5c !important;
}

.product-textile-only-warning {
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 10px 0 14px 0;
    font-size: 11.5px;
    line-height: 1.45;
    color: #ff9d5c;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-product-includes-list li.is-warning {
    color: #ff9d5c !important;
    font-weight: 700;
}

.portal-product-includes-list li.is-warning::before {
    content: "⚠️" !important;
    color: #ff9d5c !important;
}

.product-photo-overlay-notice {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 107, 53, 0.8);
    color: #ff9d5c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 7px 10px;
    border-radius: 8px;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}

.product-btn {
    width: 100%;
    text-align: center;
}

/* Shop Member CTA */
.shop-member-cta {
    background: linear-gradient(135deg, #0f1a14 0%, #060a08 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
}

.shop-member-cta h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #FFFFFF; /* Texto blanco de alto contraste sobre fondo oscuro */
}

.shop-member-cta p {
    font-size: 14px;
    color: #E2E8F0; /* Gris claro de alta legibilidad sobre fondo oscuro */
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* --- Formularios --- */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
}

.contact-info-icon {
    font-size: 20px;
    color: var(--color-gold);
}

.contact-info-text h4 {
    font-size: 15px;
    color: var(--color-text-white);
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 13px;
    color: var(--color-text-gray);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-gray);
    margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--color-text-white);
    font-family: var(--font-sans);
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.checkbox-group input {
    accent-color: var(--color-gold);
    width: 16px;
    height: 16px;
}

.checkbox-group label {
    font-size: 12px;
    color: var(--color-text-gray);
    cursor: pointer;
}

.form-error-msg {
    color: var(--color-red);
    font-size: 11px;
    margin-top: 6px;
    display: none;
}

/* --- Panel Carrito Lateral (Drawer) --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--color-bg-dark);
    border-left: 1px solid var(--color-border);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(10, 25, 47, 0.15);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    font-family: var(--font-serif);
}

.cart-close {
    background: transparent;
    border: none;
    color: var(--color-text-gray);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-close:hover {
    color: var(--color-text-white);
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Item de Carrito */
.cart-item {
    display: flex;
    gap: 16px;
    background: var(--color-bg-deep);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 16px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 13px;
    color: var(--color-gold-light);
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg-input);
    color: var(--color-text-white);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-qty {
    font-size: 12px;
    font-weight: 700;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--color-red);
    font-size: 11px;
    cursor: pointer;
    margin-left: auto;
    font-weight: 700;
}

.cart-empty-state {
    text-align: center;
    padding: 50px 0;
    color: var(--color-text-dim);
}

.cart-empty-icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-deep);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-total-val {
    color: var(--color-gold-light);
    font-size: 18px;
}

.cart-checkout-btn {
    width: 100%;
    text-align: center;
}

/* Backdrop */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 150;
    display: none;
}

.drawer-backdrop.open {
    display: block;
}

/* --- Modales --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-premium), 0 0 40px rgba(255, 107, 53, 0.15);
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-gray);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--color-text-white);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-icon {
    font-size: 36px;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.modal-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 13px;
    color: var(--color-text-gray);
}

/* Éxito de Formulario */
.success-state {
    text-align: center;
    display: none;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--color-emerald);
    color: var(--color-emerald);
    font-size: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.success-state h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.success-state p {
    font-size: 13px;
    color: var(--color-text-gray);
    margin-bottom: 24px;
}

/* --- Simulación Checkout / Stripe --- */
.checkout-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkout-fields .form-group:first-child {
    grid-column: span 2;
}

/* --- Footer --- */
footer {
    background: #060F1E;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 0 40px 0;
    --color-text-white: #FFFFFF;
    --color-text-gray: #BAC4D6;
    --color-text-dim: #8892B0;
    color: var(--color-text-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 22px;
    font-family: var(--font-serif);
    margin-bottom: 16px;
    color: var(--color-text-white);
}

.footer-brand p {
    font-size: 12px;
    color: var(--color-text-gray);
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--color-text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--color-gold-light);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 350px;
}

.newsletter-input {
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    padding: 10px 18px;
    color: var(--color-text-white);
    font-size: 12px;
    flex-grow: 1;
    outline: none;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: var(--color-bg-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 11px;
    color: var(--color-text-dim);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Animaciones --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 10px rgba(255, 107, 53, 0.05); }
    to { box-shadow: 0 0 20px rgba(255, 107, 53, 0.2); }
}

/* --- Diseño Responsivo --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 48px; }
    .tech-split { grid-template-columns: 1fr; gap: 40px; }
    .tech-visual { order: -1; max-width: 500px; margin: 0 auto; }
    .contact-split { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-grid .footer-col:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 38px; }
    .hero h2 { font-size: 22px; }
    .hero p { font-size: 15px; }
    .section-header h2 { font-size: 28px; }
    .costs-container { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand { grid-column: auto; }
    .footer-grid .footer-col:last-child { grid-column: auto; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 32px; }
    .tab-link { padding: 0 12px; font-size: 11px; }
    .stats-number { font-size: 36px; }
    .btn-primary { padding: 14px 28px; font-size: 12px; }
    .modal-content { padding: 24px; }
}

/* ==========================================================================
   BANER DE CONSENTIMIENTO DE COOKIES (RGPD COMPLIANT)
   ========================================================================== */
.cookie-banner-container {
    position: fixed;
    bottom: -100%; /* Hidden by default at bottom */
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.98); /* Deep navy background with opacity */
    border-top: 2px solid var(--color-gold);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    --color-text-white: #FFFFFF;
    --color-text-gray: #BAC4D6;
    --color-text-dim: #8892B0;
    color: var(--color-text-white);
}

.cookie-banner-container.open {
    bottom: 0;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-banner-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-description {
    font-size: 13px;
    color: var(--color-text-gray);
    line-height: 1.6;
}

.cookie-policy-link {
    color: var(--color-gold-light);
    text-decoration: underline;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.cookie-policy-link:hover {
    color: var(--color-text-white);
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    font-family: var(--font-sans);
}

.cookie-btn.btn-primary {
    background: var(--color-gold);
    color: var(--color-bg-deep);
}

.cookie-btn.btn-primary:hover {
    background: var(--color-gold-light);
    box-shadow: 0 0 15px var(--color-gold-glow);
    transform: translateY(-1px);
}

.cookie-btn.btn-secondary {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text-white);
}

.cookie-btn.btn-secondary:hover {
    border-color: var(--color-border-hover);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
}

/* Panel de Personalización */
.cookie-custom-panel {
    display: none;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    margin-top: 10px;
    animation: cookieFadeIn 0.4s ease;
}

.cookie-custom-panel.open {
    display: block;
}

.cookie-panel-intro {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text-white);
}

.cookie-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.cookie-option-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px;
    transition: var(--transition-smooth);
}

.cookie-option-item:hover {
    border-color: var(--color-border-hover);
    background: rgba(255, 255, 255, 0.02);
}

.cookie-option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-option-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-white);
}

.cookie-option-text {
    font-size: 11px;
    color: var(--color-text-dim);
    line-height: 1.5;
    padding-left: 48px; /* Alignment with switch */
}

.cookie-panel-actions {
    display: flex;
    justify-content: flex-end;
}

/* Switch (Deslizador Desplazable Premium) */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg-input);
    transition: .4s;
    border: 1px solid var(--color-border);
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: var(--color-text-gray);
    transition: .4s;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--color-gold-dark);
    border-color: var(--color-gold);
}

.cookie-switch input:checked + .cookie-slider:before {
    background-color: var(--color-gold-light);
    transform: translateX(16px);
}

.cookie-switch input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-slider.round {
    border-radius: 20px;
}

.cookie-slider.round:before {
    border-radius: 50%;
}

@keyframes cookieFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajustes Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        padding: 16px;
        gap: 16px;
    }
    
    .cookie-banner-main {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cookie-option-text {
        padding-left: 0;
        margin-top: 6px;
    }
}

/* ==========================================================================
   CHATBOT DE ASISTENCIA BIOMECÁNICA (AQUILPRO BOT)
   ========================================================================== */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-family: var(--font-sans);
}

.chatbot-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 107, 53, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
}

.chatbot-trigger:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 107, 53, 0.5);
}

.chatbot-trigger-icon {
    font-size: 26px;
    line-height: 1;
}

.chatbot-trigger-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--color-red);
    color: var(--color-text-white);
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg-deep);
    animation: pulse 2s infinite;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    max-height: calc(100vh - 120px);
    background: rgba(10, 25, 47, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow-premium), 0 0 30px rgba(255, 107, 53, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    --color-text-white: #FFFFFF;
    --color-text-gray: #BAC4D6;
    --color-text-dim: #8892B0;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-bg-input: rgba(255, 255, 255, 0.03);
    --color-bg-deep: var(--color-navy-deep);
    -webkit-backdrop-filter: blur(20px);
    color: var(--color-text-white);
}

.chatbot-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: rgba(255, 107, 53, 0.05);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-bot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.chatbot-bot-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-white);
}

.chatbot-bot-status {
    font-size: 10px;
    color: var(--color-emerald);
    font-weight: 600;
}

.chatbot-close-btn {
    background: transparent;
    border: none;
    color: var(--color-text-gray);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chatbot-close-btn:hover {
    color: var(--color-text-white);
}

.chatbot-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scrollbar-width: thin;
}

.chatbot-msg-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.5;
}

.chatbot-msg-bubble.bot {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-gray);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chatbot-msg-bubble.user {
    background: var(--color-gold-dark);
    color: var(--color-bg-deep);
    font-weight: 700;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-msg-bubble.bot a {
    color: var(--color-gold-light);
    text-decoration: underline;
    font-weight: 600;
}

.chatbot-msg-bubble.bot ul, .chatbot-msg-bubble.bot ol {
    margin-left: 16px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chatbot-suggestions {
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.chatbot-suggest-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    color: var(--color-text-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-sans);
}

.chatbot-suggest-btn:hover {
    border-color: var(--color-gold);
    background: rgba(255, 107, 53, 0.05);
    transform: translateY(-1px);
}

.chatbot-input-area {
    padding: 16px 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 12px;
}

.chatbot-input {
    flex-grow: 1;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    padding: 10px 18px;
    color: var(--color-text-white);
    font-size: 12px;
    outline: none;
    transition: var(--transition-smooth);
}

.chatbot-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold-glow);
}

.chatbot-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-bg-deep);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.chatbot-send-btn:hover {
    background: var(--color-gold-light);
    transform: scale(1.05);
}

.chatbot-mic-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.chatbot-mic-btn:hover {
    border-color: var(--color-gold);
    background: rgba(255, 107, 53, 0.05);
    transform: scale(1.05);
}

@keyframes mic-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.chatbot-mic-btn.recording {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    animation: mic-pulse 1.5s infinite;
}

/* Typing Indicator Animation */
.chatbot-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chatbot-typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-text-dim);
    border-radius: 50%;
    animation: chatbotBounce 1.4s infinite ease-in-out both;
}

.chatbot-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.chatbot-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes chatbotBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Responsive */
@media (max-width: 480px) {
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }
    .chatbot-window {
        bottom: 70px;
        right: -10px;
        width: calc(100vw - 40px);
        height: 480px;
        max-height: calc(100vh - 100px);
    }
}

/* --- Avanzado: Estadísticas Clínicas y Sanitarias --- */
.stats-subtitle-clinical {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-text-dim);
    margin-top: -10px;
    margin-bottom: 40px;
    text-align: center;
}

.stats-clinical-intro {
    background: rgba(255, 107, 53, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-gray);
}

.stats-clinical-intro strong {
    color: var(--color-text-white);
}

.stats-subsection-title {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--color-gold);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 107, 53, 0.15);
    padding-bottom: 8px;
}

.clinical-data-split {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 50px;
}

.clinical-data-stacked {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.clinical-data-stacked .clinical-figure img {
    max-height: 420px;
    padding: 10px 20px;
}

.clinical-table-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.05), 
                0 1px 3px rgba(10, 25, 47, 0.02);
    transition: var(--transition-smooth);
}

.clinical-table-wrapper:hover {
    box-shadow: 0 20px 45px rgba(10, 25, 47, 0.08);
}

table.clinical-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

table.clinical-table th {
    background: linear-gradient(135deg, var(--color-navy-deep) 0%, #152b4b 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 20px;
    border-bottom: 2px solid var(--color-orange-energetic);
}

table.clinical-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-white);
    font-size: 13.5px;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

table.clinical-table tr:hover td {
    background: rgba(255, 107, 53, 0.03);
}

/* Custom Segment Cell Layout */
.segment-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.segment-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

table.clinical-table tr:hover .segment-icon-wrapper {
    transform: scale(1.08);
}

.segment-svg {
    width: 20px;
    height: 20px;
}

/* Level Colors (Ascending Chain) */
.segment-lvl-4 {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
}
.segment-lvl-3 {
    background: rgba(249, 115, 22, 0.08);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.15);
}
.segment-lvl-2 {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.15);
}
.segment-lvl-1 {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.segment-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.segment-title {
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: 13.5px;
}

.segment-level {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-lvl-4 { color: #ef4444; }
.badge-lvl-3 { color: #f97316; }
.badge-lvl-2 { color: #f59e0b; }
.badge-lvl-1 { color: #10b981; }

/* Cost Badges */
.cost-badge {
    font-family: monospace;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    transition: box-shadow 0.2s ease;
}

.cost-eur {
    background: rgba(255, 107, 53, 0.08);
    color: var(--color-orange-energetic);
    border: 1px solid rgba(255, 107, 53, 0.15);
}

.cost-usd {
    background: rgba(10, 25, 47, 0.06);
    color: var(--color-navy-deep);
    border: 1px solid rgba(10, 25, 47, 0.1);
}

table.clinical-table tr:hover .cost-badge {
    box-shadow: 0 2px 6px rgba(10, 25, 47, 0.05);
}

.badge-severity {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

.badge-mild { background: rgba(16, 185, 129, 0.1); color: var(--color-emerald); }
.badge-severe { background: rgba(239, 68, 68, 0.1); color: var(--color-red); }

.clinical-img-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.clinical-figure {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.05), 
                0 1px 3px rgba(10, 25, 47, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.clinical-figure:hover {
    transform: translateY(-3px);
    border-color: var(--color-orange-energetic);
    box-shadow: 0 20px 45px rgba(10, 25, 47, 0.08);
}

.figure-header {
    background: linear-gradient(135deg, var(--color-navy-deep) 0%, #152b4b 100%);
    padding: 16px 20px;
    border-bottom: 2px solid var(--color-orange-energetic);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.figure-header .figure-tag {
    font-size: 8px;
    font-weight: 800;
    color: var(--color-orange-energetic);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
}

.figure-header .figure-title {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    font-family: var(--font-sans);
}

.figure-img-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    padding: 20px;
    min-height: 200px;
}

.clinical-figure img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    display: block;
}

.clinical-figure figcaption {
    padding: 14px 20px;
    font-size: 11px;
    color: var(--color-text-gray);
    background: rgba(10, 25, 47, 0.5);
    border-top: 1px solid var(--color-border);
    line-height: 1.4;
    text-align: center;
    margin-top: auto;
}

.clinical-figure figcaption strong {
    color: var(--color-text-white);
}

.stats-highlight-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 107, 53, 0.01) 100%);
    border: 1px solid var(--color-gold);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-premium), var(--shadow-gold-glow);
}

.stats-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.stats-highlight-item {
    text-align: center;
}

.stats-highlight-value {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-gold-light);
    margin-bottom: 8px;
}

.stats-highlight-label {
    font-size: 12px;
    color: var(--color-text-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.stats-highlight-desc {
    font-size: 11px;
    color: var(--color-text-gray);
    line-height: 1.4;
}

/* Gráfico Comparativo de Bajas */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.comparison-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-premium);
}

.comparison-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-bar-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-bar-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comparison-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-text-gray);
}

.comparison-bar-label strong {
    color: var(--color-text-white);
}

.comparison-bar-container {
    height: 12px;
    background: rgba(255, 107, 53, 0.03);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.comparison-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-out;
}

.comparison-bar-fill.before {
    background: var(--color-red);
}

.comparison-bar-fill.after {
    background: var(--color-emerald);
}

@media (max-width: 992px) {
    .clinical-data-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Verification Step Modal & Progress */
.verif-step-indicator {
    transition: all 0.3s ease;
}
.verif-step-indicator.active {
    border-color: var(--color-gold) !important;
    color: var(--color-text-white) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}
.verif-step-indicator.completed {
    background: var(--color-emerald) !important;
    border-color: var(--color-emerald) !important;
    color: var(--color-text-white) !important;
}

/* JSON Inspector Highlight Rules */
.json-key {
    color: #f0d978 !important;
    font-weight: bold;
}
.json-string {
    color: #a8ffb2 !important;
}
.json-number {
    color: #6bb9ff !important;
}
.json-boolean {
    color: #ff8585 !important;
}
.json-null {
    color: #9c9c9c !important;
}

#btn-toggle-json-inspector:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--color-gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

/* Animation and style for shoe size compatibility badge */
@keyframes pulse-subtle {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.15); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(255, 107, 53, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

.hero-compatibility-badge {
    animation: pulse-subtle 3s infinite ease-in-out;
    transition: all 0.3s ease;
    cursor: pointer;
}
.hero-compatibility-badge:hover {
    background: rgba(255, 107, 53, 0.08) !important;
    border-color: var(--color-orange-energetic) !important;
    transform: translateY(-2px);
}

/* --- Million Club Private Portal Styles --- */
:root {
    /* Paleta "AQUILPRO Athletic Tech" (Modo Oscuro Premium Unificado) */
    --color-navy-deep: #070F1E;        /* Dominante: Azul noche obsidiana */
    --color-navy-surface: #0A192F;     /* Fondo de contenedores y secciones */
    --color-navy-card: #0B1E36;        /* Fondo de tarjetas y módulos */
    --color-navy-card-hover: #122B4D;  /* Hover en tarjetas */
    --color-orange-energetic: #FF6B35; /* Acento CTA: Naranja Atleta */
    --color-orange-hover: #E85A24;
    --color-text-dark: #1A1A1A;
    --color-text-light: #F8FAFC;

    /* Mapeo unificado para Modo Oscuro Total */
    --color-bg-deep: #070F1E;
    --color-bg-dark: #0A192F;
    --color-bg-card: #0B1E36;
    --color-bg-input: #0D223E;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 107, 53, 0.4);
    
    --color-gold: var(--color-orange-energetic);
    --color-gold-light: #FF885B;
    --color-gold-dark: #E0531A;
    --color-gold-glow: rgba(255, 107, 53, 0.15);
    
    --color-tech-blue: #38BDF8;
    --color-tech-blue-glow: rgba(56, 189, 248, 0.15);
    
    --color-emerald: #10B981;
    --color-emerald-glow: rgba(16, 185, 129, 0.1);
    --color-red: #EF4444;
    
    --color-text-white: #F8FAFC;       /* Blanco titanio de alto contraste */
    --color-text-gray: #94A3B8;        /* Gris pizarra atlético */
    --color-text-dim: #64748B;         /* Gris atenuado */
    
    /* Variables de estructura */
    --header-height: 70px;
    --tab-nav-height: 55px;
    --font-serif: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 12px 35px rgba(0, 0, 0, 0.45);
    --shadow-gold-glow: 0 0 25px rgba(255, 107, 53, 0.22);
}

.btn-member-login {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--color-gold);
    color: var(--color-text-white);
    padding: 6px 16px;
    border-radius: 30px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-member-login:hover {
    background: var(--color-gold);
    color: #0c0f12;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-1px);
}

/* Modal Login */
.login-credential-tip {
    margin-top: 15px;
    padding: 10px 12px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-size: 11px;
    color: var(--color-gold-light);
    line-height: 1.4;
    text-align: center;
}

/* Private Portal Layout */
#sec-member-portal {
    padding: 60px 0;
    background: linear-gradient(180deg, #090e11 0%, #030506 100%);
    min-height: 80vh;
}

.portal-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar Profile Card */
.portal-profile-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 100px;
}

.profile-avatar-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background: rgba(212,175,55,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 12px;
}

.profile-name {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.profile-id {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.profile-meta-item {
    margin-bottom: 16px;
}

.profile-meta-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--color-text-gray);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.profile-select {
    width: 100%;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(212,175,55,0.3);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.profile-select:focus {
    border-color: var(--color-gold);
    outline: none;
}

/* Accessibility Control Panel */
.accessibility-panel {
    margin-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
}

.accessibility-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.btn-acc {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-acc:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.25);
}

.btn-acc.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--color-gold);
    color: var(--color-gold-light);
}

/* Curated Content Grid */
.portal-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 16px;
}

.portal-feed-title {
    font-family: var(--font-serif);
    font-size: 24px;
    color: #ffffff;
}

.portal-feed-desc {
    color: var(--color-text-gray);
    font-size: 13px;
}

.portal-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.portal-news-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.portal-news-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.25);
}

.news-card-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.news-badge-category {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Category Specific Colors */
.badge-sport { background: rgba(0, 102, 204, 0.15); color: #4dadff; border: 1px solid rgba(0, 102, 204, 0.3); }
.badge-outdoor { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-senior { background: rgba(212, 175, 55, 0.15); color: #f0d978; border: 1px solid rgba(212, 175, 55, 0.3); }
.badge-work { background: rgba(167, 139, 250, 0.15); color: #c084fc; border: 1px solid rgba(167, 139, 250, 0.3); }
.badge-health { background: rgba(244, 63, 94, 0.15); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.3); }
.badge-community { background: rgba(251, 146, 60, 0.15); color: #ff9d5c; border: 1px solid rgba(251, 146, 60, 0.3); }

.news-badge-scope {
    font-size: 10px;
    color: var(--color-text-gray);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.03);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.news-title {
    font-family: var(--font-serif);
    font-size: calc(19px * var(--portal-font-scale));
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.news-summary {
    font-size: calc(14.5px * var(--portal-font-scale));
    line-height: 1.6;
    color: var(--color-text-gray);
    margin-bottom: 16px;
}

.news-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 11.5px;
    color: var(--color-text-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    margin-bottom: 16px;
}

.news-meta-item strong {
    color: #ffffff;
}

.news-link {
    color: var(--color-gold-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-link:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

/* Why It Matters Box */
.news-context-box {
    background: rgba(255, 107, 53, 0.04);
    border-left: 3px solid var(--color-orange-energetic);
    padding: 14px 16px;
    border-radius: 0 10px 10px 0;
    font-size: calc(13px * var(--portal-font-scale));
    line-height: 1.5;
    color: #ffffff;
    margin-top: 12px;
}

.news-context-box strong {
    color: var(--color-orange-energetic);
}

.news-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-tts-read {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-tts-read:hover {
    background: rgba(212,175,55,0.08);
    border-color: rgba(212,175,55,0.25);
    color: var(--color-gold-light);
}

.btn-tts-read.reading {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgb(239, 68, 68);
    color: #f87171;
}

/* HIGH CONTRAST MODE OVERRIDES */
.high-contrast-mode {
    background: #000000 !important;
}

.high-contrast-mode #sec-member-portal {
    background: #000000 !important;
}

.high-contrast-mode .portal-profile-card,
.high-contrast-mode .portal-news-card {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    box-shadow: none !important;
}

.high-contrast-mode .profile-avatar {
    border-color: #ffd700 !important;
    background: #000000 !important;
}

.high-contrast-mode .profile-name,
.high-contrast-mode .news-title,
.high-contrast-mode .portal-feed-title,
.high-contrast-mode .profile-id {
    color: #ffffff !important;
    text-shadow: none !important;
}

.high-contrast-mode .news-summary,
.high-contrast-mode .portal-feed-desc,
.high-contrast-mode .profile-meta-label,
.high-contrast-mode .news-meta-item,
.high-contrast-mode .news-meta-item strong {
    color: #ffffff !important;
}

.high-contrast-mode .news-badge-category {
    background: #000000 !important;
    color: #ffd700 !important;
    border: 2px solid #ffd700 !important;
}

.high-contrast-mode .news-context-box {
    background: #000000 !important;
    border: 2px solid #ffd700 !important;
    color: #ffffff !important;
}

.high-contrast-mode .news-context-box strong {
    color: #ffd700 !important;
}

.high-contrast-mode .profile-select {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.high-contrast-mode .btn-acc,
.high-contrast-mode .btn-tts-read,
.high-contrast-mode .news-link {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffd700 !important;
    font-weight: 900 !important;
}

.high-contrast-mode .btn-acc.active {
    border-color: #ffd700 !important;
    background: #ffd700 !important;
    color: #000000 !important;
}

/* Responsive portal design */
@media (max-width: 992px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }
    
    .portal-profile-card {
        position: relative;
        top: 0;
    }
}

/* --- Portal Exclusive Shop Styles --- */
.portal-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.portal-product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.portal-product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.portal-product-img-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}

.portal-product-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px;
    display: block;
}

.portal-product-title {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.portal-product-desc {
    font-size: 12px;
    color: var(--color-text-gray);
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.portal-product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.portal-price-original {
    text-decoration: line-through;
    color: var(--color-text-gray);
    font-size: 13px;
}

.portal-price-discounted {
    color: var(--color-gold-light);
    font-size: 17px;
    font-weight: 800;
}

.portal-discount-badge {
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid var(--color-orange-energetic);
    color: #ff9472;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.portal-product-includes-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 10.5px;
    color: var(--color-text-gray);
}

.portal-product-includes-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.portal-product-includes-list li::before {
    content: "✓";
    color: var(--color-emerald);
    font-weight: bold;
}

/* High Contrast mode shop overrides */
.high-contrast-mode .portal-product-card {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    box-shadow: none !important;
}

.high-contrast-mode .portal-product-title,
.high-contrast-mode .portal-product-desc,
.high-contrast-mode .portal-price-original {
    color: #ffffff !important;
}

.high-contrast-mode .portal-price-discounted {
    color: #ffd700 !important;
}

.high-contrast-mode .portal-discount-badge {
    background: #000000 !important;
    border: 2px solid #ffd700 !important;
    color: #ffd700 !important;
}

.high-contrast-mode .portal-product-card img {
    border: 1px solid #ffffff !important;
    background: #000000 !important;
}






/* --- ESTILOS DE LA CAMPAÑA PREVENTA EDICIÓN FUNDADORES #500 --- */
.founder-campaign-box {
    margin: 28px auto 32px auto;
    max-width: 720px;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95), rgba(15, 32, 60, 0.9));
    border: 1px solid rgba(255, 107, 53, 0.35);
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 0 0 25px rgba(255, 107, 53, 0.12);
    position: relative;
    overflow: hidden;
    color: #F8F9FA;
    text-align: left;
}

.founder-campaign-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.founder-campaign-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FF885B;
    margin-bottom: 14px;
}

.founder-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FF6B35;
    box-shadow: 0 0 10px #FF6B35;
    display: inline-block;
    animation: founderPulse 1.8s infinite ease-in-out;
}

@keyframes founderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.founder-progress-bar-container {
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
}

.founder-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #E0531A, #FF6B35, #FFB088);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.5);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: founderShimmer 2.5s infinite;
}

@keyframes founderShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.founder-progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #A0AEC0;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 8px;
}

.founder-progress-stats strong {
    color: #F8F9FA;
    font-size: 15px;
}

.founder-progress-percent {
    color: #FF885B !important;
}

.founder-pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 14px;
    padding: 12px 18px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 12px;
}

.founder-price-group {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.founder-old-price {
    font-size: 15px;
    text-decoration: line-through;
    color: #718096;
}

.founder-current-price {
    font-size: 26px;
    font-weight: 800;
    color: #FF6B35;
    font-family: var(--font-serif);
}

.founder-badge-discount {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid #FF6B35;
    color: #FF885B;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.founder-guarantee-note {
    font-size: 12px;
    color: #A0AEC0;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
}



/* --- Showcase Sistema Modular 3 en 1 --- */
.modular-system-showcase {
    background: linear-gradient(135deg, rgba(20, 26, 40, 0.95), rgba(10, 14, 23, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 32px 28px;
    margin-bottom: 35px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.modular-system-showcase::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.modular-showcase-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 28px auto;
}

.modular-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.modular-title {
    font-family: var(--font-serif);
    font-size: 26px;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.modular-subtitle {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin: 0;
}

.modular-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.modular-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
}

.modular-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.modular-card.soft {
    border-top: 4px solid var(--color-emerald);
}
.modular-card.soft:hover {
    border-color: rgba(72, 187, 120, 0.4);
    border-top-color: var(--color-emerald);
}

.modular-card.medium {
    border-top: 4px solid var(--color-gold);
    background: rgba(212, 175, 55, 0.04);
}
.modular-card.medium:hover {
    border-color: rgba(212, 175, 55, 0.5);
    border-top-color: var(--color-gold);
}

.modular-card.rigid {
    border-top: 4px solid #FF6B35;
}
.modular-card.rigid:hover {
    border-color: rgba(255, 107, 53, 0.5);
    border-top-color: #FF6B35;
}

.modular-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
    width: fit-content;
}

.modular-badge.soft {
    background: rgba(72, 187, 120, 0.15);
    color: #48BB78;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.modular-badge.medium {
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-gold-light);
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.modular-badge.rigid {
    background: rgba(255, 107, 53, 0.15);
    color: #FF885B;
    border: 1px solid rgba(255, 107, 53, 0.35);
}

.modular-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.35;
}

.modular-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
    color: #CBD5E0;
    line-height: 1.5;
    margin-bottom: 14px;
}

.modular-card-desc {
    font-size: 12px;
    color: var(--color-text-dim);
    line-height: 1.45;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
    margin-top: auto;
}

.modular-box-callout {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.modular-box-callout .callout-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.modular-box-callout .callout-text {
    font-size: 13px;
    color: #E2E8F0;
    line-height: 1.5;
}


/* ==========================================================================
   COMPONENTES RESPONSIVOS: VIDEO SHOWCASE & AJUSTES MÓVIL
   ========================================================================== */

/* --- Componente Video Showcase Card --- */
.video-showcase-card {
    margin: 28px 0 36px 0;
    background: linear-gradient(135deg, rgba(10,25,47,0.98), rgba(15,32,60,0.95));
    border: 1px solid rgba(255, 107, 53, 0.35);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.video-showcase-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 280px;
    overflow: hidden;
    background: #070d18;
}

.video-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    filter: brightness(0.95);
    display: block;
    transition: transform 0.6s ease;
}

.video-showcase-card:hover .video-showcase-img {
    transform: scale(1.02);
}

.video-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,25,47,0.4) 0%, transparent 35%, rgba(10,25,47,0.25) 100%);
    pointer-events: none;
}

.video-showcase-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.badge-video {
    background: #FF6B35;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    box-shadow: 0 0 12px rgba(255,107,53,0.5);
}

.badge-topic {
    background: rgba(10,25,47,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFB088;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,107,53,0.3);
}

.video-showcase-content {
    padding: 22px 24px 24px 24px;
    background: rgba(10,25,47,0.96);
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 2;
}

.video-showcase-content h3 {
    font-family: var(--font-serif);
    font-size: 21px;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.video-showcase-content p {
    font-size: 13.5px;
    color: #A0AEC0;
    margin: 0;
    max-width: 750px;
    line-height: 1.6;
}

@media (min-width: 900px) {
    .video-showcase-media {
        aspect-ratio: 16 / 9; height: auto; min-height: 440px;
    }
    .video-showcase-content {
        padding: 26px 32px;
    }
    .video-showcase-content h3 {
        font-size: 24px;
    }
}

/* --- REGLAS RESPONSIVAS GLOBALES PARA MÓVIL (<= 768px) --- */
@media (max-width: 768px) {
    /* Header ultra limpio y ordenado */
    header {
        height: auto !important;
        min-height: 60px !important;
        padding: 8px 0 !important;
    }

    header .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 12px !important;
    }

    .logo-area {
        gap: 8px !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }

    .logo-crown {
        height: 28px !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    .logo-text {
        font-size: 14px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        letter-spacing: 0.04em !important;
        line-height: 1.2 !important;
    }

    .logo-text .gold-text {
        font-size: 11px !important;
        display: inline !important;
        margin-right: 3px !important;
    }

    .header-actions {
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .btn-member-login {
        padding: 6px 10px !important;
        font-size: 11px !important;
        border-radius: 20px !important;
    }

    .lang-selector {
        padding: 2px !important;
        border-radius: 16px !important;
    }

    .lang-btn {
        padding: 4px 7px !important;
        font-size: 10px !important;
    }

    .cart-trigger {
        padding: 6px 10px !important;
        font-size: 12px !important;
        gap: 4px !important;
    }

    .cart-trigger .cart-label-text {
        display: none !important;
    }

    /* Hero equilibrado y ordenado */
    .hero {
        padding: 45px 0 35px 0 !important;
    }

    .hero-tag {
        font-size: 11px !important;
        padding: 6px 12px !important;
        margin-bottom: 14px !important;
        max-width: 92% !important;
    }

    .hero h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }

    .hero h2 {
        font-size: 16px !important;
        color: #E2E8F0 !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
        margin-bottom: 16px !important;
    }

    .hero p {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        color: #CBD5E1 !important;
        margin: 0 auto 24px auto !important;
        padding: 0 6px !important;
    }

    .btn-primary#hero-cta {
        padding: 13px 22px !important;
        font-size: 13px !important;
        width: 100% !important;
        max-width: 330px !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Founder Campaign Box ordenado */
    .founder-campaign-box {
        padding: 18px 16px !important;
        border-radius: 16px !important;
        margin: 22px 0 !important;
    }

    .founder-pricing-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .founder-pricing-row button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* --- REGLAS PARA PANTALLAS MUY ESTRECHAS (<= 480px) --- */
@media (max-width: 480px) {
    .logo-text .gold-text {
        display: none !important;
    }

    .btn-member-login span {
        display: none !important;
    }

    .btn-member-login::after {
        content: "Acceso" !important;
        margin-left: 2px !important;
    }

    .video-showcase-media {
        aspect-ratio: 16 / 9 !important; height: auto !important; min-height: 220px !important;
    }

    .video-showcase-content {
        padding: 18px 16px 20px 16px !important;
    }

    .video-showcase-content h3 {
        font-size: 17px !important;
    }

    .video-showcase-content p {
        font-size: 12.5px !important;
    }

    .badge-video, .badge-topic {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }
}


/* --- Table Scroll Hint & Styling --- */
.table-scroll-hint {
    display: none;
    font-size: 11px;
    color: var(--color-orange-energetic);
    text-align: right;
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .table-scroll-hint {
        display: block !important;
    }
    table.clinical-table, table.rigidity-table {
        min-width: 520px !important;
    }
}


/* --- ULTRA CLEAN MOBILE HEADER & NAVBAR (< 600px) --- */
@media (max-width: 600px) {
    header {
        height: 60px !important;
        min-height: 60px !important;
        padding: 0 !important;
    }
    header .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 14px !important;
        height: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .logo-area {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    .logo-crown {
        height: 24px !important;
        width: auto !important;
    }
    .brand-name {
        font-size: 18px !important;
        font-weight: 900 !important;
        letter-spacing: 0.05em !important;
        color: #F8FAFC !important;
    }
    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    /* Ocultar botón texto 'Acceso' en móvil para dar espacio al logo y carrito */
    .btn-member-login {
        display: none !important;
    }
    .btn-member-login::after {
        content: "" !important;
    }
    .lang-selector {
        padding: 2px !important;
        border-radius: 16px !important;
    }
    .lang-btn {
        padding: 3px 6px !important;
        font-size: 9.5px !important;
    }
    .cart-trigger {
        padding: 6px 9px !important;
        font-size: 13px !important;
        gap: 4px !important;
    }
    .cart-trigger .cart-label-text {
        display: none !important;
    }

    /* Tab Navbar sin corte ni scroll lateral en toda la pantalla */
    .tab-navbar {
        position: sticky !important;
        top: 60px !important;
        z-index: 89 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
        padding: 0 !important;
    }
    .tab-navbar .container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 8px 12px !important;
    }
    .tab-navbar .container::-webkit-scrollbar {
        display: none !important;
    }
    .tab-link {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 7px 14px !important;
        font-size: 11.5px !important;
        border-radius: 20px !important;
    }

    /* Main Container y Footer 100% responsivos */
    main.container, footer .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 14px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}


/* ==========================================================================
   CARRUSEL FOTOGRÁFICO DE PRODUCTO CON EFECTO PEEK (AQUILPRO GALLERY)
   ========================================================================== */
.founder-image-slider-section {
    margin: 40px auto 35px auto;
    width: 100%;
    max-width: 1040px;
    position: relative;
    box-sizing: border-box;
    padding: 0 10px;
}

.founder-image-slider-header {
    text-align: center;
    margin-bottom: 22px;
}

.image-carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.image-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 10px 18px 10px;
    width: 100%;
    box-sizing: border-box;
}

.image-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Efecto Peek: Cada slide ocupa el 78% (84% en móvil) para que la siguiente asome ~16-20% */
.image-slide-card {
    text-align: left !important;
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: center;
    background: #0B1E36;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    position: relative;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
}

.image-slide-card:active {
    cursor: grabbing;
}

.image-slide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 107, 53, 0.15);
}

.slide-photo-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9.2;
    background: #0B1320;
    overflow: hidden;
}

.slide-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-photo.contain {
    object-fit: contain;
    background: #E8EAEF;
    padding: 0;
}

.image-slide-card:hover .slide-photo {
    transform: scale(1.03);
}

.slide-floating-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(7, 15, 30, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-orange-energetic, #FF6B35);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 107, 53, 0.35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.slide-caption-box {
    padding: 18px 22px;
    background: linear-gradient(180deg, #0B1E36 0%, #071526 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.slide-caption-title {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 800;
    color: #F8FAFC;
    margin: 0;
    line-height: 1.3;
}

.slide-caption-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: #94A3B8;
    margin: 0 0 4px 0;
}

.slide-caption-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #48BB78;
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.25);
    padding: 5px 12px;
    border-radius: 8px;
    align-self: flex-start;
}

/* Botones de Navegación del Carrusel */
.image-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11, 30, 54, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.image-carousel-nav:hover {
    background: var(--color-orange-energetic, #FF6B35);
    border-color: var(--color-orange-energetic, #FF6B35);
    transform: scale(1.1);
}

.image-carousel-nav.prev {
    margin-right: -16px;
}

.image-carousel-nav.next {
    margin-left: -16px;
}

/* Dots Indicadores */
.image-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.image-carousel-dots .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.image-carousel-dots .carousel-dot.active {
    width: 28px;
    border-radius: 6px;
    background: var(--color-orange-energetic, #FF6B35);
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.5);
}

/* Posición limpia y centrada para la tarjeta 3D */
.hero-mockup-wrapper {
    margin: 45px auto 20px auto !important;
    perspective: 1200px;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 480px !important;
    clear: both !important;
    position: relative !important;
    z-index: 5 !important;
}

/* Responsividad Tablet y Móvil */
@media (max-width: 900px) {
    .image-slide-card {
        flex: 0 0 82% !important;
        max-width: 82% !important;
    }
}

@media (max-width: 650px) {
    .founder-image-slider-section {
        margin: 25px auto 20px auto;
        padding: 0 4px;
    }
    .image-carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    .image-carousel-nav.prev {
        margin-right: -8px;
    }
    .image-carousel-nav.next {
        margin-left: -8px;
    }
    .image-carousel-track {
        gap: 12px !important;
        padding: 8px 6px 14px 6px !important;
    }
    .image-slide-card {
        flex: 0 0 84% !important; /* Efecto Peek en móvil */
        max-width: 84% !important;
        border-radius: 16px;
    }
    .slide-photo-box {
        aspect-ratio: 16 / 10;
    }
    .slide-caption-box {
        padding: 14px 16px;
    }
    .slide-caption-title {
        font-size: 15px !important;
    }
    .slide-caption-desc {
        font-size: 12.5px !important;
    }
}


/* ==========================================================================
   AQUILPRO SMARTPHONE OPTIMIZATIONS (MOBILE RESPONSIVE PERFECTION)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Estudio Anatómico: Diagrama 100% visible sin recortes */
    .anatomy-split {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .anatomy-visual {
        aspect-ratio: 1200 / 1802 !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
    }
    .anatomy-photo {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
    }
    .anatomy-accordion {
        gap: 12px !important;
    }
    .accordion-header {
        padding: 14px 16px !important;
        font-size: 14.5px !important;
    }
    .accordion-body {
        padding: 12px 16px !important;
        font-size: 12.5px !important;
    }

    /* 2. Sistema de Módulos Intercambiables: Diseño horizontal compacto */
    .modules-section {
        margin-top: 36px !important;
    }
    .modules-section .section-header {
        margin-bottom: 20px !important;
    }
    .modules-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 28px !important;
    }
    .module-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 14px 16px !important;
        text-align: left !important;
        border-radius: 14px !important;
    }
    .module-icon {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 0 !important;
        font-size: 18px !important;
        flex-shrink: 0 !important;
    }
    .module-card h4 {
        font-size: 15px !important;
        margin: 0 0 2px 0 !important;
    }
    .module-card p {
        font-size: 12px !important;
        margin: 0 !important;
        line-height: 1.35 !important;
    }

    /* 3. Tabla Clínica de Patologías y Prevalencia */
    .clinical-table-wrapper {
        border-radius: 14px !important;
        margin: 0 0 24px 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    table.clinical-table {
        min-width: 460px !important;
        width: 100% !important;
    }
    table.clinical-table th {
        padding: 10px 10px !important;
        font-size: 10.5px !important;
        letter-spacing: 0.03em !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }
    table.clinical-table td {
        padding: 10px 10px !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }
    .table-scroll-hint {
        font-size: 11px !important;
        margin-bottom: 8px !important;
        padding: 6px 10px !important;
        background: rgba(255, 107, 53, 0.08) !important;
        border-radius: 6px !important;
        display: inline-block !important;
    }

    /* 4. Tarjeta Mecanismo Regulador de la Cadena Cinética */
    .stats-highlight-card {
        padding: 20px 16px !important;
        margin-bottom: 28px !important;
        border-radius: 16px !important;
    }
    .stats-highlight-card h4 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
    .stats-highlight-card p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }
    .stats-highlight-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-top: 14px !important;
    }
    .stats-highlight-item {
        padding: 14px 16px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 107, 53, 0.15) !important;
        border-radius: 12px !important;
        text-align: center !important;
    }
    .stats-highlight-value {
        font-size: 32px !important;
        margin-bottom: 2px !important;
    }
    .stats-highlight-label {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }
    .stats-highlight-desc {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }
}
