/* =========================================================
   Lina Hernández — Sistema visual premium
   Paleta: marfil · vino · dorado · carbón (plan maestro §14)
   + tonos del logo (moca y taupe) para la marca.
   ========================================================= */

:root {
  /* Paleta base */
  --ivory: #F7F1E8;
  --ivory-2: #EFE6D8;
  --paper: #FBF8F3;
  --white: #FFFFFF;
  --wine: #6E0F25;
  --wine-2: #87142F;
  --wine-deep: #3A0713;
  --gold: #B98A3D;
  --gold-2: #CFAE74;
  --gold-soft: #E7D7B8;
  --ink: #191919;
  --ink-2: #463E3B;
  --ink-3: #6B625D;
  --night: #120E0E;
  --night-2: #1C1616;

  /* Logo */
  --mocha: #86625A;
  --mocha-ink: #74534B; /* café del logo con contraste AA sobre marfil */
  --taupe: #C8B4AB;
  --copper: #D9733D;

  /* Logo por defecto (fondos claros) */
  --mark-main: #8A635B;
  --mark-soft: #C8B4AB;

  /* Líneas */
  --line: rgba(25, 25, 25, .12);
  --line-strong: rgba(25, 25, 25, .22);
  --line-light: rgba(247, 241, 232, .16);

  /* Tipografía */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --brand: "Lora", Georgia, serif;
  --script: "Sacramento", "Brush Script MT", cursive;

  /* Medidas */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --radius-lg: 14px;
  --header-h: 78px;
  --section-y: clamp(72px, 10vw, 136px);
  --shadow-sm: 0 1px 2px rgba(25, 25, 25, .05), 0 4px 14px rgba(25, 25, 25, .05);
  --shadow-md: 0 2px 6px rgba(25, 25, 25, .05), 0 18px 40px rgba(58, 7, 19, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--wine); color: var(--ivory); }
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; font-size: .9rem; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, .display, .h1, .h2, .h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.06;
  color: inherit;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.55rem, 5.6vw, 4.75rem); }
h2, .h2 { font-size: clamp(2.05rem, 4vw, 3.35rem); }
h3, .h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.15; }
h4, .h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: .01em; line-height: 1.35; }
h1 em, h2 em, h3 em, .display em { font-style: italic; color: var(--wine); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--gold-2); }

p { text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; letter-spacing: .02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mocha-ink);
  margin-bottom: 22px;
}
/* Antetítulos en el café del logo con la línea dorada: une la marca con la paleta del plan */
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .9; }
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow { color: var(--gold-2); }

.script { font-family: var(--script); font-weight: 400; line-height: 1; }

.on-dark { color: var(--ivory); }
.on-dark .lead, .on-dark .muted { color: rgba(247, 241, 232, .74); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--flush-top { padding-top: 0; }
.bg-ivory { background: var(--ivory); }
.bg-ivory2 { background: var(--ivory-2); }
.bg-paper { background: var(--paper); }
.bg-night { background: var(--night); color: var(--ivory); }
.bg-wine { background: var(--wine-deep); color: var(--ivory); }
.bg-night .lead, .bg-wine .lead { color: rgba(247, 241, 232, .76); }
.bg-night .eyebrow, .bg-wine .eyebrow { color: var(--gold-2); }
.bg-night h2 em, .bg-wine h2 em, .bg-night h3 em, .bg-wine h3 em, .bg-night h1 em, .bg-wine h1 em { color: var(--gold-2); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 20px; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; gap: 20px 64px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; } .section-head--split .lead { margin-top: 0; } }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--wide-media { grid-template-columns: .85fr 1.15fr; }
  .split--top { align-items: start; }
  .split--reverse > :first-child { order: 2; }
}

