/* ==========================================================================
   Don Lucio Café — estilos
   Arquetipo: Editorial claro (crema) · Firma: el altímetro de ascenso
   Tipografías de marca: Cinzel Decorative Bold · Constantine · Gisha
   ========================================================================== */

@font-face { font-family: "Cinzel Decorative"; src: url("assets/fonts/CinzelDecorative-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Constantine"; src: url("assets/fonts/Constantine.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gisha"; src: url("assets/fonts/gisha.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  /* Paleta oficial */
  --ink: #201E1E;
  --red: #9E3234;
  --green: #21864C;
  /* Derivados */
  --red-deep: #7F2527;
  --red-lt: #D86A66;
  --green-deep: #176B3B;
  --cream: #FFFFFF;
  --cream-2: #F2F2F2;
  --paper: #FAFAFA;
  --ink-soft: #3A3737;
  --mute: #6B6868;
  --line: rgba(32, 30, 30, .15);
  --line-light: rgba(255, 255, 255, .16);

  --f-display: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --f-serif: "Constantine", Georgia, "Times New Roman", serif;
  --f-body: "Gisha", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.04rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red); color: var(--cream); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.06; letter-spacing: -.005em; }
h2 em, h1 em { font-style: normal; color: var(--red); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.2; }
.muted { color: var(--mute); }
.kicker {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--f-serif);
  text-transform: uppercase; letter-spacing: .3em; font-size: .78rem;
  color: var(--red);
  margin-bottom: 1.2rem;
}
.kicker .num { font-family: var(--f-display); letter-spacing: .08em; padding-right: .8rem; border-right: 1px solid currentColor; }
.kicker .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(33, 134, 76, .16); animation: pulse 2.6s ease-in-out infinite; }
.kicker.light { color: var(--red-lt); }
.section { position: relative; padding-block: clamp(5rem, 11vw, 9rem); }
.sec-head { margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.sec-head.center { text-align: center; max-width: 46rem; margin-inline: auto; }
.sec-head.center .kicker { justify-content: center; }
.sec-head .muted { margin-top: 1.1rem; max-width: 36rem; }
.sec-head.center .muted { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: 1rem 1.7rem; border-radius: 999px;
  font-size: .96rem; letter-spacing: .02em; line-height: 1;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--cream); box-shadow: 0 10px 28px -12px rgba(32, 30, 30, .6); }
.btn-primary svg { color: #4FD58A; }
.btn-primary:hover { background: var(--red); box-shadow: 0 16px 34px -14px rgba(158, 50, 52, .7); }
.btn-ghost { border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-wa { width: 100%; background: var(--green); color: #fff; padding-block: 1.1rem; }
.btn-wa:hover { background: var(--green-deep); box-shadow: 0 16px 34px -14px rgba(33, 134, 76, .8); }
.btn-wa-light { background: var(--cream); color: var(--ink); font-size: 1.08rem; padding: 1.05rem 1.9rem; }
.btn-wa-light svg { color: var(--green); }
.btn-wa-light:hover { background: #fff; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 300; background: var(--cream);
  display: grid; place-items: center; text-align: center;
  animation: splashOut .95s var(--ease-io) 1.9s forwards;
}
html.no-splash .splash { display: none; }
.splash-inner img { width: min(64vw, 340px); height: auto; margin-inline: auto; animation: splashLogo 1.2s var(--ease) .1s both; }
.splash-line { display: block; height: 1px; width: 0; background: var(--red); margin: 1.6rem auto 1.1rem; animation: lineGrow 1s var(--ease) .7s forwards; }
.splash p { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .34em; font-size: .72rem; color: var(--mute); opacity: 0; animation: fadeIn .8s ease 1s forwards; }
@keyframes splashLogo { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes lineGrow { to { width: min(46vw, 220px); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes splashOut { to { transform: translateY(-101%); visibility: hidden; pointer-events: none; } }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h); transition: height .4s var(--ease); }
/* El fondo vive en un pseudo-elemento: un backdrop-filter en .nav rompería el menú móvil (position: fixed) */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: transparent; box-shadow: none; transition: background-color .4s, box-shadow .4s; }
.nav.is-scrolled { height: 64px; }
.nav.is-scrolled::before { background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(14px)) {
  .nav.is-scrolled::before { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
}
.nav-inner { width: min(100% - var(--gutter) * 2, 1360px); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: baseline; gap: .42rem; line-height: 1; }
.brand-don { font-family: var(--f-serif); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; }
.brand-lucio { font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; letter-spacing: .02em; }
.brand-cafe { font-family: var(--f-serif); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.nav-links { display: flex; gap: clamp(1rem, 2.2vw, 2.1rem); font-size: .92rem; }
.nav-links a { position: relative; padding-block: .4rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-flex; align-items: center; gap: .55rem; padding: .62rem 1.15rem; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: .9rem; transition: background-color .3s, transform .35s var(--ease); }
.nav-cta svg { color: #4FD58A; }
.nav-cta:hover { background: var(--red); transform: translateY(-1px); }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; padding: 0; z-index: 3; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Altímetro (firma) ---------- */
.alti { position: fixed; z-index: 60; right: clamp(12px, 1.6vw, 28px); top: 50%; transform: translateY(-50%); height: 46vh; min-height: 260px; display: flex; flex-direction: column; align-items: center; gap: .7rem; color: var(--ink); transition: color .4s, opacity .5s; pointer-events: none; opacity: 0; }
.alti.is-on { opacity: 1; }
.alti.is-dark { color: var(--cream); }
.alti-cap { font-family: var(--f-serif); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; opacity: .6; white-space: nowrap; }
.alti-track { position: relative; flex: 1; width: 11px; background:
    repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 22px) right / 6px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / 1px 100% no-repeat; opacity: .95; }
.alti-fill { position: absolute; left: 0; bottom: 0; width: 1px; height: calc(var(--p, 0) * 100%); background: var(--red); transition: background-color .4s; }
.alti.is-dark .alti-fill { background: var(--red-lt); }
.alti-dot { position: absolute; left: -4px; bottom: calc(var(--p, 0) * 100%); width: 9px; height: 9px; border-radius: 50%; background: var(--red); transform: translateY(50%); box-shadow: 0 0 0 4px rgba(158, 50, 52, .18); }
.alti.is-dark .alti-dot { background: var(--red-lt); }
.alti-dot em { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-style: normal; font-family: var(--f-serif); font-size: .74rem; letter-spacing: .06em; white-space: nowrap; background: var(--cream); color: var(--ink); padding: .18rem .55rem; border-radius: 99px; box-shadow: 0 1px 0 var(--line); }
.alti.is-dark .alti-dot em { background: var(--ink); color: var(--cream); box-shadow: 0 0 0 1px var(--line-light); }

/* ---------- Hero ---------- */
.hero { --intro: 1.75s; position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 2.2rem) 0 4.5rem; display: flex; flex-direction: column; justify-content: center; overflow: clip; }
html.no-splash .hero { --intro: .1s; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; transition: transform .8s var(--ease); -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.contours path { fill: none; stroke: var(--ink); stroke-opacity: .15; stroke-width: 1.1; stroke-linejoin: round; }
.contours path.is-peak { stroke: var(--red); stroke-opacity: .85; stroke-width: 1.6; }
.contours text { font-family: var(--f-serif); font-size: 13px; letter-spacing: .12em; fill: var(--mute); stroke: var(--cream); stroke-width: 5px; paint-order: stroke; stroke-linejoin: round; }
.contours-dark text { stroke: var(--ink); }
.contours text.is-peak { fill: var(--red); }
.contours-dark { -webkit-mask-image: none; mask-image: none; }
.contours-dark path { stroke: var(--cream); stroke-opacity: .12; }
.contours-dark path.is-peak { stroke: var(--red-lt); stroke-opacity: .9; }
.contours-dark text { fill: rgba(255, 255, 255, .5); }
.contours-dark text.is-peak { fill: var(--red-lt); }
.hero-grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .12 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-title { font-size: clamp(2.8rem, 7.3vw, 6.5rem); line-height: .98; letter-spacing: -.015em; margin-bottom: 1.8rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: block; transform: translateY(108%); animation: lineUp 1.15s var(--ease) calc(var(--intro) + var(--i, 0) * .14s) forwards; }
.hero-title .line:nth-child(1) > span { --i: 1; }
.hero-title .line:nth-child(2) > span { --i: 2; }
.hero-title .line:nth-child(3) > span { --i: 3; }
html:not(.js) .hero-title .line > span { transform: none; animation: none; }
@keyframes lineUp { to { transform: none; } }
.hero-in { opacity: 0; transform: translateY(22px); animation: heroIn 1s var(--ease) calc(var(--intro) + var(--d, 0) * .12s) forwards; }
html:not(.js) .hero-in { opacity: 1; transform: none; animation: none; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-sub { max-width: 34rem; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-soft); margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-visual { position: relative; justify-self: end; width: min(100%, 430px); }
.arch { position: relative; aspect-ratio: 4 / 5.2; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--cream-2); box-shadow: 0 50px 80px -40px rgba(32, 30, 30, .55); }
.hero-visual::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--red); border-radius: 999px 999px 14px 14px; transform: translate(18px, 18px); z-index: -1; }
.arch img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 42%; transform: translate3d(0, var(--py, 0px), 0) scale(1.04); filter: saturate(1.06) contrast(1.05); }
.arch-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(32, 30, 30, .35), transparent 38%), radial-gradient(120% 90% at 50% 20%, transparent 60%, rgba(32, 30, 30, .25)); pointer-events: none; }
.seal { position: absolute; left: -2.4rem; bottom: 2.4rem; width: 112px; height: 112px; filter: drop-shadow(0 14px 22px rgba(32, 30, 30, .22)); }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal text { font-family: var(--f-serif); font-size: 9.6px; letter-spacing: .13em; text-transform: uppercase; fill: var(--ink); }
.seal-ring { transform-origin: 60px 60px; animation: spin 38s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(33, 134, 76, .04); } }

