:root {
  --primary-blue: #0057d9;
  --primary-blue-hover: #0048b5;
  --navy-strong: #17305f;
  --dark-navy-text: #0b1f44;
  --light-blue-bg: #ffffff;
  --white: #ffffff;
  --gold-accent: #d4a017;
  --surface: #ffffff;
  --surface-alt: #f7f9fd;
  --surface-soft: #ffffff;
  --line: rgba(11, 31, 68, 0.1);
  --text: #0b1f44;
  --text-soft: #5d7196;
  --success: #168b55;
  --shadow-sm: 0 8px 18px rgba(148, 163, 184, 0.12);
  --shadow-md: 0 16px 34px rgba(148, 163, 184, 0.16);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: #ffffff;
}

body.page-home {
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(0, 87, 217, 0.4);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 28px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 7px 0 0;
  transition: transform 320ms ease, opacity 240ms ease;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.header-shell {
  width: min(calc(100% - 28px), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 12px;
  padding: 7px 15px;
  border-radius: 22px;
  background: linear-gradient(180deg, #25457f, var(--navy-strong));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 36px;
}

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

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.97rem;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.67rem;
  line-height: 1.2;
}

.menu-toggle {
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  gap: 4px;
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  display: block;
}

.main-nav,
.header-cta {
  display: none;
}

.main-nav.is-open {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  padding-top: 10px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  outline: none;
}

.btn,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 21px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-hover));
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--primary-blue-hover), #003f9f);
}

.btn-secondary,
.header-cta {
  color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(11, 31, 68, 0.08);
  box-shadow: 0 6px 14px rgba(148, 163, 184, 0.1);
}

body .site-header .header-shell > .header-cta {
  display: none !important;
}

.btn-secondary-soft {
  color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-inline {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-blue);
  font-weight: 800;
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.eyebrow,
.section-tag,
.metric-label {
  margin: 0 0 10px;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.3rem, 8vw, 4.8rem);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.22;
}

h4 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.lead,
.section-copy,
.card-copy,
.footer-copy,
.field-note,
.form-feedback,
.page-subtitle {
  color: var(--text-soft);
  line-height: 1.7;
}

.page-shell {
  padding: 20px 0 34px;
}

.page-section {
  padding: 18px 0 44px;
}

.page-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.panel,
.card,
.cta-band,
.legal-panel,
.blog-card,
.service-card,
.trust-card,
.method-card,
.authority-card,
.hero-card {
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  overflow: hidden;
}

.home-hero {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.hero-text-block,
.hero-visual {
  padding: 26px;
}

.hero-text-block {
  background:
    radial-gradient(circle at top right, rgba(0, 87, 217, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-trust {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.hero-trust span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-blue);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 380px;
  background:
    linear-gradient(135deg, rgba(238, 244, 255, 0.9), rgba(255, 255, 255, 0.98)),
    linear-gradient(180deg, #ffffff, #eef4ff);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 87, 217, 0.08), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18) 48%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 0.08) 100%),
    url("assets/banner-retiro.webp") center/cover no-repeat;
  opacity: 0.95;
}

.hero-badge-row,
.hero-brand-mark {
  position: relative;
  z-index: 1;
}

.hero-badge-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.info-pill {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: var(--shadow-sm);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-brand-mark {
  align-self: end;
  justify-self: end;
  text-align: right;
  color: var(--primary-blue);
}

.hero-brand-mark strong {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(3.2rem, 10vw, 5.6rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.hero-brand-mark span {
  display: block;
  margin-top: 8px;
  font-size: 0.98rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
}

.two-column {
  display: grid;
  gap: 22px;
}

.who-grid,
.method-grid,
.authority-grid,
.blog-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.trust-grid,
.services-grid {
  display: grid;
  gap: 16px;
}

.trust-card,
.service-card,
.method-card,
.authority-card,
.blog-card {
  padding: 20px;
}

.service-card {
  display: grid;
  gap: 12px;
}

.service-icon,
.trust-icon,
.method-number,
.blog-thumb {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--primary-blue);
  font-weight: 800;
}

.service-icon svg,
.trust-icon svg {
  width: 28px;
  height: 28px;
}

.service-card .btn-inline {
  margin-top: 4px;
}

.method-grid {
  grid-template-columns: 1fr;
}

.method-card {
  display: grid;
  gap: 14px;
  align-items: start;
}

.method-number {
  font-size: 1.1rem;
  color: var(--white);
  background: linear-gradient(180deg, var(--primary-blue), var(--primary-blue-hover));
}

.authority-card {
  display: grid;
  gap: 10px;
}

.authority-list,
.service-list,
.footer-links,
.contact-list,
.legal-list,
.blog-meta {
  list-style: none;
  padding: 0;
  margin: 0;
}

.authority-list li,
.service-list li,
.contact-list li,
.legal-list li {
  position: relative;
  padding-left: 18px;
}

.authority-list li::before,
.service-list li::before,
.contact-list li::before,
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-blue);
}

.authority-credential {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  border: 1px solid var(--line);
}

.credential-badge {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-soft);
  text-align: center;
}

.credential-badge strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-blue);
  font-size: 1.4rem;
}

.blog-card {
  display: grid;
  gap: 14px;
}

.blog-thumb {
  width: 100%;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(0, 87, 217, 0.1), rgba(238, 244, 255, 0.8)),
    linear-gradient(180deg, #f7f9fd, #eef4ff);
  color: var(--primary-blue);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.blog-card h3 {
  margin-bottom: 6px;
}

.cta-band {
  display: grid;
  gap: 16px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(238, 244, 255, 0.9), rgba(255, 255, 255, 0.98)),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.cta-band p {
  margin-bottom: 0;
}

.service-hero,
.simple-hero {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.service-hero-copy,
.service-hero-side,
.simple-hero-copy {
  padding: 24px;
}

.service-hero-copy,
.simple-hero-copy {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.service-hero-side {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--primary-blue), var(--primary-blue-hover));
  color: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-hero-side h3,
.service-hero-side p,
.service-hero-side li {
  color: var(--white);
  text-shadow:
    0 2px 4px rgba(8, 22, 48, 0.82),
    0 0 1px rgba(8, 22, 48, 0.9);
}

.page-seguros .service-hero-copy,
.page-seguros .service-hero-side {
  padding: 28px;
}

.page-creditos .service-hero-copy,
.page-creditos .service-hero-side {
  padding: 28px;
}

.page-seguros .service-hero-side {
  background:
    linear-gradient(180deg, rgba(8, 28, 72, 0.05) 0%, rgba(8, 28, 72, 0.24) 100%),
    linear-gradient(90deg, rgba(8, 28, 72, 0.16) 0%, rgba(8, 28, 72, 0.03) 46%, rgba(8, 28, 72, 0.22) 100%),
    url("assets/sub%20seguros.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 42px rgba(19, 39, 83, 0.16);
}

.page-creditos .service-hero-side {
  background:
    linear-gradient(180deg, rgba(8, 28, 72, 0.05) 0%, rgba(8, 28, 72, 0.24) 100%),
    linear-gradient(90deg, rgba(8, 28, 72, 0.16) 0%, rgba(8, 28, 72, 0.03) 46%, rgba(8, 28, 72, 0.22) 100%),
    url("assets/sub%20creditos.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 42px rgba(19, 39, 83, 0.16);
}

.page-seguros .service-hero-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 14%, rgba(8, 22, 48, 0.46) 0%, rgba(8, 22, 48, 0.28) 20%, rgba(8, 22, 48, 0.08) 42%, transparent 58%),
    linear-gradient(135deg, rgba(8, 22, 48, 0.24) 0%, rgba(8, 22, 48, 0.10) 18%, transparent 40%);
  pointer-events: none;
}

.page-creditos .service-hero-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 14%, rgba(8, 22, 48, 0.46) 0%, rgba(8, 22, 48, 0.28) 20%, rgba(8, 22, 48, 0.08) 42%, transparent 58%),
    linear-gradient(135deg, rgba(8, 22, 48, 0.24) 0%, rgba(8, 22, 48, 0.10) 18%, transparent 40%);
  pointer-events: none;
}

.page-seguros .service-hero-side > * {
  position: relative;
  z-index: 1;
}

.page-creditos .service-hero-side > * {
  position: relative;
  z-index: 1;
}

.page-seguros .service-hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 1;
}

.page-creditos .service-hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 1;
}

.page-seguros .service-hero-copy .lead {
  max-width: 54ch;
  font-size: 1.04rem;
  line-height: 1.72;
}

.page-modalidad40 .service-hero-copy,
.page-modalidad40 .service-hero-side,
.page-seguros .service-hero-copy,
.page-seguros .service-hero-side,
.page-creditos .service-hero-copy,
.page-creditos .service-hero-side {
  padding: 26px;
}

.page-modalidad40 .service-hero-copy h1,
.page-seguros .service-hero-copy h1,
.page-creditos .service-hero-copy h1 {
  max-width: 11.4ch;
  font-size: clamp(2.38rem, 5.25vw, 4.2rem);
  line-height: 1.02;
}

.page-modalidad40 .service-hero-copy .lead,
.page-seguros .service-hero-copy .lead,
.page-creditos .service-hero-copy .lead {
  max-width: 50ch;
  font-size: 1rem;
  line-height: 1.66;
}

.page-modalidad40 .service-hero-side .service-list,
.page-seguros .service-hero-side .service-list,
.page-creditos .service-hero-side .service-list {
  gap: 9px;
}

.page-nosotros .site-header {
  margin-bottom: 12px;
}

.about-layout,
.about-bottom-grid {
  display: grid;
  gap: 16px;
}

.about-tech-section,
.about-mission-section,
.about-values-section {
  margin-top: 18px;
}

.about-layout + .about-mission-section {
  margin-top: 14px;
}

