:root {
  --ink: #07264d;
  --navy: #063b6f;
  --blue: #0d68b1;
  --teal: #1c8a94;
  --mint: #e9f6f3;
  --coral: #cf5848;
  --coral-dark: #b84538;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --line: #cfdeea;
  --muted: #526984;
  --shadow: 0 18px 46px rgba(7, 38, 77, 0.14);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 152px;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #244b72;
  font-size: 14px;
  font-weight: 800;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span,
.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.is-mobile-open .mobile-menu-toggle span {
  opacity: 0;
}

.site-header.is-mobile-open .mobile-menu-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-mobile-open .mobile-menu-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.header-inner > .button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 14px;
  white-space: nowrap;
}

.nav-menu {
  position: relative;
}

.nav-menu__button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.nav-menu__button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 280px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-menu:hover .nav-menu__panel,
.nav-menu:focus-within .nav-menu__panel,
.nav-menu.is-open .nav-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-menu__panel a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: #244b72;
  line-height: 1.25;
}

.nav-menu__panel a:hover,
.nav-menu__panel a:focus-visible {
  color: var(--navy);
  background: #edf5fa;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 0;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 12px 24px rgba(207, 88, 72, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--coral-dark);
}

.button-secondary {
  color: var(--navy);
  background: #e7eef5;
}

.button-outline {
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
}

.button-arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.breadcrumbs {
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--navy);
}

.hero {
  overflow: hidden;
  padding: 58px 0 70px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.9)),
    url("1737578883-65300012-2560x1281-patron-tu-plan-medic.png") center / cover,
    #fff;
}

.hero-grid,
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1.05;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 690px;
  color: #294b6d;
  font-size: 19px;
}

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

.hero-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media .media-note {
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 70px 0;
}

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

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

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 38, 77, 0.08);
}

.card h3::before,
.source-box h2::before,
.cta-band h2::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #edf8f8 url("65300258-0-teleconsulta-ms-plan.png") center / 24px 24px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(28, 138, 148, 0.16);
}

.grid-3 .card:nth-child(2) h3::before {
  background-image: url("65316090-0-medicos-primarios-pl.png");
}

.grid-3 .card:nth-child(3) h3::before {
  background-image: url("1737578966-65300318-22x22x22x22x0x0-Cobertura-Preventiva.png");
}

.source-box h2::before {
  background-image: url("1737578967-65300319-22x22x22x22x0x0-Medicamentos-con-Cop.png");
}

.cta-band h2::before {
  background-color: rgba(255,255,255,.95);
  background-image: url("65316089-0-clinicas-salus-plan-.png");
}

.fact-list,
.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #2d4d69;
  font-weight: 700;
}

.fact-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px #d9f0ed;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  color: var(--navy);
  background: #eaf2f8;
}

.source-box {
  padding: 24px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #f8fbfd;
  color: #294b6d;
}

.source-box a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.cta-band {
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #0b719d);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.site-footer {
  padding: 38px 0 88px;
  border-top: 1px solid var(--line);
  background: #f7fbfd;
  color: #274866;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner img {
  width: 132px;
}

.footer-copy {
  margin: 0;
  text-align: right;
  font-size: 14px;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  box-shadow: 0 -8px 24px rgba(7,38,77,.1);
}

.mobile-cta .button {
  flex: 1;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav { display: none; }

  .site-header.is-mobile-open .nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.is-mobile-open .nav > a,
  .site-header.is-mobile-open .nav-menu__button {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 6px;
  }

  .site-header.is-mobile-open .nav > a:hover,
  .site-header.is-mobile-open .nav > a:focus-visible,
  .site-header.is-mobile-open .nav-menu__button:hover,
  .site-header.is-mobile-open .nav-menu__button:focus-visible {
    background: #edf5fa;
  }

  .site-header.is-mobile-open .nav-menu__panel {
    position: static;
    display: none;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
    transform: none;
  }

  .site-header.is-mobile-open .nav-menu.is-open .nav-menu__panel {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .hero-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 42px; }
  h2 { font-size: 31px; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 74px; }
  .brand img { width: 124px; }
  .header-inner > .button { display: none; }
  .hero,
  .section { padding: 52px 0; }
  h1 { font-size: 36px; }
  .lead { font-size: 18px; }
  .actions { display: grid; }
  .button { width: 100%; }
  .footer-inner { display: grid; }
  .footer-copy { text-align: left; }
  .mobile-cta { display: flex; }
  .compare-table {
    display: block;
    overflow-x: auto;
  }
}