.hero-meta { position: relative; z-index: 2; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.3rem; border-top: 1px solid rgba(32, 30, 30, .25); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.hero-meta dt { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .24em; font-size: .68rem; color: var(--red); margin-bottom: .35rem; }
.hero-meta dd { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.5rem); line-height: 1.2; }
.hero-meta small { font-family: var(--f-serif); font-weight: 400; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.scroll-cue { position: absolute; left: 50%; bottom: 1rem; width: 1px; height: 44px; background: var(--line); z-index: 3; }
.scroll-cue span { position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(40px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: 1.05rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; }
.marquee-set span { font-family: var(--f-display); font-weight: 700; font-size: clamp(.95rem, 1.5vw, 1.2rem); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease) var(--rd, 0ms), transform 1s var(--ease) var(--rd, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.is-done { transition: transform .45s var(--ease), box-shadow .4s var(--ease), border-color .3s, background-color .3s; }
.reveal[data-split] { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Origen ---------- */
.origen { background: var(--cream); }
.origen-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.origen-text p + p { margin-top: 1.2rem; }
.lede { font-family: var(--f-serif); font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.38; color: var(--ink); }
.lede::first-letter { font-family: var(--f-display); font-weight: 700; color: var(--red); }
.origen-text sup a { color: var(--red); font-size: .72em; padding-inline: .15rem; border-bottom: 1px solid currentColor; }
.ridge { text-align: center; }
.ridge svg { width: 100%; max-width: 520px; height: auto; margin-inline: auto; overflow: visible; }
.ridge-back { fill: rgba(33, 134, 76, .12); }
.ridge-line { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.ridge.is-visible .ridge-line { animation: draw 2.6s var(--ease-io) .3s forwards; }
html:not(.js) .ridge-line, .ridge-line.is-drawn { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ridge-flag path:first-child { stroke: var(--red); stroke-width: 1.4; fill: none; }
.ridge-flag path:last-child { fill: var(--red); }
.ridge-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1; margin-top: .6rem; display: flex; align-items: baseline; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.ridge-num i { font-style: normal; color: var(--red); }
.ridge-num small { flex-basis: 100%; font-family: var(--f-serif); font-weight: 400; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); margin-top: .7rem; }

.fincas { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(3rem, 7vw, 5.5rem); }
.finca { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.6rem, 3vw, 2.6rem); overflow: hidden; will-change: transform; }
.finca::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(158, 50, 52, .08), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.finca:hover { border-color: rgba(158, 50, 52, .55); box-shadow: 0 30px 50px -30px rgba(32, 30, 30, .35); }
.finca:hover::after { opacity: 1; }
.finca-n { position: absolute; right: 1.4rem; top: .6rem; font-family: var(--f-display); font-weight: 700; font-size: 4.6rem; line-height: 1; color: var(--red); opacity: .1; }
.finca-label { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; color: var(--red); margin-bottom: .5rem; }
.finca h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .4rem; }
.finca-where { font-family: var(--f-serif); font-size: 1.05rem; color: var(--green); margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.finca-text { color: var(--ink-soft); font-size: .98rem; max-width: 34rem; }

/* ---------- El café ---------- */
.cafe { background: var(--paper); }
.cafe-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.2rem, 6vw, 6.5rem); align-items: center; }
.cafe-photo figcaption { margin-top: 1rem; font-family: var(--f-serif); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--cream-2); box-shadow: 0 40px 70px -40px rgba(32, 30, 30, .5); }
.frame::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(251, 248, 242, .55); border-radius: 2px; pointer-events: none; }
.frame img { position: absolute; inset: -7% 0; width: 100%; height: 114%; object-fit: cover; object-position: 50% 45%; transform: translate3d(0, var(--py, 0px), 0) scale(1.03); filter: saturate(1.05) contrast(1.04); }
.cafe-copy > p { color: var(--ink-soft); max-width: 36rem; }
.cafe-copy .sec-head { margin-bottom: 1.4rem; }
.facts { margin-top: 2.2rem; border-bottom: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 6.4rem 1fr; gap: 1.2rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.fact-k { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; color: var(--red); padding-top: .5rem; }
.facts h3 { margin-bottom: .4rem; }
.facts p { color: var(--ink-soft); font-size: .97rem; }
.notes { margin-top: 2.2rem; }
.notes-title { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .26em; font-size: .74rem; color: var(--mute); margin-bottom: 1rem; }
.notes-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.note { display: inline-flex; align-items: center; gap: .7rem; padding: .55rem 1.3rem .55rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); font-family: var(--f-serif); font-size: 1.08rem; transition: transform .4s var(--ease), border-color .3s; }
.note:hover { transform: translateY(-3px); border-color: var(--red); }

