/* =========================================================
   VALTIVA — Hoja de estilos principal
   Paleta: Azul petróleo profundo #123B4A · Turquesa clínico #18B6A4
           Gris grafito #263238 · Blanco #FFFFFF
   Tipografía: Lato
   ========================================================= */

:root{
  --azul-profundo: #123B4A;
  --azul-profundo-2: #0d2c37;
  --turquesa: #18B6A4;
  --turquesa-claro: #E4F7F4;
  --grafito: #263238;
  --gris-texto: #4b5a60;
  --gris-borde: #E1E8EA;
  --gris-fondo: #F5F9F9;
  --blanco: #FFFFFF;
  --sombra: 0 10px 30px rgba(18,59,74,.08);
  --radio: 14px;
  --radio-sm: 8px;
  --fuente: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --ancho-maximo: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--fuente);
  color: var(--grafito);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-weight: 900; line-height: 1.2; margin: 0 0 .5em; color: var(--azul-profundo); }
p{ margin: 0 0 1em; }
.sr-only{
  position: absolute; 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; left: -999px; top: 0; background: var(--azul-profundo); color: #fff;
  padding: .75em 1.25em; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

.contenedor{ max-width: var(--ancho-maximo); margin: 0 auto; padding: 0 24px; }

/* ---------- Botones ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.7em; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--turquesa); color: #fff; }
.btn-primary:hover{ background: #14a091; box-shadow: 0 8px 20px rgba(24,182,164,.35); }
.btn-outline{ background: transparent; color: var(--azul-profundo); border-color: var(--azul-profundo); }
.btn-outline:hover{ background: var(--azul-profundo); color: #fff; }
.btn-white{ background: #fff; color: var(--azul-profundo); }
.btn-white:hover{ box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.btn-sm{ padding: .6em 1.1em; font-size: .82rem; }
.btn-block{ width: 100%; }
.btn:disabled{ opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header / Nav ---------- */
.v-header{
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--gris-borde);
}
.v-header-inner{ display: flex; align-items: center; justify-content: space-between; height: 76px; }
.v-logo{ display: flex; align-items: center; gap: .5em; flex-shrink: 0; white-space: nowrap; }
.v-logo-mark{ height: 30px; width: auto; flex-shrink: 0; }
.v-logo-word{ font-weight: 900; letter-spacing: .03em; color: var(--azul-profundo); font-size: 1.05rem; }

