/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    /* Color Palette */
    --color-white: #FFFFFF;
    --color-beige: #F5F1E8;
    --color-dark-blue: #0F1C3F;
    --color-gold: #D4AF37;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Layout */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dark Mode Overrides */
body.dark-theme {
    /* We invert the functional colors */
    --color-white: #0A1328;
    --color-beige: #0F1C3F;
    --color-dark-blue: #F5F1E8;
    /* We keep gold */
    --color-gold: #D4AF37;
}

/* =========================================
   RESET & BASICS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* scroll-behavior: smooth removed to prevent Shopify modal jump to top bug */
}

body {
    font-family: var(--font-sans);
    color: var(--color-dark-blue);
    background-color: var(--color-white);
    /* Base bg */
    width: 100%;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* =========================================
   PRELOADER
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-logo {
    width: 100px;
    height: auto;
    animation: pulseLogo 1.5s infinite alternate ease-in-out;
}

.preloader-spinner {
    width: 45px;
    height: 45px;
    border: 3.5px solid var(--color-beige);
    border-top: 3.5px solid var(--color-gold);
    border-radius: 50%;
    animation: spinSpinner 1s linear infinite;
}

@keyframes pulseLogo {
    0% {
        transform: scale(1);
        opacity: 0.85;
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2));
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    }
}

@keyframes spinSpinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   HEADER (NAVIGATION)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    /* Transparent init state */
    background-color: transparent;
    transition: background-color var(--transition-fast), padding var(--transition-fast), box-shadow var(--transition-fast);
}

.header.scrolled {
    background-color: var(--color-white);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(15, 28, 63, 0.06);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: clamp(40px, 10vw, 80px);
    width: auto;
    transition: height var(--transition-fast), transform var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.02);
}

.header.scrolled .logo img {
    height: clamp(28px, 10vw, 60px);
}

/* Header Right (Nav + Actions grouped) */
.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Theme Toggle Button */
.btn-theme {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-blue);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-beige);
    transition: transform var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-theme:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.menu-toggle {
    display: none;
    color: var(--color-dark-blue);
    padding: 5px;
    z-index: 1001;
    /* Stay above nav */
}

/* Hamburger Animation */
.menu-toggle line {
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    transform-origin: center;
}

body.menu-open .menu-toggle .line1 {
    transform: translateY(6px) rotate(45deg);
}

body.menu-open .menu-toggle .line2 {
    opacity: 0;
}

body.menu-open .menu-toggle .line3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* Main Nav */
.main-nav ul {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-dark-blue);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

/* Nav Link Hover Effect */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-gold);
}

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

/* Social Media Icons */
.header-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-beige);
    color: var(--color-dark-blue);
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../img/fondoHero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Adding a subtle fallback color */
    background-color: var(--color-beige);
    padding-top: 100px;
    /* Offset for absolute header */
    overflow: hidden;
}

/* Overlay to blend text if image is complex */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle gradient to ensure dark blue text stays readable */
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
    transition: background var(--transition-fast);
}

