/* ═══════════════════════════════════════════════════════════════
   VITALIQI ESTHETIC — vq.css · sistema de diseño 2026 (mockups de Sergio)
   Núcleo común a toda la web: tokens, cabecera, botones, cabeceras verdes,
   franjas, tarjetas, formularios, pie y movimiento.
   Lo propio de cada página va en css/vq-<grupo>.css.
═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin-wght-italic.woff2') format('woff2');
  font-weight: 300 800; font-style: italic; font-display: swap;
}

:root {
  /* Verdes */
  --vq-verde-950: #17322a;
  --vq-verde-900: #1d3d31;   /* fondo de cabeceras y franjas */
  --vq-verde-800: #1f4a3b;   /* botones */
  --vq-verde-700: #1b4434;   /* titulares */
  --vq-verde-600: #2d5a48;
  --vq-salvia-200: #dfe5da;  /* paneles salvia (resúmenes, «consultar») */
  --vq-salvia-100: #ebeee6;
  --vq-salvia-acuarela: #b9c2a8;
  /* Oros */
  --vq-oro: #c4a062;         /* líneas, iconos, botón dorado */
  --vq-oro-claro: #d8b56e;   /* antetítulos sobre verde */
  --vq-oro-texto: #96723a;   /* antetítulos y enlaces sobre claro */
  /* Papel */
  --vq-papel: #f8f6f1;
  --vq-papel-2: #f3efe6;     /* franjas alternas */
  --vq-blanco: #fdfcf9;
  --vq-borde: #e4ded1;
  --vq-borde-2: #d6cfbf;
  /* Texto */
  --vq-texto: #23302a;
  --vq-texto-suave: #4f5a54;
  --vq-sobre-verde: #f4f1ea;

  --vq-ff: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --vq-radio: 10px;
  --vq-radio-s: 6px;
  --vq-sombra: 0 1px 2px rgba(23, 50, 42, .05), 0 8px 24px -12px rgba(23, 50, 42, .14);
  /* 1vw con tope a 1440 px: en pantallas de 1920 nada sigue creciendo (Sergio, 25-11) */
  --vw: min(1vw, 14.4px);
  --vq-ancho: 1300px;
  --vq-gutter: clamp(16px, calc(4 * var(--vw)), 40px);
  --vq-cabecera: 88px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--vq-cabecera) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.vq {
  margin: 0;
  font-family: var(--vq-ff);
  font-size: 16px;
  line-height: 1.6;
  color: var(--vq-texto);
  background: var(--vq-papel);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.vq img { max-width: 100%; height: auto; display: block; }
:where(.vq) a { color: inherit; }
:where(.vq) :where(h1, h2, h3, h4) {
  font-family: var(--vq-ff);
  color: var(--vq-verde-700);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.12;
  margin: 0;
}
:where(.vq) p { margin: 0; }
:where(.vq) ul { margin: 0; padding: 0; list-style: none; }
.vq button { font-family: inherit; }
.vq :focus-visible { outline: 2px solid var(--vq-oro); outline-offset: 3px; border-radius: 4px; }
.vq-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vq-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--vq-verde-800); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.vq-skip:focus { top: 12px; }

.vq-wrap { width: 100%; max-width: calc(var(--vq-ancho) + 2 * var(--vq-gutter)); margin: 0 auto; padding: 0 var(--vq-gutter); }
.vq-sec { position: relative; padding: clamp(48px, calc(6 * var(--vw)), 80px) 0; }
.vq-sec--alt { background: var(--vq-papel-2); }
.vq-sec--tight { padding: clamp(32px, calc(4 * var(--vw)), 52px) 0; }

/* ── Tipografía de sección ─────────────────────────────────────── */
.vq-eyebrow {
  display: inline-block;
  font-size: clamp(.78rem, calc(1.12 * var(--vw)), 1.05rem); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--vq-oro-texto);
  margin-bottom: .7rem;
}
.vq-eyebrow--lineas { display: inline-flex; align-items: center; gap: 22px; }
.vq-eyebrow--lineas::before, .vq-eyebrow--lineas::after { content: ''; width: 40px; height: 1px; background: currentColor; opacity: .8; }
.vq-h1 { font-size: clamp(2.2rem, calc(4.6 * var(--vw)), 3.6rem); }
.vq-h2 { font-size: clamp(1.7rem, calc(3 * var(--vw)), 2.35rem); }
.vq-h3 { font-size: clamp(1.25rem, calc(1.8 * var(--vw)), 1.5rem); }
.vq-lead { font-size: clamp(1rem, calc(1.3 * var(--vw)), 1.15rem); color: var(--vq-texto-suave); line-height: 1.55; }
.vq-rule { display: block; width: 52px; height: 3px; border-radius: 2px; background: var(--vq-oro); margin: 14px 0 18px; }
.vq-rule--c { margin-left: auto; margin-right: auto; }
.vq-center { text-align: center; }

/* ── Botones ───────────────────────────────────────────────────── */
.vq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 11px 24px;
  border-radius: var(--vq-radio-s); border: 1.5px solid transparent;
  font: 600 .98rem/1.2 var(--vq-ff); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.vq-btn:active { transform: scale(0.97); }
