:root {
  --midnight: #101020;
  --black-ice: #111318;
  --navy: #203060;
  --blue: #2040a0;
  --blue-strong: #203080;
  --blue-light: #4070c0;
  --cyan: #58d8ff;
  --gold: #ffe000;
  --gold-deep: #ffb010;
  --steel: #b8c4c8;
  --ink: #eef4ff;
  --muted: #aeb8ca;
  --line: rgba(184, 196, 200, 0.18);
  --surface: #171b27;
  --soft: #0f1118;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(64, 112, 192, 0.18), transparent 34rem),
    var(--soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.navbar {
  width: min(1120px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  display: block;
  width: 132px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 24px);
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
}

.nav-links a {
  color: var(--midnight);
}

.nav-links a:hover {
  color: var(--blue);
}

.subscriber-button,
.primary-button,
.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.subscriber-button,
.primary-button,
.plan-button {
  color: var(--midnight);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 10px 26px rgba(255, 192, 0, 0.22);
}

.subscriber-button:hover,
.primary-button:hover,
.plan-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fff000, var(--gold));
}

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

.policy-page {
  padding: 64px 0 80px;
  background:
    radial-gradient(circle at 10% 0%, rgba(64, 112, 192, 0.22), transparent 34rem),
    linear-gradient(180deg, var(--soft) 0%, #121625 100%);
}

.policy-hero {
  padding: 54px 0 34px;
}

.policy-hero h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.policy-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.policy-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(184, 196, 200, 0.16);
  border-radius: 999px;
  color: rgba(244, 247, 251, 0.78);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  font-weight: 700;
}

.policy-document {
  display: grid;
  gap: 18px;
}

.policy-section {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(184, 196, 200, 0.14);
  border-radius: 10px;
  background: rgba(17, 19, 24, 0.9);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
}

.policy-section h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.28rem, 2.5vw, 1.72rem);
  line-height: 1.2;
}

.policy-section h3 {
  margin: 24px 0 10px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
}

.policy-section p {
  margin: 0 0 14px;
  color: rgba(238, 244, 255, 0.78);
  font-size: 1rem;
  line-height: 1.78;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding-left: 20px;
  color: rgba(238, 244, 255, 0.78);
  line-height: 1.65;
}

.policy-section li::marker {
  color: var(--gold);
}

.policy-section a {
  color: var(--gold);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.policy-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 24px;
}

.policy-info-grid div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(184, 196, 200, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.policy-info-grid strong {
  color: var(--steel);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.policy-info-grid span,
.policy-info-grid a {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.45;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 88px max(16px, calc((100% - 1120px) / 2));
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 16, 32, 0.9) 0%, rgba(16, 16, 32, 0.68) 42%, rgba(16, 16, 32, 0.18) 100%),
    url("assets/hero-familia-conectada.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--soft));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero p,
.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.hero .eyebrow {
  color: var(--gold);
}

.hero p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.section-breath {
  position: relative;
  height: 44px;
  background: var(--soft);
}

.section-breath::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(760px, calc(100% - 32px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(64, 112, 192, 0.5), rgba(255, 224, 0, 0.58), rgba(64, 112, 192, 0.5), transparent);
  opacity: 0.62;
}

.section-breath::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(560px, calc(100% - 48px));
  height: 28px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(64, 112, 192, 0.08), transparent 70%);
  pointer-events: none;
}

.multi-tv {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 0.82fr 1.06fr 0.76fr;
  gap: 34px;
  align-items: center;
  margin: 0;
  padding: 92px max(16px, calc((100% - 1120px) / 2));
  overflow: hidden;
  color: var(--midnight);
  background: #fff;
}

