/* Estilos Profesionales - Todo Partners
   Paleta: Todo Planes (Azul/Verde)
   Estética: Moderna / Alta Conversión
*/

:root {
  /* Colores Extraídos de la Imagen Todo Planes */
  --tp-blue-bright: #0061c2;
  --tp-blue-navy: #24334c;
  --tp-green: #61d97f;
  --tp-green-dark: #4eb067;

  /* Fondos y Superficies */
  --tp-bg-main: #ffffff;
  --tp-bg-soft: #f8fafc;
  --tp-border: #e2e8f0;

  /* Tipografía y Textos */
  --tp-text-main: #24334c;
  --tp-text-light: #4b5563;
  --tp-text-muted: #94a3b8;

  /* Efectos Visuales */
  --tp-shadow-sm: 0 4px 12px rgba(36, 51, 76, 0.05);
  --tp-shadow-md: 0 16px 40px rgba(36, 51, 76, 0.1);
  --tp-shadow-lg: 0 24px 60px rgba(36, 51, 76, 0.12);
  --tp-radius-sm: 8px;
  --tp-radius-md: 16px;
  --tp-radius-lg: 32px;
  --tp-radius-pill: 999px;
  --tp-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset General */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--tp-bg-main);
  color: var(--tp-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.tp-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

.tp-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.tp-section--soft {
  background: var(--tp-bg-soft);
}

.tp-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 97, 194, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  z-index: 0;
  pointer-events: none;
}

.tp-section::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(97, 217, 127, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
  z-index: 0;
  pointer-events: none;
}

.tp-section > .tp-container { position: relative; z-index: 1; }

.tp-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--tp-blue-navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.tp-title span { color: var(--tp-green); }

.tp-lead {
  font-size: 1.1rem;
  color: var(--tp-text-light);
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.tp-text-soft {
  color: var(--tp-text-light);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.tp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--tp-radius-sm);
  transition: all var(--tp-transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.tp-button--primary {
  background: var(--tp-blue-navy);
  color: white;
}

.tp-button--primary:hover {
  background: #1a2536;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36, 51, 76, 0.25);
}

.tp-button--secondary {
  background: transparent;
  color: var(--tp-blue-navy);
  border: 2px solid var(--tp-border);
}

.tp-button--secondary:hover {
  border-color: var(--tp-blue-navy);
  background: rgba(36, 51, 76, 0.03);
  transform: translateY(-2px);
}

.tp-hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.tp-hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 97, 194, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  top: -300px;
  right: -200px;
  pointer-events: none;
}

.tp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.tp-hero__copy {
  position: relative;
  z-index: 1;
}

.tp-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Trust pills */
.tp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tp-hero__panel {
  position: relative;
  z-index: 1;
}

.tp-hero__panel-main {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f4f9ff 100%);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 40px;
  box-shadow: var(--tp-shadow-md);
}

.tp-hero__panel-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tp-blue-bright), var(--tp-green));
  border-radius: var(--tp-radius-md) var(--tp-radius-md) 0 0;
}

.tp-hero__panel-main::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: rgba(97, 217, 127, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.tp-grid {
  display: grid;
  gap: 24px;
}
.tp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tp-grid--4 { grid-template-columns: repeat(4, 1fr); }

.tp-mt-30 { margin-top: 48px; }

.tp-card {
  background: white;
  border: 1px solid var(--tp-border);
  padding: 40px;
  border-radius: var(--tp-radius-md);
  box-shadow: var(--tp-shadow-sm);
  transition: all var(--tp-transition);
}

.tp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tp-shadow-md);
}

.tp-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Non-highlight card chips */

.tp-mini-card {
  background: white;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 36px;
  box-shadow: var(--tp-shadow-sm);
  transition: all var(--tp-transition);
}

.tp-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tp-shadow-md);
}

.tp-mini-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--tp-blue-navy);
}

.tp-mini-card p {
  color: var(--tp-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

.tp-step {
  background: white;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 32px;
  box-shadow: var(--tp-shadow-sm);
  transition: all var(--tp-transition);
}

.tp-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--tp-shadow-md);
  border-color: var(--tp-blue-bright);
}

.tp-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--tp-blue-navy);
}

.tp-step p {
  color: var(--tp-text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

.tp-benefit {
  background: white;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 32px;
  box-shadow: var(--tp-shadow-sm);
  transition: all var(--tp-transition);
  text-align: center;
}

.tp-benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--tp-shadow-md);
}

.tp-benefit h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--tp-blue-navy);
}

.tp-benefit p {
  color: var(--tp-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tp-table {
  width: 100%;
  border-collapse: collapse;
}

.tp-table td {
  padding: 18px 28px;
  border-top: 1px solid var(--tp-border);
  font-size: 0.93rem;
  line-height: 1.5;
  vertical-align: top;
}

.tp-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tp-center .tp-lead {
  margin-inline: auto;
}

/* Contenedor <details>. Sin padding aquí: lo manejan summary y answer. */
.tp-faq {
  background: white;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  box-shadow: var(--tp-shadow-sm);
  overflow: hidden;
  transition: border-color var(--tp-transition), box-shadow var(--tp-transition);
}

.tp-faq:hover {
  box-shadow: var(--tp-shadow-md);
  border-color: var(--tp-blue-bright);
}

.tp-faq[open] {
  border-color: var(--tp-blue-bright);
  box-shadow: var(--tp-shadow-md);
}

/* Summary = pregunta clickable. Layout horizontal con la viñeta a la derecha. */
.tp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background var(--tp-transition);
}

/* Ocultar el marcador nativo del <summary> */
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::marker { content: ''; }

.tp-faq summary:hover {
  background: rgba(0, 97, 194, 0.03);
}

.tp-faq summary:focus-visible {
  outline: 2px solid var(--tp-blue-bright);
  outline-offset: -2px;
}

.tp-faq summary h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tp-blue-navy);
  line-height: 1.4;
  transition: color var(--tp-transition);
}

.tp-faq summary:hover h3 {
  color: var(--tp-blue-bright);
}

.tp-faq[open] summary h3 {
  color: var(--tp-blue-bright);
}

/* Viñeta circular con signo +. Gira 45° y cambia de color cuando abre. */

/* Barra horizontal del + */

/* Barra vertical del + → rota 90° al abrir para quedarse como "−" */

/* Barra vertical desaparece al abrir → el icono queda como "−" sobre fondo verde */

/* Respuesta: aparece cuando <details> está abierto */

@keyframes tp-faq-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tp-banner {
  background: linear-gradient(135deg, var(--tp-blue-navy) 0%, #1a2a3e 100%);
  color: white;
  border-radius: var(--tp-radius-md);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.tp-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(97, 217, 127, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.tp-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: rgba(0, 97, 194, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.tp-banner .tp-lead {
  color: rgba(255, 255, 255, 0.8);
  margin-inline: auto;
}

.tp-banner .tp-button--primary {
  background: var(--tp-green);
}

.tp-banner .tp-button--primary:hover {
  background: var(--tp-green-dark);
  box-shadow: 0 8px 24px rgba(97, 217, 127, 0.3);
}

.tp-banner .tp-button--secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.tp-banner .tp-button--secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

.tp-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: white;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 56px 48px;
  box-shadow: var(--tp-shadow-md);
  position: relative;
  overflow: hidden;
}

.tp-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tp-blue-bright), var(--tp-green));
}

.tp-form__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tp-blue-navy);
  margin-bottom: 12px;
}

.tp-form p {
  color: var(--tp-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

.tp-form__actions {
  margin-top: 28px;
}

.tp-form__actions--center {
  display: flex;
  justify-content: center;
}

.tp-footer {
  background: var(--tp-blue-navy);
  color: white;
  padding: 40px 0;
}

.tp-footer__brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tp-hero__copy {
  animation: fadeUp 0.7s ease-out both;
}

.tp-hero__panel {
  animation: fadeUp 0.7s 0.15s ease-out both;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .tp-hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tp-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .tp-section {
    padding: 72px 0;
  }

  .tp-hero {
    padding: 56px 0 72px;
  }

  .tp-banner {
    padding: 48px 36px;
  }
}

/* Tablet small */
@media (max-width: 900px) {



  .tp-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .tp-container {
    padding-inline: 20px;
  }

  .tp-section {
    padding: 56px 0;
  }

  .tp-hero {
    padding: 40px 0 56px;
  }

  .tp-title {
    font-size: 1.9rem;
  }

  .tp-lead {
    font-size: 1rem;
  }

  
  .tp-grid--3,
  .tp-grid--4 {
    grid-template-columns: 1fr;
  }

  .tp-hero__actions {
    flex-direction: column;
  }

  .tp-hero__actions .tp-button {
    width: 100%;
    justify-content: center;
  }

  .tp-card {
    padding: 28px;
  }

  .tp-hero__panel-main {
    padding: 28px;
  }

  .tp-step {
    padding: 24px;
  }

  .tp-benefit {
    padding: 24px;
  }

  .tp-mini-card {
    padding: 28px;
  }

  .tp-faq summary {
    padding: 20px 22px;
    gap: 16px;
  }

  .tp-form {
    padding: 36px 24px;
  }

  .tp-banner {
    padding: 40px 24px;
  }

  /* Tabla responsive: stack vertical */

  .tp-table {
    min-width: 580px;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .tp-container {
    padding-inline: 16px;
  }

  .tp-title {
    font-size: 1.65rem;
  }
}

.tp-back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--tp-blue-navy);
  box-shadow: 0 14px 30px rgba(36, 51, 76, 0.22);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity var(--tp-transition), transform var(--tp-transition), visibility var(--tp-transition), background var(--tp-transition), box-shadow var(--tp-transition);
}

.tp-back-to-top::before,
.tp-back-to-top::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: #ffffff;
  border-radius: 999px;
}

.tp-back-to-top::before {
  width: 3px;
  height: 16px;
  transform: translate(-50%, -15%);
}

.tp-back-to-top::after {
  width: 12px;
  height: 12px;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  background: transparent;
  border-radius: 2px;
  transform: translate(-50%, -30%) rotate(45deg);
}

.tp-back-to-top:hover {
  background: var(--tp-blue-bright);
  transform: translateY(0);
  box-shadow: 0 18px 34px rgba(0, 97, 194, 0.24);
}

.tp-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tp-back-to-top:focus-visible {
  outline: 3px solid rgba(0, 97, 194, 0.25);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .tp-back-to-top {
    width: 44px;
    height: 44px;
    right: 16px;
    bottom: 16px;
  }
}

.tp-hero__copy .tp-lead,
.tp-hero__copy .tp-text-soft,
.tp-card > p,
.tp-mini-card p,
.tp-step p,
.tp-benefit p,
.tp-faq p,
.tp-table td {
  text-align: justify;
  text-justify: inter-word;
}

/* ─── Ajuste hero: menos alto y mejor adaptación a pantalla ─── */
.tp-hero {
  padding: 48px 0 62px;
}

.tp-hero__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.tp-hero__copy {
  max-width: 640px;
}

.tp-title {
  font-size: clamp(1.95rem, 3.7vw, 3.2rem);
  margin-bottom: 1.1rem;
}

.tp-lead {
  font-size: clamp(0.98rem, 1.4vw, 1.06rem);
  margin-bottom: 1.35rem;
}

.tp-text-soft {
  font-size: 0.97rem;
  margin-bottom: 0.85rem;
}

.tp-hero__actions {
  margin-bottom: 1.35rem;
}

.tp-hero__panel {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.tp-hero__panel-main {
  padding: 32px;
}

@media (max-width: 1180px) {
  .tp-hero {
    padding: 42px 0 56px;
  }

  .tp-title {
    font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  }

  .tp-hero__panel-main {
    padding: 28px;
  }
}

@media (max-width: 1024px) {
  .tp-hero {
    padding: 40px 0 52px;
  }

  .tp-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tp-hero__copy,
  .tp-hero__panel {
    max-width: 720px;
    margin-inline: auto;
  }

  .tp-title {
    font-size: clamp(1.85rem, 5vw, 2.55rem);
  }
}

@media (max-width: 640px) {
  .tp-hero {
    padding: 28px 0 42px;
  }

  .tp-title {
    font-size: clamp(1.6rem, 8vw, 2.05rem);
    line-height: 1.08;
  }

  .tp-lead,
  .tp-text-soft {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .tp-hero__actions {
    gap: 10px;
  }

  .tp-trust {
    gap: 8px;
  }

  .tp-hero__panel-main {
    padding: 22px;
  }
}

/* ══════════════════════════════════════════
   NAVBAR STICKY
══════════════════════════════════════════ */
.tp-navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--tp-border);
  transition: box-shadow var(--tp-transition);
}

.tp-navbar.is-scrolled {
  box-shadow: 0 4px 24px rgba(36, 51, 76, 0.08);
}

.tp-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 16px;
}

/* Logo */
.tp-navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.tp-navbar__logo img {
  height: 56px;
  width: auto;
  display: block;
}

/* Links */
.tp-navbar__links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tp-navbar__links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--tp-text-light);
  text-decoration: none;
  border-radius: var(--tp-radius-sm);
  transition: color var(--tp-transition), background var(--tp-transition);
  white-space: nowrap;
}

.tp-navbar__links a:hover,
.tp-navbar__links a[aria-current="page"] {
  color: var(--tp-blue-bright);
  background: rgba(0, 97, 194, 0.06);
}

/* Actions: button + burger */
.tp-navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Botón Cotizar */
.tp-button--cta {
  background: var(--tp-blue-bright);
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0 22px;
  min-height: 42px;
  border-radius: var(--tp-radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--tp-transition), transform var(--tp-transition), box-shadow var(--tp-transition);
}

.tp-button--cta:hover {
  background: #0050a0;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 97, 194, 0.28);
}

/* Hamburger */
.tp-navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--tp-radius-sm);
  transition: background var(--tp-transition);
}

.tp-navbar__burger:hover {
  background: rgba(0, 97, 194, 0.06);
}

.tp-navbar__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--tp-blue-navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

/* Estado abierto del burger */
.tp-navbar__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.tp-navbar__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.tp-navbar__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .tp-navbar__burger {
    display: flex;
  }

  .tp-navbar__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--tp-border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    box-shadow: 0 12px 32px rgba(36, 51, 76, 0.1);
    /* Oculto por defecto */
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .tp-navbar__links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .tp-navbar__links a {
    padding: 11px 14px;
    font-size: 0.95rem;
    border-radius: var(--tp-radius-sm);
  }
}