body.dark-theme .hero-bg-overlay {
    background: linear-gradient(100deg, rgba(10, 19, 40, 0.7) 0%, rgba(10, 19, 40, 0.2) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Hero Content (Left) */
.hero-content {
    flex: 1;
    max-width: 50%;
    padding-right: 6%;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 1.05;
    color: var(--color-dark-blue);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark-blue);
    margin-bottom: 40px;
    max-width: 480px;
    opacity: 0.9;
}

/* Primary Button */
.btn-primary {
    display: inline-block;
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(15, 28, 63, 0.2);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Hero Image (Right) */
.hero-image-wrapper {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-product-img {
    max-width: 130%;
    height: auto;
    /* Soft floating animation to give dynamic feel */
    animation: float 6s ease-in-out infinite;
    transform-origin: center;
    filter: drop-shadow(0 30px 40px rgba(15, 28, 63, 0.2));
}

/* Keyframes for micro-animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-16px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */

/* Desktop / Tablets Landscape (Handled via clamp) */

/* Tablets Portrait */
@media (max-width: 820px) {
    .header {
        padding: 15px 0 !important;
    }

    .header.scrolled {
        padding: 15px 0 !important;
    }

    .header-container {
        position: relative;
        height: 44px;
        display: flex;
        align-items: center;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .logo img {
        height: 38px !important;
    }

    .header.scrolled .logo img {
        height: 38px !important;
    }

    .header-right {
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
    }

    .header-right .main-nav {
        display: none;
    }

    .header-actions .btn-theme {
        display: none;
    }

    .header-actions .header-socials {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .header {
        background-color: var(--color-white);
        bottom: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        box-shadow: none;
    }

    body.menu-open .header-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 40px;
    }

    body.menu-open .logo {
        position: static;
        transform: none;
    }

    body.menu-open .header-right {
        margin-left: 0;
        flex-direction: column;
        gap: 40px;
    }

    body.menu-open .header-right .main-nav {
        display: flex;
        align-items: center;
    }

    body.menu-open .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    body.menu-open .nav-link {
        font-size: 1.5rem;
    }

    body.menu-open .header-actions {
        flex-direction: row;
        gap: 20px;
    }

    body.menu-open .header-actions .btn-theme {
        display: flex;
    }

    body.menu-open .header-actions .header-socials {
        display: flex;
    }

    body.menu-open .menu-toggle {
        position: absolute;
        top: 24px;
        right: 5%;
    }

    body.menu-open .logo img {
        height: 70px;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 50px;
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 br,
    .hero-content p br {
        display: none;
    }

    /* Remove breaks on mobile */

    .hero-image-wrapper {
        max-width: 80%;
        justify-content: center;
    }
}

/* Mobile Phones */
@media (max-width: 600px) {
    .header-container {
        justify-content: space-between;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }

    .hero-image-wrapper {
        max-width: 90%;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .header-right {
        gap: 15px;
    }
}

/* =========================================
   SECCIÓN PROBLEMAS
   ========================================= */
.section-problemas {
    background-color: var(--color-white);
    padding: 120px 0;
    transition: background-color var(--transition-fast);
}

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

.section-problemas h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--color-dark-blue);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-card {
    background-color: var(--color-white);
    border-radius: 36px;
    padding: 16px;
    box-shadow: 0 16px 40px rgba(15, 28, 63, 0.08);
    /* Elegant airy shadow */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.dark-theme .problem-card {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15, 28, 63, 0.12);
}

body.dark-theme .problem-card:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 24px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.problem-card:hover .card-image img {
    transform: scale(1.04);
}

.card-content {
    padding: 30px 16px 20px 16px;
    text-align: left;
    font-family: var(--font-sans);
}

.card-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    opacity: 0.35;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.card-content h3 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.card-content p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-dark-blue);
    opacity: 0.65;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

/* Responsive Problemas */
@media (max-width: 820px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 500px;
    }

    .section-problemas {
        padding: 80px 0;
    }

    .card-content {
        padding: 30px 20px;
    }
}

/* =========================================
   SECCIÓN NOSOTROS
   ========================================= */
.section-nosotros {
    background-color: var(--color-beige);
    padding: 50px 0;
    transition: background-color var(--transition-fast);
}

body.dark-theme .section-nosotros {
    background-color: #0A1328;
}

.container-nosotros {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
}

.nosotros-image-wrapper {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    /* Soft shadow to match style */
    box-shadow: 0 16px 40px rgba(15, 28, 63, 0.08);
}

.nosotros-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nosotros-image-wrapper:hover img {
    transform: scale(1.03);
}

.nosotros-content {
    flex: 1;
}

/* =========================================
   SECCIÓN PRODUCTOS
   ========================================= */
.section-productos {
    background-color: var(--color-white);
    padding: 100px 0;
    transition: background-color var(--transition-fast);
}

body.dark-theme .section-productos {
    background-color: var(--color-dark-blue);
}

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

.section-productos h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--color-dark-blue);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

body.dark-theme .section-productos h2 {
    color: var(--color-white);
}

.productos-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* Webkit scrollbar hidden for carousel */
.productos-wrapper ::-webkit-scrollbar {
    display: none;
}

/* Light blue for the label and button based on image */
:root {
    --color-nosotros-blue: #6a9bd8;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-label .line {
    width: 30px;
    height: 1px;
    background-color: var(--color-gold);
}

.nosotros-content h2 {
    font-family: var(--font-sans);
    /* From the image, the font seems sans-serif or maybe var(--font-sans). Wait, the heading "¿Quiénes somos?" in the image looks like serif or semi-serif maybe? Actually it looks closer to Inter or Playfair. I will use var(--font-sans) as per the overall styling if it fits, but the image title "Quiénes somos?" has strong serifs. I'll use var(--font-serif) */
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    color: var(--color-dark-blue);
    font-weight: 400;
    /* Regular weight based on the image */
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.nosotros-content h2 {
    font-family: var(--font-serif);
}

.nosotros-content p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-dark-blue);
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 40px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-nosotros-blue);
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(106, 155, 216, 0.3);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-secondary:hover {
    background-color: #5587C7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 155, 216, 0.4);
}

.btn-secondary svg {
    transition: transform var(--transition-fast);
}

.btn-secondary:hover svg {
    transform: translateX(3px);
}

@media (max-width: 820px) {
    .container-nosotros {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .section-label {
        justify-content: center;
    }

    .nosotros-image-wrapper {
        width: 100%;
        max-width: 500px;
    }
}

/* =========================================
   SECCIÓN PACKS (PROGRAMAS)
   ========================================= */
.section-packs {
    background-color: var(--color-beige);
    padding: 100px 0;
    transition: background-color var(--transition-fast);
}

body.dark-theme .section-packs {
    background-color: #0A1328;
}

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

.section-packs h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--color-dark-blue);
    font-weight: 500;
    margin-bottom: 16px;
}

