/* @dsCard skip */
@import url('_ds/zubir-a-asociados-design-system-aac17a83-8464-41ce-9652-87fa83f0f3e3/colors_and_type.css');

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
:root {
  --paper: #FAFAFA;
  --ink: #0E0E10;
  --ink-90: #0E0E10;
  --brand-500: #A92636;
  --ink-70: #4A4A4E;
  --ink-50: #82828A;
  --ink-15: #D6D6DA;
  --ink-08: #ECECEE;
  --ink-04: #F5F5F6;
  --brand: #A92636;
  --brand-50: #FBEDEF;
  --brand-100: #F5D9DC;
  --brand-700: #8A1F2C;
  --brand-800: #6E1922;
  --font-sans: 'Archivo', system-ui, sans-serif;
  --font-display: 'Archivo Black', 'Archivo', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', monospace;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink-90);
             font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-08);
}
.site-header .inner {
  height: 64px; display: flex; align-items: center; gap: 32px;
  max-width: 1440px; margin: 0 auto; padding: 0 32px;
}
.site-header .logo-link { flex: none; display: inline-flex; }
.site-header .logo { height: 30px; width: auto; flex: none; }

/* seguro.pe pill button inside nav */
.site-header nav .btn-seguro {
  background: #1E4F8A; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 13px; letter-spacing: 0.01em;
  padding: 7px 14px; border-radius: 999px; border: none;
  transition: background 160ms var(--ease-standard);
  align-self: center; margin-left: auto;
}
.site-header nav .btn-seguro:hover { background: #173E6E; }
.site-header nav { display: flex; gap: 24px; flex: 1; }
.site-header nav a {
  color: var(--ink-70); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color 160ms var(--ease-standard);
}
.site-header nav a:hover { color: var(--ink-90); }
.site-header nav a.active { color: var(--ink-90); border-bottom-color: var(--brand); }
.site-header .right { display: flex; align-items: center; gap: 16px; }
.site-header .nav-toggle {
  display: none; flex: none; width: 44px; height: 44px; margin-left: auto;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--ink-08); border-radius: 8px;
  color: var(--ink-90); cursor: pointer;
}
.site-header .nav-toggle:hover { background: var(--ink-04); }
.site-header .nav-toggle i { width: 22px; height: 22px; }
.site-header .mobile-nav { display: none; }
.site-header .phone { font-size: 13px; color: var(--ink-70); display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.site-header .phone-dot { width: 8px; height: 8px; border-radius: 999px; background: #1F6B3A; }

/* ===== Skip link (keyboard accessibility) ===== */
.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 1000;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700; padding: 12px 18px; border-radius: 6px;
  transition: top 160ms var(--ease-standard);
}
.skip-link:focus { top: 12px; }

/* ===== Button ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 6px; cursor: pointer;
  border: 1px solid transparent; transition: all 160ms var(--ease-standard);
  line-height: 1; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; text-decoration: none; }
.btn-primary:hover { background: var(--brand-700); }
.btn-primary:active { background: var(--brand-800); }
.btn-secondary { background: #fff; color: var(--ink-90); border-color: var(--ink-90); text-decoration: none; }
.btn-secondary:hover { background: var(--ink-04); }
.btn-ghost { background: transparent; color: var(--brand); padding: 10px 4px; }
.btn-ghost:hover { color: var(--brand-700); }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-on-dark.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-on-dark.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

/* ===== Hero ===== */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero .clover-watermark {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 720px; height: auto; opacity: 0.14; pointer-events: none;
}
.hero .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 84px; line-height: 0.98; letter-spacing: -0.025em;
  color: var(--ink-90); margin: 0 0 24px; max-width: 880px;
}
.hero h1 .red { color: var(--brand); }
.hero .sub {
  font-size: 19px; line-height: 1.55; color: var(--ink-70);
  max-width: 580px; margin: 0 0 36px;
}
.hero .ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero .trust-line {
  margin-top: 56px; display: flex; gap: 32px; align-items: center;
  font-size: 13px; color: var(--ink-50);
}
.hero .trust-line strong { color: var(--ink-90); font-weight: 700; }

/* ===== Hero banner (full-bleed photo + ink overlay — modo premium) ===== */
.hero--banner { background: var(--ink); padding: 128px 0 112px; }
.hero--banner .hero-scrim {
  position: absolute; inset: 0;
  background: rgba(14,14,16,0.55);
  pointer-events: none;
}
.hero--banner .clover-watermark {
  filter: brightness(0) invert(1); opacity: 0.08; z-index: 1;
}
/* Inicio: foto de banner embebida (familia + hogar + auto) */
.hero--inicio {
  background-image: url('assets/hero-inicio.webp');
  background-size: cover; background-position: right center; background-repeat: no-repeat;
}
.hero--inicio .hero-scrim {
  background: linear-gradient(90deg, rgba(14,14,16,0.82) 0%, rgba(14,14,16,0.55) 42%, rgba(14,14,16,0.15) 72%, rgba(14,14,16,0.05) 100%);
}
@media (max-width: 760px) {
  .hero--inicio { background-position: 72% center; }
  .hero--inicio .hero-scrim { background: rgba(14,14,16,0.62); }
}
.hero--banner .container { position: relative; z-index: 2; }
.hero--banner h1 { color: #fff; }
.hero--banner h1 .red { color: var(--brand-500); }
.hero--banner .sub { color: rgba(255,255,255,0.80); }

/* ===== Sub-page hero ===== */
.page-hero {
  position: relative; padding: 72px 0 56px; overflow: hidden;
  border-bottom: 1px solid var(--ink-08);
}
.page-hero .clover-watermark {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 480px; height: auto; opacity: 0.10; pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 64px; line-height: 1.0; letter-spacing: -0.025em;
  color: var(--ink-90); margin: 0 0 20px; max-width: 880px;
}
.page-hero h1 .red { color: var(--brand); }
.page-hero .sub {
  font-size: 19px; line-height: 1.55; color: var(--ink-70);
  max-width: 640px; margin: 0;
}

/* ===== Detail coverage grid (3-up) ===== */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-card {
  background: #fff; border: 1px solid var(--ink-08); border-radius: 12px;
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
  transition: all 160ms var(--ease-standard);
}
.detail-card:hover { border-color: var(--ink-90); box-shadow: var(--shadow-md); }
.detail-card .icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--brand-100); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.detail-card .icon svg { width: 23px; height: 23px; stroke-width: 1.75; }
.detail-card h3 { font-family: var(--font-display); font-size: 21px; letter-spacing: -0.01em; margin: 0; color: var(--ink-90); }
.detail-card p { font-size: 14px; line-height: 1.5; color: var(--ink-70); margin: 0; }
.detail-card { min-height: auto; }
.detail-card ul {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid transparent; padding-top: 0;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 320ms var(--ease-standard), opacity 200ms var(--ease-standard),
              padding-top 320ms var(--ease-standard), margin-top 320ms var(--ease-standard);
}
.detail-card:hover ul, .detail-card:focus-within ul {
  max-height: 320px; opacity: 1; padding-top: 18px; margin-top: 16px;
  border-top-color: var(--ink-08);
}
.detail-card ul li {
  font-size: 13px; color: var(--ink-70); display: flex; gap: 8px; align-items: flex-start;
}
.detail-card ul li svg { color: var(--brand); flex: none; width: 14px; height: 14px; stroke-width: 2.5; margin-top: 3px; }

