/* ============================================================
   FUNDO MARANATHA — style.css
   Estilos globales compartidos por todas las páginas
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #F7F3EE; --dark: #1A1410; --brown: #3D2B1F;
  --cocoa: #7B4F2E; --gold: #C49A3C; --light-brown: #D4A97A;
  --text-muted: #6B5B51; --border: #E8DDD4;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--dark); overflow-x: hidden; }

/* ── ACCESIBILIDAD (Navegación por teclado) ─────────────── */
*:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ── NAV ─────────────────────────────────────────────────── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 4rem; background: rgba(247,243,238,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: padding 0.3s; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--brown); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.nav-logo span { color: var(--gold); }
.nav-logo img { height: 75px; width: 75px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active, .nav-links a[aria-current="page"] { color: var(--gold); font-weight: 600; }
.nav-social { display: flex; gap: 0.6rem; align-items: center; }
.nav-social a { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--brown); transition: color 0.2s; }
.nav-social a:hover { color: var(--gold); }
.nav-social svg { width: 15px; height: 15px; }

/* ── LANG SWITCHER ───────────────────────────────────────── */
.lang-switcher { display: flex; border: 1.5px solid var(--border); border-radius: 2px; overflow: hidden; }
.lang-btn { background: none; border: none; padding: 0.35rem 0.65rem; font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; cursor: pointer; color: var(--text-muted); transition: all 0.2s; }
.lang-btn.active { background: var(--brown); color: var(--cream); }
.lang-btn:not(.active):hover { background: var(--border); }

.nav-cta { background: var(--brown); color: var(--cream) !important; padding: 0.55rem 1.4rem; border-radius: 2px; text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.2s; }
.nav-cta:hover { background: var(--cocoa); }

/* ── HAMBURGER MOBILE MENU ───────────────────────────────── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--brown); border-radius: 1px; transition: all 0.3s; }
.nav-mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(247,243,238,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 1.25rem 1.5rem; }
.nav-mobile.open { display: block; }
#nav-overlay { display: none; position: fixed; inset: 0; z-index: 99; background: rgba(26,20,16,0.35); backdrop-filter: blur(2px); cursor: pointer; }
#nav-overlay.active { display: block; }

/* ── LANGUAGE TOGGLE (blog/FAQ bilingual blocks) ─────────── */
.lang-en { display: none; }
html[lang="en"] .lang-es { display: none; }
html[lang="en"] .lang-en { display: block; }
html[lang="en"] span.lang-en { display: inline; }
.nav-mobile-links { list-style: none; }
.nav-mobile-links li a { display: block; padding: 0.85rem 0; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); text-decoration: none; border-bottom: 1px solid var(--border); }
.nav-mobile-links li:last-child a { border-bottom: none; }
.nav-mobile-links li a:hover { color: var(--gold); }

/* ── HERO ────────────────────────────────────────────────── */
#hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 80px; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 6rem 4rem 6rem 5rem; }
.hero-tag { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 4vw, 4.2rem); line-height: 1.08; color: var(--brown); margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--cocoa); }
.hero-subtitle { font-size: 1rem; line-height: 1.7; color: var(--text-muted); max-width: 420px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--brown); color: var(--cream); padding: 0.85rem 2rem; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em; text-decoration: none; border-radius: 2px; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: var(--cocoa); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; border: 1.5px solid var(--brown); color: var(--brown); padding: 0.85rem 2rem; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em; text-decoration: none; border-radius: 2px; transition: all 0.2s; }
.btn-secondary:hover { background: var(--brown); color: var(--cream); }
.hero-stats { display: flex; gap: 3rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--brown); display: block; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.hero-visual { position: relative; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(61,43,31,0.15) 0%, transparent 60%); }
.hero-badge { position: absolute; bottom: 2.5rem; left: 2.5rem; background: rgba(247,243,238,0.95); backdrop-filter: blur(8px); padding: 1rem 1.5rem; border-left: 3px solid var(--gold); max-width: 220px; }
.hero-badge p { font-family: 'Playfair Display', serif; font-size: 0.9rem; color: var(--brown); line-height: 1.4; }
.hero-badge small { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* ── COMMONS ─────────────────────────────────────────────── */
section { padding: 7rem 5rem; }
.section-tag { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3vw, 3rem); color: var(--brown); line-height: 1.15; margin-bottom: 1.5rem; }
.section-title em { font-style: italic; color: var(--cocoa); }
.divider { width: 48px; height: 2px; background: var(--gold); margin-bottom: 2rem; }

