/* Variables CSS */
:root {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-secondary: #2b6cb0;
    --color-accent: #ed8936;
    --color-accent-dark: #dd6b20;
    --color-white: #ffffff;
    --color-gray-50: #f7fafc;
    --color-gray-100: #edf2f7;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e0;
    --color-gray-400: #a0aec0;
    --color-gray-500: #718096;
    --color-gray-600: #4a5568;
    --color-gray-700: #2d3748;
    --color-gray-800: #1a202c;
    --color-plus: #2b6cb0;
    --color-riovida: #805ad5;
    --color-energy: #ed8936;
    
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
}

/* Reset y estilos base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-gray-50);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 52px;
    width: auto;
    border-radius: 8px;
    display: block;
}

.logo-txt h1 {
    color: var(--color-white);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.1;
}

.logo h1 {
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo .tagline {
    color: var(--color-gray-300);
    font-size: 0.85rem;
    display: block;
    margin-top: 2px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.nav a.active::after {
    width: 100%;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-product {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    width: 100%;
    padding: 14px 24px;
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary-light) 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero h2 {
    color: var(--color-white);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    color: var(--color-gray-200);
    font-size: 1.15rem;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* Sección de Productos */
.productos-section {
    padding: 80px 20px;
    background-color: var(--color-gray-50);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-gray-500);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Tarjetas de Producto */
.producto-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.producto-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    padding: 12px 20px;
    display: flex;
    justify-content: flex-end;
}

.card-header.card-plus {
    background: linear-gradient(135deg, var(--color-plus) 0%, #1a365d 100%);
}

.card-header.card-riovida {
    background: linear-gradient(135deg, var(--color-riovida) 0%, #553c9a 100%);
}

.card-header.card-energy {
    background: linear-gradient(135deg, var(--color-energy) 0%, #c05621 100%);
}

.card-header.card-crema {
    background: linear-gradient(135deg, #805ad5 0%, #553c9a 100%);
}

.card-header.card-bienestar {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.badge {
    background: rgba(255, 255, 255, 0.25);
    color: var(--color-white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 30px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.producto-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-plus ~ .card-body .producto-icon,
.card-header.card-plus + .card-body .producto-icon {
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.1) 0%, rgba(26, 54, 93, 0.1) 100%);
    color: var(--color-plus);
}

.card-riovida ~ .card-body .producto-icon,
.card-header.card-riovida + .card-body .producto-icon {
    background: linear-gradient(135deg, rgba(128, 90, 213, 0.1) 0%, rgba(85, 60, 154, 0.1) 100%);
    color: var(--color-riovida);
}

.card-energy ~ .card-body .producto-icon,
.card-header.card-energy + .card-body .producto-icon {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.1) 0%, rgba(192, 86, 33, 0.1) 100%);
    color: var(--color-energy);
}

.card-crema ~ .card-body .producto-icon,
.card-header.card-crema + .card-body .producto-icon {
    background: linear-gradient(135deg, rgba(128, 90, 213, 0.1) 0%, rgba(85, 60, 154, 0.1) 100%);
    color: var(--color-riovida);
}

.card-bienestar ~ .card-body .producto-icon,
.card-header.card-bienestar + .card-body .producto-icon {
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.1) 0%, rgba(47, 133, 90, 0.1) 100%);
    color: #38a169;
}

.producto-icon svg {
    width: 32px;
    height: 32px;
}

.producto-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: var(--border-radius-sm);
}

.producto-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 12px;
}

.producto-desc {
    color: var(--color-gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.producto-features {
    list-style: none;
    margin-bottom: 20px;
}

.producto-features li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.producto-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.producto-price {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--color-gray-50);
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
}

.price-label {
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.card-footer {
    padding: 0 24px 24px;
}

/* Secciones con fondo diferente */
.section-riovida {
    background-color: var(--color-gray-100);
}

.section-cremas {
    background-color: var(--color-gray-100);
}

/* Sección de Contacto */
.contacto-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 80px 20px;
    text-align: center;
}

.contacto-section .section-title,
.contacto-section .section-subtitle {
    color: var(--color-white);
}

.contacto-section .section-subtitle {
    color: var(--color-gray-200);
    margin-bottom: 40px;
}

.contacto-section .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
}