/* ===== Empresariales: 4-up, más compacto ===== */
body[data-page="Empresariales"] .detail-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1180px) { body[data-page="Empresariales"] .detail-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) { body[data-page="Empresariales"] .detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { body[data-page="Empresariales"] .detail-grid { grid-template-columns: 1fr; } }
body[data-page="Empresariales"] .detail-card { padding: 22px; gap: 12px; min-height: auto; border-radius: 10px; }
body[data-page="Empresariales"] .detail-card .icon { width: 40px; height: 40px; }
body[data-page="Empresariales"] .detail-card .icon svg { width: 20px; height: 20px; }
body[data-page="Empresariales"] .detail-card h3 { font-size: 18px; }
body[data-page="Empresariales"] .detail-card p { font-size: 13px; line-height: 1.45; }
body[data-page="Empresariales"] .detail-card:hover ul, body[data-page="Empresariales"] .detail-card:focus-within ul { padding-top: 14px; margin-top: 12px; }
body[data-page="Empresariales"] .detail-card ul li { font-size: 12px; }

/* ===== Modelo Zubiría (empresariales) ===== */
.modelo-section {
  position: relative; overflow: hidden;
  background: #fff; padding: 104px 0;
  border-top: 1px solid var(--ink-08);
}
.modelo-watermark {
  position: absolute; right: -100px; bottom: -120px;
  width: 520px; height: auto; pointer-events: none;
  opacity: 0.07;
}
.modelo-layout {
  position: relative; display: grid;
  grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center;
}
@media (max-width: 1000px) { .modelo-layout { grid-template-columns: 1fr; gap: 48px; } }
.modelo-intro .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 16px;
}
.modelo-intro h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 48px; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink-90); margin: 0 0 20px;
}
.modelo-intro h2 .red { color: var(--brand); }
.modelo-intro p {
  font-size: 17px; line-height: 1.6; color: var(--ink-70);
  margin: 0 0 32px; max-width: 460px;
}
.modelo-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--ink-08); border: 1px solid var(--ink-08);
  border-radius: 12px; overflow: hidden;
}
@media (max-width: 640px) { .modelo-pillars { grid-template-columns: 1fr; } }
.modelo-pillar {
  background: #fff; padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.modelo-pillar .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-100); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.modelo-pillar .icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.modelo-pillar h3 {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: -0.01em; margin: 0; color: var(--ink-90);
}
.modelo-pillar p {
  font-size: 14px; line-height: 1.55; color: var(--ink-70); margin: 0;
}

/* Dark variant of the sub-page hero (matches inicio banner) */
.page-hero--dark { background: var(--ink); border-bottom: none; }
.page-hero--dark .clover-watermark { filter: brightness(0) invert(1); opacity: 0.08; }
.page-hero--dark .eyebrow { color: var(--brand-500); }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark h1 .red { color: var(--brand-500); }
.page-hero--dark .sub { color: rgba(255,255,255,0.80); }

/* Photo hero (empresariales): darkened image fused to ink on the left */
.page-hero--photo {
  background-image: url('assets/hero-empresarial.webp');
  background-size: cover; background-position: right center; background-repeat: no-repeat;
  background-color: var(--ink);
  display: flex; align-items: center; min-height: 400px;
  padding-top: 88px; padding-bottom: 88px;
}
.page-hero--photo .container { width: 100%; }
@media (max-width: 760px) {
  .page-hero--photo { background-position: 78% center; min-height: 340px; }
}

/* Photo hero (personales): familia + hogar + auto, mismo tratamiento oscuro */
.page-hero--photo-personal {
  background-image: url('assets/hero-personal-2.webp');
  background-size: cover; background-position: right center; background-repeat: no-repeat;
  background-color: var(--ink);
  display: flex; align-items: center; min-height: 400px;
  padding-top: 88px; padding-bottom: 88px;
}
.page-hero--photo-personal .container { width: 100%; }
@media (max-width: 760px) {
  .page-hero--photo-personal { background-position: 82% center; min-height: 340px; }
}

/* Photo hero (aprende): las tres generaciones + Trebolín */
.page-hero--photo-aprende {
  background-image: url('assets/hero-nosotros.webp');
  background-size: cover; background-position: right center; background-repeat: no-repeat;
  background-color: var(--ink);
  display: flex; align-items: center; min-height: 400px;
  padding-top: 88px; padding-bottom: 88px;
}
.page-hero--photo-aprende .container { width: 100%; }
@media (max-width: 760px) {
  .page-hero--photo-aprende { background-position: 74% center; min-height: 340px; }
}

/* ===== Nosotros: historia, valores, equipo ===== */
.story-section { padding: 96px 0; }
.story-row {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start;
}
.story-row .label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 16px;
}
.story-row h2 {
  font-family: var(--font-display); font-size: 44px; line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 28px; color: var(--ink-90);
}
.story-row p {
  font-size: 18px; line-height: 1.7; color: var(--ink-70); margin: 0 0 20px;
}
.story-row p strong { color: var(--ink-90); font-weight: 700; }

/* ===== Por qué un bróker (Inicio) ===== */
.porque-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) { .porque-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .porque-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .porque-grid { grid-template-columns: 1fr; } }
.porque-card {
  background: #fff; border: 1px solid var(--ink-08); border-radius: 10px;
  padding: 24px 20px; display: flex; flex-direction: column; gap: 12px;
}
.porque-card .icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--brand-100); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.porque-card .icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.porque-card h3 { font-size: 18px; font-weight: 700; margin: 0; color: var(--ink-90); }
.porque-card p { font-size: 14px; line-height: 1.6; color: var(--ink-70); margin: 0; }

