/* =========================================
   MIRAVALLES — Sellavarim S.L.
   Semiconservas artesanales del Cantábrico
   ========================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --black-light: #111111;
    --black-card: #141414;
    --gold: #C5962A;
    --gold-light: #D4AF37;
    --gold-glow: rgba(197, 150, 42, 0.15);
    --gold-subtle: rgba(197, 150, 42, 0.08);
    --green: #4a7c3f;
    --green-dark: #3a6332;
    --cream: #f5f0e6;
    --cream-dim: #c8c2b5;
    --cream-dark: #9a9488;
    --glass: rgba(20, 20, 20, 0.85);
    --glass-border: rgba(197, 150, 42, 0.2);
    --glass-border-hover: rgba(197, 150, 42, 0.45);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s ease;
    --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1280px;
    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--black);
    color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* --- Section Headers --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    position: relative;
    padding-left: 36px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--cream);
    margin-bottom: 24px;
}

.text-accent {
    color: var(--gold);
    font-style: italic;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--cream-dim);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.section-header .section-tag::before {
    display: none;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
}

.btn-primary:hover {
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(197, 150, 42, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(197, 150, 42, 0.15);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 20px 24px;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-content {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--cream-dim);
    flex: 1;
    min-width: 200px;
}

.cookie-link {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.btn-cookie {
    padding: 8px 20px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-cookie-accept {
    background: var(--gold);
    color: var(--black);
}

.btn-cookie-accept:hover {
    background: var(--gold-light);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--cream-dim);
    border: 1px solid var(--glass-border);
}

.btn-cookie-reject:hover {
    border-color: var(--cream-dim);
    color: var(--cream);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    height: 68px;
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
    z-index: 1001;
}

.nav-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo img {
    width: 36px;
    height: 36px;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--cream-dim);
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    font-weight: 500;
    margin-left: 8px;
}

.nav-cta:hover {
    color: var(--black);
    box-shadow: 0 4px 20px rgba(197, 150, 42, 0.3);
    transform: translateY(-1px);
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.6) 0%,
        rgba(10, 10, 10, 0.4) 40%,
        rgba(10, 10, 10, 0.7) 100%
    );
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-logo {
    width: min(250px, 50vw);
    height: auto;
    object-fit: contain;
    margin: 0 auto 32px;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.5));
    animation: heroLogoFloat 6s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-title-accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 500;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 300;
    color: var(--cream-dim);
    margin-bottom: 40px;
    letter-spacing: 0.04em;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--gold);
    opacity: 0.6;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: opacity var(--transition-fast);
}

.hero-scroll:hover {
    opacity: 1;
    color: var(--gold-light);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Cifras --- */
.cifras {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.cifras::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--gold-subtle), transparent 70%);
    pointer-events: none;
}

.cifras-track {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cifra-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cifra-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.cifra-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--cream);
    white-space: nowrap;
}

.cifra-divider {
    width: 1px;
    height: 32px;
    background: var(--glass-border);
}

/* --- Nosotros --- */
.nosotros {
    background: var(--black);
}

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

.image-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.image-frame-border {
    position: absolute;
    inset: 0;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    pointer-events: none;
    transition: border-color var(--transition);
}

.image-frame:hover .image-frame-border {
    border-color: var(--glass-border-hover);
}

.nosotros-text .section-tag {
    margin-bottom: 12px;
}

.nosotros-lead {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 20px;
    line-height: 1.8;
}

.nosotros-text p {
    color: var(--cream-dim);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.nosotros-badge {
    margin-top: 32px;
    opacity: 0.8;
}

.nosotros-badge img {
    max-width: 120px;
}

/* --- Productos --- */
.productos {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

.productos-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--cream-dim);
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

.producto-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: default;
}

.producto-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--gold-subtle);
}

.producto-card.hidden {
    display: none;
}

.producto-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.producto-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.producto-card:hover .producto-img-wrap img {
    transform: scale(1.08);
}

.producto-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.producto-badge {
    display: inline-block;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
}

.producto-info {
    padding: 24px;
}

.producto-info h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 8px;
}

.producto-info p {
    font-size: 0.88rem;
    color: var(--cream-dim);
    line-height: 1.6;
}

/* --- Proceso --- */
.proceso {
    background: var(--black);
    overflow: hidden;
}

.proceso-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.proceso-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold), var(--gold), transparent);
}

.proceso-step {
    position: relative;
    display: flex;
    gap: 40px;
    padding: 32px 0;
}

.proceso-step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--black);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}

.proceso-step:hover .proceso-step-number {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 30px var(--gold-glow);
}

.proceso-step-content {
    flex: 1;
    padding-top: 4px;
}

.proceso-step-icon {
    color: var(--gold);
    margin-bottom: 12px;
    opacity: 0.8;
}

.proceso-step-content h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 8px;
}

.proceso-step-content p {
    font-size: 0.92rem;
    color: var(--cream-dim);
    line-height: 1.7;
}

/* --- Gastronomía --- */
.gastronomia {
    background: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
}

.gastronomia-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gastro-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: default;
}

.gastro-item.gastro-large {
    grid-column: span 2;
    aspect-ratio: 16/7;
}

.gastro-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gastro-item:hover img {
    transform: scale(1.05);
}

.gastro-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px 24px;
    background: linear-gradient(0deg, rgba(10,10,10,0.9) 0%, transparent 100%);
    pointer-events: none;
}

.gastro-caption h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 4px;
}

.gastro-caption p {
    font-size: 0.85rem;
    color: var(--cream-dim);
}

/* --- Trucha Astur --- */
.trucha-astur {
    background: var(--black);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.trucha-astur::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(74, 124, 63, 0.06), transparent 60%);
    pointer-events: none;
}

