/* ==========================================================================
   VisionConta — landing page pública (docs/pagina_web_visionconta.md)
   Hoja independiente: no depende de dashboard.css a propósito (ver doc, §9).
   ========================================================================== */

@font-face {
  font-family: "Michroma";
  src: url("../fonts/michroma/Michroma-Regular.8ec1f1c2b4c0.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --navy: #131D35;
  --navy-soft: #1b2947;
  --blue: #2D77FC;
  --blue-dark: #1c5ee0;
  --orange: #EE7714;
  --white: #FFFFFF;
  --watermark: rgba(8, 23, 58, 0.09);

  --ink: #131D35;
  --ink-muted: #4b5670;
  --surface: #FFFFFF;
  --surface-alt: #f4f6fb;
  --border: #e2e6f0;

  --font-display: 'Michroma', 'Segoe UI Variable', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Segoe UI Variable', 'Segoe UI', Arial, sans-serif;

  --max-width: 1200px;
  --radius: 16px;
  --transition: 200ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.vc-skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  transition: top var(--transition);
}
.vc-skip-link:focus { top: 12px; }

a { color: inherit; }
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* -------------------- Botones -------------------- */
.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  min-height: 44px;
}
.vc-btn:hover { transform: translateY(-1px); }

.vc-btn--primary { background: var(--orange); color: var(--navy); }
.vc-btn--primary:hover { background: #ff8a2e; }

.vc-btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.vc-btn--outline:hover { background: var(--navy); color: var(--white); }

.vc-btn--ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: var(--white); }
.vc-btn--ghost:hover { background: rgba(255,255,255,0.16); }

.vc-btn--whatsapp { background: #25D366; color: #0b2b17; margin-top: 18px; }
.vc-btn--whatsapp:hover { background: #33e378; }
.vc-btn--whatsapp[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; pointer-events: none; }

.vc-btn--sm { padding: 9px 18px; font-size: 13px; min-height: 38px; }

/* -------------------- Encabezado -------------------- */
.vc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vc-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.vc-header__logo { display: inline-flex; flex-shrink: 0; }
.vc-header__logo img { height: 30px; width: auto; }

.vc-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.vc-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), color var(--transition);
}
.vc-nav__link:hover, .vc-nav__link:focus-visible { background: rgba(255,255,255,0.1); color: var(--white); }

.vc-nav__item--modulos { position: relative; }
.vc-nav__chevron { transition: transform var(--transition); }
.vc-nav__link--toggle[aria-expanded="true"] .vc-nav__chevron { transform: rotate(180deg); }

.vc-nav__submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(19, 29, 53, 0.18);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.vc-nav__item--modulos.is-open .vc-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.vc-nav__submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}
.vc-nav__submenu a:hover, .vc-nav__submenu a:focus-visible { background: var(--surface-alt); color: var(--blue-dark); }

.vc-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.vc-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}
.vc-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.vc-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vc-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.vc-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------- Tipografía de secciones -------------------- */
.vc-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 12px;
}
.vc-section__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 18px;
  max-width: 26ch;
}
.vc-section__lead {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 70ch;
  margin: 0 0 40px;
}

.vc-section { padding: 88px 24px; }
.vc-section__inner { max-width: var(--max-width); margin: 0 auto; }
.vc-section--alt { background: var(--surface-alt); }
.vc-section--dark { background: var(--navy); color: var(--white); }
.vc-section--dark .vc-section__title { color: var(--white); }
.vc-section--dark .vc-eyebrow { color: var(--orange); }

/* -------------------- Hero -------------------- */
.vc-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 55%, #14336b 100%);
  color: var(--white);
  padding: 96px 24px;
}
.vc-hero__watermark {
  position: absolute;
  inset: -20% -10%;
  background:
    url("../images/marketing/brand-watermark.fbbf76c185d0.png") 88% 42% / min(48vw, 760px) auto no-repeat,
    radial-gradient(circle at 75% 25%, rgba(45, 119, 252, 0.18), transparent 58%);
  opacity: 0.95;
  pointer-events: none;
}
.vc-hero__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.vc-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.vc-hero__desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  margin: 0 0 32px;
}
.vc-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.vc-hero__cta .vc-btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.04);
}
.vc-hero__cta .vc-btn--outline:hover {
  color: var(--navy);
  border-color: var(--white);
  background: var(--white);
}
.vc-hero__login-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vc-hero__login-link:hover { color: var(--white); }

