/*
Theme Name: VLAM FACE
Theme URI: https://vlamface.es
Author: VLAM Dermoestética
Author URI: https://vlam.es
Description: Tema propio de VLAM FACE® · Método registrado de valoración y cuidado facial. Dos identidades visuales completas (ORIGINAL y VANGUARDIA) sobre un único sistema de variables, panel de configuración propio, mapa facial interactivo de 14 zonas, infografías anatómicas animadas, formulario B2B propio y todas las secciones editables desde el Personalizador.
Version: 3.2.2
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: Software privado. © VLAM Dermoestética S.L. Todos los derechos reservados.
Text Domain: vlamface
Tags: custom-theme, editorial, dermoesthetics, gutenberg, custom-colors, accessibility-ready
*/

/* ==========================================================================
   0 · TOKENS
   Toda la web depende de estas variables. La identidad activa cambia el bloque
   de tokens; no hay ninguna página ni contenido duplicado.
   ========================================================================== */

:root {
  --vf-bg: #F7F3ED;
  --vf-surface: #FFFDFA;
  --vf-surface-2: #F1EAE1;
  --vf-line: rgba(36, 27, 23, .14);
  --vf-line-strong: rgba(36, 27, 23, .30);
  --vf-ink: #241B17;
  --vf-ink-2: #5A4B42;
  --vf-ink-3: #8A7466;
  --vf-brand: #8B7F71;
  --vf-brand-ink: #FFFDFA;
  --vf-accent: #A8977F;
  --vf-alert: #9C5A4C;
  --vf-radius: 2px;
  --vf-radius-lg: 3px;

  --vf-font-display: "Mansory", "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --vf-font-ui: "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --vf-display-weight: 400;
  --vf-display-tracking: -.015em;
  --vf-display-transform: none;
  --vf-body-size: 1.0625rem;
  --vf-body-weight: 300;
  --vf-label-tracking: .18em;
  --vf-label-size: .6875rem;

  --vf-shadow: 0 1px 2px rgba(36, 27, 23, .05), 0 14px 40px rgba(36, 27, 23, .06);
  --vf-shadow-hover: 0 2px 4px rgba(36, 27, 23, .06), 0 22px 60px rgba(36, 27, 23, .10);
  --vf-hero-bg: linear-gradient(180deg, #FBF7F1 0%, #F7F3ED 100%);
  --vf-glow: none;
  --vf-hairline: 1px;
  --vf-grid-opacity: 0;

  --vf-max: 1320px;
  --vf-m: clamp(20px, 4vw, 64px);
  --vf-sec: clamp(72px, 9vw, 150px);
  --vf-ease: cubic-bezier(.16, 1, .3, 1);
}

/* VANGUARDIA · valores reales del tema «v4» de la app (auditados en su CSS) */
html[data-identidad="vanguardia"] {
  --vf-bg: #0B0E12;
  --vf-surface: #131820;
  --vf-surface-2: #1C232D;
  --vf-line: rgba(255, 255, 255, .10);
  --vf-line-strong: rgba(127, 227, 196, .38);
  --vf-ink: #EEF2F6;
  --vf-ink-2: #A9B4C0;
  --vf-ink-3: #6D7986;
  --vf-brand: #7FE3C4;
  --vf-brand-ink: #071311;
  --vf-accent: #FF5A5F;
  --vf-alert: #FF5A5F;
  --vf-radius: 4px;
  --vf-radius-lg: 6px;

  --vf-font-display: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --vf-font-ui: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --vf-display-weight: 300;
  --vf-display-tracking: .04em;
  --vf-display-transform: uppercase;
  --vf-body-size: 1.0625rem;
  --vf-body-weight: 300;
  --vf-label-tracking: .24em;
  --vf-label-size: .625rem;

  --vf-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 14px 40px rgba(0, 0, 0, .5);
  --vf-shadow-hover: 0 0 0 1px rgba(127, 227, 196, .22), 0 18px 60px rgba(0, 0, 0, .6);
  --vf-hero-bg: radial-gradient(120% 80% at 50% -10%, #16202A 0%, #0B0E12 55%);
  --vf-glow: 0 0 26px rgba(127, 227, 196, .45);
  --vf-grid-opacity: .5;
}

/* Sobrescrituras del panel (Personalizador). Se imprimen inline en <head>. */

/* ==========================================================================
   1 · BASE
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--vf-bg);
  color: var(--vf-ink);
  font-family: var(--vf-font-ui);
  font-size: var(--vf-body-size);
  font-weight: var(--vf-body-weight);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html[data-identidad="vanguardia"] body {
  background:
    var(--vf-hero-bg),
    var(--vf-bg);
  background-attachment: fixed;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p, ul, ol, dl, dd, h1, h2, h3, h4, h5, h6, blockquote { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--vf-font-display);
  font-weight: var(--vf-display-weight);
  letter-spacing: var(--vf-display-tracking);
  line-height: 1.06;
  text-wrap: balance;
  color: var(--vf-ink);
}
h4, h5, h6 {
  font-family: var(--vf-font-ui);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.3;
}
html[data-identidad="vanguardia"] h1,
html[data-identidad="vanguardia"] h2,
html[data-identidad="vanguardia"] h3 { text-transform: var(--vf-display-transform); letter-spacing: .06em; }

h1 { font-size: clamp(2.85rem, 6.2vw, 5.5rem); }
h2 { font-size: clamp(2.15rem, 4.2vw, 3.65rem); }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); }

/* En Vanguardia el titular es tipografía de interfaz: se compensa el ancho */
html[data-identidad="vanguardia"] h1 { font-size: clamp(2rem, 4.1vw, 3.5rem); letter-spacing: .02em; line-height: 1.12; }
html[data-identidad="vanguardia"] h2 { font-size: clamp(1.55rem, 2.8vw, 2.35rem); letter-spacing: .03em; }
html[data-identidad="vanguardia"] h3 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); letter-spacing: .05em; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .25s var(--vf-ease), opacity .25s var(--vf-ease); }
a:hover { color: var(--vf-brand); }
b, strong { font-weight: 500; }
::selection { background: var(--vf-ink); color: var(--vf-bg); }
:focus-visible { outline: 2px solid var(--vf-brand); outline-offset: 3px; }