.vq-btn svg { width: 20px; height: 20px; flex: none; }
.vq-btn--verde { background: var(--vq-verde-800); color: #fff; box-shadow: 0 6px 16px -10px rgba(23, 50, 42, .7); }
.vq-btn--oro { background: var(--vq-oro); color: #fff; }
.vq-btn--claro { background: var(--vq-blanco); color: var(--vq-verde-700); border-color: var(--vq-blanco); }
.vq-btn--linea-clara { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.vq-btn--linea { background: transparent; color: var(--vq-verde-700); border-color: var(--vq-verde-700); }
.vq-btn--linea-oro { background: transparent; color: var(--vq-oro-texto); border-color: var(--vq-oro); }
.vq-btn--salvia { background: var(--vq-salvia-200); color: var(--vq-verde-700); }
.vq-btn--ancho { width: 100%; }
.vq-btn--grande { min-height: 54px; font-size: 1.12rem; }
@media (hover: hover) and (pointer: fine) {
  .vq-btn--verde:hover { background: var(--vq-verde-600); }
  .vq-btn--oro:hover { background: #b38f52; }
  .vq-btn--claro:hover { background: #fff; box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .45); }
  .vq-btn--linea-clara:hover { background: rgba(255, 255, 255, .1); }
  .vq-btn--linea:hover { background: var(--vq-verde-700); color: #fff; }
  .vq-btn--linea-oro:hover { background: var(--vq-oro); color: #fff; }
  .vq-btn--salvia:hover { background: #d3dbcd; }
}

/* Enlace con flecha y subrayado dorado */
.vq-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--vq-oro-texto); font-weight: 500; text-decoration: none;
  padding-bottom: 3px;
  background: linear-gradient(var(--vq-oro), var(--vq-oro)) 0 100% / 100% 1px no-repeat;
  transition: background-size 220ms var(--ease-out), color 200ms ease;
}
.vq-link svg { width: 18px; height: 18px; transition: transform 220ms var(--ease-out); }
.vq-link--verde { color: var(--vq-verde-700); font-weight: 600; background-size: 100% 2px; }
@media (hover: hover) and (pointer: fine) {
  .vq-link:hover svg { transform: translateX(4px); }
  .vq-link:hover { color: var(--vq-verde-700); }
}

/* ── Cabecera ──────────────────────────────────────────────────── */
.vq-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 245, .96);
  border-bottom: 1px solid rgba(214, 207, 191, .6);
  transition: box-shadow 250ms ease, background-color 250ms ease;
}
@supports (backdrop-filter: blur(8px)) {
  .vq-header { background: rgba(250, 249, 245, .86); backdrop-filter: saturate(140%) blur(10px); }
}
.vq-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(23, 50, 42, .35); }
.vq-header__in {
  display: flex; align-items: center; gap: 28px;
  height: var(--vq-cabecera);
}
.vq-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.vq-logo img { width: 62px; height: 62px; }
.vq-logo__txt { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.vq-logo__marca { font-weight: 600; font-size: 2.45rem; letter-spacing: -.01em; color: var(--vq-verde-700); }
.vq-logo__sub { font-size: .8rem; font-weight: 500; letter-spacing: .42em; margin-top: 4px; margin-right: -.42em; color: var(--vq-texto); text-transform: uppercase; }
.vq-header__sep { width: 1px; height: 42px; background: var(--vq-borde-2); flex: none; }

.vq-nav { flex: 1; }
.vq-nav__list { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 760px; }
.vq-nav__link {
  position: relative; display: block; padding: 10px 6px;
  font-size: clamp(.95rem, calc(1.25 * var(--vw)), 1.16rem); font-weight: 500; color: var(--vq-texto); text-decoration: none; white-space: nowrap;
  transition: color 200ms ease;
}
.vq-nav__link::after {
  content: ''; position: absolute; left: 6px; right: 6px; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--vq-oro); transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.vq-nav__link[aria-current="page"] { font-weight: 700; color: var(--vq-verde-950); }
.vq-nav__link[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .vq-nav__link:hover { color: var(--vq-verde-700); }
  .vq-nav__link:hover::after { transform: scaleX(1); }
}
.vq-header__acciones { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.vq-header__cta { min-height: 50px; padding: 11px 30px; font-size: clamp(1rem, calc(1.3 * var(--vw)), 1.22rem); }
.vq-toggle { display: none; }

/* Botón del carrito que inyecta js/carrito.js (.cart-btn) */
.vq .vq-header .cart-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--vq-verde-700); background: transparent; border: 1px solid var(--vq-borde-2);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.vq .vq-header .cart-btn:active { transform: scale(0.95); }
.vq .vq-header .cart-btn svg { width: 20px; height: 20px; }
.vq .vq-header .cart-btn__count { background: var(--vq-oro); color: #fff; font-family: var(--vq-ff); }

@media (max-width: 1100px) {
  .vq-header__in { gap: 18px; }
  .vq-nav__link { font-size: .9rem; padding: 10px 4px; }
  .vq-logo__marca { font-size: 1.85rem; }
  .vq-logo__sub { font-size: .66rem; }
  .vq-logo img { width: 48px; height: 48px; }
  .vq-header__cta { min-height: 44px; padding: 9px 20px; font-size: 1rem; }
}
@media (min-width: 961px) and (max-width: 1040px) {
  .vq-header__in { gap: 12px; }
  .vq-nav__link { font-size: .86rem; padding: 10px 2px; }
  .vq-header__cta { padding: 9px 14px; }
}
@media (max-width: 960px) {
  :root { --vq-cabecera: 70px; }
  .vq-header__sep { display: none; }
  .vq-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border: 0; background: transparent; cursor: pointer;
  }
  .vq-toggle span { display: block; height: 2px; background: var(--vq-verde-700); border-radius: 2px; transition: transform 240ms var(--ease-out), opacity 200ms ease; }
  .vq-nav-open .vq-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .vq-nav-open .vq-toggle span:nth-child(2) { opacity: 0; }
  .vq-nav-open .vq-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .vq-nav {
    position: fixed; inset: var(--vq-cabecera) 0 auto 0; z-index: 99;
    background: var(--vq-papel); border-bottom: 1px solid var(--vq-borde);
    padding: 8px var(--vq-gutter) 24px;
    box-shadow: 0 24px 40px -24px rgba(23, 50, 42, .35);
    opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
    transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
  }
  .vq-nav-open .vq-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .vq-nav__list { flex-direction: column; align-items: stretch; gap: 0; max-width: none; }
  .vq-nav__link { padding: 15px 2px; font-size: 1.05rem; border-bottom: 1px solid var(--vq-borde); }
  .vq-nav__link::after { left: 2px; right: auto; width: 40px; bottom: 8px; height: 2px; }
}
@media (max-width: 560px) {
  .vq-logo img { width: 38px; height: 38px; }
  .vq-logo__marca { font-size: 1.45rem; }
  .vq-logo__sub { font-size: .55rem; }
  .vq-header__cta { padding: 8px 14px; font-size: .9rem; min-height: 40px; }
  .vq-header__acciones { gap: 8px; }
  .vq .vq-header .cart-btn { width: 38px; height: 38px; }
}
@media (max-width: 380px) { .vq-header__cta { display: none; } }

/* ── Cabecera verde (hero) ─────────────────────────────────────── */
.vq-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(255, 255, 255, .05), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(0, 0, 0, .18), transparent 60%),
    var(--vq-verde-900);
  color: var(--vq-sobre-verde);
}
/* grano de papel muy suave, como el verde «pintado» del mockup */
.vq-hero::before, .vq-band::before, .vq-footer--oscuro::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' 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 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vq-hero__in { position: relative; display: grid; align-items: center; min-height: clamp(280px, calc(27 * var(--vw)), 400px); padding-top: clamp(28px, calc(2.7 * var(--vw)), 40px); padding-bottom: clamp(26px, calc(2.2 * var(--vw)), 32px); }
.vq-hero__txt { position: relative; z-index: 2; max-width: 640px; }
@media (min-width: 961px) { .vq-hero__txt { padding-left: clamp(0px, calc(2.2 * var(--vw)), 32px); } }
.vq-hero .vq-eyebrow { color: var(--vq-oro-claro); }
.vq-hero h1 { color: #fff; font-size: clamp(2.2rem, calc(4.65 * var(--vw)), 4.2rem); line-height: .97; letter-spacing: -.022em; }
.vq-hero__sub { font-size: clamp(1.02rem, calc(1.5 * var(--vw)), 1.38rem); line-height: 1.4; color: rgba(255, 255, 255, .92); margin-top: 12px; max-width: 34em; }
.vq-hero__sub--fino { font-weight: 300; font-size: clamp(1.4rem, calc(2.4 * var(--vw)), 2rem); margin-top: 6px; letter-spacing: .005em; }
.vq-hero .vq-rule { margin-top: 20px; margin-bottom: 0; }
.vq-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
/* Arte de líneas (montañas y ensō) a la derecha, fundido hacia el texto */
.vq-hero__arte {
  position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: min(62%, 980px);
  background: var(--arte, url('../img/2026/hero-arte-lineas.webp')) right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%);
          mask-image: linear-gradient(90deg, transparent 0, #000 34%);
  pointer-events: none;
}
.vq-hero__arte--pino { --arte: url('../img/2026/hero-arte-pino.webp'); }
.vq-hero__arte--pagoda { --arte: url('../img/2026/hero-arte-pagoda.webp'); }
.vq-hero__arte--tienda { --arte: url('../img/2026/hero-arte-tienda.webp'); }
/* Variante con retrato recortado (inicio, contacto) */
.vq-hero--retrato .vq-hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding-bottom: 0; align-items: stretch; }
.vq-hero--retrato .vq-hero__txt { align-self: center; padding-bottom: clamp(26px, calc(2.2 * var(--vw)), 32px); }
.vq-hero__persona { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: flex-start; min-height: 100%; }
.vq-hero__persona img { width: min(100%, 410px); height: auto; margin-left: 4%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25)); }
/* el recorte acaba en recto por los lados (la foto original corta los hombros): se funde con el verde */
.vq-hero__persona img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
/* Retrato que sobresale por arriba y pisa la cabecera, como en el mockup (solo escritorio).
   Mientras la página está arriba del todo, el hero queda por encima de la cabecera;
   al bajar (cabecera .is-scrolled) o con el menú abierto vuelve debajo. */
