/* ============================================
   CALI GASTROWEB — v5 Complete Redesign
   Fonts: Outfit + Inter
   Colors: Teal + Coral + White
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0D7377;
    --primary-light: #15959A;
    --primary-dark: #095456;
    --accent: #FF6B35;
    --accent-light: #FF8A5C;
    --accent-dark: #E55A2B;
    --green: #22C55E;
    --gold: #F59E0B;

    --bg-white: #FFFFFF;
    --bg-light: #F5F5F7;
    --bg-warm: #FFF8F0;
    --bg-dark: #0A1628;
    --bg-dark-2: #111D32;
    --bg-dark-3: #1A2940;

    --text-dark: #1E293B;
    --text-body: #475569;
    --text-light: #64748B;
    --text-muted: #94A3B8;
    --text-white: #F8FAFC;

    --border: #E2E8F0;
    --border-light: #F1F5F9;

    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --s-xs: 0.25rem;
    --s-sm: 0.5rem;
    --s-md: 1rem;
    --s-lg: 1.5rem;
    --s-xl: 2rem;
    --s-2xl: 3rem;
    --s-3xl: 4rem;
    --s-4xl: 6rem;
    --s-5xl: 8rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

    --t-fast: 0.15s;
    --t-base: 0.3s;
    --t-slow: 0.5s;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1200px;
}


/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-body);
    background: var(--bg-white);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--primary-dark); }
em { font-style: italic; color: var(--accent); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-xl); }


/* === Preloader === */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg-dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-icon { font-size: 3rem; animation: pulse 1s ease infinite; }
.preloader-text { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; color: var(--text-white); margin-top: var(--s-sm); letter-spacing: -0.02em; }
.preloader-bar { width: 180px; height: 3px; background: var(--bg-dark-3); border-radius: var(--radius-full); margin-top: var(--s-lg); overflow: hidden; }
.preloader-bar-fill { width: 0; height: 100%; background: var(--accent); border-radius: var(--radius-full); animation: fillBar 1.2s ease forwards; }
@keyframes fillBar { to { width: 100%; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }


/* === Header === */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
    padding: var(--s-sm) 0;
    transition: all var(--t-base) var(--ease);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 var(--border);
}
.header.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: var(--s-xs) 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
    display: flex; align-items: center; gap: var(--s-sm);
    font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
    color: var(--text-dark); letter-spacing: -0.03em;
}
.nav-logo-icon { font-size: 1.5rem; }
.nav-menu { display: flex; gap: var(--s-lg); list-style: none; }
.nav-link {
    font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--text-light);
    padding: var(--s-xs) var(--s-sm); border-radius: var(--radius-sm);
    transition: all var(--t-fast);
}
.nav-link:hover { color: var(--primary); background: rgba(13,115,119,0.06); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link::after { display: none; }

.nav-toggle { display: none; background: rgba(13,115,119,0.08); border: 2px solid var(--primary); border-radius: var(--radius-md); cursor: pointer; width: 42px; height: 38px; position: relative; z-index: 9001; padding: 8px 6px; justify-content: center; align-items: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 100%; height: 3px; background: var(--primary); border-radius: var(--radius-full); transition: all var(--t-base) var(--ease); flex-shrink: 0; }
.nav-toggle span:nth-child(2) { margin: 0; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }


/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: var(--s-sm);
    font-family: var(--font-heading); font-weight: 600;
    padding: 0.75rem 1.75rem; border-radius: var(--radius-lg); letter-spacing: -0.01em;
    font-size: 0.9rem; cursor: pointer; transition: all var(--t-base) var(--ease);
    border: 2px solid transparent; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,115,119,0.3); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.3); }
.btn-outline { background: transparent; color: var(--text-white); border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-secondary { background: var(--bg-light); color: var(--text-dark); border-color: var(--border); }
.btn-secondary:hover { background: var(--border); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-dark { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.btn-dark:hover { background: var(--bg-dark-2); transform: translateY(-2px); box-shadow: var(--shadow-lg); }


/* ============================================
   HERO — Modern centered with image bento
   ============================================ */
.hero-v2 {
    background: var(--bg-dark);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100vh;
    padding-top: 80px;
    position: relative; overflow: hidden;
}
.hero-v2::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(13,115,119,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,107,53,0.1) 0%, transparent 50%);
}
.hero-v2-inner {
    display: flex; flex-direction: column; align-items: center;
    padding: var(--s-2xl) 0;
    position: relative; z-index: 1;
    text-align: center;
}
.hero-v2-badge {
    display: inline-flex; align-items: center; gap: var(--s-sm);
    font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--accent); padding: var(--s-sm) var(--s-lg);
    background: rgba(255,107,53,0.1); border: 1px solid rgba(255,107,53,0.2);
    border-radius: var(--radius-full); margin-bottom: var(--s-xl);
}
.hero-v2-title {
    font-family: var(--font-heading); font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800; line-height: 1.05; color: var(--text-white);
    margin-bottom: var(--s-lg); letter-spacing: -0.03em;
}
.hero-v2-title em { color: var(--accent); font-style: normal; }
.hero-v2-desc {
    font-size: 1.1rem; line-height: 1.7; color: var(--text-muted);
    margin-bottom: 0; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-v2-stats { display: flex; gap: var(--s-2xl); justify-content: center; }
.hero-v2-stat strong {
    font-family: var(--font-heading); font-size: 2rem; font-weight: 800;
    color: var(--text-white); display: block; letter-spacing: -0.02em;
}
.hero-v2-stat span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Hero Carousel Strip */
.hero-carousel {
    width: 100%; overflow: hidden;
    padding: var(--s-2xl) 0;
    position: relative; z-index: 1;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.hero-carousel-track {
    display: flex; gap: var(--s-lg);
    animation: carouselScroll 40s linear infinite;
    width: max-content;
}
.hero-carousel-item {
    flex-shrink: 0; width: 220px; position: relative;
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-carousel-item img {
    width: 100%; height: 160px; object-fit: cover;
    display: block;
}
.hero-carousel-item span {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.8) 0%, transparent 100%);
    color: #fff; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600;
    padding: 20px 12px 8px; text-align: center;
}
@keyframes carouselScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.hero-carousel:hover .hero-carousel-track {
    animation-play-state: paused;
}


/* ============================================
   ABOUT STRIP
   ============================================ */
.about-strip {
    padding: var(--s-4xl) 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}
.about-strip-inner {
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: var(--s-3xl); align-items: start;
}
.about-strip-text h2 {
    font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700; color: var(--text-dark); line-height: 1.2;
    margin: var(--s-md) 0 var(--s-lg); letter-spacing: -0.02em;
}
.about-strip-text p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }
.about-feature {
    padding: var(--s-xl); background: var(--bg-light); border-radius: var(--radius-xl);
    text-align: center; transition: all var(--t-base) var(--ease); border: 1px solid transparent;
}
.about-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border); background: var(--bg-white); }
.about-feature-icon { font-size: 2rem; margin-bottom: var(--s-md); }
.about-feature h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-bottom: var(--s-xs); }
.about-feature p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }


