/* ==========================================================================
   Victory's Dance — sistema de diseño
   Peri Digital · peridigital.es

   Tema OSCURO bloqueado en todo el sitio. Razón: la fotografía real de la
   escuela es nocturna y está iluminada en magenta y azul, el negocio es
   escuela de día y club de noche, y la competencia en Palma es toda blanca.

   Contraste verificado (WCAG AA):
     blanco sobre --vd-primary  4.78:1  → válido para texto de botón
     --vd-primary sobre fondo   3.78:1  → SOLO texto grande
     --vd-accent  sobre fondo   5.64:1  → texto pequeño de acento
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Marca (heredada del logotipo original) */
  --vd-primary: #dd0083;
  --vd-primary-hover: #f0159a;
  --vd-accent: #ff3fa8;          /* magenta claro: texto pequeño accesible */

  /* Superficies oscuras. Ligerísimo matiz cálido (algo de rojo) para que el
     negro no sea el azul-frío plano de plantilla y case con la madera de la
     sala en las fotos. */
  --vd-bg: #12121a;
  --vd-bg-2: #191922;
  --vd-bg-3: #20202c;
  --vd-line: #2b2b38;
  --vd-line-soft: rgba(255, 255, 255, 0.08);

  /* Texto */
  --vd-text: #e9ecf3;
  --vd-text-2: #a8b0c2;
  --vd-text-3: #737d93;
  --vd-on-primary: #ffffff;

  /* Tipografía: display con carácter en titulares, Roboto en el cuerpo. */
  --vd-font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --vd-font-display: 'Bricolage Grotesque', 'Roboto', system-ui, sans-serif;

  --vd-fs-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --vd-fs-base: clamp(1rem, 0.97rem + 0.18vw, 1.0938rem);
  --vd-fs-lg: clamp(1.125rem, 1.06rem + 0.32vw, 1.3125rem);
  --vd-fs-xl: clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem);
  --vd-fs-2xl: clamp(1.75rem, 1.42rem + 1.45vw, 2.625rem);
  --vd-fs-3xl: clamp(2.25rem, 1.75rem + 2.3vw, 3.5rem);
  --vd-fs-4xl: clamp(2.75rem, 1.9rem + 3.6vw, 4.75rem);

  /* Ritmo */
  --vd-gutter: clamp(1.15rem, 0.6rem + 2.2vw, 2.25rem);
  --vd-container: 1240px;
  --vd-narrow: 760px;
  --vd-section: clamp(4rem, 2.4rem + 6.4vw, 7.5rem);

  /* Forma: sistema único. Interactivo = píldora, superficies = 14px. */
  --vd-radius: 14px;
  --vd-radius-sm: 8px;
  --vd-radius-pill: 999px;

  --vd-shadow: 0 14px 40px rgba(4, 7, 14, 0.55);
  --vd-shadow-lg: 0 28px 80px rgba(4, 7, 14, 0.7);

  --vd-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --vd-dur: 420ms;

  --vd-header-h: 78px;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--vd-bg);
  color: var(--vd-text);
  font-family: var(--vd-font);
  font-size: var(--vd-fs-base);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grano de película. Capa fija, sin eventos y sin repintar en scroll (regla
   de rendimiento): rompe el degradado digital perfecto y da textura de foto
   analógica. Es lo que separa una superficie "impresa" de una plana de IA. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { body::after { display: none; } }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--vd-font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
h1 { font-size: var(--vd-fs-3xl); }
h2 { font-size: var(--vd-fs-2xl); }
h3 { font-size: var(--vd-fs-xl); font-weight: 700; }

p { margin: 0 0 1.15em; text-wrap: pretty; color: var(--vd-text-2); }
p:last-child { margin-bottom: 0; }

a { color: var(--vd-accent); text-underline-offset: 0.2em; }
a:hover { color: #fff; }

img, picture, video, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.2rem; }
button, input, select, textarea { font: inherit; color: inherit; }

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

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