/* ---------- Proceso ---------- */
.proceso { background: var(--cream-2); }
.proceso-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.proceso-head { position: sticky; top: 7rem; margin-bottom: 0; }
.steps { position: relative; --prog: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 1.55rem; top: 1.6rem; bottom: 2.4rem; width: 1px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--red); transform-origin: top; transform: scaleY(var(--prog)); }
.step { position: relative; display: grid; grid-template-columns: 3.1rem 1fr; gap: 1.6rem; padding-bottom: 2.6rem; }
.step:last-child { padding-bottom: 0; }
.step-n { position: relative; z-index: 1; width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); border: 1px solid rgba(32, 30, 30, .3); font-family: var(--f-display); font-weight: 700; font-size: .92rem; transition: background-color .5s, color .5s, border-color .5s, transform .5s var(--ease); }
.step.is-active .step-n { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: scale(1.08); }
.step h3 { margin: .35rem 0 .35rem; }
.step p { color: var(--ink-soft); font-size: .98rem; max-width: 30rem; }
.step-body { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 1.6rem; align-items: start; }
.step-img { width: 170px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 24px 36px -22px rgba(32, 30, 30, .55); filter: saturate(1.06) contrast(1.03); transition: transform .6s var(--ease); }
.step:hover .step-img { transform: scale(1.04) rotate(-.6deg); }
@media (max-width: 680px) {
  .step-body { grid-template-columns: 1fr; gap: .9rem; }
  .step-img { width: 100%; aspect-ratio: 16 / 9; }
}

/* ---------- Presentaciones ---------- */
.tienda { background: var(--cream); }
.tienda-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(1.6rem, 4vw, 4rem); align-items: start; }
.bags { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.7rem, 1.6vw, 1.3rem); }
.bag { position: relative; will-change: transform; }
.bag:nth-child(2) { margin-top: 2.8rem; }
.bag img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; box-shadow: 0 34px 50px -30px rgba(32, 30, 30, .55); filter: saturate(1.05) contrast(1.04); }
.bag::after { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 3 / 4; border-radius: 4px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .22), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.bag:hover::after { opacity: 1; }
.bag figcaption { margin-top: .9rem; text-align: center; font-family: var(--f-serif); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.config { position: sticky; top: 6.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.5rem, 2.6vw, 2.2rem); box-shadow: 0 40px 70px -46px rgba(32, 30, 30, .45); }
.config-title { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; margin-bottom: 1.4rem; }
.config-row { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.2rem; }
.lbl { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: var(--mute); }
.seg { display: inline-flex; align-self: flex-start; padding: .25rem; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); }
.seg button { border: 0; background: none; padding: .55rem 1.2rem; border-radius: 999px; font-size: .94rem; transition: background-color .3s, color .3s; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--cream); }
.seg button:not([aria-checked="true"]):hover { background: rgba(32, 30, 30, .07); }
.stepper { display: inline-flex; align-items: center; align-self: flex-start; padding: .25rem; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); }
.stepper button { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: none; font-size: 1.3rem; line-height: 1; transition: background-color .3s; }
.stepper button:hover { background: rgba(32, 30, 30, .08); }
.stepper output { min-width: 2.6rem; text-align: center; font-family: var(--f-display); font-weight: 700; }
.config-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; margin-bottom: 1.1rem; border-block: 1px solid var(--line); }
.config-total span { font-size: .92rem; color: var(--mute); }
.config-total strong { font-family: var(--f-display); font-size: 1.1rem; text-align: right; text-transform: none; }
.config-note { margin-top: .9rem; font-size: .84rem; color: var(--mute); text-align: center; }

/* ---------- Beneficios ---------- */
.beneficios { background: var(--paper); }
.ben-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.ben { padding: 2rem 1.7rem 2.6rem 0; margin-right: 1.7rem; border-right: 1px solid var(--line); }
.ben:last-child { border-right: 0; margin-right: 0; }
.ben-n { display: block; font-family: var(--f-serif); font-size: 1.1rem; letter-spacing: .1em; color: var(--red); margin-bottom: 2.2rem; }
.ben h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.ben p { font-size: .95rem; color: var(--ink-soft); }
.fine { margin-top: 2.6rem; max-width: 62ch; font-size: .84rem; color: var(--mute); }

/* ---------- Preparación ---------- */
.brew { background: var(--cream); }
.brew-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "head card" "tip card"; gap: 0 clamp(2rem, 6vw, 6rem); align-items: start; }
.brew-grid { grid-template-rows: auto 1fr; }
.brew-grid > .sec-head { grid-area: head; }
.brew-grid > .brew-card { grid-area: card; }
.brew-grid > .tip { grid-area: tip; }
.brew-card { background: var(--ink); color: var(--cream); border-radius: 10px; padding: clamp(1.5rem, 3vw, 2.6rem); box-shadow: 0 50px 80px -50px rgba(32, 30, 30, .8); }
.brew-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.brew-tabs button { border: 1px solid var(--line-light); background: none; padding: .55rem 1.05rem; border-radius: 14px; font-size: .9rem; line-height: 1.25; text-align: left; transition: background-color .3s, color .3s, border-color .3s; }
.brew-tabs button b { display: block; font-weight: 400; }
.brew-tabs button small { display: block; font-size: .72rem; opacity: .62; margin-top: .1rem; }
.brew-need { margin: 0 0 1.4rem; padding: .9rem 1.1rem; border: 1px dashed var(--line-light); border-radius: 8px; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.brew-need span { display: block; font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .22em; font-size: .62rem; color: var(--red-lt); margin-bottom: .25rem; }
.brew-need b { font-weight: 400; }
.brew-steps { counter-reset: paso; display: grid; gap: .9rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); }
.brew-steps li { counter-increment: paso; position: relative; padding-left: 2.8rem; font-size: .98rem; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.brew-steps li::before { content: counter(paso); position: absolute; left: 0; top: .05rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: .78rem; color: var(--cream); }
.brew-tabs button:hover { border-color: rgba(255, 255, 255, .5); }
.brew-tabs button[aria-selected="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.brew-calc .lbl { color: rgba(255, 255, 255, .65); display: block; margin-bottom: 1rem; }
.brew-calc .lbl b { color: var(--cream); font-family: var(--f-display); font-size: 1.05rem; letter-spacing: 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--red-lt) var(--fill, 20%), rgba(255, 255, 255, .25) var(--fill, 20%)); }
input[type="range"]::-moz-range-track { height: 2px; background: rgba(255, 255, 255, .25); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--red-lt); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--red-lt); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--red-lt); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--red-lt); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--red-lt); }
.brew-result { display: flex; align-items: baseline; gap: .9rem; margin: 1.4rem 0 2rem; }
.brew-result strong { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.4rem, 7vw, 5.2rem); line-height: 1; }
.brew-result span { font-family: var(--f-serif); font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.brew-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); }
.brew-specs dt { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .2em; font-size: .64rem; color: var(--red-lt); margin-bottom: .3rem; }
.brew-specs dd { font-size: .96rem; line-height: 1.35; }
.brew-note { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); font-size: .96rem; color: rgba(255, 255, 255, .82); }
.tip { margin-top: 2.2rem; padding: 1.4rem 1.6rem; border-left: 2px solid var(--green); background: rgba(33, 134, 76, .07); border-radius: 0 6px 6px 0; }
.tip-k { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; color: var(--green); margin-bottom: .4rem; }
.tip p:last-child { font-size: .97rem; color: var(--ink-soft); }

