/* =========================================================
   Peruvian Organic Garden — Landing B2B
   CSS propio, mobile-first. Sin framework ni compilación.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #1E120C;
  --bg-deep: #160D08;
  --surface: #23150F;
  --surface-2: #2A1A12;
  --line: #45301F;          /* borde sólido */
  --text: #E6DDCE;          /* texto de lectura */
  --text-2: #BDB3A5;        /* texto secundario */
  --copper: #C98A3D;
  --copper-hover: #B5782F;
  --tint: rgba(243, 235, 221, 0.04); /* único tinte permitido en hover */

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
  --mobilebar-h: 72px;       /* 48px botón + 24px de padding */
  --radius: 6px;
  --gutter: 20px;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --header-h: 72px; --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;               /* red de seguridad */
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 640px) { body { padding-bottom: 0; } }

body.menu-open { overflow: hidden; }

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

::selection { background: var(--copper); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

section[id], footer[id], main[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--copper);
  color: var(--bg);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografía ---------- */
.h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
}
.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--text);
}
.eyebrow,
.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
}
.eyebrow { display: block; margin-bottom: 12px; }
.lead { font-size: 1.0625rem; color: var(--text); }
@media (min-width: 640px) { .lead { font-size: 1.125rem; } }
.muted { color: var(--text-2); }
.card-text { font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--copper);
  background: var(--copper);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease), box-shadow .25s var(--ease);
}
@media (min-width: 640px) { .btn { font-size: 15px; } }
.btn:hover {
  background: var(--copper-hover);
  border-color: var(--copper-hover);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .7);
}
.btn:active { transform: scale(0.98); }
.btn .wa-icon { width: 18px; height: 18px; flex: none; fill: currentColor; transition: transform .25s var(--ease); }
.btn:hover .wa-icon { transform: translateX(2px); }
.btn--block { width: 100%; }
.btn--nav { min-height: 44px; padding: 8px 20px; font-size: 14px; }

/* ---------- Barra superior ---------- */
.topbar {
  display: none;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); flex: none; }
@media (min-width: 640px) { .topbar { display: block; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 18, 12, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(22, 13, 8, 0.98); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.site-header.is-scrolled .header-inner { height: calc(var(--header-h) - 8px); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; min-width: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--text);
  transition: color .25s var(--ease);
}
.brand:hover { color: var(--copper); }
.brand-logo { width: auto; height: 46px; flex: none; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 42px; }
@media (min-width: 1024px) {
  .brand-logo { height: 56px; }
  .site-header.is-scrolled .brand-logo { height: 50px; }
}
@media (min-width: 640px) { .brand { font-size: 1.25rem; } }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 22px; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-size: 15px; font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: 8px;
  width: 100%; height: 2px;
  background: var(--copper);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--copper); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn--nav { display: none; }
.header-actions .lang-switch { display: none; }
@media (min-width: 640px) { .header-actions .btn--nav { display: inline-flex; } }

@media (min-width: 1280px) {
  .main-nav { display: block; }
  .header-actions .lang-switch { display: flex; }
  .menu-toggle { display: none !important; }
}

/* Selector de idioma */
.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  position: relative;
  min-width: 44px; min-height: 44px;
  padding: 0 6px;
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.lang-btn:hover { color: var(--text); background: var(--tint); }
.lang-btn[aria-pressed="true"] { color: var(--copper); }
.lang-btn[aria-pressed="true"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px;
  height: 2px; background: var(--copper);
}

/* Hamburguesa */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.menu-toggle:hover { border-color: var(--copper); }
.menu-toggle .bars { position: relative; width: 20px; height: 14px; }
.menu-toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--text);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Panel del menú móvil (pantalla completa bajo el header) */
.menu-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.menu-panel.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s;
}
.menu-panel ul { border-top: 1px solid var(--line); }
.menu-panel li { border-bottom: 1px solid var(--line); }
.menu-panel .menu-link {
  display: flex; align-items: center; min-height: 56px;
  font-size: 18px; font-weight: 500; color: var(--text);
  transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.menu-panel .menu-link:hover { color: var(--copper); padding-left: 4px; }
.menu-panel .menu-foot { margin-top: 28px; display: grid; gap: 20px; max-width: 480px; }
.menu-panel .menu-foot .label { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }
@media (min-width: 1280px) { .menu-panel { display: none; } }

/* ---------- Secciones ---------- */
.section { padding-block: 64px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .section { padding-block: 96px; } }
.section-head { max-width: 46rem; margin-bottom: 40px; }
.section-head p { margin-top: 16px; color: var(--text-2); }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }

/* ---------- Hero ---------- */
.hero { padding-block: 40px 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.hero-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); flex: none; }
.hero .h1 { margin-bottom: 20px; max-width: 18ch; }
.hero .lead { max-width: 38rem; margin-bottom: 32px; }
.hero-cta .btn { width: 100%; }
.hero-facts {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 34rem;
}
.hero-facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hero-facts dt { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.hero-facts dd { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.35; }
.hero-ship {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 13px; color: var(--text-2);
}
.hero-ship .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); flex: none; }

.hero-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #251710;
  padding: 14px;
}
.hero-frame .media {
  position: relative; overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  max-height: 360px;
  width: 100%;
  background: var(--bg);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame figcaption {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 13px; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .06em;
}

@media (min-width: 640px) {
  .hero-cta .btn { width: auto; }
  .hero-frame .media { max-height: 392px; }
}
@media (min-width: 1024px) {
  .hero { padding-block: 72px 96px; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .hero-frame { margin-right: 0; padding: 20px; }
  .hero-frame .media { max-height: none; aspect-ratio: 3 / 4; }
}

/* ---------- Tarjetas genéricas ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
@media (min-width: 640px) { .card { padding: 40px; } }
.card--hover:hover { transform: translateY(-3px); border-color: var(--copper); }

.media-zoom { overflow: hidden; border-radius: 4px; border: 1px solid var(--line); background: var(--bg); }
.media-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card--hover:hover .media-zoom img,
.media-zoom:hover img { transform: scale(1.04); }

.badge {
  display: inline-flex; align-items: center;
  min-height: 28px; padding: 2px 10px;
  border-radius: 4px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--copper);
  color: var(--copper);
}
.badge--solid { background: var(--copper); color: var(--bg); }
.badge--line { border-color: var(--line); color: var(--text-2); font-weight: 500; }

/* ---------- Productos ---------- */
.products-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.products-head .mono { color: var(--text-2); }
@media (min-width: 640px) { .products-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
@media (min-width: 1024px) { .products-head { margin-bottom: 56px; } }

.product-main { display: grid; gap: 28px; margin-bottom: 24px; }
.product-main .media-zoom { aspect-ratio: 4 / 3; }
.product-main .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.product-main .title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.1;
  margin-bottom: 14px;
}
.product-main .desc { color: var(--text); max-width: 40rem; margin-bottom: 24px; }
.spec { border-top: 1px solid var(--line); margin-bottom: 28px; }
.spec div {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  padding-block: 12px; border-bottom: 1px solid var(--line);
}
.spec dt { color: var(--text-2); }
.spec dd { font-weight: 600; color: var(--text); }
.product-main .btn { width: 100%; }
@media (min-width: 640px) { .product-main .btn { width: auto; } }
@media (min-width: 1024px) {
  .product-main { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
  .product-main .media-zoom { order: 2; aspect-ratio: 4 / 3.4; }
}

.product-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.product-card { display: flex; flex-direction: column; }
@media (min-width: 640px) and (max-width: 1023.98px) { .product-grid .product-card { padding: 24px; } }
.product-card .media-zoom { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.product-card .badge { align-self: flex-start; margin-bottom: 14px; }
.product-card .h3 { margin-bottom: 10px; }
.product-card .card-text { margin-bottom: 24px; flex: 1; }
.product-card .btn { width: 100%; }

/* ---------- Volúmenes ---------- */
.vol-panel { display: grid; gap: 28px; }
@media (min-width: 1024px) { .vol-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; } }

.vol-controls .group-label { display: block; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  min-height: 48px; min-width: 76px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--text);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { border-color: var(--copper); background: var(--tint); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { border-color: var(--copper); color: var(--copper); box-shadow: inset 0 0 0 1px var(--copper); }

.stepper { display: flex; align-items: stretch; gap: 8px; max-width: 320px; }
.stepper button {
  flex: none; width: 52px; min-height: 52px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 22px; font-weight: 500; line-height: 1;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.stepper button:hover:not(:disabled) { border-color: var(--copper); background: var(--tint); }
.stepper button:disabled { color: var(--text-2); cursor: not-allowed; }
.stepper .field { position: relative; flex: 1; min-width: 0; }
.stepper input {
  width: 100%; min-height: 52px;
  padding: 0 44px 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-deep); color: var(--text);
  font-size: 18px; font-weight: 600; text-align: center;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: 1px; }
.stepper input[aria-invalid="true"] { border-color: #E58A6B; }
.stepper .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.vol-hint { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.vol-error { margin-top: 10px; font-size: 15px; font-weight: 500; color: #F0A58A; }
.vol-error:empty { display: none; }

.vol-result { background: #251710; }
.vol-summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.vol-figure { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; line-height: 1.2; }
.vol-figure .kg { color: var(--copper); font-variant-numeric: tabular-nums; }
.vol-special { min-height: 28px; }
.vol-special .badge { animation: fadeIn .4s var(--ease) both; }
.vol-special .note { font-size: 14px; color: var(--text-2); }

.sacks { display: flex; flex-wrap: wrap; gap: 8px; min-height: 64px; margin-bottom: 24px; }
.sack { width: 34px; height: 42px; flex: none; }
.sack svg { width: 100%; height: 100%; overflow: visible; }
.sack .body { fill: #2E1C13; stroke: var(--copper); stroke-width: 1.6; stroke-linejoin: round; }
.sack .tie { fill: none; stroke: var(--copper); stroke-width: 1.6; stroke-linecap: round; }
.sack text { fill: var(--text); font-family: var(--font-mono); font-size: 10px; font-weight: 600; text-anchor: middle; }
.sack.is-new { animation: sackIn .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 18ms); }
.sacks-more {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 42px; padding: 0 10px;
  border: 1px dashed var(--copper); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--copper);
}
.vol-result .btn { width: 100%; }
@media (min-width: 640px) { .vol-result .btn { width: auto; } }

/* ---------- A quién atendemos ---------- */
.audience-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; } }
.audience-list { border-top: 1px solid var(--line); }
.audience-row {
  display: grid; gap: 8px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color .25s var(--ease);
}
.audience-row:hover { background: var(--tint); }
.audience-row .num { font-family: var(--font-mono); font-size: 13px; color: var(--copper); }
.audience-row .h3 { transition: color .25s var(--ease); }
.audience-row:hover .h3 { color: var(--copper); }
.audience-row p { color: var(--text-2); }
@media (min-width: 768px) {
  .audience-row { grid-template-columns: 48px minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: baseline; padding-block: 32px; }
}
.audience-media { aspect-ratio: 3 / 4; max-height: 420px; }
@media (max-width: 1023.98px) { .audience-media { aspect-ratio: 16 / 10; max-height: 360px; } }

/* ---------- Cómo trabajamos ---------- */
.steps { display: grid; gap: 20px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { background: var(--surface); }
@media (min-width: 1024px) { .step { padding: 28px; } }
.step .mono { display: block; margin-bottom: 16px; }
.step .h3 { font-size: 1.3125rem; margin-bottom: 10px; }

/* ---------- Exportación ---------- */
.export-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .export-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; } }
.export-grid .h2 { margin-bottom: 20px; }
.export-grid .lead { margin-bottom: 32px; max-width: 38rem; }
.export-grid .btn { width: 100%; }
@media (min-width: 640px) { .export-grid .btn { width: auto; } }
.export-media { aspect-ratio: 3 / 2; margin-bottom: 20px; }
.fact .mono { display: block; margin-bottom: 10px; }
.fact p { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.4; color: var(--text); margin-bottom: 14px; }
.fact .source { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin-inline: auto; }
.faq-wrap .section-head { text-align: center; margin-inline: auto; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; font: inherit; }
.faq-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 64px; padding: 16px 4px;
  text-align: left;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; line-height: 1.35;
  color: var(--text);
  transition: color .2s var(--ease);
}
.faq-btn:hover { color: var(--copper); }
.faq-icon {
  position: relative; flex: none; width: 28px; height: 28px;
  border: 1px solid var(--line); border-radius: 50%;
  transition: transform .35s var(--ease), border-color .2s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--copper);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-btn:hover .faq-icon { border-color: var(--copper); }
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); border-color: var(--copper); }
.faq-panel {
  display: grid; grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s;
}
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 4px 22px; color: var(--text-2); max-width: 44rem; }
.faq-panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease), visibility 0s; }
html:not(.js) .faq-panel { grid-template-rows: 1fr; visibility: visible; }
html:not(.js) .faq-icon { display: none; }
@media (min-width: 640px) { .faq-btn { font-size: 1.375rem; } }