/* los recortes de Sergio (25-11) llegan con los hombros cortados por los lados: se funden los laterales */
.vq-hero--sale .vq-hero__persona img { --vq-funde: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); -webkit-mask-image: var(--vq-funde); mask-image: var(--vq-funde); }
@media (min-width: 961px) {
  .vq-hero--sale { overflow: visible; overflow-x: clip; z-index: 101; }
  .vq-header.is-scrolled ~ main .vq-hero--sale, .vq-nav-open .vq-hero--sale { z-index: auto; }
  .vq-hero--sale .vq-hero__persona img {
    position: absolute; left: -5%; bottom: 0; width: auto; max-width: none; margin: 0;
    height: calc(100% + clamp(28px, calc(2.7 * var(--vw)), 40px) + var(--vq-sale, 16px)); pointer-events: none;
  }
  .vq-hero--sale .vq-hero__firma { top: 34%; right: -5%; }
}
/* portátiles estrechos: el retrato no cabe a tamaño completo; se encaja en su columna y la firma queda a su derecha */
@media (min-width: 961px) and (max-width: 1199px) {
  .vq-hero--sale .vq-hero__persona img { width: 76%; object-fit: contain; object-position: left bottom; }
  .vq-hero--sale .vq-hero__firma { right: 0; top: 30%; }
  .vq-hero--sale .vq-hero__firma strong { font-size: 1.05rem; }
  .vq-hero--sale .vq-hero__firma span { font-size: .8rem; }
}
.vq-hero__enso {
  position: absolute; z-index: 0; width: 176px; height: 176px; right: 21%; top: 2%;
  color: var(--vq-oro);
}
.vq-hero__firma { position: absolute; z-index: 2; right: 0; top: 46%; text-align: left; }
.vq-hero__firma strong { display: block; font-size: 1.22rem; font-weight: 600; color: #fff; }
.vq-hero__firma span { display: block; font-size: .92rem; color: rgba(255, 255, 255, .85); margin-top: 2px; }
.vq-hero__firma::after { content: ''; display: block; width: 38px; height: 2px; background: var(--vq-oro); margin-top: 10px; }
@media (max-width: 900px) {
  .vq-hero--retrato .vq-hero__in { grid-template-columns: 1fr; }
  .vq-hero--retrato .vq-hero__txt { padding-bottom: 8px; }
  .vq-hero__persona { justify-content: center; min-height: 0; }
  .vq-hero__persona img { width: min(78%, 360px); margin: 0 auto; }
  .vq-hero__enso { right: 6%; top: auto; bottom: 26%; width: 130px; height: 130px; }
  .vq-hero__firma { right: 4%; top: auto; bottom: 18%; }
  .vq-hero__firma strong { font-size: 1rem; }
  .vq-hero__firma span { font-size: .78rem; }
  .vq-hero__arte { width: 100%; opacity: .55; }
}
@media (max-width: 520px) {
  .vq-hero__firma { display: none; }
  .vq-hero__btns .vq-btn { flex: 1 1 100%; }
}

/* ── Migas ─────────────────────────────────────────────────────── */
.vq-crumbs { background: var(--vq-papel-2); border-bottom: 1px solid var(--vq-borde); }
.vq-crumbs--claro { background: transparent; border: 0; }
.vq-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; margin: 0 auto; padding-top: 14px; padding-bottom: 14px; font-size: .95rem; }
.vq-crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.vq-crumbs li + li::before { content: '/'; color: var(--vq-texto-suave); }
.vq-crumbs a { text-decoration: none; color: var(--vq-texto); }
.vq-crumbs a:hover { color: var(--vq-verde-700); text-decoration: underline; text-underline-offset: 3px; }
.vq-crumbs [aria-current] { color: var(--vq-oro-texto); font-weight: 600; }
.vq-crumbs svg { width: 20px; height: 20px; color: var(--vq-oro); }
.vq-hero .vq-crumbs ol { padding: 0; margin: 18px 0 0; color: #fff; }
.vq-hero .vq-crumbs a { color: #fff; }
.vq-hero .vq-crumbs li + li::before { color: rgba(255, 255, 255, .8); }
.vq-hero .vq-crumbs [aria-current] { color: var(--vq-oro-claro); }

/* ── Fila de valores con iconos (bajo el hero) ─────────────────── */
.vq-valores { background: var(--vq-papel-2); border-bottom: 1px solid var(--vq-borde); }
.vq-valores ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.vq-valores li { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 16px 12px; font-size: clamp(1rem, calc(1.25 * var(--vw)), 1.15rem); font-weight: 500; }
.vq-valores li + li { border-left: 1px solid var(--vq-borde-2); }
.vq-valores svg { width: 48px; height: 48px; color: var(--vq-oro); flex: none; }
@media (max-width: 720px) {
  .vq-valores ul { grid-template-columns: 1fr; }
  .vq-valores li { justify-content: flex-start; padding: 12px 4px; }
  .vq-valores li + li { border-left: 0; border-top: 1px solid var(--vq-borde); }
}

/* ── Iconos (trazo dorado tipo lucide) ─────────────────────────── */
.vq-ico { width: 28px; height: 28px; color: var(--vq-oro); flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vq-ico--l { width: 44px; height: 44px; stroke-width: 1.3; }
.vq-ico--xl { width: 56px; height: 56px; stroke-width: 1.2; }

/* Lista con icono + separador vertical + texto (legales, condiciones) */
.vq-filas > li { display: grid; grid-template-columns: 70px 1px 1fr; gap: 0 24px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--vq-borde-2); }
.vq-filas > li:last-child { border-bottom: 0; }
.vq-filas > li > .vq-ico { justify-self: center; margin-top: 4px; }
.vq-filas > li::before { content: ''; grid-column: 2; grid-row: 1; width: 1px; align-self: stretch; background: var(--vq-oro); opacity: .7; }
.vq-filas > li > .vq-ico { grid-column: 1; grid-row: 1; }
.vq-filas > li > div { grid-column: 3; grid-row: 1; }
.vq-filas h2, .vq-filas h3 { font-size: clamp(1.25rem, calc(1.8 * var(--vw)), 1.55rem); margin-bottom: 6px; }
.vq-filas p { color: var(--vq-texto); }
@media (max-width: 560px) { .vq-filas > li { grid-template-columns: 44px 1px 1fr; gap: 0 14px; } }

/* ── Tarjetas y paneles ────────────────────────────────────────── */
.vq-card { background: var(--vq-blanco); border: 1px solid var(--vq-borde); border-radius: var(--vq-radio); box-shadow: var(--vq-sombra); }
.vq-panel { background: var(--vq-salvia-100); border: 1px solid #d9dfd2; border-radius: var(--vq-radio); }
.vq-panel--salvia { background: var(--vq-salvia-200); border-color: #cfd7c8; }
.vq-foto { border-radius: var(--vq-radio); overflow: hidden; background: var(--vq-papel-2); }
.vq-foto img { width: 100%; height: 100%; object-fit: cover; }

/* Píldora / etiqueta */
.vq-tag { display: inline-flex; align-items: center; padding: 4px 13px; border-radius: 8px; border: 1.5px solid var(--vq-oro); color: var(--vq-oro-texto); font-size: .9rem; font-weight: 500; background: #fbf8f1; }
.vq-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 22px; border-radius: 8px; border: 1.5px solid var(--vq-borde-2); background: var(--vq-blanco); color: var(--vq-texto); font: 500 1rem var(--vq-ff); cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.vq-chip:active { transform: scale(0.97); }
.vq-chip.is-on, .vq-chip[aria-pressed="true"] { background: var(--vq-verde-800); border-color: var(--vq-verde-800); color: #fff; }
@media (hover: hover) and (pointer: fine) { .vq-chip:not(.is-on):not([aria-pressed="true"]):hover { border-color: var(--vq-oro); } }

/* Buscador */
.vq-buscar { position: relative; display: block; }
.vq-buscar svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--vq-texto); pointer-events: none; }
.vq-buscar input { width: 100%; min-height: 46px; padding: 10px 18px 10px 54px; border: 1.5px solid var(--vq-borde-2); border-radius: 8px; background: var(--vq-blanco); font: 400 1rem var(--vq-ff); color: var(--vq-texto); transition: border-color 200ms ease, box-shadow 200ms ease; }
.vq-buscar input:focus { outline: none; border-color: var(--vq-oro); box-shadow: 0 0 0 3px rgba(196, 160, 98, .18); }

/* ── Formularios ───────────────────────────────────────────────── */
.vq-form { display: grid; gap: 16px; }
.vq-form__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
@media (max-width: 600px) { .vq-form__fila { grid-template-columns: 1fr; } }
.vq-field { display: grid; gap: 6px; }
.vq-field label, .vq-field .vq-field__label { font-weight: 600; font-size: .95rem; color: var(--vq-texto); }
.vq-field label .vq-req, .vq-req { color: #b3261e; margin-left: 2px; }
.vq-field label small { font-weight: 400; }
.vq-input, .vq-field input:not([type="checkbox"]):not([type="radio"]), .vq-field select, .vq-field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  border: 1.2px solid var(--vq-borde-2); border-radius: 6px; background: #fff;
  font: 400 1rem var(--vq-ff); color: var(--vq-texto);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.vq-field textarea { min-height: 110px; resize: vertical; }
.vq-field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2323302a' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.vq-field ::placeholder { color: #7a827c; }
.vq-input:focus, .vq-field input:focus, .vq-field select:focus, .vq-field textarea:focus { outline: none; border-color: var(--vq-oro); box-shadow: 0 0 0 3px rgba(196, 160, 98, .18); }
.vq-field [aria-invalid="true"] { border-color: #b3261e; }
.vq-check { display: flex; align-items: flex-start; gap: 12px; font-size: .97rem; cursor: pointer; }
.vq-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--vq-verde-800); flex: none; }
.vq-check a { color: var(--vq-verde-700); font-weight: 500; text-underline-offset: 3px; }
/* Opciones tipo radio en píldora */
.vq-opciones { display: flex; flex-wrap: wrap; gap: 10px; }
.vq-opcion { position: relative; }
.vq-opcion input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.vq-opcion span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border: 1.2px solid var(--vq-borde-2); border-radius: 8px; background: #fff; font-size: .98rem; transition: border-color 200ms ease, background-color 200ms ease; }
.vq-opcion span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--vq-texto-suave); box-sizing: border-box; transition: border-width 160ms var(--ease-out), border-color 160ms ease; }
.vq-opcion input:checked + span { border-color: var(--vq-verde-700); background: var(--vq-salvia-100); }
.vq-opcion input:checked + span::before { border: 5px solid var(--vq-verde-700); }
.vq-opcion input:focus-visible + span { outline: 2px solid var(--vq-oro); outline-offset: 2px; }

/* ── Franja verde de llamada (CTA) ─────────────────────────────── */
.vq-band { position: relative; isolation: isolate; overflow: hidden; background: var(--vq-verde-900); color: #fff; }
.vq-band__lineas { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--vq-oro); opacity: .55; }
.vq-band__lineas svg { position: absolute; bottom: 0; height: 100%; width: 34%; }
.vq-band__lineas svg:first-child { left: 0; transform: scaleX(-1); }
.vq-band__lineas svg:last-child { right: 0; }
.vq-band__in { display: flex; align-items: center; justify-content: center; gap: clamp(18px, calc(4 * var(--vw)), 64px); padding-top: 22px; padding-bottom: 22px; min-height: 92px; flex-wrap: wrap; }
.vq-band h2 { color: #fff; font-size: clamp(1.4rem, calc(2.6 * var(--vw)), 2.1rem); }
.vq-band p { color: rgba(255, 255, 255, .9); }
.vq-band__sep { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .45); }
.vq-band .vq-btn--claro { min-width: 220px; }
@media (max-width: 720px) { .vq-band__in { flex-direction: column; text-align: center; } .vq-band__sep { display: none; } }

/* ── Decoración: montañas de acuarela ──────────────────────────── */
.vq-mont { position: absolute; z-index: 0; pointer-events: none; user-select: none; opacity: .9; }
.vq-mont img { width: 100%; height: auto; }
.vq-rel { position: relative; isolation: isolate; }
.vq-rel > .vq-wrap { position: relative; z-index: 1; }

/* ── Pie ───────────────────────────────────────────────────────── */
.vq-footer { background: var(--vq-papel); border-top: 1px solid var(--vq-borde); font-size: clamp(.88rem, calc(1 * var(--vw)), .96rem); }
.vq-footer__in { display: grid; grid-template-columns: auto auto 1fr auto auto auto auto; align-items: center; gap: 22px; padding-top: 22px; padding-bottom: 18px; }
.vq-footer .vq-logo img { width: 56px; height: 56px; }
.vq-footer .vq-logo__marca { font-size: 2.15rem; }
.vq-footer__sep { width: 1px; height: 46px; background: var(--vq-borde-2); }
.vq-footer__nav ul { display: flex; flex-wrap: wrap; gap: 6px clamp(14px, calc(1.5 * var(--vw)), 22px); }
.vq-footer__nav a { text-decoration: none; }
@media (min-width: 1200px) { .vq-footer__nav ul { flex-wrap: nowrap; } .vq-footer__nav a, .vq-footer__contacto span, .vq-footer__contacto a { white-space: nowrap; } }
.vq-footer__nav a[aria-current="page"] { font-weight: 700; }
.vq-footer__contacto { display: grid; gap: 3px; }
.vq-footer__contacto a, .vq-footer__contacto span { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.vq-footer__contacto svg { width: 18px; height: 18px; color: var(--vq-oro); flex: none; }
.vq-footer__legal { display: grid; gap: 1px; }
.vq-footer__legal a { text-decoration: none; }
.vq-footer a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .vq-footer a:hover { color: var(--vq-oro-texto); } }
.vq-footer__base { border-top: 1px solid var(--vq-borde); }
.vq-footer__base .vq-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding-top: 12px; padding-bottom: 14px; font-size: .8rem; color: var(--vq-texto-suave); }
.vq-footer__base button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vq-footer--oscuro { position: relative; isolation: isolate; overflow: hidden; background: var(--vq-verde-900); color: var(--vq-sobre-verde); border-top: 0; }
.vq-footer--oscuro .vq-logo__marca, .vq-footer--oscuro .vq-logo__sub { color: #fff; }
.vq-footer--oscuro .vq-footer__sep { background: rgba(255, 255, 255, .35); }
.vq-footer--oscuro .vq-footer__base { border-color: rgba(255, 255, 255, .15); }
.vq-footer--oscuro .vq-footer__base .vq-wrap { color: rgba(255, 255, 255, .75); }
.vq-footer--oscuro .vq-footer__lineas { position: absolute; left: 0; right: 0; top: 0; height: 70px; z-index: -1; color: var(--vq-oro); opacity: .35; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .vq-footer--oscuro a:hover { color: var(--vq-oro-claro); } }
@media (max-width: 1100px) {
  .vq-footer__in { grid-template-columns: auto 1fr; }
  .vq-footer__sep { display: none; }
  .vq-footer__nav { grid-column: 1 / -1; order: 3; }
  .vq-footer__contacto { order: 4; }
  .vq-footer__legal { order: 5; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px 16px; }
}
@media (max-width: 600px) {
  .vq-footer__in { grid-template-columns: 1fr; gap: 16px; }
  .vq-footer__legal { grid-template-columns: repeat(2, auto); }
}

/* WhatsApp flotante (discreto) */
.vq-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); transition: transform 200ms var(--ease-out); }
.vq-wa svg { width: 28px; height: 28px; fill: #fff; }
.vq-wa:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .vq-wa:hover { transform: translateY(-2px); } }

