/* Importar tipografía moderna (Montserrat) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

/* Variables de Diseño (Matte Black, Gold y Rose Gold) */
:root {
    --bg-primary: #0a0a0a;          /* Negro mate súper profundo */
    --bg-secondary: #121212;        /* Negro mate para tarjetas y contenedores */
    --bg-tertiary: #1b1b1b;         /* Gris oscuro/negro mate para hovers y bordes de input */
    
    --gold-primary: #d4af37;        /* Dorado metálico brillante */
    --gold-secondary: #c29b2c;      /* Dorado metálico medio */
    --gold-dark: #8c6a1b;           /* Dorado oscuro para detalles y sombras */
    --gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa8010 100%);
    
    --rose-gold: #b76e79;           /* Dorado rosado */
    --rose-gold-light: #e5b0b7;     /* Dorado rosado claro */
    --rose-gold-gradient: linear-gradient(135deg, #e5b0b7 0%, #b76e79 50%, #8e4a54 100%);
    
    --text-primary: #ffffff;        /* Blanco puro para alta jerarquía */
    --text-secondary: #e0e0e0;      /* Gris claro para párrafos y descripciones */
    --text-muted: #8e8e93;          /* Gris oscuro para subtítulos secundarios */
    
    --font-title: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    --container-width: 1200px;
}

/* Reset de Estilos Básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Barra de Desplazamiento Personalizada */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Tipografía y Títulos */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Subtítulos elegantes */
.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Contenedores */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.75rem 0;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3.5rem;
    height: 104px;
    transition: var(--transition-smooth);
}

header.scrolled .nav-container {
    height: 74px;
    gap: 2.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 2px 0;
    flex-shrink: 0;
}

.logo-img {
    height: 86px;
    width: auto;
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.4));
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.35s ease, height 0.35s ease;
}

header.scrolled .logo-img {
    height: 60px;
    max-height: 62px;
}

.logo:hover .logo-img {
    transform: scale(1.07);
    filter: drop-shadow(0 4px 24px rgba(212, 175, 55, 0.75));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-title);
    font-size: 1.55rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    line-height: 1.15;
    transition: var(--transition-smooth);
}

header.scrolled .logo-main {
    font-size: 1.35rem;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--rose-gold);
    margin-top: 2px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
    flex-grow: 1;
}

.nav-menu .lang-switcher {
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: var(--transition-smooth);
}

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

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

/* Botón Hamburguesa para Móviles */
.mobile-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.8rem;
}

/* Botones Premium */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000000;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-rose {
    background: var(--rose-gold-gradient);
    color: var(--text-primary);
    border: 1px solid var(--rose-gold);
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.2);
}

.btn-rose:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(183, 110, 121, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.95) 100%), 
                url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    padding-top: 100px;
    z-index: 1;
}

/* Overlay con partículas elegantes en dorado */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.2s ease-out forwards;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Sección Base */
.section {
    padding: 8rem 0;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
}

.section-dark {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4.5rem auto;
}

.section-header h2 span {
    color: var(--gold-primary);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold-primary);
    margin: 1.5rem auto 0 auto;
}

/* Sección Quiénes Somos (About Us) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    text-align: justify;
}

.about-text p strong {
    color: var(--gold-primary);
    font-weight: 600;
}

.about-visual {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.2), rgba(10,10,10,0.8));
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.about-visual:hover img {
    transform: scale(1.05);
}

/* Línea divisoria elegante */
.divider-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3) 50%, transparent);
    margin: 3rem 0;
}

/* Sección Divisiones de Servicio */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.division-card {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.08);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.division-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.03);
}

.division-card:hover::before {
    transform: scaleX(1);
}

.division-icon {
    font-size: 2.5rem;
    color: var(--rose-gold);
    margin-bottom: 1.5rem;
}

.division-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.division-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Sección Nutrición Avanzada */
.nutrition-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.nutrition-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.nutrition-bullets {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.bullet-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.bullet-number {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rose-gold);
    line-height: 1;
    border-bottom: 1px solid var(--rose-gold);
    padding-bottom: 2px;
}

.bullet-content h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.bullet-content h4 span {
    color: var(--gold-primary);
}

.bullet-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.nutrition-showcase {
    position: relative;
    border: 1px solid rgba(183, 110, 121, 0.15);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    aspect-ratio: 1/1;
}