.about-intro-card,
.about-values-card,
.about-feature-card,
.about-pill-card,
.about-value-card,
.about-closing-band {
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 16px 36px rgba(148, 163, 184, 0.08);
}

.about-intro-card,
.about-values-card {
  padding: 30px 32px;
}

.about-intro-card h1 {
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 8ch;
  font-size: clamp(2.55rem, 5.4vw, 4.4rem);
  line-height: 0.98;
}

.about-intro-card .lead,
.about-statement-band p {
  max-width: 64ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
}

.about-statement-band {
  margin-top: 14px;
  margin-bottom: 16px;
  padding: 20px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.07);
}

.about-statement-band p {
  color: var(--text-soft);
}

.about-values-card h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.about-values-grid {
  display: grid;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 68, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.about-value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px;
  align-items: start;
  background: rgba(255, 255, 255, 0.94);
}

.about-value-item + .about-value-item {
  border-top: 1px solid rgba(11, 31, 68, 0.07);
}

.about-icon,
.about-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #1662e5, #0d4dc2);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.about-icon {
  width: 52px;
  height: 52px;
  font-weight: 800;
  font-size: 1.05rem;
}

.page-blog .page-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.page-blog .page-heading h1 {
  max-width: 12ch;
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(2.45rem, 4.4vw, 4rem);
  line-height: 1;
}

.page-blog .page-heading .lead {
  max-width: 60ch;
  font-size: 0.98rem;
  line-height: 1.68;
}

.page-blog .blog-card {
  padding: 22px;
  gap: 14px;
}

.page-blog .blog-copy {
  display: grid;
  gap: 10px;
}

.page-blog .blog-card h2 {
  margin-bottom: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.page-blog .blog-topic {
  margin: 0;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.page-blog .blog-card .card-copy {
  margin: 0;
  max-width: 38ch;
  font-size: 0.94rem;
  line-height: 1.64;
}

.page-blog .blog-card .btn-inline {
  margin-top: 2px;
}

.page-nosotros .page-shell,
.page-blog .page-shell {
  padding-top: 18px;
  padding-bottom: 44px;
}

.page-nosotros .about-intro-card,
.page-nosotros .about-values-card {
  padding: 28px 30px;
}

.page-nosotros .about-intro-card h1 {
  max-width: 8.2ch;
  margin-bottom: 12px;
  font-size: clamp(2.38rem, 4.7vw, 3.9rem);
  line-height: 0.99;
}

.page-nosotros .about-values-card h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.page-nosotros .about-value-item {
  gap: 14px;
  padding: 20px;
}

.page-nosotros .about-icon {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.page-nosotros .about-value-item h3,
.page-nosotros .about-feature-card h3 {
  font-size: 0.96rem;
}

.page-nosotros .about-value-item p,
.page-nosotros .about-feature-card .card-copy,
.page-nosotros .about-statement-band p {
  font-size: 0.94rem;
  line-height: 1.6;
}

.page-nosotros .about-statement-band {
  margin-top: 12px;
  margin-bottom: 14px;
  padding: 18px 24px;
}

.page-nosotros .about-wide-visual {
  min-height: 286px;
}

.page-nosotros .about-tech-section,
.page-nosotros .about-mission-section,
.page-nosotros .about-values-section {
  margin-top: 16px;
}

.page-nosotros .about-layout + .about-mission-section {
  margin-top: 44px;
}

.page-nosotros .about-section-head {
  margin-bottom: 16px;
}

.page-nosotros .about-section-head h2,
.page-nosotros .about-closing-band h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.page-nosotros .about-tech-grid,
.page-nosotros .about-dual-grid,
.page-nosotros .about-values-compact-grid {
  gap: 14px;
}

.page-nosotros .about-feature-card {
  gap: 14px;
  padding: 22px 24px;
}

.page-nosotros .about-feature-icon {
  width: 54px;
  height: 54px;
  font-size: 1.14rem;
}

.page-nosotros .about-pill-card,
.page-nosotros .about-value-card,
.page-nosotros .about-closing-band {
  padding: 22px 24px;
}

.about-value-item h3,
.about-feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.about-value-item p,
.about-feature-card .card-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.66;
}

.about-wide-visual {
  min-height: 240px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(8, 22, 48, 0.04) 0%, rgba(8, 22, 48, 0.14) 100%),
    url("assets/banner-retiro.webp");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 18px 42px rgba(148, 163, 184, 0.12);
}

.about-bottom-grid {
  margin-top: 14px;
}

.about-section-head {
  max-width: 760px;
  margin-bottom: 18px;
}

.about-section-head h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.about-section-head .section-copy {
  margin: 0;
  max-width: 62ch;
}

.about-tech-grid,
.about-dual-grid,
.about-values-compact-grid {
  display: grid;
  gap: 16px;
}

.about-feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px 26px;
  align-items: start;
}

.about-feature-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(180deg, #f3f7ff, #e9f0ff);
  color: var(--primary-blue);
  box-shadow: inset 0 0 0 1px rgba(11, 31, 68, 0.05);
  font-size: 1.25rem;
}

.about-pill-card,
.about-value-card {
  padding: 24px 26px;
}

.about-pill-card h3,
.about-value-card h3 {
  margin: 0 0 10px;
}

.about-pill-card .section-tag {
  margin-bottom: 12px;
}

.about-pill-card .card-copy,
.about-value-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.about-values-compact-grid {
  grid-template-columns: 1fr;
}

.about-human-section {
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.1);
}
.about-human-grid {
  display: grid;
  gap: 20px;
  align-items: start;
}
.about-human-portraits {
  display: grid;
  gap: 14px;
}
.about-portrait-card {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.14);
}
.about-portrait-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: center top;
}
.about-human-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}
.about-human-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}
.about-human-copy .section-copy {
  margin: 0;
  max-width: 58ch;
  color: var(--text-soft);
  line-height: 1.74;
}
.about-human-trust {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}
.about-human-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 17px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 31, 68, 0.06);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.08);
}
.about-human-dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d4a43a 0%, #bf8c24 100%);
  box-shadow: 0 0 0 6px rgba(212, 164, 58, 0.12);
}
.about-human-point h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.about-human-point p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.64;
}

.about-value-card {
  min-height: 100%;
}

.about-closing-band {
  padding: 28px 30px;
}