/* ── Hero con retrato (Sergio, 26-11; inicio y contacto): detrás de la cabeza va el ensō de pincel dorado del mockup (recortado de hero-arte-lineas:
   ia/arco/extraer.py). Sustituye al arco fino en SVG. ── */
/* lleva .vq-hero__persona delante para ganar a las reglas del retrato (img de esa columna) */
.vq-hero .vq-hero__persona .vq-hero__pincel { position: absolute; z-index: 0; left: auto; bottom: auto; width: 43%; height: auto; max-width: none; margin: 0; right: 23%; top: -9%; filter: none; -webkit-mask-image: none; mask-image: none; pointer-events: none; }
@media (min-width: 961px) and (max-width: 1199px) { .vq-hero .vq-hero__persona .vq-hero__pincel { width: 40%; right: 18%; top: -4%; } }
@media (max-width: 900px) { .vq-hero .vq-hero__persona .vq-hero__pincel { width: 150px; right: 4%; top: auto; bottom: 34%; } }
@media (prefers-reduced-motion: no-preference) {
  .vq-js .vq-hero__persona .vq-hero__pincel { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); animation: in-pincel 1500ms var(--ease-in-out) 500ms forwards; }
}
@keyframes in-pincel { to { clip-path: inset(0 0 0 0); } }