/* ============================================
   SECTION UTILITIES
   ============================================ */
.section-tag {
    display: inline-block; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary);
    padding: var(--s-xs) var(--s-md); background: rgba(13,115,119,0.08);
    border-radius: var(--radius-full); margin-bottom: var(--s-md);
}
.section-tag-light { color: var(--accent); background: rgba(255,107,53,0.12); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto var(--s-3xl); }
.section-title {
    font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; line-height: 1.15; color: var(--text-dark);
    margin-top: var(--s-sm); letter-spacing: -0.02em;
}
.section-title em { color: var(--accent); font-style: normal; }
.section-subtitle { font-size: 1rem; color: var(--text-light); margin-top: var(--s-md); line-height: 1.7; }
.section-cta { text-align: center; margin-top: var(--s-3xl); }


/* ============================================
   SHOWCASE — Alternating dish rows
   ============================================ */
.showcase-section { padding: var(--s-5xl) 0; background: var(--bg-light); }

.showcase-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3xl);
    align-items: center; margin-bottom: var(--s-4xl);
}
.showcase-row-reverse { direction: rtl; }
.showcase-row-reverse > * { direction: ltr; }

.showcase-img {
    position: relative; border-radius: var(--radius-2xl); overflow: hidden;
    aspect-ratio: 4/3; box-shadow: var(--shadow-xl);
}
.showcase-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.showcase-img:hover img { transform: scale(1.04); }
.showcase-badge {
    position: absolute; top: var(--s-lg); left: var(--s-lg);
    background: var(--accent); color: #fff;
    font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    padding: 6px 14px; border-radius: var(--radius-full);
}
.showcase-category {
    font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--primary); margin-bottom: var(--s-sm); display: block;
}
.showcase-info h3 {
    font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700; color: var(--text-dark); margin-bottom: var(--s-md);
    line-height: 1.15; letter-spacing: -0.02em;
}
.showcase-info p {
    font-size: 0.95rem; color: var(--text-light); line-height: 1.7;
    margin-bottom: var(--s-lg);
}
.showcase-meta {
    display: flex; gap: var(--s-xl); font-size: 0.85rem; color: var(--text-muted);
    margin-bottom: var(--s-xl); font-weight: 500;
}

/* Duo cards */
.showcase-duo {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-xl);
    margin-bottom: var(--s-2xl);
}
.showcase-duo-card {
    background: var(--bg-white); border-radius: var(--radius-2xl); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: all var(--t-base) var(--ease);
}
.showcase-duo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.showcase-duo-img { aspect-ratio: 16/9; overflow: hidden; }
.showcase-duo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.showcase-duo-card:hover .showcase-duo-img img { transform: scale(1.05); }
.showcase-duo-info { padding: var(--s-xl); }
.showcase-duo-info h3 {
    font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700;
    color: var(--text-dark); margin-bottom: var(--s-sm); letter-spacing: -0.01em;
}
.showcase-duo-info p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: var(--s-lg); }


/* ============================================
   CULTURAL ROOTS
   ============================================ */
.roots-section { padding: var(--s-5xl) 0; background: var(--bg-white); }
.roots-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4xl); align-items: center;
}
.roots-img-stack { position: relative; }
.roots-img-main {
    border-radius: var(--radius-2xl); width: 100%; aspect-ratio: 4/3; object-fit: cover;
    box-shadow: var(--shadow-xl);
}
.roots-img-accent {
    position: absolute; bottom: -24px; right: -16px; width: 42%; aspect-ratio: 1;
    border-radius: var(--radius-xl); overflow: hidden; border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-lg);
}
.roots-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.roots-title {
    font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700; color: var(--text-dark); line-height: 1.15;
    margin: var(--s-md) 0 var(--s-lg); letter-spacing: -0.02em;
}
.roots-title em { color: var(--accent); font-style: normal; }
.roots-text { font-size: 1rem; color: var(--text-light); line-height: 1.7; margin-bottom: var(--s-xl); }
.roots-list { display: flex; flex-direction: column; gap: var(--s-md); margin-bottom: var(--s-2xl); }
.roots-item {
    display: flex; gap: var(--s-lg); align-items: flex-start;
    padding: var(--s-lg); background: var(--bg-light); border-radius: var(--radius-lg);
    transition: all var(--t-fast);
}
.roots-item:hover { background: var(--bg-white); box-shadow: var(--shadow-md); }
.roots-item-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.roots-item h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.roots-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }


/* ============================================
   MAP PREVIEW
   ============================================ */
.map-preview-section { padding: var(--s-5xl) 0; background: var(--bg-light); }
.map-preview-container { border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.map-preview-frame { position: relative; height: 400px; }
.map-preview-map { width: 100%; height: 100%; position: relative; z-index: 1; }
.map-preview-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(10,22,40,0.2); opacity: 0; transition: opacity var(--t-base);
}
.map-preview-frame:hover .map-preview-overlay { opacity: 1; }
.map-legend { display: flex; gap: var(--s-xl); padding: var(--s-lg) var(--s-xl); background: var(--bg-white); }
.map-legend-item { display: flex; align-items: center; gap: var(--s-sm); font-size: 0.85rem; color: var(--text-light); font-weight: 500; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }


/* ============================================
   MULTIMEDIA
   ============================================ */
.multimedia-section { padding: var(--s-5xl) 0; background: var(--bg-white); }
.multimedia-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-xl); }
.multimedia-card {
    padding: var(--s-2xl) var(--s-xl); border-radius: var(--radius-2xl);
    border: 1px solid var(--border); background: var(--bg-white);
    transition: all var(--t-base) var(--ease); text-align: center;
}
.multimedia-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.multimedia-card-icon {
    width: 64px; height: 64px; border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto var(--s-lg);
}
.multimedia-video .multimedia-card-icon { background: rgba(13,115,119,0.08); color: var(--primary); }
.multimedia-audio .multimedia-card-icon { background: rgba(34,197,94,0.08); color: var(--green); }
.multimedia-gallery .multimedia-card-icon { background: rgba(255,107,53,0.08); color: var(--accent); }
.multimedia-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--text-dark); margin-bottom: var(--s-sm); }
.multimedia-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: var(--s-lg); }
.multimedia-card-link { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.multimedia-card-link:hover { color: var(--accent); }


/* ============================================
   PRESERVATION CTA
   ============================================ */
.preservation-section {
    padding: var(--s-5xl) 0; text-align: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
    color: #fff; position: relative; overflow: hidden;
}
.preservation-section::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(13,115,119,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255,107,53,0.1) 0%, transparent 50%);
}
.preservation-content { position: relative; z-index: 1; max-width: 650px; margin: 0 auto; }
.preservation-title {
    font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700; line-height: 1.15; margin-bottom: var(--s-xl); color: #fff;
    letter-spacing: -0.02em;
}
.preservation-title em { color: var(--accent); font-style: normal; }
.preservation-text { font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); margin-bottom: var(--s-2xl); }
.preservation-actions { display: flex; gap: var(--s-md); justify-content: center; flex-wrap: wrap; }
.preservation-section .btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.preservation-section .btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 8px 24px rgba(255,107,53,0.3); }
.preservation-section .btn-ghost { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.2); }
.preservation-section .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); color: #fff; }