.multi-tv::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 72px;
  background: linear-gradient(180deg, rgba(15, 17, 24, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.multi-tv-logo-wrap,
.multi-tv-person-wrap,
.multi-tv-copy {
  position: relative;
  z-index: 1;
}

.multi-tv-logo-wrap {
  display: grid;
  align-items: center;
  justify-items: start;
}

.multi-tv-logo {
  position: relative;
  width: min(92%, 360px);
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(16, 16, 32, 0.16));
}

.multi-tv-copy {
  max-width: 520px;
  justify-self: center;
  text-align: left;
}

.multi-tv-person-wrap {
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.multi-tv-person {
  width: min(100%, 280px);
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(16, 16, 32, 0.2));
}

.multi-tv-copy h2 {
  color: var(--midnight);
}

.multi-tv-copy p {
  color: #4f5d75;
  font-size: 1.08rem;
  line-height: 1.75;
}

.app-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 22px;
}

.store-button {
  display: inline-flex;
  min-width: 170px;
  min-height: 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--midnight);
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 12px 26px rgba(16, 16, 32, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.store-button span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
}

.store-button:hover {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(32, 64, 160, 0.24);
}

.plans {
  padding: 86px 0;
}

.legacy {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 24%, rgba(64, 112, 192, 0.16), transparent 26rem),
    var(--soft);
}

.legacy-inner {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 62px 70px;
  align-items: stretch;
  padding: 92px 0 96px;
}

.legacy-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.legacy-copy::before {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--blue-light));
}

.legacy-copy h2 {
  max-width: 590px;
  margin-bottom: 24px;
  font-size: clamp(2.12rem, 3.1vw, 3.35rem);
  line-height: 1.06;
}

.legacy-copy > p {
  max-width: 570px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.78;
}

.legacy-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}

.legacy-stats article {
  min-height: 168px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(184, 196, 200, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.legacy-stats article:first-child {
  padding-left: 22px;
}

.legacy-stats article:last-child {
  border-right: 1px solid rgba(184, 196, 200, 0.12);
}

.stat-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-light);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legacy-stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(1.28rem, 1.65vw, 1.72rem);
  line-height: 1.12;
}

.legacy-stats span:not(.stat-icon) {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.25;
}

.legacy-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.legacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.outline-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--blue-light);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.outline-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold);
}

.legacy-visual {
  display: contents;
}

.legacy-image {
  position: relative;
  height: 100%;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(184, 196, 200, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(15, 17, 24, 0.2), transparent 38%),
    url("assets/atendente-suporte.png") center 38% / cover no-repeat;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
}

.cities-panel {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: 2px;
  padding: 46px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 19, 24, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  min-width: 0;
}

.cities-content {
  min-width: 0;
}

.map-mark {
  display: grid;
  min-height: 360px;
  place-items: center;
  border-right: 1px solid rgba(184, 196, 200, 0.12);
  padding-right: 42px;
}

.map-mark img {
  display: block;
  width: min(100%, 280px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
}

.cities-content h3 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 1.12rem;
  text-transform: uppercase;
}

.cities-content ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cities-content li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.42;
}

.cities-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
}

.cities-content p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

@media (max-width: 1100px) {
  .legacy-copy h2,
  .legacy-copy > p {
    max-width: 760px;
  }

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

  .cities-panel {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    padding: 38px;
  }

  .map-mark {
    padding-right: 30px;
  }

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

.section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

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

.plan-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(64, 112, 192, 0.12), transparent 42%),
    var(--surface);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 224, 0, 0.46);
  box-shadow:
    0 0 0 1px rgba(255, 224, 0, 0.12),
    0 22px 65px rgba(255, 224, 0, 0.14),
    0 18px 45px rgba(0, 0, 0, 0.3);
}

.plan-card.featured {
  border-color: rgba(255, 224, 0, 0.62);
  transform: translateY(-12px);
  padding-top: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 224, 0, 0.16), transparent 16rem),
    linear-gradient(180deg, rgba(64, 112, 192, 0.18), transparent 42%),
    #1d2333;
  box-shadow:
    0 0 0 1px rgba(255, 224, 0, 0.28),
    0 24px 70px rgba(255, 224, 0, 0.12),
    0 22px 55px rgba(0, 0, 0, 0.34);
}

