:root {
  --bg: #11130f;
  --bg-2: #171a14;
  --paper: #f4efe4;
  --paper-soft: #e8dfcf;
  --text: #f4efe4;
  --muted: rgba(244, 239, 228, 0.72);
  --muted-dark: rgba(31, 32, 27, 0.68);
  --gold: #d8c48a;
  --gold-soft: #cbb37a;
  --olive: #606f42;
  --burgundy: #7c2b33;
  --line: rgba(216, 196, 138, 0.28);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --roman: "Cinzel", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(216,196,138,.11), transparent 28rem),
    linear-gradient(180deg, #10120e 0%, #161912 45%, #f4efe4 45%, #f4efe4 100%);
  text-rendering: optimizeLegibility;
}
body::selection { background: var(--gold); color: #11130f; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--gold); color: #14150f; padding: .75rem 1rem; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  min-height: 76px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 10px clamp(18px, 4vw, 54px);
  color: var(--paper);
  transition: background .35s ease, backdrop-filter .35s ease, border .35s ease;
}
.site-header.scrolled {
  background: rgba(15, 17, 13, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244,239,228,.08);
}
.brand { display: inline-flex; flex-direction: column; line-height: .95; min-width: 130px; }
.brand-main { font-family: var(--roman); letter-spacing: .12em; color: var(--paper); font-size: 1.08rem; }
.brand-sub { font-family: var(--serif); font-style: italic; letter-spacing: .02em; font-size: 1.02rem; opacity: .88; }
.main-nav { justify-self: center; display: flex; gap: clamp(.8rem, 2vw, 2rem); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,239,228,.72); }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--gold); }
.lang-switch {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem;
  border: 1px solid rgba(244,239,228,.16); border-radius: 999px; padding: .28rem; background: rgba(0,0,0,.18);
  max-width: 430px;
}
.lang-switch button {
  appearance: none; border: 0; background: transparent; color: rgba(244,239,228,.65); cursor: pointer;
  padding: .42rem .56rem; border-radius: 999px; font-weight: 600; font-size: .72rem; letter-spacing: .02em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .34rem;
}
.lang-switch button.active { background: rgba(216,196,138,.18); color: var(--gold); }

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: start;
  padding: 96px 0 60px;
}
.hero-media { position: absolute; inset: 0; z-index: -3; opacity: 0; animation: heroImageIn 1.1s ease forwards; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  filter: saturate(.95) contrast(1.04);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 52% 44%, transparent 0, rgba(0,0,0,.04) 22%, rgba(0,0,0,.48) 68%, rgba(0,0,0,.72) 100%),
    linear-gradient(90deg, rgba(0,0,0,.70), rgba(0,0,0,.36) 38%, rgba(0,0,0,.12) 58%, rgba(0,0,0,.38));
}
.hero-content {
  width: min(920px, calc(100% - 36px));
  margin-inline: auto;
  padding-top: min(56vh, 520px);
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  animation: heroTextIn .7s ease .55s forwards;
}
.section-kicker {
  color: var(--gold);
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 1.2rem;
}
.hero-title {
  margin: 0;
  font-family: var(--roman);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: .20em;
  color: var(--gold);
  text-shadow: 0 6px 32px rgba(0,0,0,.55);
  text-transform: uppercase;
}
.hero-rule {
  width: min(140px, 32vw);
  height: 1px;
  margin: 1rem auto .95rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform-origin: center;
  transform: scaleX(0);
  animation: drawRule .8s ease 2s forwards;
}
.hero-subtitle {
  margin: 0;
  font-family: var(--roman);
  letter-spacing: .16em;
  font-size: clamp(.78rem, 1.6vw, 1.06rem);
  color: rgba(244,239,228,.82);
  text-transform: uppercase;
}
.hero-subtitle.is-empty, .hero-rule.is-hidden { display: none; }
.hero-actions, .buy-actions {
  display: flex; flex-wrap: wrap; gap: .85rem;
  margin-top: 2rem;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(216,196,138,.45);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, border .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #15160f; border-color: var(--gold); }
.btn-ghost { color: var(--paper); background: rgba(0,0,0,.18); }
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(244,239,228,.2);
  color: rgba(244,239,228,.75);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes heroImageIn { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes heroTextIn { to { opacity: 1; transform: translateY(0); } }
@keyframes drawRule { to { transform: scaleX(1); } }
@keyframes cue { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

.intro-section {
  background: var(--bg);
  padding: clamp(74px, 10vw, 130px) 0;
  border-top: 1px solid rgba(244,239,228,.07);
}
.intro-grid {
  display: grid;
  grid-template-columns: .8fr 1.15fr 1.05fr;
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: start;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.4vw, 4.75rem);
  line-height: .98;
  font-weight: 500;
  margin: 0;
  letter-spacing: -.025em;
}
p { font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.72; }
.intro-copy p, .section-copy p { margin-top: 0; color: var(--muted); }

.stats-strip { background: #f4efe4; color: #1c1d18; padding: 22px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(28,29,24,.12); border: 1px solid rgba(28,29,24,.12); }
.stats-grid article { background: #f4efe4; padding: clamp(1rem, 2.2vw, 1.6rem); display: flex; flex-direction: column; gap: .45rem; }
.stats-grid strong { font-family: var(--roman); color: var(--burgundy); font-size: clamp(1.35rem, 2.4vw, 2.2rem); letter-spacing: .05em; }
.stats-grid span { color: var(--muted-dark); font-size: .9rem; line-height: 1.5; }

.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-dark { background: var(--bg-2); }
.section:not(.section-dark):not(.origin-section):not(.science-section):not(.buy-section) { background: var(--paper); color: #1e2019; }
.section:not(.section-dark):not(.origin-section):not(.science-section):not(.buy-section) .section-copy p { color: rgba(31,32,27,.72); }
.section:not(.section-dark):not(.origin-section):not(.science-section):not(.buy-section) .section-kicker { color: var(--burgundy); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.section-copy { max-width: 610px; }
.section-copy h2 { margin-bottom: 1.45rem; }
.image-card { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: rgba(0,0,0,.12); }
.image-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.image-card-tall img { aspect-ratio: 4 / 3; }
.ritual-steps { display: grid; gap: 1rem; margin-top: 2rem; }
.ritual-steps article {
  border: 1px solid rgba(216,196,138,.17);
  border-radius: 22px;
  padding: 1.15rem 1.2rem;
  background: rgba(244,239,228,.035);
}
.ritual-steps span { color: var(--gold); font-family: var(--roman); font-size: .82rem; letter-spacing: .14em; }
.ritual-steps h3 { margin: .35rem 0 .3rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.ritual-steps p { margin: 0; font-size: .98rem; line-height: 1.55; }
.quote-box {
  margin-top: 2rem;
  padding: 1.35rem 1.45rem;
  border-left: 1px solid var(--burgundy);
  background: rgba(124,43,51,.06);
}
.quote-box p { margin: 0; font-family: var(--serif); font-size: 1.55rem; color: #2b2b22 !important; line-height: 1.25; }

.origin-section {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: clamp(60px, 9vw, 120px);
}
.origin-bg { position: absolute; inset: 0; z-index: -2; }
.origin-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.origin-section::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.72)), linear-gradient(90deg, rgba(0,0,0,.72), transparent 65%);
}
.origin-content { max-width: 790px; margin-left: max(18px, calc((100% - 1160px)/2)); }
.origin-content h2 { max-width: 760px; }
.origin-content p:not(.section-kicker) { max-width: 650px; color: rgba(244,239,228,.79); }

.science-section { background: #151711; color: var(--paper); border-top: 1px solid rgba(216,196,138,.11); border-bottom: 1px solid rgba(216,196,138,.11); }
.section-heading.centered { max-width: 760px; margin: 0 auto 2.2rem; text-align: center; }
.section-heading.centered p:not(.section-kicker) { color: var(--muted); }
.science-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.science-grid article {
  background: rgba(244,239,228,.045);
  border: 1px solid rgba(216,196,138,.17);
  border-radius: 26px;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: end;
}
.metric { display: block; font-family: var(--roman); color: var(--gold); font-size: clamp(2.1rem, 4vw, 4rem); letter-spacing: .02em; line-height: .95; }
.science-grid small { color: rgba(244,239,228,.56); margin-top: .35rem; }
.science-grid h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: .85rem 0 0; }
.science-note { color: rgba(244,239,228,.55); font-size: .86rem; max-width: 740px; margin: 1.3rem auto 0; text-align: center; }


.buy-section { background: var(--paper); color: #1e2019; }
.buy-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(20, 20, 15, .16);
  background: #fffaf0;
  border: 1px solid rgba(31,32,27,.08);
}
.buy-image img { width: 100%; height: 100%; object-fit: cover; }
.buy-copy { padding: clamp(1.6rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.buy-copy .section-kicker { color: var(--burgundy); }
.buy-copy p:not(.section-kicker) { color: rgba(31,32,27,.72); }
.buy-copy .btn-ghost { color: #1e2019; background: transparent; border-color: rgba(31,32,27,.22); }

.site-footer { background: #10120e; color: rgba(244,239,228,.66); padding: 34px 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.footer-grid strong { color: var(--paper); font-family: var(--roman); letter-spacing: .1em; }
.footer-grid p { margin: .35rem 0 0; font-size: .92rem; line-height: 1.55; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* v5 adjustments */
#ritual, #origen, #cata, #comprar, #contacto { scroll-margin-top: 82px; }
.section-compact {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
}
.section-compact .two-col { gap: clamp(1.5rem, 3.6vw, 4rem); }
.section-compact h2 { font-size: clamp(2rem, 3.6vw, 4rem); }
.section-compact .section-copy h2 { margin-bottom: 1rem; }
.section-compact .section-copy > p:not(.section-kicker) { margin-bottom: 1rem; }
.section-compact .ritual-steps { gap: .7rem; margin-top: 1.15rem; }
.section-compact .ritual-steps article { padding: .78rem 1rem; }
.section-compact .ritual-steps h3 { font-size: 1.32rem; }
.section-compact .ritual-steps p { font-size: .91rem; line-height: 1.42; }
.section-compact .image-card img { aspect-ratio: 16 / 11; }
.origin-section { min-height: calc(100svh - 76px); }
.buy-section {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(42px, 6vw, 86px) 0;
}
.section-home {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.25rem;
  align-items: center;
  justify-content: center;
  padding: .58rem .82rem;
  border: 1px solid rgba(124,43,51,.22);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: rgba(124,43,51,.04);
}
.section-home-dark { color: var(--gold); border-color: rgba(216,196,138,.32); background: rgba(216,196,138,.08); }
.section-home-centered { margin-left: auto; margin-right: auto; }
.contact-section { background: #11130f; color: var(--paper); border-top: 1px solid rgba(216,196,138,.11); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.contact-form { display: grid; gap: 1rem; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 28px; background: rgba(244,239,228,.045); border: 1px solid rgba(216,196,138,.17); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: .45rem; color: rgba(244,239,228,.72); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(216,196,138,.20); border-radius: 16px; background: rgba(0,0,0,.20); color: var(--paper); padding: .95rem 1rem; font: inherit; letter-spacing: 0; text-transform: none; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,196,138,.12); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { width: fit-content; cursor: pointer; }
.hidden { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .section-compact { min-height: auto; }
  .site-header { min-height: 70px; grid-template-columns: 1fr; justify-content: stretch; }
  .brand { min-width: unset; }
  .lang-switch { justify-content: flex-start; max-width: none; }
  .hero-content { margin-left: auto; margin-right: auto; width: calc(100% - 36px); padding-top: 58vh; }
  .hero-media img { object-position: center; }
  .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.42) 36%, rgba(0,0,0,.74)); }
  .intro-grid, .two-col, .two-col-reverse, .buy-card, .footer-grid { grid-template-columns: 1fr; }
  .two-col-reverse .image-card { order: -1; }
  .stats-grid, .science-grid { grid-template-columns: repeat(2, 1fr); }
  .origin-section { min-height: 600px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 118px; }
  #ritual, #origen, #cata, #comprar, #contacto { scroll-margin-top: 118px; }
  .contact-form .btn { width: 100%; }
  .container { width: min(100% - 28px, 1160px); }
  .brand-main { font-size: .95rem; }
  .brand-sub { font-size: .92rem; }
  .hero { min-height: 100svh; align-items: end; padding-bottom: 88px; }
  .hero-content { padding-top: 0; margin-bottom: 68px; }
  .hero-title { font-size: clamp(1.05rem, 7vw, 1.45rem); letter-spacing: .12em; }
  .hero-subtitle { font-size: .75rem; letter-spacing: .12em; }
  .hero-actions, .buy-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .stats-grid, .science-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .origin-content { margin-left: 14px; margin-right: 14px; }
  .buy-section { padding-bottom: 70px; }
  .buy-card { border-radius: 24px; }
  .lang-switch { overflow-x: auto; border-radius: 18px; }
}


/* v6 refinements */
#ritual, #origen, #casi-imposible, #cata, #comprar, #contacto, #ciencia {
  scroll-margin-top: 0;
}
.section-compact {
  padding-top: clamp(24px, 3.2vw, 44px);
  padding-bottom: clamp(34px, 4.2vw, 62px);
  min-height: calc(100svh - 76px);
}
.ritual-visual {
  display: grid;
  gap: 1rem;
  align-content: center;
}
.ritual-visual .section-home {
  justify-self: start;
  margin-top: 0;
}
.origin-section,
.harvest-section {
  position: relative;
}
.section-next {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244,239,228,.26);
  color: rgba(244,239,228,.78);
  background: rgba(0,0,0,.14);
  backdrop-filter: blur(8px);
  animation: cue 1.8s ease-in-out infinite;
  z-index: 3;
}
.section-next-dark {
  border-color: rgba(124,43,51,.22);
  color: var(--burgundy);
  background: rgba(124,43,51,.06);
}
.harvest-section {
  padding-bottom: clamp(88px, 9vw, 128px) !important;
}
.buy-section {
  align-items: start;
  padding-top: clamp(32px, 4vw, 56px) !important;
  padding-bottom: clamp(56px, 6vw, 90px) !important;
}
.contact-section {
  background: var(--paper) !important;
  color: #1e2019 !important;
}
.contact-section .section-copy p:not(.section-kicker) {
  color: rgba(31,32,27,.72) !important;
}
.contact-section .section-kicker {
  color: var(--burgundy) !important;
}
.contact-section .section-home {
  color: var(--burgundy) !important;
  border-color: rgba(124,43,51,.22) !important;
  background: rgba(124,43,51,.04) !important;
}
.contact-form {
  background: #fffaf0 !important;
  border: 1px solid rgba(31,32,27,.08) !important;
  box-shadow: 0 24px 80px rgba(20, 20, 15, .14) !important;
}
.contact-form label {
  color: var(--burgundy) !important;
  font-size: .76rem !important;
  letter-spacing: .12em !important;
}
.contact-form label span {
  display: block !important;
  margin-bottom: .15rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #f4efe4 !important;
  border-color: rgba(31,32,27,.18) !important;
  color: #1e2019 !important;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(31,32,27,.38) !important;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--burgundy) !important;
  box-shadow: 0 0 0 3px rgba(124,43,51,.11) !important;
}
.contact-form .btn-primary {
  background: var(--gold) !important;
  color: #15160f !important;
}
@media (max-width: 900px) {
  .ritual-visual .section-home { justify-self: center; }
  .section-next { bottom: 18px; }
  .buy-section { padding-top: 30px !important; }
}


.contact-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(180, 72, 72, .72);
  box-shadow: 0 0 0 3px rgba(180, 72, 72, .10);
}


.field-help {
  display: block;
  margin-top: -.25rem;
  color: rgba(124,43,51,.78);
  font-size: .76rem;
  line-height: 1.35;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 500;
}

.contact-form input.strict-invalid,
.contact-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(180, 72, 72, .82);
  box-shadow: 0 0 0 3px rgba(180, 72, 72, .12);
}


/* Ajustes premium para japonés, chino tradicional y coreano */
html[lang="ja"] {
  --serif: "Noto Serif JP", "Cormorant Garamond", Georgia, serif;
  --sans: "Noto Sans JP", "Inter", system-ui, sans-serif;
}

html[lang="zh-Hant"] {
  --serif: "Noto Serif TC", "Cormorant Garamond", Georgia, serif;
  --sans: "Noto Sans TC", "Inter", system-ui, sans-serif;
}

html[lang="ko"] {
  --serif: "Noto Serif KR", "Cormorant Garamond", Georgia, serif;
  --sans: "Noto Sans KR", "Inter", system-ui, sans-serif;
}

html[lang="ja"] h2,
html[lang="zh-Hant"] h2,
html[lang="ko"] h2 {
  font-size: clamp(2rem, 3.25vw, 3.45rem);
  line-height: 1.18;
  letter-spacing: .01em;
  font-weight: 500;
}

html[lang="ja"] .buy-copy h2,
html[lang="zh-Hant"] .buy-copy h2,
html[lang="ko"] .buy-copy h2 {
  font-size: clamp(2.05rem, 3.1vw, 3.25rem);
  line-height: 1.22;
  letter-spacing: .015em;
  word-break: keep-all;
}

html[lang="ko"] .buy-copy h2 {
  font-size: clamp(1.95rem, 2.9vw, 3rem);
  line-height: 1.24;
}

html[lang="ja"] .section-copy h2,
html[lang="zh-Hant"] .section-copy h2,
html[lang="ko"] .section-copy h2 {
  margin-bottom: 1.15rem;
}

html[lang="ja"] .main-nav,
html[lang="zh-Hant"] .main-nav,
html[lang="ko"] .main-nav {
  letter-spacing: .08em;
  gap: clamp(.75rem, 1.5vw, 1.5rem);
}

html[lang="ja"] p,
html[lang="zh-Hant"] p,
html[lang="ko"] p {
  line-height: 1.85;
}

html[lang="ja"] .btn,
html[lang="zh-Hant"] .btn,
html[lang="ko"] .btn {
  letter-spacing: .08em;
}

@media (max-width: 900px) {
  html[lang="ja"] .buy-copy h2,
  html[lang="zh-Hant"] .buy-copy h2,
  html[lang="ko"] .buy-copy h2 {
    font-size: clamp(1.85rem, 8vw, 2.75rem);
  }
}

@media (max-width: 560px) {
  html[lang="ja"] h2,
  html[lang="zh-Hant"] h2,
  html[lang="ko"] h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .lang-switch button {
    font-size: .68rem;
    padding: .38rem .48rem;
  }
}


.flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(255,255,255,.28);
  flex: 0 0 auto;
}

.lang-switch button span {
  display: inline-block;
}


@media (max-width: 560px) {
  .flag-icon {
    width: 16px;
    height: 11px;
  }
}


/* v14: corrección de cabecera e idioma japonés */
@media (min-width: 901px) {
  .site-header {
    grid-template-columns: minmax(130px, .8fr) minmax(460px, 1.4fr) auto;
    gap: .75rem;
  }

  .lang-switch {
    flex-wrap: nowrap;
    max-width: none;
    width: max-content;
    justify-self: end;
  }

  .lang-switch button {
    padding-left: .46rem;
    padding-right: .46rem;
    gap: .26rem;
  }

  .flag-icon {
    width: 16px;
    height: 11px;
  }
}

/* Evita que los titulares largos de idiomas asiáticos estrechen la imagen de la caja */
.buy-card {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
}

.buy-image,
.buy-copy {
  min-width: 0;
}

html[lang="ja"] .buy-copy h2 {
  font-size: clamp(1.75rem, 2.35vw, 2.7rem);
  line-height: 1.24;
  letter-spacing: .01em;
  word-break: normal;
  overflow-wrap: normal;
}

html[lang="ja"] .buy-card {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

html[lang="ja"] .buy-copy {
  padding-left: clamp(1.4rem, 3vw, 2.8rem);
  padding-right: clamp(1.4rem, 3vw, 2.8rem);
}


/* v15: footer, socials and legal */
.footer-actions { display: grid; gap: 1rem; justify-items: end; }
.social-links { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }
.social-links a {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  color: var(--paper); border: 1px solid rgba(216,196,138,.28); background: rgba(216,196,138,.06);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.social-links a:hover { transform: translateY(-2px); background: rgba(216,196,138,.16); color: var(--gold); }
.social-links svg { width: 19px; height: 19px; fill: currentColor; }
.legal-links { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-links a, .link-button { color: rgba(244,239,228,.72); }
.legal-links a:hover, .link-button:hover { color: var(--gold); }
.link-button { appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer; font: inherit; text-transform: inherit; letter-spacing: inherit; }

/* v15: privacy checkbox */
.privacy-check {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: .75rem !important;
  align-items: start;
  color: rgba(244,239,228,.78) !important;
  text-transform: none !important;
  letter-spacing: .01em !important;
  font-weight: 500 !important;
  line-height: 1.45;
}
.privacy-check input { width: 18px !important; height: 18px; margin-top: .1rem; accent-color: var(--gold); }
.privacy-check a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.privacy-layer {
  margin: -.35rem 0 .25rem;
  color: rgba(244,239,228,.58);
  font-size: .74rem;
  line-height: 1.55;
}

/* v15: cookie banner */
.cookie-banner {
  position: fixed;
  left: clamp(14px, 3vw, 36px);
  right: clamp(14px, 3vw, 36px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem;
  border-radius: 24px;
  background: rgba(16,18,14,.94);
  color: var(--paper);
  border: 1px solid rgba(216,196,138,.25);
  box-shadow: 0 18px 80px rgba(0,0,0,.45);
  backdrop-filter: blur(16px);
}
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-copy strong { font-family: var(--roman); letter-spacing: .08em; color: var(--gold); }
.cookie-copy p { margin: .35rem 0 0; color: rgba(244,239,228,.72); font-size: .92rem; }
.cookie-actions { display: flex; gap: .55rem; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .btn, .cookie-panel-actions .btn { padding: .72rem 1rem; min-width: auto; }

.cookie-modal {
  position: fixed; inset: 0; z-index: 1001; background: rgba(0,0,0,.58);
  display: grid; place-items: center; padding: 18px;
}
.cookie-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  overflow: auto;
  border-radius: 30px;
  background: var(--paper);
  color: #1e2019;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.cookie-panel h2 { margin: 0 0 .6rem; color: #1e2019; }
.cookie-panel p { color: rgba(31,32,27,.72); }
.cookie-close {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(31,32,27,.16); background: transparent; cursor: pointer; font-size: 1.4rem;
}
.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(31,32,27,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.36);
}
.cookie-option strong { color: var(--burgundy); font-family: var(--roman); letter-spacing: .04em; }
.cookie-option p { margin: .25rem 0 0; font-size: .9rem; }
.cookie-option input { width: 22px; height: 22px; accent-color: var(--burgundy); }
.cookie-panel-actions { display: flex; gap: .75rem; justify-content: flex-end; flex-wrap: wrap; margin-top: 1.2rem; }

/* legal page */
.legal-main { background: var(--paper); color: #1e2019; min-height: 100svh; padding: 126px 0 70px; }
.legal-document { max-width: 920px; }
.legal-document h1, .legal-document h2 { color: #1e2019; }
.legal-document h1 { font-size: clamp(2.4rem, 5vw, 4.7rem); margin: 0 0 1rem; }
.legal-document h2 { margin-top: 2.4rem; }
.legal-document p, .legal-document li { color: rgba(31,32,27,.78); line-height: 1.75; }
.legal-document table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; }
.legal-document th, .legal-document td { border: 1px solid rgba(31,32,27,.12); padding: .75rem; text-align: left; vertical-align: top; }
.legal-document th { background: rgba(124,43,51,.08); color: var(--burgundy); }

@media (max-width: 900px) {
  .cookie-banner { grid-template-columns: 1fr; }
  .footer-actions, .social-links, .legal-links { justify-items: start; justify-content: flex-start; }
}

@media (max-width: 700px) {
  .hero-media img { object-position: 50% center; }
  .hero-content { margin-bottom: 42px; }
}


/* v20: typewriter */
.typewriter.typing::after {
  content: "";
  display: inline-block;
  width: .08em;
  height: .88em;
  margin-left: .08em;
  background: currentColor;
  animation: cursorBlink .8s steps(1) infinite;
  vertical-align: -.08em;
}
@keyframes cursorBlink { 50% { opacity: 0; } }

/* v20: campos obligatorios */
.required-mark {
  color: #d64a3a;
  font-weight: 800;
  margin-left: .18rem;
}
.form-required-note {
  margin: 0 0 .25rem;
  color: #d64a3a;
  font-size: .8rem;
  line-height: 1.45;
  font-weight: 700;
}

/* v20: logo MONVA a la izquierda */
.footer-brand-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  max-width: 650px;
}
.footer-brand-copy {
  display: grid;
  gap: .25rem;
}
.footer-monva-logo {
  width: 92px;
  height: auto;
  display: block;
  background: rgba(244,239,228,.96);
  border-radius: 12px;
  padding: .42rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

/* v20: cookie banner emergente persistente */
.cookie-banner-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(0,0,0,.46);
  backdrop-filter: blur(7px);
}
.cookie-banner-overlay[hidden],
.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none !important;
}
.cookie-popup.cookie-banner {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: min(760px, 100%);
  grid-template-columns: 1fr;
  text-align: left;
  padding: clamp(1.2rem, 3vw, 1.65rem);
  border-radius: 28px;
}
.cookie-popup .cookie-actions {
  justify-content: flex-start;
}

@media (max-width: 620px) {
  .cookie-popup .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .footer-brand-block {
    grid-template-columns: 1fr;
  }
  .footer-monva-logo {
    width: 112px;
  }
}


/* v23 Cloudflare: hero con PNG originales, claim más pequeño y escritura visible */
.hero-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% center !important;
  filter: saturate(.98) contrast(1.02) !important;
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,.20) 42%, rgba(0,0,0,.58)),
    radial-gradient(circle at 50% 42%, rgba(0,0,0,.05), rgba(0,0,0,.54) 72%) !important;
}

.hero-content {
  padding-top: clamp(430px, 62vh, 630px) !important;
  padding-bottom: 0 !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
  animation: none !important;
}

.hero-content > * {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.hero-title {
  font-size: clamp(1.55rem, 2.45vw, 2.65rem) !important;
  line-height: 1.18 !important;
}

.hero-subtitle {
  font-size: clamp(.72rem, .95vw, .92rem) !important;
}

.hero-actions {
  margin-top: clamp(1.5rem, 2.8vh, 2rem) !important;
}

.typewriter.typing::after {
  content: "";
  display: inline-block;
  width: .08em;
  height: .88em;
  margin-left: .08em;
  background: currentColor;
  animation: cursorBlink .8s steps(1) infinite;
  vertical-align: -.08em;
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

@media (max-width: 700px) {
  .hero-media img {
    object-position: 50% center !important;
  }

  .hero-content {
    padding-top: clamp(470px, 60vh, 660px) !important;
  }

  .hero-title {
    font-size: clamp(1.45rem, 6vw, 2.15rem) !important;
  }
}