/* ── NOSOTROS ────────────────────────────────────────────── */
#nosotros { background: white; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: stretch; }
.nosotros-images { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 100%; min-height: 480px; }
.nosotros-images img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-tall { grid-row: 1 / 3; }
.nosotros-text p { font-size: 0.97rem; line-height: 1.85; color: var(--text-muted); margin-bottom: 1rem; }
.values-list { list-style: none; margin-top: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.values-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; font-weight: 500; color: var(--brown); }
.values-list li::before { content: '✓'; color: #5a9e5a; font-weight: 700; font-size: 0.82rem; flex-shrink: 0; line-height: 1; }
.nosotros-feature-card { background: #faf6f0; border: 1px solid var(--border); border-radius: 6px; padding: 1.75rem 2rem 1.5rem; margin-top: 2rem; }
.nosotros-feature-card .values-list { margin-bottom: 1.5rem; }
.nosotros-feature-card .btn-primary { width: 100%; justify-content: center; }

/* ── PRODUCTOS ───────────────────────────────────────────── */
#productos { background: var(--cream); }
.productos-header { margin-bottom: 3.5rem; }
.productos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.producto-card { display: block; background: white; border: 1px solid var(--border); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; color: inherit; }
.producto-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(61,43,31,0.1); }
.producto-img { height: 220px; overflow: hidden; }
.producto-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.producto-card:hover .producto-img img { transform: scale(1.05); }
.producto-info { padding: 1.5rem; }
.producto-info h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--brown); margin-bottom: 0.5rem; }
.producto-info p { font-size: 0.82rem; line-height: 1.65; color: var(--text-muted); }
.producto-tag { display: inline-block; margin-top: 1rem; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border-top: 1px solid var(--border); padding-top: 0.75rem; width: 100%; }

/* ── GALERÍA ─────────────────────────────────────────────── */
#galeria { background: var(--dark); padding: 7rem 5rem; }
#galeria .section-tag { color: var(--light-brown); }
#galeria .section-title { color: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 3rem; }
.gallery-layout { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(360px, 360px) minmax(180px, 1fr); gap: 1rem; align-items: start; margin-top: 2.5rem; }
.gallery-column { display: grid; gap: 1rem; }
.gallery-feature { display: flex; justify-content: center; }
.gallery-item { overflow: hidden; height: 200px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.88) saturate(0.9); transition: transform 0.5s, filter 0.4s; }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1) saturate(1.1); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; height: 408px; }
.gallery-video { width: 100%; max-width: 360px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 4px; background: #000; }
.gallery-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── CONTACTO ────────────────────────────────────────────── */
#contacto { background: white; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.contacto-img { height: 540px; overflow: hidden; background: #2a2a2a; border-radius: 4px; }
.contacto-img video, .contacto-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contacto-info p { font-size: 0.97rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 2.5rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; text-decoration: none; color: inherit; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.contact-item:hover { border-color: var(--gold); background: #fdf8f2; transform: translateY(-1px); }
.contact-icon { width: 44px; height: 44px; background: var(--cream); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; }
.contact-item-text strong { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.15rem; }
.contact-item-text span { font-size: 0.95rem; color: var(--brown); font-weight: 500; }
.social-row { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem; border: 1.5px solid var(--border); text-decoration: none; font-size: 0.78rem; font-weight: 500; color: var(--brown); border-radius: 2px; transition: all 0.2s; }
.social-btn:hover { border-color: var(--gold); background: #fdf9f4; }
.social-btn svg { width: 14px; height: 14px; }
.order-box { display: grid; gap: 1rem; padding: 1.4rem 1.35rem; border-radius: 18px; background: #fffdf7; border: 1px solid rgba(61,43,31,0.12); box-shadow: 0 24px 50px rgba(61,43,31,0.08); }
.order-box-header { display: flex; align-items: center; gap: 0.85rem; }
.order-box-header svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(61,43,31,0.06); color: var(--brown); flex-shrink: 0; }
.order-box-title { font-size: 1rem; font-weight: 700; color: var(--brown); }
.order-box-copy { font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); }
.order-box-action { margin-top: 0.25rem; }
.order-box-action .btn-primary { width: 100%; justify-content: center; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--dark); color: var(--cream); padding: 3rem 5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--cream); }
.footer-logo span { color: var(--gold); }
.footer-sub { font-size: 0.75rem; color: rgba(247,243,238,0.4); margin-top: 0.3rem; letter-spacing: 0.08em; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15); border-radius: 2px; display: flex; align-items: center; justify-content: center; color: rgba(247,243,238,0.6); transition: color 0.2s, border-color 0.2s; }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 15px; height: 15px; }
footer p { font-size: 0.75rem; color: rgba(247,243,238,0.4); }