.about-closing-band h2 {
  margin-bottom: 14px;
  max-width: 16ch;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.about-closing-band p {
  margin: 0;
  max-width: 68ch;
  color: var(--text-soft);
  line-height: 1.72;
}

.about-closing-band p + p {
  margin-top: 12px;
}

.page-retiro-conversion .page-shell {
  padding-top: 10px;
}

.retiro-hero-wrap {
  padding-top: 2px;
}

.retiro-hero {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.retiro-hero-copy,
.retiro-simulator-panel {
  border-radius: 32px;
}

.retiro-hero-copy {
  padding: 28px 26px;
  background:
    radial-gradient(circle at top right, rgba(0, 87, 217, 0.05), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 16px 36px rgba(148, 163, 184, 0.08);
}

.retiro-hero-copy h1 {
  margin-top: 0;
  margin-bottom: 24px;
  max-width: 11.4ch;
  font-size: clamp(2.38rem, 5.25vw, 4.2rem);
  line-height: 1.02;
}

.retiro-hero-copy .lead {
  max-width: 90%;
  margin: 0 0 18px;
  font-size: 1.125rem;
  line-height: 1.7;
}

.page-retiro-conversion .hero-actions {
  margin-top: 22px;
}

.retiro-bullets {
  display: grid;
  gap: 17px;
  padding: 24px 0 0;
  margin: 22px 0 0;
  list-style: none;
}

.retiro-bullets li {
  position: relative;
  padding-left: 26px;
  color: var(--dark-navy-text);
  font-weight: 500;
  line-height: 1.55;
}

.retiro-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f1b84f, #d99b18);
  box-shadow: 0 0 0 5px rgba(212, 160, 23, 0.12);
}

.retiro-simulator-panel {
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(145deg, #0b3ea9 0%, #082c7a 100%);
  color: var(--white);
  box-shadow: 0 24px 54px rgba(23, 48, 95, 0.22);
}

.retiro-simulator-intro {
  padding: 10px 10px 14px;
}

.retiro-simulator-intro .section-tag,
.retiro-simulator-intro h2,
.retiro-simulator-intro p {
  color: var(--white);
}

.retiro-simulator-intro h2 {
  margin-top: 0;
  margin-bottom: 10px;
  max-width: 80%;
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  line-height: 0.96;
}

.retiro-simulator-intro .section-tag {
  margin-bottom: 18px;
}

.retiro-simulator-intro p {
  max-width: 33ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.retiro-simulator-mockup {
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--dark-navy-text);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(11, 31, 68, 0.06);
}

.mockup-head {
  display: block;
  margin-bottom: 14px;
}

.mockup-head h3,
.mockup-head p,
.mockup-summary-card span,
.mockup-mini-card span,
.mockup-mini-card small,
.mockup-note {
  color: var(--dark-navy-text);
}

.mockup-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.mockup-head p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.mockup-summary-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.mockup-summary-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0b2859 0%, #09224b 100%);
  box-shadow: 0 14px 30px rgba(7, 36, 90, 0.18);
}

.mockup-summary-card span {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.mockup-summary-value {
  display: block;
  margin-bottom: 0;
  font-size: clamp(1.7rem, 2.9vw, 2.55rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mockup-summary-value-gold {
  color: #f1b23a;
}

.mockup-summary-value-green {
  color: #63de8e;
}

.summary-lines {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-summary-card .summary-lines {
  display: none;
}

.summary-lines-small {
  margin-top: 8px;
  padding-left: 40px;
}

.summary-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1.5px solid rgba(212, 160, 23, 0.9);
  color: #d4a017;
  font-size: 1rem;
  font-weight: 700;
}

.summary-line {
  display: inline-block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.summary-line-lg { width: 96px; }
.summary-line-md { width: 48px; }
.summary-line-sm { width: 42px; }
.summary-line-xs { width: 28px; }

.mockup-chart-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(11, 31, 68, 0.08);
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.mockup-mini-card span {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.mockup-mini-card small,
.mockup-note {
  color: var(--text-soft);
}

.mockup-graph {
  position: relative;
  min-height: 250px;
  padding: 18px 14px 36px 24px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(188, 200, 219, 0.22) 1px, transparent 1px) 0 0 / 100% 25%;
}

.graph-y-axis {
  position: absolute;
  top: 18px;
  left: 12px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.graph-y-axis span {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  background: rgba(205, 215, 231, 0.85);
}

.graph-line {
  position: absolute;
  left: 34px;
  right: 18px;
  bottom: 42px;
  top: 22px;
  background:
    no-repeat center / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='line' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%230055D4'/%3E%3Cstop offset='100%25' stop-color='%232B74FF'/%3E%3C/linearGradient%3E%3ClinearGradient id='fill' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%230057D9' stop-opacity='0.19'/%3E%3Cstop offset='100%25' stop-color='%230057D9' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3Cfilter id='shadow' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='1.25' stdDeviation='1.3' flood-color='%230057D9' flood-opacity='0.06'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M4 90 C 18 86, 28 79, 40 68 C 54 55, 69 39, 84 22 C 90 15, 94 10, 98 5 L 98 100 L 4 100 Z' fill='url(%23fill)'/%3E%3Cpath d='M4 90 C 18 86, 28 79, 40 68 C 54 55, 69 39, 84 22 C 90 15, 94 10, 98 5' fill='none' stroke='url(%23line)' stroke-width='1.88' stroke-linecap='round' stroke-linejoin='round' filter='url(%23shadow)'/%3E%3Ccircle cx='4' cy='90' r='1.2' fill='white' stroke='%230057D9' stroke-width='0.82'/%3E%3Ccircle cx='40' cy='68' r='1.2' fill='white' stroke='%230057D9' stroke-width='0.82'/%3E%3Ccircle cx='84' cy='22' r='1.2' fill='white' stroke='%230057D9' stroke-width='0.82'/%3E%3Ccircle cx='98' cy='5' r='1.6' fill='white' stroke='%23D4A017' stroke-width='0.9'/%3E%3C/svg%3E");
}

.graph-line::after {
  content: none;
}

.graph-point {
  display: none;
}

.graph-axis {
  position: absolute;
  left: 34px;
  right: 14px;
  bottom: 6px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.graph-axis span:not(:first-child) {
  width: 32px;
  height: 6px;
  border-radius: 999px;
  background: rgba(205, 215, 231, 0.82);
  color: transparent;
}

.graph-axis span:first-child {
  color: var(--text-soft);
}

.mockup-highlight-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f5f8ff 0%, #eef4ff 100%);
  border: 1px solid rgba(11, 31, 68, 0.06);
}

.mockup-highlight-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-blue);
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.08);
}

.mockup-highlight-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.08rem;
  color: var(--dark-navy-text);
}

.mockup-highlight-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.mockup-mini-grid {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.mockup-mini-card {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(11, 31, 68, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.06);
}

.mockup-mini-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.08rem;
  line-height: 1.1;
  color: var(--dark-navy-text);
}

.retiro-panel-cta {
  width: 100%;
  margin-top: 12px;
}

.page-retiro-conversion .btn.btn-primary {
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
}

.page-retiro-conversion .hero-actions .btn.btn-primary,
.page-retiro-conversion .retiro-panel-cta {
  min-height: 50px;
}

.page-retiro-conversion .hero-actions .btn.btn-primary {
  min-width: 224px;
}

.page-retiro-conversion .retiro-panel-cta {
  width: fit-content;
  min-width: 100%;
}

.mockup-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  text-align: center;
}

.retiro-steps-wrap {
  padding-top: 2px;
}

.retiro-steps-grid {
  display: grid;
  gap: 16px;
}

.retiro-step-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(11, 31, 68, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 34px rgba(148, 163, 184, 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.retiro-step-card:hover,
.retiro-step-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.1);
  border-color: rgba(0, 87, 217, 0.18);
}

.retiro-step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 87, 217, 0.14), rgba(0, 87, 217, 0.03));
  color: var(--primary-blue);
  font-weight: 800;
}

.retiro-step-card h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.15;
}

.retiro-step-card p {
  margin: 0;
  color: var(--text-soft);
}

.retiro-cta-section {
  padding-top: 8px;
}

.retiro-cta-band {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(0, 87, 217, 0.04), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.07);
}

.retiro-cta-copy h2 {
  margin-top: 0;
  margin-bottom: 14px;
  max-width: 12ch;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  line-height: 0.98;
}

.retiro-cta-visual {
  min-height: 240px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(7, 36, 90, 0.04) 0%, rgba(7, 36, 90, 0.14) 100%),
    url("assets/banner-retiro.webp");
  background-size: cover;
  background-position: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 16px 34px rgba(148, 163, 184, 0.08);
}