.vf-container { width: 100%; max-width: var(--vf-max); margin-inline: auto; padding-inline: var(--vf-m); }
.vf-narrow { max-width: 820px; }
.vf-section { padding-block: var(--vf-sec); position: relative; }
.vf-section + .vf-section { border-top: var(--vf-hairline) solid var(--vf-line); }
.vf-section--tight { padding-block: clamp(48px, 6vw, 88px); }
.vf-section--alt { background: var(--vf-surface); }
html[data-identidad="vanguardia"] .vf-section--alt { background: rgba(255, 255, 255, .015); }

.vf-skip {
  position: absolute; left: var(--vf-m); top: -80px; z-index: 90;
  background: var(--vf-ink); color: var(--vf-bg);
  padding: 12px 20px; text-decoration: none; transition: top .2s var(--vf-ease);
}
.vf-skip:focus { top: 12px; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}

/* ==========================================================================
   2 · TIPOGRAFÍA EDITORIAL
   ========================================================================== */

.vf-label {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--vf-font-ui);
  font-size: var(--vf-label-size);
  font-weight: 500;
  letter-spacing: var(--vf-label-tracking);
  text-transform: uppercase;
  color: var(--vf-ink-3);
}
.vf-label::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55;
  flex: none;
}
html[data-identidad="vanguardia"] .vf-label { color: var(--vf-brand); }
html[data-identidad="vanguardia"] .vf-label::before { background: var(--vf-accent); opacity: 1; width: 18px; }

.vf-lead {
  font-size: clamp(1.15rem, 1.05rem + .6vw, 1.5rem);
  line-height: 1.42;
  color: var(--vf-ink-2);
  font-weight: 300;
  max-width: 62ch;
  text-wrap: pretty;
}
.vf-text { color: var(--vf-ink-2); max-width: 68ch; text-wrap: pretty; }
.vf-text + .vf-text { margin-top: 1.1em; }
.vf-text--tight { max-width: 54ch; }
.vf-muted { color: var(--vf-ink-3); }
.vf-small { font-size: .875rem; line-height: 1.55; }
.vf-num {
  font-family: var(--vf-font-display);
  font-weight: 400; font-size: 1.05rem;
  color: var(--vf-ink-3);
  font-variant-numeric: tabular-nums;
}
html[data-identidad="vanguardia"] .vf-num { font-size: .8125rem; letter-spacing: .16em; color: var(--vf-brand); }

.vf-rule { height: 1px; background: var(--vf-line); border: 0; margin: 0; }
.vf-kicker-quote {
  font-family: var(--vf-font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-style: italic; line-height: 1.24; color: var(--vf-ink);
}
html[data-identidad="vanguardia"] .vf-kicker-quote { font-style: normal; text-transform: none; letter-spacing: 0; }

/* Retícula técnica: solo Vanguardia, siempre detrás del contenido. */
.vf-tech-grid { display: none; }
html[data-identidad="vanguardia"] .vf-tech-grid {
  display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: var(--vf-grid-opacity);
  background-image:
    linear-gradient(to right, rgba(127, 227, 196, .10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(127, 227, 196, .07) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 78%);
}
html[data-identidad="vanguardia"] .vf-section > *:not(.vf-tech-grid) { position: relative; z-index: 1; }

/* ==========================================================================
   3 · BOTONES
   ========================================================================== */

.vf-btn {
  --btn-bg: var(--vf-ink);
  --btn-fg: var(--vf-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 52px; padding: 0 30px;
  font-family: var(--vf-font-ui);
  font-size: .8125rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg); border-radius: var(--vf-radius);
  cursor: pointer; text-align: center;
  transition: background-color .3s var(--vf-ease), color .3s var(--vf-ease),
              border-color .3s var(--vf-ease), box-shadow .3s var(--vf-ease), transform .2s var(--vf-ease);
}
.vf-btn:hover { color: var(--btn-fg); transform: translateY(-1px); background: var(--vf-brand); border-color: var(--vf-brand); }
.vf-btn:active { transform: translateY(0) scale(.995); }

.vf-btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--vf-ink);
  border-color: var(--vf-line-strong);
}
.vf-btn--ghost:hover { background: transparent; color: var(--vf-brand); border-color: var(--vf-brand); }

.vf-btn--light {
  --btn-bg: var(--vf-bg); --btn-fg: var(--vf-ink);
  border-color: var(--vf-bg);
}
.vf-btn--light:hover { background: var(--vf-surface); border-color: var(--vf-surface); color: var(--vf-ink); }

.vf-btn--brand { --btn-bg: var(--vf-brand); --btn-fg: var(--vf-brand-ink); border-color: var(--vf-brand); }
.vf-btn--brand:hover { background: var(--vf-ink); color: var(--vf-bg); border-color: var(--vf-ink); }