body.dark-theme .section-packs h2,
body.dark-theme .section-packs p {
    color: var(--color-white);
}

.section-packs p {
    font-size: 1.1rem;
    color: var(--color-dark-blue);
    opacity: 0.8;
}

/* Tabs Container */
.packs-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Tabs Header */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    background-color: var(--color-white);
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(15, 28, 63, 0.05);
}

body.dark-theme .tabs-header {
    background-color: var(--color-dark-blue);
}

.tab-btn {
    position: relative;
    padding: 12px 30px;
    border-radius: 40px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-dark-blue);
    transition: all var(--transition-fast);
    cursor: pointer;
    background: transparent;
    border: 2px solid transparent;
}

body.dark-theme .tab-btn {
    color: var(--color-white);
}

.tab-btn:hover {
    color: var(--color-gold);
}

.tab-btn.active {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(15, 28, 63, 0.2);
}

body.dark-theme .tab-btn.active {
    background-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.tab-btn .badge {
    position: absolute;
    top: -12px;
    right: 0;
    background-color: #E63946;
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

/* Tabs Content */
.tabs-content {
    position: relative;
    min-height: 450px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pack Card */
.pack-card {
    background-color: var(--color-white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 16px 40px rgba(15, 28, 63, 0.08);
    display: flex;
    flex-direction: column;
    gap: 25px;
    border: 2px solid transparent;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

body.dark-theme .pack-card {
    background-color: var(--color-dark-blue);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.pack-card.highlight {
    border-color: var(--color-gold);
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.pack-card.premium {
    border-color: var(--color-dark-blue);
}

body.dark-theme .pack-card.premium {
    border-color: #FFFFFF;
}

.pack-header {
    text-align: center;
    border-bottom: 1px solid rgba(15, 28, 63, 0.1);
    padding-bottom: 20px;
}

body.dark-theme .pack-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pack-header h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-dark-blue);
    margin-bottom: 10px;
}

body.dark-theme .pack-header h3 {
    color: var(--color-white);
}

.pack-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pack-price .price-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    line-height: 1;
}

body.dark-theme .pack-price .price-value {
    color: var(--color-gold);
}

.pack-price .price-unit {
    font-size: 0.95rem;
    color: var(--color-dark-blue);
    opacity: 0.6;
    margin-top: 5px;
}

body.dark-theme .pack-price .price-unit {
    color: var(--color-white);
}

.pack-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pack-message {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
}

.pack-img-wrapper {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 25px;
}

.pack-img-wrapper img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 20px rgba(15, 28, 63, 0.15));
}

.pack-features {
    width: 100%;
}

.pack-features li {
    font-size: 1rem;
    color: var(--color-dark-blue);
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 28, 63, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

body.dark-theme .pack-features li {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.pack-features li:last-child {
    border-bottom: none;
}

.pack-features li strong {
    color: var(--color-gold);
}

.pack-footer {
    margin-top: auto;
    text-align: center;
}

/* Shopify Placeholder styles */
.shopify-button-placeholder {
    width: 100%;
    min-height: 50px;
}

.w-100 {
    width: 100%;
}

/* Responsive */
@media (max-width: 600px) {
    .tabs-header {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
    }

    .tab-btn {
        width: 100%;
    }

    .pack-card {
        padding: 30px 20px;
    }

    .pack-header h3 {
        font-size: 1.7rem;
    }

    .pack-price .price-value {
        font-size: 2.5rem;
    }
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   BANNER PROMOCIONAL
   ========================================= */
.section-banner {
    position: relative;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../img/img-nosotros.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-color var(--transition-fast);
}

.banner-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 28, 63, 0.85) 0%, rgba(15, 28, 63, 0.6) 100%);
    z-index: 1;
    transition: background var(--transition-fast);
}

body.dark-theme .banner-bg-overlay {
    background: linear-gradient(135deg, rgba(10, 19, 40, 0.95) 0%, rgba(10, 19, 40, 0.8) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #FFFFFF;
}

.banner-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.banner-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.banner-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light {
    display: inline-block;
    background-color: var(--color-gold);
    color: #FFFFFF;
    padding: 16px 40px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-light:hover {
    background-color: #FFFFFF;
    color: var(--color-dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    padding: 14px 40px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    background-color: #FFFFFF;
    color: var(--color-dark-blue);
    transform: translateY(-3px);
}

/* =========================================
   CONTACTO
   ========================================= */
.section-contacto {
    background-color: var(--color-beige);
    padding: 100px 0;
    transition: background-color var(--transition-fast);
}

body.dark-theme .section-contacto {
    background-color: #0A1328;
}

.container-contacto {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contacto-info {
    flex: 1;
}

.contacto-info h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    color: var(--color-dark-blue);
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

body.dark-theme .contacto-info h2 {
    color: #FFFFFF;
}

.contacto-info p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--color-dark-blue);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 40px;
}

body.dark-theme .contacto-info p {
    color: #FFFFFF;
}

.contacto-datos {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacto-datos li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-dark-blue);
    font-weight: 500;
}

body.dark-theme .contacto-datos li {
    color: #FFFFFF;
}

.contacto-datos li svg {
    color: var(--color-gold);
}

.contacto-form-wrapper {
    flex: 1;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(15, 28, 63, 0.08);
}

body.dark-theme .contacto-form-wrapper {
    background-color: #0F1C3F;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(15, 28, 63, 0.1);
    background-color: #FAFAFA;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-dark-blue);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.w-100 {
    width: 100%;
    text-align: center;
    justify-content: center;
}

@media (max-width: 820px) {
    .container-contacto {
        flex-direction: column;
        gap: 50px;
    }

    .contacto-form-wrapper {
        width: 100%;
        padding: 30px 20px;
    }
}

/* =========================================
   SECCIÓN TESTIMONIOS
   ========================================= */
.section-testimonios {
    background-color: #FAFAFA;
    /* Un gris muy claro, casi blanco */
    padding: 100px 0;
    transition: background-color var(--transition-fast);
}

body.dark-theme .section-testimonios {
    background-color: #0A1328;
}

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

.section-testimonios .section-subtitle {
    display: block;
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.section-testimonios h2 {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #1A1A1A;
    font-weight: 700;
    position: relative;
    display: inline-block;
    z-index: 1;
}

body.dark-theme .section-testimonios h2 {
    color: #FFFFFF;
}

.section-testimonios h2::before {
    content: "Testimonials";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8em;
    color: #000;
    opacity: 0.03;
    z-index: -1;
    white-space: nowrap;
}

body.dark-theme .section-testimonios h2::before {
    color: #FFF;
    opacity: 0.08;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 30px 10px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: var(--color-white);
    border-radius: 4px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    scroll-snap-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

body.dark-theme .testimonial-card {
    background-color: #0F1C3F;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.testimonial-card.active {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 2;
    background-color: #FFFFFF;
}

body.dark-theme .testimonial-card.active {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background-color: #16244a;
}

.testimonial-author {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
}

body.dark-theme .author-info h4 {
    color: #FFFFFF;
}

.author-info p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}

body.dark-theme .author-info p {
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

body.dark-theme .testimonial-text {
    color: rgba(255, 255, 255, 0.85);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: transparent;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.carousel-btn:hover {
    color: var(--color-dark-blue);
    background-color: rgba(0, 0, 0, 0.05);
}

body.dark-theme .carousel-btn {
    color: #aaa;
}

body.dark-theme .carousel-btn:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    padding: 0;
}

.dot.active {
    background-color: #999;
    transform: scale(1.3);
}

/* Responsive Testimonios */
@media (max-width: 900px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        flex: 0 0 calc(100% - 20px);
    }

    .carousel-btn {
        display: none;
        /* Mejor uso de touch en mobile */
    }
}

/* =========================================
   SECCIÓN CARACTERÍSTICAS
   ========================================= */
.section-caracteristicas {
    background-color: var(--color-white);
    padding: 100px 0;
    transition: background-color var(--transition-fast);
}

body.dark-theme .section-caracteristicas {
    background-color: #0A1328;
}

.section-caracteristicas h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-dark-blue);
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.2;
}

body.dark-theme .section-caracteristicas h2 {
    color: #FFFFFF;
}

.features-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    /* Permite scroll en móvil */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.features-table-wrapper::-webkit-scrollbar {
    display: none;
}

.features-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 600px;
    /* Previene compresión de celdas en dispositivos estrechos */
}

.features-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    align-items: center;
    padding: 24px 30px;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.features-row.header-row {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    padding: 28px 30px;
}

body.dark-theme .features-row.header-row {
    background-color: #12214A;
}

.header-row>div {
    text-transform: uppercase;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-align: center;
}

.header-row .col-lumitix {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.features-row:not(.header-row) {
    background-color: var(--color-white);
    border-left: 1px solid rgba(0, 0, 0, 0.03);
    border-right: 1px solid rgba(0, 0, 0, 0.03);
}

.features-row.alt:not(.header-row) {
    background-color: #F8F6F2;
}

.features-row.border-bottom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

body.dark-theme .features-row:not(.header-row) {
    background-color: #0A1328;
    border-left-color: rgba(255, 255, 255, 0.05);
    border-right-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .features-row.alt:not(.header-row) {
    background-color: #0F1C3F;
}

body.dark-theme .features-row.border-bottom {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.col-feature {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    text-align: left;
    padding-left: 20px;
}

.header-row .col-feature {
    text-align: center;
    padding-left: 0;
}

body.dark-theme .col-feature {
    color: #FFFFFF;
}

.col-lumitix,
.col-others {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-check {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background-color: var(--color-gold);
    border-radius: 50%;
    color: var(--color-white);
}

.icon-check svg {
    width: 14px;
    height: 14px;
}

.icon-cross {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background-color: #E6E8EA;
    border-radius: 50%;
    color: #A0A5AD;
}

body.dark-theme .icon-cross {
    background-color: #1F2C55;
    color: #4B5A8A;
}

.icon-cross svg {
    width: 12px;
    height: 12px;
}

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    background-color: var(--color-dark-blue);
    padding: 50px 0;
    transition: background-color var(--transition-fast);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    font-family: var(--font-sans);
}

.footer-left-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-logo img {
    height: 38px;
    filter: brightness(0) invert(1);
    /* Turns dark logo white for dark blue bg */
    transition: filter var(--transition-fast), transform var(--transition-fast);
}

body.dark-theme .footer-logo img {
    filter: none;
    /* In dark mode, footer is beige, logo stays its natural dark tone */
}

.footer-logo:hover img {
    transform: scale(1.03);
}

.footer-divider {
    width: 1px;
    height: 45px;
    background-color: var(--color-white);
    opacity: 0.2;
}

.footer-mid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0.75;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-white);
    opacity: 0.45;
    margin: 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.social-links {
    display: flex;
    gap: 18px;
    margin: 0;
}

.social-links a {
    color: var(--color-white);
    opacity: 0.75;
    transition: transform var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

.social-links a:hover {
    color: var(--color-gold);
    opacity: 1;
    transform: translateY(-2px);
}

.footer-email {
    font-size: 0.9rem;
    color: var(--color-white);
    opacity: 0.55;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 820px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-left-group {
        flex-direction: column;
        gap: 20px;
    }

    .footer-divider {
        width: 80px;
        height: 1px;
    }

    .footer-mid {
        align-items: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-right {
        align-items: center;
    }
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background-color: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 16px 50px rgba(15, 28, 63, 0.15);
    z-index: 9990;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow), visibility var(--transition-slow);
    border: 1px solid rgba(15, 28, 63, 0.05);
}

.cookie-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.dark-theme .cookie-banner {
    background-color: #0F1C3F;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.08);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

body.dark-theme .cookie-title {
    color: #FFFFFF;
}

.cookie-text p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-dark-blue);
    opacity: 0.75;
    line-height: 1.6;
    margin: 0;
}

body.dark-theme .cookie-text p {
    color: rgba(255, 255, 255, 0.75);
}

.cookie-text a {
    color: var(--color-gold);
    font-weight: 600;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.cookie-text a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.cookie-buttons .btn-primary {
    padding: 12px 24px;
    font-size: 0.95rem;
    flex: 1;
    text-align: center;
    border-radius: 50px;
}

.cookie-buttons .btn-outline.cookie-outline {
    padding: 12px 24px;
    font-size: 0.95rem;
    border: 2px solid rgba(15, 28, 63, 0.15);
    background-color: transparent;
    color: var(--color-dark-blue);
    flex: 1;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.cookie-buttons .btn-outline.cookie-outline:hover {
    background-color: rgba(15, 28, 63, 0.04);
    border-color: rgba(15, 28, 63, 0.3);
}

body.dark-theme .cookie-buttons .btn-outline.cookie-outline {
    border-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

body.dark-theme .cookie-buttons .btn-outline.cookie-outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 24px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons .btn-primary,
    .cookie-buttons .btn-outline.cookie-outline {
        width: 100%;
    }
}

/* =========================================
   SECCIÓN ENTRENAMIENTO
   ========================================= */

/* Hero Entrenamiento */
.entrenamiento-hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: #fff;
}

.entrenamiento-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.entrenamiento-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 28, 63, 0.7), rgba(10, 19, 40, 0.9));
    z-index: -1;
}

.entrenamiento-hero .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    font-weight: 700;
}