@media (max-width: 480px) {
  .tp-navbar__inner {
    height: 68px;
  }

  .tp-navbar__links {
    top: 68px;
  }

  .tp-navbar__logo img {
    height: 42px;
  }

  .tp-button--cta {
    font-size: 0.82rem;
    padding: 0 16px;
    min-height: 38px;
  }
}

/* ══════════════════════════════════════════
   EQUIPO PROFESIONAL — Comité Editorial
══════════════════════════════════════════ */

/* Header con link a la derecha */

.tp-button--cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  min-height: 44px;
  background: white;
  color: var(--tp-blue-bright);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--tp-radius-sm);
  text-decoration: none;
  align-self: flex-start;
  transition: background var(--tp-transition), box-shadow var(--tp-transition);
}

.tp-button--cta-white:hover {
  background: #f0f7ff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* ══════════════════════════════════════════
   TESTIMONIOS — Review Cards
══════════════════════════════════════════ */

/* Grid escalonado: tarjeta central elevada */

/* Tarjeta base */

/* Tarjeta central: más grande y elevada */

/* Estrellas */

/* Cita */

/* Autor */

/* Responsive */

/* ══════════════════════════════════════════
   LOGOS-RESPALDO — Marquesina de isapres
══════════════════════════════════════════ */

/* La sección ya usa tp-section--soft, solo ajustamos padding inferior */

/* Contenedor con fade lateral y overflow oculto */

/* Marquee en la página Empresas: menos aire que el default porque
   viene inmediatamente después de una sección con padding amplio. */

/* Track que contiene los dos sets y se desplaza */

/* Un set = todos los logos en fila */

/* Logos: altura fija, ancho proporcional, escala máxima controlada */

/* Keyframe del scroll */
@keyframes tp-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respeto por reduce-motion */

/* Responsive: logos más pequeños en móvil */

.tp-footer-links {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.tp-footer-link {
  color: #ffffff;
  text-decoration: none;
}

.tp-footer-link:hover,
.tp-footer-link:focus {
  color: #ffffff;
  text-decoration: none;
}

/* ══════════════════════════════════════════
   HERO HOME — Rediseño visual con imagen + flotantes
══════════════════════════════════════════ */

.tp-hero--home {
  padding: 72px 0 0; /* Sin padding inferior: la franja de logos cierra la sección */
  background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 55%, #f0faf4 100%);
  overflow: visible; /* Permitir que los flotantes salgan del container */
}

.tp-hero--home::before {
  /* Eliminamos el blob genérico del hero base */
  display: none;
}

.tp-hero--home .tp-hero__grid {
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-end; /* copia y visual alineados al fondo */
}

.tp-hero--home .tp-hero__copy {
  padding-bottom: 48px; /* espacio debajo del copy para que quede centrado verticalmente */
}

.tp-hero--home .tp-title {
  font-size: clamp(1.95rem, 3.5vw, 3rem);
  margin-bottom: 1.1rem;
}

.tp-hero--home .tp-lead {
  font-size: clamp(0.98rem, 1.35vw, 1.06rem);
  margin-bottom: 1.5rem;
}

.tp-hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tp-hero__blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  background: radial-gradient(
    ellipse at 40% 40%,
    rgba(0, 97, 194, 0.10) 0%,
    rgba(97, 217, 127, 0.06) 55%,
    transparent 80%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: tp-blob-morph 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes tp-blob-morph {
  0%   { border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%; }
  33%  { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
  66%  { border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%; }
  100% { border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%; }
}

.tp-hero__img-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Cuando se coloque la imagen real */
.tp-hero__img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.tp-hero__float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 10px 16px;
  box-shadow: 0 8px 28px rgba(36, 51, 76, 0.10);
  white-space: nowrap;
  animation: tp-float-idle 4s ease-in-out infinite;
}

@keyframes tp-float-idle {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Desfasar animaciones para que no se muevan sincronizadas */
.tp-hero__float--tl { animation-delay: 0s; }
.tp-hero__float--tr { animation-delay: 1.4s; }
.tp-hero__float--br { animation-delay: 2.8s; }

.tp-hero__float--tl {
  top: 32px;
  left: -20px;
}

.tp-hero__float--tr {
  top: 80px;
  right: -20px;
}

.tp-hero__float--br {
  bottom: 52px;
  right: -16px;
  padding: 12px 16px;
  gap: 12px;
}

.tp-hero__float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tp-hero__float-icon--blue {
  background: rgba(0, 97, 194, 0.10);
  color: var(--tp-blue-bright);
}

.tp-hero__float-icon--green {
  background: rgba(97, 217, 127, 0.18);
  color: var(--tp-green-dark);
}

.tp-hero__float-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tp-hero__float-text strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--tp-blue-navy);
  line-height: 1.2;
}

.tp-hero__float-text span {
  font-size: 0.7rem;
  color: var(--tp-text-muted);
  font-weight: 500;
}

.tp-hero__float-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dce8f5, #b8d0ea);
  border: 2px solid white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(36, 51, 76, 0.12);
}

.tp-hero__float-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-hero__float-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tp-green);
  box-shadow: 0 0 0 3px rgba(97, 217, 127, 0.25);
  animation: tp-pulse-dot 2s ease-in-out infinite;
}

@keyframes tp-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(97, 217, 127, 0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(97, 217, 127, 0.10); }
}

/* ══════════════════════════════════════════
   FRANJA DE MARQUESINA INTEGRADA EN HERO
══════════════════════════════════════════ */
.tp-hero__marquee-strip {
  margin-top: 0;
  border-top: 1px solid var(--tp-border);
  background: white;
  padding: 24px 0 20px;
}

.tp-hero__marquee-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--tp-text-muted);
  margin-bottom: 20px;
}

/* Override de márgenes para la marquesina dentro del hero */

/* ══════════════════════════════════════════
   RESPONSIVE HERO HOME
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .tp-hero__img-frame {
    max-width: 300px;
  }

  .tp-hero__blob {
    width: 320px;
    height: 320px;
  }

  .tp-hero__float--tl { left: -10px; }
  .tp-hero__float--tr { right: -10px; }
  .tp-hero__float--br { right: -10px; }
}

@media (max-width: 860px) {
  .tp-hero--home .tp-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tp-hero--home .tp-hero__copy {
    padding-bottom: 0;
    text-align: center;
  }

  .tp-hero--home .tp-hero__actions {
    justify-content: center;
  }

  .tp-hero--home .tp-trust {
    justify-content: center;
  }

  .tp-hero__visual {
    order: -1; /* Imagen arriba en móvil */
  }

  .tp-hero__img-frame {
    max-width: 260px;
  }

  .tp-hero__blob {
    width: 260px;
    height: 260px;
  }

  /* Reposicionar flotantes en móvil */
  .tp-hero__float--tl {
    top: 16px;
    left: 0;
  }

  .tp-hero__float--tr {
    top: 60px;
    right: 0;
  }

  .tp-hero__float--br {
    bottom: 16px;
    right: 0;
    left: auto;
  }
}

@media (max-width: 480px) {
  .tp-hero--home {
    padding-top: 48px;
  }

  .tp-hero__visual {
    order: -1;
  }

  .tp-hero__img-frame {
    max-width: 220px;
  }

  /* Ocultar flotante de asesor en pantallas muy pequeñas */
  .tp-hero__float--br {
    display: none;
  }
}

/* Reduce motion: apagar animaciones del hero */
@media (prefers-reduced-motion: reduce) {
  .tp-hero__blob,
  .tp-hero__float,
  .tp-hero__float-dot {
    animation: none;
  }
}

/* ══════════════════════════════════════════
   CÓMO FUNCIONA — Timeline (home)
══════════════════════════════════════════ */

.tp-cf-header {
  margin-bottom: 56px;
}

.tp-cf-timeline {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  margin: 0;
}

/* Línea conectora vertical (móvil) */
.tp-cf-timeline::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 52px;
  bottom: 52px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--tp-green) 0%,
    var(--tp-blue-bright) 50%,
    var(--tp-green) 100%
  );
  opacity: 0.25;
  z-index: 0;
}

.tp-cf-paso {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
}

.tp-cf-paso + .tp-cf-paso {
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.tp-cf-paso__num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.tp-cf-paso__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--tp-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  font-family: inherit;
  color: var(--tp-green-dark);
  box-shadow: 0 0 0 4px var(--tp-bg-soft);
  transition: background var(--tp-transition), color var(--tp-transition), transform var(--tp-transition), box-shadow var(--tp-transition);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  cursor: pointer;
  /* Pulso sutil para indicar que es clickeable */
  animation: tp-cf-pulse 2.4s ease-in-out infinite;
}

/* Solo animar los que están cerrados */
.tp-cf-paso.is-open .tp-cf-paso__num {
  animation: none;
  background: var(--tp-green);
  color: white;
  border-color: var(--tp-green);
  box-shadow: 0 0 0 4px var(--tp-bg-soft);
  transform: scale(1.08);
}

.tp-cf-paso__num:hover {
  background: var(--tp-green);
  color: white;
  border-color: var(--tp-green);
  box-shadow: 0 0 0 6px rgba(97, 217, 127, 0.18);
  animation: none;
  transform: scale(1.05);
}

.tp-cf-paso__num:focus-visible {
  outline: 3px solid var(--tp-blue-bright);
  outline-offset: 4px;
}

@keyframes tp-cf-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--tp-bg-soft); }
  50%       { box-shadow: 0 0 0 8px rgba(97, 217, 127, 0.20); }
}

.tp-cf-paso__time {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tp-text-muted);
  white-space: nowrap;
}

.tp-cf-paso__body {
  flex: 1;
  padding-top: 6px;
  /* Oculto por defecto — se muestra al activar is-open */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Visible cuando el paso está activo */
.tp-cf-paso.is-open .tp-cf-paso__body {
  max-height: 300px;
  opacity: 1;
}

.tp-cf-paso__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tp-blue-navy);
  line-height: 1.3;
  margin-bottom: 8px;
}

.tp-cf-paso__title span {
  color: var(--tp-blue-bright);
}

.tp-cf-paso__desc {
  font-size: 0.92rem;
  color: var(--tp-text-light);
  line-height: 1.7;
  text-align: left;
}

/* Chip de tiempo */
.tp-cf-chip {
  display: inline-block;
  background: rgba(97, 217, 127, 0.15);
  color: var(--tp-green-dark);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--tp-radius-pill);
  margin-top: 12px;
}

.tp-cf-footer {
  margin-top: 48px;
  background: white;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--tp-shadow-sm);
}

.tp-cf-footer__text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--tp-blue-navy);
  line-height: 1.5;
  max-width: 540px;
}

.tp-cf-footer__text em {
  font-style: normal;
  color: var(--tp-green-dark);
}

.tp-cf-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (min-width: 768px) {

  .tp-cf-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Línea conectora horizontal — centrada en el número (label está encima) */
  .tp-cf-timeline::before {
    left: calc(26px + 24px);
    right: calc(26px + 24px);
    top: calc(1.2rem + 6px + 26px); /* altura label + gap + radio del círculo */
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(
      to right,
      var(--tp-green) 0%,
      var(--tp-blue-bright) 50%,
      var(--tp-green) 100%
    );
  }

  .tp-cf-paso {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px 28px;
    border-top: none !important;
  }

  /* En desktop: label ENCIMA del número, número sobre la línea */
  .tp-cf-paso__num-wrap {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
  }

  /* El label va primero (arriba), el número debajo toca la línea */
  .tp-cf-paso__num-wrap {
    flex-direction: column-reverse; /* time arriba, num abajo */
    align-items: flex-start;
    gap: 6px;
  }

  .tp-cf-paso__time {
    margin-top: 0;
    order: -1; /* asegura que aparezca encima */
  }

  .tp-cf-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .tp-cf-footer {
    padding: 24px;
  }
}

/* ══════════════════════════════════════════
   FORMULARIO COTIZAR — #cotizar
══════════════════════════════════════════ */

.tp-form-section {
  padding: 100px 0;
}

.tp-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.tp-form-copy {
  position: sticky;
  top: 88px; /* debajo del navbar sticky */
}

.tp-form-copy .tp-title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  margin-bottom: 1rem;
}

.tp-form-copy .tp-lead {
  margin-bottom: 1.5rem;
}

/* ── Neutralizar pseudo-elementos decorativos del tp-section ──
   (por clase, no por #cotizar, porque el ancla #cotizar ahora vive en el
    formulario para que el link/los anuncios caigan directo en el form) ── */
.tp-form-section::before,
.tp-form-section::after {
  display: none;
}

/* El ancla #cotizar (ahora en .tp-form-wrap) deja un margen para que el
   navbar fijo no tape el inicio del formulario al hacer scroll. */
#cotizar {
  scroll-margin-top: 90px;
}

/* ── Sin tarjeta: el form va directo sobre el fondo de la sección ── */
.tp-form-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

/* Barra superior azul/verde — ahora va sobre el form directamente */
.tp-form-wrap::before {
  display: none;
}

.tp-form {
  padding: 36px 40px 40px;
}

.tp-form__heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--tp-blue-navy);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.tp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.tp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.tp-field--full {
  grid-column: span 2;
}

.tp-field:last-child { margin-bottom: 0; }

.tp-field__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tp-blue-navy);
  letter-spacing: 0.01em;
}

.tp-field__optional {
  font-weight: 400;
  color: var(--tp-text-muted);
}

.tp-field__input {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--tp-text-main);
  background: var(--tp-bg-soft);
  border: 1.5px solid var(--tp-border);
  border-radius: var(--tp-radius-sm);
  transition: border-color var(--tp-transition), box-shadow var(--tp-transition), background var(--tp-transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.tp-field__input::placeholder {
  color: var(--tp-text-muted);
  font-size: 0.85rem;
}

.tp-field__input:focus {
  border-color: var(--tp-blue-bright);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 97, 194, 0.10);
}

.tp-field__input:invalid:not(:placeholder-shown) {
  border-color: #e53e3e;
}

.tp-field__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.tp-field__phone {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--tp-border);
  border-radius: var(--tp-radius-sm);
  background: var(--tp-bg-soft);
  overflow: hidden;
  transition: border-color var(--tp-transition), box-shadow var(--tp-transition);
}