/* Quiénes somos — banda roja de marca (solo texto), centrada */
.quienes-band {
  position: relative; overflow: hidden;
  background: var(--brand); color: #fff;
  padding: 88px 0;
}
.quienes-band .clover-watermark {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 420px; height: auto; opacity: 0.08; pointer-events: none;
  filter: brightness(0) invert(1);
}
.quienes-teaser { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.quienes-teaser .label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 16px;
}
.quienes-teaser h2 {
  font-family: var(--font-display); font-size: 40px; line-height: 1.08;
  letter-spacing: -0.02em; margin: 0 0 24px; color: #fff;
  text-wrap: balance;
}
.quienes-teaser p {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.9); margin: 0 0 28px;
}
.quienes-teaser p strong { color: #fff; font-weight: 700; }
.quienes-cta {
  background: #fff; color: var(--brand); border: none; text-decoration: none;
}
.quienes-cta:hover { background: rgba(255,255,255,0.9); color: var(--brand); }
@media (max-width: 1000px) { .quienes-teaser h2 { font-size: 30px; } }

/* Story photo carousel (left column) */
.story-media { position: sticky; top: 96px; }
.story-carousel { position: relative; }
.sc-stage {
  position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden;
  background: var(--ink-04); border: 1px solid var(--ink-08);
}
.sc-slide {
  position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  transition: opacity 320ms cubic-bezier(0.2,0,0,1);
}
.sc-slide.is-active { opacity: 1; visibility: visible; }
.sc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 44px 16px 14px; margin: 0;
  background: linear-gradient(to top, rgba(14,14,16,0.75), rgba(14,14,16,0));
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.4;
}
.sc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.92); color: var(--ink-90);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(14,14,16,0.16); transition: background 160ms;
}
.sc-arrow:hover { background: #fff; }
.sc-arrow svg { width: 20px; height: 20px; }
.sc-prev { left: 12px; }
.sc-next { right: 12px; }
.sc-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.sc-dot {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0;
  background: var(--ink-15); cursor: pointer; transition: all 160ms;
}
.sc-dot.is-active { background: var(--brand); width: 22px; }

/* Horizontal full-width timeline */
.story-timeline-full {
  margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--ink-08);
}
.stl-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.stl-head .label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand);
}
.stl-hint { font-size: 14px; color: var(--ink-50, #9a9aa0); margin: 0; }
/* Línea de tiempo — carrusel horizontal con riel (muestra 4, avanza en bucle) */
.tl-carousel { display: flex; align-items: flex-start; gap: 8px; margin-top: 28px; }
.tl-viewport { flex: 1 1 auto; overflow: hidden; }
.tl-track {
  list-style: none; margin: 0; padding: 0; display: flex;
  transition: transform 480ms var(--ease-standard);
}
.tl-item {
  position: relative; flex: 0 0 auto; padding: 0 18px; text-align: center;
  box-sizing: border-box;
}
/* el riel: cada ítem dibuja su segmento → forman una línea continua */
.tl-item::before {
  content: ''; position: absolute; left: 0; right: 0; top: 19px;
  height: 2px; background: var(--ink-15);
}
.tl-marker { position: relative; height: 40px; }
.tl-dot {
  display: inline-block; width: 15px; height: 15px; margin-top: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
  position: relative; z-index: 1;
}
.tl-year {
  font-family: var(--font-display); font-size: 20px; color: var(--brand);
  line-height: 1; margin-top: 12px;
}
.tl-title { font-size: 14px; font-weight: 700; color: var(--ink-90); margin-top: 8px; }
.tl-text {
  font-size: 13px; line-height: 1.5; color: var(--ink-70);
  margin: 8px auto 0; max-width: 240px;
}
.tl-nav {
  flex: none; margin-top: 4px;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--ink-90); border: 1px solid var(--ink-15);
  font-size: 24px; line-height: 1; padding-bottom: 3px;
  transition: background 160ms, color 160ms, border-color 160ms;
}
.tl-nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.tl-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.tl-dot-nav {
  width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: var(--ink-15); transition: background 160ms, transform 160ms;
}
.tl-dot-nav:hover { background: var(--ink-30, #b8b8be); }
.tl-dot-nav.is-active { background: var(--brand); transform: scale(1.3); }

.nosotros-cta {
  border: 1px solid var(--ink-08); border-radius: 14px; background: #fff;
  padding: 56px 48px; text-align: center;
}
.nosotros-cta h2 {
  font-family: var(--font-display); font-size: 36px; line-height: 1.08;
  letter-spacing: -0.01em; margin: 0 0 14px; color: var(--ink-90);
}
.nosotros-cta p { font-size: 17px; line-height: 1.6; color: var(--ink-70); margin: 0 auto 28px; max-width: 52ch; }
.nosotros-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.value-card {
  background: #fff; border: 1px solid var(--ink-08); border-radius: 12px;
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.value-card .num {
  font-family: var(--font-display); font-size: 20px; color: var(--brand);
  letter-spacing: 0.02em;
}
.value-card h3 {
  font-family: var(--font-display); font-size: 22px; margin: 0; color: var(--ink-90);
  letter-spacing: -0.01em;
}
.value-card p { font-size: 15px; line-height: 1.55; color: var(--ink-70); margin: 0; }

.team-section { padding: 96px 0; background: var(--paper); border-top: 1px solid var(--ink-08); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  background: #fff; border: 1px solid var(--ink-08); border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column; gap: 4px;
}
.team-avatar {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 56px; color: var(--brand);
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.team-name { font-size: 16px; font-weight: 700; color: var(--ink-90); margin: 0; }
.team-role { font-size: 13px; color: var(--ink-50); margin: 0; }

/* ===== Section header utility ===== */
.section { padding: 96px 0; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand);
}
.section-head h2 {
  font-family: var(--font-display); font-size: 48px; line-height: 1.05;
  letter-spacing: -0.02em; margin: 12px 0 16px; color: var(--ink-90);
}
.section-head p { font-size: 17px; line-height: 1.6; color: var(--ink-70); margin: 0; }

/* ===== Coverage: 4-up cards ===== */
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.coverage-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) {
  .coverage-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
.coverage-card {
  background: #fff; border: 1px solid var(--ink-08); border-radius: 10px;
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
  cursor: pointer; transition: all 160ms var(--ease-standard);
  min-height: 210px; text-decoration: none; color: inherit;
}
.coverage-card:hover {
  border-color: var(--ink-90); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.coverage-card .icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--brand-100); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.coverage-card .icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.coverage-card h3 { font-size: 18px; font-weight: 700; margin: 0; color: var(--ink-90); }
.coverage-card p { font-size: 13.5px; line-height: 1.5; color: var(--ink-70); margin: 0; flex: 1; }
.coverage-card .arrow {
  font-size: 13px; font-weight: 600; color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
}

/* ===== Quote flow ===== */
.quote-section { background: var(--ink); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.quote-section .clover-bg {
  position: absolute; left: -80px; bottom: -120px;
  width: 480px; opacity: 0.08; filter: brightness(0) invert(1);
  pointer-events: none;
}
.quote-section .container { position: relative; }
.quote-section .row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.quote-section p { color: rgba(255,255,255,0.7); font-size: 17px; line-height: 1.6; }

.quote-form {
  background: #fff; color: var(--ink-90); border-radius: 12px;
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
}
.quote-form .steps { display: flex; gap: 8px; margin-bottom: 8px; }
.quote-form .step {
  flex: 1; height: 4px; border-radius: 999px; background: var(--ink-08);
}
.quote-form .step.active { background: var(--brand); }
.quote-form h3 { margin: 0; font-size: 22px; font-weight: 700; }
.quote-form .field { display: flex; flex-direction: column; gap: 6px; }
.quote-form label { font-size: 13px; font-weight: 600; color: var(--ink-90); }
.quote-form input, .quote-form select, .quote-form textarea {
  font-family: var(--font-sans); font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--ink-15); border-radius: 6px; background: #fff;
  color: var(--ink-90);
}
.quote-form textarea { resize: vertical; line-height: 1.45; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(169,38,54,0.25); outline: none;
}
.quote-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form .seg { display: flex; gap: 8px; flex-wrap: wrap; }
.quote-form .seg button {
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  padding: 10px 16px; border-radius: 6px;
  border: 1px solid var(--ink-15); background: #fff; color: var(--ink-90);
  cursor: pointer; transition: all 160ms;
}
.quote-form .seg button.on {
  border-color: var(--brand); background: var(--brand-50); color: var(--brand-800);
}
.quote-form .submit-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
}
.quote-form .step-meta { font-size: 12px; color: var(--ink-50); white-space: nowrap; }

/* Cotizador guiado — tarjetas de categoría (Personales / Empresariales) */
.quote-form .cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form .cat-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 22px 18px; background: #fff; text-align: left;
  border: 1px solid var(--ink-15); border-radius: 6px;
  font-family: var(--font-sans); cursor: pointer;
  transition: all 160ms var(--ease-standard);
}
.quote-form .cat-card svg { width: 28px; height: 28px; stroke-width: 1.75; color: var(--ink-50); transition: color 160ms var(--ease-standard); }
.quote-form .cat-card .cat-title { font-size: 17px; font-weight: 700; color: var(--ink-90); margin-top: 4px; }
.quote-form .cat-card .cat-desc { font-size: 13px; line-height: 1.45; color: var(--ink-50); }
.quote-form .cat-card:hover { border-color: var(--brand); background: var(--brand-50); }
.quote-form .cat-card:hover svg { color: var(--brand); }

/* Cotizador guiado — tiles de tipo de seguro */
.quote-form .type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.quote-form .type-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 6px 14px; background: #fff;
  border: 1px solid var(--ink-15); border-radius: 6px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--ink-70);
  cursor: pointer; transition: all 160ms var(--ease-standard);
}
.quote-form .type-tile svg { width: 24px; height: 24px; stroke-width: 1.75; color: var(--ink-50); transition: color 160ms var(--ease-standard); }
.quote-form .type-tile:hover { border-color: var(--brand); color: var(--ink-90); background: var(--brand-50); }
.quote-form .type-tile:hover svg { color: var(--brand); }
.quote-form .form-hint { font-size: 13px; color: var(--ink-50); line-height: 1.5; margin: 0; }
.quote-form .form-hint a { color: var(--brand); font-weight: 600; text-decoration: none; }
.quote-form .form-hint a:hover { color: var(--brand-700); }

