/* ==========================================================================
   Vister · Landing de licencias (v2)
   Solo se carga en las landings. Todo va bajo .vl para no tocar el tema.
   Tokens del handoff de diseño; tipografía de títulos: la del sitio (Century Gothic).
   ========================================================================== */

.vl {
  --vl-navy: #1c4477;
  --vl-dark: #0d3261;
  --vl-mid: #31588b;
  --vl-tint: #e8eef7;
  --vl-accent: #c8552a;
  --vl-ok: #2e7d4f;
  --vl-no: #b3261e;
  --vl-black: #000;
  --vl-text: #2b2f34;
  --vl-grey: #777;
  --vl-grey-light: #bababa;
  --vl-line: #e3e6ea;
  --vl-alt: #f4f6f8;
  --vl-white: #fff;
  --vl-ondark-text: #cfdcee;
  --vl-ondark-muted: #9fb6d6;
  --vl-head: "Century Ghotic", "Century Gothic", "Outfit", "Public Sans", sans-serif;
  --vl-gutter: clamp(20px, 5vw, 56px);
  --vl-section: clamp(48px, 6vw, 88px);
  --vl-header-h: 100px;

  position: relative;
  background: var(--vl-white);
  color: var(--vl-text);
  font-size: 16px;
  line-height: 1.5;
  overflow: clip;
  -webkit-font-smoothing: antialiased;
}

/* El tema superpone la cabecera (logo y menú en blanco): franja azul debajo. */
.vl-headerband { height: var(--vl-header-h); background: var(--vl-dark); }
body.vister-landing #grve-content.vl-content { padding: 0; margin: 0; }
body.vister-landing .vl-content .grve-content-wrapper { padding: 0; }

/* Resets dentro de la landing (el tema tiene reglas globales para h1-h3, ul, p, a) */
.vl h1, .vl h2, .vl h3, .vl p, .vl ul, .vl dl, .vl dd { margin: 0; padding: 0; }
.vl ul { list-style: none; }
.vl a { text-decoration: none; color: var(--vl-navy); transition: color .15s, background-color .15s, border-color .15s; }
.vl a:hover { color: var(--vl-dark); }
.vl button { font: inherit; }
.vl img { max-width: 100%; height: auto; display: block; }
.vl [hidden] { display: none !important; }

/* Layout */
.vl-wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--vl-gutter); padding-right: var(--vl-gutter); }
.vl-section { padding: var(--vl-section) 0; background: var(--vl-white); }
.vl-section--alt { background: var(--vl-alt); }
.vl-section--dark { background: var(--vl-dark); color: var(--vl-white); }
.vl-head { display: flex; flex-direction: column; gap: 8px; max-width: 640px; margin-bottom: 32px; }
.vl-head--wide { max-width: 760px; }
.vl-head--row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.vl-grid { display: grid; gap: 16px; }
.vl-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.vl-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.vl-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* Tipografía */
.vl-eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--vl-grey); font-weight: 600; }
.vl-eyebrow--sm { font-size: 11px; letter-spacing: .12em; }
.vl-eyebrow--ondark { color: var(--vl-ondark-muted); }
.vl-h1 { font-family: var(--vl-head); text-transform: uppercase; letter-spacing: .02em; font-weight: 700; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; color: var(--vl-black); text-wrap: balance; }
.vl-h2 { font-family: var(--vl-head); text-transform: uppercase; letter-spacing: .03em; font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; color: var(--vl-black); }
.vl-h2--xl { font-size: clamp(34px, 4.5vw, 64px); line-height: 1; letter-spacing: .02em; }
.vl-h2--ondark { color: var(--vl-white); }
.vl-h3 { font-family: var(--vl-head); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; font-size: 18px; line-height: 1.25; color: var(--vl-black); }
.vl-h3--sm { font-size: 16px; }
.vl-h3--lg { font-size: 22px; letter-spacing: .04em; }
.vl-h3--ondark { color: var(--vl-white); }
.vl-lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--vl-text); text-wrap: pretty; }
.vl-text { font-size: 16px; color: var(--vl-text); text-wrap: pretty; }
.vl-small { font-size: 13px; }
.vl-muted { color: var(--vl-grey); }
.vl-link { color: var(--vl-navy); font-weight: 600; font-size: 14px; }
.vl-ph { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--vl-grey); border: 1px dashed var(--vl-grey-light); padding: 1px 6px; border-radius: 3px; }