.retiro-authority-row {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.retiro-authority-item {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 12px 28px rgba(148, 163, 184, 0.05);
}

.retiro-authority-item strong {
  font-size: 1.2rem;
  color: var(--dark-navy-text);
}

.retiro-authority-item span {
  color: var(--text-soft);
  line-height: 1.55;
}

.page-retiro-conversion .site-footer-compact {
  margin-top: 14px;
  padding: 28px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-retiro-conversion .footer-compact-grid {
  gap: 28px;
}

.page-retiro-conversion .footer-title {
  font-size: 1rem;
}

.page-retiro-conversion .footer-copy,
.page-retiro-conversion .footer-links li,
.page-retiro-conversion .footer-links a {
  font-size: 0.96rem;
}

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

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

@keyframes lineGrow {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0.18;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes ctaGlow {
  0%,
  100% {
    box-shadow: 0 12px 24px rgba(0, 87, 217, 0.14);
  }
  50% {
    box-shadow: 0 14px 28px rgba(0, 87, 217, 0.22);
  }
}

.mockup-summary-card,
.mockup-highlight-card,
.mockup-note {
  animation: mockupRise 600ms ease both;
}

.mockup-summary-card:nth-child(2) {
  animation-delay: 90ms;
}

.mockup-note {
  animation-delay: 220ms;
}

.mockup-summary-value {
  animation: mockupFade 720ms ease both;
}

.mockup-summary-card:nth-child(2) .mockup-summary-value {
  animation-delay: 120ms;
}

.graph-line {
  animation: lineGrow 950ms ease-out both;
}

.retiro-panel-cta {
  animation: ctaGlow 3.6s ease-in-out infinite;
}

@media (min-width: 768px) {
  .retiro-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
  }

  .mockup-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mockup-mini-grid,
  .retiro-steps-grid,
  .retiro-authority-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .retiro-cta-band {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .page-retiro-conversion .page-shell {
    padding-top: 12px;
  }

  .retiro-hero-wrap {
    padding-top: 2px;
  }

  .retiro-hero {
    grid-template-columns: 50% 50%;
    gap: 20px;
    min-height: auto;
  }

  .retiro-hero-copy {
    padding: 28px 26px;
  }

  .retiro-hero-copy h1 {
    max-width: 11.4ch;
    font-size: clamp(2.8rem, 4.15vw, 3.95rem);
  }

  .retiro-hero-copy .lead {
    max-width: 90%;
    font-size: 1.125rem;
    line-height: 1.7;
  }

  .retiro-simulator-panel {
    padding: 14px;
  }

  .retiro-simulator-intro {
    padding: 10px 10px 12px;
  }

  .retiro-simulator-intro h2 {
    font-size: clamp(2.35rem, 3.1vw, 3.45rem);
    max-width: 80%;
  }

  .mockup-chart-card {
    padding: 14px;
  }

  .mockup-mini-grid {
    gap: 8px;
  }

  .retiro-step-card {
    min-height: 220px;
    padding: 26px;
  }

  .retiro-cta-band {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 22px;
    padding: 34px;
  }

  .retiro-cta-visual {
    min-height: 270px;
  }

  .retiro-authority-row {
    margin-top: 20px;
    gap: 16px;
  }
}

.page-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.page-list li {
  position: relative;
  padding-left: 18px;
}

.page-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-accent);
}

.page-grid {
  display: grid;
  gap: 18px;
}

.page-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.consent span {
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(11, 31, 68, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(0, 87, 217, 0.42);
  box-shadow: 0 0 0 4px rgba(0, 87, 217, 0.12);
}

.contact-form,
.contact-details {
  padding: 22px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-details {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-list li {
  padding-left: 20px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  line-height: 1.5;
}

.consent input {
  margin-top: 4px;
}

.consent a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.site-footer {
  margin-top: 14px;
  padding: 28px 0 16px;
  background: linear-gradient(180deg, #25457f, var(--navy-strong));
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.footer-copy,
.footer-links li,
.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-bottom p + p {
  margin-top: 6px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(11, 31, 68, 0.96);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner a {
  text-decoration: underline;
}

.cookie-actions {
  display: grid;
  gap: 10px;
}

.legal-layout {
  display: grid;
  gap: 20px;
}

.legal-panel {
  padding: 26px;
}

.legal-panel h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.legal-panel h2 {
  font-size: clamp(1.3rem, 3.6vw, 2rem);
  margin-top: 24px;
}

.legal-panel p,
.legal-panel li {
  color: var(--text-soft);
  line-height: 1.8;
}

.legal-panel ul {
  padding-left: 20px;
}

@media (min-width: 768px) {
  .container,
  .header-shell {
    width: min(calc(100% - 104px), var(--container));
  }

  .home-hero,
  .two-column,
  .who-grid,
  .authority-grid,
  .contact-grid,
  .service-hero,
  .simple-hero,
  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid,
  .services-grid,
  .method-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.25fr 0.9fr 0.9fr 1fr;
  }

  .cookie-actions {
    grid-template-columns: repeat(3, max-content);
  }

  .about-layout,
  .about-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-dual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-values-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-human-grid,
  .home-human-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-human-portraits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-value-item:nth-child(2) {
    border-top: 0;
    border-left: 1px solid rgba(11, 31, 68, 0.07);
  }

  .about-value-item:nth-child(3),
  .about-value-item:nth-child(4) {
    border-top: 1px solid rgba(11, 31, 68, 0.07);
  }

  .about-value-item:nth-child(4) {
    border-left: 1px solid rgba(11, 31, 68, 0.07);
  }
}

@media (min-width: 1080px) {
  .site-header {
    padding-top: 6px;
  }

  .header-shell {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding: 7px 13px;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .main-nav a {
    font-size: 0.95rem;
  }

  .header-cta {
    display: inline-flex;
    min-height: 36px;
    padding: 0 15px;
  }

  .page-shell {
    padding: 28px 0 44px;
  }

  .page-section {
    padding: 22px 0 52px;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
    gap: 0;
  }

  .hero-text-block,
  .hero-visual {
    min-height: 520px;
  }

  .trust-grid,
  .services-grid,
  .method-grid,
  .blog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
  }

  .about-tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-intro-card,
  .about-values-card {
    padding: 34px 34px;
  }

  .about-statement-band {
    padding: 22px 30px;
  }

  .about-wide-visual {
    min-height: 270px;
  }

  .method-grid {
    align-items: stretch;
  }

  .service-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
  }

  .page-modalidad40 .service-hero,
  .page-seguros .service-hero {
    grid-template-columns: minmax(0, 1fr) minmax(388px, 0.9fr);
  }

  .page-creditos .service-hero {
    grid-template-columns: minmax(0, 1fr) minmax(372px, 0.88fr);
  }

  .page-modalidad40 .service-hero-copy,
  .page-modalidad40 .service-hero-side,
  .page-seguros .service-hero-copy,
  .page-seguros .service-hero-side,
  .page-creditos .service-hero-copy,
  .page-creditos .service-hero-side {
    padding: 28px;
  }

  .page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-modalidad40 .page-grid,
  .page-seguros .page-grid,
  .page-creditos .page-grid {
    gap: 16px;
  }

  .page-modalidad40 .page-card,
  .page-seguros .page-card,
  .page-creditos .page-card {
    padding: 22px;
  }

  .page-blog .page-heading h1 {
    font-size: clamp(3.45rem, 4.8vw, 5rem);
  }

  .page-blog .blog-thumb {
    min-height: 186px;
  }

  .page-nosotros .about-layout {
    grid-template-columns: minmax(0, 0.97fr) minmax(0, 1.03fr);
  }

  .page-nosotros .about-intro-card,
  .page-nosotros .about-values-card {
    padding: 30px;
  }

  .page-nosotros .about-intro-card h1 {
    font-size: clamp(3.1rem, 4.45vw, 4rem);
  }

  .page-nosotros .about-wide-visual {
    min-height: 246px;
  }

  .about-human-section {
    padding: 30px;
  }

  .about-human-grid {
    grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
    gap: 26px;
  }

  .about-human-portraits {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: end;
  }

  .about-portrait-card-primary {
    transform: translateY(22px);
  }

  .home-human-band {
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 26px;
    padding: 28px;
  }

  .home-human-band__media {
    min-height: 320px;
  }

  .home-human-band__portrait {
    width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

body.page-home-simple {
  background: #ffffff;
}

.home-main {
  min-height: calc(100vh - 84px);
}

.home-reception {
  display: grid;
  gap: 24px;
}

.home-human-band {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.1);
}
.home-human-band__media {
  position: relative;
  min-height: 280px;
}
.home-human-band__portrait {
  position: absolute;
  width: min(48vw, 220px);
  max-width: 220px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(11, 31, 68, 0.08);
  background: #f8fafc;
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.14);
}
.home-human-band__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: center top;
}
.home-human-band__portrait--back { top: 0; left: 0; }
.home-human-band__portrait--front { right: 0; bottom: 0; }
.home-human-band__copy {
  display: grid;
  gap: 10px;
  align-content: start;
}
.home-human-band__copy h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.home-human-band__copy p {
  margin: 0;
  max-width: 56ch;
  color: var(--text-soft);
  line-height: 1.72;
}
.home-human-band__copy .btn {
  width: fit-content;
  margin-top: 6px;
}

.reception-hero {
  display: grid;
  gap: 18px;
  padding: 20px;
  align-items: stretch;
  min-height: 66vh;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.reception-copy,
.reception-carousel {
  min-width: 0;
}

.reception-copy {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reception-copy h1 {
  margin-top: 0;
  margin-bottom: 10px;
}

.reception-copy p {
  margin: 0;
}

.hero-brief {
  max-width: 62ch;
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.reception-carousel {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.carousel-shell {
  display: grid;
  gap: 18px;
}

.carousel-track {
  position: relative;
  min-height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.992);
  transition: opacity 360ms ease, transform 420ms ease;
}

.carousel-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.carousel-media {
  min-height: 420px;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(16, 34, 68, 0.06) 0%, rgba(16, 34, 68, 0.18) 34%, rgba(9, 24, 50, 0.74) 100%),
    linear-gradient(135deg, #dfe5ee 0%, #c8d0dc 100%);
  box-shadow: 0 20px 44px rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.carousel-media-retiro {
  background:
    linear-gradient(180deg, rgba(8, 22, 48, 0.02) 0%, rgba(8, 22, 48, 0.08) 38%, rgba(8, 22, 48, 0.44) 100%),
    linear-gradient(90deg, rgba(8, 22, 48, 0.07) 0%, rgba(8, 22, 48, 0.015) 46%, rgba(8, 22, 48, 0.12) 100%),
    url("assets/banner-retiro.webp");
  background-size: cover;
  background-position: center;
}

.carousel-media-modalidad {
  background:
    linear-gradient(180deg, rgba(8, 22, 48, 0.03) 0%, rgba(8, 22, 48, 0.11) 42%, rgba(8, 22, 48, 0.5) 100%),
    linear-gradient(90deg, rgba(8, 22, 48, 0.08) 0%, rgba(8, 22, 48, 0.02) 46%, rgba(8, 22, 48, 0.14) 100%),
    url("assets/banner-modalidad40.webp");
  background-size: cover;
  background-position: center;
}

.carousel-media-seguros {
  background:
    linear-gradient(180deg, rgba(8, 22, 48, 0.03) 0%, rgba(8, 22, 48, 0.11) 42%, rgba(8, 22, 48, 0.5) 100%),
    linear-gradient(90deg, rgba(8, 22, 48, 0.08) 0%, rgba(8, 22, 48, 0.02) 46%, rgba(8, 22, 48, 0.14) 100%),
    url("assets/banner-seguros.webp");
  background-size: cover;
  background-position: center;
}

.carousel-media-creditos {
  background:
    linear-gradient(180deg, rgba(8, 22, 48, 0.03) 0%, rgba(8, 22, 48, 0.11) 42%, rgba(8, 22, 48, 0.5) 100%),
    linear-gradient(90deg, rgba(8, 22, 48, 0.08) 0%, rgba(8, 22, 48, 0.02) 46%, rgba(8, 22, 48, 0.14) 100%),
    url("assets/banner-creditos.webp");
  background-size: cover;
  background-position: center;
}

.carousel-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 48px 40px 30px;
  color: #ffffff;
  align-content: end;
  background: none;
}

.carousel-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
}

.carousel-content h2 {
  margin-bottom: 0;
  max-width: 11ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

.carousel-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
  max-width: 34ch;
}

.carousel-content .btn-small {
  width: fit-content;
  min-width: 0;
  padding-inline: 28px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: 6px;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(11, 31, 68, 0.07);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(23, 48, 95, 0.9);
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(148, 163, 184, 0.1);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.48);
}

.carousel-dot.is-active {
  width: 22px;
  background: var(--primary-blue);
}

@media (max-width: 767px) {
  .carousel-media {
    min-height: 420px;
    aspect-ratio: 4 / 5;
    border-radius: 28px;
  }

  .carousel-content {
    padding: 30px 24px 24px;
    border-radius: 0 0 28px 28px;
  }

  .carousel-content h2 {
    max-width: 12ch;
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
}

.services-compact {
  display: grid;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(11, 31, 68, 0.12);
}

.service-mini-card {
  display: block;
  align-items: start;
  padding: 30px 34px 32px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 68, 0.1);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.06);
  min-height: 244px;
}

.service-mini-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 700;
  text-align: left;
}

.service-mini-card p {
  margin-bottom: 14px;
  color: var(--text-soft);
  line-height: 1.58;
  text-align: left;
  font-size: 0.95rem;
}

.service-mini-card .btn-inline {
  justify-self: start;
  text-align: left;
}

.home-emotional-line {
  display: grid;
  place-items: center;
  padding: 8px 10px 4px;
}

.home-emotional-line p {
  max-width: 820px;
  margin: 0;
  color: var(--dark-navy-text);
  text-align: center;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.site-footer-compact {
  margin-top: 2px;
  padding: 18px 0 12px;
}

.footer-compact-grid {
  display: grid;
  gap: 20px;
}

.compact-links {
  display: grid;
  gap: 8px;
}

.compact-footer-bottom {
  padding-top: 14px;
}

.compact-footer-bottom p:last-child {
  display: none;
}

@media (min-width: 768px) {
  .reception-hero {
    padding: 20px;
  }

  .carousel-media {
    min-height: 380px;
    aspect-ratio: 16 / 10;
  }

  .carousel-content {
    padding: 34px 30px 30px;
  }

  .services-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 22px;
  }

  .footer-compact-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .site-header {
    padding-top: 6px;
  }

  .header-shell {
    padding: 6px 17px;
    border-radius: 22px;
    backdrop-filter: blur(12px);
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .main-nav {
    gap: 10px;
  }

  .main-nav a {
    padding: 8px 11px;
    font-size: 0.9rem;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  }

  .main-nav a:hover {
    transform: translateY(-1px);
  }

  body .site-header .header-shell > .header-cta {
    display: inline-flex !important;
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.84rem;
    font-weight: 700;
  }

  .page-shell.home-main {
    padding: 4px 0 12px;
  }

  .home-reception {
    gap: 10px;
  }

  .reception-hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.94fr);
    gap: 22px;
    padding: 8px 8px 6px;
    min-height: auto;
    align-items: start;
  }

  .reception-copy {
    padding: 64px 12px 8px 8px;
  }

  .reception-copy .lead {
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.52;
  }

  .reception-copy h1 {
    max-width: 9.25ch;
    margin-bottom: 10px;
    font-size: clamp(4.35rem, 5.8vw, 5.8rem);
    line-height: 0.92;
  }

  .hero-brief {
    max-width: 50ch;
    font-size: 0.86rem;
  }

  .reception-carousel {
    padding: 0 0 0;
    margin-top: 64px;
    align-self: start;
  }

  .carousel-slide.is-active {
    min-height: 100%;
    align-content: start;
  }

  .carousel-media {
    min-height: 390px;
    max-height: 460px;
    aspect-ratio: 1.46 / 1;
  }

  .carousel-content {
    padding: 42px 32px 24px;
    max-width: 400px;
  }

  .services-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
  }

  .service-mini-card {
    min-height: 236px;
    padding: 30px 34px 28px;
  }

  .emotional-line {
    margin-top: -4px;
  }
}

/* Final subpage scale normalization */
.page-modalidad40 .page-shell,
.page-seguros .page-shell,
.page-creditos .page-shell,
.page-nosotros .page-shell,
.page-blog .page-shell {
  padding-top: 12px;
}

.page-modalidad40 .service-hero,
.page-seguros .service-hero,
.page-creditos .service-hero {
  gap: 16px;
  padding: 16px;
}

.page-modalidad40 .service-hero-copy,
.page-modalidad40 .service-hero-side,
.page-seguros .service-hero-copy,
.page-seguros .service-hero-side,
.page-creditos .service-hero-copy,
.page-creditos .service-hero-side {
  padding: 24px;
}

.page-modalidad40 .service-hero-copy h1,
.page-seguros .service-hero-copy h1,
.page-creditos .service-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  line-height: 1.02;
}