/* ---------- Banda final ---------- */
.band { background: var(--surface); padding-block: 64px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .band { padding-block: 80px; } }
.band-inner { display: grid; gap: 28px; align-items: center; }
.band .h2 { margin-bottom: 12px; }
.band p { color: var(--text); }
.band .btn { width: 100%; }
@media (min-width: 768px) {
  .band-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
  .band .btn { width: auto; }
}

/* ---------- Imagen ancha ---------- */
.wide-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-height: 520px; width: 100%; }
.wide-media img { width: 100%; height: 100%; object-fit: cover; }
.wide-media::after { content: ""; position: absolute; inset: 0; background: rgba(30, 18, 12, 0.45); }
@media (min-width: 768px) { .wide-media { aspect-ratio: 21 / 9; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: 56px 32px; }
@media (min-width: 1024px) { .site-footer { padding-block: 80px 40px; } }
.footer-grid { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 48px; } }
.footer-brand { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 12px; }
.footer-desc { color: var(--text-2); max-width: 26rem; }
.footer-title { display: block; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 12px; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact .row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.footer-contact .k { font-family: var(--font-mono); font-size: 13px; color: var(--copper); text-transform: uppercase; letter-spacing: .06em; }
.footer-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 17px; font-weight: 600; color: var(--text);
  background-image: linear-gradient(var(--copper), var(--copper));
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 calc(100% - 8px);
  transition: background-size .3s var(--ease), color .2s var(--ease);
}
.footer-link:hover { color: var(--copper); background-size: 100% 2px; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 24px; font-size: 14px; color: var(--text-2);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- WhatsApp flotante y barra móvil ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: none;
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
}
.wa-float .wa-icon { width: 22px; height: 22px; }
@media (min-width: 640px) { .wa-float { display: inline-flex; } }
.wa-float.pulse { animation: pulse 1.6s var(--ease) 1.2s 2; }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(22, 13, 8, 0.97);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { width: 100%; }
@media (min-width: 640px) { .mobile-bar { display: none; } }