.tp-field__phone:focus-within {
  border-color: var(--tp-blue-bright);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 97, 194, 0.10);
}

.tp-field__prefix {
  padding: 10px 10px 10px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tp-blue-navy);
  background: transparent;
  white-space: nowrap;
  border-right: 1.5px solid var(--tp-border);
  flex-shrink: 0;
}

.tp-field__input--phone {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 10px;
  flex: 1;
}

.tp-field__input--phone:focus {
  border: none;
  box-shadow: none;
  background: transparent;
}

.tp-field__textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

.tp-form__submit {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tp-form__btn {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
  letter-spacing: -0.01em;
  background: var(--tp-blue-bright);
  transition: background var(--tp-transition), transform var(--tp-transition), box-shadow var(--tp-transition);
}

.tp-form__btn:hover {
  background: #0050a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 97, 194, 0.28);
}

.tp-form__disclaimer {
  font-size: 0.72rem;
  color: var(--tp-text-muted);
  text-align: center;
  line-height: 1.5;
}

.tp-form__link {
  color: var(--tp-blue-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 960px) {
  .tp-form-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tp-form-copy {
    position: static;
    text-align: center;
  }

  .tp-form-copy .tp-lead,
  .tp-form-copy .tp-list {
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .tp-form {
    padding: 24px 20px 28px;
  }

  .tp-field-row {
    grid-template-columns: 1fr;
  }

  .tp-field--full {
    grid-column: span 1;
  }
}

/* ============================================================
   Hero B2B integrado desde hero-b2b.css
   ============================================================ */

/* ============================================================
   Hero B2B — Página Empresas (todoplanes.cl)
   Scoped con prefijo tp-hero-b2b__ para no chocar con Styles.css.
   Puedes mantener este archivo separado o pegar el contenido
   al final de Styles.css — cualquiera de las dos opciones funciona.
   ============================================================ */

/* Grid principal del hero B2B */
.tp-hero-b2b { padding: 0 0 0; position: relative; overflow: hidden; }

.tp-hero-b2b__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: center;
  padding-bottom: 0;
}

/* ── Columna visual (izquierda) ── */
.tp-hero-b2b__visual {
  position: relative;
  aspect-ratio: 2 / 3;
  max-height: 640px;
}

.tp-hero-b2b__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 100%);
}

/* Card flotante base */
.tp-hero-b2b__fcard {
  position: absolute;
  background: #fff;
  border-radius: var(--tp-radius-sm);
  box-shadow: var(--tp-shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

/* Card 1: Acompañamiento profesional (abajo-izquierda, sobresale) */
.tp-hero-b2b__fcard--pro {
  left: -60px;
  bottom: 22%;
}
.tp-hero-b2b__fcard--pro .tp-hero-b2b__fc-tag {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(97, 217, 127, 0.18);
  color: var(--tp-green-dark);
  border-radius: var(--tp-radius-sm);
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.tp-hero-b2b__fcard--pro strong {
  display: block;
  color: var(--tp-blue-navy);
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 2px;
}
.tp-hero-b2b__fcard--pro span {
  display: block;
  color: var(--tp-text-muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

/* Card 2: $0 costo (arriba-derecha) */
.tp-hero-b2b__fcard--zero {
  right: -40px;
  top: 38%;
  min-width: 200px;
  padding: 16px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.tp-hero-b2b__fcard--zero .tp-hero-b2b__fc-check {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 97, 194, 0.08);
  color: var(--tp-blue-bright);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
}
.tp-hero-b2b__fcard--zero .tp-hero-b2b__fc-bars {
  width: 100%;
  display: flex; flex-direction: column; gap: 4px;
  margin: 2px 0 4px;
}
.tp-hero-b2b__fcard--zero .tp-hero-b2b__fc-bars i {
  display: block;
  height: 6px;
  background: var(--tp-bg-soft);
  border-radius: 3px;
}
.tp-hero-b2b__fcard--zero .tp-hero-b2b__fc-bars i:nth-child(1) { width: 80%; }
.tp-hero-b2b__fcard--zero .tp-hero-b2b__fc-bars i:nth-child(2) { width: 60%; }
.tp-hero-b2b__fcard--zero strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tp-blue-navy);
  letter-spacing: -0.02em;
}
.tp-hero-b2b__fcard--zero span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tp-text-muted);
}

/* Círculo con ícono (sobrepuesto al borde inferior) */
.tp-hero-b2b__circle {
  position: absolute;
  bottom: 8%;
  right: -28px;
  width: 56px; height: 56px;
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--tp-shadow-sm);
  color: var(--tp-blue-bright);
}
.tp-hero-b2b__circle svg { width: 26px; height: 26px; }

/* ── Columna copy (derecha) ── */
.tp-hero-b2b__copy { position: relative; z-index: 1; }
.tp-hero-b2b__copy .tp-title { margin-bottom: 1.25rem; }
.tp-hero-b2b__copy .tp-lead { margin-bottom: 2rem; }
.tp-hero-b2b__copy .tp-hero__actions { margin-bottom: 0; }

/* ── Banda oscura inferior ── */
.tp-hero-b2b__band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px;
  background: var(--tp-blue-navy);
  border-radius: var(--tp-radius-md);
  overflow: hidden;
  color: #fff;
  box-shadow: var(--tp-shadow-md);
  margin-bottom: 80px;
}

.tp-hero-b2b__band-main {
  padding: 36px 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tp-hero-b2b__band-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.tp-hero-b2b__band-item h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 14px 0 8px;
  letter-spacing: -0.01em;
}
.tp-hero-b2b__band-item h3 span { color: var(--tp-green); }
.tp-hero-b2b__band-item p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.tp-hero-b2b__band-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: var(--tp-green);
  color: var(--tp-blue-navy);
  border-radius: var(--tp-radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
}

.tp-hero-b2b__band-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  padding-top: 16px;
}
.tp-hero-b2b__stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tp-hero-b2b__stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.tp-hero-b2b__stat-value {
  color: var(--tp-green);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

/* CTA verde lateral */
.tp-hero-b2b__band-cta {
  position: relative;
  background: var(--tp-green);
  color: var(--tp-blue-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--tp-transition);
}
.tp-hero-b2b__band-cta:hover { background: var(--tp-green-dark); }
.tp-hero-b2b__band-cta::before {
  content: 'CTA';
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(36, 51, 76, 0.55);
}
.tp-hero-b2b__band-cta svg { width: 26px; height: 26px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .tp-hero-b2b { padding-top: 0; }
  .tp-hero-b2b__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 48px;
  }
  .tp-hero-b2b__visual {
    max-width: 420px;
    margin-inline: auto;
    aspect-ratio: 2 / 3;
  }
  .tp-hero-b2b__fcard--pro  { left: -20px; }
  .tp-hero-b2b__fcard--zero { right: -20px; }

  .tp-hero-b2b__band {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }
  .tp-hero-b2b__band-main { padding: 28px 24px; gap: 24px; }
  .tp-hero-b2b__band-items {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tp-hero-b2b__band-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .tp-hero-b2b__band-cta {
    min-height: 72px;
  }
  .tp-hero-b2b__band-cta::before { top: 10px; }
}

@media (max-width: 520px) {
  .tp-hero-b2b__fcard { min-width: 180px; padding: 12px 14px; }
  .tp-hero-b2b__fcard--pro  { left: -8px; }
  .tp-hero-b2b__fcard--zero { right: -8px; min-width: 160px; }
  .tp-hero-b2b__fcard--zero strong { font-size: 1.3rem; }
  .tp-hero-b2b__band-stats { grid-template-columns: 1fr; gap: 10px; }
}

/* =============================================================
   Bloques migrados desde \3c style> inline de index.html
   ============================================================= */

/* Simulador: columna de copy + simulador lado a lado */

/* Justificar párrafos de contenido no centrado */
.tp-lead,
.tp-cf-paso__desc,
.tp-text-soft,
.tp-cf-footer__text,
.tp-form-copy .tp-lead {
  text-align: justify;
}

/* =============================================================
   Formulario: campos dinámicos y estados de validación
   ============================================================= */

/* Campo dinámico (edades de cargas, antigüedad isapre).
   Se muestra/oculta vía [hidden]. Animación suave al aparecer. */
.tp-field-dynamic[hidden] { display: none; }
.tp-field-dynamic {
  animation: tp-field-fade-in 0.25s ease-out;
  margin-top: 4px;
}

/* Contenedor de edades de cargas: grid de 2 columnas en desktop,
   1 columna en mobile. Cada hijo es un .tp-field. */
#f-edades-cargas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 600px) {
  #f-edades-cargas { grid-template-columns: 1fr; }
}

/* Grupo de radios (pregunta "¿Lleva más de 1 año en su isapre?") */
.tp-field__radios {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.tp-field__radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--tp-transition), background var(--tp-transition);
  font-size: 0.95rem;
  color: var(--tp-text-main);
  user-select: none;
}

.tp-field__radio:hover {
  border-color: var(--tp-blue-bright);
}

.tp-field__radio input[type="radio"] {
  accent-color: var(--tp-blue-bright);
  margin: 0;
}

.tp-field__radio:has(input[type="radio"]:checked) {
  border-color: var(--tp-blue-bright);
  background: rgba(0, 97, 194, 0.06);
}

/* Estado de error para inputs validados (RUT, teléfono) */
.tp-field__input.is-invalid,
.tp-field__phone:has(.tp-field__input.is-invalid) {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.tp-field__error {
  display: block;
  margin-top: 6px;
  color: #dc2626;
  font-size: 0.8rem;
  line-height: 1.4;
}
.tp-field__error[hidden] { display: none; }

@keyframes tp-field-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =============================================================
   =============================================================
   LANDING ISAPRES — estilos específicos de esta página.
   Agregados al stylesheet global. Reutilizan tokens --tp-*,
   .tp-container, .tp-section, .tp-title, .tp-lead, .tp-eyebrow,
   .tp-button. No redefinen nada previo.
   =============================================================
   ============================================================= */


/* ── Modificador extra de botón (más compacto) ── */
.tp-button--compact {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.85rem;
}


/* ── CTA inline reutilizable dentro de secciones ── */


/* ============================================================
   1. HERO LANDING ISAPRES (.tp-hero-li — no choca con .tp-hero)
   ============================================================ */
.tp-hero-li {
  padding-bottom: 40px;
  position: relative;
}
.tp-hero-li .tp-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  margin-bottom: 1.8rem;
}
.tp-hero-li__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.tp-hero-li__content {
  max-width: 560px;
}
.tp-hero-li__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.tp-hero-li__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.tp-hero-li__trust li {
  font-size: 0.875rem;
  color: var(--tp-text-light);
  position: relative;
  padding-left: 22px;
}
.tp-hero-li__trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--tp-green-dark);
  font-weight: 700;
}

/* ── Visual: imagen + blob + flotantes (replicado desde .tp-hero del home) ── */
.tp-hero-li__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 420px;
}
.tp-hero-li__blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  background: radial-gradient(
    ellipse at 40% 40%,
    rgba(0, 97, 194, 0.10) 0%,
    rgba(97, 217, 127, 0.06) 55%,
    transparent 80%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: tp-blob-morph 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.tp-hero-li__img-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.tp-hero-li__img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.tp-hero-li__float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 10px 16px;
  box-shadow: 0 8px 28px rgba(36, 51, 76, 0.10);
  white-space: nowrap;
  animation: tp-float-idle 4s ease-in-out infinite;
}
.tp-hero-li__float--tl { animation-delay: 0s;   top: 32px;    left: -20px; }
.tp-hero-li__float--tr { animation-delay: 1.4s; top: 80px;    right: -20px; }
.tp-hero-li__float--br { animation-delay: 2.8s; bottom: 52px; right: -16px; padding: 12px 16px; gap: 12px; }

.tp-hero-li__float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tp-hero-li__float-icon--blue  { background: rgba(0, 97, 194, 0.10); color: var(--tp-blue-bright); }
.tp-hero-li__float-icon--green { background: rgba(97, 217, 127, 0.18); color: var(--tp-green-dark); }

.tp-hero-li__float-text { display: flex; flex-direction: column; gap: 1px; }
.tp-hero-li__float-text strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--tp-blue-navy);
  line-height: 1.2;
}
.tp-hero-li__float-text span {
  font-size: 0.7rem;
  color: var(--tp-text-muted);
  font-weight: 500;
}
.tp-hero-li__float-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dce8f5, #b8d0ea);
  border: 2px solid #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(36, 51, 76, 0.12);
}
.tp-hero-li__float-badge { display: flex; align-items: center; justify-content: center; }
.tp-hero-li__float-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tp-green);
  box-shadow: 0 0 0 3px rgba(97, 217, 127, 0.25);
  animation: tp-pulse-dot 2s ease-in-out infinite;
}

/* ── Tarjetas de preguntas (sobre la transición del hero) ── */
.tp-hero-li__questions {
  list-style: none;
  padding: 0;
  /* Negativo arriba: sube las cards hasta el pie del visual del hero. */
  margin: -50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  position: relative;
  z-index: 2;
}
.tp-hero-li__question {
  background: var(--tp-blue-bright);
  color: #fff;
  padding: 28px 24px;
  border-radius: var(--tp-radius-md);
  box-shadow: 0 18px 40px rgba(0, 97, 194, 0.18);
  text-align: center;
  transition: transform var(--tp-transition), box-shadow var(--tp-transition);
}
.tp-hero-li__question:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 97, 194, 0.25);
}
.tp-hero-li__question-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: -0.01em;
}
.tp-hero-li__question-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}


/* ============================================================
   2. MERCADO — lista + donut chart
   ============================================================ */