.skip-link {
  position: absolute; top: -120px; left: var(--vd-gutter); z-index: 999;
  padding: 0.8rem 1.4rem; background: var(--vd-primary); color: #fff;
  font-weight: 700; border-radius: 0 0 var(--vd-radius-sm) var(--vd-radius-sm);
  text-decoration: none; transition: top var(--vd-dur) var(--vd-ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.vd-container { width: 100%; max-width: var(--vd-container); margin-inline: auto; padding-inline: var(--vd-gutter); }
.vd-container--narrow { max-width: var(--vd-narrow); }
.vd-section { padding-block: var(--vd-section); position: relative; }
.vd-section--tint { background: var(--vd-bg-2); }
.vd-site-main { min-height: 50vh; }

/* --------------------------------------------------------------------------
   4. PRIMITIVAS
   -------------------------------------------------------------------------- */
.vd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.95em 1.9em;
  font-size: var(--vd-fs-sm); font-weight: 700;
  letter-spacing: 0.045em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap;                    /* el CTA nunca parte en dos líneas */
  border: 2px solid transparent; border-radius: var(--vd-radius-pill);
  cursor: pointer;
  transition: background var(--vd-dur) var(--vd-ease),
              color var(--vd-dur) var(--vd-ease),
              border-color var(--vd-dur) var(--vd-ease),
              transform 180ms var(--vd-ease);
}
.vd-btn:active { transform: translateY(1px); }
.vd-btn--primary { background: var(--vd-primary); color: var(--vd-on-primary); }
.vd-btn--primary:hover { background: var(--vd-primary-hover); color: #fff; }
.vd-btn--outline { border-color: rgba(255,255,255,.32); color: #fff; }
.vd-btn--outline:hover { background: #fff; color: var(--vd-bg); border-color: #fff; }

.vd-eyebrow {
  display: block; margin-bottom: 1rem;
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--vd-accent);
}

.vd-lead { font-size: var(--vd-fs-lg); color: var(--vd-text-2); max-width: 58ch; }

/* --------------------------------------------------------------------------
   5. CABECERA
   -------------------------------------------------------------------------- */
.vd-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 20, 29, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--vd-line-soft);
}
.vd-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: var(--vd-header-h);
}
.vd-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
/* Altura explícita: el reset pone height:auto y el SVG necesita una medida
   concreta para no colapsar dentro de un <img>. */
.vd-logo img { height: 46px; width: auto; max-height: 46px; }
@media (max-width: 600px) { .vd-logo img { height: 36px; } }

.vd-nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.vd-nav a {
  color: var(--vd-text); text-decoration: none;
  font-size: 0.9375rem; font-weight: 500; white-space: nowrap;
  transition: color 220ms var(--vd-ease);
}
.vd-nav a:hover, .vd-nav .current-menu-item > a { color: var(--vd-accent); }

.vd-header__cta { flex-shrink: 0; }
.vd-header__cta .vd-btn { padding: 0.72em 1.35em; font-size: 0.8125rem; }

.vd-nav-toggle {
  display: none; background: transparent; border: 0; color: #fff;
  padding: 0.4rem; cursor: pointer;
}

/* --- Submenús ------------------------------------------------------------
   Se abren al pasar el ratón y también al recibir el foco, para que se pueda
   navegar con el teclado. En pantallas táctiles el botón que añade el JS los
   convierte en acordeón: el «hover» ahí no existe. */
.vd-nav li { position: relative; }

.vd-nav .sub-menu {
  position: absolute; top: calc(100% + 0.6rem); left: -1rem;
  min-width: 230px; z-index: 20;
  flex-direction: column; align-items: stretch; gap: 0;
  padding: 0.6rem;
  background: var(--vd-bg-2);
  border: 1px solid var(--vd-line);
  border-radius: var(--vd-radius);
  box-shadow: var(--vd-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 200ms var(--vd-ease), transform 200ms var(--vd-ease),
              visibility 200ms;
}
.vd-nav .sub-menu a {
  display: block; padding: 0.55rem 0.8rem;
  border-radius: var(--vd-radius-sm);
  white-space: nowrap;
}
.vd-nav .sub-menu a:hover { background: var(--vd-bg-3); color: #fff; }

.vd-nav li:hover > .sub-menu,
.vd-nav li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: none;
}

/* Flecha del padre. Es un botón real para que funcione con teclado y en táctil. */
.vd-submenu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; margin-left: 0.2rem;
  padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer;
  transition: transform 220ms var(--vd-ease), color 220ms var(--vd-ease);
}
.vd-submenu-toggle:hover { color: var(--vd-accent); }
.vd-submenu-toggle[aria-expanded="true"] { transform: rotate(180deg); }
.vd-nav .menu-item-has-children > a { display: inline-flex; align-items: center; }