html[data-identidad="vanguardia"] .vf-btn {
  --btn-bg: linear-gradient(180deg, rgba(127, 227, 196, .16), rgba(127, 227, 196, .06));
  --btn-fg: var(--vf-brand);
  border-color: rgba(127, 227, 196, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  background: var(--btn-bg);
}
html[data-identidad="vanguardia"] .vf-btn:hover {
  background: var(--vf-brand); color: var(--vf-brand-ink); border-color: var(--vf-brand);
  box-shadow: var(--vf-glow);
}
html[data-identidad="vanguardia"] .vf-btn--solid { --btn-bg: var(--vf-brand); --btn-fg: var(--vf-brand-ink); border-color: var(--vf-brand); }
html[data-identidad="vanguardia"] .vf-btn--ghost { --btn-bg: transparent; --btn-fg: var(--vf-ink-2); border-color: rgba(255, 255, 255, .18); }

.vf-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.vf-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--vf-ink);
  border-bottom: 1px solid var(--vf-line-strong);
  padding-bottom: .4em;
}
.vf-link:hover { color: var(--vf-brand); border-color: var(--vf-brand); }
.vf-link::after { content: "↗"; font-size: .95em; transition: transform .3s var(--vf-ease); }
.vf-link:hover::after { transform: translate(2px, -2px); }

/* ==========================================================================
   4 · CABECERA
   ========================================================================== */

.vf-topbar {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--vf-bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--vf-line);
  transition: box-shadow .3s var(--vf-ease), background-color .3s var(--vf-ease);
}
.vf-topbar.is-scrolled { box-shadow: 0 1px 24px rgba(0, 0, 0, .07); }
html[data-identidad="vanguardia"] .vf-topbar { background: color-mix(in srgb, #0B0E12 86%, transparent); }
html[data-identidad="vanguardia"] .vf-topbar.is-scrolled { box-shadow: 0 1px 0 rgba(127, 227, 196, .12), 0 18px 40px rgba(0, 0, 0, .55); }

.vf-topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px; max-width: var(--vf-max); margin-inline: auto; padding-inline: var(--vf-m);
}

/* Logotipo: «MÉTODO» + VLAM oficial (hereda color) + «face» */
.vf-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--vf-ink); }
.vf-logo:hover { color: var(--vf-ink); }
.vf-logo__metodo {
  font-family: var(--vf-font-ui); font-size: .5625rem; font-weight: 400;
  letter-spacing: .34em; text-transform: uppercase; color: var(--vf-ink-3);
  writing-mode: horizontal-tb; transform: translateY(1px);
}
.vf-logo__vlam { flex: 0 0 auto; width: clamp(58px, 5vw, 78px); min-width: 58px; height: auto; color: currentColor; }
.vf-logo__vlam svg, .vf-logo__vlam img { width: 100%; height: auto; display: block; }
.vf-logo__face {
  position: relative; font-family: "Pinyon Script", "Snell Roundhand", "Segoe Script", cursive;
  font-size: clamp(15px, 1.5vw, 19px); line-height: 1; color: var(--vf-brand);
  transform: translate(-2px, 6px) rotate(-4deg);
}
html[data-identidad="vanguardia"] .vf-logo__face { font-family: var(--vf-font-ui); font-style: normal; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; font-size: .6875rem; transform: translateY(4px); color: var(--vf-brand); }
.vf-logo__reg { font-family: var(--vf-font-ui); font-size: .5rem; color: var(--vf-ink-3); transform: translateY(-10px); }

.vf-custom-logo img { max-height: 54px; width: auto; }

.vf-nav { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); }
.vf-nav__list { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 20px); list-style: none; margin: 0; padding: 0; }
.vf-nav__list a {
  display: inline-block; padding: 6px 0; white-space: nowrap;
  font-size: .71875rem; font-weight: 400; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; color: var(--vf-ink-2);
  border-bottom: 1px solid transparent;
}
.vf-nav__list a:hover, .vf-nav__list .current-menu-item > a, .vf-nav__list .current_page_item > a {
  color: var(--vf-ink); border-bottom-color: var(--vf-brand);
}
html[data-identidad="vanguardia"] .vf-nav__list a { font-size: .6875rem; letter-spacing: .18em; }
.vf-nav__cta { margin-left: 4px; min-height: 44px; padding: 0 16px; font-size: .625rem; letter-spacing: .1em; white-space: nowrap; }

/* Selector de identidad (visible si el panel lo permite) */
.vf-identity {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--vf-line); border-radius: 999px; padding: 3px;
  background: color-mix(in srgb, var(--vf-surface) 60%, transparent);
}
.vf-identity button {
  appearance: none; border: 0; background: transparent; color: var(--vf-ink-3);
  font-family: var(--vf-font-ui); font-size: .5625rem; letter-spacing: .16em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 999px; cursor: pointer;
  transition: color .25s var(--vf-ease), background-color .25s var(--vf-ease);
}
.vf-identity button[aria-pressed="true"] { background: var(--vf-ink); color: var(--vf-bg); }
.vf-identity button:hover { color: var(--vf-ink); }
.vf-identity button[aria-pressed="true"]:hover { color: var(--vf-bg); }

.vf-burger {
  display: none; appearance: none; background: transparent; border: 1px solid var(--vf-line);
  border-radius: var(--vf-radius); width: 46px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  color: var(--vf-ink);
}
.vf-burger span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .3s var(--vf-ease), opacity .2s; }
.vf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.vf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.vf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menú móvil */
.vf-drawer {
  position: fixed; inset: 0; z-index: 70;
  background: var(--vf-bg); color: var(--vf-ink);
  padding: 24px var(--vf-m) 40px;
  display: flex; flex-direction: column; gap: 24px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .45s var(--vf-ease), opacity .3s, visibility .3s;
  overflow-y: auto;
}
.vf-drawer.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.vf-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.vf-drawer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vf-drawer__list li { border-bottom: 1px solid var(--vf-line); }
.vf-drawer__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 18px 0; text-decoration: none;
  font-family: var(--vf-font-display); font-size: 1.6rem; line-height: 1.2;
}
html[data-identidad="vanguardia"] .vf-drawer__list a { font-family: var(--vf-font-ui); font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 300; }
.vf-drawer__list a span { font-family: var(--vf-font-ui); font-size: .625rem; letter-spacing: .16em; color: var(--vf-ink-3); }
.vf-drawer__foot { margin-top: auto; display: grid; gap: 14px; }