/* ---------- Respaldo ---------- */
.sello { background: var(--cream-2); padding-block: clamp(3.2rem, 7vw, 5.2rem); }
.sello-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; max-width: 60rem; }
.sello-badge { width: 6rem; height: 6rem; border-radius: 50%; border: 1px solid var(--green); color: var(--green); display: grid; place-items: center; }
.sello-text h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .8rem; }
.sello-text .kicker { margin-bottom: .8rem; color: var(--green); }
.sello-text p:last-child { color: var(--ink-soft); max-width: 44rem; }
.sello-text b { font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--green); }

/* ---------- Cierre ---------- */
.cierre { background: var(--ink); color: var(--cream); text-align: center; overflow: clip; padding-block: clamp(6rem, 14vw, 11rem); }
.cierre-in { position: relative; z-index: 2; }
.cierre .kicker { justify-content: center; }
.cierre h2 { font-size: clamp(2.2rem, 6.2vw, 5rem); line-height: 1.04; max-width: 16ch; margin-inline: auto; }
.cierre h2 em { color: var(--red-lt); }
.cierre-sub { margin: 1.6rem auto 2.4rem; max-width: 30rem; color: rgba(255, 255, 255, .75); }
.cierre-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.8rem; margin-top: 3rem; }
.socials a { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-serif); font-size: 1.08rem; letter-spacing: .06em; color: rgba(255, 255, 255, .85); padding-bottom: .2rem; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.socials a:hover { color: var(--cream); border-color: var(--red-lt); }