/* ============================================
   PAGE HERO (Subpages)
   ============================================ */
.page-hero {
    padding: var(--s-5xl) 0 var(--s-3xl); margin-top: 64px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
    text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(13,115,119,0.12) 0%, transparent 60%);
}
.page-hero-content { max-width: 600px; margin: 0 auto; position: relative; }
.page-hero h1 {
    font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; color: var(--text-white); line-height: 1.15;
    margin-bottom: var(--s-lg); letter-spacing: -0.02em;
}
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }


/* ============================================
   FILTERS BAR
   ============================================ */
.filters-bar {
    padding: var(--s-md) 0; background: var(--bg-white);
    border-bottom: 1px solid var(--border); position: sticky; top: 64px; z-index: 50;
}
.filters-inner { display: flex; gap: var(--s-sm); align-items: center; flex-wrap: wrap; }
.filter-btn {
    font-family: var(--font-heading); font-size: 0.8rem; font-weight: 500;
    padding: var(--s-sm) var(--s-lg); border-radius: var(--radius-full);
    background: transparent; border: 1px solid var(--border); color: var(--text-light);
    cursor: pointer; transition: all var(--t-fast);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-input {
    flex: 1; min-width: 200px; padding: var(--s-sm) var(--s-lg); border-radius: var(--radius-full);
    border: 1px solid var(--border); font-family: var(--font-body); font-size: 0.85rem;
    background: var(--bg-light); color: var(--text-dark); outline: none;
    transition: all var(--t-fast);
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,115,119,0.1); }


/* ============================================
   DISHES GRID (Recetas page)
   ============================================ */
.featured-section { padding: var(--s-5xl) 0; }
.dishes-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--s-xl);
}
.dish-card {
    background: var(--bg-white); border-radius: var(--radius-2xl); overflow: hidden;
    border: 1px solid var(--border); transition: all var(--t-base) var(--ease);
}
.dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dish-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.dish-card-image { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.dish-card-featured .dish-card-image { aspect-ratio: auto; min-height: 350px; }
.dish-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.dish-card:hover .dish-card-image img { transform: scale(1.05); }
.dish-card-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.4) 0%, transparent 60%);
}
.dish-card-badge {
    position: absolute; top: var(--s-lg); left: var(--s-lg);
    background: var(--accent); color: #fff;
    font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    padding: 5px 12px; border-radius: var(--radius-full);
}
.dish-card-content { padding: var(--s-xl); display: flex; flex-direction: column; justify-content: center; }
.dish-card-category {
    font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--primary); margin-bottom: var(--s-xs);
}
.dish-card-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: var(--s-sm); letter-spacing: -0.01em; }
.dish-card-description { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: var(--s-lg); }
.dish-card-meta { display: flex; gap: var(--s-lg); font-size: 0.8rem; color: var(--text-muted); margin-bottom: var(--s-lg); font-weight: 500; }
.dish-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--primary);
    transition: gap var(--t-base);
}
.dish-card-link:hover { gap: var(--s-sm); color: var(--accent); }

.favorite-btn {
    position: absolute; top: var(--s-md); right: var(--s-md); z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--t-fast); box-shadow: var(--shadow-sm);
}
.favorite-btn svg { width: 18px; height: 18px; color: var(--text-muted); }
.favorite-btn:hover { background: #fff; transform: scale(1.1); }
.favorite-btn.active svg { fill: var(--accent); color: var(--accent); }


/* ============================================
   RECIPE DETAIL
   ============================================ */
.recipe-detail-section { padding: var(--s-3xl) 0 var(--s-5xl); }
.recipe-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3xl); }
.recipe-image-main { border-radius: var(--radius-2xl); overflow: hidden; margin-bottom: var(--s-lg); aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.recipe-image-main img { width: 100%; height: 100%; object-fit: cover; }
.recipe-video-container {
    border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-light);
    margin-bottom: var(--s-lg); aspect-ratio: 16/9;
}
.recipe-video-placeholder {
    width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--text-muted);
}
.recipe-audio-container {
    background: var(--bg-light); border-radius: var(--radius-lg); padding: var(--s-lg);
    display: flex; align-items: center; gap: var(--s-lg);
}
.audio-icon { width: 48px; height: 48px; background: rgba(13,115,119,0.08); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.recipe-meta-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-md);
    padding: var(--s-lg); border-radius: var(--radius-lg); margin-bottom: var(--s-2xl);
    border-left: 3px solid var(--primary); background: var(--bg-light);
}
.recipe-meta-item { text-align: center; }
.meta-label { display: block; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: var(--s-xs); }
.meta-value { display: block; font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--text-dark); }
.recipe-description { font-size: 1rem; color: var(--text-light); line-height: 1.7; margin-bottom: var(--s-xl); }
.recipe-cultural-note {
    padding: var(--s-lg); background: rgba(13,115,119,0.04); border-radius: var(--radius-lg);
    border-left: 3px solid var(--primary); margin-bottom: var(--s-2xl);
}
.recipe-cultural-note h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: var(--s-sm); }
.recipe-cultural-note p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.ingredients-list h3, .preparation-steps h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: var(--s-lg); letter-spacing: -0.01em; }
.ingredient-item {
    display: flex; align-items: center; gap: var(--s-md);
    padding: var(--s-md); border-radius: var(--radius-md); border: 1px solid var(--border);
    margin-bottom: var(--s-sm); cursor: pointer; transition: all var(--t-fast);
    background: var(--bg-white);
}
.ingredient-item:hover { background: var(--bg-light); border-color: var(--primary); }
.ingredient-check {
    width: 22px; height: 22px; border-radius: var(--radius-sm); border: 2px solid var(--border);
    flex-shrink: 0; transition: all var(--t-fast); cursor: pointer;
}
.ingredient-check.checked { background: var(--primary); border-color: var(--primary); }
.step-item { display: flex; gap: var(--s-lg); margin-bottom: var(--s-xl); }
.step-number {
    width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--primary); color: #fff;
    font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-content p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }


/* ============================================
   MAP PAGE
   ============================================ */