.stack > * + * { margin-top: 1.1em; }
.stack-lg > * + * { margin-top: 1.6em; }
.center { text-align: center; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-dark .divider, .bg-night .divider, .bg-wine .divider { background: var(--line-light); }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--wine); --btn-fg: var(--ivory); --btn-bd: var(--wine);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px;
  border: 1px solid var(--btn-bd); border-radius: 4px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .015em; line-height: 1.2;
  text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { --btn-bg: var(--wine-2); --btn-bd: var(--wine-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(110, 15, 37, .22); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--dark { --btn-bg: var(--ink); --btn-bd: var(--ink); --btn-fg: var(--ivory); }
.btn--dark:hover { --btn-bg: #000; --btn-bd: #000; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--wine); --btn-fg: var(--ivory); --btn-bd: var(--wine); box-shadow: 0 10px 24px rgba(110, 15, 37, .2); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--wine); --btn-bd: var(--ivory); }
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--wine-deep); --btn-bd: var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(247, 241, 232, .4); }
.btn--ghost-light:hover { --btn-bg: var(--ivory); --btn-fg: var(--wine); --btn-bd: var(--ivory); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 36px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; color: var(--wine);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow, .bg-night .link-arrow, .bg-wine .link-arrow { color: var(--gold-2); }

.text-link { color: var(--wine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { color: var(--wine-2); }

/* ---------- Marca (logo) ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--mocha); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-name {
  font-family: var(--brand); font-weight: 500; font-size: 1.16rem; line-height: .98;
  letter-spacing: .005em; color: var(--mocha); white-space: nowrap;
}
.brand-name span { display: block; }

/* Variante clara para fondos oscuros */
.brand--light { --mark-main: #EFE3D3; --mark-soft: #B98A3D; }
.brand--light .brand-name { color: #F2E8DA; }

/* Logo completo (pie) */
.brand-full { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 16px; }
.brand-full .brand-mark { width: 72px; height: 72px; }
.brand-full .brand-name { font-size: 1.75rem; }
.brand-full .brand-sub {
  grid-column: 2; justify-self: end; margin-top: -6px; margin-right: -4px;
  font-family: var(--script); font-size: 1.9rem; color: var(--copper); line-height: 1;
}
.brand-full .brand-sub sup { font-family: var(--sans); font-size: .55rem; vertical-align: super; margin-left: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(247, 241, 232, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header .container--wide { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.nav a {
  position: relative; font-size: .92rem; font-weight: 500; color: var(--ink-2); letter-spacing: .01em;
  padding: 8px 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a.nav-highlight { color: var(--wine); font-weight: 600; }

/* Menú tipo dock magnético (lo activa main.js en escritorio con cursor) */
.nav ul { position: relative; isolation: isolate; }
.nav--dock a { display: inline-block; transform-origin: 50% 65%; will-change: transform; }
.nav--dock a::after { display: none; }
.nav--dock a[aria-current="page"]::before {
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--gold);
}
.nav-pill {
  position: absolute; left: 0; top: 50%; z-index: -1; width: 0; height: 40px; margin-top: -20px;
  border-radius: 999px; pointer-events: none; opacity: 0;
  background: rgba(110, 15, 37, .07); border: 1px solid rgba(110, 15, 37, .12);
  box-shadow: 0 6px 18px rgba(58, 7, 19, .06);
  transition: opacity .35s var(--ease-out);
}
.nav-pill.is-on { opacity: 1; }
.has-dark-hero .site-header:not(.is-scrolled) .nav-pill {
  background: rgba(247, 241, 232, .09); border-color: rgba(247, 241, 232, .16); box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 14px; margin-right: -8px;
  background: none; border: 0; color: var(--ink); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.menu-toggle .bars { width: 22px; height: 12px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 10px; }
.menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Header transparente sobre héroe oscuro */
.has-dark-hero .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-scrolled) .brand { --mark-main: #EFE3D3; --mark-soft: #B98A3D; }
.has-dark-hero .site-header:not(.is-scrolled) .brand-name { color: #F2E8DA; }
.has-dark-hero .site-header:not(.is-scrolled) .nav a { color: rgba(247, 241, 232, .82); }
.has-dark-hero .site-header:not(.is-scrolled) .nav a:hover, .has-dark-hero .site-header:not(.is-scrolled) .nav a[aria-current="page"] { color: var(--ivory); }
.has-dark-hero .site-header:not(.is-scrolled) .nav a::after { background: var(--gold-2); }
.has-dark-hero .site-header:not(.is-scrolled) .nav a.nav-highlight { color: var(--gold-2); }
.has-dark-hero .site-header:not(.is-scrolled) .menu-toggle { color: var(--ivory); }
.has-dark-hero .site-header:not(.is-scrolled) .header-cta { --btn-bg: var(--ivory); --btn-fg: var(--wine); --btn-bd: var(--ivory); }
.has-dark-hero main > :first-child { margin-top: calc(-1 * var(--header-h)); }
.site-header.is-scrolled { box-shadow: 0 6px 30px rgba(25, 25, 25, .06); }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ivory);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--ivory) !important; border-color: var(--line) !important; }
.menu-open .site-header .brand { --mark-main: #8A635B !important; --mark-soft: #C8B4AB !important; }
.menu-open .site-header .brand-name { color: var(--mocha) !important; }
.menu-open .site-header .menu-toggle { color: var(--ink) !important; }
.mobile-menu ul { display: grid; }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.2rem); line-height: 1.1; font-weight: 500;
}
.mobile-menu li a[aria-current="page"] { color: var(--wine); }
.mobile-menu li a small { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.mobile-menu .mobile-secondary { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mobile-menu .mobile-secondary a { font-size: .95rem; font-weight: 600; color: var(--ink-2); padding: 6px 0; }
.mobile-menu .mobile-cta { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
@media (min-width: 1100px) { .mobile-menu { display: none; } }

/* ---------- Héroe principal (inicio) ---------- */
.hero-home {
  position: relative; background: var(--night); color: var(--ivory);
  overflow: hidden; isolation: isolate;
}
.hero-home__media { position: relative; height: 60svh; min-height: 400px; max-height: 620px; overflow: hidden; }
.hero-home__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 52% 18%;
  animation: heroPhoto 2.8s cubic-bezier(.16, 1, .3, 1) both;
  image-rendering: auto; backface-visibility: hidden;
}
.hero-home__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 14, 14, .55) 0%, rgba(18, 14, 14, 0) 22%, rgba(18, 14, 14, 0) 55%, var(--night) 100%);
}
/* Luz cálida de estudio sobre el fondo negro de la foto */
.hero-home__light {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  /* Luz solo en los bordes del fondo negro, nunca sobre el rostro */
  background:
    radial-gradient(30% 34% at 100% 0%, rgba(207, 174, 116, .14), rgba(207, 174, 116, 0) 70%),
    radial-gradient(45% 40% at 100% 100%, rgba(135, 20, 47, .45), rgba(135, 20, 47, 0) 70%);
  animation: heroLight 3.4s ease-out .4s both;
}
/* Textura de grano fotográfico */
.hero-home__grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  /* El grano queda en la zona oscura del texto, no sobre la fotografía */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 52%, #000 72%);
  mask-image: linear-gradient(180deg, transparent 0%, transparent 52%, #000 72%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-home__content { position: relative; z-index: 2; padding: 0 0 72px; margin-top: -96px; }
.hero-home h1 { font-size: clamp(2.45rem, 10vw, 5rem); line-height: 1.0; letter-spacing: -.018em; }
.hero-home h1 em { color: var(--gold-2); }
.hero-home h1 .line { display: block; overflow: hidden; padding: 0 .12em .1em 0; margin-bottom: -.1em; }
.hero-home h1 .line > span { display: inline-block; animation: heroLine 1.3s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--d, .3s); }
.hero-home .lead { margin-top: 28px; color: rgba(247, 241, 232, .8); max-width: 54ch; }
.hero-home .eyebrow { color: var(--gold-2); }
.hero-home__eyebrow { flex-wrap: wrap; row-gap: 8px; line-height: 1.5; }
.hero-home__eyebrow-2 { flex-basis: 100%; padding-left: 40px; }
@media (max-width: 640px) {
  .hero-home__eyebrow { display: block; font-size: .74rem; letter-spacing: .14em; }
  .hero-home__eyebrow::before { display: block; margin-bottom: 14px; }
  .hero-home__eyebrow-2 { display: block; padding-left: 0; margin-top: 6px; }
}
.hero-in { animation: heroFade 1.2s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--d, .2s); }
.hero-home__glow {
  position: absolute; z-index: -1; width: 900px; height: 900px; border-radius: 50%;
  left: -320px; bottom: -520px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(110, 15, 37, .55), rgba(110, 15, 37, 0));
  animation: heroLight 3s ease-out .2s both;
}
.hero-home__sig { margin-top: 44px; display: flex; align-items: center; gap: 16px; color: rgba(247, 241, 232, .6); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.hero-home__sig::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

/* Símbolo del logo que se dibuja en el fondo */
.hero-home__mark-wrap {
  position: absolute; z-index: 1; pointer-events: none;
  width: 135vw; aspect-ratio: 1; left: -62vw; top: calc(60svh - 30vw); opacity: .16;
}
.hero-home__mark { width: 100%; height: 100%; overflow: visible; }
.hero-home__mark path { fill: var(--gold); opacity: .75; }
.hero-home__mark .hm-fig circle { fill: var(--gold-2); opacity: .7; }
.hm-fig { transform-box: view-box; transform-origin: 219px 219px; animation: hmFig 1.6s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(1s + var(--i) * .14s); }
.hm-ring { fill: none; stroke: var(--gold-2); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hmRing 2.6s cubic-bezier(.65, 0, .35, 1) .5s forwards; }
.hm-ring--thin { stroke-width: 3.5; animation-delay: .8s; }

/* Indicador de desplazamiento */
.hero-home__scroll {
  display: none; position: absolute; z-index: 4; left: 50%; bottom: 30px; transform: translateX(-50%);
  flex-direction: column; align-items: center; gap: 12px;
  font-size: .64rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(247, 241, 232, .5);
}
.hero-home__scroll i { position: relative; width: 1px; height: 52px; overflow: hidden; background: rgba(247, 241, 232, .16); }
.hero-home__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: var(--gold-2); animation: scrollLine 2.6s cubic-bezier(.65, 0, .35, 1) 2.4s infinite both; }

@keyframes heroPhoto { from { opacity: 0; transform: scale(1.14); filter: brightness(.55) saturate(.85); } to { opacity: 1; transform: none; filter: none; } }
@keyframes heroLight { from { opacity: 0; } }
@keyframes heroLine { from { transform: translateY(108%); } to { transform: none; } }
@keyframes heroFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hmFig { from { opacity: 0; transform: scale(.78) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes hmRing { to { stroke-dashoffset: 0; } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(230%); } }

@media (min-width: 900px) {
  .hero-home { min-height: min(100svh, 980px); display: flex; align-items: center; }
  .hero-home__media { position: absolute; inset: 0 0 0 auto; width: 54%; height: 100%; max-height: none; }
  .hero-home__media img { object-position: 50% 22%; }
  .hero-home__media::after {
    background:
      linear-gradient(90deg, var(--night) 0%, rgba(18, 14, 14, .88) 14%, rgba(18, 14, 14, 0) 46%),
      linear-gradient(180deg, rgba(18, 14, 14, .6) 0%, rgba(18, 14, 14, 0) 20%, rgba(18, 14, 14, 0) 78%, var(--night) 100%);
  }
  .hero-home__content { margin-top: 0; padding: calc(var(--header-h) + 64px) 0 120px; }
  .hero-home__text { max-width: min(720px, 52vw); }
  .hero-home h1 { font-size: clamp(3.3rem, 5.7vw, 6rem); }
  .hero-home__mark-wrap { width: min(980px, 72vw); left: -24vw; top: 50%; translate: 0 -50%; opacity: .15; }
  .hero-home__grain {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 36%, transparent 50%);
    mask-image: linear-gradient(90deg, #000 0%, #000 36%, transparent 50%);
  }
  .hero-home__scroll { display: flex; }
}

/* Entrada del encabezado y héroes internos */
.has-dark-hero .site-header { animation: heroFade 1.1s cubic-bezier(.16, 1, .3, 1) .1s both; }
.page-hero .breadcrumb, .page-hero .eyebrow, .page-hero h1, .page-hero .lead, .page-hero .actions, .page-hero .chip {
  animation: heroFade 1.1s cubic-bezier(.16, 1, .3, 1) both;
}
.page-hero .breadcrumb { animation-delay: .05s; }
.page-hero .chip { animation-delay: .12s; }
.page-hero .eyebrow { animation-delay: .18s; }
.page-hero h1 { animation-delay: .28s; }
.page-hero .lead { animation-delay: .42s; }
.page-hero .actions { animation-delay: .56s; }
.page-hero__deco { animation: heroLight 2.4s ease-out .3s both; }

/* ---------- Héroe páginas internas ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero .lead { margin-top: 24px; }
.page-hero h1 { max-width: 18ch; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center .actions { justify-content: center; }
.page-hero__deco {
  position: absolute; right: -140px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%);
  opacity: .14; pointer-events: none; --mark-main: var(--mocha); --mark-soft: var(--gold);
}
.page-hero.bg-night .page-hero__deco, .page-hero.bg-wine .page-hero__deco { opacity: .12; --mark-main: var(--ivory); --mark-soft: var(--gold); }
@media (max-width: 899px) { .page-hero__deco { width: 340px; height: 340px; right: -170px; top: 24%; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--ink-3); margin-bottom: 28px; letter-spacing: .02em; }
.breadcrumb a:hover { color: var(--wine); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.bg-night .breadcrumb, .bg-wine .breadcrumb { color: rgba(247, 241, 232, .6); }

/* Héroe con retrato */
.portrait-hero { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .portrait-hero { grid-template-columns: 1.1fr .9fr; } }
.arch {
  position: relative; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--ivory-2); box-shadow: var(--shadow-md);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.arch-wrap { position: relative; isolation: isolate; max-width: 480px; margin-inline: auto; width: 100%; }
.arch-wrap::before {
  content: ""; position: absolute; inset: -14px -14px 24px 24px; z-index: -1;
  border: 1px solid var(--gold); border-radius: 999px 999px var(--radius-lg) var(--radius-lg); opacity: .6;
}
.arch-badge {
  position: absolute; left: -12px; bottom: 36px; background: var(--paper); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow-md); display: flex; gap: 12px; align-items: center; max-width: 260px;
}
.arch-badge strong { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--wine); line-height: 1; }
.arch-badge span { font-size: .8rem; line-height: 1.35; color: var(--ink-2); }
@media (max-width: 520px) { .arch-badge { left: 8px; } }

/* ---------- Franja de autoridad ---------- */
.authority { background: var(--ivory-2); border-bottom: 1px solid var(--line); }
.authority__stats { display: grid; grid-template-columns: repeat(2, 1fr); }
.authority__stat { padding: 30px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.authority__stat:nth-child(odd) { border-right: 1px solid var(--line); }
.authority__stat strong { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--wine); line-height: 1.05; }
.authority__stat span { display: block; margin-top: 6px; font-size: .82rem; color: var(--ink-2); letter-spacing: .02em; line-height: 1.4; }
@media (min-width: 900px) {
  .authority__stats { grid-template-columns: repeat(4, 1fr); }
  .authority__stat { border-bottom: 0; border-right: 1px solid var(--line); padding: 40px 24px; }
  .authority__stat:last-child { border-right: 0; }
}
.clients { padding: 34px 0 40px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.clients__label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.clients__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px clamp(22px, 4vw, 52px); }
.clients__list li {
  font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 600; letter-spacing: .06em;
  color: var(--ink-3); text-transform: uppercase; opacity: .85; transition: color .25s, opacity .25s; white-space: nowrap;
}
.clients__list li:hover { color: var(--ink); opacity: 1; }

/* ---------- Declaración ---------- */
.statement { text-align: center; }
.statement__mark { width: 64px; height: 64px; margin: 0 auto 36px; }
.statement blockquote p {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  line-height: 1.22; letter-spacing: -.01em; color: var(--ink); text-wrap: balance;
}
.statement blockquote p em { color: var(--wine); }
.statement__body { margin: 36px auto 0; max-width: 62ch; color: var(--ink-2); font-size: 1.1rem; }
.statement__sig { margin-top: 30px; font-family: var(--script); font-size: 2.4rem; color: var(--mocha); line-height: 1; }

/* Escuela Lina Hernández (bloque institucional) */
.school {
  margin: clamp(48px, 7vw, 80px) auto 0; padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 48px);
  max-width: 820px; text-align: center; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid rgba(185, 138, 61, .35); position: relative;
}
.school::before, .school::after { content: ""; position: absolute; left: 50%; width: 64px; height: 1px; background: var(--gold); transform: translateX(-50%); }
.school::before { top: -1px; } .school::after { bottom: -1px; }
.school .eyebrow { justify-content: center; margin-bottom: 14px; color: var(--mocha); }
.school__text { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.35; color: var(--ink); text-wrap: balance; }
.school__pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 22px; }
.school__pillars li { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); padding: 7px 14px; border-radius: 999px; background: rgba(110, 15, 37, .06); }