.vc-hero__visual { min-width: 0; }
.vc-hero-art {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}
.vc-hero-art__orb {
  position: absolute;
  inset: 8% 5% 4%;
  z-index: -1;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 46% 54% 42% 58% / 50% 44% 56% 50%;
  background:
    radial-gradient(circle at 68% 24%, rgba(238,119,20,0.42), transparent 16%),
    linear-gradient(145deg, rgba(45,119,252,0.42), rgba(255,255,255,0.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 36px 80px rgba(0,0,0,0.24);
  transform: rotate(-4deg);
}
.vc-hero-art__person {
  width: min(100%, 620px);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 35px rgba(2, 8, 23, 0.34));
}
.vc-hero-feature {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 245px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  background: rgba(255,255,255,0.94);
  color: var(--navy);
  box-shadow: 0 18px 44px rgba(2,8,23,0.26);
  backdrop-filter: blur(12px);
}
.vc-hero-feature--top { top: 15%; right: -2%; }
.vc-hero-feature--bottom { left: 0; bottom: 8%; }
.vc-hero-feature__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(45,119,252,0.12);
  color: var(--blue-dark);
}
.vc-hero-feature__icon--orange { background: rgba(238,119,20,0.13); color: #a94d08; }
.vc-hero-feature strong,
.vc-hero-feature small { display: block; }
.vc-hero-feature strong { font-size: 12.5px; line-height: 1.25; }
.vc-hero-feature small { margin-top: 3px; color: var(--ink-muted); font-size: 10.5px; line-height: 1.3; }

/* -------------------- Imagen institucional -------------------- */
.vc-about-media {
  position: relative;
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--navy);
  box-shadow: 0 20px 50px rgba(19,29,53,0.14);
}
.vc-about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19,29,53,0.2), transparent 38%, rgba(19,29,53,0.08));
  pointer-events: none;
}
.vc-about-media img {
  width: 100%;
  aspect-ratio: 1800 / 423;
  object-fit: cover;
}
.vc-about-media figcaption {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 18px;
  max-width: 490px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(19,29,53,0.84);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

/* -------------------- Beneficios -------------------- */
.vc-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.vc-benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 1px 2px rgba(19,29,53,0.03);
}
.vc-benefit-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(45, 119, 252, 0.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.vc-benefit-card h3 { font-size: 16px; margin: 0 0 8px; }
.vc-benefit-card p { font-size: 14px; color: var(--ink-muted); margin: 0; line-height: 1.55; }

/* -------------------- Módulos -------------------- */
.vc-modulos__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.vc-modulos__tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  min-height: 40px;
}
.vc-modulos__tab:hover { border-color: var(--blue); color: var(--blue-dark); }
.vc-modulos__tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.vc-modulo-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  /* Escritorio (≥768px): selector de tabs de arriba manda — solo el
     panel .is-active se muestra; el encabezado no es interactivo. */
  display: none;
}
.vc-modulo-panel.is-active { display: block; }

.vc-modulo-panel__heading { margin: 0 0 10px; }
.vc-modulo-panel__toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  text-align: left;
  cursor: default;
  pointer-events: none;
}
.vc-modulo-panel__chevron { display: none; flex-shrink: 0; margin-left: auto; color: var(--ink-muted); transition: transform var(--transition); }

.vc-modulo-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-body, inherit);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: nowrap;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.28);
}
.vc-modulo-badge[data-estado="en_implementacion"] {
  background: rgba(234, 179, 8, 0.14);
  color: #a16207;
  border-color: rgba(234, 179, 8, 0.32);
}
.vc-modulo-badge[data-estado="proximamente"] {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.3);
}
.vc-modulo-badge[data-estado="bajo_configuracion"] {
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
  border-color: rgba(249, 115, 22, 0.3);
}

