/* ═══════════════════════════════════════════
   CAFÉ CALDERÓN — Premium Dark Theme v2
   With photography, catalog & gallery
   ═══════════════════════════════════════════ */

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;
    --gold: #c8a45e;
    --gold-light: #dfc088;
    --gold-dark: #a07d3a;
    --cream: #f0e6d3;
    --cream-light: #faf5eb;
    --text: #e8e0d4;
    --text-muted: #8a8279;
    --text-dim: #5a5550;

    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Cormorant Garamond', 'Georgia', serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) var(--dark);
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
}

@media (max-width: 768px) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--gold); color: var(--black); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── Cursor (coffee bean) ── */
.cursor {
    width: 20px; height: 20px;
    position: fixed; pointer-events: none; z-index: 10000;
    transition: transform 0.15s var(--ease-out), opacity 0.15s;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='50' rx='32' ry='42' fill='%23704214' stroke='%238B5E34' stroke-width='3'/%3E%3Cellipse cx='50' cy='50' rx='30' ry='40' fill='url(%23bean)'/%3E%3Cpath d='M50 15 Q42 35 50 50 Q58 65 50 85' fill='none' stroke='%23402008' stroke-width='3.5' stroke-linecap='round'/%3E%3Cdefs%3E%3CradialGradient id='bean' cx='40%25' cy='35%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%23A0764A'/%3E%3Cstop offset='50%25' stop-color='%23704214'/%3E%3Cstop offset='100%25' stop-color='%234A2A0A'/%3E%3C/radialGradient%3E%3C/defs%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 4px rgba(200, 164, 94, 0.4));
}
.cursor-trail {
    width: 40px; height: 40px;
    border: 1px solid rgba(200, 164, 94, 0.3);
    border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 9999;
    transition: transform 0.4s var(--ease-out), width 0.3s, height 0.3s;
    transform: translate(-50%, -50%);
}
.cursor.hover { transform: translate(-50%, -50%) scale(1.8); filter: drop-shadow(0 0 8px rgba(200, 164, 94, 0.6)); }
@media (max-width: 768px) { .cursor, .cursor-trail { display: none; } }

/* ── Loader ── */
#loader {
    position: fixed; inset: 0;
    background: var(--black); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.loader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.loader-line {
    width: 60px; height: 1px; background: var(--gold);
    transform-origin: left;
    animation: loaderLine 1.5s var(--ease-in-out) infinite;
}
@keyframes loaderLine {
    0% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0); opacity: 0; transform-origin: right; }
}
.loader-text { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.3em; color: var(--gold); }
.loader-sub { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; }

/* ── Navigation ── */
#navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 24px 48px;
    display: flex; align-items: center; justify-content: space-between;
    z-index: 1000;
    transition: all 0.5s var(--ease-out);
}
#navbar.scrolled {
    padding: 16px 48px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 164, 94, 0.1);
}
.logo-text { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.25em; color: var(--gold); }
.nav-links { display: flex; gap: 36px; }
.nav-link {
    font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--text-muted); transition: color 0.3s; position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.btn-nav {
    font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gold); border: 1px solid var(--gold);
    padding: 10px 28px; transition: all 0.3s var(--ease-out);
}
.btn-nav:hover { background: var(--gold); color: var(--black); }

.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; padding: 8px; }
.hamburger span { width: 24px; height: 1px; background: var(--gold); transition: all 0.3s var(--ease-out); }
.hamburger.active span:first-child { transform: rotate(45deg) translate(2px, 2px); }
.hamburger.active span:last-child { transform: rotate(-45deg) translate(2px, -2px); }