/* ── WHATSAPP FLOTANTE ───────────────────────────────────── */
.wa-float { position: fixed; bottom: 25px; right: 25px; width: 55px; height: 55px; background-color: #25D366; color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.25); z-index: 1000; transition: transform 0.3s ease; }
.wa-float:hover { transform: scale(1.1); }

/* ── BLOG ────────────────────────────────────────────────── */
.blog-hero { padding: 8rem 5rem 3.5rem; background: var(--cream); }
.blog-breadcrumb { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1.25rem; letter-spacing: 0.05em; }
.blog-breadcrumb a { color: var(--gold); text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 3vw, 2.7rem); color: var(--brown); line-height: 1.2; max-width: 800px; margin: 0.75rem 0 1rem; }
.blog-meta { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.blog-cover { width: 100%; height: 420px; object-fit: cover; display: block; }
.blog-body { max-width: 780px; margin: 0 auto; padding: 3.5rem 2rem; }
.blog-body h2 { font-family: 'Playfair Display', serif; font-size: 1.55rem; color: var(--brown); margin: 2.5rem 0 1rem; line-height: 1.3; }
.blog-body h3 { font-size: 1.02rem; font-weight: 600; color: var(--brown); margin: 1.75rem 0 0.6rem; }
.blog-body p { font-size: 0.97rem; line-height: 1.85; color: var(--text-muted); margin-bottom: 1.1rem; }
.blog-body ul, .blog-body ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.blog-body li { font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 0.35rem; }
.blog-body strong { color: var(--brown); font-weight: 600; }
.blog-img-inline { width: 100%; height: 320px; object-fit: cover; display: block; margin: 2rem 0; border-radius: 2px; }
.blog-cta-box { background: var(--dark); padding: 2rem 2.5rem; margin: 2.5rem 0; border-left: 3px solid var(--gold); }
.blog-cta-box h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--cream); margin-bottom: 0.5rem; }
.blog-cta-box p { color: rgba(247,243,238,0.7); font-size: 0.93rem; margin-bottom: 1.25rem; }
/* ── BLOG VISUAL ENHANCEMENTS ─────────────────────────────── */
.blog-hook { background: linear-gradient(135deg, var(--dark) 0%, #2a1a10 100%); border-left: 4px solid var(--gold); padding: 1.5rem 2rem; margin-bottom: 2rem; border-radius: 0 4px 4px 0; }
.blog-hook p { color: rgba(247,243,238,0.92) !important; font-size: 1.02rem !important; line-height: 1.82 !important; margin: 0 !important; }
.blog-hook strong { color: var(--gold) !important; }
.blog-icon-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 2rem 0; }
.blog-icon-card { background: #faf6f2; border: 1px solid var(--border); border-radius: 8px; padding: 1.2rem 1rem; text-align: center; }
.blog-icon-card .bic-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; line-height: 1; }
.blog-icon-card strong { display: block; font-size: 0.84rem; color: var(--brown); margin-bottom: 0.25rem; font-weight: 600; }
.blog-icon-card span { font-size: 0.77rem; color: var(--text-muted); line-height: 1.4; }
.blog-compare-wrap { overflow-x: auto; margin: 2rem 0; border-radius: 4px; border: 1px solid var(--border); }
.blog-compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.blog-compare-table th { background: var(--brown); color: white; padding: 0.75rem 1rem; text-align: left; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-compare-table td { padding: 0.68rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.55; color: var(--text-muted); }
.blog-compare-table tr:last-child td { border-bottom: none; }
.blog-compare-table tr:nth-child(even) td { background: #faf6f2; }
.blog-compare-table td:first-child { font-weight: 600; color: var(--brown); font-size: 0.84rem; }
.blog-compare-table .good { color: #3a7c3a; font-weight: 600; }
.blog-compare-table .bad { color: #b34040; }
.blog-timeline { margin: 2rem 0; display: flex; flex-direction: column; }
.blog-timeline-step { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.blog-timeline-step:last-child { border-bottom: none; }
.blog-timeline-num { flex-shrink: 0; width: 2.2rem; height: 2.2rem; background: var(--brown); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; margin-top: 0.1rem; }
.blog-timeline-step strong { display: block; color: var(--brown); font-size: 0.92rem; font-weight: 600; margin-bottom: 0.25rem; }
.blog-timeline-step p { margin: 0; font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }
.blog-stat-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.blog-stat-card { flex: 1; min-width: 120px; background: var(--brown); color: white; padding: 1.2rem 1rem; border-radius: 8px; text-align: center; }
.blog-stat-card .bsc-num { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 600; color: var(--gold); display: block; line-height: 1; }
.blog-stat-card .bsc-label { font-size: 0.76rem; color: rgba(247,243,238,0.8); margin-top: 0.4rem; line-height: 1.35; display: block; }
.blog-tip-box { background: #f0f7f0; border-left: 3px solid #5a9e5a; border-radius: 0 4px 4px 0; padding: 1.1rem 1.5rem; margin: 1.5rem 0; }
.blog-tip-box p { color: #2d5a2d !important; margin: 0 !important; font-size: 0.91rem !important; }
.blog-tip-box strong { color: #1a3d1a !important; }
.blog-warning-box { background: #fff8e6; border-left: 3px solid #d4a017; border-radius: 0 4px 4px 0; padding: 1.1rem 1.5rem; margin: 1.5rem 0; }
.blog-warning-box p { color: #6b4c0a !important; margin: 0 !important; font-size: 0.91rem !important; }
.blog-no-list { list-style: none; padding-left: 0 !important; }
.blog-no-list li { padding-left: 1.6rem; position: relative; }
.blog-no-list li::before { content: attr(data-icon); position: absolute; left: 0; }
/* ── ARTICLE REFERENCES ─────────────────────────────────── */
.blog-references { max-width: 780px; margin: 0 auto; padding: 1.5rem 2rem 2.5rem; border-top: 1px solid var(--border); }
.blog-references h4 { font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); opacity: 0.65; margin-bottom: 0.75rem; }
.blog-references ol { padding-left: 1.3rem; margin: 0; }
.blog-references li { font-size: 0.78rem; line-height: 1.65; color: var(--text-muted); opacity: 0.75; margin-bottom: 0.4rem; }
.blog-references a { color: var(--text-muted); text-decoration: underline; word-break: break-all; }
.blog-related { padding: 4rem 5rem; background: white; border-top: 1px solid var(--border); }
.blog-related .section-title { font-size: 1.5rem; margin-bottom: 0; }
.blog-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.blog-card { background: var(--cream); border: 1px solid var(--border); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; display: block; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(61,43,31,0.1); }
.blog-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.blog-card-info { padding: 1rem 1.1rem; }
.blog-card-tag { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.35rem; }
.blog-card-info h3 { font-family: 'Playfair Display', serif; font-size: 0.92rem; color: var(--brown); line-height: 1.35; }
/* Blog index */
.blog-index-hero { padding: 8rem 5rem 3rem; background: var(--cream); }
.blog-listing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; padding: 0 5rem 6rem; }
.blog-listing-card { background: white; border: 1px solid var(--border); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; display: block; }
.blog-listing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(61,43,31,0.1); }
.blog-listing-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-listing-card-body { padding: 1.5rem; }
.blog-listing-card-tag { font-size: 0.67rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.blog-listing-card-body h2 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--brown); line-height: 1.35; margin-bottom: 0.6rem; }
.blog-listing-card-body p { font-size: 0.82rem; line-height: 1.6; color: var(--text-muted); }
.blog-listing-card-arrow { display: inline-block; margin-top: 0.75rem; font-size: 0.78rem; font-weight: 500; color: var(--gold); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-wrapper { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.97rem; font-weight: 600; color: var(--brown); line-height: 1.4; }
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 2rem 1.5rem 0; font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); }
.faq-item.open .faq-answer { display: block; }

/* Footer nav links */
.footer-links { display: flex; gap: 1.25rem; align-items: center; }
.footer-links a { font-size: 0.75rem; color: rgba(247,243,238,0.45); text-decoration: none; letter-spacing: 0.07em; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ── RESPONSIVE (≤900px) ─────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.2rem; }
  .nav-hamburger { display: flex; }
  .nav-links, .nav-social { display: none; }
  .nav-logo { font-size: 0; gap: 0; }
  .nav-logo img { height: 48px; width: 48px; }
  .nav-cta { padding: 0.5rem 0.8rem; font-size: 0.75rem; }
  .lang-btn { padding: 0.35rem 0.5rem; font-size: 0.65rem; }

  #hero { grid-template-columns: 1fr; }
  .hero-text { padding: 4rem 1.5rem 3rem; }
  .hero-visual { height: 55vw; min-height: 280px; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }

  #nosotros { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 2.5rem; }
  .nosotros-images { grid-template-rows: 200px 200px; }

  section { padding: 4rem 1.5rem; }
  .productos-grid { grid-template-columns: 1fr; }

  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-feature { order: -1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; height: 200px; }
  .gallery-video { width: 100%; max-width: none; height: auto; aspect-ratio: 9 / 16; }
  #galeria { padding: 4rem 1.5rem; }

  #contacto { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 2rem; }
  .contacto-img { height: 280px; }

  footer { flex-direction: column; text-align: center; padding: 2.5rem 1.5rem; }
  .footer-social { justify-content: center; }

  .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .wa-float svg { width: 24px; height: 24px; }
}

/* ── BLOG DATA TABLES ─────────────────────────────────────── */
.blog-table-wrap { overflow-x: auto; border-radius: 4px; box-shadow: 0 1px 10px rgba(61,43,31,0.09); margin: 2rem 0; }
.blog-data-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.blog-data-table thead th { background: var(--brown); color: var(--cream); padding: 0.8rem 1rem; text-align: left; font-weight: 500; letter-spacing: 0.05em; font-size: 0.78rem; text-transform: uppercase; }
.blog-data-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
.blog-data-table tbody tr:nth-child(even) { background: rgba(212,169,122,0.1); }
.blog-data-table tbody tr:hover { background: rgba(196,154,60,0.12); }
.blog-data-table td { padding: 0.8rem 1rem; vertical-align: top; line-height: 1.55; }
.blog-data-table td:first-child { font-weight: 600; color: var(--brown); white-space: nowrap; }
.blog-table-caption { font-size: 0.76rem; color: var(--text-muted); text-align: center; margin-top: 0.4rem; font-style: italic; }
.cell-yes { color: #4a7c4a; font-weight: 700; }
.cell-no  { color: #9e4040; }
.cell-mid { color: var(--cocoa); font-weight: 600; }

/* ── BLOG BAR CHART ───────────────────────────────────────── */
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.cacao-bar-chart { margin: 2rem 0; }
.cacao-bar-chart .chart-title { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.9rem; }
.bar-row { display: grid; grid-template-columns: 124px 1fr 58px; align-items: center; gap: 0.7rem; margin-bottom: 0.6rem; }
.bar-label { font-size: 0.83rem; font-weight: 500; color: var(--dark); text-align: right; }
.bar-label--highlight { font-weight: 700; color: var(--brown); }
.bar-track { background: var(--border); border-radius: 3px; height: 13px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; background: var(--light-brown); transform-origin: left center; animation: barGrow 1s cubic-bezier(0.4,0,0.2,1) both; }
.bar-fill--highlight { background: var(--cocoa); }
.bar-fill--gold { background: var(--gold); }
.cacao-bar-chart .bar-row:nth-child(2) .bar-fill { animation-delay: 0.05s; }
.cacao-bar-chart .bar-row:nth-child(3) .bar-fill { animation-delay: 0.20s; }
.cacao-bar-chart .bar-row:nth-child(4) .bar-fill { animation-delay: 0.34s; }
.cacao-bar-chart .bar-row:nth-child(5) .bar-fill { animation-delay: 0.48s; }
.cacao-bar-chart .bar-row:nth-child(6) .bar-fill { animation-delay: 0.62s; }
.cacao-bar-chart .bar-row:nth-child(7) .bar-fill { animation-delay: 0.76s; }
.cacao-bar-chart .bar-row:nth-child(8) .bar-fill { animation-delay: 0.90s; }
.bar-value { font-size: 0.81rem; font-weight: 600; color: var(--text-muted); }
.bar-value--highlight { color: var(--brown); }
.chart-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; font-style: italic; }

@media (max-width: 900px) {
  .bar-row { grid-template-columns: 100px 1fr 50px; gap: 0.5rem; }
  .bar-label { font-size: 0.78rem; }
  .blog-data-table td, .blog-data-table thead th { padding: 0.65rem 0.75rem; font-size: 0.82rem; }
}

/* ── PRODUCTO DETALLE ────────────────────────────────────── */
.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 7rem 5rem 5rem; align-items: start; }
.pd-images { position: sticky; top: 100px; }
.pd-main-img-wrap { overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1; background: white; }
.pd-main-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumbs { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.pd-thumb { width: 68px; height: 68px; object-fit: cover; border: 2px solid transparent; cursor: pointer; display: block; transition: border-color 0.2s; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--gold); }
.pd-breadcrumb { font-size: 0.73rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pd-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.pd-breadcrumb a:hover { color: var(--gold); }
.pd-breadcrumb .sep { margin: 0 0.4em; opacity: 0.45; }
.pd-badge { display: inline-block; font-size: 0.67rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); background: rgba(196,154,60,0.1); border: 1px solid rgba(196,154,60,0.25); padding: 0.25rem 0.65rem; border-radius: 2px; margin-bottom: 0.9rem; }
.pd-title { font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 2.8vw, 2.5rem); color: var(--brown); line-height: 1.15; margin-bottom: 0.7rem; }
.pd-title em { font-style: italic; color: var(--cocoa); }
.pd-price-range { font-size: 1.05rem; color: var(--cocoa); font-weight: 600; margin-bottom: 1.2rem; font-family: 'Playfair Display', serif; }
.pd-short-desc { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.pd-size-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); margin-bottom: 0.85rem; display: block; }
.pd-sizes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.pd-size-radio { display: none; }
.pd-size-pill { display: flex; flex-direction: column; align-items: center; padding: 0.6rem 1rem; border: 1.5px solid var(--border); cursor: pointer; transition: all 0.2s; background: white; border-radius: 2px; min-width: 74px; user-select: none; }
.pd-size-pill .sz-name { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; color: var(--brown); }
.pd-size-pill .sz-price { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }
.pd-size-radio:checked + .pd-size-pill { border-color: var(--brown); background: var(--cream); }
.pd-size-radio:checked + .pd-size-pill .sz-name { font-weight: 700; }
.pd-size-radio:checked + .pd-size-pill .sz-price { color: var(--cocoa); font-weight: 600; }
.pd-selected-price-wrap { min-height: 2.8rem; margin-bottom: 1.25rem; }
.pd-selected-price { font-family: 'Playfair Display', serif; font-size: 1.65rem; color: var(--brown); font-weight: 600; line-height: 1; }
.pd-selected-price.consultar { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }
.btn-wa-comprar { display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; padding: 1rem 1.5rem; background: #25D366; color: white; text-decoration: none; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 600; border-radius: 2px; transition: background 0.2s, transform 0.15s; letter-spacing: 0.03em; }
.btn-wa-comprar:hover { background: #1da851; transform: translateY(-1px); }
.pd-consult-note { font-size: 0.77rem; color: var(--text-muted); margin-top: 0.75rem; text-align: center; }
.pd-consult-note a { color: var(--cocoa); text-decoration: none; }
.pd-consult-note a:hover { text-decoration: underline; }
.pd-meta { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: grid; gap: 0.4rem; }
.pd-meta-row { font-size: 0.8rem; color: var(--text-muted); }
.pd-meta-row strong { color: var(--brown); margin-right: 0.4em; }
.pd-meta-row a { color: var(--text-muted); text-decoration: none; }
.pd-meta-row a:hover { color: var(--gold); }
/* ── PD BODY ─────────────────────────────────────────────── */
.pd-body { background: white; padding: 5rem; border-top: 1px solid var(--border); }
.pd-body-inner { max-width: 760px; }
.pd-body h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--brown); margin-bottom: 1rem; margin-top: 2.5rem; line-height: 1.3; }
.pd-body h2:first-child { margin-top: 0; }
.pd-body p { font-size: 0.95rem; line-height: 1.85; color: var(--text-muted); margin-bottom: 1rem; }
.pd-body ul { padding-left: 1.4rem; margin-bottom: 1.25rem; }
.pd-body li { font-size: 0.93rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 0.3rem; }
.pd-body strong { color: var(--brown); }
/* ── PD BADGES ROW ───────────────────────────────────────── */
.pd-badges-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0 1rem; }
.pd-badge-pill { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.73rem; font-weight: 500; color: var(--brown); background: white; border: 1px solid var(--border); border-radius: 20px; padding: 0.28rem 0.7rem; white-space: nowrap; }
/* ── PD TRUST ────────────────────────────────────────────── */
.pd-trust { background: #faf6f2; padding: 4rem 5rem; border-top: 1px solid var(--border); }
.pd-trust-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--brown); margin-bottom: 1.5rem; text-align: center; }
.pd-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; max-width: 900px; margin: 0 auto; }
.pd-trust-item { display: flex; gap: 0.8rem; align-items: flex-start; background: white; border-radius: 8px; padding: 1rem 1.2rem; border: 1px solid var(--border); }
.pd-trust-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1.2; }
.pd-trust-item strong { display: block; color: var(--brown); font-size: 0.88rem; font-weight: 600; margin-bottom: 0.2rem; }
.pd-trust-item p { margin: 0; font-size: 0.81rem; color: var(--text-muted); line-height: 1.5; }
/* ── PD OTROS ────────────────────────────────────────────── */
.pd-otros { background: var(--cream); padding: 5rem; border-top: 1px solid var(--border); }
.pd-otros-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--brown); margin-bottom: 2rem; }
.pd-otros-title em { font-style: italic; color: var(--cocoa); }
.pd-otro-card { background: white; border: 1px solid var(--border); overflow: hidden; text-decoration: none; display: block; transition: transform 0.3s, box-shadow 0.3s; }
.pd-otro-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(61,43,31,0.1); }
.pd-otro-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.pd-otro-card-body { padding: 1rem 1.1rem; }
.pd-otro-card-name { font-family: 'Playfair Display', serif; font-size: 0.92rem; color: var(--brown); margin-bottom: 0.3rem; line-height: 1.3; }
.pd-otro-card-price { font-size: 0.78rem; color: var(--cocoa); font-weight: 600; }
/* ── RESPONSIVE PD ───────────────────────────────────────── */
@media (max-width: 900px) {
  .pd-hero { grid-template-columns: 1fr; padding: 5rem 1.5rem 3rem; gap: 2rem; }
  .pd-images { position: static; }
  .pd-body { padding: 3.5rem 1.5rem; }
  .pd-trust { padding: 3rem 1.5rem; }
  .pd-otros { padding: 3rem 1.5rem; }
  .pd-sizes { gap: 0.4rem; }
  .pd-size-pill { min-width: 66px; padding: 0.5rem 0.75rem; }
}
/* ── BLOG SHARED COMPONENTS ──────────────────────────────── */
.benefit-stats { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.bstat { flex: 1 1 140px; background: #3D2B1F; border-radius: 10px; padding: 1.2rem 1rem; text-align: center; }
.bstat-num { font-size: 2.2rem; font-weight: 700; color: #C8873A; line-height: 1; display: block; }
.bstat-unit { font-size: 1rem; color: #C8873A; font-weight: 600; }
.bstat-label { font-size: .78rem; color: #d4c4b8; margin-top: .35rem; display: block; line-height: 1.4; }
.scroll-hint { display: flex; align-items: center; gap: .35rem; color: #9a8a80; font-size: .76rem; margin-bottom: .3rem; }