.entrenamiento-hero .hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Features Banner */
.features-banner {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.feature-item {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-box {
    background-color: var(--color-gold);
    color: var(--color-dark-blue);
    justify-content: space-between;
}

.highlight-box h3 {
    font-size: 1.4rem;
    margin: 0;
}

.dark-box {
    background-color: var(--color-dark-blue);
    color: #fff;
}

body.dark-theme .dark-box {
    background-color: #1a2235;
}

.border-left {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-text h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.feature-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* About Entrenamiento */
.about-entrenamiento {
    padding: 100px 0;
}

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

.about-desc {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.8;
}

.about-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.bullet-item h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.bullet-item p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
}

.about-images {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-images .img-main {
    width: 80%;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.about-images .img-overlay {
    width: 60%;
    position: absolute;
    bottom: -30px;
    right: 0;
    border: 10px solid var(--color-bg);
    border-radius: 8px;
    z-index: 3;
}

body.dark-theme .about-images .img-overlay {
    border-color: var(--color-dark-bg);
}

.decorative-square {
    width: 100px;
    height: 100px;
    background-color: var(--color-gold);
    position: absolute;
    bottom: -15px;
    right: -15px;
    z-index: 1;
}

/* Stats Banner */
.stats-banner {
    background-color: var(--color-dark-blue);
    color: #fff;
    padding: 60px 0;
}

body.dark-theme .stats-banner {
    background-color: #0b1120;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item.border-none {
    border-right: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    opacity: 0.7;
    font-size: 1rem;
    margin: 0;
}

/* Services Grid Section */
.services-section {
    padding: 100px 0;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.services-header .header-left {
    flex: 1;
}

.services-header .header-right {
    flex: 1;
    position: relative;
}

.line-deco {
    width: 80px;
    height: 3px;
    background-color: var(--color-gold);
    margin-top: 20px;
}

.services-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.services-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.service-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: flex-end;
}

.service-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 28, 63, 0.9), transparent);
    z-index: 1;
}

.service-card:hover .card-bg {
    transform: scale(1.05);
}

.service-info {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
}

.service-info h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-info p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.btn-service {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--color-gold);
    color: var(--color-dark-blue);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color var(--transition-fast);
}