.vc-modulo-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 32px;
  align-items: center;
}
.vc-modulo-panel__body--copy-only { grid-template-columns: minmax(0, 760px); }
.vc-modulo-panel__copy { min-width: 0; }

.vc-modulo-panel__desc { font-size: 15px; color: var(--ink-muted); margin: 0 0 18px; }
.vc-modulo-panel__list { margin: 0 0 24px; padding-left: 20px; }
.vc-modulo-panel__list li { font-size: 14px; color: var(--ink); margin-bottom: 8px; line-height: 1.5; }
.vc-modulo-panel__list li.vc-modulo-panel__list-heading {
  list-style: none;
  margin-left: -20px;
  margin-top: 18px;
  margin-bottom: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 14.5px;
  letter-spacing: 0.01em;
}
.vc-modulo-panel__list li.vc-modulo-panel__list-heading:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.vc-modulo-panel__pending {
  background: rgba(238, 119, 20, 0.08);
  border: 1px dashed var(--orange);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #8a4a0c;
  margin: 0 0 24px;
}
.vc-modulo-panel__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  /* Las piezas de marketing (module-*.webp) son 760x789 -- casi cuadradas,
     mas altas que anchas. Forzar 4/3 (mas ancho que alto) con object-fit:
     cover recortaba las ultimas vinetas de la lista. */
  aspect-ratio: 760 / 789;
  border-radius: 16px;
  border: 1px solid rgba(19,29,53,0.12);
  background: var(--navy);
  box-shadow: 0 16px 36px rgba(19,29,53,0.16);
  /* Al pasar el cursor, toda la tarjeta (no solo la imagen) crece y flota
     por encima del resto del contenido -- por eso overflow queda oculto
     solo para recortar la imagen a su propio marco, nunca al agrandarse. */
  transition: transform 320ms ease, box-shadow 320ms ease;
  cursor: zoom-in;
}
.vc-modulo-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: inherit;
  pointer-events: none;
}
.vc-modulo-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 350ms ease;
}
.vc-modulo-panel__media:hover,
.vc-modulo-panel__media:focus-visible {
  transform: scale(1.55);
  z-index: 20;
  box-shadow: 0 34px 70px rgba(19,29,53,0.38);
}
.vc-modulo-panel__media:hover img,
.vc-modulo-panel__media:focus-visible img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .vc-modulo-panel__media:hover,
  .vc-modulo-panel__media:focus-visible { transform: none; }
}
.vc-modulo-panel__media--illustration {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(238,119,20,0.24), transparent 22%),
    linear-gradient(145deg, #f4f7ff, #e7efff);
}
.vc-modulo-panel__media--illustration svg { width: min(88%, 360px); height: auto; }

