/* ===================================================================
   AMA Soluciones — tokens
   =================================================================== */
:root {
  --ink: #0e2229;
  --teal-900: #105c68;
  --teal-700: #198799;
  --teal-600: #1a95a8;
  --teal-500: #46b4ce;
  --teal-300: #88bbd8;
  --teal-100: #e4f1f3;
  --paper: #f6faf9;
  --white: #ffffff;
  --wa-green: #25d366;

  --serif: "Figtree", -apple-system, "Segoe UI", sans-serif; /* nombre de variable heredado del patrón de otros sitios; aquí es la única familia */
  --sans: "Figtree", -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

a { color: inherit; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
}

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--teal-900) 10%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand-logo { height: 34px; width: auto; }
.brand-logo img { height: 100%; width: auto; display: block; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-900);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.main-nav a:hover { opacity: 1; }

@media (min-width: 900px) {
  .main-nav { display: block; }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-700);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.header-cta:hover { background: var(--teal-900); transform: translateY(-1px); }
.header-cta svg { width: 16px; height: 16px; flex: none; }
/* En móvil el logo + "Hablemos" + el botón de menú competían por los mismos
   ~24px de padding del header y quedaban pegados a las esquinas. El botón
   flotante de WhatsApp ya cubre esa acción, así que aquí se oculta. */
@media (max-width: 760px) {
  .header-cta { display: none; }
}

/* ===================================================================
   Botones / pills reutilizables
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--teal-700); color: var(--white); }
.btn-primary:hover { background: var(--teal-900); transform: translateY(-1px); }
.btn-on-dark { background: var(--white); color: var(--teal-900); }
.btn-on-dark:hover { background: var(--teal-100); transform: translateY(-1px); }

.wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal-900);
  background: var(--white);
  border: 1.5px solid color-mix(in srgb, var(--teal-900) 18%, transparent);
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.wa-pill svg { width: 15px; height: 15px; flex: none; color: var(--wa-green); }
.wa-pill:hover { border-color: var(--teal-700); background: var(--teal-100); transform: translateY(-1px); }
.cat--light .wa-pill,
.cat--mid .wa-pill { background: var(--white); }
.cat--dark .wa-pill {
  background: color-mix(in srgb, var(--white) 14%, transparent);
  border-color: color-mix(in srgb, var(--white) 32%, transparent);
  color: var(--white);
}
.cat--dark .wa-pill:hover { background: color-mix(in srgb, var(--white) 22%, transparent); }

/* ===================================================================
   Motivo gráfico: corazón del isotipo (único elemento decorativo recurrente)
   =================================================================== */
.heart-mark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.heart-mark svg { width: 100%; height: 100%; display: block; }

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}
.hero .heart-mark {
  top: -8%;
  right: -12%;
  width: min(62vw, 760px);
  aspect-ratio: 898 / 844;
  opacity: 0.22;
  color: var(--teal-300);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.8fr; }
}

.hero-inner {
  max-width: 620px;
}

.hero-media { justify-self: start; }
@media (min-width: 900px) { .hero-media { justify-self: end; } }

/* ---- Tarjeta de video reutilizable (hero, nosotros, portafolio, crédito) ---- */
.video-card {
  position: relative;
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px -16px color-mix(in srgb, var(--teal-900) 35%, transparent);
}
.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--teal-900);
}
.video-card-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  background: color-mix(in srgb, var(--teal-900) 72%, transparent);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  pointer-events: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero-kicker {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(42px, 6.4vw, 72px);
  color: var(--teal-900);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  max-width: 50ch;
  margin-bottom: 34px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-size: 14px;
  color: color-mix(in srgb, var(--ink) 65%, transparent);
}
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); flex: none; }

@media (max-width: 760px) {
  .hero { padding: 48px 0 64px; }
  .hero .heart-mark { top: -4%; right: -30%; width: 86vw; opacity: 0.16; }
}

/* ===================================================================
   ¿Por qué elegirnos?
   =================================================================== */