.map-page-body main { height: calc(100vh - 64px); margin-top: 64px; position: relative; z-index: 1; }
.map-full-container { display: flex; height: 100%; position: relative; z-index: 1; }
.map-sidebar {
    width: 360px; flex-shrink: 0; padding: var(--s-xl); background: var(--bg-white);
    overflow-y: auto; border-right: 1px solid var(--border);
}
#mapFull { flex: 1; position: relative; z-index: 1; }
.map-location-list { display: flex; flex-direction: column; gap: var(--s-sm); }
.map-location-item {
    padding: var(--s-md); border-radius: var(--radius-lg); border: 1px solid var(--border);
    cursor: pointer; transition: all var(--t-fast); background: var(--bg-white);
}
.map-location-item:hover, .map-location-item.active { border-color: var(--primary); background: rgba(13,115,119,0.03); }
.map-location-item h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin: var(--s-xs) 0; }
.map-location-item p { font-size: 0.8rem; color: var(--text-muted); }
.map-location-type {
    font-family: var(--font-heading); font-size: 0.65rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 3px 10px; border-radius: var(--radius-full); display: inline-block;
}
.type-restaurant { background: rgba(231,111,81,0.1); color: #E76F51; }
.type-market { background: rgba(42,157,143,0.1); color: #2A9D8F; }
.type-landmark { background: rgba(245,158,11,0.1); color: #D97706; }


/* ============================================
   LIBRARY PAGE
   ============================================ */
.library-tabs-container {
    padding: var(--s-lg) 0; background: var(--bg-white);
    border-bottom: 1px solid var(--border); position: sticky; top: 64px; z-index: 50;
}
.library-tabs { display: flex; gap: var(--s-sm); justify-content: center; }
.library-tab {
    padding: var(--s-sm) var(--s-xl); border-radius: var(--radius-full);
    font-family: var(--font-heading); font-size: 0.85rem; font-weight: 500; cursor: pointer;
    background: transparent; border: 1px solid var(--border); color: var(--text-light);
    display: flex; align-items: center; gap: var(--s-sm); transition: all var(--t-fast);
}
.library-tab:hover { border-color: var(--primary); color: var(--primary); }
.library-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.library-content > div { display: none; }
.library-content > div.active { display: block; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: var(--s-xl); }
.video-card { background: var(--bg-white); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); transition: all var(--t-base) var(--ease); }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.video-thumbnail { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.95);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); transition: transform var(--t-fast);
}
.video-card:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-info { padding: var(--s-lg); }
.video-info h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: var(--s-xs); }
.video-info p { font-size: 0.85rem; color: var(--text-muted); }

.audio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: var(--s-lg); }
.audio-card {
    background: var(--bg-white); border-radius: var(--radius-lg); border: 1px solid var(--border);
    padding: var(--s-xl); display: flex; align-items: center; gap: var(--s-lg);
    transition: all var(--t-base);
}
.audio-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s-md); }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: all var(--t-base) var(--ease); aspect-ratio: 4/3; }
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* Audio list (biblioteca) */
.audio-list { display: flex; flex-direction: column; gap: var(--s-md); }
.audio-item {
    background: var(--bg-white); border-radius: var(--radius-lg); border: 1px solid var(--border);
    padding: var(--s-lg); display: flex; align-items: center; gap: var(--s-lg);
    transition: all var(--t-base);
}
.audio-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.audio-play {
    width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(13,115,119,0.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: all var(--t-fast);
}
.audio-play:hover { background: var(--primary); color: #fff; }
.audio-info { flex: 1; }
.audio-info h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-bottom: var(--s-xs); }
.audio-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.audio-duration { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--text-light); flex-shrink: 0; }

/* Library section content spacing */
.library-section { padding: var(--s-3xl) 0 var(--s-5xl); }

/* Testimonials video grid */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-xl); }
.testimonials-grid .video-thumbnail { aspect-ratio: 9/16; background: #000; }
.testimonials-grid .video-thumbnail video { width: 100%; height: 100%; object-fit: contain; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.6); padding: var(--s-4xl) 0 var(--s-xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-3xl); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: var(--s-md); color: rgba(255,255,255,0.4); }
.footer-logo { display: flex; align-items: center; gap: var(--s-sm); font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: #fff; }
.footer-nav h4 { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: var(--s-md); }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: var(--s-sm); }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.4); transition: color var(--t-fast); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
    margin-top: var(--s-3xl); padding-top: var(--s-xl);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-md);
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }


/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed; bottom: var(--s-xl); right: var(--s-xl);
    width: 44px; height: 44px; border-radius: var(--radius-lg);
    background: var(--primary); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(10px); pointer-events: none;
    transition: all var(--t-base); box-shadow: 0 4px 15px rgba(13,115,119,0.3); z-index: 90;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }


/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }


/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet landscape / small desktop (1024px) --- */
@media (max-width: 1024px) {
    .container { padding: 0 var(--s-xl); }

    /* Navigation → hamburger */
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
        background: var(--bg-white); flex-direction: column;
        padding: 5rem var(--s-xl) var(--s-xl);
        transition: right var(--t-base) var(--ease);
        box-shadow: -4px 0 30px rgba(0,0,0,0.1);
        z-index: 9000;
    }
    .nav-menu.active { right: 0; }
    .nav-toggle { display: flex; }

    /* Hero — centered */
    .hero-v2-title { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
    .hero-v2-desc { font-size: 1rem; }
    .hero-v2-stats { gap: var(--s-xl); }
    .hero-v2-stat strong { font-size: 1.6rem; }
    .hero-carousel-item { width: 190px; }
    .hero-carousel-item img { height: 140px; }

    /* About — centered */
    .about-strip-inner { grid-template-columns: 1fr; gap: var(--s-xl); }
    .about-strip-text { text-align: center; }
    .about-features { grid-template-columns: repeat(3, 1fr); gap: var(--s-md); }
    .about-feature { padding: var(--s-lg); text-align: center; }

    /* Showcase — 1 col, centered */
    .showcase-row { grid-template-columns: 1fr; gap: var(--s-xl); justify-items: center; }
    .showcase-row-reverse { direction: ltr; }
    .showcase-img { max-height: 350px; width: 100%; max-width: 600px; }
    .showcase-info { text-align: center; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 600px; }
    .showcase-info h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
    .showcase-info p { font-size: 0.9rem; }
    .showcase-meta { justify-content: center; }
    .showcase-category { text-align: center; }
    .showcase-duo { gap: var(--s-lg); }
    .showcase-duo-info { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .showcase-duo-info h3 { font-size: 1.1rem; }
    .showcase-duo-info p { font-size: 0.85rem; }
    .showcase-duo-info .dish-card-link { justify-content: center; }

    /* Roots — 1 col, centered */
    .roots-grid { grid-template-columns: 1fr; gap: var(--s-2xl); }
    .roots-content { text-align: center; }
    .roots-content .btn { margin: 0 auto; }
    .roots-item { text-align: left; }
    .roots-title { font-size: clamp(1.5rem, 3vw, 2rem); }

    /* Multimedia */
    .multimedia-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-md); }

    /* Preservation — centered */
    .preservation-content { text-align: center; }

    /* Footer — centered */
    .footer-nav { text-align: center; }
    .footer-nav ul { display: flex; flex-direction: column; align-items: center; }
    .footer-brand { text-align: center; }
    .footer-logo { justify-content: center; }

    /* Recetas */
    .dishes-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .dish-card-featured { grid-column: auto; display: block; }
    .dish-card-featured .dish-card-image { min-height: auto; aspect-ratio: 16/9; }
    .recipe-detail-grid { grid-template-columns: 1fr; }

    /* Biblioteca */
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

    /* Mapa */
    .map-sidebar { width: 260px; }

    /* Footer — 2x2 grid */
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-xl); }
}