.contacto-section .btn-primary:hover {
    background: var(--color-gray-100);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--color-gray-800);
    color: var(--color-gray-400);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.footer-brand h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-disclaimer p {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-gray-700);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header .container {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .logo {
        text-align: center;
        flex-direction: column;
        justify-content: center;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    .logo .tagline {
        font-size: 0.8rem;
    }

    .nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        font-size: 0.85rem;
        padding: 5px 0;
    }

    .hero {
        padding: 50px 15px;
    }

    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 35px;
    }

    .productos-section {
        padding: 50px 15px;
    }

    .productos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
    }

    .producto-card {
        margin: 0 auto;
        max-width: 380px;
    }

    .card-body {
        padding: 20px 18px;
    }

    .producto-img {
        width: 100%;
        height: 200px;
        object-fit: contain;
        margin-bottom: 15px;
    }

    .producto-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .producto-desc {
        font-size: 0.88rem;
        margin-bottom: 12px;
    }

    .producto-features li {
        font-size: 0.82rem;
        padding: 4px 0;
        padding-left: 20px;
    }

    .producto-price {
        padding: 10px 12px;
        margin-bottom: 15px;
    }

    .price-value {
        font-size: 1.3rem;
    }

    .card-footer {
        padding: 0 18px 18px;
    }

    .btn-product {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    .contacto-section {
        padding: 50px 15px;
    }

    .contacto-section .section-title {
        font-size: 1.6rem;
    }

    .contacto-section .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .btn-large {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .footer {
        padding: 40px 15px 25px;
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
    }

    .footer-disclaimer p {
        font-size: 0.8rem;
    }

    .footer-bottom {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .logo .tagline {
        font-size: 0.75rem;
    }

    .nav ul {
        gap: 12px;
    }

    .nav a {
        font-size: 0.8rem;
    }

    .hero {
        padding: 40px 12px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.88rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.88rem;
    }

    .productos-section {
        padding: 40px 12px;
    }

    .producto-card {
        max-width: 100%;
    }

    .card-body {
        padding: 15px 15px;
    }

    .producto-img {
        height: 180px;
    }

    .producto-card h3 {
        font-size: 1.1rem;
    }

    .producto-desc {
        font-size: 0.82rem;
    }

    .producto-features li {
        font-size: 0.78rem;
        padding-left: 18px;
    }

    .price-value {
        font-size: 1.2rem;
    }

    .price-label {
        font-size: 0.78rem;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .btn-product {
        padding: 11px 16px;
        font-size: 0.82rem;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
    }

    .floating-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 360px) {
    .logo h1 {
        font-size: 1.3rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 0.82rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .producto-card h3 {
        font-size: 1rem;
    }

    .producto-desc {
        font-size: 0.78rem;
    }

    .producto-features li {
        font-size: 0.72rem;
    }

    .price-value {
        font-size: 1.1rem;
    }
}

/* Botones Flotantes de Redes Sociales */
.floating-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
}

.floating-btn svg {
    width: 30px;
    height: 30px;
    color: var(--color-white);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0d5ec9 100%);
}

.facebook-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.producto-card {
    animation: fadeInUp 0.6s ease forwards;
}

.productos-grid .producto-card:nth-child(1) {
    animation-delay: 0.1s;
}

.productos-grid .producto-card:nth-child(2) {
    animation-delay: 0.2s;
}

.productos-grid .producto-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive para botones flotantes */
@media (max-width: 768px) {
    .floating-buttons {
        right: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn svg {
        width: 24px;
        height: 24px;
    }
}
/* ===== NUEVA SECCIÓN MULTIMEDIA: Banner con vídeo de fondo ===== */
.video-hero {
    position: relative;
    width: 100%;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-hero__background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.video-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 20, 40, 0.5);
}

.video-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.video-hero__card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--border-radius);
    padding: 45px 40px;
    max-width: 620px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.video-hero__title {
    color: var(--color-primary);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 14px;
}

.video-hero__subtitle {
    color: var(--color-primary-light);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 28px;
}

.video-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 38px;
    border: none;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-white);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.video-hero__button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive: banner con vídeo */
@media (max-width: 768px) {
    .video-hero {
        min-height: 55vh;
    }

    .video-hero__card {
        padding: 30px 22px;
    }
}

@media (max-width: 480px) {
    .video-hero {
        min-height: 60vh;
    }

    .video-hero__content {
        padding: 30px 14px;
    }

    .video-hero__card {
        padding: 28px 18px;
    }

    .video-hero__button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}
/* ===== SECCIÓN INFORMATIVA DE PRODUCTO (Transfer Factor Max) ===== */
.product-info-section {
    background-color: var(--color-white);
    padding: 60px 20px;
    border-bottom: 1px solid var(--color-gray-200);
}