.plan-card.featured:hover {
  transform: translateY(-18px) scale(1.015);
  border-color: var(--gold);
  background:
    radial-gradient(circle at top right, rgba(255, 224, 0, 0.24), transparent 16rem),
    radial-gradient(circle at bottom left, rgba(64, 112, 192, 0.2), transparent 18rem),
    linear-gradient(180deg, rgba(64, 112, 192, 0.24), transparent 42%),
    #20283a;
  box-shadow:
    0 0 0 1px rgba(255, 224, 0, 0.42),
    0 0 42px rgba(255, 224, 0, 0.22),
    0 28px 80px rgba(64, 112, 192, 0.22),
    0 26px 65px rgba(0, 0, 0, 0.4);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  margin-bottom: 0;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--midnight);
  background: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.badge::before {
  content: "★ ";
}

.plan-card h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.35rem;
}

.plan-card.featured h3 {
  max-width: calc(100% - 150px);
}

.speed {
  margin-bottom: 8px;
  color: var(--blue-light);
  font-size: 2.25rem;
  font-weight: 800;
}

.price {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.plan-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.plan-button {
  width: 100%;
  margin-top: auto;
}

.closing-story {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  border-top: 1px solid rgba(184, 196, 200, 0.12);
  border-bottom: 1px solid rgba(184, 196, 200, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--soft);
}

.closing-story::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(64, 112, 192, 0.5), rgba(255, 224, 0, 0.58), rgba(64, 112, 192, 0.5), transparent);
  opacity: 0.62;
  pointer-events: none;
}

.closing-story-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.72fr);
  gap: 52px;
  align-items: center;
  padding: 78px 0;
}

.closing-story-copy {
  max-width: 650px;
}

.closing-story-copy h2 {
  max-width: 560px;
  margin: 0 0 22px;
  font-size: clamp(2rem, 3.25vw, 3.75rem);
  line-height: 1.04;
}

.closing-story-copy p {
  max-width: 590px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.76;
}

.closing-story-panel {
  display: grid;
  gap: 18px;
}

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

.trust-indicators article {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
  border: 1px solid rgba(184, 196, 200, 0.14);
  border-radius: 8px;
  background: rgba(23, 27, 39, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.trust-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 224, 0, 0.28);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255, 224, 0, 0.06);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-indicators strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.28;
}

.trust-indicators p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.58;
}

.closing-cta {
  padding: 26px;
  border: 1px solid rgba(255, 224, 0, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 224, 0, 0.1), rgba(64, 112, 192, 0.1)),
    rgba(23, 27, 39, 0.84);
  box-shadow:
    0 0 0 1px rgba(255, 224, 0, 0.08),
    0 18px 48px rgba(0, 0, 0, 0.22);
}

.closing-cta h3 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.16;
}

.closing-cta .primary-button {
  min-height: 50px;
  width: 100%;
}

.footer {
  position: relative;
  margin-top: 0;
  color: var(--midnight);
  background:
    radial-gradient(circle at 12% 18%, rgba(64, 112, 192, 0.16), transparent 28rem),
    linear-gradient(180deg, #f7f9fd 0%, #e8eef8 100%);
}

.site-footer {
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32, 64, 160, 0.42), rgba(255, 192, 16, 0.72), rgba(32, 64, 160, 0.42), transparent);
}

.site-footer-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 22px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.45fr);
  gap: 42px;
  align-items: start;
}

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

.site-footer-links-columns {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(260px, 1fr);
  gap: 34px;
}

.site-footer-logo {
  display: block;
  width: min(180px, 100%);
  height: auto;
  margin-bottom: 16px;
}

.site-footer-brand p {
  max-width: 310px;
  margin: 0 0 16px;
  color: rgba(16, 16, 32, 0.68);
  font-size: 0.95rem;
  line-height: 1.7;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 64, 160, 0.2);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.56);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.site-footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 64, 160, 0.48);
  color: var(--blue-strong);
  background: #fff;
}