/* ---------- Rutas ---------- */
.route-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(110, 15, 37, .3); }
.route-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.route-card__icon { width: 46px; height: 46px; color: var(--wine); }
.route-card__icon svg { width: 100%; height: 100%; }
.route-card__num { font-family: var(--serif); font-size: 1.05rem; color: var(--gold); font-weight: 600; }
.route-card__label { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.route-card h3 { font-size: clamp(1.55rem, 2vw, 1.8rem); margin-bottom: 14px; }
.route-card p { color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.route-card .link-arrow { margin-top: auto; padding-top: 26px; }
.route-card__stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Método ---------- */
.method { overflow: hidden; }
.method__deco {
  position: absolute; width: 780px; height: 780px; right: -260px; top: 50%; transform: translateY(-50%);
  opacity: .1; pointer-events: none; --mark-main: var(--ivory); --mark-soft: var(--gold-2);
}
.method__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 1000px) { .method__grid { grid-template-columns: .95fr 1.05fr; align-items: center; } }
.pillars { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { background: rgba(58, 7, 19, .92); padding: 30px 28px; transition: background-color .3s; }
.bg-night .pillar { background: var(--night-2); }
.pillar:hover { background: rgba(110, 15, 37, .5); }
.pillar__num { font-family: var(--serif); font-size: 1rem; color: var(--gold-2); font-weight: 600; letter-spacing: .06em; }
.pillar h3 { font-size: 1.7rem; margin: 14px 0 10px; }
.pillar p { font-size: .95rem; color: rgba(247, 241, 232, .74); line-height: 1.6; }
.method__note { margin-top: 26px; font-size: .82rem; color: rgba(247, 241, 232, .55); }

/* Método: recorrido 3D ligado al scroll ("collection surfer")
   Solo en escritorio y con movimiento permitido; si no, queda la grilla. */
.method__steps, .method__hint, .method__progress, .pillar__mark { display: none; }
.method--surf { height: 360vh; padding: 0; overflow: visible; }
.method--surf:has(.pillars--six) { height: 500vh; }
/* Etapas marcadas solo con su letra (sin significado atribuido) */
.pillar h3.pillar__letter { font-family: var(--serif); font-weight: 500; font-size: clamp(3.2rem, 6vw, 4.4rem); line-height: .9; letter-spacing: -.02em; color: var(--ivory); margin: 14px 0 0; }
.pillars--six .pillar .pillar__num { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.4; }
.pillars--six .pillar p { margin-top: 10px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(247, 241, 232, .55); }
.pillars--six { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) {
  .pillars--six .pillar { padding: 24px 20px; }
  .pillars--six .pillar .pillar__num { letter-spacing: .1em; font-size: .72rem; }
  .pillars--six .pillar p { font-size: .72rem; letter-spacing: .06em; }
}
@media (min-width: 900px) { .pillars--six { grid-template-columns: repeat(3, 1fr); } }
.method--surf .pillars--six .pillar .pillar__num { font-size: .82rem; letter-spacing: .22em; color: var(--gold-2); }
.method--surf .pillars--six .pillar h3.pillar__letter { font-size: 12rem; margin: auto 0 4px; color: var(--ivory); text-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.method--surf .pillars--six .pillar p { font-size: .82rem; }
.method--surf .method__grid:has(.pillars--six) .method__steps {
  grid-template-columns: repeat(6, 1fr); gap: 6px; max-width: 420px; border-top: 0;
}
.method--surf .method__grid:has(.pillars--six) .method__steps li {
  flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 12px !important;
  font-size: 1.9rem !important; line-height: 1; border-bottom: 1px solid var(--line-light);
}
.method--surf .method__grid:has(.pillars--six) .method__steps li span { font-family: var(--sans); font-size: .7rem; }
.method--surf .method__grid:has(.pillars--six) .method__steps li.is-active { padding-left: 0; }
.method--surf .method__sticky { position: sticky; top: 0; height: 100vh; min-height: 660px; display: flex; align-items: center; overflow: hidden; }
.method--surf .method__grid { width: min(100% - 2 * var(--gutter), var(--container)); padding-top: 24px; }
.method--surf .method__grid h2 { font-size: clamp(2.1rem, 3.1vw, 2.9rem); }
.method--surf .method__grid .lead { font-size: 1.02rem; max-width: 48ch; }
.method--surf .method__grid .actions { margin-top: 26px; }
@media (max-height: 780px) {
  .method--surf .method__steps { margin-top: 22px; }
  .method--surf .method__steps li { padding: 8px 0; font-size: 1.2rem; }
  .method--surf .pillars { height: 440px; }
  .method--surf .pillar { height: 400px; margin-top: -200px; }
}
.method--surf .method__steps { display: grid; margin-top: 34px; max-width: 440px; border-top: 1px solid var(--line-light); }
.method__steps li {
  position: relative; display: flex; align-items: baseline; gap: 18px; padding: 13px 0;
  border-bottom: 1px solid var(--line-light); font-family: var(--serif); font-size: 1.35rem; line-height: 1.2;
  color: rgba(247, 241, 232, .42); transition: color .6s var(--ease-out), padding-left .6s var(--ease-out);
}
.method__steps li span { font-size: .9rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-2); opacity: .5; transition: opacity .6s; }
.method__steps li::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.method__steps li.is-active { color: var(--ivory); padding-left: 12px; }
.method__steps li.is-active span { opacity: 1; }
.method__steps li.is-active::after { transform: scaleX(1); }
.method--surf .pillars {
  position: relative; display: block; height: 500px; perspective: 1600px; perspective-origin: 20% 50%;
  background: none; border: 0; border-radius: 0; overflow: visible;
}
.method--surf .pillar {
  position: absolute; left: 50%; top: 50%; width: 350px; height: 440px; margin: -220px 0 0 -175px; padding: 0;
  background: none; transform-style: preserve-3d; will-change: transform, opacity;
}
.method--surf .pillar:hover { background: none; }
.method--surf .pillar__inner {
  position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column;
  padding: 40px 36px 38px; border-radius: 22px; border: 1px solid rgba(207, 174, 116, .3);
  background:
    radial-gradient(90% 70% at var(--mx, 70%) var(--my, 0%), rgba(207, 174, 116, .2), rgba(207, 174, 116, 0) 60%),
    linear-gradient(165deg, #92193A 0%, var(--wine) 46%, #26040C 100%);
  box-shadow: 0 50px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.method--surf .pillar.is-magnetic .pillar__inner { transition: transform .15s linear; box-shadow: 0 60px 110px rgba(0, 0, 0, .55), 0 0 40px rgba(207, 174, 116, .12), inset 0 1px 0 rgba(255, 255, 255, .14); }
.method--surf .pillar__mark { display: block; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; opacity: .13; --mark-main: var(--ivory); --mark-soft: var(--gold-2); pointer-events: none; }
.method--surf .pillar__num { font-size: 4.8rem; line-height: 1; font-weight: 500; letter-spacing: -.02em; color: var(--gold-2); }
.method--surf .pillar h3 { font-size: 2.7rem; margin: auto 0 14px; }
.method--surf .pillar p { font-size: 1.04rem; line-height: 1.6; color: rgba(247, 241, 232, .8); }
.method--surf .method__hint {
  display: flex; align-items: center; gap: 12px; position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  font-size: .66rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: rgba(247, 241, 232, .5);
  transition: opacity .6s;
}
.method--surf .method__hint::before { content: ""; width: 34px; height: 1px; background: var(--gold-2); }
.method--surf.is-ending .method__hint { opacity: 0; }
.method--surf .method__progress { display: block; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold-2); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: .8; }

/* ---------- Experiencias ---------- */
.exp-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.exp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.exp-card__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.exp-card__art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s var(--ease); }
.exp-card:hover .exp-card__art svg { transform: scale(1.04); }
.exp-card__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.exp-card:hover .exp-card__art img { transform: scale(1.05); }
.exp-card__art--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 14, 14, .28) 0%, rgba(18, 14, 14, 0) 40%); pointer-events: none; }

