:root {
  --ink: #10213d;
  --muted: #5f6f85;
  --blue: #073b78;
  --navy: #061a33;
  --sky: #0b6db3;
  --gold: #c79a3b;
  --gold-soft: #f4e3b8;
  --green: #13795b;
  --red: #a83f3f;
  --line: #dfe7f2;
  --panel: #ffffff;
  --bg: #f6f8fc;
  --shadow: 0 16px 38px rgba(16, 33, 61, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: Inter, "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(38px, 7vw, 82px); line-height: .96; letter-spacing: 0; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.06; letter-spacing: 0; color: var(--blue); }
h3 { font-size: 21px; color: var(--blue); }

.landing-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 5vw, 64px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(223,231,242,.86);
  backdrop-filter: blur(14px);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--blue); white-space: nowrap; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.landing-nav nav { display: flex; gap: 14px; color: var(--muted); font-size: 14px; overflow-x: auto; }
.landing-nav nav a { white-space: nowrap; padding: 8px 0; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(19,121,91,.28);
}

.hero { min-height: 90vh; position: relative; display: grid; align-items: end; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,26,51,.96), rgba(7,59,120,.76) 50%, rgba(16,33,61,.22)); }
.hero-content { position: relative; z-index: 1; width: min(980px, 100%); padding: 118px clamp(20px, 7vw, 84px) 44px; color: #fff; display: grid; gap: 22px; }
.hero-content p { max-width: 760px; font-size: 20px; line-height: 1.45; }
.eyebrow { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 0; font-weight: 900; }
.hero-actions, .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.button, .lead-form button {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 46px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.button.primary, .lead-form button { background: var(--gold); color: #111827; }
.button.secondary { background: var(--green); color: #fff; }
.button.light { background: #fff; color: var(--blue); border-color: var(--line); }
.button.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.58); }

.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 780px; margin: 6px 0 0; }
.hero-metrics div { border: 1px solid rgba(255,255,255,.28); border-radius: 8px; padding: 14px; background: rgba(255,255,255,.10); }
.hero-metrics dt { font-size: 30px; font-weight: 900; }
.hero-metrics dd { margin: 4px 0 0; color: rgba(255,255,255,.80); }

.public-quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px clamp(20px, 6vw, 80px);
  background: #10213d;
  color: #fff;
  border-top: 4px solid var(--gold);
}
.public-quote-panel span { color: var(--gold); font-weight: 900; text-transform: uppercase; font-size: 12px; }
.public-quote-panel h2 { margin: 4px 0; font-size: 26px; color: #fff; }
.public-quote-panel p { margin: 0; color: rgba(255,255,255,.82); }

.band, .plans-section, .faq-section, .quote-section, .split-section { padding: 72px clamp(20px, 6vw, 80px); }
.section-head { display: grid; gap: 9px; margin-bottom: 26px; max-width: 980px; }
.section-head p:not(.eyebrow) { color: var(--muted); line-height: 1.55; font-size: 18px; }
.benefit-grid, .plan-grid, .network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.benefit-grid article, .plan-card, .network-grid article, details, .lead-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.benefit-grid article { padding: 20px; display: grid; gap: 10px; align-content: start; }
.benefit-grid strong { color: var(--blue); font-size: 20px; }
.benefit-grid span, .plan-card p, .network-grid p, details p, .quote-copy p, .activation-band p, .legal-note { color: var(--muted); line-height: 1.55; }
.hospital-card em, details em { color: var(--red); font-style: normal; font-weight: 800; }
.benefit-visual { width: min(860px, 100%); margin: 28px auto 0; border-radius: 8px; box-shadow: var(--shadow); }

.story-band, .testimonial-band { background: #f8fafc; }
.magazine-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  gap: 24px;
  align-items: center;
}
.magazine-frame iframe {
  width: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.magazine-frame > div { display: grid; gap: 14px; }
.magazine-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }

.split-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr); gap: 30px; align-items: center; background: #fff; }
.split-section > div:first-child { display: grid; gap: 14px; }
.calculator { margin-top: 10px; display: grid; gap: 12px; max-width: 520px; }
.calculator label, .lead-form label, .activation-form label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 800; }
.calculator input, .lead-form input, .lead-form select, .activation-form input, .activation-form select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}
.simulator-result { display: grid; gap: 14px; }
.simulator-result img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.simulator-result output { display: block; padding: 16px; border-radius: 8px; background: #edf7f3; color: var(--green); font-weight: 900; }
.saving-breakdown { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.saving-breakdown p { color: var(--muted); line-height: 1.45; }

.network-band { background: #eef4fb; }
.premium-band { background: #fff; }
.vacation-band { background: #f8fafc; }
.network-grid article { overflow: hidden; }
.carousel-toolbar {
  display: grid;
  grid-template-columns: 42px minmax(120px, 1fr) 42px auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.carousel-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.carousel-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16,33,61,.12);
}
.carousel-progress span {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width .2s ease;
}
.network-grid.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 4px;
  padding: 4px 2px 18px;
  -webkit-overflow-scrolling: touch;
}
.network-grid.carousel-track article {
  flex: 0 0 min(340px, 86vw);
  scroll-snap-align: start;
}
.network-grid.carousel-track.show-all {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  padding-bottom: 0;
}
.network-grid.carousel-track.show-all article { flex: initial; }
.network-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.network-grid h3, .network-grid p { padding: 0 18px; }
.network-grid h3 { margin-top: 18px; }
.network-grid p { padding-bottom: 20px; }
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-row select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ink);
}

.plans-section { background: #fff; }
.plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan-card { padding: 20px; display: grid; gap: 12px; align-content: start; border-top: 5px solid var(--blue); }
.plan-card.featured { border-top-color: var(--gold); }
.plan-card.validation { border-top-color: #718096; background: #fbfcff; }
.plan-card strong { font-size: 28px; color: var(--blue); }
.plan-card small { font-size: 14px; color: var(--muted); font-weight: 800; }
.plan-card .monthly { font-size: 14px; color: var(--green); font-weight: 800; }
.plan-card ul { padding-left: 18px; margin: 0; color: var(--muted); line-height: 1.5; }
.plan-card .tag { color: var(--green); font-weight: 900; }
.activation-form { display: grid; gap: 11px; padding-top: 8px; border-top: 1px solid var(--line); }
.activation-form[hidden], .pay-after-contract[hidden] { display: none; }
.activation-form .check { grid-template-columns: 18px 1fr; align-items: start; }
.activation-form .check input { min-height: auto; margin-top: 2px; }
.activation-form button:disabled {
  cursor: not-allowed;
  opacity: .55;
}
.inline-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
}
.form-result { min-height: 22px; color: var(--green); font-weight: 800; line-height: 1.45; }
.contract-success {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(19,121,91,.22);
  border-radius: 8px;
  background: #edf7f3;
}
.contract-success ul { margin: 0; padding-left: 18px; color: var(--muted); }
.contract-code { color: var(--blue); font-weight: 900; }
.kit-status { color: var(--green); font-weight: 900; }
.legal-note { margin-top: 18px; font-size: 13px; }

.mb-band { background: #eef4fb; }
.mb-band .benefit-grid article { border-top: 4px solid var(--gold); }
.mb-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 4px; }

.quote-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, .75fr); gap: 28px; align-items: start; background: #f8fafc; }
.quote-copy { display: grid; gap: 16px; }
.lead-form { padding: 20px; display: grid; gap: 13px; }

.activation-band { display: flex; justify-content: space-between; gap: 24px; align-items: center; background: var(--blue); color: #fff; }
.activation-band h2 { color: #fff; }
.activation-band p { color: rgba(255,255,255,.82); max-width: 760px; }

.faq-section { display: grid; gap: 12px; background: #fff; }
details { padding: 18px; }
summary { cursor: pointer; font-weight: 900; color: var(--blue); }
details p { margin-top: 10px; }

.landing-footer {
  display: grid;
  gap: 16px;
  padding: 30px clamp(20px, 6vw, 80px);
  background: #0f172a;
  color: #fff;
}
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-brand img { width: 72px; height: 52px; object-fit: contain; background: transparent; border-radius: 8px; padding: 0; }
.footer-brand img:nth-of-type(2) { width: 148px; height: 48px; background: transparent; padding: 0; border-radius: 4px; object-fit: contain; }
.landing-footer p { color: rgba(255,255,255,.78); max-width: 920px; line-height: 1.55; }
.footer-locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.footer-locations address {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: rgba(255,255,255,.78);
  font-style: normal;
  line-height: 1.45;
}
.footer-locations strong { color: #fff; }
.footer-legal { font-size: 13px; color: rgba(255,255,255,.62); }
.landing-footer nav { display: flex; gap: 14px; flex-wrap: wrap; }
.landing-footer a, .landing-footer button { color: #f1d38a; font-weight: 800; background: transparent; border: 0; padding: 0; cursor: pointer; }
.terms-dialog { width: min(720px, calc(100% - 28px)); border: 0; border-radius: 8px; padding: 28px; color: var(--ink); box-shadow: 0 24px 70px rgba(16,33,61,.28); }
.terms-dialog::backdrop { background: rgba(6,26,51,.62); }
.terms-dialog h2 { margin: 8px 0 14px; }
.terms-dialog p:not(.eyebrow) { color: var(--muted); line-height: 1.6; margin-top: 12px; }
.terms-dialog h3 { margin-top: 18px; }
.dialog-scroll { max-height: min(62vh, 680px); overflow: auto; padding-right: 8px; }
.plan-details-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
}
.plan-details-list div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.plan-details-list dt { color: var(--blue); font-weight: 900; }
.plan-details-list dd { margin: 0; color: var(--muted); line-height: 1.5; }
.dialog-close { float: right; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--blue); padding: 8px 12px; cursor: pointer; font-weight: 900; }

.acceptance-dialog { width: min(860px, calc(100% - 24px)); padding: 20px; }
.acceptance-dialog iframe { width: 100%; height: min(720px, 72vh); border: 1px solid var(--line); border-radius: 8px; background: #061a33; }
.acceptance-fallback { margin: 10px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.acceptance-fallback a { color: var(--navy); font-weight: 800; }
.activation-dependents { display: grid; gap: 10px; grid-column: 1 / -1; }
.activation-dependent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; }
.activation-dependent strong { grid-column: 1 / -1; color: var(--blue); }

@media (max-width: 620px) {
  .activation-dependent { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .landing-nav { align-items: flex-start; flex-direction: column; }
  .landing-nav nav { width: 100%; }
  .hero { min-height: 84vh; }
  .hero-content { padding-top: 76px; }
  .hero-metrics, .benefit-grid, .network-grid, .split-section, .quote-section, .magazine-frame, .public-quote-panel, .footer-locations { grid-template-columns: 1fr; }
  .network-grid.carousel-track.show-all { grid-template-columns: 1fr; }
  .activation-band { align-items: flex-start; flex-direction: column; }
  .magazine-frame iframe { min-height: 420px; }
}

@media (max-width: 640px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .band, .plans-section, .faq-section, .quote-section, .split-section { padding: 52px 18px; }
  .hero-content p { font-size: 17px; }
  .hero-actions .button, .cta-row .button, .lead-form button { width: 100%; }
  .plan-grid { grid-template-columns: 1fr; }
  .whatsapp-float { right: 14px; bottom: 14px; }
}