.v-nav{ display: flex; align-items: center; gap: 1.4em; flex-wrap: nowrap; min-width: 0; }
.v-nav > ul{ display: flex; align-items: center; gap: 1.15em; flex-wrap: nowrap; }
.v-nav > ul > li{ flex-shrink: 0; }
.v-nav > ul > li > a{ font-weight: 700; font-size: .87rem; color: var(--grafito); padding: .5em 0; position: relative; white-space: nowrap; }
.v-nav > ul > li > a:hover, .v-nav > ul > li > a.activo{ color: var(--turquesa); }
.v-nav-dropdown{ position: relative; }
.v-submenu{
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; box-shadow: var(--sombra); border-radius: var(--radio-sm);
  min-width: 320px; padding: .5em; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s ease, transform .15s ease; margin-top: .6em;
}
.v-nav-dropdown:hover .v-submenu, .v-nav-dropdown:focus-within .v-submenu{
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.v-submenu li a{ display: block; padding: .65em .9em; border-radius: 8px; font-size: .9rem; font-weight: 600; }
.v-submenu li a:hover{ background: var(--turquesa-claro); color: var(--azul-profundo); }
.v-nav-extra{ display: flex; align-items: center; gap: .8em; flex-shrink: 0; }
.v-lang-switch{
  font-weight: 800; font-size: .82rem; border: 2px solid var(--gris-borde); border-radius: 999px;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
}
.v-lang-switch:hover{ border-color: var(--turquesa); color: var(--turquesa); }

.v-nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.v-nav-toggle span{ display: block; height: 3px; width: 100%; background: var(--azul-profundo); border-radius: 2px; }

/* ---------- Hero ---------- */
.v-hero{
  background: linear-gradient(160deg, var(--azul-profundo) 0%, var(--azul-profundo-2) 100%);
  color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden;
}
.v-hero::after{
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(24,182,164,.35) 0%, rgba(24,182,164,0) 70%);
}
.v-hero-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.v-eyebrow{
  display: inline-flex; align-items: center; gap: .5em; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 800; color: var(--turquesa); margin-bottom: 1.2em;
}
.v-eyebrow::before{ content: ""; width: 28px; height: 2px; background: var(--turquesa); }
.v-hero h1{ color: #fff; font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: .5em; }
.v-hero p.v-lead{ font-size: 1.15rem; color: #d7e6e9; max-width: 56ch; margin-bottom: 1.8em; }
.v-hero-actions{ display: flex; gap: 1em; flex-wrap: wrap; }
.v-hero-img{ border-radius: var(--radio); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.v-hero-img img{ width: 100%; height: 100%; object-fit: cover; }

.v-page-hero{
  background: var(--azul-profundo); color: #fff; padding: 72px 0 64px; text-align: center;
}
.v-page-hero h1{ color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.v-page-hero .v-lead{ color: #cfe2e6; max-width: 66ch; margin: 0 auto; font-size: 1.08rem; }
.v-page-hero .v-eyebrow{ justify-content: center; }
.v-page-hero .v-eyebrow::before{ display: none; }

/* ---------- Secciones genéricas ---------- */
section{ padding: 80px 0; }
.v-section-alt{ background: var(--gris-fondo); }
.v-section-dark{ background: var(--azul-profundo); color: #fff; }
.v-section-dark h2, .v-section-dark h3{ color: #fff; }
.v-section-head{ max-width: 720px; margin: 0 auto 3em; text-align: center; }
.v-section-head h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); }
.v-section-head p{ color: var(--gris-texto); font-size: 1.06rem; }
.v-section-dark .v-section-head p{ color: #cfe2e6; }

/* ---------- Stats ---------- */
.v-stats{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.v-stat{ text-align: center; padding: 1.5em 1em; }
.v-stat strong{ display: block; font-size: 2.6rem; font-weight: 900; color: var(--turquesa); }
.v-stat span{ font-size: .92rem; color: var(--gris-texto); }
.v-section-dark .v-stat span{ color: #cfe2e6; }

/* ---------- Grids / Cards ---------- */
.v-grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.v-grid-2{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.v-grid-4{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.v-grid-6{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.v-card{
  background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio);
  padding: 2em 1.8em; transition: transform .18s ease, box-shadow .18s ease;
}
.v-card:hover{ transform: translateY(-4px); box-shadow: var(--sombra); }
.v-card-icon{
  width: 52px; height: 52px; border-radius: 14px; background: var(--turquesa-claro); color: var(--turquesa);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.3rem; margin-bottom: 1em;
}
.v-card h3{ font-size: 1.12rem; margin-bottom: .4em; }
.v-card p{ color: var(--gris-texto); font-size: .96rem; margin: 0; }

.v-programa-card{
  display: block; background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio);
  padding: 2em 1.8em; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; overflow: hidden;
}
.v-programa-card:hover{ transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--turquesa); }
.v-programa-sigla{
  display: inline-block; font-weight: 900; letter-spacing: .04em; color: var(--turquesa);
  font-size: .8rem; text-transform: uppercase; background: var(--turquesa-claro); padding: .3em .8em; border-radius: 999px; margin-bottom: 1em;
}
.v-programa-card h3{ font-size: 1.2rem; margin-bottom: .35em; }
.v-programa-card p{ color: var(--gris-texto); font-size: .95rem; margin: 0; }
.v-programa-flecha{ margin-top: 1.2em; font-weight: 800; color: var(--azul-profundo); font-size: .92rem; }

/* ---------- Numbered process ---------- */
.v-pasos{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: paso; }
.v-paso{ text-align: left; padding: 1.6em 1.4em; background: #fff; border-radius: var(--radio); border: 1px solid var(--gris-borde); }
.v-paso-num{
  width: 40px; height: 40px; border-radius: 50%; background: var(--azul-profundo); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: .8em;
}
.v-paso h4{ margin: 0 0 .3em; font-size: 1rem; color: var(--azul-profundo); font-weight: 800; }
.v-paso p{ font-size: .9rem; color: var(--gris-texto); margin: 0; }

/* ---------- VALOR pillars ---------- */
.v-pilares{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.v-pilar{
  background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio);
  padding: 1.8em 1.4em; text-align: center;
}
.v-pilar-letra{
  width: 56px; height: 56px; margin: 0 auto .7em; border-radius: 16px;
  background: var(--azul-profundo); color: var(--turquesa); font-weight: 900; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}
.v-pilar h4{ font-size: 1rem; color: var(--azul-profundo); margin-bottom: .4em; }
.v-pilar p{ font-size: .88rem; color: var(--gris-texto); margin: 0; }

.v-madurez{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.v-nivel{ background: var(--gris-fondo); border-radius: var(--radio-sm); padding: 1.3em 1.1em; border-top: 4px solid var(--turquesa); }
.v-nivel strong{ display: block; color: var(--azul-profundo); font-size: 1.4rem; }
.v-nivel span{ display: block; font-weight: 800; margin: .2em 0 .5em; }
.v-nivel p{ font-size: .85rem; color: var(--gris-texto); margin: 0; }

/* ---------- Listas con check ---------- */
.v-check-list{ display: grid; gap: .9em; }
.v-check-list li{ display: flex; gap: .7em; align-items: flex-start; font-size: .98rem; }
.v-check-list li::before{
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--turquesa-claro);
  color: var(--turquesa); font-weight: 900; font-size: .8rem; display: flex; align-items: center; justify-content: center; margin-top: .1em;
}

/* ---------- Tabla / listas de resultados ---------- */
.v-resultados-list{ display: grid; gap: .8em; }
.v-resultados-list li{
  background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio-sm);
  padding: 1em 1.2em; font-weight: 700; color: var(--azul-profundo); font-size: .95rem;
}

/* ---------- Programa individual ---------- */
.v-programa-hero{ display: grid; grid-template-columns: auto 1fr; gap: 1.4em; align-items: center; }
.v-programa-hero .v-programa-sigla{ font-size: .95rem; padding: .5em 1.1em; }

/* ---------- Ecosistema productos ---------- */
.v-producto{
  background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio); padding: 1.8em;
  display: flex; flex-direction: column; gap: .5em;
}
.v-producto-cat{ font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--turquesa); }
.v-producto h3{ font-size: 1.1rem; margin: 0; }
.v-producto p{ color: var(--gris-texto); font-size: .93rem; margin: 0; }

/* ---------- Formularios ---------- */
.v-form{ display: grid; gap: 1.2em; }
.v-form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.v-field label{ display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4em; color: var(--azul-profundo); }
.v-field input[type=text], .v-field input[type=email], .v-field input[type=tel], .v-field select, .v-field textarea{
  width: 100%; padding: .85em 1em; border: 1.5px solid var(--gris-borde); border-radius: var(--radio-sm);
  font-family: var(--fuente); font-size: .96rem; background: #fff; color: var(--grafito);
}
.v-field input:focus, .v-field select:focus, .v-field textarea:focus{ outline: none; border-color: var(--turquesa); }
.v-field textarea{ min-height: 130px; resize: vertical; }
.v-field-checkbox{ display: flex; gap: .7em; align-items: flex-start; font-size: .88rem; color: var(--gris-texto); }
.v-field-checkbox input{ margin-top: .25em; }
.v-form-msg{ padding: 1em 1.2em; border-radius: var(--radio-sm); font-weight: 700; display: none; }
.v-form-msg.exito{ background: var(--turquesa-claro); color: #0c6a5f; display: block; }
.v-form-msg.error{ background: #fde8e8; color: #9c2626; display: block; }
.v-opciones-radio{ display: grid; gap: .5em; }
.v-opciones-radio label{ display: flex; gap: .6em; align-items: center; font-weight: 500; font-size: .93rem; color: var(--grafito); }

/* ---------- Diagnóstico VALOR ---------- */
.v-diag-progreso{ margin-bottom: 2em; }
.v-diag-barra{ height: 8px; background: var(--gris-borde); border-radius: 999px; overflow: hidden; margin-bottom: .6em; }
.v-diag-barra-fill{ height: 100%; background: var(--turquesa); width: 0%; transition: width .3s ease; }
.v-diag-paso-label{ font-size: .85rem; font-weight: 700; color: var(--azul-profundo); }
.v-diag-pillar{ display: none; }
.v-diag-pillar.activa{ display: block; }
.v-diag-pregunta{ display: block; }
.v-diag-escala{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 1.4em; }
.v-diag-escala label{
  display: flex; flex-direction: column; align-items: center; gap: .5em; padding: 1em .6em;
  border: 1.5px solid var(--gris-borde); border-radius: var(--radio-sm); cursor: pointer; text-align: center; font-size: .78rem; color: var(--gris-texto);
  transition: border-color .15s ease, background .15s ease;
}
.v-diag-escala input{ accent-color: var(--turquesa); width: 18px; height: 18px; }
.v-diag-escala label:hover{ border-color: var(--turquesa); }
.v-diag-escala input:checked + span, .v-diag-escala label:has(input:checked){ border-color: var(--turquesa); background: var(--turquesa-claro); }
.v-diag-nav{ display: flex; justify-content: space-between; margin-top: 2em; }
.v-diag-pilar-badge{
  display: inline-block; background: var(--azul-profundo); color: #fff; font-weight: 800; font-size: .76rem;
  letter-spacing: .06em; text-transform: uppercase; padding: .35em .9em; border-radius: 999px; margin-bottom: 1em;
}

.v-resultado-barra-wrap{ margin-bottom: 1.4em; }
.v-resultado-barra-head{ display: flex; justify-content: space-between; font-weight: 800; margin-bottom: .4em; color: var(--azul-profundo); font-size: .95rem; }
.v-resultado-barra{ height: 14px; background: var(--gris-borde); border-radius: 999px; overflow: hidden; }
.v-resultado-barra-fill{ height: 100%; background: linear-gradient(90deg, var(--azul-profundo), var(--turquesa)); }
.v-indice-general{
  text-align: center; background: var(--azul-profundo); color: #fff; border-radius: var(--radio); padding: 2.4em 1.5em; margin-bottom: 2.5em;
}
.v-indice-general strong{ font-size: 3.4rem; font-weight: 900; color: var(--turquesa); display: block; }
.v-indice-general span{ font-size: 1.05rem; color: #cfe2e6; }

/* ---------- CTA banda ---------- */
.v-cta-banda{
  background: var(--turquesa); color: #fff; border-radius: var(--radio); padding: 3em 2.5em;
  display: flex; align-items: center; justify-content: space-between; gap: 2em; flex-wrap: wrap;
}
.v-cta-banda h2, .v-cta-banda h3{ color: #fff; margin-bottom: .2em; }
.v-cta-banda p{ margin: 0; color: rgba(255,255,255,.9); }

/* ---------- Footer ---------- */
.v-footer{ background: var(--grafito); color: #cbd5d7; padding: 64px 0 0; }
.v-footer-grid{ display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.v-footer-logo-lockup{ display: flex; align-items: center; gap: .5em; margin-bottom: 1em; }
.v-footer-logo{ height: 26px; width: auto; filter: brightness(0) invert(1); }
.v-footer-logo-lockup span{ font-weight: 900; letter-spacing: .04em; color: #fff; font-size: 1.05rem; }
.v-footer-brand p{ font-size: .9rem; color: #9fb0b3; }
.v-footer-social{ display: flex; gap: 1em; margin-top: 1em; }
.v-footer-social a{ font-size: .85rem; font-weight: 700; color: var(--turquesa); }
.v-footer h4{ color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1em; }
.v-footer-col-spacer{ margin-top: 1.6em; }
.v-footer-col ul{ display: grid; gap: .6em; }
.v-footer-col a{ font-size: .9rem; color: #9fb0b3; }
.v-footer-col a:hover{ color: var(--turquesa); }
.v-footer-bottom{
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between;
  font-size: .82rem; color: #7c8b8e; flex-wrap: wrap; gap: .5em;
}

.v-whatsapp-float{
  position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25); z-index: 90;
}

/* ---------- Utilidades ---------- */
.v-badge{
  display: inline-block; background: var(--turquesa-claro); color: var(--turquesa); font-weight: 800;
  font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: .4em 1em; border-radius: 999px;
}
.v-destacado{
  background: var(--turquesa-claro); border-left: 4px solid var(--turquesa); border-radius: 0 var(--radio-sm) var(--radio-sm) 0;
  padding: 1.4em 1.6em; font-weight: 600; color: var(--azul-profundo);
}
.v-dos-columnas{ display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.v-lista-simple{ display: grid; gap: .6em; }
.v-lista-simple li{ padding-left: 1.4em; position: relative; color: var(--gris-texto); }
.v-lista-simple li::before{ content: "—"; position: absolute; left: 0; color: var(--turquesa); font-weight: 900; }
.v-img-radio{ border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.text-center{ text-align: center; }
.mt-2{ margin-top: 2em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .v-hero-grid, .v-dos-columnas{ grid-template-columns: 1fr; }
  .v-hero-img{ order: -1; }
  .v-stats, .v-grid-4{ grid-template-columns: repeat(2, 1fr); }
  .v-grid-3, .v-grid-6{ grid-template-columns: repeat(2, 1fr); }
  .v-pilares, .v-pasos, .v-madurez{ grid-template-columns: repeat(2, 1fr); }
  .v-footer-grid{ grid-template-columns: 1fr 1fr; }
}
/* El menú horizontal necesita bastante ancho (8 enlaces + selector de idioma + botón);
   por debajo de 1060px pasamos a menú tipo hamburguesa para evitar que se apriete o se corte. */
@media (max-width: 1060px){
  .v-nav{
    position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 24px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; gap: 0;
    z-index: 200;
  }
  .v-nav.abierto{ transform: translateX(0); }
  .v-nav > ul{ flex-direction: column; align-items: stretch; gap: 0; }
  .v-nav > ul > li > a{ display: block; padding: .9em 0; border-bottom: 1px solid var(--gris-borde); font-size: 1rem; }
  .v-submenu{ position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; display: none; min-width: 0; margin-top: 0; }
  .v-nav-dropdown:hover .v-submenu{ display: block; }
  .v-nav-extra{ margin-top: 1.5em; justify-content: space-between; }
  .v-nav-toggle{ display: flex; }
}

@media (max-width: 720px){
  .v-stats, .v-grid-4, .v-grid-3, .v-grid-6, .v-pilares, .v-pasos, .v-madurez, .v-form-row, .v-diag-escala{ grid-template-columns: 1fr !important; }
  .v-footer-grid{ grid-template-columns: 1fr; }
  section{ padding: 56px 0; }
  .v-cta-banda{ flex-direction: column; align-items: flex-start; text-align: left; }
}
