:root {
  --ink: #07111f;
  --muted: #526071;
  --line: #dce6ef;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --dark: #040a12;
  --blue: #0868ff;
  --cyan: #00b8ff;
  --green: #20d466;
  --green-dark: #0ba64b;
  --shadow: 0 18px 44px rgba(8, 24, 48, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px max(16px, calc((100vw - 1120px) / 2));
  color: #ffffff;
  background: rgba(4, 10, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 72% 28%, #ffffff 0 7%, transparent 8%),
    linear-gradient(135deg, var(--green), var(--cyan) 52%, var(--blue));
  box-shadow: 0 0 24px rgba(32, 212, 102, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.nav-links a:hover {
  color: #ffffff;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--green);
  color: #03150b;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(32, 212, 102, 0.24);
}

.header-cta svg,
.button svg,
.floating-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 86svh;
  padding: 132px 0 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 10, 18, 0.98) 0%, rgba(4, 10, 18, 0.86) 36%, rgba(4, 10, 18, 0.3) 66%),
    url("assets/hero-fibra.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 10, 18, 0.26), rgba(4, 10, 18, 0.82)),
    radial-gradient(circle at 30% 62%, rgba(0, 184, 255, 0.18), transparent 28%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: 4rem;
  line-height: 1.02;
  font-weight: 800;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: 2rem;
  line-height: 1.18;
  font-weight: 800;
  color: #bfffe0;
}

.hero-copy {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #03150b;
  background: var(--green);
  box-shadow: 0 16px 36px rgba(32, 212, 102, 0.28);
}

.button-primary:hover {
  background: #31e676;
}

.button-secondary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(8, 104, 255, 0.2);
}

.button-secondary:hover {
  background: #0058df;
}

.button-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 42px;
}

.hero-metrics span {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
}

.hero-metrics strong {
  color: #ffffff;
  font-size: 1.18rem;
}

.section {
  padding: 76px 0;
  scroll-margin-top: 86px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 30px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.coverage-layout h2,
.final-cta h2 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.1;
}

.section-heading p,
.coverage-layout p,
.final-cta p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.benefits-section {
  background: #ffffff;
}

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

.benefit-card,
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(8, 24, 48, 0.06);
}

.benefit-card {
  min-height: 238px;
  padding: 24px;
}

.icon-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--blue);
  background: #eaf4ff;
}

.icon-badge svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3,
.plan-card h3 {
  margin: 20px 0 10px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.benefit-card p,
.plan-card li {
  color: var(--muted);
  line-height: 1.62;
}

.benefit-card p {
  margin: 0;
}

.plans-section {
  background: linear-gradient(180deg, #f4f8fb, #ffffff);
}

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

.plan-card {
  min-height: 438px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.plan-card.highlighted {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0);
  background:
    linear-gradient(155deg, rgba(8, 104, 255, 0.96), rgba(4, 10, 18, 0.98)),
    var(--blue);
  box-shadow: var(--shadow);
}

.plan-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #eafff1;
  font-size: 0.78rem;
  font-weight: 800;
}

.highlighted .plan-label {
  color: #03150b;
  background: var(--green);
}

.plan-card h3 {
  margin-top: 18px;
  font-size: 2.35rem;
}

.plan-price {
  min-height: 52px;
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.plan-price strong {
  color: var(--ink);
  font-size: 1.18rem;
}

.highlighted .plan-price,
.highlighted .plan-card li,
.highlighted li {
  color: rgba(255, 255, 255, 0.76);
}

.highlighted .plan-price strong {
  color: #ffffff;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 26px;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(32, 212, 102, 0.15);
}

.coverage-section {
  background: #ffffff;
}

.coverage-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 470px);
  gap: 42px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 20%, rgba(32, 212, 102, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff, #eef7ff);
}

.coverage-layout p {
  margin-bottom: 0;
}

.coverage-form {
  padding: 22px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 24, 48, 0.1);
}

.coverage-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.coverage-controls {
  display: grid;
  gap: 12px;
}

.coverage-controls input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfdbe7;
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.coverage-controls input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 104, 255, 0.12);
}

.final-cta {
  padding: 74px 0;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 10, 18, 0.94), rgba(4, 10, 18, 0.82)),
    url("assets/hero-fibra.png") center / cover no-repeat;
}

.final-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-cta h2 {
  max-width: 620px;
}

.final-cta p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #03150b;
  background: var(--green);
  box-shadow: 0 18px 38px rgba(12, 86, 40, 0.3);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 84svh;
    padding-top: 118px;
    background-position: 58% center;
  }

  .hero h1 {
    max-width: 620px;
    font-size: 3rem;
  }

  .benefits-grid,
  .plans-grid,
  .coverage-layout {
    grid-template-columns: 1fr 1fr;
  }

  .coverage-layout {
    gap: 24px;
  }

  .plans-grid {
    align-items: stretch;
  }

  .plan-card.highlighted {
    grid-column: span 2;
  }

  .final-cta-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    padding: 12px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding: 104px 0 42px;
    background:
      linear-gradient(90deg, rgba(4, 10, 18, 0.98), rgba(4, 10, 18, 0.75)),
      url("assets/hero-fibra.png") 64% center / cover no-repeat;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 2rem;
    line-height: 1.06;
  }

  .hero-subtitle {
    font-size: 1.48rem;
  }

  .hero-copy {
    font-size: 1rem;
    max-width: 340px;
  }

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

  .button {
    min-height: 52px;
    padding: 0 16px;
  }

  .hero-metrics,
  .benefits-grid,
  .plans-grid,
  .coverage-layout {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 28px;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading h2,
  .coverage-layout h2,
  .final-cta h2 {
    font-size: 1.85rem;
  }

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

  .plan-card,
  .coverage-layout,
  .coverage-form {
    padding: 22px;
  }

  .plan-card.highlighted {
    grid-column: auto;
  }

  .plan-card h3 {
    font-size: 2rem;
  }

  .final-cta {
    padding: 58px 0 86px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}