/* Cotizador guiado — resumen antes de enviar */
.quote-form .q-summary { border: 1px solid var(--ink-08); border-radius: 6px; overflow: hidden; }
.quote-form .q-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 16px; font-size: 14px;
}
.quote-form .q-row + .q-row { border-top: 1px solid var(--ink-08); }
.quote-form .q-row span { color: var(--ink-50); }
.quote-form .q-row b { color: var(--ink-90); font-weight: 600; text-align: right; }

/* ===== Philosophy pull-quote ===== */
.philosophy {
  padding: 120px 0; background: var(--paper);
  border-top: 1px solid var(--ink-08);
  border-bottom: 1px solid var(--ink-08);
}
.philosophy .container {
  text-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.philosophy .clover-accent {
  width: 56px; height: auto; opacity: 0.85;
  margin-bottom: 36px;
}
.philo-quote {
  font-family: var(--font-display); font-size: 64px; line-height: 1.08;
  letter-spacing: -0.02em; color: var(--ink-90);
  margin: 0; max-width: 1000px;
}
.philo-quote .red { color: var(--brand); }
.philo-rule {
  width: 56px; height: 2px; background: var(--brand);
  margin: 40px 0 20px;
}
.philo-attr {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-50); margin: 0;
}
.coverage-two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.coverage-line {
  background: #fff; border: 1px solid var(--ink-08); border-radius: 14px;
  padding: 36px; display: flex; flex-direction: column; gap: 16px;
  min-height: 480px;
}
.coverage-line-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.coverage-line-dark .coverage-desc { color: rgba(255,255,255,0.7); }
.coverage-line-dark .coverage-items { color: rgba(255,255,255,0.85); }
.coverage-line-dark .kicker { color: var(--brand-500); }
.coverage-line-head { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.coverage-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--brand-100); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.coverage-line-dark .coverage-icon { background: rgba(199,58,74,0.2); color: var(--brand-500); }
.coverage-icon svg { width: 26px; height: 26px; stroke-width: 1.75; }
.coverage-line .kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand);
}
.coverage-title {
  font-family: var(--font-display); font-size: 30px; line-height: 1.1;
  letter-spacing: -0.015em; margin: 0; color: inherit;
}
.coverage-desc {
  font-size: 16px; line-height: 1.55; color: var(--ink-70); margin: 0 0 4px;
}
.coverage-items {
  list-style: none; padding: 0; margin: 8px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px;
  font-size: 14px; color: var(--ink-70); flex: 1;
}
.coverage-items li { display: flex; gap: 8px; align-items: center; }
.coverage-items li svg { color: var(--brand); flex: none; stroke-width: 2.5; }
.coverage-line-dark .coverage-items li svg { color: var(--brand-500); }
.coverage-line .btn { align-self: flex-start; margin-top: 8px; }

/* ===== Awards section ===== */
.awards-section { padding: 96px 0; background: var(--paper); }
.awards-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 32px;
  align-items: start;
}
.awards-icon {
  width: 64px; height: 64px; border-radius: 12px;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.awards-icon svg { width: 32px; height: 32px; stroke-width: 1.75; }
.awards-copy { max-width: 640px; }
.awards-title {
  font-family: var(--font-display); font-size: 36px; line-height: 1.15;
  letter-spacing: -0.015em; margin: 8px 0 16px; color: var(--ink-90);
}
.awards-title .muted { color: var(--ink-50); font-weight: 400;
  font-family: var(--font-sans); font-size: 26px; letter-spacing: -0.01em; }
.awards-body { font-size: 16px; line-height: 1.6; color: var(--ink-70); margin: 0; }
.awards-stats {
  display: flex; flex-direction: column; gap: 20px;
  border-left: 1px solid var(--ink-15); padding-left: 32px; min-width: 220px;
}
.awards-stats .n {
  font-family: var(--font-display); font-size: 36px; line-height: 1;
  color: var(--brand); letter-spacing: -0.015em;
}
.awards-stats .l {
  font-size: 12px; color: var(--ink-70); text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600; margin-top: 4px;
}

/* ===== Aseguradoras strip ===== */
.aseguradoras-section { padding: 96px 0; }
.aseguradoras-section .section-head { text-align: center; }
.insurers-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
  background: var(--ink-08); border: 1px solid var(--ink-08); border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 900px) { .insurers-grid { grid-template-columns: repeat(2, 1fr); } }
