/* =========================================
   0. SCROLLBAR PERSONALIZADA (Estilo Apple/Moderno - Global)
   ========================================= */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #000; border: 2px solid var(--bg); border-radius: 10px; transition: background 0.3s; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* =========================================
   1. VARIABLES Y RESET
   ========================================= */
:root { 
    --bg: #ffffff; 
    --text: #000000; 
    --accent: #ff0000; 
    --blue: #0047A0; 
    --gray: #f7f7f7; 
    --amazon-dark: #232f3e; 
    --amazon-hover: #37475a; 
    --amazon-yellow: #FF9900;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* CLASE UTILITARIA PARA ICONOS SVG EN TEXTO */
.icon-inline { width: 1.1em; height: 1.1em; vertical-align: -0.15em; stroke-width: 2.2; fill: none; stroke: currentColor; display: inline-block; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================
   2. LAYOUT GLOBAL & TIPOGRAFÍA
   ========================================= */
section { padding: 40px 5% 100px 5%; scroll-margin-top: 0px; }
h1, h2, .big-number, .font-anton { font-family: 'Anton', sans-serif; text-transform: uppercase; line-height: 0.9; }

/* NAV MODIFICADO */
nav { display: flex; justify-content: space-between; align-items: center; position: fixed; width: 100%; top: 0; z-index: 1500; height: 90px; background-color: transparent; border-bottom: 2px solid transparent; padding: 20px 5%; transition: all 0.4s ease; }
nav.scrolled { background-color: #ffffff; border-bottom: 2px solid #000000; padding: 0 5%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* CAMBIO DE COLORES NAV */
nav .menu-links a { color: white; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
nav.scrolled .menu-links a { color: black; text-shadow: none; }
nav .logo-text { color: white; text-shadow: 0 2px 4px rgba(0,0,0,0.5); transition: color 0.4s; }
nav .svg-lines { stroke: white; transition: stroke 0.4s; }
nav.scrolled .logo-text { color: #000000; text-shadow: none; }
nav.scrolled .svg-lines { stroke: #000000; }
nav .lang-btn { background: transparent; color: white; border-color: white; }
nav.scrolled .lang-btn { background: white; color: black; border-color: black; }
nav .bar { background-color: white; box-shadow: 0 1px 3px rgba(0,0,0,0.5); }
nav.scrolled .bar { background-color: black; box-shadow: none; }

/* LOGO */
@keyframes spinTaeguk { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.logo { display: flex; align-items: center; gap: 20px; height: 100%; padding-top: 5px; z-index: 1501; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.logo-symbol { width: 80px; height: 80px; display: flex; justify-content: center; align-items: center; }
.taeguk-spin { transform-origin: 50px 52px; animation: spinTaeguk 8s linear infinite; }
.brutal-svg { width: 100%; height: 100%; }
.svg-lines { stroke: #000000; stroke-width: 8px; stroke-linecap: square; fill: none; }
.taeguk-red { fill: var(--accent); }
.taeguk-blue { fill: var(--blue); }
.logo-text { font-weight: 800; letter-spacing: -1px; font-size: 1.4rem; color: #000000; line-height: 0.9; font-family: 'Inter', sans-serif; text-transform: uppercase; }
.brand-highlight { color: var(--accent); }

/* MENU & LANG */
.menu-container { display: flex; align-items: center; gap: 30px; }
.menu-links { display: flex; }
.menu-links a { margin-left: 30px; text-decoration: none; color: #000000; font-weight: 600; font-size: 0.8rem; letter-spacing: 1px; transition: color 0.3s; text-transform: uppercase; }
.menu-links a:hover { color: var(--accent); }
.lang-wrapper { position: relative; z-index: 1502; }
.lang-btn { display: flex; align-items: center; gap: 8px; background: white; border: 2px solid black; padding: 8px 12px; font-weight: 800; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.lang-btn:hover { background: black; color: white; }
.lang-dropdown { position: absolute; top: 100%; right: 0; width: 140px; background: white; border: 2px solid black; display: none; flex-direction: column; z-index: 1600; margin-top: 5px; }
.lang-dropdown.show { display: flex; }
.lang-opt { padding: 10px 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.85rem; border-bottom: 1px solid #eee; transition: all 0.2s; }
.lang-opt:last-child { border-bottom: none; }
.lang-opt:hover { background: var(--accent); color: white; }

/* MOBILE CONTROLS */
.mobile-controls { display: none; align-items: center; gap: 15px; z-index: 1501; }
.hamburger { display: flex; cursor: pointer; flex-direction: column; gap: 6px; }
.bar { width: 35px; height: 4px; background-color: black; transition: all 0.3s; }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: white; z-index: 1400; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); }
.mobile-menu-overlay.open { transform: translateX(0); }
.hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(8px, 6px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(8px, -6px); }

/* =========================================
   3. HERO
   ========================================= */
.hero { height: 100vh; width: 100%; background-image: url('Marca/fondo-inicio.png'); background-size: cover; background-position: center; background-attachment: fixed; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;}
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7)); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 0 20px;}
.hero-title { font-size: clamp(4rem, 15vw, 15rem); color: white; line-height: 0.85; margin: 0 auto 10px auto; text-shadow: 0 20px 50px rgba(0,0,0,0.6); text-align: center; letter-spacing: -2px; width: min-content;}
.hero-subtitle { font-family: 'Inter', sans-serif; font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 40px; }

.scroll-arrow-container { position: absolute; bottom: 60px; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; opacity: 0.8; transition: all 0.3s ease; text-decoration: none; }
.scroll-arrow-container:hover { opacity: 1; transform: translateY(5px); }
.scroll-arrow-icon { width: 80px; height: 80px; border: none; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: bounce 2s infinite; }
.scroll-arrow-icon::before, .scroll-arrow-icon::after { content: ''; display: block; width: 25px; height: 25px; border-right: 4px solid white; border-bottom: 4px solid white; transform: rotate(45deg); margin: -6px 0; transition: all 0.3s ease; }
.scroll-arrow-icon::before { margin-top: -12px; opacity: 0.5; }
.scroll-arrow-container:hover .scroll-arrow-icon::before, .scroll-arrow-container:hover .scroll-arrow-icon::after { opacity: 1; transform: rotate(45deg) scale(1.1); }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);} }

.section-header { display: flex; align-items: baseline; gap: 20px; margin-bottom: 60px; border-bottom: 4px solid var(--text); padding-bottom: 10px; }
.section-header h2 { font-size: clamp(3rem, 10vw, 6rem); color: var(--text); }
.section-header span { font-size: 1.5rem; color: var(--accent); font-weight: 700; }

/* =========================================
   4. RECETAS
   ========================================= */
.hero-recipe-card { display: block; text-decoration: none; color: black; border: 2px solid black; background: white; transition: transform 0.3s ease, box-shadow 0.3s ease; margin-bottom: 80px; }
.hero-recipe-card:hover { transform: translateY(-10px); box-shadow: 20px 20px 0 var(--accent); }
.hero-recipe-card:hover .hero-card-img img { filter: grayscale(0%); transform: scale(1.05); }
.hero-card-img { height: 500px; overflow: hidden; border-bottom: 2px solid black; position: relative; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: all 0.5s; }
.hero-card-info { padding: 40px; text-align: center; }
.hero-card-info h3 { font-family: 'Anton'; font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 10px; line-height: 1; }
.hero-card-info p { font-size: 1.2rem; color: #666; margin-bottom: 20px; }

.filter-bar { display: flex; gap: 15px; flex-wrap: wrap; margin: 0 0 40px 0; padding-top: 40px; border-top: 1px solid #ddd; }
.filter-btn { background: transparent; border: 2px solid black; padding: 10px 25px; font-family: 'Inter', sans-serif; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: black; color: white; transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--accent); }

.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px; }
.recipe-card { border: 2px solid black; background: white; position: relative; transition: transform 0.3s ease; cursor: pointer; display: block; text-decoration: none; color: black; }
.recipe-card:hover { transform: translateY(-10px); box-shadow: 15px 15px 0 var(--gray); }
.recipe-card:hover .card-img img { filter: grayscale(0%); transform: scale(1.1); }
.recipe-card.hidden { display: none !important; }
.meta-sep { color: #ccc; font-weight: 300; }
.card-img { height: 300px; border-bottom: 2px solid black; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: all 0.5s; }
.card-badges { position: absolute; top: 15px; left: 15px; display: flex; gap: 5px; }
.badge { background: var(--accent); color: white; padding: 5px 10px; font-weight: bold; font-size: 0.75rem; text-transform: uppercase; }
.card-info { padding: 25px; }
.card-info h4 { font-family: 'Anton'; font-size: 2rem; margin-bottom: 10px; line-height: 1; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; color: #666; border-top: 1px solid #eee; padding-top: 15px; margin-top: 15px; }

/* =========================================
   5. TIENDA (SHOP)
   ========================================= */
.shop-section { background: var(--gray); border-bottom: 4px solid black; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border: 2px solid black; background: white; }
.product-card { border-right: 2px solid black; border-bottom: 2px solid black; padding: 40px 20px; text-align: center; position: relative; transition: background 0.3s; display: flex; flex-direction: column; height: 100%; justify-content: space-between;}
.product-card:hover { background: #fff0f0; }
.product-card > img { height: 200px; width: 100%; object-fit: contain; margin-bottom: 20px; mix-blend-mode: multiply; filter: grayscale(100%); transition: all 0.5s ease; }
.product-card:hover > img { filter: grayscale(0%); transform: scale(1.05); }
.amazon-btn { display: flex; align-items: center; justify-content: center; background-color: var(--amazon-dark); padding: 12px 0; border-radius: 5px; text-decoration: none; transition: background-color 0.3s ease, transform 0.2s ease; width: auto; margin-top: 10px; }
.amazon-btn:hover { background-color: var(--amazon-hover); transform: translateY(-2px); }
.amazon-logo-img { height: 24px !important; width: auto !important; filter: invert(100%) brightness(200%) contrast(100%); border: none !important; background: transparent !important; }
.collage-container { display: flex; justify-content: space-between; align-items: center; gap: 5px; height: 200px; margin-bottom: 15px; }
.collage-img { width: 48%; height: 100%; object-fit: contain; background-color: transparent; padding: 5px; mix-blend-mode: multiply; filter: grayscale(100%); transition: all 0.5s ease; }
.product-card:hover .collage-img { filter: grayscale(0%); transform: scale(1.05); }
.button-row { display: flex; gap: 8px; width: 100%; margin-top: auto; padding-top: 10px; }
.button-row .amazon-btn { flex: 1; margin: 0; padding: 8px 4px; flex-direction: column; gap: 4px; text-align: center; }
.button-row .amazon-btn span { font-size: 0.75rem !important; margin-right: 0 !important; line-height: 1.2; }
.button-row .amazon-logo-img { height: 18px !important; }

/* =========================================
   6. MAPA Y LOCALIZADOR
   ========================================= */
.map-section { background: black; color: white; display: flex; flex-direction: column; padding-top: 40px; padding-bottom: 40px; }
.map-controls-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: #999; }
.map-layout { display: flex; flex-wrap: wrap; height: auto; min-height: auto; border: 1px solid #333; margin-top: 0px; margin-bottom: 40px; }
.geo-btn { background: var(--accent); color: white; border: none; padding: 10px 20px; font-weight: bold; cursor: pointer; text-transform: uppercase; }
.geo-btn:hover { background: white; color: black; }

.store-list { position: relative; width: 0; padding: 0; opacity: 0; overflow-y: auto; overflow-x: hidden; transition: width 0.3s cubic-bezier(0.77, 0, 0.175, 1), padding 0.3s ease, opacity 0.3s ease; border-right: none; flex: none; height: 570px; }
.store-list::-webkit-scrollbar { width: 8px; display: block; }
.store-list::-webkit-scrollbar-track { background: #111; }
.store-list::-webkit-scrollbar-thumb { background: #333; border: 2px solid #111; border-radius: 10px; transition: background 0.3s; }
.store-list::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.map-layout.results-open .store-list { width: 350px; opacity: 1; border-right: 1px solid #333; }

.store-btn { width: 100%; padding: 30px; display: flex; flex-direction: column; justify-content: center; background: transparent; color: #666; border: none; border-bottom: 1px solid #222; text-align: left; cursor: pointer; transition: all 0.3s; flex-shrink: 0; }
.store-btn h3 { font-family: 'Anton'; font-size: 1.5rem; margin-bottom: 5px; color: #fff; line-height: 1; }
.store-btn p { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; margin: 0; }
.store-distance { font-size: 0.7rem; color: var(--accent); margin-top: 5px; display: block; font-weight: bold;}
.store-btn.active { background: white; } .store-btn.active h3 { color: black; } .store-btn.active p { color: black; }

.map-wrapper-relative { flex: 2 1 400px; position: relative; width: 100%; height: 570px; }
#map { width: 100%; height: 100%; background: #222; z-index: 1; }

.store-card-overlay { position: absolute; bottom: 30px; left: 30px; z-index: 1000; background: white; color: black; width: 300px; padding: 20px; border: 2px solid black; box-shadow: 10px 10px 0 var(--accent); opacity: 0; transform: translateY(20px); transition: all 0.4s; pointer-events: none; }
.store-card-overlay.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.store-tag { display: inline-block; background: black; color: white; font-size: 0.6rem; font-weight: bold; padding: 3px 6px; margin-bottom: 8px; text-transform: uppercase; }
.store-card-overlay h4 { font-family: 'Anton'; font-size: 1.8rem; line-height: 1; margin-bottom: 5px; }
.directions-btn { display: block; width: 100%; text-align: center; background: black; color: white; text-decoration: none; padding: 10px; font-weight: 800; margin-top: 15px; text-transform: uppercase; transition: all 0.2s; border: 2px solid black; font-family: 'Inter', sans-serif; letter-spacing: 1px; font-size: 0.9rem;}
.directions-btn:hover { background: white; color: black; }

.brutalist-marker { background-color: black; border: 2px solid white; width: 20px !important; height: 20px !important; box-shadow: 4px 4px 0 rgba(0,0,0,0.5); transition: all 0.3s; }
.brutalist-marker.active { background-color: var(--accent); border-color: black; transform: scale(1.6); z-index: 1000 !important; }
.zoom-controls { position: absolute; bottom: 70px; right: 20px; display: flex; flex-direction: column; background: white; border: 2px solid black; border-radius: 0px; box-shadow: 3px 3px 0 rgba(0,0,0,1); z-index: 999; }
.zoom-btn { width: 36px; height: 36px; background: white; border: none; border-radius: 0; font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 800; cursor: pointer; transition: all 0.2s ease; display: flex; justify-content: center; align-items: center; padding-bottom: 2px; color: black; }
.zoom-btn:first-child { border-bottom: 2px solid black; }
.zoom-btn:hover { background: black; color: white; }
.recenter-btn { position: absolute; bottom: 20px; right: 20px; z-index: 999; width: 40px; height: 40px; background: white; border: 2px solid black; border-radius: 0px; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 3px 3px 0 rgba(0,0,0,1); transition: all 0.2s ease; }
.recenter-btn svg { width: 20px; height: 20px; fill: black; transition: fill 0.2s; }
.recenter-btn:hover { background: var(--accent); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(0,0,0,1); border-color: black; }
.recenter-btn:hover svg { fill: white; }

.search-area-btn { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1000; background: black; color: white; border: 2px solid white; padding: 15px 30px; font-family: 'Anton', sans-serif; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.5); transition: all 0.3s; display: flex; align-items: center; gap: 10px; }
.search-area-btn:hover { background: var(--accent); border-color: black; transform: translateX(-50%) translateY(-5px); box-shadow: 0 15px 30px rgba(255,0,0,0.4); }
.map-toast { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); background: rgba(0, 0, 0, 0.95); border: 2px solid var(--accent); color: white; padding: 30px; text-align: center; z-index: 2000; opacity: 0; pointer-events: none; transition: all 0.3s ease; max-width: 90%; width: 400px; }
.map-toast.visible { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.toast-btn { display: inline-block; margin-top: 15px; background: var(--accent); color: white; padding: 10px 20px; font-weight: bold; text-decoration: none; text-transform: uppercase; border: 2px solid transparent; }
.toast-btn:hover { background: white; color: black; border-color: black; }
.empty-state-container { padding: 40px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.empty-icon { font-size: 3rem; margin-bottom: 15px; }
.empty-title { font-family: 'Anton', sans-serif; font-size: 2rem; color: white; margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
.empty-desc { color: #ccc; font-size: 1rem; margin-bottom: 30px; max-width: 80%; line-height: 1.4; }
.empty-btn { display: inline-block; padding: 15px 25px; border: 2px solid var(--accent); color: var(--accent); background: transparent; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; cursor: pointer; }
.empty-btn:hover { background: var(--accent); color: white; box-shadow: 0 0 15px rgba(255, 0, 0, 0.4); }

.list-toggle-tab { position: absolute; top: 50%; left: 0; transform: translateY(-50%); z-index: 1001; background: black; color: white; border: 1px solid #333; border-left: none; width: 30px; height: 60px; cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 0.8rem; transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1); }
.list-toggle-tab:hover { background: var(--accent); border-color: var(--accent); }
.list-toggle-tab svg { width: 16px; height: 16px; stroke-width: 3; transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1); }
.map-layout.results-open .list-toggle-tab svg { transform: rotate(180deg); }
.map-layout.results-open .list-toggle-tab { left: 350px; }

.store-actions { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; margin-top: 0; }
.store-btn.active .store-actions { max-height: 100px; margin-top: 15px; padding-bottom: 5px; }
.list-go-btn { display: block; width: 100%; background: black; color: white; text-align: center; padding: 10px; text-decoration: none; font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 0.9rem; border: 2px solid black; transition: all 0.2s; }
.store-btn.active .list-go-btn { background: black; color: white; }
.store-btn.active .list-go-btn:hover { background: var(--accent); border-color: var(--accent); color: white; }

.marker-cluster-custom { background-color: black !important; border: 2px solid white; color: white; font-family: 'Anton', sans-serif; border-radius: 0 !important; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 4px 4px 0 rgba(0,0,0,0.5); transition: all 0.2s; }
.marker-cluster-custom:hover { background-color: var(--accent) !important; border-color: black; transform: scale(1.1); z-index: 2000 !important; }
.marker-cluster-custom span { line-height: 1; }

@keyframes brutal-breathe { 0%{background:#000;color:#fff;border-color:#fff;box-shadow:0 0 0 transparent} 50%{background:#2a0a0a;color:#ffcccc;border-color:var(--accent);box-shadow:0 0 15px rgba(255,0,0,.3)} 100%{background:#000;color:#fff;border-color:#fff;box-shadow:0 0 0 transparent} }
@keyframes spin-smooth { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.btn-scanning { animation: brutal-breathe 2s infinite ease-in-out !important; cursor: wait !important; pointer-events: none; letter-spacing: 2px; }
.btn-scanning span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 10px; transform-origin: center center; animation: spin-smooth 1s steps(8) infinite; }
.map-crosshair { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; transform: translate(-50%, -50%); pointer-events: none; z-index: 900; }
.map-crosshair::before { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 100%; background: rgb(0, 81, 255); transform: translateX(-50%); }
.map-crosshair::after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: rgb(0, 81, 255); transform: translateY(-50%); }

/* =========================================
   6b. SECCIÓN ONLINE
   ========================================= */
.online-section { background-color: black; color: white; border-top: 1px solid #333; padding: 60px 5% 100px 5%; scroll-margin-top: 90px; }
.online-header { margin-bottom: 40px; }
.online-header h3 { font-family: 'Anton'; font-size: clamp(2.5rem, 5vw, 3rem); color: white; margin-bottom: 10px; }
.online-header p { color: #999; font-size: 1.1rem; }
.online-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.online-card { border: 1px solid #333; background: #0a0a0a; padding: 30px; transition: all 0.3s ease; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.online-card:hover { border-color: var(--accent); transform: translateY(-5px); background: #111; }
.online-name { font-family: 'Anton'; font-size: 1.8rem; color: white; margin-bottom: 10px; line-height: 1; }
.online-desc { font-size: 0.9rem; color: #777; margin-bottom: 20px; line-height: 1.4; }
.online-link { color: var(--accent); font-weight: 800; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.online-card .arrow-diag { width: 18px; height: 18px; stroke-width: 2.5; transition: transform 0.3s ease; }
.online-card:hover .arrow-diag { transform: translate(3px, -3px); stroke: var(--accent); }
.online-card.amazon-card:hover { border-color: var(--amazon-yellow) !important; }
.online-card.amazon-card:hover .arrow-diag { stroke: var(--amazon-yellow); }

/* =========================================
   7. CURSOS Y MODALES
   ========================================= */
.courses { background: var(--gray); }
.course-item { border-top: 2px solid black; padding: 50px 0; display: flex; align-items: flex-start; position: relative; transition: background 0.3s; text-decoration: none; color: black; cursor: pointer; }
.course-item:hover { background: #e0e0e0; }
.big-number { font-size: 6rem; color: transparent; -webkit-text-stroke: 2px black; margin-right: 40px; line-height: 0.8; }
.course-content h3 { font-size: 3rem; margin-bottom: 10px; font-family: 'Anton'; }
.tag-digital { background: var(--accent); color: white; padding: 5px 15px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; display: inline-block; margin-bottom: 15px; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: white; z-index: 10000; overflow-y: auto; transform: translateY(100%); transition: transform 0.4s; }
.modal-overlay.open { transform: translateY(0); }
.close-modal { position: fixed; top: 20px; right: 5%; background: black; color: white; border: none; padding: 15px 30px; font-weight: 800; cursor: pointer; z-index: 10010; text-transform: uppercase; letter-spacing: 1px; }
.close-modal:hover { background: var(--accent); }
.modal-content { padding: 100px 5%; max-width: 1400px; margin: 0 auto; }
.modal-header { margin-bottom: 60px; border-bottom: 4px solid black; padding-bottom: 20px; }
.modal-header h2 { font-size: 5rem; margin-bottom: 10px; }
.modal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.modal-img-styled { width: 100%; height: 400px; object-fit: cover; border: 2px solid black; grid-column: 1; }
.modal-steps-styled { grid-column: 1; }
.modal-ingredients-styled { grid-column: 2; grid-row: 1 / span 2; height: auto !important; }

.toggle-box { border: 2px solid black; padding: 40px; position: relative; background: white; box-shadow: 15px 15px 0px var(--accent); }
.toggle-controls { display: flex; border-bottom: 2px solid black; margin-bottom: 20px; }
.t-btn { flex: 1; padding: 15px; border: none; background: transparent; font-family: 'Anton'; font-size: 1.5rem; cursor: pointer; transition: all 0.3s; color: #ccc; }
.t-btn:hover { color: black; }
.t-btn.active { background: black; color: white; }

.servings-wrapper { display: flex; justify-content: space-between; align-items: center; margin: 20px 0; padding: 15px; background: #f7f7f7; border: 2px solid black; }
.servings-controls { display: flex; align-items: center; gap: 15px; }
.serv-btn { width: 30px; height: 30px; background: white; border: 2px solid black; font-weight: 800; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; line-height: 0; padding-bottom: 4px; }
.serv-btn:hover { background: var(--accent); color: white; box-shadow: 3px 3px 0 black; transform: translate(-2px, -2px); }
.serv-btn:active { transform: translate(0, 0); box-shadow: none; }
#servings-display { font-size: 1.2rem; min-width: 100px; text-align: center; }

.ing-header { display: flex; justify-content: space-between; border-bottom: 2px solid black; padding: 15px 0 10px 0; margin-bottom: 10px; font-size: 1.1rem; letter-spacing: 1px; }
.ingredient-display { transition: opacity 0.3s ease-in-out; }
.ingredient-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; }
.qty-box { background: black; color: white; padding: 6px 10px; font-weight: 800; font-family: 'Inter', sans-serif; font-size: 0.9rem; min-width: 60px; text-align: center; white-space: nowrap;}
.ing-info { text-align: right; display: flex; flex-direction: column; }
.ing-name { font-weight: 700; font-size: 1rem; color: black; }
.ing-link { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; cursor: pointer; transition: all 0.2s; }
.ing-link:hover { background-color: var(--blue); color: white; text-decoration: none; padding: 0 5px; }
.ing-note { font-weight: 300; font-size: 0.85rem; color: #666; margin-top: 2px; }

.steps-list { list-style: none; counter-reset: step-counter; transition: opacity 0.3s ease; }
.steps-list li { position: relative; padding-left: 50px; margin-bottom: 20px; font-size: 1.1rem; line-height: 1.6; }
.steps-list li::before { content: counter(step-counter); counter-increment: step-counter; position: absolute; left: 0; top: 0; font-family: 'Anton'; font-size: 1.5rem; color: var(--accent); border-bottom: 2px solid black; line-height: 1; width: 30px; }
.syllabus-list { list-style: none; padding: 0; }
.syllabus-item { border-bottom: 1px solid #eee; padding: 15px 0; font-weight: 600; display: flex; align-items: center; }
.syllabus-item::before { content: "►"; color: var(--accent); margin-right: 15px; font-size: 0.8rem; }
.course-btn-group { display: flex; gap: 15px; margin-top: 30px; }
.course-action-btn { flex: 1; text-align: center; background: black; color: white; padding: 20px; text-transform: uppercase; font-weight: 800; border: 2px solid black; text-decoration: none; transition: all 0.3s; display: flex !important; justify-content: center; align-items: center; gap: 10px; }
.course-action-btn:hover { background: white; color: black; }
.course-action-btn.secondary { background: white; color: black; }
.course-action-btn.secondary:hover { background: black; color: white; }
.course-action-btn:hover .arrow-diag { transform: translate(3px, -3px); }
.course-action-btn:hover .arrow-btn { transform: translateX(3px); }
#c-img {
    object-position: center; /* POR DEFECTO */
}

/* =========================================
   8. ESTILOS PARA CONTENIDO RICO (CURSOS)
   ========================================= */
.course-rich-content {
    display: block !important; 
    list-style: none; padding: 0; text-align: left;
}
.course-intro {
    border-bottom: 2px solid black; padding-bottom: 20px; margin-bottom: 30px;
}
.highlight-text {
    font-size: 1.1rem; font-weight: 600; color: var(--accent); font-style: italic; margin-bottom: 10px; border-left: 3px solid var(--accent); padding-left: 10px;
}
.course-module { margin-bottom: 40px; }
.module-title {
    font-size: 1.6rem; border-left: 5px solid black; padding-left: 15px; margin-bottom: 20px; line-height: 1;
}
.lesson-item {
    background: #f9f9f9; padding: 15px; margin-bottom: 15px; border: 1px solid #ddd; transition: all 0.2s;
}
.lesson-item:hover {
    border-color: black; box-shadow: 4px 4px 0 var(--accent);
}
.lesson-item h4 {
    font-weight: 800; margin-bottom: 5px; text-transform: uppercase; font-size: 0.95rem;
}
.amazon-link-btn {
    display: inline-block; background: black; color: white; padding: 6px 12px; font-size: 0.75rem; font-weight: bold; text-decoration: none; margin-top: 8px; text-transform: uppercase; transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.amazon-link-btn:hover { background: var(--accent); transform: translateY(-2px); }
.course-download-box {
    border: 2px dashed black; padding: 20px; background: #fff0f0; margin: 30px 0;
}
.check-list {
    list-style: none; padding: 0; font-family: 'Inter', monospace; margin-top: 15px;
}
.check-list li { margin-bottom: 8px; }
.btn-group-mini { display: flex; gap: 10px; flex-wrap: wrap; }
.brutal-list { padding-left: 20px; margin-bottom: 15px; }
.brutal-list li { margin-bottom: 5px; }
.course-cta-final {
    background: #f0f0f0; padding: 20px; text-align: center; border: 2px solid black; margin-top: 40px;
}
/* Video Responsivo */
.video-responsive {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border: 2px solid black; margin: 20px 0;
}
.video-responsive iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* =========================================
   FOOTER (Con efecto Shark Tooth)
   ========================================= */
footer { 
    position: relative; 
    margin-top: 0px;   
    /* CAMBIO: Reducimos padding-top de 80px a 50px para subir todo el bloque */
    padding: 50px 5% 80px 5%; 
    background: var(--accent); 
    color: white; 
    text-align: center; 
    scroll-margin-top: 50px; 
}

/* CAMBIO: Título más grande y con interlineado muy apretado */
footer h2 { 
    font-size: 10vw; /* Antes 8vw */
    line-height: 0.85; /* Muy pegado, estilo poster */
    margin-bottom: 20px; /* Reducido para acercar el email */
}

/* CAMBIO: Reducir espacio antes del formulario */
.newsletter-form { 
    max-width: 500px; 
    margin: 25px auto 0; /* Antes 40px */
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

/* LOS DIENTES DE SIERRA */
footer::before {
    content: "";
    position: absolute;
    top: -40px; /* Subimos los dientes para que sobresalgan del footer */
    left: 0;
    width: 100%;
    height: 41px; /* 1px extra para evitar líneas blancas finas por renderizado */
    
    /* Magia CSS: Creamos triángulos usando gradientes */
    background-image: 
        linear-gradient(to top right, var(--accent) 50%, transparent 50%),
        linear-gradient(to top left, var(--accent) 50%, transparent 50%);
    
    background-size: 40px 40px; /* Tamaño de cada diente (ancho x alto) */
    background-repeat: repeat-x; /* Repetir horizontalmente */
    background-position: center bottom; /* Alineados a la base */
    
    /* Sombra opcional para dar profundidad (descomenta si quieres más 3D) */
    /* filter: drop-shadow(0 -5px 10px rgba(0,0,0,0.2)); */
}
/* =========================================
   FOOTER SPLIT LAYOUT (Nuevo Diseño)
   ========================================= */

/* Estilos Generales (Escritorio) */
.footer-split-layout {
    display: flex;
    align-items: center; /* Alineación vertical central */
    justify-content: space-between;
    width: 100%;
    max-width: 1400px; /* Ancho máximo para que no se desparrame en pantallas gigantes */
    margin: 0 auto;
    text-align: left; /* Reseteamos alineación general */
    gap: 40px;
}

/* Columna Izquierda (Título) */
.f-col-left {
    flex: 1; /* Ocupa 50% aprox */
    text-align: center; /* Título alineado a la línea divisoria */
    padding-right: 40px;
    border-right: 3px solid black; /* LA LÍNEA VERTICAL NEGRA */
    display: flex;
    justify-content: center;
    align-items: center;
}

.f-col-left h2 {
    margin: 0;
    /* Ajuste fino para que quepa en media pantalla: */
    /* Mantenemos proporción grande pero ajustada al contenedor */
    font-size: clamp(4rem, 11vw, 10rem); 
}

/* Columna Derecha (Contenido) */
.f-col-right {
    flex: 1; /* Ocupa el otro 50% */
    text-align: center; /* Contenido centrado en su mitad */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
}

/* Re-estilos para el email para que se vea limpio */
.email-link-styled {
    color: white; 
    font-size: clamp(1.2rem, 3vw, 2.2rem); /* Ligeramente más pequeño para que quepa */
    font-family: 'Anton'; 
    text-decoration: none; 
    border-bottom: 2px solid white; 
    transition: all 0.3s;
    word-break: break-all; /* Evita que se salga si es muy largo */
}
/* Estilos para la Nueva Fila Inferior (Legal y Pagos) */
.footer-bottom-row {
    width: 100%;
    margin-top: 50px; /* Separación con la fila de arriba */
    padding-top: 30px;
    border-top: 2px solid rgba(255,255,255,0.2); /* Opcional: línea divisoria sutil */
    text-align: center; /* Todo centrado */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Reajuste de márgenes para que queden bonitos dentro de la nueva fila */
.footer-bottom-row .footer-links {
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-bottom-row .payment-trust {
    margin-top: 0;
    margin-bottom: 20px;
}
.newsletter-form { max-width: 500px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 10px; }
.newsletter-input { width: 100%; padding: 20px; border: none; font-family: 'Inter'; font-size: 1rem; outline: none; }
.newsletter-btn { width: 100%; padding: 20px 40px; background: black; color: white; border: none; font-weight: bold; cursor: pointer; text-transform: uppercase; transition: background 0.3s; }
.newsletter-btn:hover { background: #333; }
.newsletter-btn:disabled { background: #666; cursor: not-allowed; }
.newsletter-success { display: none; max-width: 500px; margin: 40px auto 0; background: black; color: white; padding: 20px; border: 2px solid white; font-family: 'Anton'; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.legal-check { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 0.8rem; margin: 10px 0; color: white; }
.legal-check input { margin-top: 4px; accent-color: black; width: 15px; height: 15px; }
.footer-links { margin-top: 50px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: white; text-decoration: underline; font-size: 0.8rem; cursor: pointer; }
.amazon-disclaimer { margin-top: 40px; font-size: 0.7rem; color: rgba(255,255,255,0.7); max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.4; }

/* COOKIES & FILTERS */
.cookie-overlay { position: fixed; bottom: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; display: none; align-items: flex-end; }
.cookie-modal { background: white; width: 100%; max-width: 1000px; margin: 0 auto; border-top: 4px solid black; border-left: 2px solid black; border-right: 2px solid black; padding: 40px 5%; box-shadow: 0 -10px 30px rgba(0,0,0,0.2); animation: slideUp 0.4s ease-out; max-height: 90vh; overflow-y: auto; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-btn-group { display: flex; gap: 20px; margin-top: 30px; }
.cookie-btn-solid { flex: 1; background: var(--accent); color: white; border: 2px solid var(--accent); padding: 15px; font-weight: 800; text-transform: uppercase; cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s; }
.cookie-btn-solid:hover { background: black; border-color: black; }
.cookie-btn-outline { flex: 1; background: transparent; color: black; border: 2px solid black; padding: 15px; font-weight: 800; text-transform: uppercase; cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s; }
.cookie-btn-outline:hover { background: #eee; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; }
.option-info { display: flex; flex-direction: column; gap: 5px; max-width: 80%; }
.option-title { font-weight: 800; font-size: 0.9rem; text-transform: uppercase; }
.option-desc { font-size: 0.8rem; color: #666; }
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border: 2px solid black; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 2px; bottom: 3px; background-color: white; border: 2px solid black; transition: .4s; }
input:checked + .slider { background-color: var(--accent); }
input:checked + .slider:before { transform: translateX(24px); }
.option-toggle.active.disabled { background: black; color: white; padding: 5px 10px; font-weight: bold; font-size: 0.8rem; cursor: not-allowed; }

.course-filters { display: flex; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.c-filter-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 25px; background: white; border: 1px solid #ddd; color: black; font-family: 'Inter', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.c-filter-btn:hover { border-color: black; transform: translateY(-2px); }
.c-filter-btn.active { background: black; color: white; border-color: black; box-shadow: 4px 4px 0 var(--accent); }

/* COURSES GRID */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; padding-top: 20px; }
.course-ticket { background: white; border: 3px solid black; display: flex; flex-direction: column; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative; overflow: hidden; }
.course-ticket:hover { transform: translateY(-8px); box-shadow: 10px 10px 0 var(--accent); border-color: black; }
.ticket-header { padding: 25px 25px 0 25px; display: flex; justify-content: space-between; align-items: flex-start; }
.ticket-icon svg { width: 40px; height: 40px; stroke: black; stroke-width: 2px; transition: transform 0.3s ease; }
.course-ticket:hover .ticket-icon svg { transform: scale(1.1) rotate(-5deg); stroke: var(--accent); }
.ticket-badge { background: var(--accent); color: white; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 0.75rem; padding: 5px 10px; text-transform: uppercase; letter-spacing: 1px; border: 1px solid black; }
.ticket-body { padding: 20px 25px; flex-grow: 1; }
.ticket-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ticket-title-row h3 { font-size: 2.2rem; line-height: 0.9; margin: 0; }
.arrow-diag { width: 24px; height: 24px; stroke: currentColor; transition: transform 0.3s ease; }
.course-ticket:hover .arrow-diag { transform: translate(3px, -3px); stroke: var(--accent); }
.ticket-body p { color: #666; font-size: 1rem; line-height: 1.4; }
.ticket-divider { height: 1px; background-image: linear-gradient(to right, black 50%, transparent 50%); background-size: 15px 1px; background-repeat: repeat-x; margin: 0 15px; opacity: 0.3; }
.ticket-footer { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; background: #fcfcfc; }
.price-box { display: flex; flex-direction: column; line-height: 1; }
.price-old { font-size: 0.9rem; text-decoration: line-through; color: #999; font-weight: 600; }
.price-new { font-family: 'Anton', sans-serif; font-size: 1.8rem; color: black; }
.ticket-btn { background: black; color: white; border: none; padding: 10px 20px; font-weight: 800; font-family: 'Inter', sans-serif; font-size: 0.9rem; text-transform: uppercase; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.arrow-btn { width: 16px; height: 16px; stroke: currentColor; }
.course-ticket:hover .ticket-btn { background: var(--accent); color: white; }
.access-link-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: black;
    border: 2px solid black;
    padding: 10px 20px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s;
    background: white;
}

.access-link-btn:hover {
    background: black;
    color: white;
    transform: translate(-3px, -3px);
    box-shadow: 4px 4px 0 var(--accent);
}

/* ESTADOS DINÁMICOS */
@keyframes blink { 50% { opacity: 0.5; } }
.text-blink { animation: blink 1s infinite; color: var(--accent); }
.text-success { color: #ffffff; } 
.text-white { color: #ffffff; }
.text-accent { color: var(--accent); }

/* =========================================
   14. PAYMENT BADGES (TRUST) - FINAL GLOBAL
   ========================================= */
.payment-trust {
    margin-top: 40px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
.payment-trust:hover { opacity: 1; }
.pay-icon { display: block; width: auto; fill: white; }

/* CALIBRACIÓN ALTURAS DESKTOP */
.visa-icon { height: 50px; }
.mastercard-icon { height: 30px; }
.paypal-icon { height: 26px; }
.stripe-icon { height: 22px; }

/* =========================================
   15. MEDIA QUERIES (TABLETS & MOBILE)
   ========================================= */
@media (max-width: 1180px) {
    html { scroll-padding-top: 70px; }
    section { padding: 30px 20px; scroll-margin-top: 0px; }
    .section-header { flex-direction: column; gap: 5px; align-items: flex-start; margin-bottom: 40px; }
    .section-header span { margin-left: 0; margin-top: 5px; }
    .hero { background-attachment: scroll; }
    .hero-title { font-size: 18vw; }
    nav { padding: 0 20px; height: 70px; }
    nav.nav-open { border-bottom-color: transparent !important; box-shadow: none !important; background-color: transparent !important; }
    nav.nav-open .logo, nav.nav-open .lang-wrapper, nav.nav-open .lang-btn { opacity: 0 !important; visibility: hidden !important; transition: opacity 0.2s ease; }
    nav.nav-open .bar { background-color: black !important; }
    .logo { transition: opacity 0.3s ease, visibility 0.3s; }
    .logo img { height: 50px; }
    .logo-text { font-size: 1.1rem; }
    .logo-symbol { width: 50px; height: 50px; } 
    .menu-links, .lang-switch-desktop { display: none; }
    .mobile-controls { display: flex; }
    .mobile-menu-overlay { gap: 0; padding: 20px; }
    .mobile-menu-overlay a { font-family: 'Anton'; font-size: 2.5rem; color: black; text-decoration: none; text-transform: uppercase; width: 80%; text-align: center; padding: 25px 0; border-bottom: 2px solid black; border-top: none; transition: all 0.3s; }
    .mobile-menu-overlay a:first-child { border-top: 2px solid black; }
    .mobile-menu-overlay a:hover { background: var(--accent); color: white; border-color: black; border-bottom: 2px solid black; }
    .servings-wrapper { flex-direction: column; gap: 10px; align-items: flex-start; }
    .servings-controls { width: 100%; justify-content: space-between; }
    .hero-recipe-card { margin-right: 0; margin-bottom: 50px; width: 100%; }
    .hero-card-img { height: 350px; }
    .modal-layout { display: flex; flex-direction: column; gap: 30px; }
    .modal-img-styled { order: 1; height: 250px; }
    .modal-ingredients-styled { order: 2; width: 100%; }
    .modal-steps-styled { order: 3; }
    .hero-card-img img, .card-img img, .product-card > img, .collage-img { filter: grayscale(100%); transform: scale(1); transition: filter 1s ease, transform 1s ease; }
    .hero-recipe-card.aos-animate .hero-card-img img, .recipe-card.aos-animate .card-img img, .product-card.aos-animate > img, .product-card.aos-animate .collage-img { filter: grayscale(0%); transform: scale(1.05); }
    .product-card.aos-animate { background: #fffafa; transition: background 0.5s ease; }
    .filter-bar { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 15px; padding-bottom: 20px; margin-bottom: 30px; margin-right: -20px; padding-right: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-btn { flex-shrink: 0; }
    .shop-grid { border-right: 2px solid black; }
    .product-card { border-right: none; border-bottom: 2px solid black; padding: 30px 15px; }
    .map-section { min-height: auto; }
    .map-controls-bar { flex-direction: column; align-items: flex-start; gap: 15px; }
    .geo-btn { width: 100%; text-align: center; }
    .map-layout { display: flex; flex-direction: column-reverse; height: auto; border: none; }
    .map-wrapper-relative { height: 45vh !important; min-height: 45vh !important; display: flex; flex-direction: column; border: 1px solid #333; border-bottom: none; }
    #map { width: 100%; height: 45vh !important; z-index: 1; }
    .store-card-overlay { position: relative !important; top: auto !important; bottom: auto !important; left: auto !important; width: 100% !important; margin: 0 !important; background: white; border-top: 4px solid var(--accent); border-bottom: 4px solid black; box-shadow: none !important; z-index: 10; display: none; padding: 20px; order: 2; }
    .store-card-overlay.visible { display: block; animation: expandHeight 0.3s ease forwards; }
    @keyframes expandHeight { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    .store-list { width: 100%; height: 0; min-height: 0 !important; overflow: hidden !important; border-right: none; border-top: none; transition: height 0.3s cubic-bezier(0.25, 0.1, 0.25, 1) !important; margin: 0 !important; padding: 0 !important; background: black; }
    .map-layout.results-open .store-list { height: 40vh; border-top: 1px solid #333; }
    .zoom-controls { right: 15px !important; top: 15px !important; bottom: auto !important; }
    .recenter-btn { right: 15px !important; top: 100px !important; bottom: auto !important; }
    .search-area-btn { width: auto !important; min-width: 200px; padding: 12px 25px !important; font-size: 0.9rem !important; justify-content: center; position: absolute !important; bottom: auto !important; top: calc(45vh - 90px) !important; left: 50% !important; transform: translateX(-50%) !important; z-index: 5; box-shadow: 0 4px 15px rgba(0,0,0,0.4); }
    .list-toggle-tab { top: calc(45vh - 30px) !important; left: 50% !important; transform: translateX(-50%) !important; bottom: auto !important; right: auto !important; animation: none !important; width: 70px !important; height: 30px !important; background: black; border: 1px solid #333 !important; border-bottom: none !important; z-index: 2000 !important; transition: background 0.3s !important; }
    .list-toggle-tab svg { transform: rotate(-90deg) !important; transition: transform 0.3s ease !important; }
    .map-layout.results-open .list-toggle-tab svg { transform: rotate(90deg) !important; }
    .online-section { scroll-margin-top: 70px; padding-top: 40px; }
    .modal-content { padding: 80px 5% 40px 5%; width: 100%; }
    .close-modal { top: 10px; right: 10px; padding: 10px 20px; font-size: 0.9rem; width: auto; }
    .modal-header h2 { font-size: 3rem; line-height: 1; }
    .toggle-controls { flex-direction: row; }
    .t-btn { font-size: 1.1rem; padding: 10px; }
    .course-item { padding: 30px 0; }
    .big-number { font-size: 3.5rem; margin-right: 15px; -webkit-text-stroke: 1px black; }
    .course-content h3 { font-size: 2rem; line-height: 1.1; }
    /* 1. Título Gigante pero compacto */
    footer h2 { 
        font-size: 19vw; /* ¡Enorme! (Antes 15vw) */
        line-height: 0.85; 
        margin-bottom: 20px; /* Pegamos el email al título */
    }

    /* 2. Ajuste del enlace de email para que no ocupe tanto alto */
    footer a[href^="mailto"] {
        font-size: 1.8rem !important; /* Un pelín más pequeño para que no rompa línea */
        border-bottom-width: 1px !important;
    }

    /* 3. Contenedor del email más pegado */
    footer div[style*="margin: 20px 0 40px 0"] {
        margin: 10px 0 25px 0 !important; /* Reducimos drásticamente este margen */
    }

    /* 4. Formulario más compacto */
    .newsletter-form {
        margin-top: 15px; /* Pegado al texto anterior */
    }

    .newsletter-input, .newsletter-btn {
        padding: 15px; /* Reducimos un poco el padding de los inputs (antes 20px) */
    }

    /* 5. Footer Links (Legal) más juntos */
    .footer-links {
        margin-top: 30px; /* Antes 50px */
        gap: 15px;
    }

        .footer-split-layout {
        flex-direction: column; /* Volvemos a apilar */
        gap: 0;
    }

    .f-col-left {
        border-right: none; /* Quitamos la línea vertical */
        text-align: center; /* Centramos título */
        padding-right: 0;
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .f-col-right {
        padding-left: 0;
        width: 100%;
    }
    
    .f-col-left h2 {
        /* Recuperamos el tamaño gigante en móvil */
        font-size: 19vw; 
    }

    .newsletter-form { flex-direction: column; width: 100%; }
    .footer-links { flex-direction: column; gap: 10px; }
    .course-btn-group { flex-direction: column; }
    #cookie-banner { left: 10px; right: 10px; width: auto; bottom: 20px; }
    .cookie-btn-group { flex-direction: column; gap: 10px; }
    .cookie-option { align-items: flex-start; }
    .switch { margin-top: 5px; }
    .course-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; }
    .c-filter-btn { flex-shrink: 0; white-space: nowrap; }
    
    /* REAJUSTE DE PAGOS EN MÓVIL */
    .payment-trust { gap: 20px; }
    .visa-icon { height: 40px; }
    .mastercard-icon { height: 24px; }
    .paypal-icon { height: 22px; }
    .stripe-icon { height: 18px; }

    .spoon-svg { width: 60px; height: 60px; }
    .about-section { padding: 60px 20px 300px 20px;}
    .spoon-svg { width: 60px; height: 60px; }
    .cinematic-title { font-size: 3rem; }

    /* =========================================
       MEJORA ANIMACIÓN MÓVIL (LATIDO + TOQUE)
       ========================================= */
       
    /* 1. Definimos la animación de "Respiración" */
    @keyframes mobilePulse {
        0% { transform: scale(1); color: #ccc; }
        50% { transform: scale(1.2); color: var(--accent); } /* Se agranda y se pone rojo */
        100% { transform: scale(1); color: #ccc; }
    }

    /* 2. Aplicamos la animación al icono (+) para que lo haga siempre */
    .recipe-card.locked-card .plus-icon {
        animation: mobilePulse 3s infinite ease-in-out; /* Lento y suave (3 segundos) */
    }

    /* 3. El botón también "respira" un poco para acompañar */
    .recipe-card.locked-card .unlock-btn {
        transition: color 0.3s;
        /* Forzamos estilos base de nuevo por si acaso */
        color: black !important;
        border-bottom: 2px solid var(--accent) !important;
    }

    /* 4. FEEDBACK AL TOCAR (El :active es clave en móvil) */
    .recipe-card.locked-card:active {
        background-color: #fff !important;
        border-color: var(--accent) !important; /* Borde rojo instantáneo */
        border-style: solid; /* Cambia de discontinuo a sólido al tocar -> Efecto "Click" */
        transform: scale(0.96) !important; /* Se hunde un poco más */
        transition: transform 0.1s; /* Muy rápido */
    }
    
    /* Cuando tocas, paramos la animación para que se sienta el control */
    .recipe-card.locked-card:active .plus-icon {
        animation: none;
        color: var(--accent);
        transform: scale(1);
    }

    /* 1. Definimos la coreografía de la batalla */
    @keyframes battle-clash-white {
        0%, 100% { transform: rotate(0deg); }   /* Vertical */
        50% { transform: rotate(25deg); }       /* Abierta en X */
    }

    @keyframes battle-clash-black {
        0%, 100% { transform: scaleX(-1) rotate(0deg); } /* Vertical (Espejo) */
        50% { transform: scaleX(-1) rotate(25deg); }     /* Abierta en X */
    }

    /* Desactivamos el cursor pointer porque ya no es interactivo */
    .spoon-container {
        cursor: default;
    }

    /* La cuchara blanca baila su parte */
    .white-spoon {
        animation: battle-clash-white 3s infinite ease-in-out;
    }

    /* La cuchara negra baila su parte */
    .black-spoon {
        animation: battle-clash-black 3s infinite ease-in-out;
    }

    .trailer-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
        width: 100%; /* Botón ancho completo en móvil para fácil dedo */
    }

    /* OPTIMIZACIÓN COOKIES MÓVIL */
    .cookie-modal {
        padding: 20px;       /* Reducir padding */
        max-height: 80vh;    /* Evitar que ocupe el 100% */
        border-width: 2px;   /* Bordes más finos */
        bottom: 0;
        margin: 0;
        border-radius: 20px 20px 0 0; /* Estilo "Bottom Sheet" moderno */
    }

    .cookie-header h3 {
        font-size: 1.5rem !important; /* Título más pequeño */
        margin-bottom: 10px;
    }

    .cookie-body p {
        font-size: 0.8rem !important; /* Texto legal más compacto */
        line-height: 1.3 !important;
    }

    .cookie-btn-group {
        margin-top: 15px;
        flex-direction: row; /* Mantener botones en línea si caben, o usar wrap */
        flex-wrap: wrap;
        gap: 10px;
    }

    .cookie-btn-solid, .cookie-btn-outline {
        padding: 12px;       /* Botones más fáciles de tocar pero menos altos */
        font-size: 0.8rem;
        flex: 1 1 45%;       /* Que ocupen casi la mitad cada uno */
    }

}

/* =========================================
   16. SECCIÓN ABOUT (CINEMATIC INTRO)
   ========================================= */
.about-section {
    background-color: #000000;
    color: white;
    
    /* CAMBIO AQUÍ: Aumentamos drásticamente el padding inferior (3er valor) */
    /* Antes: padding: 100px 5%; */
    padding: 100px 5% 120px 5%; 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid #333;
    overflow: hidden; 
}

.about-content { max-width: 900px; position: relative; }

/* 1. LA ETIQUETA ROJA */
.netflix-tag {
    display: inline-block;
    color: #E50914; /* Rojo Netflix */
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #E50914;
    border-bottom: 1px solid #E50914;
    padding: 5px 15px;
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 5px rgba(229, 9, 20, 0.2); }
    to { text-shadow: 0 0 15px rgba(229, 9, 20, 0.8); }
}

/* 2. EL TÍTULO DE CINE */
.cinematic-title {
    font-size: clamp(3rem, 7vw, 6rem); 
    margin-bottom: 10px; 
    line-height: 0.9;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* 3. ICONOS CUCHARAS (Modo Batalla: Cruzados) */
.spoon-container {
    position: relative;       /* Contexto para posicionamiento absoluto */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;            /* Reservamos altura para que la X respire */
    margin: 30px 0 50px 0;    /* Ajuste de márgenes */
}

.spoon-svg { 
    width: 130px;             /* Aumentamos tamaño (antes 90px) para más impacto */
    height: 130px; 
    position: absolute;       /* Clave para superponerlas */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Rebote suave al cargar/hover */
}

/* Cuchara BLANCA (Fondo) */
.white-spoon { 
    z-index: 1;
    transform: rotate(20deg); /* Inclinación para formar una pata de la X */
    opacity: 0.8;             /* Sutil transparencia para dar profundidad */
}

/* Cuchara NEGRA (Frente) */
.black-spoon { 
    z-index: 2;
    /* scaleX(-1) mantiene el espejo original, rotate(-20deg) cruza al otro lado */
    transform: scaleX(-1) rotate(20deg); 
    /* Sombra brutalista para separarla del fondo blanco */
    filter: drop-shadow(10px 10px 0px rgba(0,0,0,0.5)); 
}

/* MICRO-INTERACCIÓN HOVER: "CHOQUE" */
.spoon-container:hover .white-spoon {
    transform: rotate(0deg); /* Se ponen rectas al pasar el mouse */
}
.spoon-container:hover .black-spoon {
    transform: scaleX(-1) rotate(0deg);
}

/* 4. TEXTO Y BOTÓN (Cinematic Style) */
.about-content p { 
    max-width: 700px; 
    margin: 0 auto 40px auto; /* Un poco más de aire */
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
}

.about-content strong { 
    color: white; 
    border-bottom: 2px solid #E50914; /* Subrayado rojo sangre */
}

.trailer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    
    /* Estado Base: Minimalista pero tenso */
    background: transparent;
    color: #E50914; /* Rojo Netflix */
    border: 2px solid #E50914;
    
    padding: 18px 45px; /* Más grande, más clicable */
    text-decoration: none;
    
    /* Tipografía Brutalista */
    font-family: 'Anton', sans-serif;
    font-size: 1.3rem; 
    letter-spacing: 2px;
    text-transform: uppercase;
    
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.trailer-btn span {
    display: inline-block;
    transition: transform 0.3s ease; /* Para animar la flecha */
    font-size: 1rem;
}

/* --- ESTADO HOVER: EXPLOSIÓN DE COLOR --- */
.trailer-btn:hover {
    background: #E50914;
    color: white;
    /* Glow rojo intenso alrededor */
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.6); 
    /* Pequeña elevación */
    transform: translateY(-3px);
}

.trailer-btn:hover span {
    transform: translateX(5px); /* La flecha avanza */
}

/* =========================================
   17. ESTILOS EXTRA (MENÚ MÓVIL MEJORADO)
   ========================================= */

/* Cabecera del menú móvil con el logo */
.mobile-menu-header {
    margin-bottom: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease 0.2s; /* Retraso para efecto elegante */
}

/* Cuando el menú se abre, el logo baja suavemente */
.mobile-menu-overlay.open .mobile-menu-header {
    opacity: 1;
    transform: translateY(0);
}

/* Ajuste para que los enlaces se vean bien con el logo encima */
.mobile-menu-overlay a {
    font-size: 2rem !important; /* Forzamos el tamaño correcto */
    padding: 20px 0 !important;
}

/* =========================================
   TARJETA BLOQUEADA (ESCRITORIO & MÓVIL)
   ========================================= */

.recipe-card.locked-card {
    background-color: rgba(255, 255, 255, 0.5); /* Fondo semitransparente sutil */
    border: 3px dashed #ccc; /* Borde discontinuo */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 400px; /* Altura estándar en PC */
    padding: 20px;
    position: relative; /* Para ajustes */
}

.locked-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    pointer-events: none; /* El click lo recibe la tarjeta madre */
}

/* El signo MÁS (+) */
.plus-icon {
    width: 60px;
    height: 60px;
    color: #ccc;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

/* Botón falso */
.unlock-btn {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    margin-top: 10px;
    display: inline-block;
}

.recipe-card.locked-card:hover {
    border-color: black;
    background-color: #fff;
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--accent);
}

.recipe-card.locked-card:hover .plus-icon {
    color: var(--accent);
    transform: scale(1.2) rotate(90deg);
}

.recipe-card.locked-card:hover .unlock-btn {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