.product-info-section__header {
    background: linear-gradient(135deg, var(--color-riovida) 0%, #553c9a 100%);
    color: var(--color-white);
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    padding: 18px 24px;
    border-radius: var(--border-radius);
    margin-bottom: 45px;
    line-height: 1.5;
}

.product-info-section__container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.product-info-section__media {
    width: 100%;
}

.product-info-section__video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    background-color: #000;
}

.product-info-section__content {
    text-align: left;
}

.product-info-section__title {
    color: var(--color-primary);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 22px;
}

.product-info-section__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-info-section__list li {
    position: relative;
    padding-left: 26px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--color-gray-700);
}

.product-info-section__list li::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-riovida);
}

/* Responsive: video arriba, informacion abajo */
@media (max-width: 900px) {
    .product-info-section__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .product-info-section {
        padding: 40px 14px;
    }

    .product-info-section__header {
        font-size: 0.95rem;
        padding: 14px 16px;
        margin-bottom: 30px;
    }
}
/* =====================================================
   SPA CONTINUA - NUEVAS SECCIONES
   (Hero visión, Promociones, Banner Catálogo, Inscripción)
   ===================================================== */

/* ---------- Sección Hero: fondo azul corporativo (igual al header) ---------- */
.hero-vision {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 80px 20px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.hero-vision .container {
    position: relative;
    z-index: 1;
}

.hero-vision__title {
    color: var(--color-white);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 42px;
}

.hero-vision__card {
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 24px 50px rgba(26, 54, 93, 0.22);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    text-align: left;
}

.hero-vision__media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f5fc 0%, #ffffff 100%);
    min-height: 340px;
    padding: 30px;
}

.hero-vision__media img {
    max-width: 100%;
    max-height: 360px;
    height: auto;
    object-fit: contain;
}

.hero-vision__text {
    padding: 40px 38px;
}

.hero-vision__text p {
    text-transform: uppercase;
    color: var(--color-gray-700);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.hero-vision__author {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.05rem;
}

/* ---------- Sección Promociones ---------- */
.promos-section {
    background: var(--color-white);
    padding: 80px 20px;
}

.promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 45px;
}

.promo-card {
    background: var(--color-white);
    border-radius: 28px;
    box-shadow: 0 15px 30px rgba(26, 54, 93, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(26, 54, 93, 0.18);
}

.promo-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.promo-card p {
    text-align: center;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.15rem;
    padding: 20px 15px;
}

/* ---------- Banner de Catálogo (Transición) ---------- */
.catalog-banner {
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 70px 20px;
    color: var(--color-white);
}

.catalog-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    pointer-events: none;
}

.catalog-banner .container {
    position: relative;
}

.catalog-banner h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    margin-bottom: 12px;
}

.catalog-banner p {
    color: var(--color-gray-200);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

/* ---------- Sección de Inscripción ---------- */
.inscription-section {
    background: linear-gradient(135deg, #12294d 0%, var(--color-primary) 55%, #233a6b 100%);
    clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
    padding: 90px 20px 140px;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.inscription__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.inscription__text {
    text-align: left;
}

.inscription__text h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.inscription__text p {
    color: var(--color-gray-200);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.btn-inscription {
    background: #ffd700;
    color: var(--color-primary);
    border-radius: 50px;
    padding: 16px 38px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-inscription:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(255, 215, 0, 0.45);
}

.inscription__img img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- Grid de catálogo 100% responsivo (3 cols PC, 1 móvil) ---------- */
.productos-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-vision__card {
        grid-template-columns: 1fr;
    }
    .inscription__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .inscription__img {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-vision {
        padding: 55px 15px 60px;
    }
    .hero-vision__text {
        padding: 26px 22px;
    }
    .promos-section {
        padding: 55px 14px;
    }
    .promo-card img {
        height: 190px;
    }
    .catalog-banner {
        padding: 55px 16px;
    }
    .inscription-section {
        padding: 70px 14px 115px;
    }
    .inscription__text h2 {
        font-size: 1.6rem;
    }
}
/* =====================================================
   NUEVA ERA - BANNER TRANSFER FACTOR MAX (vídeo de fondo)
   2ª corrección de diseño: sección full-width con vídeo
   ===================================================== */
.max-banner {
    background-color: #0d1b33; /* color de respaldo mientras carga el vídeo */
    min-height: 400px;
}

/* Tarjeta blanca sólida (no translúcida) para este banner */
.max-banner .video-hero__card {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.max-banner .video-hero__button {
    border-radius: 50px;
}

@media (max-width: 480px) {
    .max-banner {
        min-height: 400px;
    }
}
/* ---------- Sección Nuestros Productos Destacados (fondo blanco) ---------- */
.section-destacados {
    background-color: var(--color-white);
}