/* ---------- Animaciones ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes imgIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes sackIn {
  0% { opacity: 0; transform: translateY(8px) scale(.7); }
  70% { opacity: 1; transform: translateY(-2px) scale(1.06); }
  100% { opacity: 1; transform: none; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 138, 61, .55), 0 10px 30px -10px rgba(0, 0, 0, .8); }
  100% { box-shadow: 0 0 0 18px rgba(201, 138, 61, 0), 0 10px 30px -10px rgba(0, 0, 0, .8); }
}

/* Hero: secuencia al cargar */
.hero-seq > * { animation: fadeUp .6s var(--ease) both; }
.hero-seq > *:nth-child(1) { animation-delay: 0ms; }
.hero-seq > *:nth-child(2) { animation-delay: 60ms; }
.hero-seq > *:nth-child(3) { animation-delay: 120ms; }
.hero-seq > *:nth-child(4) { animation-delay: 180ms; }
.hero-seq > *:nth-child(5) { animation-delay: 240ms; }
.hero-frame img { animation: imgIn .9s var(--ease) both; }

/* Revelado al hacer scroll: solo si JS está activo */
.js [data-reveal] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-visible > *,
.js.reveal-all [data-reveal] > * { opacity: 1; transform: none; }

/* Fundido del cambio de idioma */
.i18n-fade { transition: opacity .2s ease; }
html.lang-fading .i18n-fade { opacity: 0; }