.page-modalidad40 .service-hero-copy .lead,
.page-seguros .service-hero-copy .lead,
.page-creditos .service-hero-copy .lead {
  max-width: 48ch;
  font-size: 0.98rem;
  line-height: 1.62;
}

.page-modalidad40 .service-hero-side .service-list,
.page-seguros .service-hero-side .service-list,
.page-creditos .service-hero-side .service-list {
  gap: 8px;
}

.page-modalidad40 .page-grid,
.page-seguros .page-grid,
.page-creditos .page-grid {
  gap: 16px;
}

.page-modalidad40 .page-card,
.page-seguros .page-card,
.page-creditos .page-card {
  padding: 20px;
}

.page-nosotros .about-layout {
  gap: 14px;
}

.page-nosotros .about-intro-card,
.page-nosotros .about-values-card {
  padding: 24px 26px;
}

.page-nosotros .about-intro-card h1 {
  max-width: 8.3ch;
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 4.2vw, 3.55rem);
  line-height: 0.99;
}

.page-nosotros .about-values-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.page-nosotros .about-value-item {
  gap: 12px;
  padding: 18px;
}

.page-nosotros .about-icon {
  width: 44px;
  height: 44px;
  font-size: 0.92rem;
}

.page-nosotros .about-value-item h3,
.page-nosotros .about-feature-card h3 {
  font-size: 0.94rem;
}

.page-nosotros .about-value-item p,
.page-nosotros .about-feature-card .card-copy,
.page-nosotros .about-statement-band p {
  font-size: 0.92rem;
  line-height: 1.58;
}

.page-nosotros .about-statement-band {
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 16px 22px;
}

.page-nosotros .about-wide-visual {
  min-height: 286px;
}

.page-nosotros .about-feature-card {
  gap: 12px;
  padding: 20px 22px;
}

.page-nosotros .about-feature-icon {
  width: 50px;
  height: 50px;
  font-size: 1.08rem;
}

.page-blog .page-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.page-blog .page-heading h1 {
  max-width: 12ch;
  margin-bottom: 12px;
  font-size: clamp(2.35rem, 4vw, 3.75rem);
  line-height: 1;
}

.page-blog .page-heading .lead {
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.66;
}

.page-blog .blog-grid {
  gap: 18px;
}

.page-blog .blog-card {
  padding: 20px;
  gap: 12px;
}

.page-blog .blog-card h2 {
  font-size: 0.75rem;
}

.page-blog .blog-grid .blog-card h2 {
  font-family: "Manrope", sans-serif !important;
  font-size: clamp(1rem, 1.42vw, 1.22rem) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em !important;
}

.page-blog-article .page-shell {
  padding-top: 18px;
  padding-bottom: 40px;
}

.page-blog-article .blog-article-hero {
  padding-top: 18px;
}

.page-blog-article .article-hero-shell {
  padding-top: 8px;
}

.page-lp-retiro {
  background:
    radial-gradient(circle at top center, rgba(14, 46, 110, 0.12), transparent 24%),
    #ffffff;
}

.lp-retiro-main {
  min-height: 100vh;
}

.lp-retiro-hero {
  position: relative;
  overflow: hidden;
  padding: 16px 0 24px;
  background:
    radial-gradient(circle at top center, rgba(30, 82, 191, 0.26), transparent 28%),
    linear-gradient(135deg, #123173 0%, #0b255d 48%, #071d4e 100%);
  color: #ffffff;
}

.lp-retiro-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -78px;
  height: 150px;
  background: #ffffff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.lp-retiro-hero::before {
  content: "";
  position: absolute;
  inset: auto -6% -34px;
  height: 180px;
  background:
    repeating-radial-gradient(
      ellipse at 50% 0%,
      rgba(75, 122, 220, 0.22) 0 2px,
      transparent 2px 14px
    );
  opacity: 0.48;
  pointer-events: none;
}

.lp-retiro-hero-shell,
.lp-retiro-video-shell {
  position: relative;
  z-index: 1;
}

.lp-retiro-hero-shell {
  display: grid;
  gap: 10px;
}

.lp-retiro-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto 4px;
}

.lp-retiro-brand-logo {
  display: inline-flex;
  width: 126px;
  height: 46px;
  align-items: center;
  justify-content: center;
}

.lp-retiro-brand-logo img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.lp-retiro-brand-copy {
  display: grid;
  gap: 2px;
}

.lp-retiro-brand-copy strong {
  font-size: 1.02rem;
}

.lp-retiro-brand-copy small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
}

.lp-retiro-hero-copy,
.lp-retiro-section-head,
.lp-retiro-video-cta {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.lp-retiro-hero-video-block {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.lp-retiro-hero-copy h1 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.08;
  text-wrap: balance;
  max-width: 18ch;
  margin-inline: auto;
}

.lp-retiro-hero-copy .lead {
  max-width: 48ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  line-height: 1.48;
}

.lp-retiro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.02rem;
  box-shadow: 0 16px 34px rgba(14, 28, 58, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lp-retiro-cta:hover {
  transform: translateY(-1px);
}

.lp-retiro-cta-gold {
  margin-top: 0;
  color: #0b255d;
  background: linear-gradient(135deg, #ffe382 0%, #f4c949 42%, #dca11b 100%);
}

.lp-retiro-cta-blue {
  margin-top: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #16367b 0%, #0c2560 100%);
}

.lp-retiro-trust {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
}

.lp-retiro-trust span,
.lp-retiro-trust-dark span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lp-retiro-trust span::before,
.lp-retiro-trust-dark span::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  opacity: 0.8;
}

.lp-retiro-video-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(135deg, #15367d 0%, #071d4e 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.lp-retiro-video-card-hero {
  margin-top: 0;
}

.lp-retiro-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding-top: 56.25%;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.09), transparent 28%),
    linear-gradient(135deg, #15367d 0%, #071d4e 100%);
}