/* -------------------- Contactos -------------------- */
.vc-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}
.vc-contact--compact { grid-template-columns: minmax(0, 760px); }
.vc-contact--compact .vc-contact__info {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
}
.vc-contact__list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 14px; }
.vc-contact__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,0.85); }
.vc-contact__list svg { flex-shrink: 0; color: var(--orange); }
.vc-contact__icon { display: inline-flex; margin-top: 3px; }
.vc-contact__list li > span:last-child { display: grid; gap: 2px; }
.vc-contact__list strong { color: var(--white); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.vc-contact__list a { color: var(--white); text-underline-offset: 3px; }

.vc-contact-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  color: var(--ink);
}
.vc-field { display: flex; flex-direction: column; gap: 6px; }
.vc-field--full { grid-column: 1 / -1; }
.vc-field label { font-size: 12.5px; font-weight: 700; color: var(--ink-muted); }
.vc-field input, .vc-field select, .vc-field textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  min-height: 44px;
}
.vc-field textarea { min-height: 84px; resize: vertical; }
.vc-field input:focus, .vc-field select:focus, .vc-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45,119,252,0.15);
}
.vc-field--invalid input, .vc-field--invalid textarea { border-color: #d93025; }
.vc-field__error { font-size: 12px; color: #d93025; min-height: 14px; }
.vc-contact-form__status { grid-column: 1 / -1; font-size: 13.5px; font-weight: 600; margin: 0; min-height: 18px; }
.vc-contact-form__status[data-tone="success"] { color: #1f8a4c; }
.vc-contact-form__status[data-tone="error"] { color: #d93025; }
.vc-contact-form__privacy { grid-column: 1 / -1; font-size: 12px; color: var(--ink-muted); margin: 0; }

/* -------------------- Tips -------------------- */
.vc-tips-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}
.vc-tips-heading .vc-section__title { margin-bottom: 10px; }
.vc-tips-heading__copy { max-width: 55ch; margin: 0; color: var(--ink-muted); font-size: 14.5px; }
.vc-tips-heading__mascot {
  flex: 0 0 130px;
  height: 116px;
  align-self: flex-end;
  overflow: hidden;
  border-radius: 58px 58px 20px 20px;
  background: linear-gradient(160deg, rgba(45,119,252,0.12), rgba(238,119,20,0.1));
}
.vc-tips-heading__mascot img {
  width: 112px;
  height: auto;
  margin: 9px auto 0;
}
.vc-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vc-tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.vc-tip-card__thumb {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(238,119,20,0.1);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.vc-tip-card__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.vc-tip-card h3 { font-size: 15.5px; margin: 0 0 8px; line-height: 1.35; }
.vc-tip-card__summary { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; margin: 0 0 16px; }
.vc-tip-card__link { font-size: 13.5px; font-weight: 700; color: var(--blue-dark); text-decoration: none; }
.vc-tip-card__link:hover { text-decoration: underline; }

/* -------------------- Redes -------------------- */
.vc-social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vc-social-card {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}
.vc-social-card svg { color: var(--blue); flex-shrink: 0; }
.vc-social-card em { display: block; font-style: normal; font-weight: 400; font-size: 11px; color: var(--ink-muted); }
.vc-social-card[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

/* -------------------- Galeria (carrusel) -------------------- */
.vc-gallery {
  position: relative;
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(19, 29, 53, 0.12);
}
.vc-gallery__track {
  display: flex;
  transition: transform 400ms ease;
}
.vc-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 16 / 7;
  background: var(--surface-alt);
}
.vc-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.vc-gallery__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  max-width: 520px;
  background: rgba(19, 29, 53, 0.72);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 10px;
}
.vc-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(19, 29, 53, 0.2);
}
.vc-gallery__nav:hover { background: var(--white); }
.vc-gallery__nav--prev { left: 12px; }
.vc-gallery__nav--next { right: 12px; }
.vc-gallery__dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.vc-gallery__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}
.vc-gallery__dot.is-active { background: var(--white); }

@media (max-width: 640px) {
  .vc-gallery__slide { aspect-ratio: 4 / 3; }
  .vc-gallery__caption { font-size: 12.5px; padding: 8px 10px; }
  .vc-gallery__nav { width: 34px; height: 34px; }
}

/* -------------------- CTA final -------------------- */
.vc-cta-final {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}
.vc-cta-final__inner { max-width: 640px; margin: 0 auto; }
.vc-cta-final h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 14px;
}
.vc-cta-final p { font-size: 15px; color: rgba(255,255,255,0.82); margin: 0 0 28px; }
.vc-cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.vc-cta-final .vc-btn--outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.vc-cta-final .vc-btn--outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* -------------------- Footer -------------------- */
.vc-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 48px 24px 28px; }
.vc-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.vc-footer__brand p { font-size: 13px; margin: 10px 0 0; color: rgba(255,255,255,0.55); }
.vc-footer__nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.vc-footer__nav a { font-size: 13.5px; color: rgba(255,255,255,0.75); text-decoration: none; }
.vc-footer__nav a:hover { color: var(--white); }
.vc-footer__legal { width: 100%; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 24px; padding-top: 20px; }
.vc-footer__legal p { font-size: 12px; margin: 0; }

/* ==========================================================================
   Responsive — puntos de validación: 375 / 768 / 1024 / 1440 (doc §7)
   ========================================================================== */