@media (max-width: 1180px) {
  .vd-nav-toggle { display: inline-flex; order: 3; }
  .vd-header__cta { margin-left: auto; }
  .vd-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    max-height: calc(100vh - var(--vd-header-h)); overflow-y: auto;
    background: var(--vd-bg-2); border-bottom: 1px solid var(--vd-line);
    padding: 1.6rem var(--vd-gutter); box-shadow: var(--vd-shadow-lg);
  }
  .vd-nav.is-open { display: block; }
  .vd-nav > ul { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .vd-nav > ul > li > a { display: inline-flex; padding-block: 0.55rem; font-size: 1.05rem; }

  /* En móvil el submenú es un acordeón, no una capa flotante. */
  .vd-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; min-width: 0;
    margin: 0 0 0.6rem 0.9rem; padding: 0.3rem 0 0.3rem 0.9rem;
    border: 0; border-left: 2px solid var(--vd-line);
    border-radius: 0; box-shadow: none; background: transparent;
  }
  .vd-nav .sub-menu.is-open { display: block; }
  .vd-nav .sub-menu a { padding: 0.45rem 0; font-size: 0.98rem; }
  .vd-submenu-toggle { width: 2.2rem; height: 2.2rem; margin-left: 0.35rem; }
}

/* --------------------------------------------------------------------------
   6. HERO  (split asimétrico: texto izquierda, fotografía derecha)
   -------------------------------------------------------------------------- */
.vd-hero { position: relative; padding-block: clamp(3rem, 1.5rem + 5vw, 5.5rem) 0; overflow: hidden; }
.vd-hero__grid {
  display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .vd-hero__grid { grid-template-columns: 1.02fr 1.28fr; }
}
.vd-hero h1 { font-size: var(--vd-fs-4xl); margin-bottom: 0.5em; }
.vd-hero h1 .vd-hl { color: var(--vd-accent); }
.vd-hero__lead { font-size: var(--vd-fs-lg); color: var(--vd-text-2); max-width: 46ch; }
.vd-hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* Capas: 0 halo, 1 fotografía. Sin z-index negativos, que se pintan por
   detrás del fondo del contenedor y hacen desaparecer la imagen. */
.vd-hero__media { position: relative; isolation: isolate; }
.vd-hero__media img {
  position: relative; z-index: 1;
  width: 100%; border-radius: var(--vd-radius);
  aspect-ratio: 16 / 10; object-fit: cover;
  box-shadow: var(--vd-shadow-lg);
}
/* Halo magenta detrás de la foto: recoge la iluminación real de la sala. */
.vd-hero__media::before {
  content: ""; position: absolute; z-index: 0;
  inset: -14% -10% -18% -6%;
  background: radial-gradient(60% 60% at 60% 45%, rgba(221, 0, 131, 0.4), transparent 70%);
  filter: blur(48px); pointer-events: none;
}

/* --------------------------------------------------------------------------
   7. FRANJA DE CIFRAS
   -------------------------------------------------------------------------- */
.vd-stats { border-block: 1px solid var(--vd-line); background: var(--vd-bg-2); }
.vd-stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--vd-line);
}
@media (min-width: 780px) { .vd-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.vd-stat { background: var(--vd-bg-2); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem) 1.2rem; text-align: center; }
.vd-stat__n {
  display: block; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: #fff;
}
.vd-stat__l { display: block; margin-top: 0.55rem; font-size: var(--vd-fs-sm); color: var(--vd-text-3); }

/* --------------------------------------------------------------------------
   8. DOS CARAS  (escuela de día / club de noche)
   -------------------------------------------------------------------------- */