.btn-service:hover {
    background-color: #fff;
}

.card-tall {
    min-height: 600px;
}

.card-wide {
    min-height: 290px;
}

.card-square {
    min-height: 290px;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item.border-left {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .about-images {
        margin-top: 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
    }

    .services-bottom-row {
        grid-template-columns: 1fr;
    }

    .about-bullets {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SECCIÓN SUSCRIPCIÓN
   ========================================= */
.section-suscripcion {
    position: relative;
    padding: 100px 0;
    background-image: url('../img/fondoHero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.suscripcion-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 28, 63, 0.85);
    z-index: 1;
}

body.dark-theme .suscripcion-bg-overlay {
    background-color: rgba(10, 19, 40, 0.95);
}

.section-suscripcion .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-suscripcion .section-header {
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-white);
}

.section-suscripcion .section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: var(--color-white);
}

.section-suscripcion .section-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.suscripcion-wrapper {
    width: 100%;
    max-width: 450px;
    position: relative;
}

.suscripcion-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.suscripcion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

body.dark-theme .suscripcion-card {
    background: #0A1328;
    border-color: rgba(212, 175, 55, 0.2);
}

.suscripcion-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #FFDF00, #D4AF37);
    color: #000;
    padding: 5px 40px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    z-index: 10;
}

.suscripcion-header {
    background: linear-gradient(135deg, #4b1b82, #762dc4);
    padding: 30px 20px;
    text-align: center;
    color: #fff;
}

.suscripcion-header h3 {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.suscripcion-header h3 span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 5px;
}

.suscripcion-body {
    padding: 40px 30px;
}

.suscripcion-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.suscripcion-icon svg {
    width: 60px;
    height: 60px;
    color: #5b21b6;
}

body.dark-theme .suscripcion-icon svg {
    color: #8b5cf6;
}

.suscripcion-benefits {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.suscripcion-benefits li {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: var(--color-dark-blue);
    font-weight: 500;
}

body.dark-theme .suscripcion-benefits li {
    color: #F5F1E8;
}

.suscripcion-benefits li svg {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    color: #5b21b6;
    flex-shrink: 0;
}

body.dark-theme .suscripcion-benefits li svg {
    color: #8b5cf6;
}

.suscripcion-divider {
    border: none;
    border-top: 2px solid rgba(91, 33, 182, 0.2);
    margin: 25px 0;
}

body.dark-theme .suscripcion-divider {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.suscripcion-prices {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.suscripcion-prices li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--color-dark-blue);
}

body.dark-theme .suscripcion-prices li {
    color: #F5F1E8;
}

.suscripcion-prices li span {
    font-weight: 500;
}

.suscripcion-prices li strong {
    font-weight: 700;
    color: #5b21b6;
    font-size: 1.2rem;
}

body.dark-theme .suscripcion-prices li strong {
    color: #8b5cf6;
}

@media (max-width: 600px) {
    .suscripcion-wrapper {
        padding: 0 15px;
    }

    .suscripcion-header h3 {
        font-size: 1.4rem;
    }

    .section-suscripcion {
        padding: 80px 0;
    }

    .suscripcion-body {
        padding: 30px 20px;
    }
}

/* =========================================
   SECCIÓN PACKS PREMIUM
   ========================================= */
.section-packs-premium {
    position: relative;
    padding: 100px 0;
    background-image: url('../img/fondo-Lumitix.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-packs-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(245, 241, 232, 0.85);
    /* var(--color-beige) */
    z-index: 1;
    transition: background-color var(--transition-fast);
}

body.dark-theme .section-packs-premium::before {
    background-color: rgba(10, 19, 40, 0.90);
    /* #0A1328 */
}

.section-packs-premium .container {
    position: relative;
    z-index: 2;
}

.section-packs-premium .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-packs-premium h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--color-dark-blue);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

body.dark-theme .section-packs-premium h2 {
    color: var(--color-white);
}

.section-packs-premium p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-dark-blue);
    opacity: 0.8;
}

body.dark-theme .section-packs-premium p {
    color: var(--color-white);
}

.packs-premium-wrapper {
    position: relative;
    z-index: 2;
}

@media (max-width: 600px) {
    .section-packs-premium {
        padding: 80px 0;
    }
}

/* =========================================
   SECCIÓN SUSCRIPCIONES
   ========================================= */
.section-subscriptions {
    padding: 100px 0;
    background-color: var(--color-bg);
}

body.dark-theme .section-subscriptions {
    background-color: var(--color-dark-bg);
}

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

.section-subscriptions h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--color-dark-blue);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