body.vf-no-scroll { overflow: hidden; }

/* ==========================================================================
   5 · PORTADA · HERO
   ========================================================================== */

.vf-hero { position: relative; overflow: hidden; background: var(--vf-hero-bg); }
.vf-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  max-width: var(--vf-max); margin-inline: auto; padding: clamp(40px, 6vw, 92px) var(--vf-m) clamp(40px, 6vw, 88px);
  position: relative; z-index: 1;
}
.vf-hero__copy { max-width: 620px; }
.vf-hero h1 { margin-top: 22px; }
.vf-hero h1 em { font-style: italic; color: var(--vf-brand); }
html[data-identidad="vanguardia"] .vf-hero h1 em { font-style: normal; color: var(--vf-brand); }
.vf-hero__sub { margin-top: 26px; max-width: 54ch; }
.vf-hero__actions { margin-top: 36px; }
.vf-hero__meta {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 26px;
  border-top: 1px solid var(--vf-line);
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  list-style: none; padding-inline: 0;
}
.vf-hero__meta li {
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vf-ink-3);
  display: flex; align-items: center; gap: .6em;
}
.vf-hero__meta li::before { content: ""; width: 4px; height: 4px; background: var(--vf-brand); border-radius: 50%; flex: none; }

.vf-hero__media { position: relative; }
.vf-hero__figure {
  position: relative; overflow: hidden; border-radius: var(--vf-radius-lg);
  background: var(--vf-surface-2);
  aspect-ratio: 4 / 5;
}
.vf-hero__figure img { width: 100%; height: 100%; object-fit: cover; }
html[data-identidad="original"] .vf-hero__img--van { display: none; }
html[data-identidad="vanguardia"] .vf-hero__img--orig { display: none; }
.vf-hero__figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
  border-radius: inherit;
}
html[data-identidad="vanguardia"] .vf-hero__figure { box-shadow: 0 0 0 1px rgba(127, 227, 196, .18), 0 0 60px rgba(127, 227, 196, .10); }
.vf-hero__tag {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--vf-bg); color: var(--vf-ink);
  padding: 12px 18px;
  font-size: .625rem; letter-spacing: .18em; text-transform: uppercase;
  border-top-right-radius: var(--vf-radius);
}
html[data-identidad="vanguardia"] .vf-hero__tag { background: rgba(11, 14, 18, .86); color: var(--vf-brand); border: 1px solid rgba(127, 227, 196, .3); border-left: 0; border-bottom: 0; padding: 14px 18px; }
.vf-hero__tag::before { content: ""; width: 18px; height: 1px; background: var(--vf-brand); }

.vf-hero__scroll {
  position: absolute; right: var(--vf-m); bottom: 22px; z-index: 2;
  font-size: .5625rem; letter-spacing: .22em; text-transform: uppercase; color: var(--vf-ink-3);
  display: flex; align-items: center; gap: 10px;
}
.vf-hero__scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--vf-line-strong), transparent); }

/* ==========================================================================
   6 · BLOQUES EDITORIALES
   ========================================================================== */

.vf-grid { display: grid; gap: clamp(24px, 3.4vw, 52px); }
.vf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vf-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.vf-split--rev > :first-child { order: 2; }
.vf-stack { display: grid; gap: clamp(16px, 2vw, 26px); }
.vf-head { display: grid; gap: 18px; max-width: 760px; }
.vf-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.vf-head--center .vf-label::before { display: none; }

/* Manifiesto */
.vf-manifesto { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.vf-manifesto__quote { font-family: var(--vf-font-display); font-size: clamp(1.75rem, 3.1vw, 2.9rem); line-height: 1.16; letter-spacing: -.01em; }
.vf-manifesto__quote em { color: var(--vf-brand); font-style: italic; }
html[data-identidad="vanguardia"] .vf-manifesto__quote { text-transform: none; letter-spacing: .01em; }
html[data-identidad="vanguardia"] .vf-manifesto__quote em { font-style: normal; color: var(--vf-brand); }

/* Tarjetas de pilares */
.vf-card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--vf-surface); border: 1px solid var(--vf-line);
  border-radius: var(--vf-radius);
  transition: transform .4s var(--vf-ease), box-shadow .4s var(--vf-ease), border-color .4s var(--vf-ease);
}
.vf-card:hover { transform: translateY(-3px); box-shadow: var(--vf-shadow-hover); border-color: var(--vf-line-strong); }
.vf-card__num { font-family: var(--vf-font-display); font-size: .9375rem; color: var(--vf-ink-3); letter-spacing: .1em; }
.vf-card h3 { font-size: clamp(1.2rem, 1.5vw, 1.5rem); }
.vf-card p { color: var(--vf-ink-2); font-size: .9688rem; }
html[data-identidad="vanguardia"] .vf-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)), var(--vf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
html[data-identidad="vanguardia"] .vf-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 1px;
  background: linear-gradient(180deg, var(--vf-brand), transparent 70%); opacity: .5;
}
html[data-identidad="vanguardia"] .vf-card:hover { border-color: var(--vf-line-strong); }
html[data-identidad="vanguardia"] .vf-card__num { color: var(--vf-accent); }