.lp-retiro-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lp-retiro-video-embed,
.lp-retiro-video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lp-retiro-video-placeholder {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 28px;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(135deg, #15367d 0%, #071d4e 100%);
}

.lp-retiro-video-placeholder-play {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.9rem;
  box-shadow: 0 16px 28px rgba(7, 29, 78, 0.24);
}

.lp-retiro-video-placeholder-copy {
  display: grid;
  gap: 8px;
}

.lp-retiro-video-placeholder-copy strong {
  font-size: 1.4rem;
}

.lp-retiro-video-placeholder-copy span {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.64;
}

.lp-retiro-post-video {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  margin-top: 0;
}

.lp-retiro-post-video-copy {
  max-width: 34ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.42;
}

.lp-retiro-trust {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
}

.lp-retiro-trust-dark {
  margin-top: 16px;
  color: var(--text-soft);
}

.lp-retiro-footer {
  padding: 8px 0 18px;
}

.lp-retiro-footer p {
  margin: 0;
  color: var(--text-soft);
  text-align: center;
  font-size: 0.92rem;
}

.page-lp-modalidad40 {
  background:
    radial-gradient(circle at top center, rgba(14, 46, 110, 0.12), transparent 24%),
    #ffffff;
}

.lp-modalidad40-main {
  min-height: 100vh;
}

.lp-modalidad40-hero {
  position: relative;
  overflow: hidden;
  padding: 16px 0 30px;
  background:
    radial-gradient(circle at top center, rgba(26, 73, 170, 0.22), transparent 28%),
    linear-gradient(135deg, #123173 0%, #0b255d 48%, #071d4e 100%);
  color: #ffffff;
}

.lp-modalidad40-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -78px;
  height: 150px;
  background: #ffffff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.lp-modalidad40-hero::before {
  content: "";
  position: absolute;
  inset: auto -6% -34px;
  height: 180px;
  background:
    repeating-radial-gradient(
      ellipse at 50% 0%,
      rgba(75, 122, 220, 0.22) 0 2px,
      transparent 2px 14px
    );
  opacity: 0.42;
  pointer-events: none;
}

.lp-modalidad40-hero-shell,
.lp-modalidad40-payment {
  position: relative;
  z-index: 1;
}

.lp-modalidad40-hero-shell {
  display: grid;
  gap: 10px;
}

.lp-modalidad40-hero-copy,
.lp-modalidad40-post-video {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.lp-modalidad40-hero-copy h1 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(1.7rem, 2.9vw, 2.55rem);
  line-height: 1.08;
  text-wrap: balance;
  max-width: 18ch;
  margin-inline: auto;
}

.lp-modalidad40-hero-copy .lead {
  max-width: 50ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.92rem, 1.12vw, 1rem);
  line-height: 1.52;
}

.lp-modalidad40-video-block {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.lp-modalidad40-post-video {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  margin-top: 0;
}

.lp-modalidad40-kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.lp-modalidad40-price-chip {
  display: grid;
  gap: 6px;
  max-width: 38rem;
  margin: 8px auto 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lp-modalidad40-price-chip strong {
  color: #ffe382;
  font-size: 1.5rem;
}

.lp-modalidad40-price-chip span {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.lp-modalidad40-video-section,
.lp-modalidad40-content,
.lp-modalidad40-cta-band {
  padding: 28px 0;
}

.lp-modalidad40-video-shell,
.lp-modalidad40-section-head {
  display: grid;
  gap: 12px;
}

.lp-modalidad40-section-head {
  max-width: 64rem;
  margin: 0 auto 18px;
  text-align: center;
}

.lp-modalidad40-section-head .lp-modalidad40-kicker,
.lp-modalidad40-panel .lp-modalidad40-kicker,
.lp-modalidad40-cta-shell .lp-modalidad40-kicker {
  color: var(--primary-blue);
  margin-bottom: 0;
}

.lp-modalidad40-section-head h2,
.lp-modalidad40-panel h2,
.lp-modalidad40-cta-shell h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.lp-modalidad40-section-head p,
.lp-modalidad40-panel p,
.lp-modalidad40-cta-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.lp-modalidad40-feature-grid {
  display: grid;
  gap: 16px;
}

.lp-modalidad40-feature-card,
.lp-modalidad40-panel {
  display: grid;
  gap: 10px;
  padding: 24px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: var(--shadow-sm);
}

.lp-modalidad40-feature-card h3 {
  margin: 0;
  font-size: 1.14rem;
}

.lp-modalidad40-feature-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.lp-modalidad40-content-soft {
  background: linear-gradient(180deg, #f9fbff 0%, rgba(255, 255, 255, 0.9) 100%);
}

.lp-modalidad40-two-column {
  display: grid;
  gap: 16px;
}

.lp-modalidad40-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}

.lp-modalidad40-disclaimer-note {
  font-weight: 600;
  color: var(--dark-navy-text);
}

.lp-modalidad40-cta-shell {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 26px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: var(--shadow-sm);
}

.lp-modalidad40-cta-price {
  margin: 0;
  color: var(--dark-navy-text);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
}

.lp-modalidad40-form-grid-wide .lp-modalidad40-field-full {
  grid-column: 1 / -1;
}

.lp-modalidad40-proof-section {
  padding: 28px 0 42px;
}

.lp-modalidad40-proof-shell {
  display: grid;
  gap: 18px;
}

.lp-m40-proof-main .lp-retiro-brand {
  margin-bottom: 0;
}

.lp-modalidad40-payment {
  padding: 22px 0 42px;
}

.lp-modalidad40-lead {
  padding: 22px 0 0;
}

.lp-modalidad40-form-card {
  display: grid;
  gap: 22px;
  padding: 26px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 22px 46px rgba(148, 163, 184, 0.12);
}

.lp-modalidad40-lead-form {
  display: grid;
  gap: 14px;
}

.lp-modalidad40-form-grid {
  display: grid;
  gap: 14px;
}

.lp-modalidad40-consent {
  margin-top: 2px;
}

.lp-modalidad40-form-actions {
  display: grid;
}

.lp-modalidad40-form-actions .btn {
  width: 100%;
}

.lp-modalidad40-payment-card {
  display: grid;
  gap: 22px;
  padding: 26px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 22px 46px rgba(148, 163, 184, 0.12);
}

.lp-modalidad40-payment-head {
  display: grid;
  gap: 10px;
  max-width: 70ch;
}

.lp-modalidad40-payment-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.lp-modalidad40-payment-head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.lp-modalidad40-payment-grid {
  display: grid;
  gap: 16px;
}

.lp-modalidad40-method-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(11, 31, 68, 0.08);
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.08);
}

.lp-modalidad40-method-card-muted {
  background: linear-gradient(180deg, #f9fbff 0%, #f3f7ff 100%);
}

.lp-modalidad40-method-tag {
  margin: 0;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.lp-modalidad40-method-card h3,
.lp-modalidad40-whatsapp-band h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.14;
}

.lp-modalidad40-payment-data {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.lp-modalidad40-payment-data li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(11, 31, 68, 0.06);
}

.lp-modalidad40-payment-data span {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.lp-modalidad40-payment-data strong {
  color: var(--dark-navy-text);
  font-size: 1rem;
  word-break: break-word;
}

.lp-modalidad40-copy-grid {
  display: grid;
  gap: 10px;
}

.lp-modalidad40-copy {
  width: 100%;
}

.lp-modalidad40-step-list {
  display: grid;
  gap: 12px;
}

.lp-modalidad40-step-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.lp-modalidad40-step-list strong {
  color: var(--primary-blue);
}

.lp-modalidad40-step-list span,
.lp-modalidad40-method-card .card-copy,
.lp-modalidad40-whatsapp-band p {
  color: var(--text-soft);
  line-height: 1.64;
}

.lp-modalidad40-whatsapp-band {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(0, 87, 217, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
}

.lp-modalidad40-whatsapp-band p {
  margin: 0;
}

.lp-modalidad40-whatsapp-actions {
  display: grid;
  gap: 12px;
  align-content: start;
}

.lp-modalidad40-whatsapp-note {
  font-size: 0.92rem;
}

.article-hero,
.article-layout {
  display: grid;
  gap: 18px;
}

.article-hero-card,
.article-body-card,
.article-side-card {
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 16px 36px rgba(148, 163, 184, 0.08);
}

.article-hero-card {
  padding: 28px 30px;
}

.article-hero-card h1 {
  max-width: 12ch;
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 4.6vw, 4rem);
  line-height: 0.98;
}

.article-layout {
  margin-top: 18px;
}

.article-body-card {
  padding: 26px 28px;
}

.article-body-card h2 {
  margin-top: 46px;
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 1.28rem;
  line-height: 1.26;
  letter-spacing: -0.02em;
}

.article-content h2 {
  margin-top: 46px;
}

.article-body-card h2:first-child {
  margin-top: 0;
}

.article-body-card p {
  margin-bottom: 14px;
  color: var(--text-soft);
  line-height: 1.74;
}

.article-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.74;
}

.article-list li + li {
  margin-top: 8px;
}

.article-side {
  display: grid;
  gap: 16px;
}

.article-side-card {
  padding: 22px 24px;
}

.article-side-card h3 {
  margin-bottom: 10px;
}

.article-side-card .card-copy {
  margin-bottom: 16px;
}

.page-blog .blog-topic {
  font-size: 0.7rem;
}

@media (min-width: 1080px) {
  .page-lp-retiro .container {
    width: min(calc(100% - 48px), 1160px);
  }

  .lp-retiro-hero {
    padding: 12px 0 18px;
  }

  .page-lp-modalidad40 .container {
    width: min(calc(100% - 48px), 1160px);
  }

  .lp-modalidad40-hero {
    padding: 12px 0 22px;
  }

  .lp-modalidad40-hero-shell {
    gap: 8px;
  }

  .lp-modalidad40-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lp-modalidad40-two-column,
  .lp-modalidad40-cta-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-modalidad40-cta-shell .lp-retiro-cta {
    justify-self: end;
    width: auto;
    min-width: 320px;
  }

  .lp-modalidad40-payment-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .lp-modalidad40-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-modalidad40-form-grid .field:last-child {
    grid-column: 1 / -1;
  }

  .lp-modalidad40-whatsapp-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .lp-retiro-brand {
    margin-bottom: 2px;
  }

  .lp-retiro-hero-shell {
    gap: 8px;
  }

  .page-modalidad40 .page-shell,
  .page-seguros .page-shell,
  .page-creditos .page-shell,
  .page-nosotros .page-shell,
  .page-blog .page-shell {
    padding-top: 14px;
    padding-bottom: 40px;
  }

  .page-blog-article .blog-article-hero {
    padding-top: 28px;
  }

  .page-blog-article .article-hero-shell {
    padding-top: 10px;
  }

  .page-modalidad40 .service-hero,
  .page-seguros .service-hero,
  .page-creditos .service-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 18px;
  }

  .page-modalidad40 .service-hero-copy,
  .page-modalidad40 .service-hero-side,
  .page-seguros .service-hero-copy,
  .page-seguros .service-hero-side,
  .page-creditos .service-hero-copy,
  .page-creditos .service-hero-side {
    padding: 26px;
  }

  .page-modalidad40 .service-hero-copy h1,
  .page-seguros .service-hero-copy h1,
  .page-creditos .service-hero-copy h1 {
    font-size: clamp(2.8rem, 4.15vw, 3.95rem);
  }

  .page-modalidad40 .page-card,
  .page-seguros .page-card,
  .page-creditos .page-card {
    padding: 22px;
  }

  .page-nosotros .about-layout {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: 16px;
  }

  .page-nosotros .about-intro-card,
  .page-nosotros .about-values-card {
    padding: 26px 28px;
  }

  .page-nosotros .about-intro-card h1 {
    font-size: clamp(3rem, 4vw, 3.75rem);
  }

  .page-nosotros .about-wide-visual {
    min-height: 332px;
  }

  .page-nosotros .about-values-compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-blog .page-heading h1 {
    font-size: clamp(2.95rem, 3.85vw, 4.2rem);
  }

  .article-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.52fr);
    align-items: start;
  }
}