/* ── Movimiento: apariciones que se rearman al volver a pasar ──── */
@media (prefers-reduced-motion: no-preference) {
  .vq-js [data-r] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .vq-js [data-r="izq"] { transform: translateX(-24px); }
  .vq-js [data-r="der"] { transform: translateX(24px); }
  .vq-js [data-r="zoom"] { transform: scale(.965); }
  /* el recorte va en los hijos: si se recorta el propio elemento, IntersectionObserver lo ve con área 0 y nunca aparece */
  .vq-js [data-r="foto"] { opacity: 1; transform: none; }
  .vq-js [data-r="foto"] > * { clip-path: inset(0 0 100% 0 round var(--vq-radio)); transition: clip-path 1000ms var(--ease-in-out); }
  .vq-js [data-r].is-in { opacity: 1; transform: none; }
  .vq-js [data-r="foto"].is-in > * { clip-path: inset(0 0 0 0 round var(--vq-radio)); }
  /* titular del hero: entra por líneas al cargar */
  .vq-js .vq-hero [data-hero] { opacity: 0; transform: translateY(22px); animation: vq-sube 900ms var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 110ms); }
  .vq-js .vq-hero__persona img { opacity: 0; transform: translateY(26px) scale(.98); animation: vq-sube 1100ms var(--ease-out) 260ms forwards; }
  .vq-js .vq-hero__arte { opacity: 0; animation: vq-aparece 1600ms ease 100ms forwards; }
  /* ensō que se dibuja */
  .vq-js .vq-enso-trazo { stroke-dasharray: 1; stroke-dashoffset: 1; animation: vq-traza 1800ms var(--ease-in-out) 500ms forwards; }
  /* líneas de las franjas que respiran muy despacio */
  .vq-band__lineas svg path { animation: vq-ola 9s ease-in-out infinite alternate; }
  .vq-band__lineas svg path:nth-child(2) { animation-duration: 11s; }
  .vq-band__lineas svg path:nth-child(3) { animation-duration: 13s; }
}
/* ── Movimiento con Motion (js/vq-motion.js): <html class="vq-mo"> ──
   Las animaciones las hace Motion; aquí solo lo que CSS debe cederle. */