/* Movimiento reducido: todo desactivado */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal] > * { opacity: 1; transform: none; }
  html.lang-fading .i18n-fade { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active, .card--hover:hover, .chip:active { transform: none; }
  .card--hover:hover .media-zoom img, .media-zoom:hover img, .btn:hover .wa-icon { transform: none; }
}

/* Header desde 1280 px: compacto para que quepan nav, idiomas y botón */
@media (min-width: 1280px) {
  .site-header .container { max-width: 1400px; }
  .header-inner { gap: 12px; }
  .brand { font-size: 1.0625rem; gap: 8px; }
  .brand-logo { height: 54px; }
  .main-nav ul { gap: 16px; }
  .header-actions { gap: 6px; }
  .lang-btn { min-width: 40px; padding: 0 4px; }
  .lang-btn[aria-pressed="true"]::after { left: 10px; right: 10px; }
  .btn--nav { padding: 8px 16px; }
}

/* Barra superior: en tablet puede ocupar dos líneas; en escritorio, una sola */
@media (max-width: 1023.98px) {
  .topbar .container { white-space: normal; text-align: center; padding-block: 6px; line-height: 1.5; }
}

/* Enlace de WhatsApp del footer (sin mostrar el número) */
.footer-link .wa-icon { width: 20px; height: 20px; flex: none; fill: currentColor; margin-right: 10px; }

/* Banderas del selector de idioma (SVG incrustado, mismas que en el boceto) */
.lang-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; }
.lang-flag {
  display: inline-block; flex: none;
  width: 20px; height: 14px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(243, 235, 221, 0.25);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: .8; transition: opacity .2s var(--ease);
}
.lang-btn:hover .lang-flag, .lang-btn[aria-pressed="true"] .lang-flag { opacity: 1; }
.lang-btn[aria-pressed="true"]::after { left: 8px; right: 8px; }
.flag-pe {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='3' height='2' fill='%23fff'/%3E%3Crect width='1' height='2' fill='%23D91023'/%3E%3Crect x='2' width='1' height='2' fill='%23D91023'/%3E%3C/svg%3E");
}
.flag-us {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 10'%3E%3Crect width='19' height='10' fill='%23fff'/%3E%3Cg fill='%23B22234'%3E%3Crect width='19' height='0.77' y='0'/%3E%3Crect width='19' height='0.77' y='1.54'/%3E%3Crect width='19' height='0.77' y='3.08'/%3E%3Crect width='19' height='0.77' y='4.62'/%3E%3Crect width='19' height='0.77' y='6.15'/%3E%3Crect width='19' height='0.77' y='7.69'/%3E%3Crect width='19' height='0.77' y='9.23'/%3E%3C/g%3E%3Crect width='7.6' height='5.38' fill='%233C3B6E'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='1.3' cy='1' r='0.35'/%3E%3Ccircle cx='3.3' cy='1' r='0.35'/%3E%3Ccircle cx='5.3' cy='1' r='0.35'/%3E%3Ccircle cx='1.3' cy='2.7' r='0.35'/%3E%3Ccircle cx='3.3' cy='2.7' r='0.35'/%3E%3Ccircle cx='5.3' cy='2.7' r='0.35'/%3E%3Ccircle cx='1.3' cy='4.4' r='0.35'/%3E%3Ccircle cx='3.3' cy='4.4' r='0.35'/%3E%3Ccircle cx='5.3' cy='4.4' r='0.35'/%3E%3C/g%3E%3C/svg%3E");
}
.flag-de {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Crect width='5' height='3' fill='%23000'/%3E%3Crect y='1' width='5' height='1' fill='%23D00'/%3E%3Crect y='2' width='5' height='1' fill='%23FFCE00'/%3E%3C/svg%3E");
}