/* Fotografía real destacada (eventos, escenario) */
.photo-feature { position: relative; margin: 0 0 clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--night); box-shadow: var(--shadow-md); }
.photo-feature img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.photo-feature figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 64px clamp(20px, 3vw, 36px) clamp(20px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(18, 14, 14, 0) 0%, rgba(18, 14, 14, .78) 100%);
  color: var(--ivory); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px;
}
.photo-feature figcaption strong { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; max-width: 30ch; }
.photo-feature figcaption span { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
@media (min-width: 700px) { .photo-feature { aspect-ratio: 16 / 9; } .photo-feature img { object-position: 50% 68%; } }
.exp-card__tag {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: rgba(247, 241, 232, .92); color: var(--ink);
}
.exp-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.exp-card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.exp-card p { color: var(--ink-2); font-size: .97rem; line-height: 1.6; }
.exp-card .link-arrow { margin-top: auto; padding-top: 22px; }
.exp-card--feature { border-color: rgba(110, 15, 37, .35); }

/* ---------- Transformaciones: pila que se pliega ("case study flip stack") ----------
   Sin JS / móvil: tarjetas una debajo de otra. Con JS en escritorio (.flip--on):
   la pila queda fija y cada tarjeta se pliega hacia arriba al hacer scroll. */
.flip__intro { margin-bottom: clamp(36px, 5vw, 64px); }
.flip__hint { display: none; }
.flip-card {
  position: relative; display: grid; overflow: hidden; border-radius: 24px; margin-bottom: 24px;
  background: var(--wine-deep); color: var(--ivory); box-shadow: var(--shadow-md);
}
.flip-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; padding: clamp(28px, 4.5vw, 64px); }
.flip-card__num { font-family: var(--serif); font-size: 1rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-2); }
.flip-card .eyebrow { margin: 18px 0 16px; color: var(--gold-2); }
.flip-card__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.06; letter-spacing: -.012em; max-width: 16ch; text-wrap: balance; }
.flip-card__compare { display: grid; gap: 18px; margin-top: clamp(24px, 3vw, 40px); padding-top: 24px; border-top: 1px solid var(--line-light); }
@media (min-width: 640px) { .flip-card__compare { grid-template-columns: 1fr 1fr; gap: 28px; } }
.flip-card__compare dt { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.flip-card__compare dd { margin: 0; font-size: .98rem; line-height: 1.55; color: rgba(247, 241, 232, .8); }
.flip-card .link-arrow { margin-top: auto; padding-top: 28px; color: var(--gold-2); align-self: flex-start; }
.flip-card__media { position: relative; min-height: 280px; overflow: hidden; }
.flip-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flip-card__media--mark { display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 50%, rgba(207, 174, 116, .14), rgba(207, 174, 116, 0) 70%); }
.flip-card__media--mark svg { width: min(70%, 360px); height: auto; aspect-ratio: 1; --mark-main: var(--gold-2); --mark-soft: rgba(231, 215, 184, .5); }
.flip-card__shade { position: absolute; inset: 0; z-index: 2; background: #0B0808; opacity: 0; pointer-events: none; }
.flip-card--wine { background: linear-gradient(150deg, #8A1631 0%, var(--wine) 45%, var(--wine-deep) 100%); }
.flip-card--night { background: radial-gradient(120% 90% at 85% 10%, #2B2121 0%, var(--night) 70%); }
.flip-card--mocha { background: linear-gradient(150deg, #7A5850 0%, #5E423C 55%, #3E2B27 100%); }
.flip-card--ivory { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.flip-card--ivory .eyebrow, .flip-card--ivory .flip-card__compare dt { color: var(--wine); }
.flip-card--ivory .flip-card__num { color: var(--gold); }
.flip-card--ivory .flip-card__compare { border-color: var(--line); }
.flip-card--ivory .flip-card__compare dd { color: var(--ink-2); }
.flip-card--ivory .link-arrow { color: var(--wine); }
@media (min-width: 900px) { .flip-card { grid-template-columns: 1.15fr .85fr; min-height: 540px; } }
.flip__end { text-align: center; padding: clamp(40px, 6vw, 72px) 0 0; }
.flip__end p { font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.15; max-width: 22ch; margin: 0 auto; text-wrap: balance; }
.flip__end p em { color: var(--wine); }
.flip__end .actions { justify-content: center; }

.flip--on { padding-bottom: 0; }
.flip--on .flip__hint {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 28px;
  font-size: .68rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3);
}
.flip--on .flip__hint svg { width: 16px; height: 16px; color: var(--wine); transform: rotate(90deg); animation: hintBob 2.2s ease-in-out infinite; }
@keyframes hintBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
.flip--on .flip__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.flip--on .flip__stage { position: relative; height: min(76vh, 620px); perspective: 2200px; perspective-origin: 50% 0%; }
.flip--on .flip-card { position: absolute; inset: 0; margin: 0; min-height: 0; transform-origin: 50% 0%; will-change: transform, opacity; backface-visibility: hidden; }
.flip--on .flip__end { position: absolute; inset: 0; z-index: 0; display: grid; place-content: center; padding: 0; opacity: 0; }

/* ---------- Libro / bloque destacado ---------- */
.feature-book { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .feature-book { grid-template-columns: .8fr 1.2fr; } }
.book {
  position: relative; width: min(300px, 76%); aspect-ratio: 2 / 3; margin-inline: auto;
  border-radius: 3px 10px 10px 3px; color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .35) 0, rgba(0, 0, 0, 0) 4%, rgba(255, 255, 255, .08) 5%, rgba(0, 0, 0, 0) 7%),
    radial-gradient(120% 80% at 70% 10%, #8B1A36 0%, var(--wine) 45%, var(--wine-deep) 100%);
  box-shadow: 24px 30px 50px rgba(58, 7, 19, .28), 6px 6px 14px rgba(0, 0, 0, .15);
  display: flex; flex-direction: column; justify-content: space-between; padding: 30px 26px 26px 34px;
  transform: perspective(1200px) rotateY(-10deg); transition: transform .6s var(--ease);
}
.book:hover { transform: perspective(1200px) rotateY(-3deg); }
.book::after { content: ""; position: absolute; inset: 12px 12px 12px 22px; border: 1px solid rgba(207, 174, 116, .45); border-radius: 2px; pointer-events: none; }
.book__mark { width: 54px; height: 54px; --mark-main: var(--gold-2); --mark-soft: rgba(231, 215, 184, .55); }
.book__title { font-family: var(--serif); font-size: 1.85rem; line-height: 1.05; font-style: italic; }
.book__title small { display: block; font-style: normal; font-family: var(--sans); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; font-weight: 700; }
.book__author { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }

.book__caption { margin-top: 22px; text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; max-width: 640px; }
.inline-form .input { flex: 1 1 240px; }
.inline-form .consent { flex-basis: 100%; }
.form-note { margin-top: 12px; font-size: .8rem; color: var(--ink-3); }

.mini-card { display: flex; gap: 20px; align-items: flex-start; padding: 26px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); margin-top: 40px; }
.mini-card__icon { width: 52px; height: 52px; flex: none; }
.mini-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.mini-card p { font-size: .95rem; color: var(--ink-2); }
.mini-card .link-arrow { margin-top: 10px; }

/* ---------- Agenda ---------- */
.agenda { border-top: 1px solid var(--line); }
.agenda-row {
  display: grid; grid-template-columns: 76px 1fr; gap: 6px 20px; align-items: center;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
  transition: background-color .25s;
}
.agenda-row:hover { background: rgba(255, 255, 255, .45); }
.date-block { grid-row: span 2; text-align: center; border-right: 1px solid var(--line); padding-right: 18px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.date-block strong { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--wine); }
.date-block span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.date-block--range strong { font-size: 1.45rem; }
.agenda-row__main h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
.agenda-row__main p { font-size: .88rem; color: var(--ink-3); margin-top: 2px; }
.agenda-row__place { font-size: .92rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.agenda-row__place svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
.agenda-row__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; grid-column: 2; }
@media (min-width: 900px) {
  .agenda-row { grid-template-columns: 88px 1.3fr .9fr 250px; gap: 24px; padding: 26px 18px; }
  .date-block { grid-row: auto; }
  .agenda-row__cta { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 10px; }
}
@media (min-width: 1200px) {
  .agenda-row { grid-template-columns: 96px 1.5fr 1fr 440px; gap: 28px; }
  .agenda-row__cta { flex-direction: row; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 14px; }
}

/* Agenda: resaltado al pasar el cursor y efecto al seleccionar */
.agenda-row { position: relative; isolation: isolate; overflow: hidden; transition: background-color .45s var(--ease); }
.agenda-row:hover { background: transparent; }
.agenda-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(110, 15, 37, .075) 0%, rgba(110, 15, 37, .03) 55%, rgba(110, 15, 37, 0) 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .75s var(--ease-out);
}
.agenda-row::after {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px;
  background: var(--wine); transform: scaleY(0); transition: transform .55s var(--ease-out);
}
.agenda-row--link { cursor: pointer; }
.agenda-row .date-block, .agenda-row__main { transition: transform .6s var(--ease-out); }
.agenda-row .date-block strong, .agenda-row .date-block span { transition: color .4s, transform .6s var(--ease-out); }
.agenda-row__main h3 { display: inline; padding-bottom: 4px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--ease-out); }
.agenda-row__main p { margin-top: 6px; }
.agenda-row__place svg { transition: transform .5s var(--ease-out), color .4s; }
.agenda-row:hover::before, .agenda-row:focus-within::before, .agenda-row.is-selected::before { transform: scaleX(1); }
.agenda-row:hover::after, .agenda-row:focus-within::after, .agenda-row.is-selected::after { transform: scaleY(1); }
.agenda-row:hover .date-block, .agenda-row:focus-within .date-block { transform: translateX(6px); }
.agenda-row:hover .agenda-row__main, .agenda-row:focus-within .agenda-row__main { transform: translateX(10px); }
.agenda-row:hover .date-block strong, .agenda-row:focus-within .date-block strong { color: var(--wine-2); transform: scale(1.08); }
.agenda-row:hover .date-block span, .agenda-row:focus-within .date-block span { color: var(--wine); }
.agenda-row:hover .agenda-row__main h3, .agenda-row:focus-within .agenda-row__main h3, .agenda-row.is-selected .agenda-row__main h3 { background-size: 100% 1px; }
.agenda-row:hover .agenda-row__place svg, .agenda-row:focus-within .agenda-row__place svg { transform: translateY(-3px); color: var(--wine); }
.agenda-row:hover .btn--ghost, .agenda-row:focus-within .btn--ghost { --btn-bd: var(--wine); --btn-fg: var(--wine); --btn-bg: rgba(255, 255, 255, .5); }
.agenda-row .btn.btn--ghost:hover, .agenda-row .btn.btn--ghost:focus-visible { --btn-bg: var(--wine); --btn-fg: var(--ivory); --btn-bd: var(--wine); }
.agenda-row:hover .chip--open::before, .agenda-row.is-selected .chip--open::before { animation: livePulse 1.6s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(30, 107, 69, .5); } 100% { box-shadow: 0 0 0 7px rgba(30, 107, 69, 0); } }
.agenda-row.is-selected { background: rgba(110, 15, 37, .035); }
.agenda-ripple {
  position: absolute; z-index: -1; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  background: rgba(110, 15, 37, .18); pointer-events: none; animation: agendaRipple 1s var(--ease-out) forwards;
}
@keyframes agendaRipple { to { transform: scale(70); opacity: 0; } }

.chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; border: 1px solid currentColor; line-height: 1;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--open { color: #1E6B45; background: rgba(30, 107, 69, .08); border-color: rgba(30, 107, 69, .35); }
.chip--soon { color: #8A6420; background: rgba(185, 138, 61, .1); border-color: rgba(185, 138, 61, .45); }
.chip--list { color: var(--mocha); background: rgba(134, 98, 90, .08); border-color: rgba(134, 98, 90, .35); }
.chip--intl { color: var(--wine); background: rgba(110, 15, 37, .06); border-color: rgba(110, 15, 37, .3); }
.chip--done { color: var(--ink-3); border-color: var(--line-strong); }

/* ---------- Testimonio ---------- */
.testimonial { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.testimonial__quote-mark { font-family: var(--serif); font-size: 7rem; line-height: .6; color: var(--gold); height: 52px; display: block; }
.testimonial blockquote p { font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.3; font-style: italic; font-weight: 500; }
.testimonial figcaption { margin-top: 32px; display: inline-flex; flex-direction: column; gap: 2px; }
.testimonial figcaption strong { font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.testimonial figcaption span { font-size: .85rem; color: var(--ink-3); }
.bg-night .testimonial figcaption span, .bg-wine .testimonial figcaption span { color: rgba(247, 241, 232, .6); }

.quote-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; display: flex; flex-direction: column; height: 100%; }
.quote-card p { font-family: var(--serif); font-size: 1.32rem; line-height: 1.4; font-style: italic; }
.quote-card footer { margin-top: auto; padding-top: 24px; font-size: .85rem; color: var(--ink-3); }
.quote-card footer strong { display: block; color: var(--ink); font-size: .92rem; }

/* ---------- Cierre / banda CTA ---------- */
.closing { position: relative; overflow: hidden; }
.closing__grid { display: grid; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (min-width: 900px) { .closing__grid { grid-template-columns: .85fr 1.15fr; } }
.closing h2 { font-size: clamp(1.95rem, 3.6vw, 3.05rem); line-height: 1.12; }

.cta-band { border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); background: var(--wine-deep); color: var(--ivory); position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 22ch; }
.cta-band .lead { color: rgba(247, 241, 232, .76); margin-top: 16px; }
.cta-band__deco { position: absolute; right: -110px; bottom: -150px; width: 420px; height: 420px; opacity: .13; --mark-main: var(--ivory); --mark-soft: var(--gold-2); pointer-events: none; }

/* ---------- Tarjetas genéricas ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px); height: 100%; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(110, 15, 37, .3); }
.card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: .97rem; line-height: 1.62; }
.card .link-arrow, .card .btn { margin-top: auto; }
.card > .link-arrow, .card > .btn { margin-top: 24px; align-self: flex-start; }
.card__icon { width: 44px; height: 44px; color: var(--wine); margin-bottom: 26px; }
.card__icon svg { width: 100%; height: 100%; }
.card__meta { display: grid; gap: 10px; margin: 18px 0 4px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.card__meta dt { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.card__meta dd { margin: 2px 0 0; color: var(--ink-2); }
/* Ficha del programa sobre fondo vino (solo esta lista; las tarjetas claras conservan sus colores) */
.adn-meta { grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: 32px; max-width: 480px; border-color: var(--line-light); }
.adn-meta dt { color: var(--gold-2); }
.adn-meta dd { color: rgba(247, 241, 232, .85); }
.card--dark { background: var(--night-2); border-color: var(--line-light); color: var(--ivory); }
.card--dark p { color: rgba(247, 241, 232, .74); }
.card--wine { background: var(--wine); border-color: var(--wine); color: var(--ivory); }
.card--wine p { color: rgba(247, 241, 232, .8); }
.card--wine .link-arrow, .card--dark .link-arrow { color: var(--gold-2); }

/* Listas */
.check-list { display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink-2); line-height: 1.55; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(110, 15, 37, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%236E0F25' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.on-dark .check-list li, .bg-night .check-list li, .bg-wine .check-list li { color: rgba(247, 241, 232, .82); }
.bg-night .check-list li::before, .bg-wine .check-list li::before {
  background: rgba(207, 174, 116, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23CFAE74' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.dash-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.dash-list li { padding: 18px 0 18px 44px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.dash-list li::before { content: counter(dl, decimal-leading-zero); counter-increment: dl; position: absolute; left: 0; top: 18px; font-family: var(--serif); font-weight: 600; color: var(--gold); font-size: 1.05rem; }
.dash-list { counter-reset: dl; }
.bg-night .dash-list, .bg-wine .dash-list, .bg-night .dash-list li, .bg-wine .dash-list li { border-color: var(--line-light); }
.bg-night .dash-list li, .bg-wine .dash-list li { color: rgba(247, 241, 232, .82); }

.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); padding: 5px 10px; border-radius: 999px; background: rgba(110, 15, 37, .07); }
.tag--gold { color: #7E5A1D; background: rgba(185, 138, 61, .14); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Tabla de selección (soluciones, unidades) */
.select-table { border-top: 1px solid var(--line); }
.select-row {
  display: grid; gap: 10px 32px; padding: 28px 4px; border-bottom: 1px solid var(--line); align-items: center;
  transition: background-color .25s;
}
.select-row:hover { background: rgba(255, 255, 255, .5); }
.select-row h3 { font-size: 1.6rem; }
.select-row__for, .select-row__result { font-size: .95rem; color: var(--ink-2); }
.select-row .btn, .select-row .link-arrow { justify-self: start; }
.select-row__label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
@media (min-width: 1000px) {
  .select-row { grid-template-columns: 1.1fr 1.2fr 1.3fr auto; padding: 32px 8px; }
  .select-row .btn, .select-row .link-arrow { justify-self: end; }
}

/* Pasos / línea de tiempo */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 36px 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  color: var(--wine); border: 1px solid rgba(110, 15, 37, .35); background: var(--paper);
}
.step::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: 8px; width: 1px; background: var(--line-strong); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.4rem; margin: 6px 0 6px; }
.step p { color: var(--ink-2); font-size: .97rem; }
.bg-night .step::before, .bg-wine .step::before { background: transparent; color: var(--gold-2); border-color: rgba(207, 174, 116, .45); }
.bg-night .step::after, .bg-wine .step::after { background: var(--line-light); }
.bg-night .step p, .bg-wine .step p { color: rgba(247, 241, 232, .74); }

/* Estadísticas */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); padding: 28px 24px; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--wine); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .86rem; color: var(--ink-2); line-height: 1.4; }

/* Credenciales */
.cred-list { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.cred-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-light); align-items: start; }
.cred-list svg { width: 28px; height: 28px; color: var(--gold-2); margin-top: 2px; }
.cred-list strong { display: block; font-weight: 600; color: var(--ivory); }
.cred-list span { display: block; font-size: .9rem; color: rgba(247, 241, 232, .65); margin-top: 2px; }

/* Ficha de facilitadora */
.bio-card { display: grid; gap: 28px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
@media (min-width: 700px) { .bio-card { grid-template-columns: 180px 1fr; } }
.bio-card__photo { width: 180px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--gold); padding: 6px; background: var(--paper); }
.bio-card__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.bio-card h3 { font-size: 1.8rem; }
.bio-card p { color: var(--ink-2); margin-top: 8px; font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.45rem); font-weight: 600; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M10 15h10M15 10v10' stroke='%236E0F25' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 30px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 4px 26px; color: var(--ink-2); max-width: 72ch; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 20px; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: .82rem; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.field .hint { font-size: .78rem; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 4px;
  font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23463E3B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(110, 15, 37, .12); }