/* ---------- Footer ---------- */
.footer { background: #151313; color: rgba(255, 255, 255, .75); padding: 4rem 0 2.2rem; text-align: center; border-top: 1px solid var(--line-light); }
.footer-logo { width: 170px; height: auto; margin: 0 auto 1.2rem; }
.footer-tag { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .32em; font-size: .75rem; margin-bottom: 1.8rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; font-size: .92rem; margin-bottom: 2.4rem; }
.footer-nav a { transition: color .3s; }
.footer-nav a:hover { color: var(--cream); }
.footer-fine { font-size: .78rem; color: rgba(255, 255, 255, .45); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -10px rgba(33, 134, 76, .7); transition: transform .35s var(--ease), background-color .3s; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); background: var(--green-deep); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--green); animation: ping 2.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.55); opacity: 0; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  /* En pantallas medianas y móviles la barra se mantiene (vertical, pegada al borde), solo más compacta */
  .alti { right: 8px; height: 50vh; min-height: 200px; gap: .45rem; }
  .alti-cap { display: none; }
  .alti-dot em { right: 18px; font-size: .68rem; padding: .14rem .45rem; }
  .alti-dot em { background: var(--ink); color: var(--cream); box-shadow: 0 6px 16px -8px rgba(32, 30, 30, .6); }
  .alti.is-dark .alti-dot em { background: var(--cream); color: var(--ink); box-shadow: none; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; }
  .nav-links { position: fixed; inset: 0; z-index: 2; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; background: var(--cream); font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
  .nav-inner { position: relative; z-index: 3; }
  .nav-open .nav-toggle { position: relative; z-index: 4; }
  .nav-open .brand { position: relative; z-index: 4; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(78%, 360px); margin-top: 1.5rem; }
  .seal { left: -1.2rem; width: 96px; height: 96px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .scroll-cue { display: none; }
  .origen-grid, .cafe-grid, .proceso-grid, .tienda-grid { grid-template-columns: 1fr; }
  .proceso-head { position: static; }
  .config { position: static; }
  .brew-grid { grid-template-columns: 1fr; grid-template-areas: "head" "card" "tip"; }
  .ben-grid { grid-template-columns: repeat(2, 1fr); }
  .ben { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 1rem; }
  .cafe-photo { max-width: 460px; margin-inline: auto; width: 100%; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .nav-cta span { display: none; }
  .nav-cta { padding: .7rem; }
  .brand-lucio { font-size: 1.35rem; }
  .fincas { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: .2rem; }
  .bags { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .bag:nth-child(2) { margin-top: 1.4rem; }
  .bag figcaption { font-size: .62rem; letter-spacing: .1em; }
  .ben-grid { grid-template-columns: 1fr; }
  .brew-specs { grid-template-columns: repeat(2, 1fr); }
  .sello-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-actions .btn { flex: 1 1 100%; }
  .config-total { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .config-total strong { text-align: left; }
  .btn-wa-light { width: 100%; }
  .step { gap: 1.1rem; }
  .steps::before, .steps::after { left: 1.55rem; }
}

/* Solo se apaga lo realmente intrusivo cuando el sistema pide menos movimiento.
   Los micro-movimientos (reveal, hover, tilt, altímetro, marquesina) se conservan. */
@media (prefers-reduced-motion: reduce) {
  .seal-ring, .wa-float::before, .scroll-cue span, .kicker .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Añadidos: promo hero, registro (10%), galería, visor, redes en el pie
   ========================================================================== */

/* ---------- Historias: Quipile y La Botica ---------- */
.finca-link { color: var(--green); border-bottom: 1px solid currentColor; white-space: nowrap; }
.historias { background: var(--cream-2); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: -1.4rem 0 clamp(2rem, 4vw, 3rem); }
.chips li { padding: .45rem 1.05rem; border: 1px solid rgba(32, 30, 30, .22); border-radius: 999px; font-family: var(--f-serif); font-size: .98rem; background: rgba(251, 248, 242, .5); }
.chips small { font-family: var(--f-body); font-size: .74rem; color: var(--mute); }
.stories { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.story { padding: 2rem 2rem 2.4rem 0; margin-right: 2rem; border-right: 1px solid var(--line); }
.story:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.story-fig { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; color: var(--red); margin-bottom: 1.2rem; }
.story h3 { margin-bottom: .8rem; }
.story p:last-child { color: var(--ink-soft); font-size: .97rem; }
.botica { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); margin-top: clamp(2.2rem, 5vw, 4rem); align-items: stretch; }
.botica-main { position: relative; background: var(--ink); color: var(--cream); border-radius: 8px; padding: clamp(1.8rem, 4vw, 3.2rem); overflow: hidden; }
.botica-main::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 28px rgba(255, 255, 255, .04), 0 0 0 58px rgba(255, 255, 255, .03); pointer-events: none; }
.botica-main h3 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; }
.botica-main p { color: rgba(255, 255, 255, .85); max-width: 34rem; }
.botica-main .botica-note { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-light); font-family: var(--f-serif); font-size: 1.15rem; color: var(--cream); }
.botica-side { display: grid; gap: 1.4rem; align-content: start; }
.botica-side h4 { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .24em; font-size: .74rem; font-weight: 400; color: var(--red); margin: 0 0 .9rem; }
.visit li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.visit li b { font-weight: 400; font-family: var(--f-serif); font-size: 1.08rem; }
.fiestas li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.fiestas li span { font-family: var(--f-display); font-weight: 700; font-size: .85rem; color: var(--green); padding-top: .1rem; }
.historias .fine a { color: var(--ink); border-bottom: 1px solid var(--line); }
.historias .fine a:hover { border-color: var(--red); }
@media (max-width: 1020px) {
  .stories { grid-template-columns: 1fr; }
  .story { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .story:last-child { border-bottom: 0; }
  .botica { grid-template-columns: 1fr; }
  .chips { margin-top: -.6rem; }
}
@media (max-width: 680px) {
  .fiestas li { grid-template-columns: 1fr; gap: .1rem; }
}

/* ---------- Promo en el hero ---------- */
.hero-promo { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.6rem; padding: .5rem 1rem .5rem .5rem; border: 1px dashed rgba(33, 134, 76, .6); border-radius: 999px; font-size: .9rem; color: var(--ink-soft); transition: background-color .3s, border-color .3s; }
.hero-promo b { font-family: var(--f-display); font-weight: 700; background: var(--green); color: #fff; padding: .25rem .7rem; border-radius: 999px; font-size: .82rem; }
.hero-promo svg { color: var(--green); transition: transform .35s var(--ease); }
.hero-promo:hover { background: rgba(33, 134, 76, .08); border-style: solid; }
.hero-promo:hover svg { transform: translateX(4px); }

/* ---------- Configurador: descuento y notas ---------- */
.config-disc { margin: -.5rem 0 1rem; font-size: .86rem; color: var(--green); }
.config-total.has-disc strong { color: var(--green); }
.config-note b { font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--line); }
.config-new { margin-top: .5rem; }
.config-new a { color: var(--green); border-bottom: 1px solid currentColor; }

/* ---------- Registro: clientes nuevos ---------- */
.registro { background: var(--green-deep); color: var(--cream); overflow: clip; }
.registro::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, .09), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(0, 0, 0, .22), transparent 60%); }
.registro-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.registro .kicker.light { color: #FFFFFF; }
.registro h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.registro h2 em { color: #FFFFFF; }
.registro-lead { margin-top: 1.4rem; font-size: 1.12rem; color: rgba(255, 255, 255, .9); max-width: 30rem; }
.registro-list { margin-top: 1.8rem; display: grid; gap: .7rem; }
.registro-list li { position: relative; padding-left: 1.9rem; color: rgba(255, 255, 255, .82); font-size: .98rem; }
.registro-list li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 1rem; height: .55rem; border-left: 1.5px solid #FFFFFF; border-bottom: 1.5px solid #FFFFFF; transform: rotate(-45deg) scale(.85); }
.reg-card { background: var(--paper); color: var(--ink); border-radius: 10px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .55); }
.reg-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; color: var(--mute); }
.field label small { text-transform: none; letter-spacing: .04em; font-family: var(--f-body); font-size: .76rem; }
.field input { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: .85rem 1rem; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.field input::placeholder { color: rgba(111, 102, 95, .7); }
.field input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(33, 134, 76, .16); }
.field input.is-bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(158, 50, 52, .14); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--green); }
.reg-error { font-size: .88rem; color: var(--red); }
.btn-reg { width: 100%; background: var(--green); color: #fff; padding-block: 1.1rem; }
.btn-reg:hover { background: var(--green-deep); box-shadow: 0 16px 34px -14px rgba(33, 134, 76, .8); }
.reg-ok { text-align: center; padding: 1rem .5rem; color: var(--green); }
.reg-ok[hidden], .reg-error[hidden], .config-disc[hidden] { display: none; }
.reg-ok h3 { margin: .8rem 0 .6rem; color: var(--ink); font-size: 1.6rem; }
.reg-ok p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.4rem; }
.btn-ghost-light { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost-light:hover { background: var(--ink); color: var(--cream); }

/* ---------- Galería ---------- */
.galeria { background: var(--paper); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 19vw, 270px); gap: clamp(.6rem, 1.2vw, 1rem); }
.tile { position: relative; padding: 0; border: 0; overflow: hidden; border-radius: 6px; background: var(--cream-2); cursor: zoom-in; }
.tile.t-wide { grid-column: span 2; }
.tile.t-tall { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(1.04) contrast(1.03); }
.tile:hover img { transform: scale(1.07); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(32, 30, 30, .62), transparent 46%); opacity: 0; transition: opacity .45s; pointer-events: none; }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile-cap { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 2; text-align: left; font-family: var(--f-serif); font-size: 1rem; letter-spacing: .08em; color: #fff; transform: translateY(10px); opacity: 0; transition: transform .45s var(--ease), opacity .45s; }
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { transform: none; opacity: 1; }
.tile-cta { display: flex; flex-direction: column; justify-content: space-between; padding: 1.4rem; background: var(--ink); color: var(--cream); cursor: pointer; transition: background-color .4s; }
.tile-cta::after { display: none; }
.tile-cta svg:first-child { color: var(--red-lt); }
.tile-cta strong { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.2; font-weight: 700; }
.tile-cta span { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-serif); font-size: .95rem; letter-spacing: .08em; color: rgba(255, 255, 255, .75); opacity: 1; transform: none; position: static; }
.tile-cta:hover { background: var(--red); }
.tile-cta span svg { transition: transform .35s var(--ease); }
.tile-cta:hover span svg { transform: translateX(4px); }
.gal-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.4rem; }

/* ---------- Visor (lightbox) ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; color: var(--cream); }
.lightbox::backdrop { background: rgba(20, 18, 18, .92); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .4s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { max-width: min(92vw, 980px); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.lightbox figcaption { margin-top: 1rem; font-family: var(--f-serif); letter-spacing: .1em; font-size: 1.05rem; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-light); color: var(--cream); width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.7rem; line-height: 1; display: grid; place-items: center; transition: background-color .3s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(.6rem, 3vw, 2rem); }
.lb-next { right: clamp(.6rem, 3vw, 2rem); }

/* ---------- Redes en el pie ---------- */
.footer-social { display: flex; justify-content: center; gap: .8rem; margin-bottom: 2.2rem; }
.footer-social a { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid var(--line-light); border-radius: 50%; color: rgba(255, 255, 255, .8); transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.footer-social a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); transform: translateY(-3px); }