body.dark-theme .section-subscriptions h2 {
    color: var(--color-white);
}

.section-subscriptions p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-dark-blue);
    opacity: 0.8;
}

body.dark-theme .section-subscriptions p {
    color: var(--color-white);
}

.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.subs-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(15, 28, 63, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid rgba(15, 28, 63, 0.05);
    height: 100%;
}

.subs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(15, 28, 63, 0.12);
}

body.dark-theme .subs-card {
    background-color: #1a2235;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

body.dark-theme .subs-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.subs-card.highlighted {
    background-color: #0F1C3F;
    color: #ffffff;
    transform: scale(1.05);
    border: none;
    box-shadow: 0 20px 60px rgba(15, 28, 63, 0.2);
    z-index: 2;
}

.subs-card.highlighted:hover {
    transform: scale(1.05) translateY(-5px);
}

body.dark-theme .subs-card.highlighted {
    background-color: #0A1328;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.subs-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .subs-badge {
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--color-gold);
    border-color: rgba(212, 175, 55, 0.3);
}

.subs-header {
    margin-bottom: 30px;
}

.subs-header h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-dark-blue);
    margin-bottom: 15px;
}

body.dark-theme .subs-card:not(.highlighted) .subs-header h3 {
    color: #ffffff;
}

.subs-card.highlighted .subs-header h3 {
    color: #ffffff;
}

