:root {
  --magenta: #9f006f;
  --magenta-dark: #7f005c;
  --blue: #263f76;
  --orange: #f27620;
  --brand-support: var(--blue);
  --brand-support-soft: #eef2fa;
  --brand-line: linear-gradient(
    90deg,
    rgba(38, 63, 118, 0) 0%,
    rgba(38, 63, 118, 0.9) 18%,
    rgba(159, 0, 111, 0.9) 52%,
    rgba(242, 118, 32, 0.9) 84%,
    rgba(242, 118, 32, 0) 100%
  );
  --ink: #17212b;
  --muted: #66717d;
  --muted-strong: #3f4d59;
  --line: #d9deeb;
  --soft: #f1f4fa;
  --surface: #ffffff;
  --surface-soft: #f8f9fd;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(38, 63, 118, 0.08);
  --shadow-small: 0 10px 24px rgba(38, 63, 118, 0.06);
  --header-height: 68px;
  --shell: 1180px;
}

@keyframes heroDrift {
  0% {
    transform: scale(1.012) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.028) translate3d(-6px, -4px, 0);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface-soft);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Roboto, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.85rem, 5.2vw, 5rem);
  line-height: 1;
  max-width: 780px;
}

h2 {
  font-size: clamp(1.95rem, 3vw, 2.85rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.22;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.site-header {
  align-items: center;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(198, 205, 222, 0.54);
  display: flex;
  gap: 20px;
  height: var(--header-height);
  justify-content: space-between;
  left: 0;
  padding: 0 max(22px, calc((100% - 1360px) / 2));
  position: sticky;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease;
  z-index: 50;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(31, 62, 74, 0.06);
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  width: 178px;
}

.brand img {
  width: 178px;
}

.nav-menu {
  align-items: center;
  display: flex;
  gap: 11px;
}

.nav-menu a {
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 3px;
  position: relative;
  white-space: nowrap;
}

.nav-menu a:not(.nav-cta)::after {
  background: var(--magenta);
  bottom: 2px;
  content: "";
  height: 2px;
  left: 3px;
  opacity: 0;
  position: absolute;
  right: 3px;
  transition: opacity 160ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  color: var(--magenta);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.is-active::after {
  opacity: 1;
}

.nav-menu .nav-cta {
  background: var(--magenta);
  border-radius: 8px;
  color: var(--white);
  margin-left: 4px;
  padding: 8px 15px;
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible,
.nav-menu .nav-cta.is-active {
  background: var(--magenta-dark);
  color: var(--white);
}

.menu-toggle {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 42px;
}

.menu-toggle span {
  background: currentColor;
  border-radius: 2px;
  display: block;
  height: 2px;
  position: absolute;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 19px;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

.section-shell {
  margin: 0 auto;
  max-width: var(--shell);
  padding: 0 30px;
  width: 100%;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 600;
  justify-content: center;
  min-height: 42px;
  padding: 10px 19px;
  transition: background-color 220ms ease, background-position 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--magenta);
  box-shadow: 0 10px 22px rgba(159, 0, 111, 0.16);
  color: var(--white);
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(38, 63, 118, 0.28);
  color: var(--blue);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--white);
  border-color: rgba(242, 118, 32, 0.5);
  box-shadow: none;
  color: var(--blue);
}

.button-light {
  background: var(--white);
  color: var(--blue);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--soft);
}

.eyebrow {
  color: var(--magenta);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  background:
    linear-gradient(90deg, rgba(248, 249, 253, 0.99) 0%, rgba(248, 249, 253, 0.94) 44%, rgba(248, 249, 253, 0.68) 78%, rgba(248, 249, 253, 0.9) 100%),
    url("assets/hero-medical-reference.jpg") center top / cover no-repeat;
  border-bottom: 1px solid rgba(198, 205, 222, 0.48);
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  padding-bottom: clamp(28px, 4vw, 42px);
  position: relative;
}

.hero-video {
  animation: heroDrift 24s ease-in-out infinite alternate;
  filter: saturate(0.94) contrast(0.98);
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
  transition: opacity 520ms ease, filter 520ms ease, transform 520ms ease;
  width: 100%;
  z-index: 0;
}

.hero-video.is-switching {
  filter: saturate(0.86) contrast(0.94);
  opacity: 0.24;
  transform: scale(1.035);
}

.hero-backdrop {
  background:
    linear-gradient(90deg, rgba(248, 249, 253, 0.74) 0%, rgba(248, 249, 253, 0.58) 46%, rgba(248, 249, 253, 0.18) 76%, rgba(248, 249, 253, 0.34) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(248, 249, 253, 0.42) 100%),
    repeating-linear-gradient(90deg, rgba(38, 63, 118, 0.035) 0 1px, transparent 1px 96px);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-inner {
  align-items: center;
  display: grid;
  justify-items: start;
  min-height: calc(100vh - var(--header-height) - 142px);
  padding-top: clamp(56px, 8vh, 92px);
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 700px;
  position: relative;
  text-align: left;
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

.hero-copy p {
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  font-weight: 520;
  line-height: 1.56;
  margin-top: 18px;
  margin-left: 0;
  margin-right: 0;
  max-width: 660px;
}

.hero-copy p strong {
  color: var(--ink);
  font-weight: 800;
}

.hero-actions,
.network-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 26px;
}

.access-strip {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(31, 62, 74, 0.07);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.access-strip::before {
  background: var(--magenta);
  content: "";
  height: 3px;
  left: 0;
  opacity: 0.72;
  position: absolute;
  right: 0;
  top: 0;
}

.access-strip a {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(198, 205, 222, 0.42);
  border-radius: 0;
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 102px;
  overflow: hidden;
  padding: 24px 22px 20px;
  position: relative;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease, transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.access-strip a:last-child {
  border-right: 0;
}

.access-strip a:hover,
.access-strip a:focus-visible {
  background: linear-gradient(180deg, rgba(238, 242, 250, 0.78), rgba(255, 255, 255, 0.92));
  border-color: rgba(159, 0, 111, 0.22);
  transform: translateY(-2px);
}

.access-strip .is-featured {
  background: linear-gradient(180deg, rgba(251, 241, 248, 0.78), rgba(255, 255, 255, 0.92));
  border-bottom: 0;
}

.access-strip strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.15;
}

.access-strip span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.access-strip .is-featured span {
  color: var(--muted);
}

.section {
  overflow: hidden;
  padding: clamp(84px, 8vw, 112px) 0;
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.section + .section {
  border-top: 1px solid rgba(198, 205, 222, 0.38);
}

.section > .section-shell {
  position: relative;
  z-index: 1;
}

.about-section {
  background: linear-gradient(180deg, #f5f7fc 0%, #fbfcff 100%);
}

.team-section {
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
}

.coverage-section {
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9fd 100%);
}

.plans-section {
  background: linear-gradient(180deg, #f8f9fd 0%, #ffffff 100%);
}

.ecosystem-section {
  background: linear-gradient(180deg, #ffffff 0%, rgba(38, 63, 118, 0.045) 100%);
}

.network-section {
  background: linear-gradient(180deg, #f5f7fc 0%, #fbfcff 100%);
}

.contact-section {
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
}

.section-heading {
  display: grid;
  gap: 14px;
}

.section-intro,
.section-heading.centered {
  justify-items: center;
  margin: 0 auto clamp(34px, 4vw, 48px);
  max-width: 780px;
  text-align: center;
}

.section-heading p {
  max-width: 660px;
}

.section-subtitle {
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.62;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.section-subtitle p {
  color: inherit;
  font-size: inherit;
}

.section-subtitle p + p {
  margin-top: 10px;
}

.cartilla-seo-localities {
  margin-top: 18px;
  max-width: 820px;
  font-size: 0.95rem;
}

.body-copy {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.body-copy p {
  font-size: 1.04rem;
}

.belief-grid,
.coverage-grid,
.ecosystem-grid,
.network-card-grid,
.contact-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.section-intro + .belief-grid,
.section-intro + .coverage-grid,
.section-intro + .coverage-plan-grid,
.section-intro + .plan-list,
.section-intro + .ecosystem-grid,
.section-intro + .branch-map-shell,
.contact-hero + .contact-grid {
  margin-top: 0;
}

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

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

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

.coverage-support-panel {
  margin-top: 24px;
}

.coverage-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
  margin-top: 32px;
}

.belief-card,
.coverage-card,
.coverage-plan-card,
.ecosystem-card,
.network-card,
.contact-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(38, 63, 118, 0.045);
  display: grid;
  gap: 10px;
  min-height: 142px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.belief-card:hover,
.belief-card:active,
.coverage-card:hover,
.coverage-card:active,
.coverage-plan-card:hover,
.coverage-plan-card:active,
.ecosystem-card:hover,
.ecosystem-card:focus-visible,
.ecosystem-card:active,
.network-card:hover,
.network-card:focus-visible,
.network-card:active,
.contact-card:hover,
.contact-card:focus-visible,
.contact-card:active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(159, 0, 111, 0.06));
  border-color: rgba(159, 0, 111, 0.24);
  box-shadow: 0 14px 34px rgba(159, 0, 111, 0.07);
  transform: translateY(-2px);
}

.plan-label {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.belief-card h3,
.coverage-card h3,
.coverage-plan-card h3,
.ecosystem-card h3,
.network-card h3,
.contact-card h3 {
  color: var(--ink);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  font-weight: 700;
  line-height: 1.18;
}

.belief-card p,
.coverage-card p,
.coverage-plan-card p,
.ecosystem-card p,
.network-card p,
.contact-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.52;
}

.values-card ul {
  display: grid;
  gap: 9px;
  list-style: none;
  padding: 0;
}

.values-card li {
  align-items: center;
  color: var(--muted-strong);
  display: flex;
  font-size: 0.96rem;
  font-weight: 500;
  gap: 10px;
}

.values-card li::before {
  background: var(--magenta);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 2px;
  width: 12px;
}

.team-block {
  margin-top: 28px;
}

.team-block + .team-block {
  margin-top: 42px;
}

.team-block-head {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.team-block-head h3 {
  color: var(--ink);
  flex: 0 0 auto;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 700;
  margin: 0;
  padding-left: 12px;
  position: relative;
}

.team-block-head h3::before {
  background: var(--blue);
  border-radius: 2px;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 3px;
}

.team-block-commercial .team-block-head h3::before {
  background: var(--magenta);
}

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

.team-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  padding: 18px 18px 18px 16px;
}

.team-card h4,
.team-commercial-card h4 {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.team-card p,
.team-commercial-card p {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 4px 0 0;
}

.team-card span:not(.team-avatar) {
  color: var(--muted);
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 8px;
  text-transform: uppercase;
}

.team-avatar {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 700;
  height: 52px;
  justify-content: center;
  letter-spacing: 0.02em;
  width: 52px;
}

.team-avatar-magenta {
  background: var(--magenta);
}

.team-avatar-orange {
  background: var(--orange);
}

.team-commercial-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.team-commercial-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 16px;
  text-align: center;
}

.team-commercial-card .button {
  margin-top: 12px;
  min-height: 40px;
  padding-inline: 14px;
  width: 100%;
}

.team-join {
  align-items: center;
  background: linear-gradient(135deg, rgba(38, 63, 118, 0.06), rgba(159, 0, 111, 0.05));
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 10px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 42px;
  padding: 24px 28px;
}

.team-join h3 {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.team-join p {
  color: var(--muted-strong);
  margin: 0;
}

.coverage-plan-card {
  align-content: start;
  background: linear-gradient(180deg, var(--white) 0%, var(--surface-soft) 100%);
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: clamp(24px, 2.4vw, 30px);
  position: relative;
}

.coverage-plan-card::before {
  background: var(--brand-line);
  content: "";
  height: 2px;
  left: 0;
  opacity: 0.64;
  position: absolute;
  right: 0;
  top: 0;
}

.coverage-plan-head {
  border-bottom: 1px solid rgba(88, 99, 124, 0.18);
  display: grid;
  gap: 9px;
  padding-bottom: 18px;
}

.coverage-plan-card h3 {
  font-size: clamp(1.24rem, 1.55vw, 1.48rem);
  margin-top: -2px;
}

.coverage-plan-card p {
  color: var(--muted-strong);
  font-size: 0.96rem;
  line-height: 1.52;
  max-width: 560px;
}

.coverage-plan-card ul {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  list-style: none;
  margin-top: 0;
  padding: 14px 0 0;
}

.coverage-plan-card ul::before {
  color: var(--brand-support);
  content: "Prestaciones principales";
  font-size: 0.7rem;
  font-weight: 750;
  grid-column: 1 / -1;
  letter-spacing: 0;
  padding-bottom: 8px;
  text-transform: uppercase;
}

.coverage-plan-card li {
  align-items: flex-start;
  border-top: 1px solid rgba(88, 99, 124, 0.11);
  color: var(--muted-strong);
  display: flex;
  font-size: 0.88rem;
  font-weight: 550;
  gap: 9px;
  line-height: 1.36;
  padding: 8px 0;
}

.coverage-plan-card li::before {
  background: var(--brand-support);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 2px;
  margin-top: 0.72em;
  width: 12px;
}

.coverage-plan-pharmacy {
  color: var(--magenta) !important;
  font-weight: 700 !important;
  margin-top: 4px;
  padding-top: 12px !important;
}

.coverage-plan-pharmacy::before {
  background: var(--magenta) !important;
}

.coverage-plan-badge {
  align-self: flex-start;
  background: var(--blue);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 6px 9px;
  text-transform: uppercase;
}

.coverage-plan-featured {
  border-color: rgba(159, 0, 111, 0.26);
}

.coverage-support-list {
  border-bottom: 1px solid rgba(88, 99, 124, 0.18);
  border-top: 1px solid rgba(88, 99, 124, 0.18);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coverage-support-item {
  padding: 18px 18px 18px 0;
}

.coverage-support-item + .coverage-support-item {
  border-left: 1px solid rgba(88, 99, 124, 0.14);
  padding-left: 18px;
}

.coverage-support-item span {
  color: var(--ink);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.coverage-support-item p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
  margin-top: 7px;
}

.coverage-support-item:hover span {
  color: var(--brand-support);
}

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

.plan-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.plan-card {
  background: linear-gradient(180deg, var(--white) 0%, var(--surface-soft) 100%);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 510px;
  overflow: hidden;
  padding: clamp(24px, 2.6vw, 32px);
  position: relative;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.plan-card::before {
  background: var(--brand-line);
  content: "";
  height: 2px;
  left: 0;
  opacity: 0.64;
  position: absolute;
  right: 0;
  top: 0;
}

.plan-card:hover {
  background: linear-gradient(180deg, var(--white) 0%, rgba(159, 0, 111, 0.06) 100%);
  border-color: rgba(159, 0, 111, 0.24);
  box-shadow: var(--shadow-small);
  transform: translateY(-2px);
}

.plan-featured {
  background: linear-gradient(180deg, var(--white) 0%, rgba(38, 63, 118, 0.06) 100%);
  border-color: rgba(38, 63, 118, 0.2);
}

.plan-featured h3,
.plan-featured p,
.plan-featured strong,
.plan-featured .plan-benefits span {
  color: inherit;
}

.plan-featured p,
.plan-featured .plan-benefits span {
  opacity: 1;
}

.plan-head {
  display: grid;
  gap: 12px;
}

.plan-head h3 {
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
}

.plan-benefits {
  display: grid;
  gap: 0;
}

.plan-benefits div {
  align-items: baseline;
  border-top: 1px solid rgba(88, 99, 124, 0.18);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1fr);
  padding: 10px 0;
}

.plan-featured .plan-benefits div {
  border-top-color: rgba(100, 104, 115, 0.2);
}

.plan-benefits strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.38;
}

.plan-benefits strong:only-child {
  grid-column: 1 / -1;
}

.plan-benefits span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.42;
}

.plan-featured .plan-benefits strong {
  color: var(--ink);
}

.plan-featured .plan-benefits span,
.plan-featured p {
  color: var(--muted);
}

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

.ecosystem-card {
  background: rgba(255, 255, 255, 0.92);
  grid-column: span 2;
  min-height: 152px;
}

.ecosystem-card p {
  font-size: 0.88rem;
  line-height: 1.46;
}

.ecosystem-link {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 6px;
  line-height: 1.35;
  margin-top: 2px;
}

.ecosystem-link::after {
  content: "→";
  font-size: 0.82rem;
}

.ecosystem-card:hover .ecosystem-link,
.ecosystem-card:focus-visible .ecosystem-link {
  color: var(--magenta);
}

.network-link {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 6px;
  line-height: 1.35;
  margin-top: 2px;
}

.network-link::after {
  content: "→";
  font-size: 0.82rem;
}

.network-card:hover .network-link,
.network-card:focus-visible .network-link {
  color: var(--magenta);
}

.ecosystem-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.ecosystem-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.app-showcase {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(250, 251, 254, 0.96)),
    linear-gradient(135deg, rgba(38, 63, 118, 0.028), rgba(159, 0, 111, 0.018), rgba(242, 118, 32, 0.018));
  border: 1px solid rgba(198, 205, 222, 0.42);
  border-radius: 8px;
  display: grid;
  gap: clamp(32px, 4.2vw, 54px);
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  margin-top: clamp(42px, 6vw, 68px);
  max-width: 1080px;
  overflow: hidden;
  padding: clamp(30px, 4vw, 46px);
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 22px);
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-showcase::before {
  background: var(--brand-line);
  content: "";
  height: 2px;
  left: 0;
  opacity: 0.58;
  position: absolute;
  right: 0;
  top: 0;
}

.app-showcase:hover {
  border-color: rgba(159, 0, 111, 0.2);
  box-shadow: 0 18px 46px rgba(38, 63, 118, 0.08);
  transform: translateY(-3px);
}

.app-showcase-copy {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.app-showcase-copy h2 {
  font-size: clamp(2rem, 3vw, 2.82rem);
}

.app-showcase-copy p {
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.22vw, 1.08rem);
  max-width: 560px;
}

.app-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.app-visual-panel {
  align-items: center;
  display: grid;
  min-height: auto;
  padding: 0;
  place-items: center;
  position: relative;
}

.app-visual-panel::before {
  display: none;
}

.app-screen-frame {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 251, 254, 0.98)),
    linear-gradient(135deg, rgba(38, 63, 118, 0.025), rgba(159, 0, 111, 0.018), rgba(242, 118, 32, 0.018));
  border: 1px solid rgba(198, 205, 222, 0.52);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(38, 63, 118, 0.105);
  color: var(--ink);
  display: grid;
  gap: 14px;
  line-height: 1.4;
  min-height: 486px;
  overflow: hidden;
  padding: 16px;
  position: relative;
  width: min(100%, 258px);
}

.app-screen-frame::before {
  background: var(--brand-line);
  content: "";
  height: 3px;
  left: 18px;
  opacity: 0.62;
  position: absolute;
  right: 18px;
  top: 0;
  z-index: 1;
}

.app-phone-status {
  align-items: center;
  color: rgba(23, 33, 43, 0.72);
  display: flex;
  font-size: 0.62rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0;
}

.app-screen-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.app-screen-header img {
  height: auto;
  width: 132px;
}

.app-screen-header span {
  color: var(--magenta);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.app-credential-card {
  background: var(--white);
  border: 1px solid rgba(198, 205, 222, 0.66);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(38, 63, 118, 0.08);
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.app-credential-card::before {
  background: var(--brand-line);
  content: "";
  height: 3px;
  left: 0;
  opacity: 0.78;
  position: absolute;
  right: 0;
  top: 0;
}

.app-credential-card > span,
.app-preview-list span,
.app-credential-data span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-credential-card > strong {
  color: var(--blue);
  font-size: 1.18rem;
  line-height: 1.08;
}

.app-credential-card p {
  color: var(--muted-strong);
  font-size: 0.76rem;
  line-height: 1.42;
  margin: 0;
}

.app-credential-data {
  border-top: 1px solid rgba(198, 205, 222, 0.62);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
  padding-top: 12px;
}

.app-credential-data div {
  display: grid;
  gap: 3px;
}

.app-credential-data strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.app-preview-list {
  display: grid;
  gap: 10px;
}

.app-preview-list div {
  background: var(--white);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 14px;
  display: grid;
  gap: 4px;
  padding: 13px 14px;
}

.app-preview-list strong {
  color: var(--blue);
  font-size: 0.82rem;
  line-height: 1.25;
}

.credential-panel {
  background:
    linear-gradient(180deg, rgba(248, 249, 253, 0.96), rgba(238, 242, 250, 0.84)),
    linear-gradient(120deg, rgba(159, 0, 111, 0.045), rgba(38, 63, 118, 0.04), rgba(242, 118, 32, 0.035));
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  display: grid;
  min-height: 304px;
  padding: clamp(18px, 2.6vw, 30px);
  place-items: center;
  transition: background 160ms ease, border-color 160ms ease;
}

.credential-card {
  background: var(--white);
  border: 1px solid rgba(198, 205, 222, 0.68);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(38, 63, 118, 0.12);
  max-width: 360px;
  overflow: hidden;
  width: 100%;
}

.credential-brand-strip {
  background: var(--brand-line);
  height: 7px;
}

.credential-card-main {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.credential-header,
.credential-footer {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.credential-header img {
  width: 142px;
}

.credential-tag {
  border: 1px solid rgba(38, 63, 118, 0.2);
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
  white-space: nowrap;
}

.credential-owner {
  display: grid;
  gap: 4px;
}

.credential-owner span,
.credential-preview-copy span,
.credential-valid span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.credential-owner strong {
  color: var(--blue);
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  line-height: 1.08;
}

.credential-preview {
  align-items: center;
  background: linear-gradient(180deg, rgba(248, 249, 253, 0.94), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  padding: 14px;
}

.credential-avatar {
  background:
    linear-gradient(180deg, rgba(159, 0, 111, 0.13), rgba(38, 63, 118, 0.08)),
    var(--white);
  border: 1px solid rgba(159, 0, 111, 0.16);
  border-radius: 999px;
  height: 46px;
  position: relative;
  width: 46px;
}

.credential-avatar::before,
.credential-avatar::after {
  background: var(--magenta);
  border-radius: 999px;
  content: "";
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.credential-avatar::before {
  height: 13px;
  opacity: 0.78;
  top: 10px;
  width: 13px;
}

.credential-avatar::after {
  height: 11px;
  opacity: 0.42;
  top: 27px;
  width: 25px;
}

.credential-preview-copy {
  display: grid;
  gap: 4px;
}

.credential-preview-copy strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.28;
}

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

.credential-shortcuts span {
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 7px;
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  min-height: 46px;
  padding: 9px 8px;
  text-align: center;
}

.credential-code {
  background: repeating-linear-gradient(
    90deg,
    var(--blue) 0 2px,
    transparent 2px 5px,
    var(--blue) 5px 6px,
    transparent 6px 10px
  );
  border-radius: 4px;
  height: 34px;
  opacity: 0.5;
  width: 134px;
}

.credential-valid {
  display: grid;
  gap: 3px;
  text-align: right;
}

.credential-valid strong {
  color: var(--blue);
  font-size: 0.78rem;
  line-height: 1.25;
}

.network-actions {
  justify-content: center;
  margin-top: 12px;
}

.branch-map-shell {
  display: grid;
  gap: 14px;
}

.branch-map-card {
  background: var(--white);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.branch-map-card:hover {
  border-color: rgba(38, 63, 118, 0.28);
  box-shadow: 0 18px 46px rgba(38, 63, 118, 0.08);
  transform: translateY(-2px);
}

.branch-map-card::before {
  background: var(--brand-line);
  content: "";
  height: 3px;
  left: 0;
  opacity: 0.86;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.branches-map {
  background: var(--brand-support-soft);
  min-height: 430px;
  width: 100%;
}

.leaflet-container {
  color: var(--ink);
  font-family: inherit;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  box-shadow: var(--shadow-small);
}

.branch-marker {
  align-items: center;
  background: var(--blue);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(38, 63, 118, 0.24);
  display: flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.branch-marker::after {
  background: var(--white);
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.map-localities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.map-localities span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 11px;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.map-localities span:hover {
  background: var(--white);
  border-color: rgba(159, 0, 111, 0.2);
  color: var(--magenta);
  transform: translateY(-2px);
}

.network-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.network-card {
  min-height: 136px;
}

.contact-hero {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 249, 253, 0.94)),
    linear-gradient(90deg, rgba(38, 63, 118, 0.07), rgba(159, 0, 111, 0.045), rgba(242, 118, 32, 0.035));
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  display: grid;
  justify-items: center;
  margin-bottom: 30px;
  overflow: hidden;
  padding-bottom: 44px;
  padding-top: 44px;
  position: relative;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-hero::before {
  background: var(--brand-line);
  content: "";
  height: 3px;
  left: 0;
  opacity: 0.9;
  position: absolute;
  right: 0;
  top: 0;
}

.contact-hero p {
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  max-width: 620px;
}

.contact-hero .button {
  margin-top: 24px;
}

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

.contact-card {
  min-height: 108px;
  padding: 18px;
}

.contact-card-wide {
  grid-column: auto;
}

.contact-card strong {
  color: var(--brand-support);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-card p {
  font-size: 0.88rem;
}

.directions-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 249, 253, 0.98)),
    linear-gradient(90deg, rgba(38, 63, 118, 0.06), rgba(159, 0, 111, 0.035), rgba(242, 118, 32, 0.025));
  border-bottom: 1px solid rgba(198, 205, 222, 0.5);
}

.directions-hero h1 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.04;
}

.directions-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

.directions-quick-links a {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(198, 205, 222, 0.62);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 14px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.directions-quick-links a:hover,
.directions-quick-links a:focus-visible {
  background: var(--white);
  border-color: rgba(159, 0, 111, 0.24);
  color: var(--magenta);
  transform: translateY(-1px);
}

.directions-section {
  background: var(--surface-soft);
  padding-top: 60px;
}

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

.directions-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(38, 63, 118, 0.045);
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.directions-card::before {
  background: var(--brand-line);
  content: "";
  height: 2px;
  left: 0;
  opacity: 0.66;
  position: absolute;
  right: 0;
  top: 0;
}

.directions-card-wide {
  grid-column: 1 / -1;
}

.directions-card-head {
  display: grid;
  gap: 8px;
}

.directions-card-head h2 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  max-width: 720px;
}

.directions-card-head p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
  max-width: 620px;
}

.directions-list {
  border-top: 1px solid rgba(198, 205, 222, 0.56);
  display: grid;
  gap: 0;
}

.directions-list a {
  align-items: center;
  border-bottom: 1px solid rgba(198, 205, 222, 0.5);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 15px 0;
  transition: color 160ms ease, transform 160ms ease;
}

.directions-list a:last-child {
  border-bottom: 0;
}

.directions-list span {
  color: var(--muted-strong);
  display: grid;
  gap: 3px;
  font-size: 0.98rem;
  line-height: 1.4;
}

.directions-list b {
  color: var(--ink);
  font-weight: 750;
}

.directions-list small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.directions-list strong {
  background: rgba(38, 63, 118, 0.08);
  border: 1px solid rgba(38, 63, 118, 0.1);
  border-radius: 999px;
  color: var(--blue);
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 7px 11px;
}

.directions-list a:hover strong,
.directions-list a:focus-visible strong {
  background: rgba(159, 0, 111, 0.08);
  border-color: rgba(159, 0, 111, 0.12);
  color: var(--magenta);
}

.cartilla-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 253, 0.98)),
    linear-gradient(90deg, rgba(38, 63, 118, 0.052), rgba(159, 0, 111, 0.032), rgba(242, 118, 32, 0.022));
  border-bottom: 1px solid rgba(198, 205, 222, 0.5);
}

.cartilla-hero h1 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.04;
}

.cartilla-section {
  background: var(--surface-soft);
  padding-top: 56px;
}

.cartilla-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(38, 63, 118, 0.05);
  display: grid;
  gap: 24px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  position: relative;
}

.cartilla-panel::before {
  background: var(--brand-line);
  content: "";
  height: 2px;
  left: 0;
  opacity: 0.62;
  position: absolute;
  right: 0;
  top: 0;
}

.cartilla-toolbar {
  align-items: end;
  background: linear-gradient(180deg, rgba(248, 249, 253, 0.9), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(198, 205, 222, 0.52);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.cartilla-search {
  display: grid;
  gap: 8px;
}

.cartilla-search span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
}

.cartilla-search input {
  background: var(--white);
  border: 1px solid rgba(198, 205, 222, 0.74);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.cartilla-search input:focus {
  border-color: rgba(159, 0, 111, 0.34);
  box-shadow: 0 0 0 4px rgba(159, 0, 111, 0.08);
}

.cartilla-status {
  align-items: center;
  background: rgba(38, 63, 118, 0.055);
  border: 1px solid rgba(38, 63, 118, 0.08);
  border-radius: 8px;
  color: var(--muted-strong);
  display: flex;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 42px;
  padding: 10px 12px;
}

.cartilla-status[data-status="error"] {
  background: rgba(159, 0, 111, 0.06);
  border-color: rgba(159, 0, 111, 0.16);
  color: var(--magenta);
}

.cartilla-filter-block {
  display: grid;
  gap: 12px;
}

.cartilla-filter-head {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.cartilla-filter-head span {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
}

.cartilla-filter-head small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.cartilla-localities {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  justify-content: start;
}

.cartilla-localities button {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(198, 205, 222, 0.68);
  border-radius: 8px;
  color: var(--muted-strong);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 7px;
  justify-content: space-between;
  line-height: 1.2;
  min-height: 46px;
  padding: 10px 12px;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  width: 100%;
}

.cartilla-localities button span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.cartilla-localities button:hover,
.cartilla-localities button:focus-visible,
.cartilla-localities button.is-active {
  background: var(--white);
  border-color: rgba(159, 0, 111, 0.24);
  color: var(--magenta);
  transform: translateY(-1px);
}

.cartilla-summary {
  align-items: baseline;
  border-bottom: 1px solid rgba(198, 205, 222, 0.56);
  border-top: 1px solid rgba(198, 205, 222, 0.56);
  display: flex;
  gap: 8px;
  padding: 14px 0;
}

.cartilla-summary strong {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 800;
}

.cartilla-summary span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.cartilla-results {
  display: grid;
  gap: 18px;
  justify-items: stretch;
}

.cartilla-group {
  --cartilla-column-gap: 12px;
  --cartilla-table-columns: minmax(124px, 0.62fr) minmax(190px, 1fr) minmax(210px, 1.08fr) minmax(132px, 0.68fr);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(38, 63, 118, 0.045);
  display: grid;
  gap: 0;
  overflow: hidden;
  width: 100%;
}

.cartilla-group-head {
  align-items: end;
  background: rgba(248, 249, 253, 0.96);
  border-bottom: 1px solid rgba(198, 205, 222, 0.54);
  display: grid;
  gap: var(--cartilla-column-gap);
  grid-template-columns: var(--cartilla-table-columns);
  padding: 13px 18px 11px;
}

.cartilla-group-head h2 {
  color: var(--ink);
  font-size: clamp(0.98rem, 1.22vw, 1.14rem);
  font-weight: 760;
  grid-column: 1 / 4;
  letter-spacing: 0;
  line-height: 1.14;
  min-width: 0;
  text-transform: uppercase;
}

.cartilla-group-head span {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 800;
  grid-column: 4 / -1;
  justify-self: end;
  line-height: 1.2;
}

.cartilla-provider-list {
  display: grid;
  gap: 0;
  padding: 0 18px 14px;
}

.cartilla-provider-table-head {
  align-items: end;
  color: var(--muted);
  display: grid;
  font-size: 0.58rem;
  font-weight: 800;
  gap: var(--cartilla-column-gap);
  grid-template-columns: var(--cartilla-table-columns);
  letter-spacing: 0;
  padding: 12px 18px 7px;
  text-transform: uppercase;
}

.cartilla-provider-table-head span {
  min-width: 0;
  text-align: left;
}

.cartilla-provider {
  align-items: start;
  background: transparent;
  border-top: 1px dotted rgba(100, 112, 134, 0.34);
  display: grid;
  gap: var(--cartilla-column-gap);
  grid-template-columns: var(--cartilla-table-columns);
  min-height: 42px;
  padding: 6px 0;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.cartilla-provider:hover {
  background: rgba(159, 0, 111, 0.035);
}

.cartilla-provider-main {
  align-content: start;
  display: grid;
  gap: 5px;
  min-width: 0;
}

.cartilla-provider-main h3 {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.24;
}

.cartilla-provider-specialty,
.cartilla-provider-place,
.cartilla-provider-contact {
  align-content: start;
  display: grid;
  gap: 4px;
  justify-items: start;
  min-width: 0;
  text-align: left;
}

.cartilla-provider-specialty strong,
.cartilla-provider-place strong,
.cartilla-provider-contact strong {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.cartilla-provider-specialty strong {
  color: var(--magenta);
  font-weight: 800;
  text-transform: uppercase;
}

.cartilla-provider-place small,
.cartilla-provider-contact small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.cartilla-inline-link {
  color: var(--blue);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.2;
  margin-top: 2px;
  transition: color 160ms ease;
}

.cartilla-inline-link:hover,
.cartilla-inline-link:focus-visible {
  color: var(--magenta);
}

.cartilla-more-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(159, 0, 111, 0.16);
  border-radius: 8px;
  color: var(--magenta);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  margin: 0 18px 18px;
  min-height: 42px;
  padding: 10px 14px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cartilla-more-button span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.cartilla-more-button:hover,
.cartilla-more-button:focus-visible {
  background: rgba(159, 0, 111, 0.06);
  border-color: rgba(159, 0, 111, 0.28);
  color: var(--magenta-strong);
  transform: translateY(-1px);
}

.cartilla-empty {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(198, 205, 222, 0.58);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 24px;
}

.cartilla-empty h2 {
  font-size: 1.24rem;
}

.cartilla-empty p {
  color: var(--muted);
}

.site-footer {
  background: var(--soft);
  border-top: 1px solid rgba(198, 205, 222, 0.5);
  padding: 44px 0;
}

.footer-inner {
  color: var(--muted);
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.footer-inner strong {
  color: var(--ink);
  display: block;
  margin-bottom: 7px;
}

.footer-brand span,
.footer-column span,
.footer-links a {
  display: block;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-column span:first-of-type {
  color: var(--ink);
  font-weight: 700;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 760ms ease var(--reveal-delay, 0ms), transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms);
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    width: 164px;
  }

  .brand img {
    width: 164px;
  }

  .nav-menu {
    gap: 7px;
  }

  .nav-menu a {
    font-size: 0.72rem;
  }

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

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

  .network-card:nth-child(2n) {
    border-right: 0;
  }

  .plan-card {
    min-height: auto;
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding: 0 16px;
  }

  .coverage-plan-grid {
    grid-template-columns: 1fr;
  }

  .cartilla-toolbar {
    grid-template-columns: 1fr;
  }

  .cartilla-toolbar .button {
    justify-self: start;
  }

  .cartilla-group-head {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .cartilla-group-head h2,
  .cartilla-group-head span {
    grid-column: auto;
  }

  .cartilla-provider-table-head {
    display: none;
  }

  .cartilla-provider {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .cartilla-provider-specialty,
  .cartilla-provider-place,
  .cartilla-provider-contact {
    justify-items: start;
    text-align: left;
  }

  .brand {
    width: 170px;
  }

  .brand img {
    width: 170px;
  }

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

  .nav-menu {
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 46px rgba(40, 44, 55, 0.13);
    display: grid;
    gap: 2px;
    left: 14px;
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: calc(100% + 8px);
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a,
  .nav-menu .nav-cta {
    border-radius: 5px;
    font-size: 0.96rem;
    margin: 0;
    padding: 12px;
  }

  .nav-menu a:not(.nav-cta)::after {
    display: none;
  }

  .section-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    min-height: 500px;
    padding-bottom: 80px;
    padding-top: 54px;
  }

  .hero-actions,
  .network-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .access-strip,
  .belief-grid,
  .footer-inner,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .team-join {
    align-items: stretch;
    flex-direction: column;
  }

  .ecosystem-grid,
  .network-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-card,
  .ecosystem-card:nth-child(4),
  .ecosystem-card:nth-child(5) {
    grid-column: auto;
  }

  .access-strip a {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: auto;
    padding: 24px;
  }

  .access-strip a:last-child {
    border-bottom: 0;
    border-right: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-intro,
  .section-heading.centered {
    justify-items: start;
    text-align: left;
  }

  .section-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .network-actions,
  .map-localities,
  .directions-quick-links {
    justify-content: flex-start;
  }

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

  .directions-card-wide {
    grid-column: auto;
  }

  .app-showcase {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .app-showcase-actions {
    flex-direction: column;
  }

  .app-visual-panel,
  .credential-panel {
    min-height: auto;
  }

  .credential-card {
    justify-self: center;
    max-width: 390px;
  }

  .coverage-support-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coverage-support-item {
    padding: 16px 16px 16px 0;
  }

  .coverage-support-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .coverage-support-item:nth-child(even) {
    border-left: 1px solid rgba(100, 104, 115, 0.14);
    padding-left: 16px;
  }

  .coverage-support-item:nth-child(n+3) {
    border-top: 1px solid rgba(100, 104, 115, 0.14);
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.92rem;
  }

  .team-commercial-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    width: 146px;
  }

  .brand img {
    width: 146px;
  }

  .hero-inner {
    min-height: 500px;
  }

  .cartilla-group-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cartilla-filter-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .cartilla-localities {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .plan-list {
    grid-template-columns: 1fr;
  }

  .plan-benefits div {
    gap: 4px;
    grid-template-columns: 1fr;
  }

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

  .coverage-plan-grid {
    grid-template-columns: 1fr;
  }

  .coverage-plan-card ul {
    grid-template-columns: 1fr;
  }

  .coverage-support-list {
    grid-template-columns: 1fr;
  }

  .coverage-support-item,
  .coverage-support-item:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }

  .coverage-support-item + .coverage-support-item {
    border-top: 1px solid rgba(100, 104, 115, 0.14);
  }

  .ecosystem-grid,
  .directions-grid {
    grid-template-columns: 1fr;
  }

  .network-card-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-card-wide {
    grid-column: auto;
  }

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

  .credential-valid {
    text-align: left;
  }

  .directions-list a {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .belief-card,
  .ecosystem-card,
  .network-card,
  .contact-card,
  .coverage-plan-card,
  .plan-card,
  .directions-card {
    padding: 24px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-video {
    animation: none;
  }
}