@media (max-width: 1024px) {
  .vc-hero__inner { grid-template-columns: 1fr; }
  .vc-hero__visual { width: min(100%, 680px); margin: 0 auto; }
  .vc-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-contact { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .vc-menu-toggle { display: flex; }

  .vc-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--navy);
    padding: 16px 20px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 40;
  }
  .vc-nav.is-open { transform: translateX(0); }
  .vc-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .vc-nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 15px; }
  .vc-nav__submenu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.04);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 4px;
  }
  .vc-nav__item--modulos.is-open .vc-nav__submenu { display: block; }
  .vc-nav__submenu a { color: rgba(255,255,255,0.85); }
  .vc-nav__submenu a:hover, .vc-nav__submenu a:focus-visible { background: rgba(255,255,255,0.08); color: var(--white); }

  .vc-header__actions .vc-btn--ghost { display: none; }
  .vc-nav__cta { display: block; margin-top: 16px; }

  .vc-section { padding: 64px 20px; }
  .vc-hero { padding: 64px 20px 56px; }
  .vc-hero__cta .vc-btn { flex: 1 1 auto; }
  .vc-hero-art { min-height: 440px; }
  .vc-about-media img { min-height: 260px; }
  .vc-about-media figcaption { right: 16px; left: 16px; bottom: 14px; }

  .vc-benefits { grid-template-columns: 1fr; }
  .vc-tips { grid-template-columns: 1fr; }
  .vc-social-grid { grid-template-columns: 1fr; }
  .vc-contact-form { grid-template-columns: 1fr; }

  /* Módulos: en móvil el selector de tabs desaparece y cada panel se
     convierte en su propia sección de acordeón, siempre visible con su
     encabezado — el cuerpo se expande/colapsa con marketing.js. */
  .vc-modulos__tabs { display: none; }
  .vc-modulo-panel { display: block !important; padding: 18px 20px; }
  .vc-modulo-panel + .vc-modulo-panel { margin-top: 12px; }
  .vc-modulo-panel__toggle { cursor: pointer; pointer-events: auto; font-size: 16px; }
  .vc-modulo-panel__chevron { display: block; }
  .vc-modulo-panel__toggle[aria-expanded="true"] .vc-modulo-panel__chevron { transform: rotate(180deg); }
  .vc-modulo-panel__body { grid-template-columns: 1fr; gap: 22px; margin-top: 16px; }
  .vc-modulo-panel__body[hidden] { display: none; }
  .vc-modulo-panel__media { max-height: 290px; }
  /* En tactil no hay "hover" real -- un tap puede dejar el estado :hover
     pegado y la tarjeta agrandada tapando texto. Se desactiva el zoom. */
  .vc-modulo-panel__media:hover,
  .vc-modulo-panel__media:focus-visible { transform: none; box-shadow: 0 16px 36px rgba(19,29,53,0.16); }
  .vc-modulo-panel__media:hover img,
  .vc-modulo-panel__media:focus-visible img { transform: none; }

  .vc-tips-heading { align-items: center; }
}

@media (max-width: 480px) {
  .vc-eyebrow { font-size: 10.5px; }
  .vc-hero-art { min-height: 350px; margin-top: 4px; }
  .vc-hero-art__person { width: min(112%, 520px); }
  .vc-hero-feature { max-width: 205px; padding: 9px 10px; }
  .vc-hero-feature--top { display: none; }
  .vc-hero-feature--bottom { left: 50%; bottom: 0; width: min(270px, 92%); max-width: none; transform: translateX(-50%); }
  .vc-hero-feature__icon { width: 31px; height: 31px; }
  .vc-hero-feature strong { font-size: 11px; }
  .vc-hero-feature small { font-size: 9.5px; }
  .vc-about-media img { min-height: 230px; object-position: 67% center; }
  .vc-about-media figcaption { font-size: 11.5px; }
  .vc-modulo-panel { padding: 22px 18px; }
  .vc-contact-form { padding: 22px 18px; }
  .vc-tips-heading { gap: 16px; }
  .vc-tips-heading__mascot { flex-basis: 86px; height: 90px; }
  .vc-tips-heading__mascot img { width: 86px; }
}