.trucha-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.trucha-logo {
    display: block;
    width: 160px;
    height: auto;
    margin: 0 auto 28px;
    object-fit: contain;
}

.trucha-text {
    text-align: center;
}

.trucha-lead {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 16px;
    line-height: 1.8;
}

.trucha-text p {
    color: var(--cream-dim);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.trucha-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}

.trucha-sello {
    width: 80px;
    height: auto;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.trucha-premium-badge {
    max-width: 140px;
    height: auto;
    border-radius: var(--radius-sm);
}

/* --- Calidad --- */
.calidad {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

.calidad-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.calidad-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: all var(--transition);
}

.calidad-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.calidad-main {
    text-align: center;
}

.calidad-card-icon {
    margin-bottom: 20px;
    color: var(--gold);
}

.calidad-main .calidad-card-icon {
    margin-bottom: 20px;
}

.calidad-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 10px;
}

.calidad-card p {
    font-size: 0.9rem;
    color: var(--cream-dim);
    line-height: 1.7;
}

/* Cert gallery */
.cert-gallery {
    text-align: center;
}

.cert-gallery-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 32px;
}

.cert-gallery-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cert-gallery-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: all var(--transition);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.cert-gallery-item:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.cert-gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    border-radius: var(--radius-xs);
    background: #f0ece4;
    padding: 10px;
}

.cert-label {
    display: block;
    margin-top: 12px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.03em;
}

/* --- Página de contacto --- */
.contacto-page-header {
    padding-top: 140px;
    padding-bottom: 40px;
    text-align: center;
}

.contacto-page-body {
    padding-top: 20px;
}

.contacto-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.contacto-form-wrap {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 40px 35px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contacto-form-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cream-dim);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--cream);
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xs);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 150, 42, 0.12);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C5962A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--black);
    color: var(--cream);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
    font-family: var(--font-sans);
}

.form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-legal {
    margin-bottom: 24px;
}

.form-legal label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.form-legal input[type="checkbox"] {
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-legal span {
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--cream-dim);
}

.form-legal a {
    color: var(--gold);
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 16px 30px;
}

.form-status {
    margin-top: 15px;
    font-size: 0.85rem;
    text-align: center;
    min-height: 1.5em;
}

.form-status-ok { color: var(--gold-light); }
.form-status-error { color: #ff6b6b; }

.contacto-datos-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}

.contacto-dato-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition);
}

.contacto-dato-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.contacto-dato-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 10px;
}

.contacto-dato-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--cream-dim);
    margin-bottom: 4px;
}

.contacto-dato-card a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

.contacto-dato-card a:hover { color: var(--gold); }

.contacto-dato-card .btn {
    margin-top: 12px;
}

.nav-link-active {
    color: var(--gold) !important;
}

/* --- Contacto --- */
.contacto {
    background: var(--black);
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contacto-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
}

.contacto-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
}

.contacto-icon {
    color: var(--gold);
    margin-bottom: 20px;
}

.contacto-card h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--cream);
    margin-bottom: 12px;
}

.contacto-card p {
    font-size: 0.9rem;
    color: var(--cream-dim);
    margin-bottom: 4px;
}

.contacto-card a {
    color: var(--cream-dim);
    transition: color var(--transition-fast);
}

.contacto-card a:hover {
    color: var(--gold);
}

.contacto-small {
    font-size: 0.8rem;
    color: var(--cream-dark);
}

.contacto-cta-card {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(197, 150, 42, 0.08), transparent);
}

.contacto-cta-card .btn {
    margin-top: 16px;
}

/* --- Footer --- */
.footer {
    background: var(--black-light);
    border-top: 1px solid var(--glass-border);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 12px;
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 4px;
}

.footer-brand-legal {
    font-size: 0.8rem;
    color: var(--cream-dark);
    margin-bottom: 12px;
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: var(--cream-dim);
    line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4,
.footer-cert h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--cream);
    margin-bottom: 16px;
}

.footer-nav a {
    display: block;
    font-size: 0.85rem;
    color: var(--cream-dim);
    padding: 4px 0;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.85rem;
    color: var(--cream-dim);
    margin-bottom: 6px;
}

.footer-contact a {
    color: var(--cream-dim);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-cert-logos {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-cert-img {
    border-radius: var(--radius-xs);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-cert-img:hover {
    opacity: 1;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--cream-dark);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--cream-dark);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--gold);
}

/* --- Particle --- */
.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold), transparent);
    pointer-events: none;
    opacity: 0;
    animation: particleFloat linear forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* --- Scroll Reveal --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .nosotros-grid,
    .trucha-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .nosotros-image {
        order: -1;
    }

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

    .calidad-main {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
    }

    .contacto-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 68px;
    }

    .section {
        padding: 80px 0;
    }

    .contacto-page-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contacto-form-wrap {
        padding: 28px 20px;
    }
    .contacto-page-header {
        padding-top: 110px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .hero-logo {
        width: min(180px, 45vw);
        height: auto;
    }

    .cifras-track {
        flex-direction: column;
        gap: 20px;
    }

    .cifra-divider {
        width: 40px;
        height: 1px;
    }

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

    .gastronomia-grid {
        grid-template-columns: 1fr;
    }
    .gastro-item.gastro-large {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }

    .proceso-step {
        gap: 24px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .trucha-image {
        order: -1;
    }

    .cert-gallery-grid {
        gap: 16px;
    }

    .cert-gallery-item {
        max-width: 100%;
    }
    .cert-gallery-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
    }

    .productos-filter {
        gap: 6px;
    }

    .filter-btn {
        font-size: 0.72rem;
        padding: 6px 14px;
    }

    .proceso-line {
        left: 20px;
    }

    .proceso-step-number {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }

    .trucha-badges {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