/* Figuras y láminas */
.vf-plate {
  position: relative; overflow: hidden; border: 1px solid var(--vf-line);
  background: var(--vf-surface-2); border-radius: var(--vf-radius);
}
.vf-plate img { width: 100%; height: 100%; object-fit: cover; }
.vf-plate--paper { background: #F5EFE5; }
html[data-identidad="vanguardia"] .vf-plate--paper {
  background: #0E141A;
  box-shadow: 0 0 0 1px rgba(127, 227, 196, .18), 0 18px 50px rgba(0, 0, 0, .55);
}
/* Rostros · el método vale para cualquier persona */
.vf-rostros {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, .82fr)) minmax(0, 1.36fr);
  gap: clamp(18px, 2.6vw, 34px);
  align-items: end;
  margin-top: clamp(26px, 3.6vw, 46px);
}
.vf-rostros__item { margin: 0; position: relative; }
.vf-rostros__item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--vf-radius);
  box-shadow: 0 30px 70px -46px rgba(36, 27, 23, .55);
}
.vf-rostros__item figcaption {
  margin-top: 12px; font-size: .6875rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--vf-ink-3);
}
.vf-rostros__copy { align-self: center; padding-bottom: clamp(6px, 1.4vw, 22px); }
html[data-identidad="vanguardia"] .vf-rostros__item img { box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); }

/* Ventajas de la app */
.vf-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.vf-benefits li {
  border-top: 1px solid var(--vf-line); padding-top: 18px;
  display: grid; gap: 8px;
}
.vf-benefits b { font-family: var(--vf-font-display); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.25; }
html[data-identidad="vanguardia"] .vf-benefits b { font-family: var(--vf-font-ui); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(.9rem, 1.1vw, 1rem); }
.vf-benefits span { color: var(--vf-ink-2); font-size: .9375rem; line-height: 1.6; }

/* Tarjetas de actividad */
.vf-cards .vf-card h3 { font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 10px; }

/* Imágenes dentro del contenido editorial */
.vf-content .wp-block-image img,
.vf-content > figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--vf-radius); }
@media (max-width: 680px) {
  .vf-content .wp-block-image img,
  .vf-content > figure img { aspect-ratio: 4 / 3; }
}

/* Franja de imagen a lo ancho de una sección */
.vf-wide-figure { margin-top: clamp(28px, 4vw, 54px); }
.vf-wide-figure .vf-plate img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* Foto del centro sobre la banda oscura */
.vf-centro__figure { position: relative; overflow: hidden; border-radius: var(--vf-radius); margin: 0; }
.vf-centro__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vf-centro__figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10); border-radius: inherit;
}
html[data-identidad="vanguardia"] .vf-centro__figure::after { box-shadow: inset 0 0 0 1px rgba(127, 227, 196, .22); }
.vf-centro .vf-centro__data { margin-top: clamp(30px, 4vw, 52px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid color-mix(in srgb, var(--vf-bg) 22%, transparent); }

.vf-figure-caption {
  margin-top: 14px; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--vf-ink-3); display: flex; gap: 10px; align-items: baseline;
}
.vf-figure-caption span { color: var(--vf-brand); }

/* Anatomía */
.vf-anatomy__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.vf-anatomy__list li {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--vf-line);
}
.vf-anatomy__list li:first-child { border-top: 1px solid var(--vf-line); }
.vf-anatomy__list b { font-weight: 400; color: var(--vf-ink); }
.vf-anatomy__list span { color: var(--vf-ink-2); font-size: .9375rem; }

/* Proceso */
.vf-steps { counter-reset: vfstep; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--vf-line); }
.vf-step {
  counter-increment: vfstep; position: relative; padding: 30px 22px 6px 0;
  border-right: 1px solid var(--vf-line);
}
.vf-step:last-child { border-right: 0; padding-right: 0; }
.vf-step::before {
  content: counter(vfstep, decimal-leading-zero);
  display: block; margin-bottom: 18px;
  font-family: var(--vf-font-ui); font-size: .6875rem; letter-spacing: .2em;
  color: var(--vf-ink-2);
}
html[data-identidad="vanguardia"] .vf-step::before { color: var(--vf-accent); }
.vf-step h3 { font-size: 1.1875rem; margin-bottom: 10px; }
.vf-step p { font-size: .9063rem; color: var(--vf-ink-2); }

/* Continuidad */
.vf-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.vf-checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; color: var(--vf-ink-2); }
.vf-checklist li::before {
  content: ""; width: 7px; height: 7px; margin-top: .55em;
  border: 1px solid var(--vf-brand); border-radius: 50%; flex: none;
}
html[data-identidad="vanguardia"] .vf-checklist li::before { background: var(--vf-brand); box-shadow: 0 0 12px rgba(127, 227, 196, .5); }

/* Centro */
.vf-centro { background: var(--vf-ink); color: var(--vf-bg); }
html[data-identidad="vanguardia"] .vf-centro { background: #0A0D11; color: var(--vf-ink); }
.vf-centro h2, .vf-centro h3 { color: inherit; }
.vf-centro .vf-text, .vf-centro .vf-lead { color: color-mix(in srgb, var(--vf-bg) 78%, transparent); }
html[data-identidad="vanguardia"] .vf-centro .vf-text, html[data-identidad="vanguardia"] .vf-centro .vf-lead { color: var(--vf-ink-2); }
.vf-centro .vf-label { color: color-mix(in srgb, var(--vf-bg) 62%, transparent); }
html[data-identidad="vanguardia"] .vf-centro .vf-label { color: var(--vf-brand); }
.vf-centro__data { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 34px; }
.vf-centro__data dt { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.vf-centro__data dd { margin: 0; font-size: 1rem; }
.vf-centro a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* FAQ */
.vf-faq { display: grid; gap: 0; border-top: 1px solid var(--vf-line); }
.vf-faq details { border-bottom: 1px solid var(--vf-line); }
.vf-faq summary {
  cursor: pointer; list-style: none; padding: 22px 46px 22px 0; position: relative;
  font-family: var(--vf-font-display); font-size: clamp(1.125rem, 1.6vw, 1.4rem);
  color: var(--vf-ink); line-height: 1.3;
}
.vf-faq summary::-webkit-details-marker { display: none; }
.vf-faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--vf-font-ui); font-size: 1.25rem; font-weight: 300; color: var(--vf-brand);
  transition: transform .3s var(--vf-ease);
}
.vf-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.vf-faq__answer { padding: 0 46px 26px 0; color: var(--vf-ink-2); max-width: 72ch; }
html[data-identidad="vanguardia"] .vf-faq summary { font-family: var(--vf-font-ui); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 300; }

