/* s035-v2.css — portada de smart035.com, rediseño 2026-11-23 (docs/REDISENO-PORTADA-SMART035-2026-11-23.txt).
   Sin Bootstrap: una sola hoja, móvil primero. El formulario usa contacto-ps.css (clases s35-*). */
:root {
  --v-ink: #13233f;
  --v-text: #3d4b63;
  --v-muted: #5a6679;
  --v-navy: #0c2d6f;
  --v-blue: #0071c1;
  --v-green: #6fae1d;
  --v-green-soft: #eef7e3;
  --v-orange: #f26522;
  --v-line: #dfe5ee;
  --v-bg: #f5f7fb;
  --v-white: #fff;
  --v-radius: 14px;
  --v-shadow: 0 10px 30px rgba(19, 35, 63, .08);
  --v-max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--v-text); background: var(--v-white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--v-blue); }
h1, h2, h3 { color: var(--v-ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
.v-wrap { width: 100%; max-width: var(--v-max); margin: 0 auto; padding: 0 20px; }
.v-skip { position: absolute; left: -9999px; }
.v-skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Barra superior y encabezado */
.v-topbar { background: var(--v-navy); color: #dfe8ff; font-size: .82rem; }
.v-topbar .v-wrap { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.v-topbar a { color: #fff; text-decoration: none; }
.v-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--v-line); backdrop-filter: saturate(140%) blur(6px); }
.v-header .v-wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.v-logo img { height: 46px; width: auto; }
.v-nav { display: none; margin-left: auto; gap: 22px; }
.v-nav a { color: var(--v-ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.v-nav a:hover { color: var(--v-blue); }
.v-header-cta { margin-left: auto; display: flex; gap: 8px; }
.v-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: .97rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.v-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(19, 35, 63, .14); }
.v-btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #0071c1; outline-offset: 2px; }
.v-btn-primary { background: #b85309; color: #fff; }
.v-btn-primary:hover { background: #9a4507; }
.v-btn-secondary { background: var(--v-white); color: var(--v-navy); border-color: var(--v-navy); }
.v-btn-green { background: #3f7a0e; color: #fff; }
.v-btn-green:hover { background: #33640b; }
.v-btn-sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
.v-header .v-btn-secondary { display: none; }

/* Portada */
.v-hero { background: linear-gradient(180deg, #f2f6fc 0%, #ffffff 100%); padding: 28px 0 32px; }
.v-hero-grid { display: grid; gap: 32px; align-items: start; }
.v-eyebrow { display: inline-block; background: var(--v-green-soft); color: #3f6f0a; font-weight: 700; font-size: .8rem; letter-spacing: .02em; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.v-hero h1 { font-size: clamp(1.7rem, 4.6vw, 2.55rem); }
.v-lead { font-size: 1.08rem; color: var(--v-text); }
.v-checks { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.v-checks li { position: relative; padding-left: 30px; }
.v-checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--v-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.v-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.v-hero-note { font-size: .88rem; color: var(--v-muted); margin: 0; }
.v-hero-figure { margin: 0; background: var(--v-white); border: 1px solid var(--v-line); border-radius: var(--v-radius); box-shadow: var(--v-shadow); padding: 12px; }
.v-hero-figure figcaption { font-size: .82rem; color: var(--v-muted); text-align: center; padding-top: 6px; }

/* Franja de datos */
.v-facts { border-top: 1px solid var(--v-line); border-bottom: 1px solid var(--v-line); background: var(--v-white); }
.v-facts ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.v-facts li { font-size: .92rem; color: var(--v-ink); }
.v-facts strong { display: block; font-size: 1.05rem; color: var(--v-navy); }

/* Secciones */
.v-section { padding: 40px 0; }
.v-section-alt { background: var(--v-bg); }
.v-section-head { max-width: 760px; margin-bottom: 20px; }
.v-section-head h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); }
.v-section-head p { color: var(--v-muted); font-size: 1.02rem; }
.v-steps { list-style: none; counter-reset: paso; padding: 0; margin: 0; display: grid; gap: 16px; }
.v-steps li { counter-increment: paso; background: var(--v-white); border: 1px solid var(--v-line); border-radius: var(--v-radius); padding: 22px 20px 18px 66px; position: relative; }
.v-steps li::before { content: counter(paso); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--v-navy); color: #fff; font-weight: 700; display: grid; place-items: center; }
.v-steps h3 { font-size: 1.08rem; margin-bottom: .35em; }
.v-steps p { margin: 0; font-size: .96rem; }
.v-cards { display: grid; gap: 16px; }
.v-card { background: var(--v-white); border: 1px solid var(--v-line); border-radius: var(--v-radius); padding: 22px; }
.v-card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.v-card h3 svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--v-green); }
.v-card p { margin: 0; font-size: .95rem; }

/* Reportes */
.v-reports { display: grid; gap: 18px; }
.v-report { margin: 0; background: var(--v-white); border: 1px solid var(--v-line); border-radius: var(--v-radius); overflow: hidden; box-shadow: var(--v-shadow); }
.v-report img { width: 100%; aspect-ratio: 689 / 760; object-fit: cover; object-position: top; border-bottom: 1px solid var(--v-line); }
.v-report figcaption { padding: 14px 16px; font-size: .92rem; }
.v-report figcaption strong { display: block; color: var(--v-ink); }
.v-small { font-size: .85rem; color: var(--v-muted); }

/* Prueba social */
.v-social { padding: 32px 0; }
.v-social-title { text-align: center; font-size: clamp(1.2rem, 2.8vw, 1.55rem); }
.v-center { text-align: center; }
.v-logos { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; align-items: center; justify-items: center; }
.v-logos img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .75; }
.v-quotes { display: grid; gap: 16px; margin-bottom: 12px; }
.v-quote { margin: 0; background: var(--v-bg); border-left: 4px solid var(--v-green); border-radius: 10px; padding: 18px 20px; }
.v-quote blockquote { margin: 0; }
.v-quote p { margin: 0 0 8px; color: var(--v-ink); font-size: 1rem; }
.v-quote figcaption { font-size: .88rem; color: var(--v-muted); }

.v-vs ul { margin: 0; padding-left: 18px; font-size: .95rem; }
.v-vs li { margin-bottom: 6px; }
.v-card-ok { border: 2px solid var(--v-green); }

/* Precios */
.v-pricing { display: grid; gap: 18px; align-items: stretch; }
.v-plan { background: var(--v-white); border: 1px solid var(--v-line); border-radius: var(--v-radius); padding: 26px 22px; display: flex; flex-direction: column; }
.v-plan-featured { border: 2px solid var(--v-green); box-shadow: var(--v-shadow); }
.v-plan h3 { font-size: 1.2rem; margin-bottom: .2em; }
.v-plan-for { color: var(--v-muted); font-size: .93rem; }
.v-price { font-size: 2rem; font-weight: 700; color: var(--v-navy); line-height: 1.1; margin: 8px 0 4px; }
.v-price small { font-size: .95rem; font-weight: 500; color: var(--v-muted); }
.v-plan ul { padding-left: 20px; margin: 14px 0 18px; font-size: .95rem; }
.v-plan ul li { margin-bottom: 6px; }
.v-plan .v-btn { margin-top: auto; }
.v-tiers { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 10px 0 4px; }
.v-tiers th, .v-tiers td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--v-line); }
.v-tiers th { color: var(--v-ink); font-weight: 700; background: var(--v-bg); }
.v-tiers td:last-child, .v-tiers th:last-child { text-align: right; white-space: nowrap; }
.v-pricing-note { margin-top: 16px; font-size: .88rem; color: var(--v-muted); }

/* Preguntas frecuentes */
.v-faq { display: grid; gap: 10px; max-width: 860px; }
.v-faq details { background: var(--v-white); border: 1px solid var(--v-line); border-radius: 12px; padding: 0 18px; }
.v-faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--v-ink); padding: 16px 28px 16px 0; position: relative; }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--v-blue); }
.v-faq details[open] summary::after { content: "–"; }
.v-faq details p { margin: 0 0 16px; }

/* Llamada final */
.v-cta { background: var(--v-navy); color: #e8eefc; text-align: center; padding: 40px 0; }
.v-cta h2 { color: #fff; font-size: clamp(1.4rem, 3.2vw, 1.9rem); }
.v-cta p { max-width: 640px; margin: 0 auto 22px; }
.v-cta .v-hero-actions { justify-content: center; margin: 0; }
.v-cta .v-btn-secondary { background: transparent; color: #fff; border-color: #fff; }

/* Pie */
.v-footer { background: #0b1b3a; color: #b8c4dc; font-size: .92rem; padding: 44px 0 24px; }
.v-footer-grid { display: grid; gap: 28px; }
.v-footer h2 { color: #fff; font-size: 1rem; margin-bottom: .8em; }
.v-footer a { color: #dbe5fb; text-decoration: none; }
.v-footer a:hover { text-decoration: underline; }
.v-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.v-copy { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 18px; font-size: .84rem; text-align: center; }

/* Navegación de secciones en celular */
.v-subnav { display: flex; gap: 18px; overflow-x: auto; padding: 8px 20px 10px; border-top: 1px solid var(--v-line); font-size: .9rem; white-space: nowrap; scrollbar-width: none; }
.v-subnav::-webkit-scrollbar { display: none; }
.v-subnav a { color: var(--v-ink); text-decoration: none; font-weight: 500; padding: 4px 0; }
.v-colab { margin-bottom: 6px; }

/* Video de demostración (se carga solo al hacer clic) */
.v-video { max-width: 640px; margin: 0 0 24px; }
.v-video-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--v-radius); overflow: hidden; cursor: pointer; background: #000; }
.v-video-btn img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .9; }
.v-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; border-radius: 12px; background: #c4302b; }
.v-play::after { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; }
.v-video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--v-radius); }

/* WhatsApp flotante */
.v-wa { position: fixed; right: 16px; bottom: 88px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.v-wa svg { width: 28px; height: 28px; fill: #fff; }

/* Formulario dentro de la portada */
.v-hero .s35-contact { padding: 0; background: none; }
.v-hero .s35-card { box-shadow: var(--v-shadow); }

@media (min-width: 640px) {
  .v-logos { grid-template-columns: repeat(5, 1fr); }
  .v-vs { grid-template-columns: 1fr 1fr; }
  .v-quotes { grid-template-columns: 1fr 1fr; }
  .v-facts ul { grid-template-columns: repeat(4, 1fr); }
  .v-cards { grid-template-columns: repeat(2, 1fr); }
  .v-reports { grid-template-columns: repeat(3, 1fr); }
  .v-header .v-btn-secondary { display: inline-flex; }
}
@media (min-width: 900px) {
  .v-nav { display: flex; }
  .v-subnav { display: none; }
  .v-header-cta { margin-left: 18px; }
  .v-hero { padding: 40px 0 44px; }
  .v-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 28px 44px; }
  .v-hero-text { grid-column: 1; grid-row: 1; }
  .v-hero-form { grid-column: 2; grid-row: 1 / span 2; }
  .v-hero-figure, .v-hero-extra { grid-column: 1; grid-row: 2; }
  .v-steps { grid-template-columns: repeat(2, 1fr); }
  .v-cards { grid-template-columns: repeat(3, 1fr); }
  .v-cards.v-vs { grid-template-columns: 1fr 1fr; }
  .v-pricing { grid-template-columns: 1fr 1fr; }
  .v-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v-btn { transition: none; }
  .v-btn:hover { transform: none; }
}

/* Botón del formulario (contacto-ps.css) con contraste AA */
.v-hero .s35-contact #enviarMensaje, .s35-contact .s35-btn { background: #b85309; }
.s35-contact .s35-btn:hover { background: #9a4507; }

/* Contacto (2026-11-23) */
.v-h3 { font-size: 1.1rem; margin-top: 8px; }
.v-steps-compact { grid-template-columns: 1fr !important; gap: 10px; margin-bottom: 18px; }
.v-steps-compact li { padding: 14px 16px 12px 58px; }
.v-steps-compact li::before { left: 16px; top: 14px; width: 28px; height: 28px; font-size: .9rem; }
.v-steps-compact h3 { font-size: 1rem; }
.v-alt ul { list-style: none; padding: 0; margin: 6px 0 12px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .95rem; }
.v-hero-contacto .s35-contact #contacto { margin: 0; }
.v-hero-extra { min-width: 0; }

/* Portada v3 (2026-11-24): recuadro del producto en el hero y formulario en ventana */
.v-hero-panel { min-width: 0; }
.v-panel { border-radius: 18px; box-shadow: var(--v-shadow); background: #eef7e3; }
.v-panel img { aspect-ratio: 16 / 9; opacity: 1; }
.v-hero-panel .v-video-frame { aspect-ratio: 16 / 9; border-radius: 18px; }
.v-hero-panel .v-small { margin: 8px 0 0; }
.v-dialog { position: fixed; z-index: 1040; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; width: min(720px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; padding: 0; border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(19, 35, 63, .3); background: #fff; }
.v-dialog-fondo { display: none; position: fixed; inset: 0; z-index: 1030; background: rgba(12, 27, 58, .55); }
.v-form-abierto .v-dialog-fondo { display: block; }
.v-form-abierto { overflow: hidden; }
.v-dialog-close { position: absolute; right: 10px; top: 8px; z-index: 2; width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.8rem; line-height: 1; color: var(--v-ink); cursor: pointer; border-radius: 8px; }
.v-dialog-title { position: absolute; left: -9999px; }
.v-dialog .s35-contact, .v-dialog #contacto { margin: 0; }
.v-dialog .s35-card { box-shadow: none; }
@media (min-width: 900px) {
  .v-hero-grid { align-items: center; }
}

/* v3 ajustes del validador (2026-11-24) */
.v-dialog { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
.v-dialog .s35-card-title h2 { padding-right: 44px; }
.v-trust { font-size: .88rem; color: var(--v-muted); margin: 6px 0 14px; }
.v-hero h1 { margin-bottom: .45em; }
@media (max-width: 639px) {
  .v-header .v-btn-secondary { display: inline-flex; }
  .v-header-cta .v-btn-sm { min-height: 38px; padding: 6px 10px; font-size: .82rem; }
  .v-logo img { height: 38px; }
}

/* Lote F (2026-11-24, auditoría): naranja de la marca Vorecol (#f26522 como VN). Con texto blanco da 3.15:1, que pasa AA solo con texto grande (≥18.7 px en negrita); por eso los botones primarios grandes usan 1.17rem y los pequeños el tono oscuro. */
.v-btn-primary { background: #f26522; font-size: 1.17rem; font-weight: 700; box-shadow: 0 10px 24px rgba(242, 101, 34, .25); }
.v-btn-primary:hover { background: #d9541a; }
.v-btn-sm.v-btn-primary { background: #b85309; font-size: .9rem; box-shadow: none; }
.v-btn-sm.v-btn-primary:hover { background: #9a4507; }
.v-btn-secondary { border-color: #f26522; color: #a63c06; }
.v-btn-green { background: #3f7a0e; }
.v-eyebrow { background: #fde7dc; color: #a63c06; }
.v-checks li::before { background-color: #f26522; }
.v-proof { font-size: .9rem; color: var(--v-ink); font-weight: 500; margin: -6px 0 14px; }
/* Botón de reproducir con la marca (blanco con flecha naranja, como VN) */
.v-play { width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.v-play::after { left: 30px; top: 23px; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #f26522; }
/* Reportes: 2 ilustraciones Vorecol */
.v-reports-2 .v-report img { aspect-ratio: auto; object-fit: contain; background: #f5f7fb; }
@media (min-width: 640px) { .v-reports.v-reports-2 { grid-template-columns: 1fr 1fr; } }
/* Precios */
.v-pricing { align-items: start; }
.v-badge { align-self: flex-start; background: #fde7dc; color: #a63c06; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.v-plan-featured { border-color: #f26522; }
.v-plan-link { display: block; text-align: center; margin-top: 12px; font-weight: 600; }
.v-plan .v-btn-primary { font-size: 1.17rem; }
.v-tiers tr.v-tier-pro td { color: var(--v-muted); text-decoration: line-through; text-decoration-color: rgba(102,115,138,.5); }
.v-help { margin: 6px 0 0; }
/* Logos centrados en celular */
.v-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
.v-logos li { flex: 0 0 auto; }
/* Pie */
.v-foot-t { color: #fff; font-weight: 700; font-size: 1rem; margin: 0 0 .8em; }
/* Formulario dentro de la ventana con el estilo de la tarjeta de Vorecol (demo.vorecol.com) */
.v-dialog { border-top: 5px solid #f58232; border-radius: 20px; }
.v-dialog .s35-card { padding: 28px 30px 24px; }
.v-dialog .s35-card-title h2 { font-size: 1.75rem; font-weight: 800; color: #172033; }
.v-dialog .s35-card-title p { color: #667085; }
.s35-contact .s35-notice { background: #fff7dc; border: 1px solid #f4da94; color: #72510b; border-radius: 12px; padding: 12px 15px; }
.s35-contact .s35-notice::before { content: "🔒 "; }
.s35-contact .s35-label { font-size: .88rem; font-weight: 700; color: #344054; }
.s35-contact #contacto input:not([type="checkbox"]), .s35-contact #contacto select, .s35-contact #contacto textarea { background-color: #fbfcfe; border: 1px solid #d4dde8; border-radius: 11.5px; }
.s35-contact .s35-btn, .v-hero .s35-contact #enviarMensaje { background: #f26522; font-size: 1.17rem; font-weight: 700; border-radius: 12.8px; box-shadow: 0 10px 24px rgba(242, 101, 34, .25); }
.s35-contact .s35-btn:hover { background: #d9541a; }
/* El chat no tapa el formulario abierto */
.v-form-abierto #yourgpt_root { display: none !important; }
/* Celular: un solo botón en la cabecera, sin barra de teléfonos */
@media (max-width: 639px) {
  .v-topbar { display: none; }
  .v-header .v-btn { white-space: nowrap; }
  .v-header-cta #clic-crear-cuenta { display: none; }
  .v-dialog .s35-card { padding: 22px 18px 18px; }
  .v-dialog .s35-card-title h2 { font-size: 1.4rem; }
}
/* Contacto con la hoja v3: formulario a una columna y sin hueco en la columna izquierda */
.v-hero-contacto .s35-fields { grid-template-columns: 1fr !important; }
.v-hero-contacto .s35-contact #contacto .s35-field { grid-column: auto; }
.v-hero-contacto .v-hero-text { padding-bottom: 0; }
.v-dialog .s35-field:has(#opcion), .v-dialog .s35-field:has(#mensaje) { grid-column: 1 / -1; }
.v-reports-2 .v-report img { aspect-ratio: auto; }
.v-reports-2 { align-items: start; }
@media (min-width: 900px) { .v-hero-contacto .v-hero-grid { grid-template-rows: auto 1fr; } .v-hero-contacto .v-hero-extra { align-self: start; } }