@media (max-width: 1020px) {
  .registro-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 26vw, 240px); }
  .tile.t-wide { grid-column: span 3; }
}
@media (max-width: 680px) {
  .field-row { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .tile.t-wide { grid-column: span 2; }
  .tile-cap { opacity: 1; transform: none; font-size: .85rem; }
  .tile::after { opacity: 1; }
  .tile-cta::after { display: none; }
  .hero-promo { font-size: .84rem; }
}

/* ==========================================================================
   Galería en mosaico con filtros · Eventos · Respaldo (marca + INVIMA)
   ========================================================================== */

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filters button { border: 1px solid var(--line); background: transparent; padding: .55rem 1.2rem; border-radius: 999px; font-size: .92rem; transition: background-color .3s, color .3s, border-color .3s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Mosaico (columnas) ---------- */
.mosaic { display: block; columns: 4 220px; column-gap: clamp(.6rem, 1.2vw, 1rem); grid-auto-rows: unset; }
.mosaic .tile { display: block; width: 100%; margin: 0 0 clamp(.6rem, 1.2vw, 1rem); break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; background: var(--cream-2); }
.mosaic .tile.t-wide, .mosaic .tile.t-tall { grid-column: auto; grid-row: auto; }
.mosaic .tile img { position: static; display: block; width: 100%; height: auto; transform: none; }
.mosaic .tile:hover img { transform: scale(1.04); }
.mosaic .tile { overflow: hidden; }
.mosaic .tile[hidden] { display: none; }
.mosaic .tile.is-in { animation: tileIn .7s var(--ease) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.mosaic .tile-cta { min-height: 230px; gap: 1.6rem; background: var(--ink); }
.mosaic .tile-cta:hover { background: var(--red); }
.mosaic .tile-cap { z-index: 3; }

/* ---------- Tarjetas de finca con foto ---------- */
.finca { --fpad: clamp(1.6rem, 3vw, 2.6rem); }
.finca-img { display: block; width: calc(100% + var(--fpad) * 2); max-width: none; margin: calc(var(--fpad) * -1) calc(var(--fpad) * -1) 1.5rem; aspect-ratio: 2 / 1; object-fit: cover; filter: saturate(1.06) contrast(1.03); transition: transform 1.2s var(--ease); }
.finca:hover .finca-img { transform: scale(1.04); }
.finca { overflow: hidden; }
.finca-n { z-index: 2; color: #fff; opacity: .9; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }

/* ---------- Eventos ---------- */
.eventos { background: var(--paper); }
.ev-banner { position: relative; border-radius: 8px; overflow: hidden; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); box-shadow: 0 50px 80px -50px rgba(32, 30, 30, .6); }
.ev-banner img { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; object-position: 30% 55%; }
.ev-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(32, 30, 30, .55), transparent 45%); pointer-events: none; }
.ev-banner figcaption { position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(.9rem, 2.4vw, 1.6rem); z-index: 2; color: #fff; font-family: var(--f-serif); letter-spacing: .12em; text-transform: uppercase; font-size: clamp(.72rem, 1.4vw, .9rem); }
.ev-banner figcaption span { font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; }
.ev-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ev-copy > p { color: var(--ink-soft); max-width: 34rem; }
.ev-copy .sec-head { margin-bottom: 1.4rem; }
.ev-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2rem; }
.ev-chips li { padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-serif); font-size: .98rem; background: var(--cream); }
.ev-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.6vw, 1.2rem); }
.reel:nth-child(2) { margin-top: 2.2rem; }
.reel-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: 0 34px 50px -30px rgba(32, 30, 30, .7), 0 0 0 5px var(--ink); }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.reel figcaption { margin-top: .9rem; text-align: center; font-family: var(--f-serif); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }

/* ---------- Eventos: carrusel de videos ---------- */
.ev-grid { display: block; }
.ev-copy { max-width: 44rem; }
.reels-wrap { position: relative; margin-top: clamp(2.2rem, 5vw, 3.6rem); }
.reels { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 5rem) / 6); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .3rem 1.4rem; margin-inline: -.3rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.reel { flex: none; scroll-snap-align: start; }
.reel:nth-child(2) { margin-top: 0; }
.reel figcaption { font-size: .72rem; letter-spacing: .14em; }
.reels-nav { display: flex; justify-content: flex-end; gap: .5rem; margin-top: -.2rem; }
.reels-nav[hidden] { display: none; }
.reels-nav button { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.5rem; line-height: 1; transition: background-color .3s, color .3s, border-color .3s; }
.reels-nav button:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
@media (max-width: 1020px) { .reels { grid-auto-columns: 31%; } }
@media (max-width: 680px) { .reels { display: grid; grid-auto-columns: 62%; gap: .8rem; } .reel { flex: none; } }

/* ---------- Proceso: fases, íconos y nota ---------- */
.proceso-main { min-width: 0; }
.phase { position: relative; display: flex; align-items: center; gap: .9rem; margin: .4rem 0 1.5rem 4.7rem; font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .24em; font-size: .74rem; color: var(--red); }
.phase span { font-family: var(--f-display); font-weight: 700; letter-spacing: .06em; padding-right: .9rem; border-right: 1px solid currentColor; }
.step + .phase { margin-top: .9rem; }
.step-ico { width: 170px; aspect-ratio: 4 / 3; border-radius: 4px; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; color: var(--green); }
.step-bag { object-position: 50% 45%; }
.proceso-fine { margin-top: 2.2rem; padding-left: 4.7rem; }
.proceso-fine a { color: var(--ink); border-bottom: 1px solid var(--line); }
.proceso-fine a:hover { border-color: var(--red); }
@media (max-width: 680px) {
  .step-ico { width: 100%; aspect-ratio: 16 / 6; }
  .phase { margin-left: 4.2rem; letter-spacing: .16em; }
  .proceso-fine { padding-left: 0; }
}

/* ---------- Logo en la cabecera ---------- */
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: auto; height: 50px; transition: height .4s var(--ease), transform .4s var(--ease); }
.nav.is-scrolled .brand-logo { height: 40px; }
.brand:hover .brand-logo { transform: translateY(-1px); }
@media (max-width: 680px) { .brand-logo { height: 40px; } .nav.is-scrolled .brand-logo { height: 36px; } }
.sello-logo { display: block; width: min(210px, 72%); height: auto; margin-bottom: 1.3rem; }
.sello-ally { margin-top: 1.3rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.sello-ally span { display: block; font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .22em; font-size: .62rem; color: var(--green); margin-bottom: .2rem; }
.sello-ally strong { display: block; font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .04em; }
.sello-ally p { margin-top: .35rem; font-size: .86rem; color: var(--mute); line-height: 1.5; }

/* ---------- Respaldo: marca + INVIMA ---------- */
.sello { padding-block: clamp(4rem, 9vw, 7rem); }
.sello-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 1.8rem); max-width: 62rem; margin-inline: auto; }
.sello-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.6rem, 3vw, 2.4rem); }
.sello-card .sello-badge { width: 4.6rem; height: 4.6rem; margin-bottom: 1.3rem; }
.sello-card h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .7rem; }
.sello-card > p { color: var(--ink-soft); font-size: .98rem; }
.sello-card b { font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--green); white-space: nowrap; }
.sello-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.sello-data dt { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .18em; font-size: .62rem; color: var(--green); margin-bottom: .2rem; }
.sello-data dd { font-size: .88rem; line-height: 1.35; }

@media (max-width: 1020px) {
  .mosaic { columns: 3 200px; }
  .ev-grid { grid-template-columns: 1fr; }
  .sello-cards { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .mosaic { columns: 2 140px; }
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding: .4rem .2rem 1.2rem; margin-inline: -.2rem; touch-action: pan-x pan-y; }
  .reel { flex: 0 0 62%; scroll-snap-align: center; }
  .reel:nth-child(2) { margin-top: 0; }
  .ev-banner img { aspect-ratio: 16 / 9; }
  .sello-data { grid-template-columns: 1fr; }
}