.mobile-menu {
    position: fixed; inset: 0;
    background: rgba(10, 10, 10, 0.98); z-index: 999;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-link { font-family: var(--font-display); font-size: 2rem; color: var(--text); letter-spacing: 0.1em; transition: color 0.3s; }
.mobile-link:hover { color: var(--gold); }

@media (max-width: 768px) {
    #navbar { padding: 20px 24px; }
    #navbar.scrolled { padding: 16px 24px; }
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
}

/* ── Sections ── */
.section { position: relative; overflow: hidden; }

.section-tag {
    display: inline-block; font-size: 0.7rem; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
    position: relative; padding-left: 48px;
}
.section-tag::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 32px; height: 1px; background: var(--gold);
}
.section-tag.light { color: var(--gold-light); }
.section-tag.light::before { background: var(--gold-light); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400; line-height: 1.15;
    color: var(--cream); margin-bottom: 32px;
}
.section-title em { font-family: var(--font-accent); color: var(--gold); font-weight: 300; }
.section-title.light { color: var(--cream-light); }

.section-text {
    font-size: 1.05rem; line-height: 1.8; color: var(--text-muted);
    max-width: 520px; margin-bottom: 20px; font-weight: 300;
}
.section-text.light { color: rgba(240, 230, 211, 0.6); }
.section-text.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Hero ── */
.hero {
    height: 100vh; min-height: 700px;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-image {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(0.35) saturate(0.8);
    transform: scale(1.05);
    transition: transform 8s ease-out;
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(10, 10, 10, 0.3) 0%, transparent 70%),
        linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.1) 40%, rgba(10,10,10,0.6) 100%);
}
.hero-particles { position: absolute; inset: 0; }
.particle {
    position: absolute; width: 2px; height: 2px;
    background: var(--gold); border-radius: 50%; opacity: 0;
    animation: float linear infinite;
}
@keyframes float {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-content { position: relative; z-index: 1; padding: 0 24px; }
.hero-eyebrow {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-bottom: 32px; opacity: 0;
}
.hero-eyebrow .line { width: 40px; height: 1px; background: var(--gold-dark); }
.eyebrow-text { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }

.hero-title { font-family: var(--font-display); font-weight: 400; margin-bottom: 28px; }
.title-line { display: block; overflow: hidden; }
.title-word {
    display: inline-block;
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 1.05; color: var(--cream);
    transform: translateY(100%);
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.title-word.accent {
    color: var(--gold);
    font-style: italic; font-family: var(--font-accent); font-weight: 300;
}

.hero-subtitle {
    font-size: 1.1rem; line-height: 1.8; color: var(--text-muted);
    font-weight: 300; margin-bottom: 48px; opacity: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 48px; opacity: 0; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-number { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); line-height: 1; }
.stat-plus, .stat-unit { font-family: var(--font-accent); font-size: 1.5rem; color: var(--gold-dark); }
.stat-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); margin-top: 8px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0;
}
.scroll-indicator span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 768px) {
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .stat-number { font-size: 1.8rem; }
}

/* ── Image Band (horizontal scroll) ── */
.image-band {
    padding: 4px 0;
    background: var(--black);
    overflow: hidden;
}
.band-track {
    display: flex; gap: 4px;
    animation: bandScroll 30s linear infinite;
    width: max-content;
}
.band-img {
    width: 300px; height: 200px;
    background-size: cover; background-position: center;
    flex-shrink: 0;
    filter: grayscale(0.3) brightness(0.7);
    transition: filter 0.5s;
}
.band-img:hover {
    filter: grayscale(0) brightness(1);
}
@keyframes bandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .band-img { width: 200px; height: 140px; }
}

/* ── Origin ── */
.origin { padding: 160px 48px; background: var(--dark); }
.section-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.origin-image-frame { position: relative; aspect-ratio: 3/4; max-width: 450px; }
.origin-image {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    position: relative; overflow: hidden;
}
.image-overlay-text { position: absolute; bottom: 32px; left: 32px; }
.overlay-year {
    font-family: var(--font-display); font-size: 5rem;
    color: rgba(200, 164, 94, 0.2); font-weight: 900; line-height: 1;
}
.frame-accent {
    position: absolute; top: -16px; right: -16px;
    width: 100%; height: 100%;
    border: 1px solid var(--gold-dark); opacity: 0.3; z-index: -1;
}
.origin-content { padding: 24px 0; }
.origin-detail {
    display: flex; flex-direction: column; gap: 16px;
    margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--dark-3);
}
.detail-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-muted); }
.detail-icon { color: var(--gold); font-size: 0.7rem; }

