:root {
  color-scheme: light;
  --ink: #18212e;
  --muted: #5e6977;
  --line: #dce2ea;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --brand: #124a88;
  --brand-dark: #0c315c;
  --cyan: #18a7d4;
  --green: #35735a;
  --gold: #c79338;
  --shadow: 0 20px 48px rgba(18, 33, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(12, 49, 92, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-dark);
}

.brand {
  display: block;
  width: 164px;
}

.brand img,
.footer img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a:hover {
  color: var(--brand-dark);
  background: #edf5fb;
}

.header-cta,
.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 900;
}

.header-cta,
.primary-button {
  color: #ffffff;
  background: var(--brand);
  border: 1px solid var(--brand);
}

.header-cta:hover,
.primary-button:hover {
  background: var(--brand-dark);
}

.secondary-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--brand-dark);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 24, 43, 0.92) 0%, rgba(9, 24, 43, 0.78) 38%, rgba(9, 24, 43, 0.2) 72%),
    linear-gradient(180deg, rgba(9, 24, 43, 0.28), rgba(9, 24, 43, 0.62));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 142px 0 56px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.13rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  width: min(700px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  font-size: 1.6rem;
  font-weight: 950;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 760;
}

.trust-strip {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: -32px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--brand-dark);
  background: #ffffff;
  text-align: center;
  font-weight: 900;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 124px 0 54px;
}

.page-hero {
  padding: clamp(34px, 7vw, 72px);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(9, 24, 43, 0.94), rgba(9, 24, 43, 0.72)),
    url("assets/consorcio-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 820px;
}

.page-hero p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.quote-page {
  width: 100%;
  padding-top: 0;
}

.content-menu {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 24px auto 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.content-menu-heading {
  display: grid;
  align-content: center;
  padding: 10px;
}

.content-menu-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12;
}

.content-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.content-options a {
  min-height: 168px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
}

.content-options a:hover {
  border-color: var(--cyan);
  background: #edf8fc;
}

.content-options span {
  color: var(--cyan);
  font-weight: 950;
}

.content-options strong {
  display: block;
  font-size: 1.08rem;
}

.content-options small {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: end;
}

.intro p:last-child,
.lead-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 10px;
}

.benefit-card,
.product-grid article,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(18, 33, 46, 0.04);
}

.benefit-card {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  padding: 22px;
}

.benefit-card.strong {
  color: #ffffff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.benefit-card span {
  color: var(--cyan);
  font-weight: 950;
}

.benefit-card p,
.product-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.benefit-card.strong p {
  color: rgba(255, 255, 255, 0.76);
}

.product-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.product-copy {
  position: sticky;
  top: 112px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.product-grid article {
  min-height: 180px;
  padding: 22px;
}

.product-grid h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--gold);
}

.insurance-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-top: 56px;
}

.insurance-heading {
  padding: 28px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--brand-dark);
  box-shadow: var(--shadow);
}

.insurance-heading h2 {
  color: #ffffff;
}

.insurance-heading p:last-child {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insurance-grid article {
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.insurance-grid strong {
  color: var(--brand-dark);
  font-size: 1rem;
}

.insurance-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.about-text {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.about-text p {
  margin-bottom: 0;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.about-points span {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand-dark);
  background: #ffffff;
  font-weight: 850;
}

.home-summary {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.summary-grid article {
  min-height: 160px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.summary-grid strong {
  color: var(--brand-dark);
  font-size: 1.04rem;
}

.summary-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.process {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.12fr);
  gap: 46px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-heading h2,
.insurance-heading h2,
.product-copy h2,
.lead-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.45rem);
  line-height: 1.12;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--brand);
  font-weight: 950;
}

.steps strong,
.steps span {
  grid-column: 2;
}

.steps strong {
  font-size: 1.04rem;
}

.steps span {
  color: var(--muted);
  line-height: 1.55;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 430px;
  gap: 46px;
  align-items: start;
}

.lead-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lead-copy li {
  display: flex;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
}

.lead-copy li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

input:focus,
select:focus {
  outline: 3px solid rgba(24, 167, 212, 0.22);
  border-color: var(--cyan);
}

.full {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-note.success {
  color: var(--green);
  font-weight: 850;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
}

.footer img {
  width: 156px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  text-align: right;
  font-weight: 760;
}

.whatsapp-float {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  color: #ffffff;
  background: #1fae5b;
  box-shadow: 0 16px 34px rgba(31, 174, 91, 0.32);
  text-decoration: none;
  font-weight: 950;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex: 0 0 auto;
}

.whatsapp-float:hover {
  background: #168d48;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    width: calc(100% - 24px);
    grid-template-columns: auto 1fr;
    margin: 12px auto 0;
    transform: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand {
    justify-self: start;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 8px;
  }

  .site-header.menu-open .nav {
    display: grid;
  }

  .nav a {
    min-height: 46px;
    justify-content: flex-start;
    background: #f4f7fb;
  }

  .header-cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero {
    min-height: auto;
    margin-top: 12px;
    padding-top: 0;
  }

  .hero-content {
    padding-top: 78px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 24, 43, 0.94), rgba(9, 24, 43, 0.68)),
      linear-gradient(180deg, rgba(9, 24, 43, 0.2), rgba(9, 24, 43, 0.76));
  }

  .trust-strip,
  .content-menu,
  .home-summary,
  .benefits,
  .intro,
  .product-band,
  .insurance-section,
  .about-section,
  .process,
  .lead-section {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
  }

  .product-copy {
    position: static;
  }

  .lead-section {
    gap: 28px;
  }

  .content-options,
  .summary-grid,
  .about-points {
    grid-template-columns: 1fr;
  }

  .process-heading h2,
  .insurance-heading h2,
  .product-copy h2,
  .lead-copy h2 {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .brand {
    width: 142px;
  }

  .hero-content,
  .section,
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .page-shell {
    padding-top: 20px;
  }

  .page-hero {
    padding: 28px 18px;
  }

  .hero-content {
    padding-top: 64px;
    padding-bottom: 46px;
  }

  h1 {
    max-width: 94%;
    margin-bottom: 18px;
    font-size: clamp(1.78rem, 7.2vw, 2.35rem);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(1.85rem, 8.8vw, 2.65rem);
    line-height: 1.12;
  }

  .process-heading h2,
  .insurance-heading h2,
  .product-copy h2,
  .lead-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-stats div {
    padding: 14px;
  }

  .hero-stats dt {
    font-size: 1.35rem;
  }

  .hero-stats,
  .product-grid,
  .insurance-grid {
    grid-template-columns: 1fr;
  }

  .content-menu {
    width: min(100% - 24px, 1180px);
    padding: 14px;
  }

  .content-options a {
    min-height: 136px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .trust-strip {
    width: calc(100% - 24px);
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip span:last-child {
    grid-column: 1 / -1;
  }

  .benefit-card {
    min-height: 210px;
  }

  .section {
    padding: 58px 0;
  }

  .lead-form {
    padding: 16px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer p {
    text-align: left;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    min-height: 54px;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

@media (max-width: 390px) {
  .hero-content {
    width: min(100% - 20px, 1180px);
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
  }

  .hero-text {
    font-size: 0.96rem;
  }

  .site-header {
    width: calc(100% - 20px);
  }
}