@media (prefers-reduced-motion: no-preference) {
  /* mientras Motion anima un elemento, ninguna transición CSS se pelea con él */
  .vq-mo [data-mo], .vq-mo [data-mo] > img { transition: none !important; }
  /* titular del hero partido en palabras */
  .vq-mo .vq-w { display: inline-block; }
  /* el arte del hero se mueve (deriva y parallax): se amplía un poco para que no asome el borde */
  .vq-mo .vq-hero__arte { right: -14px; }
  .vq-mo .vq-hero:not(.vq-hero--sale) .vq-hero__arte { top: -40px; }
  /* hero con retrato que sobresale (overflow visible): se recorta por abajo para que el parallax del retrato no pise la franja siguiente */
  @media (min-width: 961px) { .vq-mo .vq-hero--sale { overflow-x: clip; clip-path: inset(-160px 0 0 0); } }
  /* rayitas de los antetítulos: se dibujan con la variable --vq-linea (0 a 1) */
  .vq-mo .vq-eyebrow--lineas::before, .vq-mo .vq-eyebrow--lineas::after { transform: scaleX(var(--vq-linea, 1)); }
  .vq-mo .vq-eyebrow--lineas::before { transform-origin: right center; }
  .vq-mo .vq-eyebrow--lineas::after { transform-origin: left center; }
  /* tarjetas con inclinación 3D y botones magnéticos: el transform es de Motion */
  .vq-mo .vq-tilt { transition: box-shadow 260ms var(--ease-out); transform-style: flat; }
  .vq-mo .vq-tilt:hover { transform: none; }
  .vq-mo .vq-mag { transition: scale 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
  .vq-mo .vq-mag:active { transform: none; scale: .97; }
  /* barra de progreso dorada */
  .vq-progreso { position: fixed; z-index: 110; left: 0; top: 0; width: 100%; height: 2px; background: var(--vq-oro); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
  .vq-progreso[hidden] { display: none; }
  /* anillo suave del botón de WhatsApp */
  .vq-wa__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; opacity: 0; pointer-events: none; }
}
@keyframes vq-sube { to { opacity: 1; transform: none; } }
@keyframes vq-aparece { to { opacity: 1; } }
@keyframes vq-traza { to { stroke-dashoffset: 0; } }
@keyframes vq-ola { from { transform: translateY(0); } to { transform: translateY(-6px); } }

/* Elevación suave de tarjetas enlazadas */
@media (hover: hover) and (pointer: fine) {
  .vq-hover { transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
  .vq-hover:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(23, 50, 42, .05), 0 18px 36px -18px rgba(23, 50, 42, .3); }
  .vq-zoom { overflow: hidden; }
  .vq-zoom img { transition: transform 700ms var(--ease-out); }
  .vq-zoom:hover img, .vq-hover:hover .vq-zoom img { transform: scale(1.04); }
}

/* Escala de escritorio (Sergio, 25-11, pantalla 1920): en su Chrome la web se veía mejor
   al 80 % en general, al 90 % la cabecera, el héroe de portada y contacto y las técnicas de portada,
   el héroe de El centro, Medicina china y Estética al 100 % y el blog al 90 %. Se reproduce con `zoom` por secciones.
   Cada sección compensa su ancho para que todas ocupen lo mismo que la cabecera (mismo borde izquierdo).
   Por debajo de 1200 px (tablets y móviles) no se toca nada. */
@media (min-width: 1200px) {
  :root { --vq-z8: .9; --vq-z9: .95; }
  .vq-header { zoom: var(--vq-z9); }
  main > *, .vq-footer { zoom: var(--vq-z8); --vq-ancho: calc(1300px * var(--vq-z9) / var(--vq-z8)); }
  main > .vq-hero--sale, main > .in-tecnicas { zoom: var(--vq-z9); --vq-ancho: 1300px; }
  main > .ct-hero, main > .ct-hero-int, main > .ct-hero-est { zoom: 1; --vq-ancho: calc(1300px * var(--vq-z9)); }
  main:has(> .bl-hero, > .bl-ahero) > * { zoom: var(--vq-z9); --vq-ancho: 1300px; }
}
@media (min-width: 1440px) { :root { --vq-z8: .8; --vq-z9: .9; } }

/* Impresión: sin adornos */
@media print { .vq-header, .vq-footer, .vq-band, .vq-wa, .vq-mont, .vq-hero__arte { display: none !important; } }

/* ── Móvil y tablet (Sergio, 26-11: «hay textos que se pierden»): el arte del hero ocupa
   todo el ancho y quedaba detrás del texto. Ahora casi desaparece donde va el texto
   y vuelve abajo (en los hero con retrato, alrededor de la persona). ── */
@media (max-width: 900px) {
  .vq-hero__arte {
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .14) 0, rgba(0, 0, 0, .14) 62%, rgba(0, 0, 0, .7) 100%);
            mask-image: linear-gradient(180deg, rgba(0, 0, 0, .14) 0, rgba(0, 0, 0, .14) 62%, rgba(0, 0, 0, .7) 100%);
  }
  .vq-hero--retrato .vq-hero__arte {
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .12) 0, rgba(0, 0, 0, .12) 46%, #000 72%);
            mask-image: linear-gradient(180deg, rgba(0, 0, 0, .12) 0, rgba(0, 0, 0, .12) 46%, #000 72%);
  }
  .vq-hero__txt, .vq-hero__firma { text-shadow: 0 1px 14px rgba(12, 32, 26, .55); }
  .vq-hero__txt .vq-btn { text-shadow: none; }
}