@media (max-width: 768px) {
    .origin { padding: 80px 24px; }
    .section-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ── Cinematic Break ── */
.cinematic-break {
    position: relative; height: 60vh; min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.cinematic-image {
    position: absolute; inset: -10% -5%;
    background-size: cover; background-position: center;
    filter: brightness(0.3) saturate(0.7);
}
.cinematic-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, var(--dark) 0%, transparent 20%, transparent 80%, var(--black) 100%);
}
.cinematic-text {
    position: relative; z-index: 1; text-align: center;
    display: flex; flex-direction: column; gap: 12px;
}
.cinematic-quote {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--cream); font-weight: 400; letter-spacing: 0.05em;
}
.cinematic-sub {
    font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); font-weight: 300;
}

/* ── Heritage ── */
.heritage { padding: 160px 48px; background: var(--black); position: relative; }
.heritage-bg-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-display); font-size: clamp(6rem, 15vw, 14rem);
    font-weight: 900; color: rgba(200, 164, 94, 0.03);
    white-space: nowrap; pointer-events: none; letter-spacing: 0.1em;
}
.heritage-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.timeline { margin-top: 80px; position: relative; padding-left: 48px; }
.timeline-line { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--dark-3); }
.timeline-line::after {
    content: ''; position: absolute; left: 0; top: 0;
    width: 1px; height: 0%; background: var(--gold);
    transition: height 1s var(--ease-out);
}
.timeline-item {
    position: relative; padding-bottom: 64px;
    opacity: 0; transform: translateY(30px);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: ''; position: absolute; left: -52px; top: 8px;
    width: 9px; height: 9px; border: 1.5px solid var(--gold);
    border-radius: 50%; background: var(--black);
}
.timeline-year { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 12px; }
.timeline-content h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--cream); margin-bottom: 8px; }
.timeline-content p { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); font-weight: 300; max-width: 480px; }

@media (max-width: 768px) {
    .heritage { padding: 80px 24px; }
    .timeline { padding-left: 36px; }
    .timeline-item::before { left: -40px; }
}

/* ── Process with images ── */
.process { padding: 160px 48px; background: var(--dark); }
.process-header { text-align: center; margin-bottom: 80px; }
.process-steps {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.process-step {
    text-align: center; position: relative;
    opacity: 0; transform: translateY(40px);
    background: var(--dark-2); border: 1px solid var(--dark-3);
    overflow: hidden; transition: all 0.5s var(--ease-out);
}
.process-step:hover { border-color: rgba(200, 164, 94, 0.2); transform: translateY(-4px) !important; }

.step-image {
    width: 100%; height: 200px;
    background-size: cover; background-position: center;
    filter: brightness(0.6) saturate(0.7);
    transition: all 0.5s var(--ease-out);
}
.process-step:hover .step-image { filter: brightness(0.8) saturate(1); transform: scale(1.05); }

.step-number {
    font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.2em;
    color: var(--gold-dark); padding: 24px 24px 16px;
}
.step-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; color: var(--cream); margin-bottom: 12px; padding: 0 24px; }
.step-desc { font-size: 0.85rem; line-height: 1.7; color: var(--text-muted); font-weight: 300; padding: 0 24px 32px; }

@media (max-width: 768px) {
    .process { padding: 80px 24px; }
    .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }

/* ── Flavor ── */
.flavor {
    padding: 160px 48px;
    background: var(--black);
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    max-width: 1200px; margin: 0 auto; align-items: center;
}
.quote-mark { font-family: var(--font-display); font-size: 6rem; color: var(--gold); line-height: 0.5; display: block; margin-bottom: 16px; opacity: 0.5; }
.flavor-quote blockquote {
    font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400; line-height: 1.4; color: var(--cream);
}
.flavor-quote blockquote em { font-family: var(--font-accent); color: var(--gold); }
.quote-author { display: block; margin-top: 24px; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--text-dim); }
.flavor-notes { display: flex; flex-direction: column; gap: 24px; }
.note-card { display: grid; grid-template-columns: 12px 160px 1fr; align-items: center; gap: 16px; }
.note-circle { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: 0.6; }
.note-name { font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.05em; }
.note-bar { height: 2px; background: var(--dark-3); position: relative; overflow: hidden; }
.note-fill {
    position: absolute; left: 0; top: 0; height: 100%;
    background: linear-gradient(to right, var(--gold-dark), var(--gold));
    width: 0%; transition: width 1.2s var(--ease-out);
}