/* CTA final */
.vf-cta { position: relative; overflow: hidden; background: var(--vf-surface-2); border-top: 1px solid var(--vf-line); }
html[data-identidad="vanguardia"] .vf-cta { background: linear-gradient(135deg, rgba(127, 227, 196, .08), rgba(255, 90, 95, .05)), #0C1015; }
.vf-cta__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 34px; align-items: center; }

/* Contacto */
.vf-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.vf-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.vf-contact__list dt { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--vf-ink-3); margin-bottom: 5px; }
.vf-contact__list dd { margin: 0; font-size: 1rem; color: var(--vf-ink); }
.vf-form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); background: var(--vf-surface); border: 1px solid var(--vf-line); border-radius: var(--vf-radius); }
.vf-form label { display: grid; gap: 8px; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--vf-ink-3); }
.vf-form input, .vf-form textarea, .vf-form select {
  width: 100%; padding: 14px 16px; font-family: var(--vf-font-ui); font-size: 1rem; color: var(--vf-ink);
  background: var(--vf-bg); border: 1px solid var(--vf-line); border-radius: var(--vf-radius);
  transition: border-color .25s var(--vf-ease), box-shadow .25s var(--vf-ease);
}
.vf-form input:focus, .vf-form textarea:focus, .vf-form select:focus {
  outline: none; border-color: var(--vf-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vf-brand) 22%, transparent);
}
.vf-form textarea { min-height: 128px; resize: vertical; }
.vf-form__consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; text-transform: none; letter-spacing: 0; font-size: .8125rem; color: var(--vf-ink-2); }
.vf-form__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--vf-brand); }

/* ==========================================================================
   7 · MAPA FACIAL INTERACTIVO
   ========================================================================== */


/* ==========================================================================
   8 · PIE
   ========================================================================== */

.vf-footer { background: var(--vf-ink); color: color-mix(in srgb, var(--vf-bg) 82%, transparent); padding-top: clamp(56px, 7vw, 96px); }
html[data-identidad="vanguardia"] .vf-footer { background: #080A0D; color: var(--vf-ink-2); border-top: 1px solid rgba(127, 227, 196, .16); }
.vf-footer a { color: inherit; text-decoration: none; }
.vf-footer a:hover { color: var(--vf-brand); }
.vf-footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .7fr)); gap: clamp(24px, 4vw, 52px); padding-bottom: clamp(40px, 5vw, 64px); }
.vf-footer__lema { font-family: var(--vf-font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; color: var(--vf-bg); max-width: 22ch; margin-top: 18px; }
html[data-identidad="vanguardia"] .vf-footer__lema { color: var(--vf-ink); }
.vf-footer__logo { color: #FFFDFA; width: auto; max-width: 210px; }
.vf-footer__logo .vf-logo__vlam { width: clamp(74px, 6.4vw, 96px); min-width: 74px; }
.vf-footer__logo .vf-logo__vlam { color: inherit; }
.vf-footer__logo .vf-logo__metodo { color: rgba(255, 253, 250, .55); }
.vf-footer__logo .vf-logo__face { color: #D9C3A0; }
.vf-footer__logo .vf-logo__reg { color: rgba(255, 253, 250, .45); }
html[data-identidad="vanguardia"] .vf-footer__logo { color: var(--vf-brand); }
html[data-identidad="vanguardia"] .vf-footer__logo .vf-logo__metodo { color: rgba(238, 242, 246, .55); }
html[data-identidad="vanguardia"] .vf-footer__logo .vf-logo__face { color: var(--vf-brand); }
html[data-identidad="vanguardia"] .vf-footer__logo .vf-logo__reg { color: rgba(238, 242, 246, .45); }
.vf-footer h4 { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; color: color-mix(in srgb, var(--vf-bg) 55%, transparent); font-weight: 500; }
html[data-identidad="vanguardia"] .vf-footer h4 { color: var(--vf-ink-3); }
.vf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9375rem; }
.vf-footer__bottom {
  border-top: 1px solid color-mix(in srgb, var(--vf-bg) 18%, transparent);
  padding-block: 24px 30px; display: flex; flex-wrap: wrap; gap: 12px 26px;
  align-items: center; justify-content: space-between;
  font-size: .75rem; letter-spacing: .04em;
}
html[data-identidad="vanguardia"] .vf-footer__bottom { border-top-color: rgba(255, 255, 255, .10); }
.vf-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ==========================================================================
   9 · PÁGINAS INTERIORES
   ========================================================================== */

.vf-pagehead { position: relative; padding-top: clamp(52px, 7vw, 96px); padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--vf-line); overflow: hidden; }
.vf-pagehead__inner { max-width: var(--vf-max); margin-inline: auto; padding-inline: var(--vf-m); display: grid; gap: 20px; }
.vf-pagehead h1 { max-width: 22ch; }
.vf-pagehead p { max-width: 62ch; }
.vf-breadcrumb { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vf-ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.vf-breadcrumb a { text-decoration: none; }
.vf-breadcrumb span[aria-current] { color: var(--vf-ink); }

.vf-content { padding-block: clamp(44px, 6vw, 84px); }
.vf-content > * { max-width: 760px; }
.vf-content .alignwide { max-width: var(--vf-max); }
.vf-content .alignfull { max-width: none; width: 100%; }

.vf-prose p, .vf-prose ul, .vf-prose ol { color: var(--vf-ink-2); margin-bottom: 1.15em; max-width: 70ch; }
.vf-prose h2 { margin-top: 2.2em; margin-bottom: .6em; }
.vf-prose h3 { margin-top: 1.8em; margin-bottom: .5em; }
.vf-prose ul, .vf-prose ol { padding-left: 1.2em; }
.vf-prose li { margin-bottom: .5em; }
.vf-prose a { color: var(--vf-ink); text-decoration-color: var(--vf-brand); }
.vf-prose blockquote {
  border-left: 1px solid var(--vf-brand); padding: 6px 0 6px 24px; margin: 2em 0;
  font-family: var(--vf-font-display); font-size: 1.3rem; color: var(--vf-ink);
}
.vf-prose img { margin-block: 1.6em; }
.vf-prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.vf-prose th, .vf-prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--vf-line); }
.vf-prose th { font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vf-ink-3); }