.input::placeholder, .textarea::placeholder { color: #9A908A; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #A0262E; }
.field-error { font-size: .78rem; color: #A0262E; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; color: var(--ink-2); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--wine); flex: none; }
.consent input[aria-invalid="true"] { outline: 2px solid #A0262E; outline-offset: 2px; }
.form-success {
  display: none; padding: 22px 24px; border-radius: var(--radius); background: rgba(30, 107, 69, .08);
  border: 1px solid rgba(30, 107, 69, .3); color: #1E5A3C; font-size: .95rem;
}
.form-success.is-visible { display: block; }
.bg-night .input, .bg-wine .input { background: rgba(255, 255, 255, .06); border-color: rgba(247, 241, 232, .25); color: var(--ivory); }
.bg-night .input::placeholder, .bg-wine .input::placeholder { color: rgba(247, 241, 232, .5); }
.bg-night .form-note, .bg-wine .form-note { color: rgba(247, 241, 232, .55); }

.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-sm); }

.choice-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--white); font-size: .95rem; font-weight: 500; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.choice span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; transition: border .2s, background-color .2s; }
.choice input:checked + span { border-color: var(--wine); background: rgba(110, 15, 37, .04); box-shadow: 0 0 0 1px var(--wine) inset; }
.choice input:checked + span::before { border: 5px solid var(--wine); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Filtros ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-size: .85rem; font-weight: 600; color: var(--ink-2); transition: all .2s;
}
.filter-btn:hover { border-color: var(--wine); color: var(--wine); }
.filter-btn[aria-pressed="true"] { background: var(--wine); color: var(--ivory); border-color: var(--wine); }