@media (max-width: 767px) {
  .lp-retiro-hero {
    padding: 14px 0 18px;
  }

  .lp-modalidad40-hero-copy .lead,
  .lp-modalidad40-whatsapp-note {
    font-size: 0.92rem;
  }

  .lp-modalidad40-payment-card {
    padding: 22px 18px;
  }

  .lp-modalidad40-form-card {
    padding: 22px 18px;
  }

  .lp-modalidad40-method-card,
  .lp-modalidad40-whatsapp-band {
    padding: 18px;
  }

  .lp-retiro-brand {
    gap: 10px;
    margin-bottom: 4px;
  }

  .lp-retiro-brand-logo {
    width: 112px;
    height: 40px;
  }

  .lp-retiro-brand-logo img {
    height: 36px;
  }

  .lp-retiro-brand-copy strong {
    font-size: 0.94rem;
  }

  .lp-retiro-brand-copy small {
    font-size: 0.72rem;
  }

  .lp-retiro-hero-copy h1 {
    font-size: clamp(1.62rem, 7vw, 2.15rem);
  }

  .lp-retiro-hero-shell {
    gap: 10px;
  }

  .lp-retiro-hero-copy .lead,
  .lp-retiro-post-video-copy {
    font-size: 0.88rem;
  }

  .lp-retiro-video-card {
    padding: 9px;
    border-radius: 20px;
  }

  .lp-retiro-video-frame {
    border-radius: 16px;
  }

  .lp-retiro-cta {
    width: 100%;
    max-width: 320px;
  }

  .lp-retiro-trust {
    margin-top: 4px;
    font-size: 0.82rem;
  }
}

/* Subpage hero/title size unification */
.page-modalidad40 .service-hero-copy h1,
.page-seguros .service-hero-copy h1,
.page-creditos .service-hero-copy h1,
.page-nosotros .about-intro-card h1,
.page-blog .page-heading h1 {
  font-size: clamp(2.55rem, 4.95vw, 4.05rem);
  line-height: 0.98;
}

.page-modalidad40 .service-hero-copy h1,
.page-seguros .service-hero-copy h1,
.page-creditos .service-hero-copy h1 {
  font-size: clamp(2.9rem, 5.45vw, 4.65rem);
}

.page-nosotros .about-intro-card h1 {
  font-size: clamp(3.45rem, 6.2vw, 5.35rem);
}

@media (min-width: 1080px) {
  .page-modalidad40 .service-hero-copy h1,
  .page-seguros .service-hero-copy h1,
  .page-creditos .service-hero-copy h1,
  .page-nosotros .about-intro-card h1,
  .page-blog .page-heading h1 {
    font-size: clamp(3.3rem, 4.15vw, 4.15rem);
    line-height: 0.98;
  }

  .page-modalidad40 .service-hero-copy h1,
  .page-seguros .service-hero-copy h1,
  .page-creditos .service-hero-copy h1 {
    font-size: clamp(3.8rem, 4.75vw, 4.8rem);
  }

  .page-nosotros .about-intro-card h1 {
    font-size: clamp(4.35rem, 5.55vw, 5.65rem);
  }
}

/* Modalidad 40 visual hero refinement */
.page-modalidad40 .service-hero {
  align-items: stretch;
}

.page-modalidad40 .service-hero-side.modalidad40-visual {
  display: grid;
  align-items: stretch;
  padding: 0 !important;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid rgba(13, 31, 68, 0.08);
  box-shadow: 0 22px 48px rgba(14, 32, 72, 0.12);
  min-height: 372px;
}

.page-modalidad40 .modalidad40-preview-image {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.page-modalidad40 .modalidad40-visual-copy {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: stretch;
  width: calc(100% - 48px);
  max-width: none;
  margin: 24px;
  padding: 18px 18px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(13, 31, 68, 0.08);
  box-shadow: 0 14px 28px rgba(16, 33, 72, 0.08);
  backdrop-filter: blur(10px);
}

.page-modalidad40 .modalidad40-visual .section-tag,
.page-modalidad40 .modalidad40-visual h3,
.page-modalidad40 .modalidad40-visual p {
  color: var(--dark-navy-text);
  text-shadow: none;
}

.page-modalidad40 .modalidad40-visual .section-tag {
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.page-modalidad40 .modalidad40-visual h3 {
  margin-bottom: 8px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1;
}

.page-modalidad40 .modalidad40-visual p {
  margin-bottom: 16px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.page-modalidad40 .btn-visual-inline {
  width: fit-content;
  padding-inline: 22px;
  background: rgba(255, 255, 255, 0.96);
}

/* Contact page compaction */
.page-contact .page-shell {
  padding-top: 10px;
  padding-bottom: 20px;
}

.page-contact .contact-grid {
  gap: 14px;
}

.page-contact .contact-form,
.page-contact .contact-details {
  padding: 16px;
}

.page-contact .contact-details h1 {
  font-size: clamp(2.45rem, 4.4vw, 3.7rem);
  line-height: 0.93;
  margin-bottom: 12px;
}

.page-contact .contact-details .lead {
  font-size: 0.96rem;
  line-height: 1.52;
  max-width: 34ch;
}

.page-contact .contact-list {
  gap: 8px;
  margin-top: 12px;
}

.page-contact .contact-whatsapp-btn {
  width: fit-content;
  margin-top: 14px;
}

.page-contact .field {
  gap: 5px;
}

.page-contact .field span,
.page-contact .consent span {
  font-size: 0.94rem;
}

.page-contact .field input,
.page-contact .field select,
.page-contact .field textarea {
  padding: 10px 13px;
  font-size: 0.95rem;
}

.page-contact .field textarea {
  min-height: 118px;
}

.page-contact .contact-form {
  gap: 10px;
}

.page-contact .contact-form .btn.btn-primary {
  padding: 12px 20px;
}

.page-registro-pensionados .page-shell {
  padding-top: 10px;
  padding-bottom: 20px;
}

.pensionados-intro,
.pensionados-form-card {
  padding: 16px;
}

.page-registro-pensionados .contact-grid {
  gap: 14px;
}

.page-registro-pensionados .contact-details h1 {
  font-size: clamp(2.45rem, 4.4vw, 3.7rem);
  line-height: 0.93;
  margin-bottom: 12px;
}

.page-registro-pensionados .contact-details .lead {
  font-size: 0.96rem;
  line-height: 1.52;
  max-width: 34ch;
}

.page-registro-pensionados .contact-list {
  gap: 8px;
  margin-top: 12px;
}

.pensionados-form-card {
  display: grid;
  gap: 12px;
}

.pensionados-form-head {
  display: grid;
  gap: 8px;
  margin-bottom: 2px;
}

.pensionados-form-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.pensionados-form-head .card-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.62;
}

.field-label-with-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-label-with-counter small {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 1080px) {
  .page-registro-pensionados .page-shell {
    padding-top: 6px;
    padding-bottom: 14px;
  }

  .page-registro-pensionados .contact-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 14px;
    align-items: start;
  }

  .pensionados-intro,
  .pensionados-form-card {
    padding: 18px;
  }

  .page-registro-pensionados .contact-details h1 {
    font-size: clamp(2.95rem, 4vw, 4.05rem);
  }

  .page-registro-pensionados .contact-details .lead {
    max-width: 34ch;
    font-size: 0.98rem;
  }
}

@media (min-width: 1080px) {
  .page-contact .page-shell {
    padding-top: 6px;
    padding-bottom: 14px;
  }

  .page-contact .contact-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 14px;
    align-items: start;
  }

  .page-contact .contact-form,
  .page-contact .contact-details {
    padding: 18px;
  }

  .page-contact .contact-details h1 {
    font-size: clamp(2.95rem, 4vw, 4.05rem);
  }

  .page-contact .contact-details .lead {
    max-width: 34ch;
    font-size: 0.98rem;
  }

  .page-contact .field textarea {
    min-height: 104px;
  }
}

@media (min-width: 1080px) {
  .page-modalidad40 .service-hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
    gap: 20px;
  }

  .page-modalidad40 .service-hero-copy {
    padding: 28px;
  }

  .page-modalidad40 .service-hero-copy h1 {
    max-width: 9.8ch;
  }

  .page-modalidad40 .service-hero-side.modalidad40-visual {
    min-height: 410px;
  }

  .page-modalidad40 .modalidad40-visual-copy {
    width: calc(100% - 52px);
    margin: 26px;
    padding: 18px 18px 14px;
  }
}

/* Scoped visual refinement for the retirement landing only. */
.page-lp-retiro {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f4f7fb 100%);
}