.site-footer-social svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer-column h2 {
  margin: 0 0 14px;
  color: var(--midnight);
  font-size: 0.98rem;
  line-height: 1.2;
}

.site-footer-column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: rgba(16, 16, 32, 0.66);
  font-size: 0.92rem;
  line-height: 1.45;
  list-style: none;
}

.site-footer-column a {
  color: rgba(16, 16, 32, 0.7);
  transition: color 180ms ease;
}

.site-footer-column a:hover {
  font-weight: 800;
  color: var(--blue);
}

.site-footer-column strong {
  color: rgba(16, 16, 32, 0.84);
  font-weight: 800;
}

.site-footer-subscriber {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(32, 64, 160, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.site-footer-subscriber h2 {
  margin: 0 0 6px;
  color: var(--midnight);
  font-size: 1rem;
  line-height: 1.2;
}

.site-footer-subscriber p {
  margin: 0;
  color: rgba(16, 16, 32, 0.66);
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer-subscriber a {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--midnight);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.site-footer-subscriber a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fff000, var(--gold));
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(16, 16, 32, 0.54);
  font-size: 0.86rem;
  line-height: 1.4;
}

.site-footer-legal a {
  color: rgba(16, 16, 32, 0.62);
  transition: color 180ms ease;
}

.site-footer-legal a:hover {
  color: var(--blue);
}

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

.site-footer-company strong {
  color: rgba(16, 16, 32, 0.82);
  font-weight: 800;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(32, 64, 160, 0.16);
  color: rgba(16, 16, 32, 0.58);
  font-size: 0.86rem;
}

.site-footer-credits {
  display: grid;
  gap: 5px;
  text-align: right;
}

.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: grid;
  width: min(520px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(184, 196, 200, 0.2);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(17, 19, 24, 0.96);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__content strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.96rem;
}

.cookie-consent__content p {
  margin: 0;
  color: rgba(244, 247, 251, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent__content a {
  color: var(--gold);
  font-weight: 800;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
}

.cookie-consent__button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--midnight);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cookie-consent__button:hover {
  transform: translateY(-2px);
}

.cookie-consent__button--ghost {
  color: var(--ink);
  border-color: rgba(244, 247, 251, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 820px) {
  .navbar {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .brand img {
    width: 108px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    font-size: 0.9rem;
  }

  .subscriber-button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .hero,
  .multi-tv,
  .legacy {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 42px;
    padding-inline: 16px;
    background:
      linear-gradient(90deg, rgba(16, 16, 32, 0.92) 0%, rgba(16, 16, 32, 0.76) 58%, rgba(16, 16, 32, 0.28) 100%),
      url("assets/hero-familia-conectada.png") center / cover no-repeat;
  }

  .hero::after {
    height: 120px;
  }

  .section-breath {
    height: 36px;
  }

  .multi-tv {
    padding: 64px 16px;
    gap: 28px;
  }

  .multi-tv-logo-wrap {
    order: 1;
    justify-items: center;
  }

  .multi-tv-logo {
    width: min(78%, 380px);
  }

  .multi-tv-copy {
    order: 2;
    max-width: 620px;
    text-align: center;
  }

  .multi-tv-copy .app-buttons {
    justify-content: center;
  }

  .multi-tv-person-wrap {
    order: 3;
    min-height: auto;
    justify-content: center;
  }

  .multi-tv-person {
    width: min(58%, 260px);
  }

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

  .legacy-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 72px 0 64px;
  }

  .legacy-copy h2,
  .legacy-copy > p {
    max-width: 720px;
  }

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

  .legacy-stats article {
    min-height: auto;
    padding: 20px;
  }

  .legacy-visual {
    min-height: auto;
  }

  .legacy-image {
    min-height: 0;
    height: 340px;
  }

  .cities-panel {
    grid-template-columns: minmax(170px, 0.62fr) minmax(0, 1fr);
    gap: 26px;
    margin-top: 0;
    padding: 30px;
  }

  .map-mark {
    min-height: 280px;
    padding-right: 22px;
  }

  .map-mark img {
    width: min(100%, 240px);
  }

  .cities-content ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
  }

  .plan-card.featured {
    transform: none;
  }

  .closing-story-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
    padding: 68px 0;
  }

  .closing-story-copy,
  .closing-story-copy h2,
  .closing-story-copy p {
    max-width: 720px;
  }

  .closing-story-panel {
    max-width: 680px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer-brand {
    grid-column: auto;
  }

  .site-footer-brand p {
    max-width: 520px;
  }

  .site-footer-links-columns {
    grid-template-columns: minmax(150px, 0.72fr) minmax(260px, 1fr);
    gap: 28px;
  }

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

@media (max-width: 700px) {
  .policy-page {
    padding: 42px 0 56px;
  }

  .policy-hero {
    padding: 42px 0 26px;
  }

  .policy-info-grid {
    grid-template-columns: 1fr;
  }

  .cities-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .map-mark {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(184, 196, 200, 0.12);
    padding: 0 0 22px;
  }

  .map-mark img {
    width: min(74%, 240px);
  }

  .cities-content {
    text-align: center;
  }

  .cities-content h3 {
    margin-bottom: 22px;
  }

  .cities-content ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .cities-content p {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .section-shell,
  .navbar,
  .site-footer-shell {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 2.35rem;
  }

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

  .hero-actions {
    width: 100%;
  }

  .nav-links {
    gap: 10px 14px;
    font-size: 0.84rem;
  }

  .multi-tv {
    padding: 52px 12px;
  }

  .app-buttons {
    flex-direction: column;
  }

  .store-button {
    width: 100%;
  }

  .multi-tv-logo {
    width: min(88%, 340px);
  }

  .multi-tv-person {
    width: min(68%, 230px);
  }

  .plans {
    padding: 58px 0;
  }

  .closing-story {
    margin-top: 0;
  }

  .closing-story-inner {
    width: min(100% - 24px, 1120px);
    padding: 58px 0;
  }

  .closing-story-copy h2 {
    font-size: 2.18rem;
  }

  .closing-story-copy p {
    font-size: 0.94rem;
  }

  .trust-indicators {
    grid-template-columns: 1fr;
  }

  .trust-indicators article {
    min-height: 104px;
  }

  .legacy-copy h2 {
    font-size: 2rem;
  }

  .legacy-copy > p {
    font-size: 1rem;
  }

  .legacy-stats {
    grid-template-columns: 1fr;
  }

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

  .legacy-visual {
    min-height: auto;
    display: block;
  }

  .legacy-image {
    position: relative;
    min-height: 0;
    height: 260px;
    margin-bottom: 0;
  }

  .cities-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 14px;
    padding: 22px;
  }

  .map-mark {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(184, 196, 200, 0.12);
    padding: 0 0 20px;
  }

  .map-mark img {
    width: min(82%, 220px);
  }

  .cities-content h3 {
    margin-bottom: 20px;
    font-size: 1rem;
  }

  .cities-content ul {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cities-content li {
    font-size: 0.92rem;
  }

  .cities-content p {
    font-size: 0.95rem;
  }

  .plan-card,
  .closing-cta {
    padding: 22px;
  }

  .site-footer-shell {
    padding: 38px 0 22px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer-links {
    gap: 20px;
  }

  .site-footer-links-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer-logo {
    width: 170px;
  }

  .site-footer-brand p {
    max-width: none;
  }

  .site-footer-subscriber {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }

  .site-footer-subscriber a {
    width: 100%;
  }

  .site-footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
  }

  .site-footer-credits {
    text-align: left;
  }

  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .cookie-consent__actions {
    flex-direction: column-reverse;
  }

  .cookie-consent__button {
    width: 100%;
  }
}