/* ==========================================================================
   v2 · Sitio de 4 páginas
   Fondo oscuro de marca (#201E1E) por sección, cabeceras de página, resúmenes,
   preguntas frecuentes, "Mostrar más" y respaldo en dos tarjetas iguales.
   ========================================================================== */

/* ---------- Tema oscuro por sección ----------
   Dentro de .on-dark se invierten las variables de color, así todos los
   componentes (botones, líneas, títulos) se adaptan solos. */
.on-dark {
  --ink: #FFFFFF; --ink-soft: rgba(245, 241, 234, .82); --mute: rgba(245, 241, 234, .62);
  --line: rgba(245, 241, 234, .18); --cream: #201E1E; --cream-2: #2A2727; --paper: #2A2727;
  --red: #E07A76; --green: #4FBF7F;
  background-color: #201E1E; color: #FFFFFF;
}
.on-dark .btn-primary svg { color: #21864C; }
.on-dark .btn-primary { box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .7); }
.on-dark .btn-primary:hover { background: #fff; color: #201E1E; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .8); }
.on-dark .hero-promo b { color: #201E1E; background: var(--green); }
.hero.on-dark .hero-grain { display: none; }
.hero.on-dark .hero-meta { border-top-color: var(--line); }
.hero.on-dark .arch { background: #2A2727; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .8); }
.seal text { fill: #201E1E; }
.on-dark .contours path { stroke-opacity: .2; }
.on-dark .contours path.is-peak { stroke-opacity: .95; }

/* Navegación sobre cabecera oscura (antes de hacer scroll) */
.nav--dark:not(.is-scrolled) { color: #FFFFFF; }
.nav--dark:not(.is-scrolled) .nav-cta { background: #FFFFFF; color: #201E1E; }
.nav--dark:not(.is-scrolled) .nav-cta svg { color: #21864C; }
.nav--dark:not(.is-scrolled) .nav-toggle span { background: #FFFFFF; }
.nav-open.nav--dark .nav-toggle span { background: #201E1E; }
.nav-open .nav-links { color: #201E1E; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.alti.is-dark { color: var(--cream); }

/* Franja roja de marca */
.marquee { background: #9E3234; color: #fff; }
.marquee svg { color: #FFFFFF; opacity: .9; }

/* ---------- Cabecera de página ---------- */
.page-head { --intro: .1s; position: relative; overflow: clip; padding: calc(var(--nav-h) + 3.8rem) 0 clamp(3rem, 6vw, 4.8rem); }
.page-head .contours { -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.page-head-in { position: relative; z-index: 2; }
.page-title { font-size: clamp(2.6rem, 6.6vw, 5.6rem); line-height: 1; letter-spacing: -.012em; margin-bottom: 1.3rem; max-width: 13ch; }
.page-sub { max-width: 36rem; color: var(--ink-soft); font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.subnav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.subnav a { padding: .5rem 1.15rem; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.subnav a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }
.hero-in.page-title { margin-bottom: 1.3rem; }

/* ---------- Resumen del café (inicio) ---------- */
.resumen { background: var(--paper); }
.triad { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.triad-card { padding: 2rem 2rem 2.4rem 0; margin-right: 2rem; border-right: 1px solid var(--line); }
.triad-card:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.triad-fig { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1; color: var(--red); margin-bottom: 1rem; }
.triad-card h3 { margin-bottom: .6rem; }
.triad-card p:last-child { color: var(--ink-soft); font-size: .97rem; }
.notes-center { margin-top: 2.4rem; text-align: center; }
.notes-center .notes-row { justify-content: center; }
.section-cta { margin-top: 2.6rem; text-align: center; }
.origen-cta { margin-top: 1.8rem; }

/* ---------- Precios (inicio) ---------- */
.price-panel { position: static; }
.price-list { margin-bottom: 1rem; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.price-list span { font-family: var(--f-serif); font-size: 1.15rem; letter-spacing: .06em; }
.price-list strong { font-family: var(--f-display); font-size: 1.6rem; }
.price-panel .btn-wa { margin-top: 1.2rem; }
.price-promo { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; font-size: .9rem; color: var(--green); }
.price-promo b { font-family: var(--f-display); font-weight: 700; background: var(--green); color: #fff; padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; white-space: nowrap; }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--ink); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 1.9rem; height: 1.9rem; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-family: var(--f-body); font-weight: 400; font-size: 1.2rem; line-height: 1; transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--cream); border-color: var(--ink); }
.faq-list details p { padding: 0 3rem 1.4rem 0; color: var(--ink-soft); max-width: 40rem; }

/* ---------- Franja de llamada a la acción ---------- */
.cta-band { padding-block: clamp(3.6rem, 8vw, 6rem); }
.cta-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 3rem; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 18ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- "Mostrar más" ---------- */
[data-more][hidden] { display: none !important; }
.more-btn { display: none; }
html.js .more-btn { display: inline-flex; align-items: center; gap: .7rem; margin: 1.8rem 0 0 4.7rem; padding: .9rem 1.6rem; border: 1px solid var(--ink); border-radius: 999px; background: none; font-size: .96rem; transition: background-color .3s, color .3s; }
html.js .more-btn:hover { background: var(--ink); color: var(--cream); }
.more-btn::after { content: ""; width: .55rem; height: .55rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .35s var(--ease); }
.more-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
html.js .more-btn-dark { margin: 1.4rem 0 0 2.8rem; border-color: var(--line-light); color: var(--cream); }
html.js .more-btn-dark:hover { background: var(--cream); color: var(--ink); }
.ally-tag { display: inline-block; margin-left: .7rem; padding: .12rem .65rem; border: 1px solid var(--green); border-radius: 999px; font-family: var(--f-serif); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); vertical-align: middle; font-weight: 400; }

/* ---------- Respaldo: dos tarjetas iguales ---------- */
.sello-cards { grid-auto-rows: 1fr; align-items: stretch; }
.sello-card { display: flex; flex-direction: column; }
.sello-top { height: 4.6rem; display: flex; align-items: center; margin-bottom: 1.3rem; }
.sello-logo { height: 4.6rem; width: auto; margin: 0; }
.sello-card .sello-badge { margin: 0; }
.sello-card .sello-data { margin-bottom: 1.3rem; }
.sello-card .sello-ally { margin-top: auto; }

/* ---------- Colores de marca en secciones puntuales ---------- */
.registro { background: var(--green); }
.registro::before { opacity: .35; }
.registro .kicker.light { color: #fff; }
.registro h2 em { color: #201E1E; }
.registro-lead, .registro-list li { color: rgba(255, 255, 255, .92); }
.registro-list li::before { border-color: #fff; }
.reel-frame { background: #111; box-shadow: 0 34px 50px -30px rgba(0, 0, 0, .7), 0 0 0 5px #111, 0 0 0 6px rgba(245, 241, 234, .2); }
.reel video { background: #111; }
.finca-n { color: #fff; }

@media (max-width: 1020px) {
  .triad { grid-template-columns: 1fr; }
  .triad-card { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .triad-card:last-child { border-bottom: 0; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .page-title { max-width: none; }
  html.js .more-btn { margin-left: 0; width: 100%; justify-content: center; }
  html.js .more-btn-dark { margin-left: 0; }
  .faq-list details p { padding-right: 0; }
  .cta-band-actions .btn { flex: 1 1 100%; }
}


/* ==========================================================================
   v3 · Paleta de marca: prima el negro y el blanco (rojo y verde de acento)
   Fondo de hoja de café con cerezas, ubicación y ajustes de fotos.
   ========================================================================== */

/* ---------- Fondo de hoja y cerezas (reemplaza las curvas de nivel) ---------- */
.leaf-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url("assets/img/fondo-hoja.svg") center / cover no-repeat; transform-origin: 60% 40%; animation: leafDrift 46s ease-in-out infinite alternate; }
.leaf-bg--dark { background-image: url("assets/img/fondo-hoja-oscuro.svg"); }
@keyframes leafDrift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.09) translate3d(-1.2%, 1%, 0); } }
.hero .leaf-bg, .page-head .leaf-bg { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
.cierre .leaf-bg { opacity: 1; }

/* ---------- Portada en blanco ---------- */
.hero .arch { box-shadow: 0 50px 80px -44px rgba(32, 30, 30, .55); }
.hero-visual::before { border-color: var(--red); }

/* ---------- Ubicación ---------- */
.ubicacion { background: var(--cream-2); }
.ubicacion-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ubicacion-copy > p { color: var(--ink-soft); max-width: 34rem; }
.coords { margin: 1.6rem 0; border-top: 1px solid var(--line); }
.coords div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.coords dt { font-family: var(--f-serif); text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; color: var(--red); padding-top: .25rem; }
.coords dd { font-size: .98rem; }
.ubicacion-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.ubicacion-note { margin-top: 1.4rem; font-size: .92rem; color: var(--mute); }
.ubicacion-note a { color: var(--ink); border-bottom: 1px solid var(--ink); }
.mapa { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #201E1E; box-shadow: 0 50px 80px -50px rgba(32, 30, 30, .7); }
.mapa-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: .35rem; padding: 1.5rem; background-image: url("assets/img/fondo-hoja-oscuro.svg"); background-size: cover; background-position: center; }
.mapa-pin { color: var(--red); margin-bottom: .4rem; }
.mapa-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); }
.mapa-sub { font-family: var(--f-serif); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--mute); margin-bottom: 1.1rem; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Fotos: tono neutro para que combinen con el blanco ---------- */
.bag img, .frame img, .step-img, .finca-img, .tile img { filter: saturate(.92) contrast(1.05); }
.bag img { background: #F2F2F2; }

@media (max-width: 1020px) { .ubicacion-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .coords div { grid-template-columns: 1fr; gap: .1rem; } .ubicacion-actions .btn { flex: 1 1 100%; } .mapa { aspect-ratio: 1 / 1; } }

/* Fondo de hoja en pantallas angostas: tamaño fijo para que no se agrande */
@media (max-width: 1020px) {
  .leaf-bg { background-size: 900px auto; background-position: 72% 0; background-repeat: no-repeat; }
  .cierre .leaf-bg { background-position: 60% 100%; }
}


/* ==========================================================================
   v4 · Ritmo negro / blanco: más secciones en negro de marca
   ========================================================================== */
.section.on-dark { background-color: #201E1E; color: #FFFFFF; }
.on-dark .btn-wa { background: #21864C; color: #fff; }
.on-dark .btn-wa:hover { background: #2a9c58; }
.on-dark .bag img { background: #2A2727; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 34px 50px -30px rgba(0, 0, 0, .9); }
.on-dark .frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 70px -40px rgba(0, 0, 0, .9); }
.on-dark .config { box-shadow: 0 40px 70px -46px rgba(0, 0, 0, .9); }
.on-dark .finca { box-shadow: none; }
.on-dark .finca:hover { box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9); border-color: rgba(224, 122, 118, .6); }
.on-dark .ridge-back { fill: rgba(255, 255, 255, .06); }
.on-dark .ridge-line { stroke: #FFFFFF; }
.on-dark .ben-grid { border-top-color: rgba(255, 255, 255, .5); }
.on-dark .facts { border-bottom-color: var(--line); }
.on-dark .seg button:not([aria-checked="true"]):hover, .on-dark .stepper button:hover { background: rgba(255, 255, 255, .1); }
.on-dark .config-new a, .on-dark .config-note b { color: #FFFFFF; }
.on-dark .triad-card { border-right-color: var(--line); }
.on-dark .origen-text sup a { color: var(--red); }


/* ==========================================================================
   v5 · Páginas legales, 404 y enlaces del pie
   ========================================================================== */
.page-head--legal { padding-bottom: 2.5rem; }
.legal { background: var(--cream); padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.prose { max-width: 46rem; margin-inline: auto; }
.prose-lead { font-size: 1.12rem; color: var(--ink-soft); padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: .5rem; }
.prose h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 2.4rem 0 .8rem; }
.prose p { color: var(--ink-soft); margin-top: .8rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-top: .8rem; display: grid; gap: .5rem; color: var(--ink-soft); }
.prose li::marker { color: var(--red); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--red); }
.prose a:hover { color: var(--red); }
.prose b { font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--line); }
.prose-fine { margin-top: 2.6rem !important; font-size: .88rem; color: var(--mute) !important; }
.err-404 { min-height: 80vh; min-height: 80svh; display: flex; align-items: center; }
.err-404 .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.8rem; font-size: .84rem; margin: -1rem 0 1.6rem; color: rgba(255, 255, 255, .65); }
.footer-legal a { border-bottom: 1px solid rgba(255, 255, 255, .25); transition: color .3s, border-color .3s; }
.footer-legal a:hover { color: #fff; border-color: #fff; }
.check a { color: inherit; border-bottom: 1px solid currentColor; }

.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.4rem; font-size: .86rem; margin: -1rem 0 1rem; color: rgba(255, 255, 255, .7); }
.footer-contact a { border-bottom: 1px solid rgba(255, 255, 255, .25); transition: color .3s, border-color .3s; }
.footer-contact a:hover { color: #fff; border-color: #fff; }


/* ==========================================================================
   v7 · Migas de pan, botón fijo en el móvil y enlaces internos
   ========================================================================== */
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; font-size: .82rem; color: var(--mute); margin-bottom: 1.3rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; opacity: .6; }
.breadcrumb a { border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.breadcrumb a:hover { color: var(--ink); border-color: var(--red); }
.breadcrumb [aria-current] { color: var(--ink); }
.tip a, .cafe-photo figcaption a { border-bottom: 1px solid currentColor; }
.cafe-photo figcaption a:hover { color: var(--red); }

.wa-float span { display: none; }
@media (max-width: 680px) {
  .wa-float { width: auto; height: 54px; padding: 0 1.25rem 0 1.05rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .55rem; }
  .wa-float::before { border-radius: 999px; }
  .wa-float span { display: inline; font-size: .98rem; letter-spacing: .02em; }
}
