/* Reset y fuentes del sistema */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables de color para tema claro y oscuro */
:root {
    /* Tema claro (Apple) */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fafafa;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --border-color: rgba(0, 0, 0, 0.05);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.95);
    --card-bg: #fafafa;
    --card-bg-hover: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --accent-green: #FFD700;
    --accent-blue: #007aff;
    --accent-orange: #ff9500;
}

[data-theme="dark"] {
    /* Tema oscuro (Apple) */
    --bg-primary: #000000;
    --bg-secondary: #1c1c1e;
    --bg-tertiary: #2c2c2e;
    --text-primary: #ffffff;
    --text-secondary: #98989d;
    --border-color: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(0, 0, 0, 0.8);
    --nav-bg-scrolled: rgba(0, 0, 0, 0.95);
    --card-bg: #1c1c1e;
    --card-bg-hover: #2c2c2e;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.5);
    --accent-green: #FFD700;
    --accent-blue: #0a84ff;
    --accent-orange: #ff9f0a;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-tertiary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navegación */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background-color: var(--border-color);
}

/* Botón de toggle de tema */
.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--card-bg-hover);
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.theme-toggle svg {
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: absolute;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Imagen del producto */
.product-image-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px var(--shadow-medium);
    border: 1px solid var(--border-color);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.product-image {
    max-width: 100%;
    max-height: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 40px var(--shadow-medium);
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px var(--shadow-medium);
}

[data-theme="dark"] .product-image {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .product-image:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Layout principal */
main {
    padding-top: 64px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section del Producto */
.producto-hero {
    min-height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 0 48px;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.producto-badge {
    display: inline-block;
    background: var(--accent-green);
    color: black;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(52, 199, 89, 0.3);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-showcase {
    position: relative;
}

.product-image-placeholder {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px var(--shadow-medium);
    border: 1px solid var(--border-color);
    animation: float 6s ease-in-out infinite;
}

/* Animaciones de entrada */
.fade-in-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estados visibles */
.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Retrasos escalonados */
.fade-in-left {
    transition-delay: 0.1s;
}

.fade-in-right {
    transition-delay: 0.2s;
}

/* Secciones */
section {
    padding: 120px 0;
}

section:nth-child(even) {
    background: var(--bg-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Beneficios Section */
.beneficios {
    background: var(--bg-primary);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.beneficio-card {
    background: var(--card-bg);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.beneficio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 199, 89, 0.1), transparent);
    transition: left 0.6s ease;
}

.beneficio-card:hover::before {
    left: 100%;
}

.beneficio-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px var(--shadow-medium);
    background: var(--card-bg-hover);
}

.beneficio-icon {
    width: 48px;
    height: 48px;
    background: rgba(52, 199, 89, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.beneficio-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.beneficio-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Información Nutricional - Círculos Flotantes */
.informacion-nutricional {
    background: var(--bg-tertiary);
}

.nutricional-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.nutricional-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.nutricional-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.analisis-tabla {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px var(--shadow-light);
}

.analisis-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.analisis-item:last-child {
    border-bottom: none;
}

.nutriente {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.porcentaje {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 600;
}

.nutricional-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* DESKTOP - Círculos con animaciones de órbita */
.floating-stats {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-circle {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
    z-index: 10;
    position: relative;
}

.secondary-circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px var(--shadow-medium);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Asegurar que todos los círculos sean clickeables en todas las pantallas */
.secondary-circle,
.main-circle {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Efectos de interacción SOLO para desktop */
@media (hover: hover) and (pointer: fine) {
    .secondary-circle:hover {
        transform: scale(1.1);
        box-shadow: 0 15px 35px var(--shadow-medium);
    }
    
    .main-circle:hover {
        transform: scale(1.05);
        box-shadow: 0 25px 50px rgba(255, 215, 0, 0.4);
    }
}

/* Interacción táctil SOLO para móviles */
@media (hover: none) and (pointer: coarse) {
    .secondary-circle:hover {
        transform: none !important;
    }
    
    .secondary-circle:active {
        transform: scale(0.95) !important;
        transition: transform 0.1s ease !important;
    }
    
    .main-circle:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
    
    /* Asegurar que todos los círculos sean clickeables */
    .secondary-circle,
    .main-circle {
        cursor: pointer !important;
        touch-action: manipulation !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    /* Feedback visual al tocar */
    .secondary-circle:active::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: ripple 0.3s ease-out;
    }
    
    .main-circle:active::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: ripple 0.3s ease-out;
    }
    
    @keyframes ripple {
        0% {
            transform: translate(-50%, -50%) scale(0);
            opacity: 1;
        }
        100% {
            transform: translate(-50%, -50%) scale(1.2);
            opacity: 0;
        }
    }
}

/* Círculos secundarios para DESKTOP */
.circle-humedad {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #007aff, #0051d4);
    top: 50px;
    right: 20px;
    animation: orbit-1 12s linear infinite;
}

.circle-fibra {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff9500, #cc7700);
    bottom: 40px;
    right: 60px;
    animation: orbit-2 15s linear infinite;
}

.circle-cenizas {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8e44ad, #6c3483);
    top: 80px;
    left: 30px;
    animation: orbit-3 18s linear infinite;
}

.circle-grasa {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    bottom: 80px;
    left: 40px;
    animation: orbit-4 20s linear infinite;
}

/* Contenido de los círculos */
.stat-content {
    text-align: center;
    color: white;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-content p {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.9;
}

.secondary-circle .stat-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.secondary-circle .stat-content p {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    color: white;
}

/* Animaciones de órbita - solo para desktop */
@keyframes orbit-1 {
    0% { transform: rotate(0deg) translateX(80px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

@keyframes orbit-2 {
    0% { transform: rotate(90deg) translateX(90px) rotate(-90deg); }
    100% { transform: rotate(450deg) translateX(90px) rotate(-450deg); }
}

@keyframes orbit-3 {
    0% { transform: rotate(180deg) translateX(70px) rotate(-180deg); }
    100% { transform: rotate(540deg) translateX(70px) rotate(-540deg); }
}

@keyframes orbit-4 {
    0% { transform: rotate(270deg) translateX(85px) rotate(-270deg); }
    100% { transform: rotate(630deg) translateX(85px) rotate(-630deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* TABLET - Reducir tamaños pero mantener órbitas */
@media (max-width: 1024px) {
    .nutricional-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .floating-stats {
        width: 350px;
        height: 350px;
    }
    
    .main-circle {
        width: 160px;
        height: 160px;
    }
    
    .stat-content h3 {
        font-size: 2rem;
    }
    
    .stat-content p {
        font-size: 1rem;
    }
    
    .circle-humedad {
        width: 100px;
        height: 100px;
    }
    
    .circle-fibra {
        width: 85px;
        height: 85px;
    }
    
    .circle-cenizas {
        width: 70px;
        height: 70px;
    }
    
    .circle-grasa {
        width: 60px;
        height: 60px;
    }
    
    .secondary-circle .stat-content h4 {
        font-size: 0.85rem;
    }
    
    .secondary-circle .stat-content p {
        font-size: 0.65rem;
    }
}

/* MÓVIL - Mantener órbitas pero más grandes y clickeables */
@media (max-width: 600px) {
    .nutricional-visual {
        width: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .floating-stats {
        position: relative !important;
        width: 350px !important;
        height: 350px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    /* Círculo principal más grande */
    .main-circle {
        width: 160px !important;
        height: 160px !important;
        position: relative !important;
        z-index: 10;
        animation: float 6s ease-in-out infinite !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
    }
    
    /* Círculos secundarios más grandes y mejor área de toque */
    .secondary-circle {
        position: absolute !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        z-index: 5 !important;
    }
    
    .circle-humedad {
        width: 95px !important;
        height: 95px !important;
        animation: orbit-mobile-1 10s linear infinite !important;
    }
    
    .circle-fibra {
        width: 85px !important;
        height: 85px !important;
        animation: orbit-mobile-2 12s linear infinite !important;
    }
    
    .circle-cenizas {
        width: 75px !important;
        height: 75px !important;
        animation: orbit-mobile-3 14s linear infinite !important;
    }
    
    .circle-grasa {
        width: 70px !important;
        height: 70px !important;
        animation: orbit-mobile-4 16s linear infinite !important;
    }
    
    .stat-content h3 {
        font-size: 1.6rem !important;
    }
    
    .stat-content p {
        font-size: 0.9rem !important;
    }
    
    .secondary-circle .stat-content h4 {
        font-size: 0.85rem !important;
    }
    
    .secondary-circle .stat-content p {
        font-size: 0.65rem !important;
    }
}

/* MÓVIL MUY PEQUEÑO - Órbitas grandes pero compactas */
@media (max-width: 480px) {
    .floating-stats {
        width: 320px !important;
        height: 320px !important;
    }
    
    .main-circle {
        width: 140px !important;
        height: 140px !important;
    }
    
    .circle-humedad {
        width: 85px !important;
        height: 85px !important;
    }
    
    .circle-fibra {
        width: 75px !important;
        height: 75px !important;
    }
    
    .circle-cenizas {
        width: 70px !important;
        height: 70px !important;
    }
    
    .circle-grasa {
        width: 65px !important;
        height: 65px !important;
    }
    
    .stat-content h3 {
        font-size: 1.4rem !important;
    }
    
    .stat-content p {
        font-size: 0.8rem !important;
    }
    
    .secondary-circle .stat-content h4 {
        font-size: 0.8rem !important;
    }
    
    .secondary-circle .stat-content p {
        font-size: 0.6rem !important;
    }
}

/* Animaciones de órbita específicas para móvil - órbitas más grandes */
@media (max-width: 600px) {
    @keyframes orbit-mobile-1 {
        0% { transform: rotate(0deg) translateX(70px) rotate(0deg); }
        100% { transform: rotate(360deg) translateX(70px) rotate(-360deg); }
    }

    @keyframes orbit-mobile-2 {
        0% { transform: rotate(90deg) translateX(75px) rotate(-90deg); }
        100% { transform: rotate(450deg) translateX(75px) rotate(-450deg); }
    }

    @keyframes orbit-mobile-3 {
        0% { transform: rotate(180deg) translateX(65px) rotate(-180deg); }
        100% { transform: rotate(540deg) translateX(65px) rotate(-540deg); }
    }

    @keyframes orbit-mobile-4 {
        0% { transform: rotate(270deg) translateX(70px) rotate(-270deg); }
        100% { transform: rotate(630deg) translateX(70px) rotate(-630deg); }
    }
}

/* Animaciones móvil muy pequeño - órbitas medianas */
@media (max-width: 480px) {
    @keyframes orbit-mobile-1 {
        0% { transform: rotate(0deg) translateX(60px) rotate(0deg); }
        100% { transform: rotate(360deg) translateX(60px) rotate(-360deg); }
    }

    @keyframes orbit-mobile-2 {
        0% { transform: rotate(90deg) translateX(65px) rotate(-90deg); }
        100% { transform: rotate(450deg) translateX(65px) rotate(-450deg); }
    }

    @keyframes orbit-mobile-3 {
        0% { transform: rotate(180deg) translateX(55px) rotate(-180deg); }
        100% { transform: rotate(540deg) translateX(55px) rotate(-540deg); }
    }

    @keyframes orbit-mobile-4 {
        0% { transform: rotate(270deg) translateX(60px) rotate(-270deg); }
        100% { transform: rotate(630deg) translateX(60px) rotate(-630deg); }
    }
}

/* Deshabilitar animaciones para usuarios que prefieren movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .main-circle,
    .circle-humedad,
    .circle-fibra,
    .circle-cenizas,
    .circle-grasa {
        animation: none !important;
    }
}



/* Uso y Dosis */
.uso-dosis {
    background: var(--bg-primary);
}

.dosis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.dosis-card {
    background: var(--card-bg);
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.dosis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px var(--shadow-light);
    background: var(--card-bg-hover);
}

.dosis-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.dosis-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Ingredientes */
.ingredientes {
    background: var(--bg-tertiary);
}

.ingredientes-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ingredientes-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.ingredientes-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.ingredientes-text {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px var(--shadow-light);
}

.ingredientes-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Advertencias */
.advertencias {
    background: var(--bg-primary);
}

.advertencias-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.advertencias-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.advertencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.advertencia-item {
    background: rgba(255, 149, 0, 0.1);
    padding: 24px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 149, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
}

.advertencia-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.advertencia-item p {
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

/* Fabricante */
.fabricante {
    background: var(--bg-secondary);
}

.fabricante-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.fabricante-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.fabricante-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 12px;
}

.fabricante-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contacto-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contacto-link:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
    filter: brightness(1.2);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
}

footer p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive Design General */
@media (max-width: 1024px) {
    .producto-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        height: 56px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    main {
        padding-top: 56px;
    }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 80px 0;
    }

    .producto-hero {
        padding: 0 16px;
        min-height: 70vh;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 48px;
    }

    .product-image {
        max-height: 280px;
    }

    .dosis-grid {
        grid-template-columns: 1fr;
    }

    .advertencias-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 12px 16px;
        gap: 12px;
    }

    .nav-links {
        gap: 12px;
    }

    main {
        padding-top: 80px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .nutricional-content h2 {
        font-size: 2rem;
    }

    .fabricante-content h2 {
        font-size: 1.75rem;
    }

    .product-image {
        max-height: 220px;
    }

    /* Deshabilitar animaciones complejas en móviles pequeños */
    .fade-in-up,
    .fade-in-left,
    .fade-in-right,
    .scale-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Optimización de performance */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up,
    .fade-in-left,
    .fade-in-right,
    .scale-in,
    .product-image-placeholder {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Mejoras adicionales para animaciones suaves */
* {
    will-change: auto;
}

.fade-in-up,
.fade-in-left,
.fade-in-right,
.scale-in {
    will-change: opacity, transform;
}

/* Estados de focus mejorados */
.contacto-link:focus,
.nav-links a:focus,
.theme-toggle:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Scroll suave y optimización */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

/* Optimización para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .beneficio-card:hover,
    .dosis-card:hover {
        transform: none;
    }
    
    .theme-toggle:hover {
        transform: none;
    }
}