/* ---------- Test interactivo ---------- */
.quiz { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow-sm); }
.quiz__progress { height: 3px; background: var(--ivory-2); border-radius: 3px; overflow: hidden; margin-bottom: 28px; }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--wine); transition: width .45s var(--ease); }
.quiz__step-label { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.quiz__question { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.18; margin: 12px 0 26px; font-weight: 500; }
.quiz__options { display: grid; gap: 10px; }
.quiz__option {
  text-align: left; width: 100%; padding: 16px 20px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--white);
  font-size: 1rem; font-weight: 500; color: var(--ink); display: flex; gap: 14px; align-items: center; transition: border-color .2s, background-color .2s, transform .2s;
}
.quiz__option:hover { border-color: var(--wine); background: rgba(110, 15, 37, .03); }
.quiz__option .k { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: var(--wine); border: 1px solid rgba(110, 15, 37, .3); }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; }
.quiz__back { background: none; border: 0; color: var(--ink-3); font-weight: 600; font-size: .9rem; padding: 8px 0; }
.quiz__back:hover { color: var(--ink); }
.quiz__result h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 10px 0 14px; }
.quiz__result p { color: var(--ink-2); }
.quiz__result .check-list { margin-top: 22px; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--night); color: rgba(247, 241, 232, .74); padding: clamp(64px, 8vw, 104px) 0 96px; font-size: .94rem; }
.site-footer .brand-full { --mark-main: #EFE3D3; --mark-soft: #B98A3D; }
.site-footer .brand-full .brand-name { color: #F2E8DA; }
.footer-top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; } }
.footer-claim { margin-top: 26px; max-width: 34ch; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: rgba(247, 241, 232, .86); font-style: italic; }
.footer-col h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--ivory); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold-2); flex: none; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center;
  transition: background-color .25s, border-color .25s, color .25s;
}
.socials a:hover { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 28px; font-size: .8rem; color: rgba(247, 241, 232, .5); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a:hover { color: var(--ivory); }

/* ---------- WhatsApp flotante ---------- */
/* Verde sobrio, compacto (círculo) para no tapar botones ni textos;
   la etiqueta aparece al pasar el cursor y el botón se oculta junto al pie de página. */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 0; border-radius: 50%;
  background: #2F5D4A; color: #F7F1E8; border: 1px solid rgba(207, 174, 116, .55);
  box-shadow: 0 10px 28px rgba(18, 14, 14, .22);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, opacity .35s var(--ease), translate .45s var(--ease-out);
}
.wa-float:hover { transform: translateY(-2px); background: #264E3E; box-shadow: 0 14px 34px rgba(18, 14, 14, .28); }
.wa-float svg { width: 25px; height: 25px; }
.wa-float span {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--night); color: var(--ivory);
  font-size: .85rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease-out);
}
.wa-float:hover span, .wa-float:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.wa-float.is-hidden { opacity: 0; translate: 0 14px; pointer-events: none; }
@media (max-width: 640px) { .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; } .wa-float span { display: none; } }