.why { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-kicker {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 12px;
  display: block;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  color: var(--teal-900);
  margin-bottom: 14px;
}
.section-head p {
  font-size: 17px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  max-width: 54ch;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--teal-900) 14%, transparent);
}
.why-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--teal-900) 14%, transparent);
}
.why-item .mini-heart { width: 30px; height: 28px; color: var(--teal-700); flex: none; margin-top: 2px; }
.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 8px;
}
.why-item p {
  font-size: 15.5px;
  color: color-mix(in srgb, var(--ink) 75%, transparent);
  max-width: 58ch;
}

@media (min-width: 860px) {
  .why-list { grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: none; }
  .why-item { border-top: 1px solid color-mix(in srgb, var(--teal-900) 14%, transparent); }
  .why-item:nth-last-child(-n+1) { border-bottom: none; }
}

/* ===================================================================
   Portafolio — bandas de color por categoría de vida
   =================================================================== */
.portfolio { padding-top: 96px; }
.portfolio .section-head { padding: 0 24px; max-width: var(--container); margin: 0 auto 48px; }

.cat { position: relative; overflow: hidden; }
.cat-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  gap: 36px;
}
.cat-label-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cat-label {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cat-video { max-width: 240px; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.3); }
.cat-label .mini-heart { width: 26px; height: 26px; flex: none; }
.cat-label h3 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
}
.cat-products {
  display: grid;
  grid-template-columns: 1fr;
}
.cat-product {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 18px 24px;
  padding: 22px 0;
  border-bottom: 1px solid;
}
.cat-product:last-child { border-bottom: none; }
.cat-product h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.cat-product p { font-size: 14.5px; line-height: 1.55; max-width: 48ch; }
.cat-product .wa-pill { margin-top: 2px; }

@media (min-width: 700px) {
  .cat-inner { grid-template-columns: 240px 1fr; align-items: start; padding: 72px 24px; }
  .cat-product { grid-template-columns: 1fr auto; }
}

.cat--light {
  background: var(--teal-100);
  color: var(--teal-900);
}
.cat--light .cat-product { border-color: color-mix(in srgb, var(--teal-900) 14%, transparent); }
.cat--light p { color: color-mix(in srgb, var(--teal-900) 78%, transparent); }

.cat--mid {
  background: var(--teal-300);
  color: var(--teal-900);
}
.cat--mid .cat-product { border-color: color-mix(in srgb, var(--teal-900) 16%, transparent); }
.cat--mid p { color: color-mix(in srgb, var(--teal-900) 82%, transparent); }

.cat--dark {
  background: var(--teal-900);
  color: var(--white);
}
.cat--dark .cat-product { border-color: color-mix(in srgb, var(--white) 20%, transparent); }
.cat--dark p { color: color-mix(in srgb, var(--white) 82%, transparent); }

.cat .heart-mark { opacity: 0.12; }
.cat--light .heart-mark, .cat--mid .heart-mark { color: var(--teal-900); }
.cat--dark .heart-mark { color: var(--white); }

.portfolio-cta {
  display: flex;
  justify-content: center;
  padding: 56px 24px 0;
}

/* ===================================================================
   Crédito de vehículo
   =================================================================== */
.credito { padding: 96px 0; position: relative; overflow: hidden; }
.credito-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
  align-items: center;
}
@media (min-width: 860px) {
  .credito-grid { grid-template-columns: 1.1fr 0.7fr; }
  .credito-media { justify-self: end; }
}
.credito-inner {
  max-width: 560px;
}
.credito .heart-mark {
  bottom: -18%;
  left: -14%;
  width: min(48vw, 560px);
  opacity: 0.1;
  color: var(--teal-900);
}
.credito h2 { font-size: clamp(28px, 3.8vw, 40px); color: var(--teal-900); margin-bottom: 18px; }
.credito p.lead {
  font-size: 17px;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  max-width: 56ch;
  margin-bottom: 20px;
}
.fine-print {
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  margin-bottom: 30px;
}

/* ===================================================================
   Sobre nosotros
   =================================================================== */