.nutrition-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nutrition-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0) 40%, rgba(10, 10, 10, 0.8) 100%);
}

/* Sección ¿Por Qué Elegir TB MED? */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.why-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.why-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(212, 175, 55, 0.03);
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
    background: var(--gold-primary);
    color: #000000;
    transform: rotateY(180deg);
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Sección Contacto / Footer */
.footer-section {
    background-color: var(--bg-primary);
    padding: 8rem 0 3rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    margin-bottom: 5rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-brand-header {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 2rem;
    text-decoration: none;
}

.footer-logo-img {
    height: 96px;
    width: auto;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 18px rgba(212, 175, 55, 0.4));
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.35s ease;
}

.footer-brand-header:hover .footer-logo-img {
    transform: scale(1.06);
    filter: drop-shadow(0 6px 26px rgba(212, 175, 55, 0.7));
}

.footer-info-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-info-header h2 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-info-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-item-icon {
    color: var(--rose-gold);
    font-size: 1.2rem;
}

.contact-item-text {
    font-size: 0.95rem;
    font-weight: 300;
}

.contact-item-text a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-item-text a:hover {
    color: var(--gold-primary);
}

/* Formulario Minimalista */
.contact-form {
    background-color: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 0.5rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--bg-tertiary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--gold-primary);
}

.form-label {
    position: absolute;
    top: 0.85rem;
    left: 0.5rem;
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

/* Efecto flotante para inputs */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -1.2rem;
    font-size: 0.75rem;
    color: var(--gold-primary);
    letter-spacing: 1px;
}

textarea.form-input {
    resize: none;
    min-height: 100px;
}

/* Mensajes de respuesta en formulario */
.form-response {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.form-response.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-response.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom p {
    font-weight: 300;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    color: var(--gold-primary);
}

/* Keyframes Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Catálogo Interactivo de Productos */
.catalog-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--text-secondary);
    padding: 0.65rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.03);
}

.tab-btn.active {
    background: var(--gold-gradient);
    color: #000000;
    border-color: var(--gold-primary);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    transition: var(--transition-smooth);
}

.product-card {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.product-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rose-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-info h3 {
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Banner de Descarga de Dossier */
.dossier-banner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    background-color: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--border-radius-md);
    padding: 4rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.dossier-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.dossier-content h2 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dossier-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
}

.dossier-form-container {
    width: 100%;
}

.dossier-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-dossier {
    width: 100%;
}

.dossier-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.dossier-input:focus {
    outline: none;
    border-color: var(--rose-gold);
    box-shadow: 0 0 10px rgba(183, 110, 121, 0.15);
}

/* Switcher de Idioma */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
}

.lang-btn {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    cursor: pointer;
    padding: 0.2rem 0.4rem;
}

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

.lang-btn.active {
    color: var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
}

.lang-separator {
    color: var(--text-muted);
    opacity: 0.4;
}

/* Diseño Responsivo */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .divisions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .catalog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .dossier-banner {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }
    
    .nutrition-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .nutrition-showcase {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        gap: 0;
        height: 82px;
    }

    header.scrolled .nav-container {
        height: 64px;
        gap: 0;
    }

    .logo-img {
        height: 64px;
        max-height: 66px;
    }

    header.scrolled .logo-img {
        height: 50px;
    }

    .nav-menu .lang-switcher {
        margin-left: 0;
    }

    .footer-brand-header {
        margin-bottom: 1.5rem;
    }

    .footer-logo-img {
        height: 78px;
    }

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

    .catalog-tabs {
        gap: 0.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-smooth);
        border-top: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* =========================================================================
   ESTILOS PARA PÁGINAS LEGALES (PRIVACY & TERMS)
   ========================================================================= */
.legal-page-container {
    padding: 140px 0 80px;
    min-height: 85vh;
}

.legal-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
}

.legal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
}

.legal-header h1 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin: 0.8rem 0 0.5rem;
    font-weight: 700;
}