/* Botones */
.vl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; border: 1px solid transparent; line-height: 1.2; letter-spacing: .01em; transition: background-color .15s, color .15s, border-color .15s; }
.vl-btn--primary { background: var(--vl-navy); color: var(--vl-white); }
.vl-btn--primary:hover, .vl-btn--primary:focus-visible { background: var(--vl-dark); color: var(--vl-white); }
.vl-btn--ondark { border-color: var(--vl-mid); }
.vl-btn--ondark:hover, .vl-btn--ondark:focus-visible { background: var(--vl-mid); }
.vl-btn--lg { padding: 18px 28px; font-size: 18px; min-height: 56px; }
.vl-btn--md { padding: 11px 20px; font-size: 15px; font-weight: 600; min-height: 48px; }
.vl-btn--block { display: flex; width: 100%; }
.vl-btn:focus-visible { outline: 3px solid var(--vl-accent); outline-offset: 2px; }

/* Chips, badges, ticks */
.vl-chip { border: 1px solid #d7dbe0; border-radius: 3px; padding: 3px 8px; font-weight: 600; font-size: 12px; color: var(--vl-dark); background: var(--vl-white); }
.vl-badge { display: inline-block; font-size: 12px; font-weight: 600; color: var(--vl-dark); background: var(--vl-tint); padding: 4px 10px; border-radius: 3px; white-space: nowrap; }
.vl-badge--accent { background: var(--vl-accent); color: var(--vl-white); font-weight: 700; letter-spacing: .03em; }
.vl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vl-ticks { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.vl-ticks--lg { gap: 14px; }
.vl-tick { display: flex; gap: 10px; align-items: flex-start; }
.vl-tick__icon { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--vl-ok); color: var(--vl-white); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.vl-ticks--lg .vl-tick { gap: 12px; }
.vl-ticks--lg .vl-tick__icon { width: 22px; height: 22px; font-size: 13px; margin-top: 1px; }
.vl-tick--no .vl-tick__icon { background: var(--vl-white); border: 1.5px solid var(--vl-no); color: var(--vl-no); }
.vl-list-title { font-family: var(--vl-head); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.vl-list-title--ok { color: var(--vl-ok); }
.vl-list-title--no { color: var(--vl-no); }
.vl-stars { color: var(--vl-accent); letter-spacing: 2px; font-size: 16px; }
.vl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vl-accent); display: inline-block; }

/* Tarjetas */
.vl-card { background: var(--vl-white); border: 1px solid var(--vl-line); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 12px; color: var(--vl-text); }
.vl-card--list { padding: 28px; gap: 0; }
.vl-card--soft { background: #fafbfc; }
.vl-card--flush { padding: 0; overflow: hidden; gap: 0; }
.vl-card--link:hover { border-color: var(--vl-navy); color: var(--vl-text); }
.vl-card__text { font-size: 15px; flex: 1; text-wrap: pretty; }
.vl-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vl-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--vl-line); padding-top: 12px; font-size: 14px; }
.vl-card__foot--price { justify-content: flex-start; align-items: baseline; gap: 10px; }
.vl-card__foot--price .vl-link { margin-left: auto; }
.vl-card__price { font-family: var(--vl-head); font-weight: 700; font-size: 28px; color: var(--vl-black); }
.vl-stat { font-family: var(--vl-head); font-weight: 700; font-size: 40px; line-height: 1; color: var(--vl-accent); }