/* ---------- Arte de tarjetas (SVG) ---------- */
.art-wine { background: linear-gradient(160deg, #8A1631 0%, var(--wine) 45%, var(--wine-deep) 100%); }
.art-night { background: radial-gradient(120% 90% at 80% 0%, #2B2121 0%, var(--night) 70%); }
.art-desert { background: linear-gradient(180deg, #E9C9A2 0%, #D99A6A 52%, #B4643F 100%); }
.art-ivory { background: linear-gradient(160deg, #F4ECDF 0%, #E8DCC8 100%); }
.art-mocha { background: linear-gradient(160deg, #9C766D 0%, var(--mocha) 50%, #5E423C 100%); }
.art-gold { background: linear-gradient(160deg, #EBDDC2 0%, #D8BF92 100%); }

/* ---------- Ajustes de composición ---------- */
.page-hero > .container, .page-hero > .container--narrow, .cta-band > :not(.cta-band__deco) { position: relative; z-index: 1; }
.card--dark .card__icon, .card--wine .card__icon { color: var(--gold-2); }
.card .eyebrow, .exp-card .eyebrow, .bio-card .eyebrow, .quote-card .eyebrow { font-size: .78rem; line-height: 1.4; color: var(--mocha-ink); margin-bottom: 16px; }
.card--dark .eyebrow, .card--wine .eyebrow { color: var(--gold-2); }
.bg-wine .exp-card, .bg-night .exp-card, .bg-wine .card:not(.card--dark):not(.card--wine), .bg-night .card:not(.card--dark):not(.card--wine),
.bg-wine .form-panel, .bg-night .form-panel, .bg-wine .quote-card, .bg-night .quote-card { color: var(--ink); }
.bg-wine .form-panel .input, .bg-night .form-panel .input, .bg-wine .form-panel .select, .bg-night .form-panel .select,
.bg-wine .form-panel .textarea, .bg-night .form-panel .textarea { background: var(--white); border-color: var(--line-strong); color: var(--ink); }
.bg-wine .form-panel .input::placeholder, .bg-night .form-panel .input::placeholder { color: #9A908A; }
.bg-wine .form-panel .form-note, .bg-night .form-panel .form-note { color: var(--ink-3); }
.bg-night .field label, .bg-wine .field label, .bg-night .consent, .bg-wine .consent, .bg-night .field .hint, .bg-wine .field .hint { color: rgba(247, 241, 232, .82); }
.bg-night .form-panel .field label, .bg-wine .form-panel .field label, .bg-night .form-panel .consent, .bg-wine .form-panel .consent { color: var(--ink-2); }
.bg-night .select, .bg-wine .select, .bg-night .textarea, .bg-wine .textarea { background-color: rgba(255, 255, 255, .06); border-color: rgba(247, 241, 232, .25); color: var(--ivory); }
.bg-night .select option, .bg-wine .select option { color: var(--ink); }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px !important; }
.mt-m { margin-top: 32px !important; }
.mt-l { margin-top: 56px !important; }

/* ---------- Legibilidad: tamaños mínimos de textos secundarios ----------
   (revisión de Lina: algunas letras secundarias se veían pequeñas) */
.clients__label, .route-card__label, .select-row__label, .card__meta dt, .flip-card__compare dt,
.date-block span, .quiz__step-label, .footer-col h4 { font-size: .78rem; }
.chip { font-size: .74rem; }
.exp-card__tag { font-size: .72rem; }
.breadcrumb, .tiny, .form-note, .footer-bottom { font-size: .86rem; }
.field label, .field .label { font-size: .88rem; }
.consent { font-size: .9rem; }
.agenda-row__main p, .agenda-row__place { font-size: .95rem; }
.authority__stat span { font-size: .88rem; }
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .eyebrow { font-size: .8rem; letter-spacing: .16em; }
  .clients__label, .route-card__label, .select-row__label, .card__meta dt, .flip-card__compare dt,
  .date-block span, .quiz__step-label, .footer-col h4, .exp-card__tag, .chip { font-size: .8rem; }
  .breadcrumb, .tiny, .form-note, .footer-bottom, .book__caption { font-size: .9rem; }
  .lead { font-size: 1.1rem; }
  .card p, .exp-card p, .route-card p, .step p, .check-list li, .dash-list li, .faq details > div { font-size: 1rem; }
  .authority__stat span { font-size: .92rem; }
  .clients__list li { font-size: 1.15rem; }
  .tag { font-size: .78rem; }
  .pillars--six .pillar .pillar__num, .pillars--six .pillar p { font-size: .78rem; }
  .steps--becoac .step p { font-size: .8rem; }
  /* Cifras: que nada quede cortado en pantallas estrechas */
  .stats > * { min-width: 0; }
  .stat { padding: 22px 16px; }
  .stat strong { font-size: 1.8rem; }
  .stat--name strong { font-size: 1.3rem !important; }
  .stat span { font-size: .9rem; }
}

/* ---------- Dato pendiente de confirmar (solo durante la revisión) ----------
   Uso: <span class="pending" data-pendiente>Por confirmar</span>
   Antes de publicar, ningún elemento [data-pendiente] debe quedar en el HTML. */
.pending {
  display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: #7E5A1D;
  background: rgba(185, 138, 61, .1); border: 1px dashed rgba(185, 138, 61, .6);
}
.pending::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.bg-night .pending, .bg-wine .pending { color: var(--gold-soft); background: rgba(207, 174, 116, .1); border-color: rgba(207, 174, 116, .5); }

/* ---------- Movimiento (transiciones discretas, plan §14) ---------- */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.77, 0, .18, 1); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Títulos que emergen desde una máscara */
.motion .reveal-title { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.motion .reveal-title > .rt-inner { display: block; transform: translateY(105%); transition: transform 1.35s var(--ease-out); }
.motion .reveal-title.is-visible > .rt-inner { transform: none; }

/* Imágenes que se revelan como un telón */
.motion :where(.reveal-media) { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); }
.motion :where(.reveal-media) > img, .motion :where(.reveal-media) > svg { transform: scale(1.16); transition: transform 2s var(--ease-out); }
.motion :where(.reveal-media.is-visible) { clip-path: inset(0 0 0 0); }
.motion :where(.reveal-media.is-visible) > img, .motion :where(.reveal-media.is-visible) > svg { transform: none; }

/* Línea dorada de los antetítulos */
.motion .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) .15s; }
.motion .eyebrow.is-visible::before, .motion .hero-home .eyebrow::before { transform: scaleX(1); }
.motion .hero-home .eyebrow::before { transition-delay: .5s; }

/* Brillo sutil en botones */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .24) 50%, transparent 70%);
  translate: -130% 0; transition: translate .9s var(--ease-out);
}
.btn:hover::after { translate: 130% 0; }
.btn--ghost::after, .btn--ghost-light::after { background: linear-gradient(115deg, transparent 30%, rgba(207, 174, 116, .22) 50%, transparent 70%); }

/* Tarjetas de ruta: transición al pasar el cursor
   Una segunda cara en vino barre de izquierda a derecha (0,72 s, ease-out)
   sobre la cara clara; también se activa con el foco del teclado. */
.route-card { overflow: hidden; isolation: isolate; }
.route-card > :not(.route-card__reveal) { transition: transform .72s var(--ease-out), opacity .72s var(--ease-out); }
.route-card__reveal {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; padding: 32px 28px 28px;
  color: var(--ivory);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(207, 174, 116, .16) 0%, rgba(207, 174, 116, 0) 55%),
    linear-gradient(160deg, #8A1631 0%, var(--wine) 48%, var(--wine-deep) 100%);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .72s var(--ease-out);
}
.route-card__reveal > * { opacity: 0; transform: translateX(-18px); transition: opacity .5s var(--ease-out), transform .72s var(--ease-out); }
.route-card__reveal-mark {
  position: absolute; right: -60px; bottom: -60px; width: 210px; height: 210px; opacity: .16 !important; transform: rotate(-20deg) !important;
  --mark-main: var(--ivory); --mark-soft: var(--gold-2); transition: transform 1.2s var(--ease-out) !important;
}
.route-card__reveal .route-card__top { margin-bottom: 40px; }
.route-card__reveal .route-card__icon { color: var(--gold-2); }
.route-card__reveal .route-card__label { color: var(--gold-2); }
.route-card .route-card__reveal-title { font-family: var(--serif); font-size: clamp(1.7rem, 2.2vw, 2rem); line-height: 1.1; font-weight: 500; margin-bottom: 18px; color: var(--ivory); }
.route-card__reveal-list { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.route-card__reveal-list li { padding: 9px 0; border-bottom: 1px solid var(--line-light); font-size: .9rem; color: rgba(247, 241, 232, .86); }
.route-card__reveal-cta { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--gold-2); }
.route-card__reveal-cta svg { width: 18px; height: 18px; }

@media (hover: hover) {
  .route-card:hover .route-card__reveal, .route-card:focus-within .route-card__reveal { clip-path: inset(0 0 0 0); }
  .route-card:hover > :not(.route-card__reveal), .route-card:focus-within > :not(.route-card__reveal) { opacity: .35; }
  .route-card:hover > :not(.route-card__reveal):not(.route-card__stretch), .route-card:focus-within > :not(.route-card__reveal):not(.route-card__stretch) { transform: translateX(28px); }
  .route-card:hover .route-card__reveal > *, .route-card:focus-within .route-card__reveal > * { opacity: 1; transform: none; }
  .route-card:hover .route-card__reveal > :nth-child(2), .route-card:focus-within .route-card__reveal > :nth-child(2) { transition-delay: .08s; }
  .route-card:hover .route-card__reveal > :nth-child(3), .route-card:focus-within .route-card__reveal > :nth-child(3) { transition-delay: .14s; }
  .route-card:hover .route-card__reveal > :nth-child(4), .route-card:focus-within .route-card__reveal > :nth-child(4) { transition-delay: .2s; }
  .route-card:hover .route-card__reveal > :nth-child(5), .route-card:focus-within .route-card__reveal > :nth-child(5) { transition-delay: .26s; }
  .route-card:hover .route-card__reveal > :nth-child(6), .route-card:focus-within .route-card__reveal > :nth-child(6) { transition-delay: .32s; }
  .route-card:hover .route-card__reveal-mark, .route-card:focus-within .route-card__reveal-mark { transform: rotate(0deg) !important; }
  .route-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(58, 7, 19, .22); border-color: var(--wine); }
}
@media (hover: none) { .route-card__reveal { display: none; } }

/* Tarjetas de experiencia: movimiento elegante al pasar el cursor
   Elevación lenta, zoom de la imagen con velo vino y luz que sigue al cursor,
   línea dorada bajo el título y flecha dentro de un círculo que se llena. */
.exp-card.reveal { transition: opacity 1.1s var(--ease-out), transform .9s var(--ease-out), box-shadow .9s var(--ease-out), border-color .6s var(--ease); }
.exp-card--link { cursor: pointer; }
.exp-card__art::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(58, 7, 19, 0) 35%, rgba(58, 7, 19, .5) 100%);
  transition: opacity .9s var(--ease-out);
}
.exp-card__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 48%);
  transition: opacity .6s var(--ease-out);
}
.exp-card__art img, .exp-card__art svg { transition: transform 1.6s var(--ease-out) !important; }
.exp-card__tag { transition: transform .7s var(--ease-out), background-color .45s, color .45s; }
.exp-card h3 { padding-bottom: 10px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .9s var(--ease-out); }
.exp-card .link-arrow { position: relative; gap: 14px; border-bottom: 0; padding-bottom: 0; }
.exp-card .link-arrow::before {
  content: ""; position: absolute; left: 0; bottom: 4px; width: calc(100% - 48px); height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.exp-card .link-arrow svg {
  width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid rgba(110, 15, 37, .28);
  transition: background-color .5s var(--ease-out), border-color .5s, color .5s, transform .5s var(--ease-out);
}
.exp-card .link-arrow:hover svg { transform: none; }
@keyframes arrowLoop { 0% { transform: translateX(0); } 42% { transform: translateX(130%); } 43% { transform: translateX(-130%); } 100% { transform: translateX(0); } }

@media (hover: hover) {
  .exp-card:hover { transform: translateY(-8px); box-shadow: 0 34px 70px rgba(58, 7, 19, .16), 0 4px 14px rgba(25, 25, 25, .05); border-color: rgba(110, 15, 37, .28); }
  .exp-card:hover .exp-card__art img, .exp-card:hover .exp-card__art svg { transform: scale(1.07); }
  .exp-card:hover .exp-card__art::before, .exp-card:hover .exp-card__glow { opacity: 1; }
  .exp-card:hover .exp-card__tag { transform: translateX(4px); background: var(--wine); color: var(--ivory); }
  .exp-card:hover h3 { background-size: 64px 1px; }
  .exp-card:hover .link-arrow::before { transform: scaleX(1); }
  .exp-card:hover .link-arrow svg { background: var(--wine); border-color: var(--wine); color: var(--ivory); transform: scale(1.06); }
  .exp-card:hover .link-arrow svg use { animation: arrowLoop .85s var(--ease-out); }
}

/* Botón "Conversemos" del encabezado: píldora con flecha en círculo */
.header-cta {
  --btn-bg: var(--wine); --btn-bd: var(--wine); --btn-fg: var(--ivory);
  min-height: 46px; padding: 5px 5px 5px 22px; gap: 14px; border-radius: 999px;
  font-size: .9rem; letter-spacing: .03em;
  box-shadow: 0 10px 24px rgba(110, 15, 37, .22), inset 0 1px 0 rgba(255, 255, 255, .16);
  transition: background-color .4s var(--ease-out), color .4s, border-color .4s, box-shadow .5s var(--ease-out), translate .35s var(--ease-out);
}
.header-cta svg {
  width: 36px; height: 36px; padding: 10px; border-radius: 50%;
  background: rgba(247, 241, 232, .16); color: var(--ivory);
  transition: background-color .45s var(--ease-out), color .45s, transform .5s var(--ease-out);
}
.header-cta:hover { --btn-bg: var(--wine-2); --btn-bd: var(--wine-2); transform: none; box-shadow: 0 16px 34px rgba(110, 15, 37, .3), inset 0 1px 0 rgba(255, 255, 255, .2); }
.header-cta:hover svg { background: var(--ivory); color: var(--wine); transform: rotate(-45deg); }
.header-cta:hover svg use { animation: arrowLoop .8s var(--ease-out); }
/* Sobre el héroe oscuro: vidrio con borde dorado */
.has-dark-hero .site-header:not(.is-scrolled) .header-cta {
  --btn-bg: rgba(247, 241, 232, .06); --btn-fg: var(--ivory); --btn-bd: rgba(207, 174, 116, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 30px rgba(0, 0, 0, .25);
}
.has-dark-hero .site-header:not(.is-scrolled) .header-cta svg { background: var(--gold-2); color: var(--wine-deep); }
.has-dark-hero .site-header:not(.is-scrolled) .header-cta:hover { --btn-bg: var(--ivory); --btn-fg: var(--wine); --btn-bd: var(--ivory); }
.has-dark-hero .site-header:not(.is-scrolled) .header-cta:hover svg { background: var(--wine); color: var(--ivory); }

/* Encabezado que se oculta al bajar y reaparece al subir */
.site-header { transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), translate .55s var(--ease-out); }
.site-header.is-hidden { translate: 0 -100%; }

/* ---------- Método BECOAC®: insignia transversal (revisión del 18 de octubre de 2026) ----------
   Sello en cada programa, franja del método en las páginas internas y presencia en el pie.
   Solo letras y nombre del método: no atribuir significados hasta tener la codificación oficial. */
.becoac-seal {
  --seal-gap: 8px; display: inline-flex; align-items: center; gap: var(--seal-gap); align-self: flex-start;
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  color: var(--wine); padding: 6px 13px 6px 6px; border-radius: 999px;
  border: 1px solid rgba(185, 138, 61, .55); background: rgba(185, 138, 61, .09); white-space: nowrap;
}
.becoac-seal svg { width: 20px; height: 20px; flex: none; --mark-main: var(--wine); --mark-soft: var(--gold); }
/* El ® es otro elemento del sello: se anula el espacio entre elementos para que quede pegado a la C */
.becoac-seal sup { font-size: 1em; line-height: 0; letter-spacing: 0; vertical-align: .32em; margin-left: calc(-1 * var(--seal-gap) - .1em); }
a.becoac-seal { transition: background-color .3s var(--ease), border-color .3s var(--ease); }
a.becoac-seal:hover { background: rgba(185, 138, 61, .18); border-color: var(--gold); }
.on-dark .becoac-seal, .bg-wine .becoac-seal, .bg-night .becoac-seal, .site-footer .becoac-seal {
  color: var(--gold-2); border-color: rgba(207, 174, 116, .45); background: rgba(207, 174, 116, .08);
}
.on-dark .becoac-seal svg, .bg-wine .becoac-seal svg, .bg-night .becoac-seal svg, .site-footer .becoac-seal svg { --mark-main: var(--ivory); --mark-soft: var(--gold-2); }
/* En las tarjetas del ecosistema el sello va sobre la imagen, a la derecha de la etiqueta, para no desalinear los títulos */
.exp-card__body .becoac-seal {
  position: absolute; top: 18px; right: 18px; z-index: 2; --seal-gap: 6px; padding: 4px 11px 4px 5px;
  font-size: .68rem; background: rgba(251, 248, 243, .94); border-color: rgba(185, 138, 61, .7);
}
.exp-card__body .becoac-seal svg { width: 18px; height: 18px; }
.page-hero .becoac-seal { margin-top: 26px; animation: heroFade 1.1s cubic-bezier(.16, 1, .3, 1) .66s both; }
.site-footer .becoac-seal { margin-top: 22px; }

/* Alcance del método: dónde está presente */
.becoac-reach { margin-top: 26px; }
.becoac-reach__label { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mocha-ink); margin-bottom: 12px; }
.becoac-reach ul { display: flex; flex-wrap: wrap; gap: 8px; }
.becoac-reach li a, .becoac-reach li span {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.becoac-reach li a:hover { border-color: var(--wine); color: var(--wine); background: rgba(110, 15, 37, .05); }
.bg-wine .becoac-reach__label, .bg-night .becoac-reach__label { color: var(--gold-2); }
.bg-wine .becoac-reach li a, .bg-wine .becoac-reach li span { border-color: rgba(247, 241, 232, .24); color: rgba(247, 241, 232, .86); }
.bg-wine .becoac-reach li a:hover { border-color: var(--gold-2); color: var(--ivory); background: rgba(207, 174, 116, .1); }
.method--surf .becoac-reach { margin-top: 20px; }
.method--surf .becoac-reach li a { font-size: .76rem; padding: 6px 11px; }
@media (max-height: 820px) { .method--surf .becoac-reach { display: none; } }

/* Franja del método en las páginas internas */
.becoac-band { position: relative; overflow: hidden; padding-block: clamp(64px, 8vw, 112px); background: var(--paper); border-top: 1px solid var(--line); }
.becoac-band__deco { position: absolute; width: 560px; height: 560px; right: -200px; top: calc(50% - 280px); opacity: .07; pointer-events: none; }
.becoac-band__inner { position: relative; display: grid; gap: 28px 72px; align-items: center; }
@media (min-width: 900px) { .becoac-band__inner { grid-template-columns: auto 1fr; } }
.becoac-band__mark { display: inline-flex; align-items: flex-start; }
.becoac-band__word { display: flex; gap: clamp(6px, 1vw, 14px); }
.becoac-band__word li {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 8.4vw, 7.2rem); line-height: .9; color: var(--wine);
}
.becoac-band__word small {
  align-self: stretch; min-width: 30px; margin-top: 14px; padding-top: 9px; border-top: 1px solid var(--gold);
  font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .12em; line-height: 1; text-align: center; color: var(--mocha-ink);
}
.becoac-band__reg { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--gold); margin: .5em 0 0 .3em; }
.becoac-band__text h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); max-width: 20ch; }
.becoac-band__text .lead { margin-top: 18px; max-width: 54ch; }
.becoac-band__text .actions { margin-top: 26px; }

/* Transición suave entre páginas (navegadores compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .4s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .7s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-home__scroll { display: none !important; }
  @view-transition { navigation: none; }
}

/* ---------- Impresión ---------- */
@media print {
  .site-header, .wa-float, .mobile-menu { display: none !important; }
  body { background: #fff; }
}