@media (max-width: 768px) {
    .flavor { grid-template-columns: 1fr; padding: 80px 24px; gap: 48px; }
    .note-card { grid-template-columns: 12px 120px 1fr; }
}

/* ── Catalog ── */
.catalog {
    padding: 160px 48px;
    background: var(--dark);
}
.catalog-header { text-align: center; margin-bottom: 80px; }
.catalog-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.product-card {
    background: var(--dark-2); border: 1px solid var(--dark-3);
    overflow: hidden; transition: all 0.5s var(--ease-out);
    display: grid; grid-template-columns: 1fr 1fr;
    opacity: 0; transform: translateY(30px);
}
.product-card:hover {
    border-color: rgba(200, 164, 94, 0.2);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
    transform: translateY(-4px) !important;
}
.product-image {
    height: 100%; min-height: 320px;
    background-size: cover; background-position: center;
    position: relative;
    transition: all 0.5s var(--ease-out);
}
.product-card:hover .product-image { filter: brightness(1.1); }

/* ── Bag Mockups ── */
.product-bag {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%) !important;
}
.bag-mockup {
    width: 140px; perspective: 600px;
    transition: transform 0.5s var(--ease-out);
}
.product-card:hover .bag-mockup { transform: translateY(-8px) scale(1.04); }