/* --- Tablet portrait (768px) --- */
@media (max-width: 768px) {
    .container { padding: 0 var(--s-lg); }

    /* Hero */
    .hero-v2 { padding-top: 80px; }
    .hero-v2-title { font-size: clamp(2rem, 5vw, 2.8rem); }
    .hero-v2-desc { font-size: 1rem; }
    .hero-v2-stats { gap: var(--s-xl); }
    .hero-carousel-item { width: 170px; }
    .hero-carousel-item img { height: 120px; }

    /* About — centered */
    .about-strip { padding: var(--s-3xl) 0; }
    .about-strip-text { text-align: center; }
    .about-features { grid-template-columns: 1fr 1fr; }
    .about-feature { padding: var(--s-lg); text-align: center; }

    /* Showcase — 1 column, centered */
    .showcase-section { padding: var(--s-3xl) 0; }
    .showcase-row { grid-template-columns: 1fr; gap: var(--s-xl); justify-items: center; }
    .showcase-row-reverse { direction: ltr; }
    .showcase-img { max-height: 300px; width: 100%; max-width: 550px; }
    .showcase-info { text-align: center; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 550px; }
    .showcase-info h3 { font-size: 1.4rem; }
    .showcase-meta { justify-content: center; flex-wrap: wrap; gap: var(--s-md); font-size: 0.8rem; }
    .showcase-category { text-align: center; }
    .showcase-duo { grid-template-columns: 1fr 1fr; gap: var(--s-md); }
    .showcase-duo-info { padding: var(--s-md); text-align: center; display: flex; flex-direction: column; align-items: center; }
    .showcase-duo-info h3 { font-size: 1rem; }
    .showcase-duo-info p { font-size: 0.82rem; }
    .showcase-duo-info .dish-card-link { justify-content: center; }

    /* Roots — 1 column, centered */
    .roots-section { padding: var(--s-3xl) 0; }
    .roots-grid { grid-template-columns: 1fr; gap: var(--s-2xl); }
    .roots-content { text-align: center; }
    .roots-content .btn { margin: 0 auto; }
    .roots-item { text-align: left; }
    .roots-img-accent { bottom: -15px; right: -10px; width: 38%; }

    /* Preservation — centered */
    .preservation-content { text-align: center; }
    .preservation-actions { justify-content: center; }

    /* Map */
    .map-full-container { flex-direction: column; }
    .map-sidebar { width: 100%; height: auto; max-height: 200px; border-right: none; border-bottom: 1px solid var(--border); }
    .map-legend { flex-wrap: wrap; gap: var(--s-md); }
    .map-preview-section { padding: var(--s-3xl) 0; }

    /* Recetas */
    .filters-inner { justify-content: center; flex-wrap: wrap; }
    .filter-btn { font-size: 0.75rem; padding: 6px 14px; }
    .search-input { min-width: 160px; font-size: 0.8rem; }
    .recipe-meta-bar { grid-template-columns: repeat(2, 1fr); }
    .featured-section { padding: var(--s-3xl) 0; }
    .dishes-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

    /* Biblioteca */
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .library-tabs { flex-wrap: wrap; justify-content: center; gap: var(--s-xs); }
    .library-tab { font-size: 0.8rem; padding: 6px 14px; }
    .library-tabs-container { padding: var(--s-md) 0; }
    .library-section { padding: var(--s-2xl) 0 var(--s-3xl); }
    .audio-list { gap: var(--s-lg); }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

    /* Page hero (all subpages) */
    .page-hero { padding: var(--s-3xl) 0 var(--s-2xl); }
    .page-hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .page-hero p { font-size: 0.95rem; }

    /* Multimedia */
    .multimedia-section { padding: var(--s-3xl) 0; }
    .multimedia-grid { grid-template-columns: 1fr 1fr; gap: var(--s-md); }

    /* Preservation CTA */
    .preservation-section { padding: var(--s-3xl) 0; }
    .preservation-title { font-size: clamp(1.5rem, 4vw, 2rem); }
    .preservation-actions { flex-direction: column; align-items: center; }

    /* Footer — 1 column centered */
    .footer { padding: var(--s-3xl) 0 var(--s-lg); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-xl); }
    .footer-brand { grid-column: 1 / -1; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .footer-brand p { text-align: center; }
    .footer-logo { justify-content: center; }
    .footer-nav { text-align: center; }
    .footer-nav ul { display: flex; flex-direction: column; align-items: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}


/* --- Large phone / small tablet (600px) --- */
@media (max-width: 600px) {
    /* Showcase duo → 1 column */
    .showcase-duo { grid-template-columns: 1fr; }

    /* About features → 1 column */
    .about-features { grid-template-columns: 1fr; }

    /* Multimedia → 1 column */
    .multimedia-grid { grid-template-columns: 1fr; }

    /* Testimonials → 1 column */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Footer → full 1 column */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { grid-column: auto; }
}


/* --- Phone (480px) --- */
@media (max-width: 480px) {
    .container { padding: 0 var(--s-md); }

    /* Hero */
    .hero-v2 { min-height: auto; padding: 80px 0 var(--s-xl); }
    .hero-v2-title { font-size: 2rem; }
    .hero-v2-desc { font-size: 0.95rem; }
    .hero-v2-actions { flex-direction: column; }
    .hero-v2-actions .btn { width: 100%; justify-content: center; }
    .hero-v2-stats { flex-direction: column; gap: var(--s-md); }
    .hero-v2-stat strong { font-size: 1.5rem; }
    .hero-carousel-item { width: 150px; }
    .hero-carousel-item img { height: 100px; }
    .hero-carousel-track { gap: var(--s-md); }

    /* About */
    .about-strip { padding: var(--s-2xl) 0; }
    .about-feature { padding: var(--s-lg); }

    /* Showcase */
    .showcase-section { padding: var(--s-2xl) 0; }
    .showcase-row { margin-bottom: var(--s-2xl); }
    .showcase-info h3 { font-size: 1.2rem; }
    .showcase-meta { flex-wrap: wrap; gap: var(--s-md); }

    /* Page hero */
    .page-hero { padding: var(--s-2xl) 0 var(--s-xl); }
    .page-hero h1 { font-size: 1.6rem; }
    .page-hero h1 br { display: none; }
    .page-hero p { font-size: 0.9rem; }
    .section-tag { font-size: 0.7rem; }

    /* Recetas */
    .filters-bar { padding: var(--s-sm) 0; }
    .filters-inner { gap: 6px; }
    .filter-btn { font-size: 0.7rem; padding: 5px 10px; }
    .search-input { min-width: 100%; font-size: 0.8rem; }
    .dishes-grid { grid-template-columns: 1fr; }
    .dish-card-title { font-size: 1.1rem; }
    .dish-card-description { font-size: 0.85rem; }
    .dish-card-meta { flex-wrap: wrap; gap: var(--s-sm); font-size: 0.75rem; }
    .recipe-meta-bar { grid-template-columns: 1fr 1fr; gap: var(--s-sm); padding: var(--s-md); }
    .recipe-image-main { margin-bottom: var(--s-md); }
    .recipe-video-container { margin-bottom: var(--s-md); }
    .recipe-cultural-note { padding: var(--s-md); }
    .step-item { gap: var(--s-md); }
    .step-number { width: 32px; height: 32px; font-size: 0.8rem; }

    /* Biblioteca */
    .video-grid { grid-template-columns: 1fr; }
    .video-card { border-radius: var(--radius-lg); }
    .audio-list { gap: var(--s-md); }
    .audio-item { padding: var(--s-md); }
    .audio-info h4 { font-size: 0.85rem; }
    .audio-info p { font-size: 0.8rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: var(--s-sm); }
    .library-tabs { gap: 4px; }
    .library-tab { font-size: 0.75rem; padding: 5px 10px; }
    .library-tab svg { display: none; }

    /* Mapa */
    .map-sidebar { max-height: 150px; padding: var(--s-md); }
    .map-sidebar h2 { font-size: 1rem; }
    .map-location-item h4 { font-size: 0.85rem; }
    .map-location-item p { font-size: 0.75rem; }

    /* Sections general */
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.9rem; }

    /* Roots */
    .roots-section { padding: var(--s-2xl) 0; }
    .roots-title { font-size: 1.5rem; }
    .roots-text { font-size: 0.9rem; }
    .roots-item { padding: var(--s-md); gap: var(--s-md); }
    .roots-item h4 { font-size: 0.85rem; }
    .roots-item p { font-size: 0.8rem; }

    /* Preservation */
    .preservation-section { padding: var(--s-2xl) 0; }
    .preservation-title { font-size: 1.5rem; }
    .preservation-text { font-size: 0.9rem; }
    .preservation-actions .btn { width: 100%; justify-content: center; }

    /* Footer */
    .footer { padding: var(--s-2xl) 0 var(--s-md); }
    .footer-grid { gap: var(--s-lg); text-align: center; }
    .footer-logo { font-size: 1rem; justify-content: center; }
    .footer-nav h4 { font-size: 0.85rem; }
    .footer-nav a { font-size: 0.8rem; }
    .footer-bottom p { font-size: 0.75rem; }

    /* Buttons */
    .btn { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
    .btn-lg { padding: 0.75rem 1.5rem; font-size: 0.9rem; }

    /* Back to top */
    .back-to-top { width: 38px; height: 38px; bottom: var(--s-md); right: var(--s-md); }
}


/* ============================================
   MEJORAS 2026-10 — accesibilidad, ingredientes,
   mapa con íconos, temporadas, créditos y licencias
   ============================================ */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
[tabindex]:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* --- Recetas: ingredientes como tarjetas (no botones) --- */
.ing-count { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .4em; margin-left: .35rem; border-radius: 999px; background: rgba(13,115,119,.1); color: var(--primary-dark); font-size: .8rem; font-weight: 700; vertical-align: middle; }
.ing-help { font-size: .82rem; color: var(--text-light); margin: -.6rem 0 var(--s-md); }
.ing-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .65rem; margin-bottom: var(--s-2xl); }
.ing-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; padding: .85rem .85rem .7rem; background: var(--bg-warm); border: 1px solid #F3E3D3; border-radius: var(--radius-md); cursor: default; min-width: 0; transition: opacity var(--t-fast); }
.ing-emoji { font-size: 1.55rem; line-height: 1; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(15,23,42,.08); margin-bottom: .2rem; }
.ing-name { font-size: .88rem; font-weight: 600; color: var(--text-dark); line-height: 1.3; overflow-wrap: anywhere; }
.ing-qty { font-size: .76rem; font-weight: 600; color: var(--accent-dark); background: #fff; border-radius: 999px; padding: .1rem .5rem; border: 1px solid #F7D5C3; }
.ing-have { margin-top: auto; padding-top: .35rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; color: var(--text-light); cursor: pointer; min-height: 28px; }
.ing-have input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; margin: 0; }
.ing-card.is-checked { opacity: .55; }
.ing-card.is-checked .ing-name { text-decoration: line-through; }