/* Bloques nativos de Gutenberg, en la línea del tema */
.wp-block-button__link {
  border-radius: var(--vf-radius) !important;
  background: var(--vf-ink); color: var(--vf-bg);
  font-family: var(--vf-font-ui); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 30px; text-decoration: none;
}
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--vf-ink); border: 1px solid var(--vf-line-strong); }
.wp-block-image figcaption { font-size: .75rem; color: var(--vf-ink-3); letter-spacing: .08em; }
.wp-block-separator { border: 0; border-top: 1px solid var(--vf-line); }
.wp-block-quote { border-left: 1px solid var(--vf-brand); padding-left: 22px; }
.wp-block-table td, .wp-block-table th { border-color: var(--vf-line); }
.wp-block-details summary { cursor: pointer; font-family: var(--vf-font-display); font-size: 1.2rem; }

/* Buscador y 404 */
.vf-404 { display: grid; gap: 22px; padding-block: clamp(70px, 12vw, 160px); max-width: 640px; }

/* ==========================================================================
   10 · ANIMACIONES (discretas, siempre respetando reduced-motion)
   ========================================================================== */

.vf-js .vf-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--vf-ease), transform .8s var(--vf-ease); }
.vf-js .vf-reveal.is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   11 · RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .vf-nav__list { gap: 14px; }
  .vf-nav__list a { font-size: .7188rem; letter-spacing: .07em; }
  .vf-identity { display: none; }
}

@media (max-width: 1024px) {
  .vf-nav { display: none; }
  .vf-burger { display: inline-flex; }
  .vf-hero__inner { grid-template-columns: 1fr; }
  .vf-hero__copy { max-width: none; }
  .vf-hero__figure { aspect-ratio: 16 / 12; }
  .vf-split { grid-template-columns: 1fr; }
  .vf-split--rev > :first-child { order: 0; }
  .vf-manifesto { grid-template-columns: 1fr; }
  .vf-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vf-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vf-step { border-bottom: 1px solid var(--vf-line); padding-bottom: 26px; }
  .vf-step:nth-child(2n) { border-right: 0; padding-right: 0; }
  .vf-contact { grid-template-columns: 1fr; }
  .vf-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vf-cta__inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --vf-body-size: 1rem; }
  .vf-hero__figure { aspect-ratio: 4 / 5; }
  .vf-grid--2, .vf-grid--3, .vf-grid--4 { grid-template-columns: 1fr; }
  .vf-steps { grid-template-columns: 1fr; }
  .vf-step { border-right: 0; }
  .vf-hero__meta { gap: 10px 20px; }
  .vf-hero__meta li { font-size: .6875rem; }
  .vf-actions { gap: 10px; }
  .vf-btn { width: 100%; }
  .vf-actions .vf-link { width: auto; }
  .vf-footer__top { grid-template-columns: 1fr; }
  .vf-faq summary { padding-right: 34px; font-size: 1.05rem; }
  .vf-faq__answer { padding-right: 0; }
  .vf-hero__scroll { display: none; }
  .vf-wide-figure .vf-plate img { aspect-ratio: 16 / 10; }
  .vf-rostros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vf-rostros__copy { grid-column: 1 / -1; }
  .vf-benefits { grid-template-columns: 1fr; }
}

/* WordPress: alineaciones y utilidades del editor */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-inline: auto; }
.entry-content::after { content: ""; display: table; clear: both; }

/* ==========================================================================
   VLAM FACE · 3.2 — Filosofía VLAM, notas anatómicas y formulario B2B
   ========================================================================== */

.vf-section--tight {
	padding-top: clamp(38px, 5vw, 74px);
	padding-bottom: clamp(38px, 5vw, 74px);
}