.subs-header p {
    font-size: 0.95rem;
    color: var(--color-dark-blue);
    opacity: 0.7;
    margin: 0;
    line-height: 1.5;
}

body.dark-theme .subs-card:not(.highlighted) .subs-header p {
    color: #ffffff;
    opacity: 0.8;
}

.subs-card.highlighted .subs-header p {
    color: #ffffff;
    opacity: 0.8;
}

.subs-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.subs-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--color-dark-blue);
    font-weight: 500;
}

body.dark-theme .subs-card:not(.highlighted) .subs-features li {
    color: #f5f1e8;
}

.subs-card.highlighted .subs-features li {
    color: #ffffff;
}

.subs-features li svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.subs-card.highlighted .subs-features li svg {
    color: #ffffff;
    opacity: 0.9;
}

body.dark-theme .subs-card.highlighted .subs-features li svg {
    color: var(--color-gold);
}

.subs-price-wrapper {
    margin-bottom: 30px;
}

.subs-price {
    display: flex;
    align-items: baseline;
}

.subs-price .price-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    line-height: 1;
    letter-spacing: -1px;
}

.subs-price .price-period {
    font-size: 1rem;
    color: var(--color-dark-blue);
    opacity: 0.6;
    margin-left: 5px;
    font-weight: 500;
}