.legal-subtitle {
    color: var(--gold-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legal-meta span i {
    color: var(--gold-primary);
    margin-right: 0.4rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section h2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.2rem;
    font-size: 0.85rem;
    color: var(--gold-primary);
}

.legal-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.legal-box {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.legal-box h4 {
    color: var(--gold-primary);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-box ul {
    list-style: none;
    padding: 0;
}

.legal-box ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.legal-alert {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    align-items: flex-start;
    line-height: 1.6;
    font-size: 0.92rem;
}

.legal-alert-info {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #f1e2b5;
}

.legal-alert-info i {
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-top: 0.2rem;
}

.legal-highlight-box {
    background: rgba(20, 20, 20, 0.9);
    border-left: 4px solid var(--gold-primary);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    margin: 1.5rem 0;
}

.legal-highlight-box p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.legal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 2.5rem 0;
    text-align: center;
}

.legal-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legal-inline-link {
    color: var(--gold-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-smooth);
}

.legal-inline-link:hover {
    color: #ffffff;
}

/* =========================================================================
   CASILLAS DE CONSENTIMIENTO Y FORMULARIOS DE PRIVACIDAD
   ========================================================================= */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--gold-secondary);
    border-radius: 3px;
    background: var(--bg-primary);
    cursor: pointer;
    margin-top: 3px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition-smooth);
}

.form-checkbox-group input[type="checkbox"]:checked {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
}

.form-checkbox-group input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #000;
    font-size: 11px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-checkbox-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
}

.honeypot-field {
    opacity: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 0 !important;
    width: 0 !important;
    z-index: -1 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* =========================================================================
   MODAL PRINCIPAL DE CONSENTIMIENTO DE COOKIES (UNIFICADO Y CENTRADO)
   ========================================================================= */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
    box-sizing: border-box;
}

.cookie-overlay.active {
    display: flex !important;
    opacity: 1;
}

.cookie-card {
    background: #111111;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.15);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.4rem 2rem;
    text-align: center;
    color: #e0e0e0;
    font-family: var(--font-body);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    position: relative;
}

.cookie-overlay.active .cookie-card {
    transform: scale(1);
}

.cookie-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.04) 70%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.cookie-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-primary);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}

.cookie-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.8rem;
    line-height: 1.3;
}

.cookie-card-title span {
    color: var(--gold-primary);
}

.cookie-card-text {
    font-size: 0.86rem;
    color: #cccccc;
    line-height: 1.65;
    margin: 0 0 1.2rem;
}

.cookie-policy-notice {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
    font-size: 0.82rem;
}

.cookie-legal-link {
    color: var(--gold-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.cookie-legal-link:hover {
    color: #ffffff;
}

.cookie-sep {
    color: #555;
}

.cookie-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-cookie {
    width: 100%;
    padding: 0.85rem 1.4rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: none;
    outline: none;
    box-sizing: border-box;
}

.btn-cookie-primary {
    background: var(--gold-gradient);
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.btn-cookie-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.55);
}

.btn-cookie-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-cookie-secondary:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.btn-cookie-toggle {
    background: transparent;
    border: none;
    color: #888888;
    font-size: 0.82rem;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.4rem auto 0;
    padding: 0.4rem 0.8rem;
    transition: color 0.3s;
}

.btn-cookie-toggle:hover {
    color: var(--gold-primary);
}

.btn-cookie-toggle i.toggle-arrow {
    transition: transform 0.3s ease;
}

.btn-cookie-toggle.expanded i.toggle-arrow {
    transform: rotate(180deg);
}

.cookie-preferences-details {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.cookie-pref-item {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
}

.cookie-pref-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.cookie-pref-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
}

.cookie-pref-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
}

.cookie-pref-desc {
    font-size: 0.78rem;
    color: #aaaaaa;
    line-height: 1.5;
    margin: 0;
}

.cookie-switch-label {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    cursor: pointer;
}

.cookie-switch-label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-track {
    position: absolute;
    inset: 0;
    background: #333;
    border-radius: 22px;
    transition: 0.3s;
}

.cookie-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.cookie-switch-label input:checked + .cookie-toggle-track {
    background: var(--gold-primary);
}

.cookie-switch-label input:checked + .cookie-toggle-track .cookie-toggle-thumb {
    transform: translateX(20px);
    background: #000;
}

.btn-cookie-save {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    margin-top: 0.8rem;
}

.btn-cookie-save:hover {
    background: var(--gold-primary);
    color: #000;
}

.cookie-footer-trigger {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-primary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-footer-trigger:hover {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 2rem 1.5rem;
    }
    .legal-grid-two {
        grid-template-columns: 1fr;
    }
    .cookie-card {
        padding: 2rem 1.4rem;
    }
}