.tp-mercado__lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tp-mercado__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--tp-bg-main);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-sm);
  cursor: pointer;
  transition: all var(--tp-transition);
}
.tp-mercado__item:hover,
.tp-mercado__item.is-active {
  border-color: var(--tp-blue-bright);
  transform: translateX(4px);
  box-shadow: var(--tp-shadow-sm);
}
.tp-mercado__item-color {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tp-mercado__item-nombre {
  font-weight: 600;
  color: var(--tp-blue-navy);
  flex: 1;
}
.tp-mercado__item-share {
  font-weight: 700;
  color: var(--tp-text-light);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.tp-mercado__slice {
  transition: opacity 0.2s, stroke-width 0.2s;
  cursor: pointer;
}
.tp-mercado__slice.is-dim { opacity: 0.25; }
.tp-mercado__slice.is-focus { stroke-width: 34; }
.tp-mercado__info-nombre {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tp-blue-navy);
  margin-bottom: 8px;
}
.tp-mercado__info-hint {
  color: var(--tp-text-muted);
  font-style: italic;
}


/* ============================================================
   3. ZONAS — mapa esquemático de Chile
   ============================================================ */
.tp-zonas__group {
  fill: var(--tp-border);
  stroke: #fff;
  stroke-width: 0.8;
  cursor: pointer;
  transition: fill 0.25s ease, filter 0.25s ease;
  outline: none;
}
.tp-zonas__group:hover {
  fill: rgba(0, 97, 194, 0.45);
}
.tp-zonas__group.is-active {
  fill: var(--tp-blue-bright);
  filter: drop-shadow(0 0 10px rgba(0, 97, 194, 0.55));
}
.tp-zonas__group:focus-visible {
  stroke: var(--tp-blue-navy);
  stroke-width: 1.8;
}

.tp-zonas__leyenda {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 0.85rem;
  color: var(--tp-text-light);
}
.tp-zonas__leyenda li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color var(--tp-transition);
}
.tp-zonas__leyenda li:hover,
.tp-zonas__leyenda li.is-active {
  color: var(--tp-blue-navy);
  font-weight: 600;
}
.tp-zonas__leyenda li.is-active .tp-zonas__leyenda-dot {
  background: var(--tp-blue-bright);
}
.tp-zonas__chip {
  padding: 8px 14px;
  background: var(--tp-bg-soft);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-pill);
  font-size: 0.875rem;
  color: var(--tp-blue-navy);
  font-weight: 600;
  transition: all var(--tp-transition);
  text-decoration: none;
}
.tp-zonas__chip:hover {
  background: var(--tp-blue-bright);
  color: #fff;
  border-color: var(--tp-blue-bright);
}


/* ============================================================
   4. FORTALEZAS / CONVENIOS / RECLAMOS
   ============================================================ */

.tp-fortalezas__selector {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tp-fortalezas__selector-item {
  padding: 12px 16px;
  border-radius: var(--tp-radius-sm);
  cursor: pointer;
  font-weight: 600;
  color: var(--tp-text-light);
  transition: all var(--tp-transition);
  border-left: 3px solid transparent;
  font-size: 0.95rem;
}
.tp-fortalezas__selector-item:hover {
  background: var(--tp-bg-soft);
  color: var(--tp-blue-navy);
}
.tp-fortalezas__selector-item.is-active {
  background: var(--tp-bg-soft);
  color: var(--tp-blue-bright);
  border-left-color: var(--tp-blue-bright);
}
.tp-fortalezas__tab {
  padding: 10px 18px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 600;
  color: var(--tp-text-light);
  cursor: pointer;
  transition: all var(--tp-transition);
  font-family: inherit;
  font-size: 0.9rem;
}
.tp-fortalezas__tab:hover { color: var(--tp-blue-navy); }
.tp-fortalezas__tab.is-active {
  color: var(--tp-blue-bright);
  border-bottom-color: var(--tp-blue-bright);
}
.tp-fortalezas__tabpanel {
  display: none;
  color: var(--tp-text-light);
  line-height: 1.7;
}
.tp-fortalezas__tabpanel.is-active { display: block; }


/* ============================================================
   5. RANKING — tabla de posiciones filtrable
   ============================================================ */
.tp-ranking__filtro {
  padding: 10px 20px;
  background: var(--tp-bg-main);
  border: 1.5px solid var(--tp-border);
  border-radius: var(--tp-radius-pill);
  font-weight: 600;
  color: var(--tp-text-light);
  cursor: pointer;
  transition: all var(--tp-transition);
  font-family: inherit;
  font-size: 0.875rem;
}
.tp-ranking__filtro:hover {
  border-color: var(--tp-blue-bright);
  color: var(--tp-blue-bright);
}
.tp-ranking__filtro.is-active {
  background: var(--tp-blue-bright);
  color: #fff;
  border-color: var(--tp-blue-bright);
}
.tp-ranking__fila {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  background: var(--tp-bg-main);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow var(--tp-transition);
}
.tp-ranking__fila:hover { box-shadow: var(--tp-shadow-md); }
.tp-ranking__pos {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--tp-blue-bright);
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.tp-ranking__fila:first-child .tp-ranking__pos { color: var(--tp-green-dark); }
.tp-ranking__nombre {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tp-blue-navy);
}
.tp-ranking__score {
  display: flex;
  gap: 3px;
}
.tp-ranking__score-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tp-border);
}
.tp-ranking__score-dot.is-on { background: var(--tp-green); }


/* ============================================================
   6. FAQ (usa <details> nativo)
   ============================================================ */


/* ============================================================
   7. CIERRE
   ============================================================ */


/* ============================================================
   RESPONSIVE — Landing Isapres
   ============================================================ */
@media (max-width: 960px) {
  .tp-hero-li__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tp-hero-li__visual { order: -1; min-height: 360px; }
  .tp-hero-li__questions {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-top: 24px; /* en mobile no hay overlap: el visual queda arriba */
  }
  .tp-hero-li { padding-bottom: 40px; }
  .tp-fortalezas__selector {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .tp-fortalezas__selector-item {
    flex-shrink: 0;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .tp-fortalezas__selector-item.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--tp-blue-bright);
  }

  .tp-ranking__fila {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
  .tp-ranking__score,
  .tp-ranking__fila .tp-button { grid-column: 2; }
}

@media (max-width: 600px) {
  .tp-hero-li__cta { flex-direction: column; }
  .tp-hero-li__cta .tp-button { width: 100%; }
  .tp-fortalezas__tab { flex-shrink: 0; }
}

/* ============================================================
   ============ FIN — LANDING ISAPRES =========================
   ============================================================ */


/* ============================================================
   OVERRIDES — Solo para landing /cotizar-planes-banmedica
   Brand color: rojo Banmédica #E80729 (extraído del logo oficial).
   Se activa con <body class="tp-page-banmedica">.
   No afecta al resto del sitio.
   ============================================================ */

/* Palabra "Banmédica" destacada en titulares */
.tp-page-banmedica .tp-title span {
  color: #E80729;
}

/* Botón primario (CTA "Cotizar mi plan Banmédica" y similares) */
.tp-page-banmedica .tp-button--primary {
  background: #E80729;
}
.tp-page-banmedica .tp-button--primary:hover {
  background: #C00521;
  box-shadow: 0 8px 24px rgba(232, 7, 41, 0.30);
}

/* Botón CTA del navbar ("Cotizar Banmédica") */
.tp-page-banmedica .tp-button--cta {
  background: #E80729;
}
.tp-page-banmedica .tp-button--cta:hover {
  background: #C00521;
  box-shadow: 0 6px 18px rgba(232, 7, 41, 0.30);
}

/* Iconos circulares (sección "Por qué Banmédica") */


/* ============================================================
   OVERRIDES — Solo para landing /cotizar-planes-nuevamasvida
   Brand color: azul Nueva Masvida #0081C5 (extraído del logo oficial).
   Se activa con <body class="tp-page-nuevamasvida">.
   No afecta al resto del sitio.
   ============================================================ */

/* Palabra "Nueva Masvida" destacada en titulares */
.tp-page-nuevamasvida .tp-title span {
  color: #0081C5;
}

/* Botón primario (CTA "Cotizar mi plan Nueva Masvida" y similares) */
.tp-page-nuevamasvida .tp-button--primary {
  background: #0081C5;
}
.tp-page-nuevamasvida .tp-button--primary:hover {
  background: #005E91;
  box-shadow: 0 8px 24px rgba(0, 129, 197, 0.30);
}

/* Botón CTA del navbar ("Cotizar Nueva Masvida") */
.tp-page-nuevamasvida .tp-button--cta {
  background: #0081C5;
}
.tp-page-nuevamasvida .tp-button--cta:hover {
  background: #005E91;
  box-shadow: 0 6px 18px rgba(0, 129, 197, 0.30);
}

/* Iconos circulares (sección "Por qué Nueva Masvida") */


/* ============================================================
   OVERRIDES — Solo para landing /cotizar-planes-colmena
   Brand color: azul Colmena #0074C9 (extraído del logo oficial).
   Se activa con <body class="tp-page-colmena">.
   No afecta al resto del sitio.
   ============================================================ */

/* Palabra "Colmena" destacada en titulares */
.tp-page-colmena .tp-title span {
  color: #0074C9;
}

/* Botón primario (CTA "Cotizar mi plan Colmena" y similares) */
.tp-page-colmena .tp-button--primary {
  background: #0074C9;
}
.tp-page-colmena .tp-button--primary:hover {
  background: #005A9E;
  box-shadow: 0 8px 24px rgba(0, 116, 201, 0.30);
}

/* Botón CTA del navbar ("Cotizar Colmena") */
.tp-page-colmena .tp-button--cta {
  background: #0074C9;
}
.tp-page-colmena .tp-button--cta:hover {
  background: #005A9E;
  box-shadow: 0 6px 18px rgba(0, 116, 201, 0.30);
}

/* Iconos circulares (sección "Por qué Colmena") */


/* ============================================================
   OVERRIDES — Solo para landing /cotizar-planes-consalud
   Brand color: teal Consalud #00A19C (extraído del logo oficial).
   Se activa con <body class="tp-page-consalud">.
   No afecta al resto del sitio.
   ============================================================ */

/* Palabra "Consalud" destacada en titulares */
.tp-page-consalud .tp-title span {
  color: #00A19C;
}

/* Botón primario (CTA "Cotizar mi plan Consalud" y similares) */
.tp-page-consalud .tp-button--primary {
  background: #00A19C;
}
.tp-page-consalud .tp-button--primary:hover {
  background: #007A76;
  box-shadow: 0 8px 24px rgba(0, 161, 156, 0.30);
}

/* Botón CTA del navbar ("Cotizar Consalud") */
.tp-page-consalud .tp-button--cta {
  background: #00A19C;
}
.tp-page-consalud .tp-button--cta:hover {
  background: #007A76;
  box-shadow: 0 6px 18px rgba(0, 161, 156, 0.30);
}

/* Iconos circulares (sección "Por qué Consalud") */


/* ============================================================
   OVERRIDES — Solo para landing /cotizar-planes-cruz-blanca
   Brand color: azul Cruz Blanca #007AC9 (extraído del logo oficial).
   Se activa con <body class="tp-page-cruzblanca">.
   No afecta al resto del sitio.
   ============================================================ */

/* Palabra "Cruz Blanca" destacada en titulares */
.tp-page-cruzblanca .tp-title span {
  color: #007AC9;
}

/* Botón primario (CTA "Cotizar mi plan Cruz Blanca" y similares) */
.tp-page-cruzblanca .tp-button--primary {
  background: #007AC9;
}
.tp-page-cruzblanca .tp-button--primary:hover {
  background: #005A99;
  box-shadow: 0 8px 24px rgba(0, 122, 201, 0.30);
}

/* Botón CTA del navbar ("Cotizar Cruz Blanca") */
.tp-page-cruzblanca .tp-button--cta {
  background: #007AC9;
}
.tp-page-cruzblanca .tp-button--cta:hover {
  background: #005A99;
  box-shadow: 0 6px 18px rgba(0, 122, 201, 0.30);
}

/* Iconos circulares (sección "Por qué Cruz Blanca") */


/* ============================================================
   OVERRIDES — Solo para landing /cotizar-planes-esencial
   Brand color: teal Esencial #03A399 (extraído del wordmark del logo).
   Se activa con <body class="tp-page-esencial">.
   No afecta al resto del sitio.
   ============================================================ */

/* Palabra "Esencial" destacada en titulares */
.tp-page-esencial .tp-title span {
  color: #03A399;
}

/* Botón primario (CTA "Cotizar mi plan Esencial" y similares) */
.tp-page-esencial .tp-button--primary {
  background: #03A399;
}
.tp-page-esencial .tp-button--primary:hover {
  background: #027F76;
  box-shadow: 0 8px 24px rgba(3, 163, 153, 0.30);
}

/* Botón CTA del navbar ("Cotizar Esencial") */
.tp-page-esencial .tp-button--cta {
  background: #03A399;
}
.tp-page-esencial .tp-button--cta:hover {
  background: #027F76;
  box-shadow: 0 6px 18px rgba(3, 163, 153, 0.30);
}

/* Iconos circulares (sección "Por qué Esencial") */


/* ============================================================
   OVERRIDES — Solo para landing /cotizar-planes-vidatres
   Brand color: navy Vida Tres #243F8E (extraído del wordmark del logo).
   Se activa con <body class="tp-page-vidatres">.
   No afecta al resto del sitio.
   ============================================================ */

/* Palabra "Vida Tres" destacada en titulares */
.tp-page-vidatres .tp-title span {
  color: #243F8E;
}

/* Botón primario (CTA "Cotizar mi plan Vida Tres" y similares) */
.tp-page-vidatres .tp-button--primary {
  background: #243F8E;
}
.tp-page-vidatres .tp-button--primary:hover {
  background: #1A2E66;
  box-shadow: 0 8px 24px rgba(36, 63, 142, 0.30);
}

/* Botón CTA del navbar ("Cotizar Vida Tres") */
.tp-page-vidatres .tp-button--cta {
  background: #243F8E;
}
.tp-page-vidatres .tp-button--cta:hover {
  background: #1A2E66;
  box-shadow: 0 6px 18px rgba(36, 63, 142, 0.30);
}

/* Iconos circulares (sección "Por qué Vida Tres") */

/* ====================================================================
   ====================================================================
   SISTEMA DE DISEÑO D1 v2 — SESIÓN 2026-05-04
   Aplica a las 7 landings de marca con su color brand respectivo.
   Las clases nuevas (tp-hero__, tp-stats__, tp-plan, etc.) son
   adicionales al sistema base. Los overrides scopados a .tp-page-X
   refuerzan la identidad cromática por marca.
   ==================================================================== */

/* Tokens v2 (extiende los existentes) */
:root {
  --tp-v2-shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06);
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(232, 7, 41, 0.12);
  --tp-v2-shadow-lg: 0 12px 32px rgba(0, 97, 194, 0.16);
  --tp-v2-r-md: 12px;
  --tp-v2-r-lg: 16px;
  --tp-v2-r-xl: 24px;
  --tp-v2-r-pill: 999px;
}