body.dark-theme .subs-card:not(.highlighted) .price-value,
body.dark-theme .subs-card:not(.highlighted) .price-period {
    color: #ffffff;
}

.subs-card.highlighted .price-value,
.subs-card.highlighted .price-period {
    color: #ffffff;
}

.subs-card.highlighted .price-period {
    opacity: 0.8;
}

.subs-btn {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 50px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 1rem;
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    transition: all var(--transition-fast);
    text-decoration: none;
    margin-top: auto;
}

.subs-btn:hover {
    background-color: var(--color-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

body.dark-theme .subs-btn {
    background-color: var(--color-gold);
    color: var(--color-dark-blue);
}

body.dark-theme .subs-btn:hover {
    background-color: #ffffff;
}

.subs-btn-gold {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #ffffff;
    color: var(--color-dark-blue);
    border-radius: 50px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    text-decoration: none;
    margin-top: auto;
}

.subs-btn-gold:hover {
    background-color: var(--color-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

body.dark-theme .subs-btn-gold {
    background-color: var(--color-gold);
    color: var(--color-dark-blue);
}

body.dark-theme .subs-btn-gold:hover {
    background-color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
    .subscriptions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subs-card.highlighted {
        transform: scale(1);
    }

    .subs-card.highlighted:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .subscriptions-grid {
        grid-template-columns: 1fr;
    }

    .subs-card {
        padding: 30px;
    }
}