/* Precio */
.vl-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vl-price--hero { margin-top: 4px; gap: 14px; }
.vl-price__was { font-size: 20px; color: var(--vl-grey); }
.vl-price--hero .vl-price__was { font-size: 22px; }
.vl-price__now { font-family: var(--vl-head); font-weight: 700; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--vl-black); }
.vl-price__now--card { font-size: 52px; }
.vl-price__note { font-size: 14px; color: #555; }
.vl-save { font-size: 14px; font-weight: 700; color: var(--vl-accent); }

/* Hero */
.vl-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 72px); }
.vl-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(28px, 5vw, 72px); align-items: start; }
.vl-hero__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.vl-hero__cta { display: flex; flex-direction: column; gap: 10px; }
.vl-hero__cta .vl-btn { width: 100%; }
.vl-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.vl-micro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--vl-line); padding-top: 16px; margin-top: 4px; }
.vl-micro__item { display: flex; flex-direction: column; gap: 2px; }
.vl-micro__t { font-family: var(--vl-head); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--vl-dark); }
.vl-micro__d { font-size: 12px; color: var(--vl-grey); }
.vl-hero__media { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vl-hero__img { position: relative; aspect-ratio: 4 / 3; background: var(--vl-alt); border: 1px solid var(--vl-line); border-radius: 6px; overflow: hidden; }
.vl-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.vl-hero__caption { display: flex; gap: 12px; align-items: center; font-size: 13px; color: #555; flex-wrap: wrap; }
.vl-cert { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px; background: linear-gradient(135deg, var(--vl-dark), var(--vl-navy)); color: var(--vl-white); }
.vl-cert__badges { display: flex; gap: 8px; }
.vl-cert__name { font-family: var(--vl-head); text-transform: uppercase; font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1; }
.vl-cert__meta { color: var(--vl-ondark-text); font-size: 14px; }

/* Selector STS */
.vl-selector { border: 1px solid #d7dbe0; border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 16px; background: #f7f8fa; }
.vl-selector.is-collapsed { display: none; }
.vl-selector__group { display: flex; flex-direction: column; gap: 8px; }
.vl-selector__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #555; }
.vl-selector__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.vl-opt { border: 1px solid var(--vl-grey-light); background: var(--vl-white); color: #121416; padding: 9px 12px; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 2px; min-width: 140px; flex: 1; transition: background-color .15s, border-color .15s, color .15s; }
.vl-opt:hover { border-color: var(--vl-navy); }
.vl-opt.is-selected { background: var(--vl-navy); border-color: var(--vl-navy); color: var(--vl-white); }
.vl-opt--pill { border-radius: 999px; flex: 0 0 auto; min-width: 0; padding: 9px 14px; }
.vl-opt__hint { font-weight: 400; font-size: 12px; opacity: .8; }
.vl-selector__summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--vl-line); padding-top: 12px; font-size: 14px; color: var(--vl-text); flex-wrap: wrap; }
.vl-selector__price { font-family: var(--vl-head); font-weight: 700; font-size: 22px; color: var(--vl-black); }

/* Sticky */
.vl-sticky { position: fixed; left: 0; right: 0; z-index: 9000; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
.vl-sticky.is-visible { opacity: 1; visibility: visible; transform: none; }
.vl-sticky--top { top: 0; background: var(--vl-dark); color: var(--vl-white); box-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.vl-sticky__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.vl-sticky__name { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.vl-sticky__title { font-family: var(--vl-head); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vl-sticky__meta { font-size: 13px; color: #bcd0ea; white-space: nowrap; }
.vl-sticky__buy { display: flex; align-items: center; gap: 18px; }
.vl-sticky__was { color: var(--vl-ondark-muted); font-size: 15px; }
.vl-sticky__price { font-family: var(--vl-head); font-weight: 700; font-size: 26px; white-space: nowrap; }
.vl-sticky--bottom { bottom: 0; transform: translateY(8px); background: var(--vl-white); border-top: 1px solid var(--vl-line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 12px; }
.vl-sticky--bottom .vl-sticky__name { flex-direction: column; align-items: flex-start; gap: 0; }
.vl-sticky--bottom .vl-sticky__title { font-size: 13px; letter-spacing: .04em; color: var(--vl-black); }
.vl-sticky__pricerow { display: flex; align-items: baseline; gap: 6px; }
.vl-sticky--bottom .vl-sticky__was { color: var(--vl-grey); font-size: 12px; }
.vl-sticky--bottom .vl-sticky__price { font-size: 22px; line-height: 1.1; color: var(--vl-black); }
.vl-sticky--bottom .vl-btn { flex: none; padding: 14px 18px; font-size: 15px; }

/* Pasos */
.vl-grid--steps { gap: clamp(20px, 3vw, 40px); }
.vl-step { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--vl-mid); padding-top: 20px; }
.vl-step__n { font-family: var(--vl-head); font-weight: 700; font-size: 72px; line-height: .9; color: var(--vl-white); }
.vl-step__d { color: var(--vl-ondark-text); font-size: 15px; text-wrap: pretty; }
.vl-step__time { font-size: 13px; color: var(--vl-ondark-muted); display: flex; align-items: center; gap: 8px; }

/* Mini test */
.vl-grid--quiz { gap: clamp(28px, 5vw, 64px); align-items: start; }
.vl-quiz__intro { display: flex; flex-direction: column; gap: 14px; }
.vl-quiz__questions { display: flex; flex-direction: column; gap: 14px; }
.vl-progress { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.vl-progress__bar { flex: 1; height: 6px; background: #e6e9ed; border-radius: 3px; overflow: hidden; }
.vl-progress__fill { height: 100%; background: var(--vl-navy); transition: width .3s; }
.vl-quiz__result { border: 1px solid #d7dbe0; border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 12px; background: #f7f8fa; }
.vl-quiz__score { font-family: var(--vl-head); font-weight: 700; font-size: 28px; color: var(--vl-black); }
.vl-quiz__result .vl-btn { align-self: flex-start; }
.vl-question { padding: 22px; }
.vl-question__q { font-weight: 600; font-size: 16px; color: var(--vl-black); }
.vl-question__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 8px; }
.vl-opt--answer { min-width: 0; padding: 11px 12px; font-weight: 500; flex-direction: row; }
.vl-opt--answer.is-ok { background: #e6f2ea; border-color: var(--vl-ok); color: #1d5a37; }
.vl-opt--answer.is-wrong { background: #fbe9e7; border-color: var(--vl-no); color: #8a1c16; }
.vl-opt--answer:disabled { cursor: default; }
.vl-opt--answer:disabled:not(.is-ok):not(.is-wrong) { opacity: .7; }
.vl-question__fb { font-size: 14px; border-top: 1px solid var(--vl-line); padding-top: 10px; }
.vl-question__fb.is-ok { color: var(--vl-ok); }
.vl-question__fb.is-wrong { color: var(--vl-no); }

/* Reseñas */
.vl-students { display: flex; align-items: center; gap: 14px; }
.vl-students__n { font-family: var(--vl-head); font-weight: 700; font-size: 40px; line-height: 1; color: var(--vl-black); }
.vl-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(-1 * var(--vl-gutter)); padding-left: var(--vl-gutter); padding-right: var(--vl-gutter); scrollbar-width: thin; }
.vl-review { flex: 0 0 min(86%, 320px); scroll-snap-align: start; padding: 22px; }
.vl-review__head { display: flex; justify-content: space-between; align-items: center; }
.vl-review__text { font-size: 14px; color: #555; flex: 1; }
.vl-review__author { display: flex; align-items: center; gap: 10px; }
.vl-avatar { width: 36px; height: 36px; border-radius: 50%; background: #e6e9ed; flex: none; }

/* Instructores */
.vl-grid--instructors { gap: clamp(20px, 4vw, 48px); align-items: start; }
.vl-grid--instructors .vl-head { margin-bottom: 0; }
.vl-instructor__photo { aspect-ratio: 4 / 3; background: #e6e9ed; }
.vl-instructor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.vl-instructor__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }

/* Precio y qué incluye */
.vl-grid--price { gap: clamp(28px, 5vw, 64px); align-items: start; }
.vl-price-intro { display: flex; flex-direction: column; gap: 10px; }
.vl-facts { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; font-size: 14px; }
.vl-facts > div { display: flex; gap: 10px; }
.vl-facts dt { font-weight: 700; color: var(--vl-dark); min-width: 90px; flex: none; }
.vl-pricecard { border: 2px solid var(--vl-dark); border-radius: 8px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; background: var(--vl-white); box-shadow: 0 12px 40px rgba(13, 50, 97, .10); }
.vl-pricecard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.vl-pricecard__foot { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--vl-line); padding-top: 14px; font-size: 13px; color: #555; }
.vl-payments { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.vl-paychip { border: 1px solid #d7dbe0; border-radius: 3px; padding: 3px 8px; font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.vl-payments__secure { margin-left: auto; }

/* FAQ */
.vl-grid--faq { gap: clamp(20px, 4vw, 48px); align-items: start; }
.vl-faq { border-top: 1px solid var(--vl-line); }
.vl-faq__item { border-bottom: 1px solid var(--vl-line); }
.vl-faq__q { font: inherit; margin: 0; text-transform: none; letter-spacing: 0; }
.vl-faq__btn { width: 100%; background: none; border: 0; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; cursor: pointer; font-size: 16px; font-weight: 600; color: #121416; font-family: inherit; }
.vl-faq__icon { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--vl-grey-light); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--vl-navy); transition: transform .2s; }
.vl-faq__btn[aria-expanded="true"] .vl-faq__icon { transform: rotate(45deg); }
.vl-faq__a { padding: 0 40px 18px 0; font-size: 15px; color: var(--vl-text); text-wrap: pretty; }

/* Cierre y contacto */
.vl-closing { padding: clamp(56px, 7vw, 100px) 0; }
.vl-closing__top { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 720px; margin-bottom: 40px; }
.vl-closing__text { font-size: 17px; color: var(--vl-ondark-text); text-wrap: pretty; }
.vl-contact { border-top: 1px solid var(--vl-mid); padding-top: 32px; }
.vl-contact__card { border: 1px solid var(--vl-mid); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--vl-white); text-decoration: none; }
a.vl-contact__card:hover { background: var(--vl-navy); color: var(--vl-white); }
.vl-contact__big { font-family: var(--vl-head); font-weight: 600; font-size: 20px; }
.vl-contact__sub { font-size: 13px; color: var(--vl-ondark-text); }

/* Formulario CF7 dentro del cierre: compacto y legible sobre azul */
.vl-contact__form .wpcf7 { margin-top: 4px; }
.vl-contact__form .grve-form-style-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vl-contact__form .grve-one-half { width: 100%; float: none; margin: 0; }
.vl-contact__form .grve-one-half:empty { display: none; }
.vl-contact__form .grve-clearfix, .vl-contact__form .grve-form-style-1 > div:not(.grve-one-half) { grid-column: 1 / -1; }
.vl-contact__form p { margin: 0; }
.vl-contact__form label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--vl-ondark-muted); font-weight: 600; margin-bottom: 4px; }
.vl-contact__form input[type="text"], .vl-contact__form input[type="email"], .vl-contact__form input[type="tel"], .vl-contact__form select, .vl-contact__form textarea { width: 100%; background: var(--vl-white); border: 1px solid var(--vl-mid); border-radius: 4px; padding: 11px 12px; font-size: 14px; color: #121416; margin: 0; box-sizing: border-box; }
.vl-contact__form textarea { min-height: 72px; max-height: 110px; }
.vl-contact__form .wpcf7-list-item { margin: 0; }
.vl-contact__form .wpcf7-list-item-label { font-size: 12px; color: var(--vl-ondark-text); }
.vl-contact__form .wpcf7-list-item-label a { color: var(--vl-white); text-decoration: underline; }
.vl-contact__form .wpcf7-acceptance label { display: flex; gap: 8px; align-items: flex-start; text-transform: none; letter-spacing: 0; }
.vl-contact__form input[type="submit"] { background: var(--vl-white) !important; color: var(--vl-dark) !important; border: 0 !important; border-radius: 4px !important; padding: 12px 18px !important; font-weight: 700 !important; font-size: 14px !important; cursor: pointer; width: 100%; opacity: 1 !important; min-height: 48px; }
.vl-contact__form input[type="submit"]:hover { background: var(--vl-tint) !important; color: var(--vl-dark) !important; }
.vl-contact__form .wpcf7-not-valid-tip { color: #ffd4cc; font-size: 12px; }
.vl-contact__form .wpcf7-response-output { grid-column: 1 / -1; color: var(--vl-white) !important; border-color: var(--vl-mid) !important; margin: 8px 0 0 !important; padding: 10px 12px !important; font-size: 13px; }
.vl-contact__form .wpcf7-spinner { margin: 0 auto; }

/* Móvil */
@media (max-width: 1024px) {
  .vl { --vl-header-h: 90px; }
}
@media (max-width: 760px) {
  .vl-sticky--top { display: none; }
  .vl-sticky--bottom { display: flex; }
  body.vister-landing { padding-bottom: 92px; }
  .vl-micro { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .vl-micro__t { font-size: 13px; }
  .vl-hero__grid { gap: 24px; }
  .vl-hero__media { order: 2; }
  .vl-price__now--card { font-size: 44px; }
  .vl-step__n { font-size: 56px; }
  .vl-contact__form .grve-form-style-1 { grid-template-columns: 1fr; }
  .vl-payments__secure { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vl *, .vl *::before, .vl *::after { transition: none !important; }
}

/* ==========================================================================
   Ajustes tras la primera revisión en beta (el tema tiene reglas globales
   para a, button y formularios con más especificidad que las de arriba)
   ========================================================================== */

/* Botones-enlace: .vl a pisaba el color blanco */
.vl a.vl-btn--primary, .vl a.vl-btn--primary:visited { color: var(--vl-white); }
.vl a.vl-btn--primary:hover, .vl a.vl-btn--primary:focus-visible { color: var(--vl-white); background: var(--vl-dark); }
.vl a.vl-btn--ondark:hover, .vl a.vl-btn--ondark:focus-visible { background: var(--vl-mid); }

/* Tarjetas de contacto del cierre (son enlaces sobre azul) */
.vl a.vl-contact__card, .vl a.vl-contact__card:hover, .vl a.vl-contact__card:visited { color: var(--vl-white); }

/* Botones del test, del selector y del acordeón: anular el estilo global de botón del tema */
body #grve-theme-wrapper .vl button.vl-opt, body #grve-theme-wrapper .vl button.vl-faq__btn {
  -webkit-appearance: none; appearance: none;
  text-transform: none; letter-spacing: 0; text-align: left;
  box-shadow: none; height: auto; line-height: 1.35; margin: 0;
  font-family: inherit; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s;
}
body #grve-theme-wrapper .vl button.vl-opt { background: var(--vl-white); color: #121416; border: 1px solid var(--vl-grey-light); border-radius: 4px; padding: 9px 12px; font-size: 14px; font-weight: 600; }
body #grve-theme-wrapper .vl button.vl-opt:hover { background: var(--vl-white); color: #121416; border-color: var(--vl-navy); }
body #grve-theme-wrapper .vl button.vl-opt.is-selected, body #grve-theme-wrapper .vl button.vl-opt.is-selected:hover { background: var(--vl-navy); border-color: var(--vl-navy); color: var(--vl-white); }
body #grve-theme-wrapper .vl button.vl-opt--pill { border-radius: 999px; padding: 9px 14px; }
body #grve-theme-wrapper .vl button.vl-opt--answer { padding: 11px 12px; font-weight: 500; }
body #grve-theme-wrapper .vl button.vl-opt--answer.is-ok, body #grve-theme-wrapper .vl button.vl-opt--answer.is-ok:hover { background: #e6f2ea; border-color: var(--vl-ok); color: #1d5a37; }
body #grve-theme-wrapper .vl button.vl-opt--answer.is-wrong, body #grve-theme-wrapper .vl button.vl-opt--answer.is-wrong:hover { background: #fbe9e7; border-color: var(--vl-no); color: #8a1c16; }
body #grve-theme-wrapper .vl button.vl-faq__btn, body #grve-theme-wrapper .vl button.vl-faq__btn:hover { background: none; color: #121416; border: 0; border-radius: 0; padding: 18px 0; font-size: 16px; font-weight: 600; }

/* La barra sticky va debajo de la cabecera sticky del tema (60 px al encoger) */
.vl-sticky--top { top: var(--vl-sticky-top, 60px); }

/* Formulario CF7 en la tarjeta del cierre: una columna, campos a todo el ancho */
.vl-contact__form .grve-form-style-1 { grid-template-columns: 1fr; gap: 8px; }
.vl-contact__form .grve-form-style-1 > p:empty, .vl-contact__form .grve-form-style-1 > br { display: none; }
.vl-contact__form .wpcf7-form-control-wrap { display: block; width: 100%; }
.vl-contact__form .grve-one-half, .vl-contact__form .grve-one-half p { width: 100%; max-width: none; }
.vl-contact__form textarea { min-height: 64px; }

/* Campos del formulario del cierre: el tema los pinta oscuros desde su CSS inline */
body #grve-theme-wrapper .vl-contact__form input[type="text"], body #grve-theme-wrapper .vl-contact__form input[type="email"], body #grve-theme-wrapper .vl-contact__form input[type="tel"], body #grve-theme-wrapper .vl-contact__form select, body #grve-theme-wrapper .vl-contact__form textarea { background: var(--vl-white); color: #121416; border: 1px solid var(--vl-mid); border-radius: 4px; }
body #grve-theme-wrapper .vl-contact__form ::placeholder { color: #777; opacity: 1; }

/* ==========================================================================
   Afinado según el handoff (2ª revisión)
   ========================================================================== */

/* Las celdas de cualquier rejilla no pueden desbordar (FAQ se salía por la derecha) */
.vl-grid > * { min-width: 0; }
.vl-faq, .vl-faq__item { min-width: 0; }
body #grve-theme-wrapper .vl button.vl-faq__btn { display: flex; width: 100%; white-space: normal; min-width: 0; }
body #grve-theme-wrapper .vl button.vl-opt { white-space: normal; }

/* Cierre: las tarjetas de WhatsApp y teléfono no se estiran hasta la altura del formulario */
.vl-contact { align-items: start; }
.vl-contact__card { gap: 8px; }

/* Formulario del cierre como en el diseño: solo campos con placeholder y botón blanco */
.vl-contact__form .grve-form-style-1 { gap: 10px; margin-top: 8px; }
.vl-contact__form .grve-form-style-1 label { display: none; }
.vl-contact__form .grve-one-half:not(:has(input, select, textarea)) { display: none; }
.vl-contact__form .grve-one-half:has(textarea[name="your-message"]) { display: none; }
.vl-contact__form .grve-clearfix { display: none; }
body #grve-theme-wrapper .vl-contact__form input[type="text"], body #grve-theme-wrapper .vl-contact__form input[type="email"], body #grve-theme-wrapper .vl-contact__form input[type="tel"], body #grve-theme-wrapper .vl-contact__form select { height: auto; padding: 11px 12px; font-size: 14px; line-height: 1.3; margin: 0; }
body #grve-theme-wrapper .vl-contact__form select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
body #grve-theme-wrapper .vl-contact__form .wpcf7-acceptance label { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 0; text-transform: none; letter-spacing: 0; font-weight: 400; }
body #grve-theme-wrapper .vl-contact__form .wpcf7-acceptance input[type="checkbox"] { margin: 3px 0 0; accent-color: var(--vl-white); }
body #grve-theme-wrapper .vl-contact__form .wpcf7-list-item-label, body #grve-theme-wrapper .vl-contact__form .wpcf7-list-item-label a { color: var(--vl-ondark-text); font-size: 12px; line-height: 1.4; font-weight: 400; }
body #grve-theme-wrapper .vl-contact__form .wpcf7-list-item-label a { color: var(--vl-white); text-decoration: underline; }
.vl-contact__form .form-formacion__button { text-align: left; }
body #grve-theme-wrapper .vl-contact__form input.wpcf7-submit, body #grve-theme-wrapper .vl-contact__form input.wpcf7-submit.has-spinner { background: var(--vl-white) !important; color: var(--vl-dark) !important; border: 0 !important; border-radius: 4px !important; padding: 12px 18px !important; font-weight: 700 !important; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; width: 100% !important; min-height: 48px; height: auto !important; opacity: 1 !important; cursor: pointer; box-shadow: none !important; }
body #grve-theme-wrapper .vl-contact__form input.wpcf7-submit:hover, body #grve-theme-wrapper .vl-contact__form input.wpcf7-submit.has-spinner:hover { background: var(--vl-tint) !important; color: var(--vl-dark) !important; border: 0 !important; }

/* Hero: eyebrow en una línea cuando cabe, título con medida máxima como en el frame de 1440 */
.vl-hero .vl-eyebrow { letter-spacing: .12em; text-wrap: balance; }
.vl-hero .vl-h1 { max-width: 12ch; }
.vl-hero__media { padding-top: 6px; }