.insurer-cell {
  background: #fff; padding: 28px 16px;
  display: flex; align-items: center; justify-content: center;
  min-height: 96px;
  transition: background 160ms;
}
.insurer-cell:hover { background: var(--brand-50); }
.insurer-logo {
  max-width: 84%; width: auto; height: auto;
  object-fit: contain; display: block;
  filter: grayscale(1); opacity: 0.6;
  transition: filter 160ms, opacity 160ms;
}
.insurer-cell:hover .insurer-logo { filter: grayscale(0); opacity: 1; }
.insurer-name {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: -0.01em; color: var(--ink-50);
  text-transform: uppercase;
}
.insurer-cell:hover .insurer-name { color: var(--brand-800); }
.insurers-note {
  margin: 16px 0 0; font-size: 12px; color: var(--ink-30); text-align: center;
}
.insurers-note code {
  background: var(--ink-04); padding: 2px 6px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-70);
}

/* ===== Contact block (WhatsApp-first) ===== */
.contact-section {
  background: var(--ink); color: #fff; padding: 96px 0;
  position: relative; overflow: hidden;
}
.contact-section .clover-bg {
  position: absolute; left: -80px; bottom: -120px;
  width: 480px; opacity: 0.08; filter: brightness(0) invert(1);
  pointer-events: none;
}
.contact-section .container { position: relative; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center;
}
.contact-title {
  font-family: var(--font-display); font-size: 44px; line-height: 1.08;
  letter-spacing: -0.02em; margin: 12px 0 20px; color: #fff;
}
.contact-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.7); margin: 0; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center;
  padding: 20px 24px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  color: #fff; text-decoration: none;
  transition: all 160ms var(--ease-standard);
}
.contact-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }
.contact-card.primary { background: var(--brand); border-color: var(--brand); }
.contact-card.primary:hover { background: var(--brand-700); border-color: var(--brand-700); }
.contact-card .ico {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-card .ico svg { width: 24px; height: 24px; stroke-width: 1.75; }
.contact-card .meta .lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.contact-card.primary .meta .lbl { color: rgba(255,255,255,0.8); }
.contact-card .meta .val { font-size: 18px; font-weight: 700; margin-top: 4px; }
.contact-card .meta .hint { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.contact-card.primary .meta .hint { color: rgba(255,255,255,0.85); }
.contact-card .cta-arrow { width: 18px; height: 18px; opacity: 0.6; }
.contact-card:hover .cta-arrow { opacity: 1; }

/* ===== Trust strip ===== */
.trust-strip { padding: 64px 0; border-top: 1px solid var(--ink-08); border-bottom: 1px solid var(--ink-08); }
.trust-strip .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust-strip .item { text-align: left; }
.trust-strip .n {
  font-family: var(--font-display); font-size: 56px; line-height: 1;
  color: var(--brand); letter-spacing: -0.02em;
}
.trust-strip .l {
  font-size: 13px; color: var(--ink-70); text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600; margin-top: 10px;
}

/* ===== Testimonials (3 cards) ===== */
.testimonials { background: var(--ink); color: #fff; padding: 96px 0; }

/* Rotador (carrusel) de testimonios */
.t-rotator { display: flex; align-items: stretch; gap: 16px; max-width: 1160px; margin: 0 auto; }
.t-viewport { flex: 1 1 auto; overflow: hidden; }
.t-track {
  display: flex; align-items: stretch;
  transition: transform 420ms var(--ease-standard);
}
.t-slide {
  flex: none; margin: 0; box-sizing: border-box;
  position: relative;
  padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
}
.t-slide::before {
  content: ""; position: absolute; inset: 0 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.t-slide > * { position: relative; z-index: 1; }
.t-quote {
  font-size: 20px; line-height: 1.55; color: rgba(255,255,255,0.95);
  margin: 0; flex: 1; font-weight: 500;
}
@media (max-width: 700px) { .t-quote { font-size: 17px; } }
.t-tag {
  align-self: flex-start; white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 12px; border-radius: 999px;
}
.t-attr {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
}
.t-avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 17px; flex: none;
}
.t-name { font-size: 15px; font-weight: 700; color: #fff; }
.t-role { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.t-arrow {
  flex: none; align-self: center;
  width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 26px; line-height: 1; padding-bottom: 3px;
  transition: background 160ms, border-color 160ms;
}
.t-arrow:hover { background: var(--brand); border-color: var(--brand); }
@media (max-width: 560px) { .t-arrow { display: none; } }
.t-dots { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }
.t-dot {
  width: 9px; height: 9px; border-radius: 999px; border: none; cursor: pointer; padding: 0;
  background: rgba(255,255,255,0.25); transition: background 160ms, transform 160ms;
}
.t-dot:hover { background: rgba(255,255,255,0.5); }
.t-dot.is-active { background: var(--brand); transform: scale(1.25); }

/* ===== Zeguro.pe section ===== */
.zeguro-section { padding: 96px 0; background: var(--paper); }
.zeguro-row {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center;
}
.zeguro-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-100); color: var(--brand-800);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 20px;
}
.zeguro-badge .dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--brand);
  animation: zeguro-pulse 2s ease-in-out infinite;
}
@keyframes zeguro-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.zeguro-title {
  font-family: var(--font-display); font-size: 52px; line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 20px; color: var(--ink-90);
}
.zeguro-brand { display: inline-block; }
.zeguro-brand .dot-red { color: var(--brand); }
.zeguro-body { font-size: 17px; line-height: 1.6; color: var(--ink-70); margin: 0 0 32px; }
.zeguro-body strong { color: var(--ink-90); font-weight: 700; }
.zeguro-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.zeguro-features li {
  display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: center;
}
.zeguro-features li svg { width: 22px; height: 22px; stroke-width: 1.75; }
.zeguro-features li b {
  display: block; font-size: 14px; font-weight: 700; color: var(--ink-90); margin-bottom: 2px;
}
.zeguro-features li span { font-size: 13px; color: var(--ink-50); }
.zeguro-ctas { display: flex; align-items: center; gap: 16px; }
.zeguro-disclaimer { font-size: 12px; color: var(--ink-50); }

/* Real screenshot of Zeguro.pe */
.zeguro-shot {
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-08);
  transform: rotate(0.5deg);
  transition: transform 240ms var(--ease-standard);
}
.zeguro-shot:hover { transform: rotate(0deg); }
.zeguro-shot img { display: block; width: 100%; height: auto; }