.vd-duo__grid { display: grid; gap: clamp(1.2rem, 0.6rem + 2vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 860px) { .vd-duo__grid { grid-template-columns: 1fr 1fr; } }
/* Capas: 0 fotografía, 1 velo, 2 texto. */
.vd-face {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--vd-radius);
  min-height: 420px; display: flex; align-items: flex-end;
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  border: 1px solid var(--vd-line);
  text-decoration: none;
}
.vd-face img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--vd-ease);
}
.vd-face::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,20,29,.15) 0%, rgba(16,20,29,.82) 62%, rgba(16,20,29,.96) 100%);
}
.vd-face > * { position: relative; z-index: 2; }
.vd-face:hover img { transform: scale(1.05); }
.vd-face h3 { margin-bottom: 0.4em; }
.vd-face p { color: #c9d0de; max-width: 40ch; }

/* --------------------------------------------------------------------------
   9. CLASES  (rejilla asimétrica, no tres tarjetas iguales)
   -------------------------------------------------------------------------- */
.vd-clases__grid { display: grid; gap: clamp(0.9rem, 0.5rem + 1.4vw, 1.4rem); grid-template-columns: 1fr; }
@media (min-width: 700px) { .vd-clases__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .vd-clases__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; }
  /* Ritmo: dos piezas grandes, cuatro medianas, una ancha de cierre. */
  .vd-clase:nth-child(1) { grid-column: span 3; grid-row: span 2; }
  .vd-clase:nth-child(2) { grid-column: span 3; }
  .vd-clase:nth-child(3) { grid-column: span 3; }
  .vd-clase:nth-child(4) { grid-column: span 2; }
  .vd-clase:nth-child(5) { grid-column: span 2; }
  .vd-clase:nth-child(6) { grid-column: span 2; }
  .vd-clase:nth-child(7) { grid-column: span 6; grid-row: span 1; }
}
/* Capas: 0 fotografía, 1 velo, 2 texto. */
.vd-clase {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: 210px; padding: 1.4rem; overflow: hidden;
  border: 1px solid var(--vd-line); border-radius: var(--vd-radius);
  text-decoration: none; background: var(--vd-bg-3);
  transition: border-color var(--vd-dur) var(--vd-ease);
}
.vd-clase img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: .62;
  transition: transform 900ms var(--vd-ease), opacity var(--vd-dur) var(--vd-ease);
}
.vd-clase::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,20,29,.1), rgba(16,20,29,.9));
}
.vd-clase > * { position: relative; z-index: 2; }
.vd-clase:hover { border-color: var(--vd-primary); }
.vd-clase:hover img { transform: scale(1.06); opacity: .78; }
.vd-clase__name {
  font-size: var(--vd-fs-xl); font-weight: 900; color: #fff;
  letter-spacing: -0.02em; line-height: 1.1;
}
.vd-clase__meta { display: block; margin-top: 0.3rem; font-size: var(--vd-fs-sm); color: #c9d0de; }

/* --------------------------------------------------------------------------
   10. CÓMO EMPEZAR  (flujo horizontal; el verbo es la etiqueta)
   -------------------------------------------------------------------------- */
.vd-pasos { display: grid; gap: 2.6rem; grid-template-columns: 1fr; counter-reset: paso; }
@media (min-width: 820px) { .vd-pasos { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.vd-paso { position: relative; padding-top: 3.6rem; }
/* Número grande semitransparente en la fuente display: elemento gráfico, no
   la etiqueta "Fase 01" de plantilla. */
.vd-paso::before {
  counter-increment: paso; content: counter(paso);
  position: absolute; top: -0.35rem; left: 0;
  font-family: var(--vd-font-display); font-size: 3.4rem; font-weight: 800;
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 63, 168, 0.5);
}
.vd-paso h3 { font-size: var(--vd-fs-lg); margin-bottom: 0.45em; }
.vd-paso p { font-size: var(--vd-fs-sm); }

/* --------------------------------------------------------------------------
   11. OPINIONES
   -------------------------------------------------------------------------- */
.vd-quotes { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .vd-quotes { grid-template-columns: repeat(3, 1fr); } }
.vd-quote {
  padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  background: var(--vd-bg-3); border: 1px solid var(--vd-line);
  border-radius: var(--vd-radius);
}
.vd-quote blockquote { margin: 0 0 1.1rem; font-size: var(--vd-fs-lg); color: #fff; line-height: 1.5; }
.vd-quote figcaption { font-size: var(--vd-fs-sm); color: var(--vd-text-3); }
.vd-quote figcaption strong { color: var(--vd-accent); font-weight: 700; display: block; }

/* --------------------------------------------------------------------------
   12. HISTORIA  (texto + foto, superposición)
   -------------------------------------------------------------------------- */
.vd-historia__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .vd-historia__grid { grid-template-columns: 1.15fr 1fr; } }
.vd-historia__media img { border-radius: var(--vd-radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* --------------------------------------------------------------------------
   13. CIERRE / CONTACTO
   -------------------------------------------------------------------------- */
.vd-cierre { position: relative; overflow: hidden; background: var(--vd-bg-3); }
.vd-cierre::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 15% 0%, rgba(221,0,131,.28), transparent 62%);
  pointer-events: none;
}
.vd-cierre__grid { position: relative; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 880px) { .vd-cierre__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.vd-datos { display: grid; gap: 1.4rem; }
.vd-dato__k { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vd-text-3); margin-bottom: 0.3rem; }
.vd-dato__v { font-size: var(--vd-fs-lg); color: #fff; font-weight: 700; text-decoration: none; }
.vd-dato__v:hover { color: var(--vd-accent); }
.vd-horario { list-style: none; padding: 0; margin: 0; }
.vd-horario li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--vd-line); font-size: var(--vd-fs-sm); }
.vd-horario li:last-child { border-bottom: 0; }
.vd-horario span:first-child { color: var(--vd-text-2); }
.vd-horario span:last-child { color: #fff; font-weight: 700; }

/* --------------------------------------------------------------------------
   14. PIE
   -------------------------------------------------------------------------- */
.vd-footer { background: var(--vd-bg-2); border-top: 1px solid var(--vd-line); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; font-size: var(--vd-fs-sm); }
.vd-footer__grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .vd-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.vd-footer p, .vd-footer li { color: var(--vd-text-2); }
.vd-footer a { color: var(--vd-text-2); text-decoration: none; }
.vd-footer a:hover { color: #fff; }
.vd-footer strong { color: #fff; }
.vd-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.vd-footer__bottom {
  margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--vd-line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center; font-size: 0.8125rem; color: var(--vd-text-3);
}
.vd-footer__bottom nav ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.vd-footer__credit a { color: var(--vd-accent); }

/* Redes sociales. Área de pulsación de 44px, que es el mínimo cómodo en móvil. */
.vd-social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.vd-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--vd-line); border-radius: 50%;
  color: var(--vd-text-2);
  transition: color var(--vd-dur) var(--vd-ease),
              border-color var(--vd-dur) var(--vd-ease),
              background var(--vd-dur) var(--vd-ease);
}
.vd-social a:hover {
  color: #fff; background: var(--vd-primary); border-color: var(--vd-primary);
}

/* --------------------------------------------------------------------------
   15. MOTION
   La entrada al hacer scroll ordena la lectura de arriba a abajo. Nada de
   bucles infinitos ni parallax: aquí el movimiento solo marca jerarquía.
   -------------------------------------------------------------------------- */
/* El contenido solo se oculta si hay JS para volver a mostrarlo (la clase js
   la pone un script en línea del head). Sin JS o con un error, todo se ve. */
@media (prefers-reduced-motion: no-preference) {
  .js .vd-reveal { opacity: 0; transform: translateY(22px); }
  .js .vd-reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity 700ms var(--vd-ease), transform 700ms var(--vd-ease);
    transition-delay: var(--vd-delay, 0ms);
  }
}

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

/* --------------------------------------------------------------------------
   16. FORMULARIOS (Contact Form 7)
   Etiqueta arriba, error debajo. Contraste AA sobre fondo oscuro.
   -------------------------------------------------------------------------- */
.vd-form label { display: block; margin-bottom: 1.1rem; font-size: var(--vd-fs-sm); font-weight: 700; color: #fff; }
.vd-form input[type="text"], .vd-form input[type="email"], .vd-form input[type="tel"],
.vd-form select, .vd-form textarea {
  display: block; width: 100%; margin-top: 0.45rem;
  padding: 0.85rem 1rem;
  background: var(--vd-bg); color: #fff;
  border: 1px solid var(--vd-line); border-radius: var(--vd-radius-sm);
  font-weight: 400;
  transition: border-color 220ms var(--vd-ease);
}
.vd-form input::placeholder, .vd-form textarea::placeholder { color: var(--vd-text-3); }
.vd-form input:focus, .vd-form select:focus, .vd-form textarea:focus {
  border-color: var(--vd-accent); outline: none;
  box-shadow: 0 0 0 3px rgba(255, 63, 168, 0.22);
}
.vd-form textarea { min-height: 140px; resize: vertical; }
.vd-form .wpcf7-not-valid-tip { display: block; margin-top: 0.4rem; font-size: 0.8125rem; font-weight: 400; color: #ff8a8a; }
.vd-form .wpcf7-response-output {
  margin: 1.4rem 0 0 !important; padding: 0.9rem 1.1rem !important;
  border-radius: var(--vd-radius-sm); border-width: 1px !important;
  font-size: var(--vd-fs-sm); color: #fff;
}
.vd-form .wpcf7-spinner { filter: invert(1); }
.vd-form input[type="submit"] {
  width: auto; margin-top: 1.6rem;
  padding: 0.95em 2.1em;
  background: var(--vd-primary); color: var(--vd-on-primary);
  border: 0; border-radius: var(--vd-radius-pill);
  font-size: var(--vd-fs-sm); font-weight: 700;
  letter-spacing: 0.045em; text-transform: uppercase; cursor: pointer;
  transition: background var(--vd-dur) var(--vd-ease);
}
.vd-form input[type="submit"]:hover { background: var(--vd-primary-hover); }