/* Hero 2 columnas */
.tp-hero {
  background:
    radial-gradient(circle at 20% 100%, var(--tp-blue-50, #f4f9fe), transparent 50%),
    radial-gradient(circle at 100% 0%, var(--bm-red-50, #fef4f6), transparent 40%),
    #ffffff;
  padding: 64px 0 80px;
  overflow: hidden;
}
.tp-page-banmedica .tp-hero { --bm-red-50: #fef4f6; --tp-blue-50: #f4f9fe; }

.tp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.tp-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fde8eb; color: #c00521;
  padding: 8px 16px; border-radius: var(--tp-v2-r-pill);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
  margin-bottom: 24px;
}
.tp-hero__badge svg { width: 14px; height: 14px; }

.tp-hero__title {
  font-size: 56px; font-weight: 800;
  line-height: 1.05; letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0 0 24px;
}
.tp-hero__title span { color: #E80729; }

.tp-hero__lead {
  font-size: 20px; line-height: 1.55;
  color: #475569; margin: 0 0 32px; max-width: 520px;
}

.tp-hero__trust {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 20px;
  color: #334155; font-size: 14px; font-weight: 500;
}
.tp-hero__trust-item { display: inline-flex; align-items: center; gap: 6px; }
.tp-hero__trust-item svg { width: 16px; height: 16px; color: #16a34a; flex-shrink: 0; }

.tp-hero__visual { position: relative; height: 580px; }
.tp-hero__photo {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #e6f1fb, #f4f9fe);
  border-radius: var(--tp-v2-r-xl);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.tp-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.tp-hero__photo svg { width: 200px; height: 200px; color: #0061c2; opacity: 0.4; }
.tp-hero__photo-label {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.92); color: #334155;
  padding: 6px 12px; border-radius: var(--tp-v2-r-md);
  font-size: 12px; font-weight: 500;
}

.tp-hero__card {
  position: absolute;
  background: #ffffff;
  border-radius: var(--tp-v2-r-lg);
  box-shadow: var(--tp-v2-shadow-lg);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px; z-index: 2;
}
.tp-hero__card-icon {
  width: 44px; height: 44px;
  background: #fde8eb;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #E80729; flex-shrink: 0;
}
.tp-hero__card-icon svg { width: 22px; height: 22px; }
.tp-hero__card-text { line-height: 1.2; }
.tp-hero__card-number {
  font-size: 22px; font-weight: 800;
  color: #0f172a; letter-spacing: -0.02em;
}
.tp-hero__card-label { font-size: 12px; color: #475569; font-weight: 500; }
.tp-hero__card--1 { top: 40px; left: -32px; }
.tp-hero__card--2 { top: 220px; right: -24px; }
.tp-hero__card--3 { bottom: 50px; left: -20px; }

/* Botón primario v2 con sombra colored — override scopado por marca */
.tp-page-banmedica .tp-button--primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(232, 7, 41, 0.35);
  transition: all .2s ease;
}
.tp-page-banmedica .tp-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 7, 41, 0.45);
}
.tp-page-banmedica .tp-button--primary svg {
  width: 20px; height: 20px;
  transition: transform .2s;
}
.tp-page-banmedica .tp-button--primary:hover svg { transform: translateX(3px); }

/* Stats row blanca */
.tp-stats {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 48px 0;
}
.tp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.tp-stat-item { padding: 0 16px; border-right: 1px solid #e2e8f0; }
.tp-stat-item:last-child { border-right: none; }
.tp-stat-item__number {
  font-size: 48px; font-weight: 800;
  line-height: 1; letter-spacing: -0.03em;
  color: #0061c2; margin-bottom: 8px;
}
.tp-stat-item__number--accent { color: #E80729; }
.tp-stat-item__label {
  font-size: 13px; font-weight: 600;
  color: #475569;
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* Eyebrow para sections */
.tp-section-eyebrow {
  display: inline-block;
  background: #fde8eb; color: #c00521;
  padding: 6px 14px; border-radius: var(--tp-v2-r-pill);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 16px;
}
.tp-section-header {
  text-align: center; max-width: 720px;
  margin: 0 auto 48px;
}

/* Cards de fortalezas v2 con hover */
.tp-card-v2 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--tp-v2-r-lg);
  padding: 32px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  height: 100%;
}
.tp-card-v2:hover {
  transform: translateY(-2px);
  box-shadow: var(--tp-v2-shadow-card-hover);
  border-color: #fde8eb;
}
.tp-card-v2__icon {
  width: 56px; height: 56px;
  background: #fde8eb;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #E80729;
  margin-bottom: 20px;
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.02em;
}
.tp-card-v2__icon svg { width: 28px; height: 28px; }
.tp-card-v2__title {
  font-size: 18px; font-weight: 700;
  margin: 0 0 12px;
  color: #0f172a;
}
.tp-card-v2__text {
  font-size: 15px; color: #475569;
  line-height: 1.55; margin: 0;
}

/* Red de clínicas */
.tp-clinics-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--tp-v2-r-xl);
  padding: 40px;
  box-shadow: var(--tp-v2-shadow-card);
  max-width: 1200px;
  margin: 0 auto;
}
.tp-region-block { margin-bottom: 32px; }
.tp-region-block:last-child { margin-bottom: 0; }
.tp-region-block__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: #c00521;
  margin-bottom: 16px;
}
.tp-region-block__title::before {
  content: ''; width: 24px; height: 2px;
  background: #E80729;
}
.tp-chip-row {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.tp-chip-v2 {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 10px 16px;
  border-radius: var(--tp-v2-r-pill);
  font-size: 14px; font-weight: 500;
}
.tp-chip-v2 svg { width: 14px; height: 14px; color: #E80729; }

/* Comparativa de planes */
.tp-plan-card-v2 {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--tp-v2-r-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.tp-plan-card-v2:hover {
  transform: translateY(-3px);
  border-color: #fde8eb;
  box-shadow: var(--tp-v2-shadow-card-hover);
}
.tp-plan-card-v2__name {
  font-size: 18px; font-weight: 700;
  color: #0f172a; margin: 0 0 12px;
}
.tp-plan-card-v2__price {
  font-size: 26px; font-weight: 800;
  color: #E80729; letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.tp-plan-card-v2__caption {
  display: inline-block;
  background: #e6f1fb; color: #0061c2;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--tp-v2-r-pill);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.tp-plan-card-v2__text {
  font-size: 14px; color: #475569;
  line-height: 1.55; margin: 0;
}
.tp-plan-disclaimer {
  margin-top: 24px;
  padding: 16px;
  background: #f8fafc;
  border-left: 3px solid #cbd5e1;
  font-size: 13px; color: #475569;
  line-height: 1.5;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Steps cómo cotizar */
.tp-steps-v2 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 1100px; margin: 0 auto;
}
.tp-step-v2 { text-align: center; padding: 24px; }
.tp-step-v2__num {
  width: 64px; height: 64px;
  background: #E80729; color: #ffffff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 6px 16px rgba(232, 7, 41, 0.25);
}
.tp-step-v2__title {
  font-size: 19px; font-weight: 700;
  margin: 0 0 12px;
}
.tp-step-v2__text {
  font-size: 15px; color: #475569;
  line-height: 1.55; margin: 0;
}

/* Banner brecha */
.tp-banner-v2 {
  background: linear-gradient(135deg, #E80729, #b00420);
  color: #ffffff;
  border-radius: var(--tp-v2-r-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}
.tp-banner-v2::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.tp-banner-v2::after {
  content: ''; position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.tp-banner-v2 > * { position: relative; z-index: 1; }
.tp-banner-v2 h2 {
  font-size: 38px; font-weight: 700;
  color: #ffffff; line-height: 1.2;
  max-width: 720px; margin: 0 auto 20px;
}
.tp-banner-v2 p {
  font-size: 18px; line-height: 1.6;
  color: rgba(255,255,255,0.92);
  max-width: 720px; margin: 0 auto 20px;
}
.tp-banner-v2 .tp-button--inverted {
  display: inline-flex; align-items: center; gap: 10px;
  background: #ffffff; color: #c00521;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  text-decoration: none;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all .2s ease;
}
.tp-banner-v2 .tp-button--inverted:hover {
  background: #f8fafc; color: #b00420;
  transform: translateY(-1px);
}
.tp-banner-v2 .tp-button--inverted svg {
  width: 20px; height: 20px;
  transition: transform .2s;
}
.tp-banner-v2 .tp-button--inverted:hover svg { transform: translateX(3px); }

/* Diferenciador split */
.tp-split-v2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.tp-bullet-list-v2 {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 16px;
}
.tp-bullet-list-v2 li {
  display: flex; gap: 12px;
  font-size: 16px; line-height: 1.55;
  color: #334155;
}
.tp-bullet-list-v2 li::before {
  content: ''; flex-shrink: 0;
  width: 24px; height: 24px;
  background: #fde8eb;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E80729' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-position: center; background-size: 14px;
  background-repeat: no-repeat;
  margin-top: 2px;
}
.tp-asesor-card {
  background: linear-gradient(135deg, #e6f1fb, #f4f9fe);
  border-radius: var(--tp-v2-r-xl);
  padding: 40px;
  text-align: center;
  height: 480px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
}
.tp-asesor-card__photo {
  width: 180px; height: 180px;
  background: #ffffff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #0061c2;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
}
.tp-asesor-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.tp-asesor-card__photo svg { width: 80px; height: 80px; opacity: 0.5; }
.tp-asesor-card__name {
  font-size: 22px; font-weight: 700;
  color: #0f172a; margin: 0 0 4px;
}
.tp-asesor-card__role {
  font-size: 14px; color: #475569;
  margin: 0 0 12px;
}
.tp-asesor-card__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff; color: #E80729;
  padding: 6px 14px; border-radius: var(--tp-v2-r-pill);
  font-size: 13px; font-weight: 600;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* Testimoniales */
.tp-testimonial-v2 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--tp-v2-r-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  height: 100%;
}
.tp-testimonial-v2__stars {
  display: flex; gap: 2px;
  margin-bottom: 16px;
}
.tp-testimonial-v2__stars svg {
  width: 18px; height: 18px;
  color: #facc15; fill: currentColor;
}
.tp-testimonial-v2__text {
  font-size: 16px; color: #334155;
  line-height: 1.65; margin: 0 0 24px;
  flex: 1;
}
.tp-testimonial-v2__person {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}
.tp-testimonial-v2__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E80729, #b00420);
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.tp-testimonial-v2__name {
  font-weight: 600; font-size: 15px;
  color: #0f172a;
}
.tp-testimonial-v2__detail {
  font-size: 13px; color: #64748b;
}
.tp-google-reviews-link {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 40px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--tp-v2-r-md);
  text-decoration: none;
  max-width: 380px;
  margin-left: auto; margin-right: auto;
  transition: border-color .2s;
}
.tp-google-reviews-link:hover { border-color: #fde8eb; }
.tp-google-reviews-link__text { line-height: 1.3; }
.tp-google-reviews-link__title {
  font-size: 14px; font-weight: 600; color: #0f172a;
}
.tp-google-reviews-link__sub {
  font-size: 12px; color: #475569;
}

/* FAQ accordion v2 */
.tp-faq-v2-wrap { max-width: 760px; margin: 0 auto; }
.tp-faq-v2 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--tp-v2-r-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.tp-faq-v2[open] { border-color: #fde8eb; }
.tp-faq-v2 summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-size: 16px; font-weight: 600;
  color: #0f172a;
  transition: background .15s;
}
.tp-faq-v2 summary::-webkit-details-marker { display: none; }
.tp-faq-v2 summary::after {
  content: '';
  width: 12px; height: 12px;
  border-right: 2px solid #E80729;
  border-bottom: 2px solid #E80729;
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
}
.tp-faq-v2[open] summary::after { transform: rotate(-135deg); }
.tp-faq-v2 summary:hover { background: #fef4f6; }
.tp-faq-v2__answer {
  padding: 0 24px 20px;
  font-size: 15px; color: #475569;
  line-height: 1.65;
}

/* Form v2 — refinement scopado a Banmédica */
.tp-page-banmedica .tp-form__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(232, 7, 41, 0.35);
  transition: all .2s ease;
}
.tp-page-banmedica .tp-form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 7, 41, 0.45);
}
.tp-page-banmedica .tp-form__btn svg { width: 20px; height: 20px; }

/* Honeypot — hidden but accessible */
.tp-honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* Back-to-top v2 — base usa azul navy del proyecto (matchea botón hero).
   Cada marca define su propio override más abajo (líneas 5500-6344).
   Banmédica también tiene su override (no usaba la base por error). */
.tp-back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  background: var(--tp-blue-navy); color: #ffffff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(36, 51, 76, 0.35);
  text-decoration: none;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
  z-index: 40;
}
.tp-back-to-top svg { width: 22px; height: 22px; }
.tp-back-to-top.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.tp-back-to-top:hover {
  background: #1a2536;
  transform: translateY(-2px);
}

/* Override Banmédica: mantiene el rojo de marca */
.tp-page-banmedica .tp-back-to-top {
  background: #E80729;
  box-shadow: 0 4px 14px rgba(232, 7, 41, 0.35);
}
.tp-page-banmedica .tp-back-to-top:hover {
  background: #c00521;
}

/* Footer 4 columnas */
.tp-footer__grid--4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* ============= RESPONSIVE v2 ============= */
@media (max-width: 980px) {
  .tp-hero { padding: 40px 0 48px; }
  .tp-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .tp-hero__title { font-size: 36px; }
  .tp-hero__lead { font-size: 17px; }
  .tp-page-banmedica .tp-button--primary,
  .tp-page-banmedica .tp-form__btn { width: 100%; justify-content: center; }
  .tp-hero__visual { height: 380px; }
  .tp-hero__card--1 { top: 16px; left: 8px; }
  .tp-hero__card--2 { top: 140px; right: 8px; }
  .tp-hero__card--3 { bottom: 16px; left: 8px; }
  .tp-hero__card-number { font-size: 18px; }
  .tp-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .tp-stat-item { border-right: none; border-bottom: 1px solid #e2e8f0; padding-bottom: 24px; }
  .tp-stat-item:nth-child(3), .tp-stat-item:nth-child(4) { padding-bottom: 0; border-bottom: none; }
  .tp-stat-item__number { font-size: 36px; }
  .tp-steps-v2 { grid-template-columns: 1fr; }
  .tp-banner-v2 { padding: 48px 24px; }
  .tp-banner-v2 h2 { font-size: 28px; }
  .tp-split-v2 { grid-template-columns: 1fr; gap: 32px; }
  .tp-footer__grid--4col { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .tp-hero__title { font-size: 30px; }
  .tp-hero__visual { height: 320px; }
  .tp-clinics-card { padding: 24px; }
  .tp-footer__grid--4col { grid-template-columns: 1fr; }
  .tp-back-to-top { bottom: 16px; right: 16px; width: 44px; height: 44px; }
}

/* ====================================================================
   FIN — SISTEMA DE DISEÑO D1 v2
   ==================================================================== */


/* ====================================================================
   FIXES POST-APLICACIÓN BANMÉDICA
   ==================================================================== */

/* 1) Mobile: ocultar CTA del navbar (el burger tiene todas las opciones) */
@media (max-width: 860px) {
  .tp-navbar__actions .tp-button--cta { display: none; }
}

/* 2) Form-wrap necesita position: relative para que el honeypot quede
   absolute relativo al form y no escape al body causando overflow */
.tp-form-wrap { position: relative; }

/* 3) Cloudflare Turnstile widget: que NO exceda el ancho del form en mobile */
.cf-turnstile {
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* 4) Asegurar overflow horizontal limpio en root para que ningún elemento
   posicionado absoluto cause scroll horizontal */
html, body { overflow-x: hidden; }

/* 5) Form: word-wrap en inputs para emails/comentarios largos */
.tp-form input, .tp-form textarea, .tp-form select {
  max-width: 100%;
  box-sizing: border-box;
}


/* ====================================================================
   FIX EXTRA: overflow horizontal en .tp-form-copy y bullet lists v2
   Causa: <li> con display:flex y texto suelto NO wrappea por default,
   empuja el ancho del flex container más allá del padre.
   ==================================================================== */

/* Bullet list v2: permitir que el texto del li wrappee dentro del flex */
.tp-bullet-list-v2 li {
  align-items: flex-start;
  min-width: 0;
}

/* Word break para títulos largos en mobile */
.tp-form-copy .tp-title,
.tp-section-header h2,
.tp-hero__title {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: manual;
}

/* Form-copy en mobile: alinear elementos al ancho disponible */
@media (max-width: 960px) {
  .tp-form-copy {
    text-align: left; /* sobreescribe el text-align: center del CSS original que afectaba la lectura de bullets */
  }
  .tp-form-copy .tp-bullet-list-v2 {
    text-align: left;
  }
  /* Defensa: que ningún hijo del form-copy exceda el contenedor */
  .tp-form-copy > * {
    max-width: 100%;
  }
}

/* Asegurar que todas las sections de la landing v2 contengan su contenido */
.tp-page-banmedica section { max-width: 100vw; overflow-x: clip; }

/* Fix adicional: el honeypot está dentro de .tp-form, no de .tp-form-wrap */
.tp-form { position: relative; }

/* ====================================================================
   FIX RAÍZ DEL OVERFLOW: bug de CSS Grid `1fr` que expande la columna
   más allá del contenedor cuando algún hijo tiene min-content grande.
   `minmax(0, 1fr)` fuerza que la columna se reduzca al espacio disponible.
   ==================================================================== */
@media (max-width: 960px) {
  .tp-form-layout { grid-template-columns: minmax(0, 1fr); }
}
.tp-form-copy, .tp-form-wrap { min-width: 0; }


/* ====================================================================
   SISTEMA D1 v2 — OVERRIDES PARA CRUZ BLANCA
   ====================================================================
   Brand: azul Cruz Blanca #007AC9 / hover #005A99 (extraído del logo).
   Activado por <body class="tp-page-cruzblanca">.

   ANEXAR este bloque al final de assets/css/styles.css
   (después del bloque "FIX RAÍZ DEL OVERFLOW" de Banmédica v2).
   ==================================================================== */

/* Hero */
.tp-page-cruzblanca .tp-hero {
  background:
    radial-gradient(circle at 20% 100%, #f0f8fd, transparent 50%),
    radial-gradient(circle at 100% 0%, #e6f4fc, transparent 40%),
    #ffffff;
}
.tp-page-cruzblanca .tp-hero__badge {
  background: #dbeefb; color: #005A99;
}
.tp-page-cruzblanca .tp-hero__title span { color: #007AC9; }
.tp-page-cruzblanca .tp-hero__photo svg { color: #007AC9; }
.tp-page-cruzblanca .tp-hero__card-icon {
  background: #dbeefb; color: #007AC9;
}

/* Botón primario v2 con sombra azul */
.tp-page-cruzblanca .tp-button--primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(0, 122, 201, 0.35);
  transition: all .2s ease;
}
.tp-page-cruzblanca .tp-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 122, 201, 0.45);
}
.tp-page-cruzblanca .tp-button--primary svg {
  width: 20px; height: 20px;
  transition: transform .2s;
}
.tp-page-cruzblanca .tp-button--primary:hover svg { transform: translateX(3px); }

/* Stats row */
.tp-page-cruzblanca .tp-stat-item__number { color: #007AC9; }
.tp-page-cruzblanca .tp-stat-item__number--accent { color: #005A99; }

/* Eyebrow para sections */
.tp-page-cruzblanca .tp-section-eyebrow {
  background: #dbeefb; color: #005A99;
}

/* Cards de fortalezas v2 — fix shadow hover (rojizo en base v2) */
.tp-page-cruzblanca .tp-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(0, 122, 201, 0.12);
}
.tp-page-cruzblanca .tp-card-v2:hover { border-color: #dbeefb; }
.tp-page-cruzblanca .tp-card-v2__icon {
  background: #dbeefb; color: #007AC9;
}

/* Plan card v2 — fix shadow hover */
.tp-page-cruzblanca .tp-plan-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(0, 122, 201, 0.12);
}
.tp-page-cruzblanca .tp-plan-card-v2:hover { border-color: #dbeefb; }
.tp-page-cruzblanca .tp-plan-card-v2__price { color: #007AC9; }
.tp-page-cruzblanca .tp-plan-card-v2__caption {
  background: #dbeefb; color: #005A99;
}

/* Región title + chips */
.tp-page-cruzblanca .tp-region-block__title { color: #005A99; }
.tp-page-cruzblanca .tp-region-block__title::before { background: #007AC9; }
.tp-page-cruzblanca .tp-chip-v2 svg { color: #007AC9; }

/* Steps cómo cotizar */
.tp-page-cruzblanca .tp-step-v2__num {
  background: #007AC9;
  box-shadow: 0 6px 16px rgba(0, 122, 201, 0.25);
}

/* Banner brecha */
.tp-page-cruzblanca .tp-banner-v2 {
  background: linear-gradient(135deg, #007AC9, #004A80);
}
.tp-page-cruzblanca .tp-banner-v2 .tp-button--inverted { color: #005A99; }
.tp-page-cruzblanca .tp-banner-v2 .tp-button--inverted:hover { color: #004A80; }

/* Bullet list v2 — checkmarks */
.tp-page-cruzblanca .tp-bullet-list-v2 li::before {
  background: #dbeefb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007AC9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-position: center; background-size: 14px;
  background-repeat: no-repeat;
}

/* Asesor card */
.tp-page-cruzblanca .tp-asesor-card__photo { color: #007AC9; }
.tp-page-cruzblanca .tp-asesor-card__badge { color: #007AC9; }

/* Testimoniales — avatar */
.tp-page-cruzblanca .tp-testimonial-v2__avatar {
  background: linear-gradient(135deg, #007AC9, #004A80);
}
.tp-page-cruzblanca .tp-google-reviews-link:hover { border-color: #dbeefb; }

/* FAQ accordion v2 */
.tp-page-cruzblanca .tp-faq-v2[open] { border-color: #dbeefb; }
.tp-page-cruzblanca .tp-faq-v2 summary::after {
  border-right: 2px solid #007AC9;
  border-bottom: 2px solid #007AC9;
}
.tp-page-cruzblanca .tp-faq-v2 summary:hover { background: #f0f8fd; }

/* Form v2 */
.tp-page-cruzblanca .tp-form__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(0, 122, 201, 0.35);
  transition: all .2s ease;
}
.tp-page-cruzblanca .tp-form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 122, 201, 0.45);
}
.tp-page-cruzblanca .tp-form__btn svg { width: 20px; height: 20px; }

/* Back-to-top */
.tp-page-cruzblanca .tp-back-to-top {
  background: #007AC9;
  box-shadow: 0 4px 14px rgba(0, 122, 201, 0.35);
}
.tp-page-cruzblanca .tp-back-to-top:hover { background: #005A99; }

/* Responsive — botones full width mobile */
@media (max-width: 980px) {
  .tp-page-cruzblanca .tp-button--primary,
  .tp-page-cruzblanca .tp-form__btn { width: 100%; justify-content: center; }
}

/* Fix raíz overflow horizontal */
.tp-page-cruzblanca section { max-width: 100vw; overflow-x: clip; }


/* ====================================================================
   FIX RAÍZ — HERO MOBILE GRID OVERFLOW
   ====================================================================
   Mismo bug ya documentado para .tp-form-layout: `grid-template-columns:
   1fr` se interpreta como `minmax(auto, 1fr)` y permite que el contenido
   con min-content grande expanda la columna fuera del padre.
   Extender el patrón ya validado al hero. Aplica sin scope: el fix es
   estructural del sistema D1 v2, no específico de Cruz Blanca, y previene
   regresiones futuras en cualquier marca.
   ==================================================================== */
@media (max-width: 1024px) {
  .tp-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .tp-hero__copy, .tp-hero__visual { max-width: 100%; }
}
.tp-hero__copy, .tp-hero__visual { min-width: 0; }

/* ====================================================================
   FIN — OVERRIDES CRUZ BLANCA
   ==================================================================== */

/* ====================================================================
   SISTEMA D1 v2 — OVERRIDES PARA COLMENA
   ====================================================================
   Brand: azul Colmena #0074C9 / hover #005A9E (extraído del logo).
   Activado por <body class="tp-page-colmena">.

   ANEXAR este bloque al final de assets/css/styles.css
   (después del bloque de overrides Cruz Blanca).
   ==================================================================== */

/* Hero */
.tp-page-colmena .tp-hero {
  background:
    radial-gradient(circle at 20% 100%, #f0f7fd, transparent 50%),
    radial-gradient(circle at 100% 0%, #e6f3fc, transparent 40%),
    #ffffff;
}
.tp-page-colmena .tp-hero__badge {
  background: #dceffb; color: #005A9E;
}
.tp-page-colmena .tp-hero__title span { color: #0074C9; }
.tp-page-colmena .tp-hero__photo svg { color: #0074C9; }
.tp-page-colmena .tp-hero__card-icon {
  background: #dceffb; color: #0074C9;
}

/* Botón primario v2 con sombra azul */
.tp-page-colmena .tp-button--primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(0, 116, 201, 0.35);
  transition: all .2s ease;
}
.tp-page-colmena .tp-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 116, 201, 0.45);
}
.tp-page-colmena .tp-button--primary svg {
  width: 20px; height: 20px;
  transition: transform .2s;
}
.tp-page-colmena .tp-button--primary:hover svg { transform: translateX(3px); }

/* Stats row */
.tp-page-colmena .tp-stat-item__number { color: #0074C9; }
.tp-page-colmena .tp-stat-item__number--accent { color: #005A9E; }

/* Eyebrow para sections */
.tp-page-colmena .tp-section-eyebrow {
  background: #dceffb; color: #005A9E;
}

/* Cards de fortalezas v2 — fix shadow hover (rojizo en base v2) */
.tp-page-colmena .tp-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(0, 116, 201, 0.12);
}
.tp-page-colmena .tp-card-v2:hover { border-color: #dceffb; }
.tp-page-colmena .tp-card-v2__icon {
  background: #dceffb; color: #0074C9;
}

/* Plan card v2 — fix shadow hover */
.tp-page-colmena .tp-plan-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(0, 116, 201, 0.12);
}
.tp-page-colmena .tp-plan-card-v2:hover { border-color: #dceffb; }
.tp-page-colmena .tp-plan-card-v2__price { color: #0074C9; }
.tp-page-colmena .tp-plan-card-v2__caption {
  background: #dceffb; color: #005A9E;
}

/* Variante del precio cuando es texto descriptivo (Colmena no publica precios)
   en lugar de cifra UF. Reduce font-size para que no sobresalga. */
.tp-page-colmena .tp-plan-card-v2__price--cta {
  font-size: 17px;
  font-weight: 700;
}

/* Región title + chips */
.tp-page-colmena .tp-region-block__title { color: #005A9E; }
.tp-page-colmena .tp-region-block__title::before { background: #0074C9; }
.tp-page-colmena .tp-chip-v2 svg { color: #0074C9; }

/* Steps cómo cotizar */
.tp-page-colmena .tp-step-v2__num {
  background: #0074C9;
  box-shadow: 0 6px 16px rgba(0, 116, 201, 0.25);
}

/* Banner brecha */
.tp-page-colmena .tp-banner-v2 {
  background: linear-gradient(135deg, #0074C9, #003E70);
}
.tp-page-colmena .tp-banner-v2 .tp-button--inverted { color: #005A9E; }
.tp-page-colmena .tp-banner-v2 .tp-button--inverted:hover { color: #003E70; }

/* Bullet list v2 — checkmarks */
.tp-page-colmena .tp-bullet-list-v2 li::before {
  background: #dceffb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230074C9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-position: center; background-size: 14px;
  background-repeat: no-repeat;
}

/* Asesor card */
.tp-page-colmena .tp-asesor-card__photo { color: #0074C9; }
.tp-page-colmena .tp-asesor-card__badge { color: #0074C9; }

/* Testimoniales — avatar */
.tp-page-colmena .tp-testimonial-v2__avatar {
  background: linear-gradient(135deg, #0074C9, #003E70);
}
.tp-page-colmena .tp-google-reviews-link:hover { border-color: #dceffb; }

/* FAQ accordion v2 */
.tp-page-colmena .tp-faq-v2[open] { border-color: #dceffb; }
.tp-page-colmena .tp-faq-v2 summary::after {
  border-right: 2px solid #0074C9;
  border-bottom: 2px solid #0074C9;
}
.tp-page-colmena .tp-faq-v2 summary:hover { background: #f0f7fd; }

/* Form v2 */
.tp-page-colmena .tp-form__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(0, 116, 201, 0.35);
  transition: all .2s ease;
}
.tp-page-colmena .tp-form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 116, 201, 0.45);
}
.tp-page-colmena .tp-form__btn svg { width: 20px; height: 20px; }

/* Back-to-top */
.tp-page-colmena .tp-back-to-top {
  background: #0074C9;
  box-shadow: 0 4px 14px rgba(0, 116, 201, 0.35);
}
.tp-page-colmena .tp-back-to-top:hover { background: #005A9E; }

/* Responsive — botones full width mobile */
@media (max-width: 980px) {
  .tp-page-colmena .tp-button--primary,
  .tp-page-colmena .tp-form__btn { width: 100%; justify-content: center; }
}

/* Fix raíz overflow horizontal */
.tp-page-colmena section { max-width: 100vw; overflow-x: clip; }

/* ====================================================================
   FIN — OVERRIDES COLMENA
   ==================================================================== */

/* ====================================================================
   SISTEMA D1 v2 — OVERRIDES PARA ESENCIAL
   ====================================================================
   Brand: teal Esencial #03A399 / hover #027F76 (extraído del logo).
   Activado por <body class="tp-page-esencial">.

   ANEXAR este bloque al final de assets/css/styles.css
   (después del bloque de overrides Colmena).
   ==================================================================== */

/* Hero */
.tp-page-esencial .tp-hero {
  background:
    radial-gradient(circle at 20% 100%, #f0fbf9, transparent 50%),
    radial-gradient(circle at 100% 0%, #e6f7f5, transparent 40%),
    #ffffff;
}
.tp-page-esencial .tp-hero__badge {
  background: #cef2ee; color: #027F76;
}
.tp-page-esencial .tp-hero__title span { color: #03A399; }
.tp-page-esencial .tp-hero__photo svg { color: #03A399; }
.tp-page-esencial .tp-hero__card-icon {
  background: #cef2ee; color: #03A399;
}

/* Botón primario v2 con sombra teal */
.tp-page-esencial .tp-button--primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(3, 163, 153, 0.35);
  transition: all .2s ease;
}
.tp-page-esencial .tp-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(3, 163, 153, 0.45);
}
.tp-page-esencial .tp-button--primary svg {
  width: 20px; height: 20px;
  transition: transform .2s;
}
.tp-page-esencial .tp-button--primary:hover svg { transform: translateX(3px); }

/* Stats row */
.tp-page-esencial .tp-stat-item__number { color: #03A399; }
.tp-page-esencial .tp-stat-item__number--accent { color: #027F76; }

/* Eyebrow para sections */
.tp-page-esencial .tp-section-eyebrow {
  background: #cef2ee; color: #027F76;
}

/* Cards de fortalezas v2 — fix shadow hover (rojizo en base v2) */
.tp-page-esencial .tp-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(3, 163, 153, 0.12);
}
.tp-page-esencial .tp-card-v2:hover { border-color: #cef2ee; }
.tp-page-esencial .tp-card-v2__icon {
  background: #cef2ee; color: #03A399;
}

/* Plan card v2 — fix shadow hover */
.tp-page-esencial .tp-plan-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(3, 163, 153, 0.12);
}
.tp-page-esencial .tp-plan-card-v2:hover { border-color: #cef2ee; }
.tp-page-esencial .tp-plan-card-v2__price { color: #03A399; }
.tp-page-esencial .tp-plan-card-v2__caption {
  background: #cef2ee; color: #027F76;
}

/* Variante del precio cuando es texto descriptivo (Esencial no publica precios)
   en lugar de cifra UF. Reduce font-size para que no sobresalga. */
.tp-page-esencial .tp-plan-card-v2__price--cta {
  font-size: 17px;
  font-weight: 700;
}

/* Región title + chips */
.tp-page-esencial .tp-region-block__title { color: #027F76; }
.tp-page-esencial .tp-region-block__title::before { background: #03A399; }
.tp-page-esencial .tp-chip-v2 svg { color: #03A399; }

/* Steps cómo cotizar */
.tp-page-esencial .tp-step-v2__num {
  background: #03A399;
  box-shadow: 0 6px 16px rgba(3, 163, 153, 0.25);
}

/* Banner brecha */
.tp-page-esencial .tp-banner-v2 {
  background: linear-gradient(135deg, #03A399, #015A55);
}
.tp-page-esencial .tp-banner-v2 .tp-button--inverted { color: #027F76; }
.tp-page-esencial .tp-banner-v2 .tp-button--inverted:hover { color: #015A55; }

/* Bullet list v2 — checkmarks */
.tp-page-esencial .tp-bullet-list-v2 li::before {
  background: #cef2ee;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303A399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-position: center; background-size: 14px;
  background-repeat: no-repeat;
}

/* Asesor card */
.tp-page-esencial .tp-asesor-card__photo { color: #03A399; }
.tp-page-esencial .tp-asesor-card__badge { color: #03A399; }

/* Testimoniales — avatar */
.tp-page-esencial .tp-testimonial-v2__avatar {
  background: linear-gradient(135deg, #03A399, #015A55);
}
.tp-page-esencial .tp-google-reviews-link:hover { border-color: #cef2ee; }

/* FAQ accordion v2 */
.tp-page-esencial .tp-faq-v2[open] { border-color: #cef2ee; }
.tp-page-esencial .tp-faq-v2 summary::after {
  border-right: 2px solid #03A399;
  border-bottom: 2px solid #03A399;
}
.tp-page-esencial .tp-faq-v2 summary:hover { background: #f0fbf9; }

/* Form v2 */
.tp-page-esencial .tp-form__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(3, 163, 153, 0.35);
  transition: all .2s ease;
}
.tp-page-esencial .tp-form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(3, 163, 153, 0.45);
}
.tp-page-esencial .tp-form__btn svg { width: 20px; height: 20px; }

/* Back-to-top */
.tp-page-esencial .tp-back-to-top {
  background: #03A399;
  box-shadow: 0 4px 14px rgba(3, 163, 153, 0.35);
}
.tp-page-esencial .tp-back-to-top:hover { background: #027F76; }

/* Responsive — botones full width mobile */
@media (max-width: 980px) {
  .tp-page-esencial .tp-button--primary,
  .tp-page-esencial .tp-form__btn { width: 100%; justify-content: center; }
}

/* Fix raíz overflow horizontal */
.tp-page-esencial section { max-width: 100vw; overflow-x: clip; }

/* ====================================================================
   FIN — OVERRIDES ESENCIAL
   ==================================================================== */

/* ====================================================================
   SISTEMA D1 v2 — OVERRIDES PARA CONSALUD
   ====================================================================
   Brand: teal Consalud #00A19C / hover #007A76 (extraído del logo).
   Activado por <body class="tp-page-consalud">.

   ANEXAR este bloque al final de assets/css/styles.css
   (después del bloque de overrides Esencial).
   ==================================================================== */

/* Hero */
.tp-page-consalud .tp-hero {
  background:
    radial-gradient(circle at 20% 100%, #f0faf9, transparent 50%),
    radial-gradient(circle at 100% 0%, #e6f6f5, transparent 40%),
    #ffffff;
}
.tp-page-consalud .tp-hero__badge {
  background: #ccecea; color: #007A76;
}
.tp-page-consalud .tp-hero__title span { color: #00A19C; }
.tp-page-consalud .tp-hero__photo svg { color: #00A19C; }
.tp-page-consalud .tp-hero__card-icon {
  background: #ccecea; color: #00A19C;
}

/* Botón primario v2 con sombra teal */
.tp-page-consalud .tp-button--primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(0, 161, 156, 0.35);
  transition: all .2s ease;
}
.tp-page-consalud .tp-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 161, 156, 0.45);
}
.tp-page-consalud .tp-button--primary svg {
  width: 20px; height: 20px;
  transition: transform .2s;
}
.tp-page-consalud .tp-button--primary:hover svg { transform: translateX(3px); }

/* Stats row */
.tp-page-consalud .tp-stat-item__number { color: #00A19C; }
.tp-page-consalud .tp-stat-item__number--accent { color: #007A76; }

/* Eyebrow para sections */
.tp-page-consalud .tp-section-eyebrow {
  background: #ccecea; color: #007A76;
}

/* Cards de fortalezas v2 — fix shadow hover (rojizo en base v2) */
.tp-page-consalud .tp-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(0, 161, 156, 0.12);
}
.tp-page-consalud .tp-card-v2:hover { border-color: #ccecea; }
.tp-page-consalud .tp-card-v2__icon {
  background: #ccecea; color: #00A19C;
}

/* Plan card v2 — fix shadow hover */
.tp-page-consalud .tp-plan-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(0, 161, 156, 0.12);
}
.tp-page-consalud .tp-plan-card-v2:hover { border-color: #ccecea; }
.tp-page-consalud .tp-plan-card-v2__price { color: #00A19C; }
.tp-page-consalud .tp-plan-card-v2__caption {
  background: #ccecea; color: #007A76;
}

/* Variante del precio cuando es texto descriptivo (Consalud no publica precios) */
.tp-page-consalud .tp-plan-card-v2__price--cta {
  font-size: 17px;
  font-weight: 700;
}

/* Región title + chips */
.tp-page-consalud .tp-region-block__title { color: #007A76; }
.tp-page-consalud .tp-region-block__title::before { background: #00A19C; }
.tp-page-consalud .tp-chip-v2 svg { color: #00A19C; }

/* Steps cómo cotizar */
.tp-page-consalud .tp-step-v2__num {
  background: #00A19C;
  box-shadow: 0 6px 16px rgba(0, 161, 156, 0.25);
}

/* Banner brecha */
.tp-page-consalud .tp-banner-v2 {
  background: linear-gradient(135deg, #00A19C, #015754);
}
.tp-page-consalud .tp-banner-v2 .tp-button--inverted { color: #007A76; }
.tp-page-consalud .tp-banner-v2 .tp-button--inverted:hover { color: #015754; }

/* Bullet list v2 — checkmarks */
.tp-page-consalud .tp-bullet-list-v2 li::before {
  background: #ccecea;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A19C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-position: center; background-size: 14px;
  background-repeat: no-repeat;
}

/* Asesor card */
.tp-page-consalud .tp-asesor-card__photo { color: #00A19C; }
.tp-page-consalud .tp-asesor-card__badge { color: #00A19C; }

/* Testimoniales — avatar */
.tp-page-consalud .tp-testimonial-v2__avatar {
  background: linear-gradient(135deg, #00A19C, #015754);
}
.tp-page-consalud .tp-google-reviews-link:hover { border-color: #ccecea; }

/* FAQ accordion v2 */
.tp-page-consalud .tp-faq-v2[open] { border-color: #ccecea; }
.tp-page-consalud .tp-faq-v2 summary::after {
  border-right: 2px solid #00A19C;
  border-bottom: 2px solid #00A19C;
}
.tp-page-consalud .tp-faq-v2 summary:hover { background: #f0faf9; }

/* Form v2 */
.tp-page-consalud .tp-form__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(0, 161, 156, 0.35);
  transition: all .2s ease;
}
.tp-page-consalud .tp-form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 161, 156, 0.45);
}
.tp-page-consalud .tp-form__btn svg { width: 20px; height: 20px; }

/* Back-to-top */
.tp-page-consalud .tp-back-to-top {
  background: #00A19C;
  box-shadow: 0 4px 14px rgba(0, 161, 156, 0.35);
}
.tp-page-consalud .tp-back-to-top:hover { background: #007A76; }

/* Responsive — botones full width mobile */
@media (max-width: 980px) {
  .tp-page-consalud .tp-button--primary,
  .tp-page-consalud .tp-form__btn { width: 100%; justify-content: center; }
}

/* Fix raíz overflow horizontal */
.tp-page-consalud section { max-width: 100vw; overflow-x: clip; }

/* ====================================================================
   FIN — OVERRIDES CONSALUD
   ==================================================================== */

/* ====================================================================
   SISTEMA D1 v2 — OVERRIDES PARA NUEVA MASVIDA
   ====================================================================
   Brand: azul Nueva Masvida #0081C5 / hover #005E91 (extraído del logo).
   Activado por <body class="tp-page-nuevamasvida">.

   ANEXAR este bloque al final de assets/css/styles.css
   (después del bloque de overrides Consalud).
   ==================================================================== */

/* Hero */
.tp-page-nuevamasvida .tp-hero {
  background:
    radial-gradient(circle at 20% 100%, #f0f7fc, transparent 50%),
    radial-gradient(circle at 100% 0%, #e6f3fa, transparent 40%),
    #ffffff;
}
.tp-page-nuevamasvida .tp-hero__badge {
  background: #d6ebf7; color: #005E91;
}
.tp-page-nuevamasvida .tp-hero__title span { color: #0081C5; }
.tp-page-nuevamasvida .tp-hero__photo svg { color: #0081C5; }
.tp-page-nuevamasvida .tp-hero__card-icon {
  background: #d6ebf7; color: #0081C5;
}

/* Botón primario v2 con sombra azul */
.tp-page-nuevamasvida .tp-button--primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(0, 129, 197, 0.35);
  transition: all .2s ease;
}
.tp-page-nuevamasvida .tp-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 129, 197, 0.45);
}
.tp-page-nuevamasvida .tp-button--primary svg {
  width: 20px; height: 20px;
  transition: transform .2s;
}
.tp-page-nuevamasvida .tp-button--primary:hover svg { transform: translateX(3px); }

/* Stats row */
.tp-page-nuevamasvida .tp-stat-item__number { color: #0081C5; }
.tp-page-nuevamasvida .tp-stat-item__number--accent { color: #005E91; }

/* Eyebrow para sections */
.tp-page-nuevamasvida .tp-section-eyebrow {
  background: #d6ebf7; color: #005E91;
}

/* Cards de fortalezas v2 — fix shadow hover (rojizo en base v2) */
.tp-page-nuevamasvida .tp-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(0, 129, 197, 0.12);
}
.tp-page-nuevamasvida .tp-card-v2:hover { border-color: #d6ebf7; }
.tp-page-nuevamasvida .tp-card-v2__icon {
  background: #d6ebf7; color: #0081C5;
}

/* Plan card v2 — fix shadow hover */
.tp-page-nuevamasvida .tp-plan-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(0, 129, 197, 0.12);
}
.tp-page-nuevamasvida .tp-plan-card-v2:hover { border-color: #d6ebf7; }
.tp-page-nuevamasvida .tp-plan-card-v2__price { color: #0081C5; }
.tp-page-nuevamasvida .tp-plan-card-v2__caption {
  background: #d6ebf7; color: #005E91;
}

/* Variante del precio cuando es texto descriptivo (Nueva Masvida tiene +200 productos) */
.tp-page-nuevamasvida .tp-plan-card-v2__price--cta {
  font-size: 17px;
  font-weight: 700;
}

/* Región title + chips */
.tp-page-nuevamasvida .tp-region-block__title { color: #005E91; }
.tp-page-nuevamasvida .tp-region-block__title::before { background: #0081C5; }
.tp-page-nuevamasvida .tp-chip-v2 svg { color: #0081C5; }

/* Steps cómo cotizar */
.tp-page-nuevamasvida .tp-step-v2__num {
  background: #0081C5;
  box-shadow: 0 6px 16px rgba(0, 129, 197, 0.25);
}

/* Banner brecha */
.tp-page-nuevamasvida .tp-banner-v2 {
  background: linear-gradient(135deg, #0081C5, #003F66);
}
.tp-page-nuevamasvida .tp-banner-v2 .tp-button--inverted { color: #005E91; }
.tp-page-nuevamasvida .tp-banner-v2 .tp-button--inverted:hover { color: #003F66; }

/* Bullet list v2 — checkmarks */
.tp-page-nuevamasvida .tp-bullet-list-v2 li::before {
  background: #d6ebf7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230081C5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-position: center; background-size: 14px;
  background-repeat: no-repeat;
}

/* Asesor card */
.tp-page-nuevamasvida .tp-asesor-card__photo { color: #0081C5; }
.tp-page-nuevamasvida .tp-asesor-card__badge { color: #0081C5; }

/* Testimoniales — avatar */
.tp-page-nuevamasvida .tp-testimonial-v2__avatar {
  background: linear-gradient(135deg, #0081C5, #003F66);
}
.tp-page-nuevamasvida .tp-google-reviews-link:hover { border-color: #d6ebf7; }

/* FAQ accordion v2 */
.tp-page-nuevamasvida .tp-faq-v2[open] { border-color: #d6ebf7; }
.tp-page-nuevamasvida .tp-faq-v2 summary::after {
  border-right: 2px solid #0081C5;
  border-bottom: 2px solid #0081C5;
}
.tp-page-nuevamasvida .tp-faq-v2 summary:hover { background: #f0f7fc; }

/* Form v2 */
.tp-page-nuevamasvida .tp-form__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(0, 129, 197, 0.35);
  transition: all .2s ease;
}
.tp-page-nuevamasvida .tp-form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 129, 197, 0.45);
}
.tp-page-nuevamasvida .tp-form__btn svg { width: 20px; height: 20px; }

/* Back-to-top */
.tp-page-nuevamasvida .tp-back-to-top {
  background: #0081C5;
  box-shadow: 0 4px 14px rgba(0, 129, 197, 0.35);
}
.tp-page-nuevamasvida .tp-back-to-top:hover { background: #005E91; }

/* Responsive — botones full width mobile */
@media (max-width: 980px) {
  .tp-page-nuevamasvida .tp-button--primary,
  .tp-page-nuevamasvida .tp-form__btn { width: 100%; justify-content: center; }
}

/* Fix raíz overflow horizontal */
.tp-page-nuevamasvida section { max-width: 100vw; overflow-x: clip; }


/* ============================================================
   FIX RAÍZ MOBILE — Botón formulario (D1 v2)
   ============================================================
   Problema: los overrides de marca aplican
     padding: 18px 36px; font-size: 18px; white-space: nowrap;
   En pantallas <=480px, con marcas de nombre largo
   (ej. "Nueva Masvida", "Cruz Blanca") el contenido del botón
   queda visualmente apretado o cortado: el texto + gap + SVG
   suman más que el ancho interno disponible.

   Solución: en mobile reducir padding, bajar font a 16px,
   permitir wrap del texto y achicar el SVG. La specificity
   con body[class*="tp-page-"] iguala/supera la del override
   por marca (.tp-page-X .tp-form__btn) sin tocarlos.

   ANEXAR este bloque al final de assets/css/styles.css
   (después del bloque de overrides Nueva Masvida).
   ============================================================ */
@media (max-width: 480px) {
  body[class*="tp-page-"] .tp-form__btn {
    padding: 16px 12px;
    font-size: 16px;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
    gap: 8px;
  }
  body[class*="tp-page-"] .tp-form__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}

/* ====================================================================
   FIN — OVERRIDES NUEVA MASVIDA
   ==================================================================== */

/* ====================================================================
   SISTEMA D1 v2 — OVERRIDES PARA VIDA TRES
   ====================================================================
   Brand: navy Vida Tres #243F8E / hover #1A2F6B (extraído del logo).
   Activado por <body class="tp-page-vidatres">.

   ANEXAR este bloque al final de assets/css/styles.css
   (después del bloque de overrides Nueva Masvida y del fix mobile
   del botón de formulario).
   ==================================================================== */

/* Hero */
.tp-page-vidatres .tp-hero {
  background:
    radial-gradient(circle at 20% 100%, #f0f2f9, transparent 50%),
    radial-gradient(circle at 100% 0%, #e6e9f3, transparent 40%),
    #ffffff;
}
.tp-page-vidatres .tp-hero__badge {
  background: #d8def0; color: #1A2F6B;
}
.tp-page-vidatres .tp-hero__title span { color: #243F8E; }
.tp-page-vidatres .tp-hero__photo svg { color: #243F8E; }
.tp-page-vidatres .tp-hero__card-icon {
  background: #d8def0; color: #243F8E;
}

/* Botón primario v2 con sombra navy */
.tp-page-vidatres .tp-button--primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(36, 63, 142, 0.35);
  transition: all .2s ease;
}
.tp-page-vidatres .tp-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(36, 63, 142, 0.45);
}
.tp-page-vidatres .tp-button--primary svg {
  width: 20px; height: 20px;
  transition: transform .2s;
}
.tp-page-vidatres .tp-button--primary:hover svg { transform: translateX(3px); }

/* Stats row */
.tp-page-vidatres .tp-stat-item__number { color: #243F8E; }
.tp-page-vidatres .tp-stat-item__number--accent { color: #1A2F6B; }

/* Eyebrow para sections */
.tp-page-vidatres .tp-section-eyebrow {
  background: #d8def0; color: #1A2F6B;
}

/* Cards de fortalezas v2 — fix shadow hover (rojizo en base v2) */
.tp-page-vidatres .tp-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(36, 63, 142, 0.12);
}
.tp-page-vidatres .tp-card-v2:hover { border-color: #d8def0; }
.tp-page-vidatres .tp-card-v2__icon {
  background: #d8def0; color: #243F8E;
}

/* Plan card v2 — fix shadow hover */
.tp-page-vidatres .tp-plan-card-v2 {
  --tp-v2-shadow-card-hover: 0 12px 32px rgba(36, 63, 142, 0.12);
}
.tp-page-vidatres .tp-plan-card-v2:hover { border-color: #d8def0; }
.tp-page-vidatres .tp-plan-card-v2__price { color: #243F8E; }
.tp-page-vidatres .tp-plan-card-v2__caption {
  background: #d8def0; color: #1A2F6B;
}

/* Variante del precio cuando es texto descriptivo (Vida Tres tiene 81 planes) */
.tp-page-vidatres .tp-plan-card-v2__price--cta {
  font-size: 17px;
  font-weight: 700;
}

/* Región title + chips */
.tp-page-vidatres .tp-region-block__title { color: #1A2F6B; }
.tp-page-vidatres .tp-region-block__title::before { background: #243F8E; }
.tp-page-vidatres .tp-chip-v2 svg { color: #243F8E; }

/* Steps cómo cotizar */
.tp-page-vidatres .tp-step-v2__num {
  background: #243F8E;
  box-shadow: 0 6px 16px rgba(36, 63, 142, 0.25);
}

/* Banner brecha */
.tp-page-vidatres .tp-banner-v2 {
  background: linear-gradient(135deg, #243F8E, #14224F);
}
.tp-page-vidatres .tp-banner-v2 .tp-button--inverted { color: #1A2F6B; }
.tp-page-vidatres .tp-banner-v2 .tp-button--inverted:hover { color: #14224F; }

/* Bullet list v2 — checkmarks */
.tp-page-vidatres .tp-bullet-list-v2 li::before {
  background: #d8def0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23243F8E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-position: center; background-size: 14px;
  background-repeat: no-repeat;
}

/* Asesor card */
.tp-page-vidatres .tp-asesor-card__photo { color: #243F8E; }
.tp-page-vidatres .tp-asesor-card__badge { color: #243F8E; }

/* Testimoniales — avatar */
.tp-page-vidatres .tp-testimonial-v2__avatar {
  background: linear-gradient(135deg, #243F8E, #14224F);
}
.tp-page-vidatres .tp-google-reviews-link:hover { border-color: #d8def0; }

/* FAQ accordion v2 */
.tp-page-vidatres .tp-faq-v2[open] { border-color: #d8def0; }
.tp-page-vidatres .tp-faq-v2 summary::after {
  border-right: 2px solid #243F8E;
  border-bottom: 2px solid #243F8E;
}
.tp-page-vidatres .tp-faq-v2 summary:hover { background: #f0f2f9; }

/* Form v2 */
.tp-page-vidatres .tp-form__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 36px; font-size: 18px; font-weight: 700;
  border-radius: var(--tp-v2-r-md);
  box-shadow: 0 4px 14px rgba(36, 63, 142, 0.35);
  transition: all .2s ease;
}
.tp-page-vidatres .tp-form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(36, 63, 142, 0.45);
}
.tp-page-vidatres .tp-form__btn svg { width: 20px; height: 20px; }

/* Back-to-top */
.tp-page-vidatres .tp-back-to-top {
  background: #243F8E;
  box-shadow: 0 4px 14px rgba(36, 63, 142, 0.35);
}
.tp-page-vidatres .tp-back-to-top:hover { background: #1A2F6B; }

/* Responsive — botones full width mobile */
@media (max-width: 980px) {
  .tp-page-vidatres .tp-button--primary,
  .tp-page-vidatres .tp-form__btn { width: 100%; justify-content: center; }
}

/* Fix raíz overflow horizontal */
.tp-page-vidatres section { max-width: 100vw; overflow-x: clip; }

/* ====================================================================
   FIN — OVERRIDES VIDA TRES
   ==================================================================== */


/* ====================================================================
   FORMULARIO WIZARD (Trabajo 2)
   Paso a paso en MÓVIL · secciones agrupadas en ESCRITORIO.
   100% ADITIVO: solo clases nuevas .tp-wizard__*; no altera nada existente.

   A PRUEBA DE FALLOS: sin la clase .is-wizard (que el JS pone SOLO en
   móvil), TODOS los pasos quedan visibles = el formulario largo de
   siempre. Si el JS no carga, el form sigue 100% usable y enviable.
   ==================================================================== */

/* Título de cada sección/grupo (visible en escritorio como agrupador) */
.tp-wizard__step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tp-text-main);
  margin: 4px 0 14px;
}
/* Separación entre secciones en escritorio */
.tp-wizard__step + .tp-wizard__step {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--tp-border);
}

/* Progreso y botones de navegación: OCULTOS por defecto (escritorio / sin JS) */
.tp-wizard__progress { display: none; }
.tp-wizard__btn-back,
.tp-wizard__btn-next { display: none; }

/* Botón principal "Siguiente" (solo se ve en modo wizard) */
.tp-wizard__btn-next {
  padding: 13px 20px;
  border-radius: var(--tp-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--tp-blue-bright);
  background: var(--tp-blue-bright);
  color: #fff;
  transition: background var(--tp-transition);
}
.tp-wizard__btn-next:hover { background: #0052a6; }

/* "Atrás" = enlace de texto pequeño con flecha (NO botón). Va debajo y separado. */
.tp-wizard__btn-back {
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: var(--tp-text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--tp-transition);
}
.tp-wizard__btn-back:hover { color: var(--tp-blue-bright); text-decoration: underline; }

/* ===== MODO WIZARD ACTIVO — lo activa el JS solo en móvil (≤768px) ===== */
.tp-form.is-wizard .tp-wizard__progress { display: block; margin-bottom: 22px; }
.tp-form.is-wizard .tp-wizard__progress-track {
  height: 6px; background: var(--tp-bg-soft);
  border-radius: 999px; overflow: hidden;
}
.tp-form.is-wizard .tp-wizard__progress-fill {
  display: block; height: 100%; width: 50%;
  background: var(--tp-blue-bright); border-radius: 999px;
  transition: width 0.3s ease;
}
.tp-form.is-wizard .tp-wizard__progress-label {
  display: block; margin-top: 8px;
  font-size: 0.85rem; color: var(--tp-text-muted);
}

/* Un solo paso visible a la vez */
.tp-form.is-wizard .tp-wizard__step { display: none; }
.tp-form.is-wizard .tp-wizard__step.is-active { display: block; }
.tp-form.is-wizard .tp-wizard__step + .tp-wizard__step {
  margin-top: 0; padding-top: 0; border-top: none;
}

/* Barra de navegación visible en wizard — apilada en columna (sin desbordes) */
.tp-form.is-wizard .tp-wizard__nav {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centra el enlace "Atrás" */
  gap: 0;
  margin-top: 22px;
}
/* Botón principal "Siguiente": arriba, todo el ancho */
.tp-form.is-wizard .tp-wizard__btn-next:not([hidden]) {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; order: 1;
}
/* "Atrás": debajo, pequeño, centrado y bien separado para no pasar a llevar */
.tp-form.is-wizard .tp-wizard__btn-back:not([hidden]) {
  display: inline-flex; align-items: center; gap: 4px;
  order: 2; margin-top: 16px;
}

/* En wizard, el submit solo aparece en el último paso (clase .is-last-step) */
.tp-form.is-wizard .tp-form__submit { display: none; }
.tp-form.is-wizard.is-last-step .tp-form__submit { order: 1; width: 100%; display: block; }
.tp-form.is-wizard.is-last-step .tp-form__submit .tp-form__btn { width: 100%; }

/* ====================================================================
   FIN — FORMULARIO WIZARD
   ==================================================================== */