/* Browser mock */
.mock-frame {
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  overflow: hidden; transform: rotate(0.5deg);
  transition: transform 240ms var(--ease-standard);
}
.mock-frame:hover { transform: rotate(0deg); }
.mock-chrome {
  background: var(--ink-04); padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--ink-08);
}
.mock-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--ink-15); }
.mock-url {
  flex: 1; background: #fff; border: 1px solid var(--ink-08); border-radius: 6px;
  padding: 4px 12px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-50);
  margin-left: 14px;
}
.mock-body { padding: 32px; }
.mock-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.mock-h1 {
  font-family: var(--font-display); font-size: 28px; line-height: 1.1;
  letter-spacing: -0.015em; color: var(--ink-90); margin-bottom: 24px;
}
.mock-tabs { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.mock-tabs span {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--ink-04); color: var(--ink-50); font-weight: 600;
}
.mock-tabs span.on { background: var(--brand); color: #fff; }
.mock-input, .mock-field {
  border: 1px solid var(--ink-15); border-radius: 8px; padding: 10px 14px;
  margin-bottom: 12px;
}
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.mock-grid .mock-field { margin-bottom: 0; }
.mock-input label, .mock-field label {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-50); margin-bottom: 4px;
}
.mock-input .val, .mock-field .val { font-size: 14px; color: var(--ink-90); font-weight: 500; }
.mock-input .cursor {
  display: inline-block; width: 1px; height: 14px; background: var(--brand);
  vertical-align: text-bottom; margin-left: 1px; animation: mock-blink 1s steps(2) infinite;
}
@keyframes mock-blink { 50% { opacity: 0; } }
.mock-btn {
  background: var(--brand); color: #fff; padding: 12px;
  border-radius: 8px; font-size: 14px; font-weight: 600; text-align: center;
  margin-top: 4px;
}

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 72px 0 32px; }
.site-footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1fr; gap: 48px; margin-bottom: 56px; }
@media (max-width: 960px) { .site-footer .top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .site-footer .top { grid-template-columns: 1fr; gap: 32px; } }
.site-footer .brand img { height: 32px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.site-footer .brand .socials { display: flex; gap: 10px; margin-top: 20px; }
.site-footer .brand .socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); transition: all 160ms;
}
.site-footer .brand .socials a:hover { background: var(--brand); color: #fff; }
.site-footer .brand .socials svg { width: 18px; height: 18px; stroke-width: 1.75; }
.site-footer .brand p { font-size: 14px; line-height: 1.55; max-width: 280px; }
.site-footer h4 {
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; margin: 0 0 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; }
.site-footer ul a:hover { color: #fff; }
/* Memberships strip (APECOSE / SBS) */
.site-footer .memberships {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex; gap: 48px; flex-wrap: wrap; align-items: center;
}
.site-footer .membership { display: flex; align-items: center; gap: 14px; }
.site-footer .membership-logo {
  flex: none; height: 40px; min-width: 84px; padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
}
.site-footer .membership-logo img { display: block; max-height: 30px; width: auto; }
/* Real membership logos: rendered solid white on the dark footer */
.site-footer .membership-logo--img { border: none; padding: 0; min-width: 0; }
.site-footer .membership-logo--img img {
  height: 38px; width: auto; max-width: 145px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.85;
}
.site-footer .membership-text {
  font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.55); max-width: 330px;
}
.site-footer .membership-text strong { color: rgba(255,255,255,0.85); font-weight: 600; }

.site-footer .useful-links ul a:hover { color: #fff; }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.6;
}
.site-footer .legal .legal-left { display: flex; flex-direction: column; gap: 3px; }
.site-footer .legal .legal-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-start; }
.site-footer .legal .legal-links a { color: rgba(255,255,255,0.6); text-decoration: none; white-space: nowrap; }
.site-footer .legal .legal-links a:hover { color: #fff; }

/* Consent checkbox (contacto / cotizador) */
.form-consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.form-consent input[type="checkbox"] { margin: 2px 0 0; width: 16px; height: 16px; flex: none; padding: 0; border: none; border-radius: 4px; box-shadow: none; accent-color: var(--brand); }
.form-consent span { font-size: 13px; font-weight: 400; color: var(--ink-70); line-height: 1.5; }
.form-consent a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* ===================================================================
   Contacto page
   =================================================================== */
.contacto-layout {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start;
}
.contacto-form {
  background: #fff; border: 1px solid var(--ink-08); border-radius: 14px;
  padding: 40px; display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-md);
}
.contacto-form h3 {
  font-family: var(--font-display); font-size: 28px; letter-spacing: -0.01em;
  margin: 0; color: var(--ink-90);
}
.contacto-form .form-lead { font-size: 15px; color: var(--ink-70); margin: -8px 0 8px; line-height: 1.5; }
.contacto-form .field { display: flex; flex-direction: column; gap: 7px; }
.contacto-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contacto-form label {
  font-size: 13px; font-weight: 600; color: var(--ink-90);
}
.contacto-form label .opt { color: var(--ink-50); font-weight: 400; }
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--ink-90);
  padding: 12px 14px; border: 1px solid var(--ink-08); border-radius: 8px;
  background: var(--paper); transition: border-color 160ms var(--ease-standard), box-shadow 160ms var(--ease-standard);
  width: 100%;
}
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.contacto-form textarea { resize: vertical; min-height: 96px; }
.contacto-form .form-note {
  font-size: 12px; color: var(--ink-50); text-align: center; margin: -4px 0 0;
}

.contacto-info { display: flex; flex-direction: column; gap: 8px; }
.info-block {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 18px; border-radius: 10px; transition: background 160ms var(--ease-standard);
}
.info-block:hover { background: var(--ink-04); }
.info-ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-100); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.info-ico svg { width: 22px; height: 22px; stroke-width: 1.75; }
.info-lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-50);
}
.info-val {
  display: block; font-size: 16px; font-weight: 700; color: var(--ink-90);
  text-decoration: none; margin-top: 4px;
}
a.info-val:hover { color: var(--brand); }
.info-hint { font-size: 13px; color: var(--ink-70); margin-top: 3px; }

.info-hours {
  margin-top: 12px; padding: 22px; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--ink-08);
}
.hours-row {
  display: flex; justify-content: space-between; gap: 16px; font-size: 14px;
  padding: 8px 0; color: var(--ink-90); border-bottom: 1px solid var(--ink-08);
  white-space: nowrap;
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { font-weight: 600; }
.hours-row.muted { color: var(--ink-50); }
.hours-row.muted span:last-child { color: var(--ink-50); font-weight: 500; }

@media (max-width: 860px) {
  .contacto-layout { grid-template-columns: 1fr; gap: 32px; }
  .contacto-form { padding: 28px; }
}

/* Mapa de ubicación */
.contacto-map { margin-top: 48px; }
.contacto-map .map-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 14px; flex-wrap: wrap;
}
.contacto-map .map-link {
  font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: none;
}
.contacto-map .map-link:hover { color: var(--brand-700); }
.contacto-map iframe {
  width: 100%; height: 380px; border: 1px solid var(--ink-08);
  border-radius: 12px; display: block;
}

/* ===================================================================
   Responsive — prevent horizontal overflow on every page
   =================================================================== */