.nosotros { background: var(--teal-900); color: var(--white); padding: 96px 0; }
.nosotros-grid { display: grid; gap: 48px; }
.nosotros h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 22px; max-width: 16ch; }
.nosotros p.lead {
  font-size: 17px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--white) 88%, transparent);
  max-width: 60ch;
}
.nosotros .closing {
  margin-top: 24px;
  font-weight: 700;
  font-size: 17px;
}

.nosotros-media { margin-top: 28px; max-width: 260px; box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.45); }

.team { display: flex; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.team-card { display: flex; align-items: center; gap: 14px; }
.team-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid color-mix(in srgb, var(--white) 55%, transparent);
  background: color-mix(in srgb, var(--white) 14%, transparent);
}
.team-name { font-weight: 700; font-size: 15px; }
.team-role { font-size: 13px; color: color-mix(in srgb, var(--white) 72%, transparent); }

@media (min-width: 860px) {
  .nosotros-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ===================================================================
   Aliados
   =================================================================== */
.aliados { padding: 88px 0; }
.aliados .section-head { margin-bottom: 44px; }
.aliados-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  align-items: center;
}
.aliado-chip {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: color-mix(in srgb, var(--teal-900) 62%, transparent);
  letter-spacing: -0.01em;
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq { background: var(--teal-100); padding: 96px 0; }
.faq-list { display: grid; gap: 1px; background: color-mix(in srgb, var(--teal-900) 16%, transparent); max-width: 760px; }
.faq-item {
  background: var(--teal-100);
  padding: 4px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--teal-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chevron {
  width: 20px; height: 20px; flex: none;
  transition: transform 0.25s ease;
  color: var(--teal-700);
}
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-item .faq-answer {
  padding: 0 4px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--teal-900) 80%, transparent);
  max-width: 62ch;
}

/* ===================================================================
   Cierre
   =================================================================== */
.cierre {
  position: relative;
  overflow: hidden;
  background: var(--teal-700);
  color: var(--white);
  padding: 100px 0;
  text-align: left;
}
.cierre .heart-mark {
  top: -30%;
  right: -10%;
  width: min(56vw, 640px);
  opacity: 0.14;
  color: var(--white);
}
.cierre-inner { position: relative; z-index: 1; max-width: 600px; }
.cierre h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 18px; }
.cierre p { font-size: 17px; color: color-mix(in srgb, var(--white) 90%, transparent); max-width: 52ch; margin-bottom: 30px; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: var(--teal-900); color: var(--white); padding: 64px 0 28px; }
.footer-top {
  display: grid;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
}
.footer-logo { height: 30px; margin-bottom: 8px; }
.footer-logo img { height: 100%; width: auto; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: 1fr; }
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: color-mix(in srgb, var(--white) 60%, transparent);
  margin: 0 0 12px;
}
.footer-col p, .footer-col a {
  font-size: 14.5px;
  color: color-mix(in srgb, var(--white) 88%, transparent);
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.footer-col a:hover { color: var(--white); text-decoration: underline; }

@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1.2fr 2fr; align-items: start; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: color-mix(in srgb, var(--white) 55%, transparent);
}
.footer-legal { max-width: 70ch; line-height: 1.6; margin-bottom: 18px; }

.powered-by { display: inline-flex; align-items: center; gap: 8px; opacity: 0.75; transition: opacity 0.2s ease; text-decoration: none; }
.powered-by:hover { opacity: 1; }
.powered-logo { height: 13px; width: auto; }

/* ===================================================================
   Botón flotante de WhatsApp
   =================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(16, 92, 104, 0.35);
  opacity: 0;
  transform: scale(0.6) translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.2,.8,.2,1);
  text-decoration: none;
}
.wa-float.is-visible { opacity: 1; transform: scale(1) translateY(0); }
.wa-float svg { width: 28px; height: 28px; color: var(--white); }

/* ===================================================================
   Nav móvil
   =================================================================== */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--teal-900) 22%, transparent);
  background: none;
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; color: var(--teal-900); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 18px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--teal-900);
  padding: 12px 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--teal-900) 10%, transparent);
}
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

/* ===================================================================
   Ajustes 2026-10-17: aliados con logo, líneas de asistencia,
   WhatsApp de Diana y aviso de datos antes de abrir WhatsApp
   =================================================================== */