/* --- Mapa: marcadores con ícono de comida (L.divIcon) --- */
.cgw-marker { background: none; border: 0; }
.cgw-pin { display: grid; place-items: center; border-radius: 50%; background: #fff; border: 3px solid var(--ft, var(--primary)); box-shadow: 0 2px 6px rgba(10,22,40,.35); line-height: 1; transition: transform var(--t-fast); }
.cgw-marker:hover .cgw-pin, .cgw-marker:focus-visible .cgw-pin { transform: scale(1.12); }
.leaflet-marker-icon.cgw-marker:focus-visible { outline: none; }
.leaflet-marker-icon.cgw-marker:focus-visible .cgw-pin { outline: 3px solid var(--accent); outline-offset: 2px; }
.food-legend-title { font-family: var(--font-heading); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: .4rem; }
.food-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.food-legend li { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--text-body); font-weight: 500; }
.food-legend-ico { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2.5px solid var(--ft); font-size: 14px; line-height: 1; }

/* Popup del mapa */
.cgw-leaflet-popup .leaflet-popup-content { margin: 14px 16px; font-family: var(--font-body); line-height: 1.45; }
.cgw-popup h4 { font-family: var(--font-heading); font-size: 1.02rem; font-weight: 700; color: var(--text-dark); margin: .15rem 0 0; }
.cgw-popup .pp-type { display: inline-flex; align-items: center; gap: .3rem; margin: 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ft); }
.cgw-popup .pp-meta { margin: .1rem 0 .5rem; font-size: .76rem; color: var(--text-light); }
.cgw-popup .pp-sub { margin: 0 0 .25rem; font-size: .72rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; }
.cgw-popup .pp-list { list-style: none; margin: 0; padding: 0 .3rem 0 0; max-height: 250px; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 640px) { .cgw-popup .pp-list { max-height: 175px; } }
.cgw-popup .pp-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 .6rem; padding: .35rem 0; border-bottom: 1px solid var(--border-light); font-size: .82rem; }
.cgw-popup .pp-list li:last-child { border-bottom: 0; }
.cgw-popup .pp-dish { color: var(--text-dark); }
.cgw-popup .price-val { font-weight: 700; color: var(--text-dark); text-align: right; white-space: nowrap; }
.cgw-popup .price-val.muted { color: var(--text-light); font-weight: 600; white-space: normal; }
.cgw-popup .pp-st { grid-column: 1 / -1; font-size: .7rem; font-weight: 600; }
.cgw-popup .st-verificado { color: #15803D; } .cgw-popup .st-referencial { color: #B45309; } .cgw-popup .st-evento { color: #6D28D9; } .cgw-popup .st-rango, .cgw-popup .st-sin-dato { color: var(--text-light); }
.cgw-popup .pp-note { margin: .45rem 0 0; font-size: .72rem; color: var(--text-light); }
.cgw-popup .pp-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.cgw-popup .pp-btn { display: inline-flex; align-items: center; min-height: 36px; padding: .35rem .75rem; border-radius: 9px; font-size: .78rem; font-weight: 700; background: var(--primary); color: #fff; border: 1.5px solid var(--primary); }
.cgw-popup .pp-btn:hover { background: var(--primary-dark); color: #fff; }
.cgw-popup .pp-btn--ghost { background: #fff; color: var(--primary); }
.cgw-popup .pp-btn--ghost:hover { background: #E6F4F4; color: var(--primary-dark); }

/* Vista previa del mapa en el inicio: toda el área lleva a mapa.html */
.map-preview-frame { cursor: pointer; }
.map-preview-frame .leaflet-container { cursor: pointer; }
.map-preview-frame .map-preview-overlay { opacity: 1; z-index: 500; pointer-events: none; align-items: flex-end; padding-bottom: 1.4rem; background: linear-gradient(180deg, transparent 55%, rgba(10,22,40,.45)); }
.map-preview-frame .map-preview-overlay .btn { pointer-events: auto; box-shadow: 0 8px 24px rgba(10,22,40,.3); }
.map-preview-hint { position: absolute; top: .8rem; left: .8rem; z-index: 500; pointer-events: none; background: rgba(255,255,255,.94); color: var(--text-dark); font-size: .78rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; box-shadow: var(--shadow-md); }
.map-legend.map-legend--food { display: block; }

/* --- Inicio: temporadas desplegables --- */
.season-grid { align-items: start; }
.season-toggle { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; min-height: 48px; margin-top: .2rem; padding: .6rem .9rem; font: inherit; font-family: var(--font-heading); font-size: .92rem; font-weight: 600; text-align: left; color: #fff; background: var(--primary); border: 0; border-radius: 12px; cursor: pointer; transition: background var(--t-fast); }
.season-toggle:hover { background: var(--primary-dark); }
.season-toggle .chev { width: 20px; height: 20px; flex: none; transition: transform var(--t-base); }
.season-toggle[aria-expanded="true"] { background: var(--primary-dark); }
.season-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.season-panel { border-top: 1px dashed var(--border); padding-top: .6rem; }
.season-foods { list-style: none; display: grid; gap: .55rem; }
.season-food { display: grid; grid-template-columns: 2.3rem 1fr; gap: .1rem .6rem; align-items: start; padding: .6rem .65rem; border-radius: 12px; background: var(--bg-warm); }
.season-food > span[aria-hidden] { grid-row: span 3; font-size: 1.4rem; line-height: 1; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; background: #fff; border-radius: 50%; }
.season-food strong { font-family: var(--font-heading); font-size: .95rem; color: var(--text-dark); }
.season-card .season-food p { font-size: .84rem; margin: 0; }
.season-food-links { display: flex; flex-wrap: wrap; gap: .3rem .8rem; font-size: .8rem; font-weight: 600; }
.season-food-links a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; min-height: 24px; display: inline-flex; align-items: center; }
.season-note { font-size: .75rem !important; color: var(--text-light) !important; }

/* --- Mapa: página con footer --- */
.map-page-body { height: auto; overflow: visible; }
.map-page-body .footer { position: relative; z-index: 2; }
.map-sidebar .food-legend li { font-size: .76rem; }
.map-location-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.map-location-type.ft { background: color-mix(in srgb, var(--ft) 12%, #fff); color: var(--ft); }

/* --- Dónde comer: tipo de comida, rango y fuente por precio --- */
.place-foodtype { margin: -.2rem 0 0; font-size: .82rem; font-weight: 700; color: var(--ft); display: inline-flex; align-items: center; gap: .35rem; }
.price-range { font-size: .82rem; color: var(--text-body); margin: 0 0 .3rem; }
.price-range strong { color: var(--text-dark); white-space: nowrap; }
.price-range span { color: var(--text-light); font-size: .76rem; }
.price-status > span { min-width: 0; }
.price-src { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.price-val.muted { white-space: normal; max-width: 11rem; }

/* --- Footer: créditos y licencias --- */
.footer-legal { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-xl); margin-top: var(--s-2xl); padding-top: var(--s-xl); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-legal h4 { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: var(--s-sm); }
.footer-legal p, .footer-legal li { font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.62); }
.footer-legal ul { list-style: none; display: grid; gap: .3rem; }
.footer-legal a { color: #9FD8DA; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--accent-light); }
.footer-legal strong { color: #fff; font-weight: 600; }
.footer-repo { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; min-height: 40px; padding: .4rem .85rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; color: #fff !important; text-decoration: none !important; font-size: .82rem; font-weight: 600; }
.footer-repo:hover { border-color: var(--accent); }
.footer-repo svg { width: 18px; height: 18px; }
.footer-bottom p { color: rgba(255,255,255,0.5); }
.footer-nav a { color: rgba(255,255,255,0.62); }
.footer-brand p { color: rgba(255,255,255,0.6); }

@media (max-width: 768px) {
    .footer-legal { grid-template-columns: 1fr; text-align: center; }
    .footer-legal ul { justify-items: center; }
    .map-page-body main { height: calc(100vh - 64px - 40px); height: calc(100svh - 64px - 40px); }
    .map-sidebar { max-height: 210px; }
    .map-sidebar .map-intro { display: none; }
    .map-sidebar .map-tools { margin-bottom: .6rem; }
    .map-sidebar > div:first-child { margin-bottom: .6rem !important; }
    .map-food-legend .food-legend { flex-wrap: nowrap; overflow-x: auto; gap: .4rem .8rem; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
    .map-food-legend .food-legend li { flex: none; white-space: nowrap; }
    .map-sidebar .map-food-legend { margin-bottom: .6rem; }
}
.map-food-legend { margin-bottom: var(--s-lg); }
@media (max-width: 480px) {
    .ing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .map-preview-hint { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cgw-pin, .season-toggle .chev, .ing-card { transition: none; }
}

/* Enlace a GitHub oculto hasta tener el repositorio (2026-10-07) */
.footer-repo[data-pendiente]{display:none !important;}

/* ============================================
   TARJETAS FOTOGRÁFICAS (2026-10-13)
   Patrón compartido por Cultura (#simbolos), Qué comer (recetas)
   y Dónde comer (lugares): foto real de fondo + degradado oscuro
   de abajo (≈90 %) hacia arriba (transparente) + texto blanco.
   Hover: zoom 1.05 de la tarjeta completa (solo con puntero fino
   y sin prefers-reduced-motion).
   ============================================ */
.photo-card {
    --pc-ink: 12, 10, 9;
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 380px; border: 0; border-radius: 22px;
    background: rgb(var(--pc-ink)); color: #fff;
    box-shadow: 0 16px 34px -22px rgba(0,0,0,.65);
}
article.photo-card {
    transition: opacity .6s var(--ease), transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s ease;
}
.photo-card__media {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center);
    background: #2a2420;
}
.photo-card::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(to top,
        rgba(var(--pc-ink), .9) 0%, rgba(var(--pc-ink), .86) 34%,
        rgba(var(--pc-ink), .62) 54%, rgba(var(--pc-ink), .25) 72%, rgba(var(--pc-ink), 0) 88%);
}
.photo-card__body {
    position: relative; display: flex; flex-direction: column; gap: .5rem;
    padding: 1.35rem 1.3rem 1.25rem; text-shadow: 0 1px 3px rgba(0,0,0,.55);
}
.photo-card h3 { color: #fff; }
.photo-card p { color: rgba(255,255,255,.93); }
.photo-card a { color: #FFE2C6; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.photo-card a:hover { color: #fff; }
.photo-card a:focus-visible, .photo-card button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 4px; }
.photo-card__chip {
    position: absolute; top: .8rem; left: .8rem; z-index: 1;
    font-size: .7rem; font-weight: 700; letter-spacing: .03em; color: #fff;
    background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
    padding: .25rem .6rem; border-radius: 999px; text-shadow: none;
}
/* Sin efecto de "salto" heredado en dispositivos táctiles */
article.photo-card:hover { transform: none; }
.animate-on-scroll.photo-card:not(.visible) { transform: translateY(24px); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    article.photo-card { will-change: transform; }
    article.photo-card:hover, article.photo-card:focus-within {
        transform: scale(1.05); z-index: 3;
        box-shadow: 0 30px 55px -26px rgba(0,0,0,.7);
    }
}
@media (prefers-reduced-motion: reduce) {
    article.photo-card { transition: opacity .3s linear; }
}
.photo-credits-line { margin-top: 1.4rem; font-size: .8rem; color: var(--text-light); text-align: center; }
.photo-credits-line a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* --- Qué comer: tarjetas de receta --- */
.recipe-card.photo-card { min-height: 430px; }
.recipe-card.photo-card .dish-card-content { padding: 1.4rem 1.4rem 1.3rem; justify-content: flex-end; }
.recipe-card.photo-card .dish-card-category {
    align-self: flex-start; color: #fff; background: rgba(13,115,119,.92);
    padding: .2rem .6rem; border-radius: 999px; margin-bottom: .15rem; text-shadow: none;
}
.recipe-card.photo-card .dish-card-title { color: #fff; font-size: 1.45rem; margin-bottom: 0; }
.recipe-card.photo-card .dish-card-description { color: rgba(255,255,255,.92); margin-bottom: .2rem; }
.recipe-card.photo-card .dish-card-meta { color: rgba(255,255,255,.88); margin-bottom: .5rem; flex-wrap: wrap; gap: .4rem 1rem; }
.recipe-card.photo-card .dish-card-link {
    align-self: flex-start; color: #fff; text-decoration: none; text-shadow: none;
    background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.7);
    padding: .55rem 1rem; border-radius: 999px; min-height: 44px; backdrop-filter: blur(4px);
}
.recipe-card.photo-card .dish-card-link:hover { background: #fff; color: var(--primary-dark); gap: var(--s-sm); }

/* --- Dónde comer: fichas de lugar (contenido largo) ---
   La foto ocupa la parte superior y se disuelve con el degradado
   en el fondo oscuro de la tarjeta, donde sigue la lista de precios. */
.place.photo-card { padding: 0; gap: 0; justify-content: flex-start; border: 0; min-height: 0; scroll-margin-top: 140px; background: rgb(var(--pc-ink)); box-shadow: 0 16px 34px -22px rgba(0,0,0,.65); border-radius: 22px; }
.place.photo-card .photo-card__media { height: 300px; bottom: auto; }
.place.photo-card::after { bottom: auto; height: 302px; }
.place.photo-card .photo-card__body { padding: 180px 1.35rem 1.25rem; gap: .7rem; flex: 1; }
.place.photo-card h3 { color: #fff; font-size: 1.3rem; }
.place.photo-card .place-zone { color: rgba(255,255,255,.88); }
.place.photo-card .place-foodtype { color: #fff; background: var(--ft); align-self: flex-start; padding: .2rem .6rem; border-radius: 999px; margin: 0; text-shadow: none; }
.place.photo-card .badge-type { text-shadow: none; }
.place.photo-card .place-specialty { color: rgba(255,255,255,.9); }
.place.photo-card .place-dishes a { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45); text-decoration: none; text-shadow: none; }
.place.photo-card .place-dishes a:hover { background: #fff; color: var(--primary-dark); }
.place.photo-card .price-list { border-top-color: rgba(255,255,255,.22); text-shadow: none; }
.place.photo-card .price-list h4 { color: rgba(255,255,255,.75); }
.place.photo-card .price-row { border-bottom-color: rgba(255,255,255,.1); }
.place.photo-card .price-dish { color: rgba(255,255,255,.95); }
.place.photo-card .price-val { color: #fff; }
.place.photo-card .price-val.muted { color: #C9C2BC; }
.place.photo-card .price-range { color: rgba(255,255,255,.88); }
.place.photo-card .price-range span { color: #C9C2BC; }
.place.photo-card .st-verificado { color: #86EFAC; }
.place.photo-card .st-referencial { color: #FCD34D; }
.place.photo-card .st-evento { color: #C4B5FD; }
.place.photo-card .st-rango, .place.photo-card .st-sin-dato { color: #D6D3D1; }
.place.photo-card .price-src { color: inherit; }
.place.photo-card .place-level { color: #FDBA74; }
.place.photo-card .place-level span { color: rgba(255,255,255,.28); }
.place.photo-card .place-distance { color: #FDBA74; }
.place.photo-card .place-sources, .place.photo-card .place-sources a { color: #CFC8C2; text-shadow: none; }
.place.photo-card .place-actions a { text-shadow: none; }
.place.photo-card .act-route { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.place.photo-card .act-route:hover { background: #fff; color: var(--primary-dark); }
.place.photo-card .act-map { text-decoration: none; }
.place.photo-card.is-focus { outline: 3px solid var(--accent); outline-offset: 3px; }

/* --- Créditos fotográficos (footer) --- */
.photo-credits { margin-top: .8rem; font-size: .8rem; }
.photo-credits summary { cursor: pointer; font-weight: 600; }
.photo-credits ul { margin: .6rem 0 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.photo-credits li { line-height: 1.5; }
.photo-credits a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
    .photo-card { min-height: 360px; }
    .recipe-card.photo-card { min-height: 420px; }
    .place.photo-card .photo-card__media { height: 240px; }
    .place.photo-card::after { height: 242px; }
    .place.photo-card .photo-card__body { padding-top: 140px; }
}
.place.photo-card::after {
    background: linear-gradient(to top,
        rgb(var(--pc-ink)) 0%, rgba(var(--pc-ink), .9) 18%, rgba(var(--pc-ink), .62) 42%,
        rgba(var(--pc-ink), .22) 68%, rgba(var(--pc-ink), 0) 88%);
}
.place.photo-card .price-range strong { color: #fff; }