html, body { overflow-x: hidden; }

/* Header adapts so the right cluster never forces horizontal scroll */
@media (max-width: 1180px) {
  .site-header .phone { display: none; }
}
@media (max-width: 1024px) {
  .site-header nav { gap: 18px; }
  .site-header .inner { gap: 20px; }
}
@media (max-width: 920px) {
  .site-header nav { display: none; }
  .site-header .right { display: none; }
  .site-header .inner { justify-content: space-between; }
  .site-header .nav-toggle { display: inline-flex; }
  .site-header .mobile-nav {
    display: block; max-height: 0; overflow: hidden;
    border-top: 0 solid var(--ink-08);
    background: rgba(255,255,255,0.98);
    transition: max-height 320ms var(--ease-standard);
  }
  .site-header .mobile-nav.open {
    max-height: 80vh; border-top-width: 1px;
    box-shadow: 0 16px 40px rgba(14,14,16,0.12);
  }
  .site-header .mobile-nav nav { display: flex; flex-direction: column; padding: 8px 24px; }
  .site-header .mobile-nav nav a {
    color: var(--ink-90); text-decoration: none; font-size: 16px; font-weight: 600;
    padding: 14px 0; border-bottom: 1px solid var(--ink-08);
  }
  .site-header .mobile-nav nav a.active { color: var(--brand); }
  .site-header .mobile-actions { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px 28px; }
  .site-header .mobile-actions .btn-primary { width: 100%; height: 46px; }
  .site-header .btn-seguro-mobile {
    display: inline-flex; align-items: center; justify-content: center; height: 44px;
    background: #1E4F8A; color: #fff; text-decoration: none; border-radius: 6px;
    font-weight: 700; font-size: 14px;
  }
  .site-header .mobile-phone { font-size: 13px; color: var(--ink-70); text-align: center; margin-top: 4px; }
}

/* ===== Carrusel — controles compartidos (dots + flecha) ===== */
.car-nav { display: flex; align-items: center; gap: 14px; }
.car-dots { display: flex; gap: 8px; align-items: center; }
.car-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0;
  background: var(--ink-15); cursor: pointer;
  transition: all 200ms var(--ease-standard);
}
.car-dots button.on { background: var(--brand); width: 24px; }
.car-arrow {
  width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid var(--ink-15); background: #fff; color: var(--ink-90);
  display: grid; place-items: center; cursor: pointer;
  transition: all 200ms var(--ease-standard);
}
.car-arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.car-arrow svg { width: 20px; height: 20px; }