.aliados-row { gap: 28px 44px; }
.aliado-logo { height: 40px; width: auto; display: block; }
.aliado-logo--square { height: 64px; }
@media (min-width: 860px) {
  .aliado-logo { height: 46px; }
  .aliado-logo--square { height: 72px; }
}

.faq-item .faq-answer p + p, .faq-item .faq-answer ul + p { margin-top: 12px; }
.assist-lines {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: color-mix(in srgb, var(--teal-900) 12%, transparent);
  border-radius: 12px;
  overflow: hidden;
  max-width: 360px;
}
.assist-lines li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--white);
}
.assist-lines a {
  font-weight: 800;
  color: var(--teal-700);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.assist-lines a:hover { text-decoration: underline; }

.team-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
}
.team-phone:hover { opacity: 1; text-decoration: underline; }
.team-phone svg { width: 14px; height: 14px; }

.footer-legal a { color: inherit; text-decoration: underline; }

/* Aviso de autorización de datos (Ley 1581 de 2012) */
.consent {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
}
.consent.is-open { display: flex; }
.consent-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  padding: 24px 22px 20px;
  box-shadow: 0 24px 48px -12px rgba(14, 34, 41, 0.45);
}
.consent-card h3 { font-size: 18px; color: var(--teal-900); margin-bottom: 10px; }
.consent-card p { font-size: 14px; line-height: 1.55; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.consent-card p a { color: var(--teal-700); font-weight: 600; }
.consent-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.consent-actions .btn { justify-content: center; width: 100%; }
.consent-cancel {
  background: none;
  border: 0;
  padding: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
  cursor: pointer;
}
@media (min-width: 600px) { .consent { align-items: center; } }

/* Páginas legales */
.legal { padding: 56px 0 80px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); color: var(--teal-900); margin: 8px 0 8px; line-height: 1.15; }
.legal-updated { font-size: 13px; color: color-mix(in srgb, var(--ink) 55%, transparent); margin-bottom: 32px; }
.legal h2 { font-size: 19px; color: var(--teal-900); margin: 36px 0 12px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0 0; display: grid; gap: 6px; }
.legal a { color: var(--teal-700); }
.legal-nav { margin-top: 56px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--teal-900) 14%, transparent); display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 600; }
.legal-back { font-size: 14px; font-weight: 600; color: var(--teal-900); text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.legal-footer { padding: 28px 0; font-size: 13px; color: color-mix(in srgb, var(--white) 70%, transparent); }

/* Botón "Activar sonido" sobre los videos que suenan en silencio */
.sound-btn {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal-900) 82%, transparent);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px -6px rgba(14, 34, 41, 0.5);
}
.sound-btn[hidden] { display: none; }
.sound-btn svg { width: 18px; height: 18px; }
.sound-btn:hover { background: var(--teal-900); }

/* Logos de aliados = botón a su línea de asistencia; teléfonos del equipo como píldora clickeable */
.aliado {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.aliado-line {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-700);
  font-variant-numeric: tabular-nums;
}
.aliado:hover .aliado-line { text-decoration: underline; }
.team-phone {
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--white) 45%, transparent);
  border-radius: 999px;
  opacity: 1;
}
.team-phone:hover { background: color-mix(in srgb, var(--white) 12%, transparent); text-decoration: none; }

/* Aviso al hacer clic en una línea # desde computador */
.call-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--teal-900);
  color: var(--white);
  font-size: 15px;
  text-align: center;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45);
}
.call-toast strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.call-toast span { font-size: 12px; opacity: 0.8; }
.call-toast[hidden] { display: none; }

/* Letrero debajo del video cuando el video ya trae texto arriba (testimonio de empresas) */
.video-card-tag--below {
  position: static;
  display: block;
  border-radius: 0;
  padding: 12px 16px;
  text-align: center;
  background: var(--teal-900);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Logo de Axa Colpatria: símbolo + nombre apilados, necesita más alto */
.aliado-logo--stacked { height: 56px; }
@media (min-width: 900px) { .aliado-logo--stacked { height: 64px; } }