.bag-top {
    height: 18px; margin: 0 20px;
    background: inherit; border-radius: 2px 2px 0 0;
    border-bottom: 2px dashed rgba(255,255,255,0.15);
    position: relative;
}
.bag-top::after {
    content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    width: 24px; height: 6px; border-radius: 3px 3px 0 0;
}
.bag-body {
    display: flex; flex-direction: column; align-items: center;
    padding: 24px 12px 20px; text-align: center;
    border-radius: 0 0 4px 4px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.bag-brand {
    font-family: var(--font-display); font-size: 0.65rem;
    letter-spacing: 0.35em; color: inherit; margin-bottom: 6px;
}
.bag-line {
    width: 32px; height: 1px; margin-bottom: 10px;
}
.bag-name {
    font-family: var(--font-accent); font-size: 1rem; line-height: 1.2;
    color: inherit; margin-bottom: 10px;
}
.bag-origin {
    font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
    opacity: 0.6; margin-bottom: 6px;
}
.bag-weight {
    font-size: 0.5rem; letter-spacing: 0.15em; opacity: 0.4;
}

/* Bag color variants */
.bag-black .bag-top { background: #1c1c1c; }
.bag-black .bag-top::after { background: #2a2a2a; }
.bag-black .bag-body { background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%); color: var(--gold); }
.bag-black .bag-line { background: var(--gold-dark); }

.bag-dark .bag-top { background: #2a1f14; }
.bag-dark .bag-top::after { background: #3a2a18; }
.bag-dark .bag-body { background: linear-gradient(180deg, #2a1f14 0%, #1e1508 100%); color: var(--cream); }
.bag-dark .bag-line { background: var(--cream); opacity: 0.3; }

.bag-cream .bag-top { background: #d4c4a8; }
.bag-cream .bag-top::after { background: #c4b498; }
.bag-cream .bag-body { background: linear-gradient(180deg, #d4c4a8 0%, #c4b498 100%); color: #2a1f14; }
.bag-cream .bag-line { background: #2a1f14; opacity: 0.3; }

.bag-gold .bag-top { background: var(--gold-dark); }
.bag-gold .bag-top::after { background: var(--gold); }
.bag-gold .bag-body { background: linear-gradient(180deg, var(--gold-dark) 0%, #8a6a2a 100%); color: #0a0a0a; }
.bag-gold .bag-line { background: #0a0a0a; opacity: 0.3; }

.product-badge {
    position: absolute; top: 20px; left: 20px;
    padding: 6px 16px;
    font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
    background: rgba(200, 164, 94, 0.9); color: var(--black); font-weight: 600;
}
.product-info { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.product-origin {
    font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gold-dark); margin-bottom: 12px;
}
.product-name {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
    color: var(--cream); margin-bottom: 16px; line-height: 1.3;
}
.product-notes {
    font-size: 0.9rem; line-height: 1.7; color: var(--text-muted);
    font-weight: 300; margin-bottom: 24px;
}
.product-meta {
    display: flex; gap: 24px; padding-top: 20px;
    border-top: 1px solid var(--dark-3);
}
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-label { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); }
.meta-value { font-size: 0.85rem; color: var(--text-muted); }
.meta-value.gold { color: var(--gold); font-weight: 500; }

@media (max-width: 1024px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .product-card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .catalog { padding: 80px 24px; }
    .product-card { grid-template-columns: 1fr; }
    .product-image { min-height: 240px; }
    .product-info { padding: 28px 24px; }
}

/* ── Gallery ── */
.gallery { padding: 160px 48px; background: var(--black); }
.gallery-header { text-align: center; margin-bottom: 60px; }
.gallery-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 8px;
}
.gallery-item {
    background-size: cover; background-position: center;
    position: relative; overflow: hidden; cursor: pointer;
    filter: brightness(0.7) saturate(0.8);
    transition: all 0.6s var(--ease-out);
}
.gallery-item::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover {
    filter: brightness(1) saturate(1);
    transform: scale(0.98);
    z-index: 2;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.gallery-item.large { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-caption {
    position: absolute; bottom: 20px; left: 20px; right: 20px;
    z-index: 3;
    font-size: 0.85rem; color: var(--cream); font-weight: 300;
    letter-spacing: 0.03em;
    opacity: 0; transform: translateY(10px);
    transition: all 0.4s var(--ease-out);
}

@media (max-width: 768px) {
    .gallery { padding: 80px 24px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .gallery-item.large { grid-column: span 2; }
    .gallery-item.tall { grid-row: span 1; }
}

/* ── Interactive Map ── */
.regions-map { padding: 160px 48px; background: var(--dark); }
.regions-map-header { text-align: center; margin-bottom: 60px; }

.map-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start;
}

.map-svg-wrap {
    position: relative;
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    padding: 32px;
    border-radius: 2px;
}

#huehue-map, .map-svg-wrap svg, .dept-map { width: 100%; height: auto; }

.dept-outline {
    fill: none !important;
    stroke: rgba(200, 164, 94, 0.2) !important;
    stroke-width: 1.5 !important;
    stroke-dasharray: none !important;
}
/* Override original SVG styles */
.map-svg-wrap svg path.muni {
    fill: rgba(200, 164, 94, 0.15) !important;
    stroke: rgba(200, 164, 94, 0.5) !important;
    stroke-width: 0.8 !important;
    stroke-dasharray: none !important;
}

.muni {
    fill: rgba(200, 164, 94, 0.15);
    stroke: rgba(200, 164, 94, 0.5);
    stroke-width: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
}
.muni:hover {
    fill: rgba(200, 164, 94, 0.45) !important;
    stroke: var(--gold-light) !important;
    stroke-width: 1.5 !important;
    filter: drop-shadow(0 0 18px rgba(200, 164, 94, 0.5));
    transform-origin: center;
}
.muni.active {
    fill: rgba(200, 164, 94, 0.4);
    stroke: var(--gold-light);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 20px rgba(200, 164, 94, 0.5));
}
.muni-other {
    fill: rgba(200, 164, 94, 0.08);
    stroke: rgba(200, 164, 94, 0.3);
}
.muni-cabecera {
    fill: rgba(200, 164, 94, 0.2);
    stroke: rgba(200, 164, 94, 0.6);
    stroke-width: 1.5;
    stroke-dasharray: 3 2;
}

.map-label, .map-svg-wrap text {
    font-family: var(--font-body);
    font-size: 5px;
    fill: rgba(200, 164, 94, 0.7);
    text-anchor: middle;
    letter-spacing: 0.05em;
    pointer-events: none;
    transition: fill 0.3s;
}
.map-label.small { font-size: 4px; }
.map-title { fill: rgba(200, 164, 94, 0.25) !important; font-family: var(--font-display) !important; }

/* Info Panel */
.map-info {
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    padding: 40px;
    min-height: 400px;
    position: sticky;
    top: 100px;
}

.map-info-default { display: flex; flex-direction: column; gap: 32px; }

.info-icon { color: var(--gold); opacity: 0.4; }
.info-prompt {
    font-size: 1rem; color: var(--text-muted); line-height: 1.7; font-weight: 300;
}

.info-summary {
    display: flex; flex-direction: column; gap: 20px;
    padding-top: 24px; border-top: 1px solid var(--dark-3);
}
.summary-item { display: flex; flex-direction: column; gap: 4px; }
.summary-number {
    font-family: var(--font-display); font-size: 1.3rem;
    color: var(--gold); font-weight: 400;
}
.summary-label {
    font-size: 0.7rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--text-dim);
}

/* Detail panel */
.info-back {
    font-size: 0.75rem; color: var(--gold-dark); cursor: pointer;
    letter-spacing: 0.1em; transition: color 0.3s;
    display: inline-block; margin-bottom: 20px;
}
.info-back:hover { color: var(--gold); }

.info-name {
    font-family: var(--font-display); font-size: 1.8rem;
    font-weight: 400; color: var(--cream); margin-bottom: 16px; line-height: 1.2;
}

.info-tags { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.info-tag {
    font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 6px 14px; border: 1px solid var(--gold-dark);
    color: var(--gold); background: rgba(200, 164, 94, 0.05);
}

.info-desc {
    font-size: 0.95rem; line-height: 1.8; color: var(--text-muted);
    font-weight: 300; margin-bottom: 24px;
}

.info-section { margin-bottom: 20px; }
.info-section-label {
    display: block; font-size: 0.65rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px;
}
.info-notes {
    font-family: var(--font-accent); font-size: 1.2rem;
    color: var(--gold-light); font-style: italic; font-weight: 300;
}
.info-variety {
    font-size: 0.9rem; color: var(--text-muted); font-weight: 300;
}

/* Tooltip */
.map-tooltip {
    position: fixed;
    pointer-events: none;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(200, 164, 94, 0.3);
    padding: 16px 20px;
    max-width: 280px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(12px);
}
.map-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}
.tooltip-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 6px;
    line-height: 1.3;
}
.tooltip-label {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 8px;
}
.tooltip-label--region {
    color: var(--text-dim);
}
.tooltip-notes {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: var(--cream);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 6px;
    line-height: 1.4;
}
.tooltip-meta {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

@media (max-width: 900px) {
    .regions-map { padding: 80px 24px; }
    .map-container { grid-template-columns: 1fr; }
    .map-info { min-height: auto; position: static; }
}

/* ── Contact ── */
.contact {
    padding: 160px 48px;
    position: relative;
    text-align: center;
    min-height: 90vh;
    display: flex; align-items: center; justify-content: center;
}
.contact-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(0.15) saturate(0.5);
}
.contact-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, var(--dark) 0%, transparent 30%, transparent 70%, var(--black) 100%);
}
.contact-content { max-width: 700px; position: relative; z-index: 1; }
.contact-actions { display: flex; gap: 24px; justify-content: center; margin-top: 48px; margin-bottom: 80px; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 40px; background: var(--gold); color: var(--black);
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
    transition: all 0.3s var(--ease-out);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200, 164, 94, 0.25); }

.btn-secondary {
    display: inline-flex; align-items: center;
    padding: 16px 40px; border: 1px solid var(--gold-dark); color: var(--gold);
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
    transition: all 0.3s var(--ease-out);
}
.btn-secondary:hover { background: rgba(200, 164, 94, 0.08); border-color: var(--gold); }

.contact-details {
    display: flex; justify-content: center; gap: 64px;
    padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.08);
}
.contact-item { text-align: center; }
.contact-label { display: block; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.contact-value { font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .contact { padding: 80px 24px; }
    .contact-actions { flex-direction: column; align-items: center; }
    .contact-details { flex-direction: column; gap: 32px; }
}

/* ── Orders & Chat ── */
.orders { padding: 120px 48px; background: var(--black); }
.orders-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.orders-info { padding-right: 24px; }
.orders-features { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.order-feature { display: flex; gap: 16px; align-items: flex-start; }
.order-feature .feature-icon { color: var(--gold); font-size: 1rem; margin-top: 2px; }
.order-feature strong { display: block; font-size: 0.85rem; color: var(--text); margin-bottom: 4px; }
.order-feature p { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

.orders-social { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.social-label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: 16px; }
.social-links { display: flex; gap: 16px; }
.social-link {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(200,164,94,0.2); border-radius: 50%; color: var(--gold-dark);
    transition: all 0.3s var(--ease-out); text-decoration: none;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,164,94,0.08); }

.orders-chat { position: sticky; top: 100px; }
.chat-window {
    background: var(--dark); border: 1px solid rgba(200,164,94,0.15);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 16px 64px rgba(0,0,0,0.4);
}
.chat-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px; background: rgba(200,164,94,0.06);
    border-bottom: 1px solid rgba(200,164,94,0.1);
}
.chat-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gold-dark); color: var(--black);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
}
.chat-header strong { font-size: 0.85rem; color: var(--text); display: block; }
.chat-status { font-size: 0.65rem; color: #4ade80; letter-spacing: 0.05em; }

.chat-messages { padding: 20px; min-height: 280px; max-height: 360px; overflow-y: auto; }
.chat-message { margin-bottom: 16px; }
.chat-message.bot p {
    background: rgba(200,164,94,0.08); border: 1px solid rgba(200,164,94,0.1);
    padding: 12px 16px; border-radius: 4px 16px 16px 16px;
    font-size: 0.85rem; color: var(--text); line-height: 1.5; max-width: 85%;
}
.chat-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chat-option {
    padding: 8px 16px; border: 1px solid rgba(200,164,94,0.3);
    background: transparent; color: var(--gold); border-radius: 20px;
    font-size: 0.75rem; cursor: pointer; font-family: var(--font-body);
    transition: all 0.3s var(--ease-out); letter-spacing: 0.02em;
}
.chat-option:hover { background: rgba(200,164,94,0.12); border-color: var(--gold); }

.chat-input-wrap {
    display: flex; padding: 12px 16px; gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.chat-input {
    flex: 1; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px; padding: 10px 16px; color: var(--text-muted);
    font-size: 0.8rem; font-family: var(--font-body); outline: none;
}
.chat-input:focus { border-color: rgba(200,164,94,0.3); }
.chat-send {
    width: 38px; height: 38px; border-radius: 50%; border: none;
    background: var(--gold-dark); color: var(--black); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0.4; transition: all 0.3s;
}
.chat-note { text-align: center; font-size: 0.65rem; color: var(--text-dim); margin-top: 16px; letter-spacing: 0.05em; }

@media (max-width: 768px) {
    .orders { padding: 80px 24px; }
    .orders-container { grid-template-columns: 1fr; gap: 40px; }
    .orders-chat { position: static; }
}

/* ── Footer ── */
.footer {
    padding: 48px; background: var(--black);
    border-top: 1px solid var(--dark-3); text-align: center;
}
.footer-logo { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.3em; color: var(--gold-dark); margin-bottom: 8px; }
.footer-tagline { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 24px; }
.footer-line { width: 40px; height: 1px; background: var(--dark-3); margin: 0 auto 24px; }
.footer-copy { font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.05em; }
.footer-holding { font-size: 0.6rem; color: var(--text-dim); letter-spacing: 0.08em; margin-top: 12px; opacity: 0.6; }
.footer-holding strong { color: var(--gold-dark); font-weight: 500; letter-spacing: 0.12em; }