.vf-split--aside {
	display: grid;
	gap: clamp(26px, 4vw, 58px);
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

@media (min-width: 900px) {
	.vf-split--aside {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
	}
}

.vf-letters {
	display: grid;
	gap: 2px;
	border-top: 1px solid var(--vf-line, rgba(36, 27, 23, 0.14));
}

.vf-letter {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
	padding: 16px 0 15px;
	border-bottom: 1px solid var(--vf-line, rgba(36, 27, 23, 0.14));
}

.vf-letter__mark {
	font-family: var(--vf-font-display, Georgia, serif);
	font-size: 1.85rem;
	line-height: 1;
	color: var(--vf-brand, #8b7f71);
	grid-row: span 2;
}

.vf-letter h3 {
	margin: 0 0 3px;
	font-size: 1.02rem;
	letter-spacing: 0.005em;
}

.vf-letter p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--vf-muted, #6e5c52);
}

.vf-anatomy__foot {
	display: grid;
	gap: 14px;
	margin-top: clamp(24px, 3vw, 40px);
	border-top: 1px solid var(--vf-line, rgba(36, 27, 23, 0.14));
	padding-top: clamp(18px, 2.4vw, 28px);
}

@media (min-width: 900px) {
	.vf-anatomy__foot {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: clamp(20px, 3vw, 40px);
	}
	.vf-anatomy__foot .vf-actions {
		grid-column: 1 / -1;
		margin-top: 6px;
	}
}

.vf-anatomy__note {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 10px;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--vf-muted, #6e5c52);
}

.vf-anatomy__note b {
	color: var(--vf-ink, #241b17);
	font-weight: 500;
}

/* Formulario B2B ----------------------------------------------------------- */
.vf-form {
	display: grid;
	gap: 16px;
	max-width: 720px;
}

@media (min-width: 720px) {
	.vf-form__row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

.vf-form__field {
	display: grid;
	gap: 6px;
}

.vf-form__field label {
	font-family: var(--vf-font-ui, "Jost", sans-serif);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vf-muted, #6e5c52);
}

.vf-form__field input,
.vf-form__field select,
.vf-form__field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--vf-line, rgba(36, 27, 23, 0.2));
	border-radius: 2px;
	background: var(--vf-surface, #fff);
	color: var(--vf-ink, #241b17);
	font: inherit;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vf-form__field input:focus,
.vf-form__field select:focus,
.vf-form__field textarea:focus {
	outline: none;
	border-color: var(--vf-brand, #8b7f71);
	box-shadow: 0 0 0 3px rgba(139, 127, 113, 0.16);
}

.vf-form__check {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--vf-muted, #6e5c52);
}

.vf-form__check input {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	accent-color: var(--vf-brand, #8b7f71);
}

.vf-form__hp {
	position: absolute !important;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.vf-form__note {
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--vf-muted, #6e5c52);
	margin: 0;
}

.vf-form__alert {
	padding: 12px 16px;
	border-left: 2px solid var(--vf-brand, #8b7f71);
	background: rgba(139, 127, 113, 0.08);
	font-size: 0.9rem;
}

.vf-form__alert--error {
	border-left-color: #a4544a;
	background: rgba(164, 84, 74, 0.08);
}

[data-identity="vanguardia"] .vf-form__field input,
[data-identity="vanguardia"] .vf-form__field select,
[data-identity="vanguardia"] .vf-form__field textarea {
	background: rgba(242, 247, 246, 0.04);
	border-color: rgba(127, 227, 196, 0.28);
	color: #f2f7f6;
}

[data-identity="vanguardia"] .vf-form__field input:focus,
[data-identity="vanguardia"] .vf-form__field select:focus,
[data-identity="vanguardia"] .vf-form__field textarea:focus {
	border-color: #7fe3c4;
	box-shadow: 0 0 0 3px rgba(127, 227, 196, 0.18);
}

[data-identity="vanguardia"] .vf-form__check input {
	accent-color: #7fe3c4;
}

[data-identity="vanguardia"] .vf-letter__mark {
	color: #7fe3c4;
}

/* Cabecera: dos accesos diferenciados -------------------------------------- */
.vf-nav__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vf-nav__actions .vf-btn {
	white-space: nowrap;
	min-height: 42px;
}

.vf-nav__demo {
	padding: 0 14px;
	font-size: .625rem;
	letter-spacing: .08em;
	border-color: var(--vf-line, rgba(36, 27, 23, 0.24));
}

@media (max-width: 1420px) {
	.vf-nav__demo { display: none; }
}

@media (max-width: 1240px) and (min-width: 981px) {
	.vf-nav { gap: 10px; }
	.vf-nav__list { gap: 9px; }
	.vf-nav__list a { font-size: .66rem; letter-spacing: .04em; }
	.vf-identity { display: none; }
}

@media (max-width: 480px) {
	.vf-nav__actions .vf-nav__cta { font-size: 0.72rem; padding: 10px 12px; }
}

/* Capturas reales de la aplicación ---------------------------------------- */
.vf-shots {
	display: grid;
	gap: clamp(26px, 3.4vw, 48px);
	margin-block: clamp(26px, 3vw, 42px) 18px;
}

@media (min-width: 900px) {
	.vf-shots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(24px, 3vw, 44px);
	}
	.vf-shot:nth-child(-n+2) {
		grid-column: 1 / -1;
	}
}

.vf-shot {
	margin: 0;
	display: grid;
	gap: 14px;
}

.vf-shot__frame {
	display: block;
	position: relative;
	border: 1px solid var(--vf-line, rgba(36, 27, 23, 0.14));
	border-radius: 4px;
	overflow: hidden;
	background: var(--vf-surface, #f7f3ed);
	box-shadow: 0 18px 44px -30px rgba(36, 27, 23, 0.5);
}

.vf-shot__frame img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: 50% 0;
}

.vf-shot figcaption {
	display: grid;
	gap: 5px;
}

.vf-shot__label {
	font-family: var(--vf-font-ui, "Jost", sans-serif);
	font-size: 0.66rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--vf-brand, #8b7f71);
}

.vf-shot h3 {
	margin: 0;
	font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.vf-shot p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--vf-muted, #6e5c52);
}

.vf-shots__note {
	max-width: 70ch;
	border-top: 1px solid var(--vf-line, rgba(36, 27, 23, 0.14));
	padding-top: 14px;
}

[data-identity="vanguardia"] .vf-shot__frame {
	border-color: rgba(127, 227, 196, 0.22);
	box-shadow: 0 18px 44px -28px rgba(0, 0, 0, 0.9);
}
[data-identity="vanguardia"] .vf-shot__label { color: #7fe3c4; }
[data-identity="vanguardia"] .vf-shot h3 { color: #f2f7f6; }
[data-identity="vanguardia"] .vf-shot p { color: rgba(242, 247, 246, 0.66); }