.page-lp-retiro .lp-retiro-main {
  min-height: auto;
}

.page-lp-retiro .lp-retiro-hero {
  color: var(--dark-navy-text);
  padding: clamp(10px, 1.8vw, 22px) 0 clamp(22px, 3.6vw, 38px);
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 82, 191, 0.09), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(212, 164, 58, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 56%, #f4f7fb 100%);
}

.page-lp-retiro .lp-retiro-hero::before {
  opacity: 0.1;
  height: 120px;
  background:
    repeating-radial-gradient(
      ellipse at 50% 0%,
      rgba(75, 122, 220, 0.12) 0 1px,
      transparent 1px 16px
    );
}

.page-lp-retiro .lp-retiro-hero::after {
  display: none;
}

.page-lp-retiro .lp-retiro-hero-shell {
  max-width: 940px;
  gap: clamp(10px, 1.5vw, 16px);
  padding: clamp(14px, 2vw, 24px);
  border-radius: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid #e4eaf2;
  box-shadow: 0 24px 58px rgba(15, 35, 70, 0.12);
  backdrop-filter: blur(10px);
}

.page-lp-retiro .lp-retiro-brand {
  margin-bottom: 0;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  color: var(--dark-navy-text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.12);
}

.page-lp-retiro .lp-retiro-brand-logo {
  width: 42px;
  height: 42px;
}

.page-lp-retiro .lp-retiro-brand-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.page-lp-retiro .lp-retiro-eyebrow {
  margin: 0 0 6px;
  color: #a97818;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-lp-retiro .lp-retiro-brand-copy small {
  color: var(--text-soft);
}

.page-lp-retiro .lp-retiro-hero-copy h1 {
  color: var(--dark-navy-text);
  max-width: 18ch;
  margin-bottom: 8px;
  font-size: clamp(1.62rem, 2.45vw, 2.28rem);
}

.page-lp-retiro .lp-retiro-hero-copy .lead {
  color: #4f6385;
  max-width: 48ch;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
}

.page-lp-retiro .lp-retiro-video-card {
  padding: clamp(7px, 1vw, 10px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 31, 68, 0.1);
  box-shadow:
    0 22px 48px rgba(15, 35, 70, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.page-lp-retiro .lp-retiro-video-frame {
  background: #0f244d;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 35, 70, 0.1);
}

.page-lp-retiro .lp-retiro-cta-gold {
  color: #0b255d;
  background: linear-gradient(180deg, #e3b74a 0%, #c99324 100%);
  box-shadow:
    0 16px 30px rgba(174, 124, 23, 0.18),
    0 0 34px rgba(212, 164, 58, 0.18);
}

.page-lp-retiro .lp-retiro-cta-gold:hover,
.page-lp-retiro .lp-retiro-cta-gold:focus-visible {
  box-shadow:
    0 18px 34px rgba(174, 124, 23, 0.24),
    0 0 42px rgba(212, 164, 58, 0.22);
}

.page-lp-retiro .lp-retiro-post-video-copy {
  color: #4f6385;
  font-size: 0.88rem;
}

.page-lp-retiro .lp-retiro-trust {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
}

.page-lp-retiro .lp-retiro-trust span::before {
  display: none;
}

.page-lp-retiro .lp-retiro-footer {
  background: transparent;
}

@media (min-width: 900px) {
  .page-lp-retiro .lp-retiro-hero-video-block,
  .page-lp-retiro .lp-retiro-video-card {
    max-width: 780px;
  }

  .page-lp-retiro .lp-retiro-hero {
    padding-top: 12px;
  }

  .page-lp-retiro .lp-retiro-hero-shell {
    padding: 18px 24px 22px;
  }

  .page-lp-retiro .lp-retiro-brand-copy strong {
    font-size: 0.96rem;
  }

  .page-lp-retiro .lp-retiro-brand-copy small {
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .page-lp-retiro .lp-retiro-hero {
    padding-top: 12px;
  }

  .page-lp-retiro .lp-retiro-hero-shell {
    padding: 16px;
    border-radius: 26px;
  }

  .page-lp-retiro .lp-retiro-brand {
    padding: 7px 10px;
  }

  .page-lp-retiro .lp-retiro-brand-logo {
    width: 38px;
    height: 38px;
  }

  .page-lp-retiro .lp-retiro-brand-logo img {
    width: 32px;
    height: 32px;
  }

  .page-lp-retiro .lp-retiro-eyebrow {
    font-size: 0.68rem;
  }

  .page-lp-retiro .lp-retiro-cta {
    width: 100%;
    min-height: 54px;
  }
}

/* Scoped visual alignment for the Modalidad 40 landing only. */
.page-lp-modalidad40 {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f4f7fb 100%);
}

.page-lp-modalidad40 .lp-modalidad40-main {
  min-height: auto;
}

.page-lp-modalidad40 .lp-modalidad40-hero {
  color: var(--dark-navy-text);
  padding: clamp(12px, 2vw, 24px) 0 clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 82, 191, 0.09), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(212, 164, 58, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 56%, #f4f7fb 100%);
}

.page-lp-modalidad40 .lp-modalidad40-hero::before {
  opacity: 0.1;
  height: 120px;
  background:
    repeating-radial-gradient(
      ellipse at 50% 0%,
      rgba(75, 122, 220, 0.12) 0 1px,
      transparent 1px 16px
    );
}

.page-lp-modalidad40 .lp-modalidad40-hero::after,
.page-lp-modalidad40 .lp-modalidad40-video-section {
  display: none;
}

.page-lp-modalidad40 .lp-modalidad40-hero-shell {
  max-width: 940px;
  gap: clamp(10px, 1.5vw, 16px);
  padding: clamp(14px, 2vw, 24px);
  border-radius: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid #e4eaf2;
  box-shadow: 0 24px 58px rgba(15, 35, 70, 0.12);
  backdrop-filter: blur(10px);
}

.page-lp-modalidad40 .lp-retiro-brand {
  margin-bottom: 0;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  color: var(--dark-navy-text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.12);
}

.page-lp-modalidad40 .lp-retiro-brand-logo {
  width: 42px;
  height: 42px;
}

.page-lp-modalidad40 .lp-retiro-brand-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.page-lp-modalidad40 .lp-retiro-brand-copy small {
  color: var(--text-soft);
}

.page-lp-modalidad40 .lp-modalidad40-hero .lp-modalidad40-kicker {
  margin: 0 0 6px;
  color: #a97818;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-lp-modalidad40 .lp-modalidad40-hero-copy h1 {
  color: var(--dark-navy-text);
  max-width: 20ch;
  margin-bottom: 8px;
  font-size: clamp(1.62rem, 2.45vw, 2.28rem);
}

.page-lp-modalidad40 .lp-modalidad40-hero-copy .lead {
  color: #4f6385;
  max-width: 58ch;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
}

.page-lp-modalidad40 .lp-modalidad40-hero-video-block,
.page-lp-modalidad40 .lp-modalidad40-video-card-hero {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.page-lp-modalidad40 .lp-retiro-video-card {
  padding: clamp(7px, 1vw, 10px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 31, 68, 0.1);
  box-shadow:
    0 22px 48px rgba(15, 35, 70, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.page-lp-modalidad40 .lp-retiro-video-frame {
  background: #0f244d;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 35, 70, 0.1);
}

.page-lp-modalidad40 .lp-modalidad40-post-video {
  display: grid;
  gap: 10px;
  justify-items: center;
  max-width: 780px;
  margin: 0 auto;
}

.page-lp-modalidad40 .lp-modalidad40-price-chip {
  max-width: 100%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.1);
}

.page-lp-modalidad40 .lp-modalidad40-price-chip strong {
  color: #a97818;
  font-size: 1.28rem;
}

.page-lp-modalidad40 .lp-modalidad40-price-chip span {
  color: #4f6385;
  font-size: 0.88rem;
}

.page-lp-modalidad40 .lp-retiro-cta-gold {
  color: #0b255d;
  background: linear-gradient(180deg, #e3b74a 0%, #c99324 100%);
  box-shadow: 0 16px 30px rgba(174, 124, 23, 0.18);
}

.page-lp-modalidad40 .lp-retiro-cta-gold:hover,
.page-lp-modalidad40 .lp-retiro-cta-gold:focus-visible {
  box-shadow: 0 18px 34px rgba(174, 124, 23, 0.24);
}

.page-lp-modalidad40 .lp-retiro-trust {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
}

.page-lp-modalidad40 .lp-retiro-trust span::before {
  display: none;
}

@media (min-width: 900px) {
  .page-lp-modalidad40 .lp-modalidad40-hero {
    padding-top: 12px;
  }

  .page-lp-modalidad40 .lp-modalidad40-hero-shell {
    padding: 18px 24px 22px;
  }

  .page-lp-modalidad40 .lp-retiro-brand-copy strong {
    font-size: 0.96rem;
  }

  .page-lp-modalidad40 .lp-retiro-brand-copy small {
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .page-lp-modalidad40 .lp-modalidad40-hero {
    padding-top: 12px;
  }

  .page-lp-modalidad40 .lp-modalidad40-hero-shell {
    padding: 16px;
    border-radius: 26px;
  }

  .page-lp-modalidad40 .lp-retiro-brand {
    padding: 7px 10px;
  }

  .page-lp-modalidad40 .lp-retiro-brand-logo {
    width: 38px;
    height: 38px;
  }

  .page-lp-modalidad40 .lp-retiro-brand-logo img {
    width: 32px;
    height: 32px;
  }

  .page-lp-modalidad40 .lp-modalidad40-hero .lp-modalidad40-kicker {
    font-size: 0.68rem;
  }

  .page-lp-modalidad40 .lp-retiro-cta {
    width: 100%;
    min-height: 54px;
  }
}