/* Hero carousel (sobre fondo oscuro) */
.hero--banner .container { min-height: 340px; display: flex; flex-direction: column; }
.hero-slide { flex: 1; }
.hero-slide--philo { display: flex; flex-direction: column; justify-content: center; padding: 8px 0; }
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-500); margin: 0 0 22px;
}
.philo-quote--hero {
  font-family: var(--font-display); font-weight: 900;
  font-size: 54px; line-height: 1.08; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 24px; max-width: 860px;
}
.philo-quote--hero .red { color: var(--brand-500); }
.philo-attr--hero {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin: 0;
}
.hero-carousel-nav { margin-top: 40px; }
.hero-carousel-nav .car-dots button { background: rgba(255,255,255,0.35); }
.hero-carousel-nav .car-dots button.on { background: #fff; }
.hero-carousel-nav .car-arrow {
  background: transparent; border-color: rgba(255,255,255,0.45); color: #fff;
}
.hero-carousel-nav .car-arrow:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ===== WhyBroker — "¿Por qué un bróker?" (narrado por Trebolín) ===== */
.whybroker { padding: 84px 0; border-top: 1px solid var(--ink-08); }
.wb-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 12px;
}
.wb-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: 40px; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink-90); margin: 0 0 28px; max-width: none; text-wrap: balance;
}
.wb-title .red { color: var(--brand); }
.wb-bubble {
  display: flex; align-items: center; gap: 18px; margin: 0 0 32px;
  max-width: 760px;
}
.wb-avatar {
  flex: 0 0 84px; width: 84px; height: 84px; border-radius: 999px;
  border: 1px solid var(--ink-08); background: var(--ink-04);
  overflow: hidden; display: grid; place-items: center;
}
.wb-avatar image-slot, .wb-avatar img { width: 100%; height: 100%; display: block; }
.wb-avatar img { object-fit: cover; object-position: center 22%; }
.wb-speech {
  position: relative; margin: 0; padding: 18px 22px;
  background: #fff; border: 1px solid var(--ink-08); border-radius: 12px;
  font-size: 16px; line-height: 1.55; color: var(--ink-70);
}
.wb-speech::before {
  content: ''; position: absolute; left: -9px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 16px; height: 16px; background: #fff;
  border-left: 1px solid var(--ink-08); border-bottom: 1px solid var(--ink-08);
}
.wb-compare { display: grid; grid-template-columns: 1.32fr 0.88fr; gap: 16px; margin-bottom: 22px; }
.wb-col {
  position: relative; border-radius: 12px; padding: 26px 28px; overflow: hidden;
}
.wb-col h3 {
  font-family: var(--font-display); font-size: 19px; letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.wb-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.wb-col li { display: flex; gap: 10px; align-items: center; font-size: 13.75px; line-height: 1.45; }
.wb-col li svg { width: 18px; height: 18px; flex: 0 0 18px; }
.wb-col--brand { background: var(--ink); color: #fff; }
.wb-col--brand h3 { color: #fff; }
.wb-col--brand li svg { color: var(--brand-500); }
.wb-col--brand .wb-clover {
  position: absolute; right: -40px; bottom: -40px; width: 180px;
  filter: brightness(0) invert(1); opacity: 0.06; pointer-events: none;
}
.wb-col--plain { background: #fff; border: 1px solid var(--ink-08); color: var(--ink-70); }
.wb-col--plain h3 { color: var(--ink-90); }
.wb-col--plain li svg { color: var(--ink-50); }
.wb-note { font-size: 14px; color: var(--ink-50); margin: 0; max-width: 720px; line-height: 1.55; text-wrap: pretty; }

/* ===== Launches — "Nuevos lanzamientos" (Zeguro + Trebolín) ===== */
.launches-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 32px; flex-wrap: wrap;
}
.launches-section .car-arrow--light {
  background: #fff; border-color: var(--ink-15); color: var(--ink-90);
}
.trebolin-shot {
  width: 100%; min-height: 360px; border-radius: 14px;
  background: var(--ink-04); border: 1px solid var(--ink-08);
  display: grid; place-items: center; padding: 24px;
}
.trebolin-shot image-slot { width: 100%; height: 100%; min-height: 312px; display: block; }
.trebolin-shot img { width: 100%; height: 100%; min-height: 312px; max-height: 460px; object-fit: contain; display: block; }

/* ===== Aprende — glosario acordeón ===== */
.aprende-body { padding: 72px 0 96px; }
.aprende-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.aprende-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.aprende-trebolin {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 14px;
  background: var(--ink); border: 1px solid var(--ink); overflow: hidden;
  display: grid; place-items: center; padding: 20px;
}
.aprende-trebolin image-slot, .aprende-trebolin img { width: 100%; height: 100%; display: block; }
.aprende-trebolin img { object-fit: contain; }
.aprende-aside-note { font-size: 14px; line-height: 1.55; color: var(--ink-70); margin: 0; }
.aprende-acc { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border: 1px solid var(--ink-08); border-radius: 10px; background: #fff; overflow: hidden; }
.acc-item.open { border-color: var(--ink-15); }
.acc-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 18px; letter-spacing: -0.01em; color: var(--ink-90);
}
.acc-q svg { width: 20px; height: 20px; color: var(--brand); flex: 0 0 20px; }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease-standard); }
.acc-a-inner { overflow: hidden; }
.acc-a p {
  margin: 0; padding: 0 24px 24px; font-size: 15.5px; line-height: 1.6;
  color: var(--ink-70); max-width: 62ch;
}

@media (min-width: 1160px) {
  .wb-col li span { white-space: nowrap; }
}
@media (max-width: 880px) {
  .wb-compare { grid-template-columns: 1fr; }
  .aprende-grid { grid-template-columns: 1fr; gap: 32px; }
  .aprende-aside { position: static; }
  .aprende-trebolin { aspect-ratio: 16 / 10; max-width: 420px; }
  .launches-head { margin-bottom: 24px; }
}

/* ===================================================================
   Accesibilidad — foco visible por teclado
   El diseño suprime el outline por defecto; lo devolvemos con un anillo
   de marca, solo para navegación por teclado (:focus-visible), nunca al
   hacer clic con el mouse.
   =================================================================== */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Sobre superficies oscuras (footer, contacto, testimonios, cotizador,
   banners premium) un anillo blanco contrasta mejor que el rojo. */
.site-footer :focus-visible,
.contact-section :focus-visible,
.testimonials :focus-visible,
.quote-section :focus-visible,
.hero--banner :focus-visible,
.quienes-band :focus-visible,
.page-hero--dark :focus-visible,
.page-hero--photo :focus-visible,
.page-hero--photo-personal :focus-visible,
.page-hero--photo-aprende :focus-visible,
.wb-col--brand :focus-visible {
  outline-color: #fff;
}
/* Los campos de formulario ya muestran su halo de marca al enfocar;
   evitamos duplicar el anillo encima. */
.contacto-form input:focus-visible,
.contacto-form select:focus-visible,
.contacto-form textarea:focus-visible,
.quote-form input:focus-visible,
.quote-form select:focus-visible,
.quote-form textarea:focus-visible {
  outline: none;
}

/* ===================================================================
   Accesibilidad — respeto por "reducir movimiento"
   Sin animaciones en bucle ni transiciones largas para quien lo pida.
   (Los carruseles también dejan de auto-avanzar — ver el JS.)
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .zeguro-badge .dot { animation: none; }
}

/* ===== Portal de clientes — shell de app, sin nav del sitio ===== */
.portal-app { min-height: 100vh; background: var(--ink-04, #F5F5F6); }
.portal-topbar {
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; background: #fff; border-bottom: 1px solid var(--ink-08);
}
.portal-logo-link { display: flex; align-items: center; }
.portal-logo-link img { height: 28px; width: auto; display: block; }
.portal-back {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink-70);
}
.portal-back:hover { color: var(--brand); }

.portal-section { padding: 64px 0 96px; }
.portal-center {
  display: flex; flex-direction: column; align-items: center; gap: 72px;
  max-width: 880px; margin: 0 auto;
}
.portal-login {
  width: 100%; max-width: 460px;
  background: #fff; border: 1px solid var(--ink-08); border-radius: 16px;
  padding: 44px 40px; display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-md);
}
.portal-login-mark { display: flex; justify-content: center; margin-bottom: -4px; }
.portal-login-mark img { width: 40px; height: 40px; }
.portal-login h3 {
  font-family: var(--font-display); font-size: 26px; letter-spacing: -0.01em;
  margin: 0; color: var(--ink-90); text-align: center;
}
.portal-notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--brand-100); border: 1px solid var(--brand-100);
  border-radius: 10px; padding: 14px 16px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-90);
}
.portal-notice i { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 1px; }
.portal-form { display: flex; flex-direction: column; gap: 16px; }
.portal-form .field { display: flex; flex-direction: column; gap: 7px; }
.portal-form label { font-size: 13px; font-weight: 600; color: var(--ink-90); }
.portal-form input {
  font-family: var(--font-sans); font-size: 15px; color: var(--ink-90);
  padding: 12px 14px; border: 1px solid var(--ink-08); border-radius: 8px;
  width: 100%;
}
.portal-form input:disabled {
  background: var(--ink-04); color: var(--ink-50); cursor: not-allowed;
}
.portal-form .btn:disabled { opacity: 0.5; cursor: not-allowed; }

.portal-preview { width: 100%; }
.portal-preview h2 {
  font-family: var(--font-display); font-size: 28px; letter-spacing: -0.01em;
  margin: 0 0 28px; color: var(--ink-90); text-align: center;
}
.portal-features--grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.portal-feature {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--ink-08); border-radius: 12px;
  padding: 24px;
  flex: 1 1 240px; max-width: calc(33.333% - 14px);
}
.portal-feature-ico {
  width: 44px; height: 44px; flex: none; border-radius: 10px;
  background: var(--ink-04); display: flex; align-items: center; justify-content: center;
}
.portal-feature-ico i { width: 20px; height: 20px; color: var(--brand); }
.portal-feature-title { font-size: 16px; font-weight: 700; color: var(--ink-90); margin-bottom: 4px; }
.portal-feature-desc { font-size: 14px; line-height: 1.5; color: var(--ink-70); }

@media (max-width: 860px) {
  .portal-feature { max-width: calc(50% - 10px); }
}
@media (max-width: 640px) {
  .portal-login { padding: 32px 24px; }
  .portal-feature { max-width: 100%; }
}

/* Sub-page hero scales down gracefully */
@media (max-width: 760px) {
  .page-hero h1 { font-size: 44px; }
  .hero h1 { font-size: 52px; }
  .philo-quote--hero { font-size: 34px; }
  .wb-title { font-size: 30px; }
  .wb-bubble { flex-direction: column; align-items: flex-start; gap: 12px; }
  .wb-speech::before { left: 24px; top: -9px; transform: rotate(45deg); border: none; border-top: 1px solid var(--ink-08); border-left: 1px solid var(--ink-08); }
  .story-row { grid-template-columns: 1fr; gap: 28px; }
  .story-media { position: static; }
  .story-timeline-full { margin-top: 48px; padding-top: 40px; }
  .nosotros-cta { padding: 40px 24px; }
  .story-row h2 { font-size: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
