/* Inter Uva — Uber-inspired design system */

:root {
  --black: #000000;
  --white: #ffffff;
  --hover-gray: #e2e2e2;
  --hover-light: #f3f3f3;
  --chip-gray: #efefef;
  --body-gray: #4b4b4b;
  --muted-gray: #afafaf;
  --primary: #ee5f00;
  --primary-hover: #d55400;
  --primary-soft: #fff1e6;
  --shadow-light: rgba(0, 0, 0, 0.12) 0px 4px 16px;
  --shadow-medium: rgba(0, 0, 0, 0.16) 0px 4px 16px;
  --radius-card: 8px;
  --radius-card-lg: 12px;
  --radius-pill: 999px;
  --font-display: "Inter", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1136px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--hover-light);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand img {
  height: 110px;
  width: auto;
}

.nav-pills {
  list-style: none;
  margin: 0;
  padding: 4px;
  display: flex;
  gap: 2px;
  align-items: center;
  background: #f5f5f5;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.nav-pills a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body-gray);
  background: transparent;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
  transition:
    color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-pills a:hover {
  color: var(--black);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.nav-pills a.is-active {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.nav-pills a.is-active::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(238, 95, 0, 0.25);
  display: inline-block;
  animation: navDot 2.4s ease-in-out infinite;
}

@keyframes navDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}

.nav-toggle {
  display: none;
  background: var(--chip-gray);
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: var(--black);
  position: relative;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    opacity 0.25s ease;
}
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after  { position: absolute; top:  5px; }

.nav-toggle[aria-expanded="true"] { background: var(--primary-soft); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: var(--black); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); background: var(--black); }

body.has-menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

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

.btn:active {
  transform: translateY(0);
  transition-duration: 0.08s;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-soft), 0 0 0 5px var(--primary);
}

/* Shine sweep overlay */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: -1;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(238, 95, 0, 0.25);
}

.btn--primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 10px 24px rgba(238, 95, 0, 0.4);
}

.btn--secondary {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn--secondary:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn--full {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--white);
  padding: 80px 24px 96px;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--black);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--body-gray);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  background: var(--chip-gray);
  box-shadow: var(--shadow-light);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__slide.is-active img {
  animation: heroKenBurns 7s ease-out forwards;
}

.hero__slide:nth-child(2).is-active img {
  animation-name: heroKenBurnsB;
}

.hero__slide:nth-child(3).is-active img {
  animation-name: heroKenBurnsC;
}

@keyframes heroKenBurns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-2%, -1%); }
}

@keyframes heroKenBurnsB {
  from { transform: scale(1.05) translate(2%, 1%); }
  to   { transform: scale(1.14) translate(-1%, -2%); }
}

@keyframes heroKenBurnsC {
  from { transform: scale(1) translate(0, 1%); }
  to   { transform: scale(1.12) translate(2%, -2%); }
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(238, 95, 0, 0.18), rgba(0, 0, 0, 0.25));
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

.hero__slide.is-active::after {
  opacity: 1;
}

.hero__dots {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero__dot.is-active {
  background: var(--primary);
  transform: scale(1.3);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
  transition: background 0.15s ease;
  z-index: 2;
  font-size: 18px;
  line-height: 1;
}

.hero__arrow:hover {
  background: var(--white);
}

.hero__arrow--prev { left: 12px; }
.hero__arrow--next { right: 12px; }

/* ---------- Section base ---------- */
.section {
  padding: 96px 24px;
}

.section--alt {
  background: #fafafa;
}

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section__head {
  text-align: center;
  margin-bottom: 56px;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--black);
}

.section__subtitle {
  font-size: 16px;
  color: var(--body-gray);
  margin: 0;
}

/* ---------- Ventajas ---------- */
.section--alt {
  position: relative;
  overflow: hidden;
}

.section--alt::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(238, 95, 0, 0.08), transparent 70%);
  pointer-events: none;
}

.section--alt::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.04), transparent 70%);
  pointer-events: none;
}

.section--alt .section__inner {
  position: relative;
  z-index: 1;
}

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

.benefit-card {
  position: relative;
  border-radius: var(--radius-card-lg);
  padding: 28px 26px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-light);
  background: var(--black);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -2;
}

.benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  transition: background 0.4s ease;
  z-index: -1;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.benefit-card:hover::before {
  transform: scale(1.08);
}

.benefit-card:hover::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0.95) 100%
  );
}

.benefit-card:hover .benefit-card__icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

.benefit-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.benefit-card__icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card__body {
  margin-top: auto;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.benefit-card__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 16px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.benefit-card__stat {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.01em;
}

.benefit-card__stat span {
  display: inline-block;
  margin-right: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.benefit-card--featured::after {
  background: linear-gradient(
    180deg,
    rgba(238, 95, 0, 0.25) 0%,
    rgba(178, 60, 0, 0.65) 55%,
    rgba(120, 40, 0, 0.95) 100%
  );
}

.benefit-card--featured:hover::after {
  background: linear-gradient(
    180deg,
    rgba(238, 95, 0, 0.4) 0%,
    rgba(178, 60, 0, 0.75) 55%,
    rgba(120, 40, 0, 0.98) 100%
  );
}

.benefit-card--featured .benefit-card__stat span {
  color: var(--white);
}

.benefit-card--featured:hover .benefit-card__icon {
  background: var(--white);
  color: var(--primary);
}

@media (max-width: 960px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Planes ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.plan {
  grid-column: span 2;
}

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

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

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-card-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(238, 95, 0, 0.18);
  border-color: rgba(238, 95, 0, 0.3);
}

.plan:hover .plan__head::before {
  opacity: 1;
  transform: scale(1.1) rotate(15deg);
}

.plan:hover .plan__speed strong {
  color: var(--white);
}

/* Header with colored gradient background */
.plan__head {
  position: relative;
  padding: 28px 28px 24px;
  background: linear-gradient(135deg, #fff8f2 0%, var(--primary-soft) 100%);
  border-bottom: 1px solid rgba(238, 95, 0, 0.1);
  overflow: hidden;
  isolation: isolate;
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Decorative orange blob */
.plan__head::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 95, 0, 0.3), transparent 70%);
  opacity: 0.6;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.plan:hover .plan__head {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
}

.plan:hover .plan__tag {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.plan:hover .plan__title {
  color: var(--white);
}

.plan:hover .plan__speed strong,
.plan:hover .plan__speed span {
  color: var(--white);
}

.plan__tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(238, 95, 0, 0.2);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.plan__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--body-gray);
  transition: color 0.3s ease;
}

.plan__speed {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan__speed strong {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary);
  transition: color 0.3s ease;
}

.plan__speed span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--body-gray);
  transition: color 0.3s ease;
}

.plan__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 20px;
}

.plan__price-amount {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}

.plan__price-unit {
  font-size: 14px;
  color: var(--body-gray);
}

.plan__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.plan__specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--body-gray);
}

.plan__specs svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.plan__cta {
  margin-top: auto;
}

.plan__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(238, 95, 0, 0.35);
}

.plan__badge--alt {
  background: var(--black);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* FEATURED (Avanzado) — permanent bold look */
.plan--featured {
  background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 100%);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.plan--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(238, 95, 0, 0.35), transparent 60%);
  pointer-events: none;
}

.plan--featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 36px 72px rgba(238, 95, 0, 0.35);
}

.plan--featured .plan__head {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.plan--featured .plan__head::before {
  background: radial-gradient(circle, rgba(238, 95, 0, 0.5), transparent 70%);
  opacity: 1;
}

.plan--featured .plan__tag {
  background: rgba(238, 95, 0, 0.2);
  color: var(--primary);
  border-color: rgba(238, 95, 0, 0.4);
}

.plan--featured .plan__title {
  color: var(--muted-gray);
}

.plan--featured .plan__speed strong {
  color: var(--primary);
}

.plan--featured .plan__speed span {
  color: var(--muted-gray);
}

.plan--featured .plan__price-amount {
  color: var(--white);
}

.plan--featured .plan__price-unit {
  color: var(--muted-gray);
}

.plan--featured .plan__specs li {
  color: rgba(255, 255, 255, 0.85);
}

.plan--featured:hover .plan__head {
  background: transparent;
}

.plan--featured:hover .plan__tag,
.plan--featured:hover .plan__title,
.plan--featured:hover .plan__speed strong,
.plan--featured:hover .plan__speed span {
  color: inherit;
  background: rgba(238, 95, 0, 0.2);
  border-color: rgba(238, 95, 0, 0.4);
}

.plan--featured:hover .plan__title {
  color: var(--muted-gray);
  background: transparent;
}

.plan--featured:hover .plan__speed strong {
  color: var(--primary);
  background: transparent;
}

.plan--featured:hover .plan__speed span {
  color: var(--muted-gray);
  background: transparent;
}

/* PREMIUM (Pyme + TV) — dark gradient with gold accent */
.plan--premium {
  background: linear-gradient(160deg, #1a1a1a 0%, #2d1a00 100%);
  color: var(--white);
  border-color: transparent;
}

.plan--premium:hover {
  box-shadow: 0 30px 60px rgba(238, 95, 0, 0.3);
}

.plan--premium .plan__head {
  background: linear-gradient(135deg, rgba(238, 95, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.plan--premium .plan__tag {
  background: rgba(238, 95, 0, 0.2);
  color: var(--primary);
  border-color: rgba(238, 95, 0, 0.4);
}

.plan--premium .plan__title {
  color: var(--muted-gray);
}

.plan--premium .plan__speed strong {
  color: var(--primary);
}

.plan--premium .plan__speed span {
  color: var(--muted-gray);
}

.plan--premium .plan__price-amount {
  color: var(--white);
}

.plan--premium .plan__price-unit {
  color: var(--muted-gray);
}

.plan--premium .plan__specs li {
  color: rgba(255, 255, 255, 0.85);
}

.plan--premium:hover .plan__head {
  background: linear-gradient(135deg, rgba(238, 95, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
}

.plan--premium:hover .plan__tag {
  background: rgba(238, 95, 0, 0.2);
  color: var(--primary);
  border-color: rgba(238, 95, 0, 0.4);
}

.plan--premium:hover .plan__title {
  color: var(--muted-gray);
}

.plan--premium:hover .plan__speed strong {
  color: var(--primary);
}

.plan--premium:hover .plan__speed span {
  color: var(--muted-gray);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--black);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
}

.cta-strip__inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-strip__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

.cta-strip__text {
  color: var(--muted-gray);
  margin: 0 0 32px;
  font-size: 16px;
}

.cta-strip .btn--primary {
  background: var(--primary);
  color: var(--white);
}

.cta-strip .btn--primary:hover {
  background: var(--primary-hover);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 24px 32px;
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}

.site-footer__brand {
  max-width: 320px;
}

.site-footer__brand p {
  color: var(--muted-gray);
  margin: 12px 0 0;
  font-size: 14px;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: var(--muted-gray);
  font-size: 14px;
  transition: color 0.15s ease;
}

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

.site-footer__bottom {
  max-width: var(--container);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid #1c1c1c;
  color: var(--muted-gray);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan,
  .plan:nth-child(4),
  .plan:nth-child(5) {
    grid-column: auto;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 24px 64px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section {
    padding: 64px 24px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .nav-pills {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 96px 28px 32px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    border-radius: 0;
    box-shadow: none;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 0.3s ease,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-pills::before {
    content: "";
    position: absolute;
    top: 96px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: var(--hover-light);
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
  }
  .nav-pills.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-pills.is-open::before {
    opacity: 1;
  }
  .nav-pills li {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-pills.is-open li {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-pills.is-open li:nth-child(1) { transition-delay: 0.12s; }
  .nav-pills.is-open li:nth-child(2) { transition-delay: 0.18s; }
  .nav-pills.is-open li:nth-child(3) { transition-delay: 0.24s; }
  .nav-pills.is-open li:nth-child(4) { transition-delay: 0.30s; }
  .nav-pills a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 20px 20px;
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    background: transparent;
    border-radius: var(--radius-card-lg);
    letter-spacing: -0.01em;
    box-shadow: none;
    transform: none;
    transition:
      background 0.2s ease,
      color 0.2s ease,
      padding-left 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-pills a:hover,
  .nav-pills a:focus-visible {
    background: var(--primary-soft);
    color: var(--primary);
    padding-left: 28px;
    box-shadow: none;
    transform: none;
  }
  .nav-pills a.is-active {
    background: var(--primary-soft);
    color: var(--primary);
    box-shadow: none;
    transform: none;
  }
  .nav-pills a.is-active::before {
    background: var(--primary);
    box-shadow: none;
    animation: none;
  }
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 101;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Contacto ---------- */
.contact {
  padding: 80px 24px 96px;
}

.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__head {
  max-width: var(--container);
  margin: 0 auto 48px;
  text-align: left;
}

.contact__head h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.contact__head p {
  color: var(--body-gray);
  font-size: 18px;
  margin: 0;
  max-width: 560px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-light);
  padding: 40px;
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--row {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  display: grid;
}

.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary) inset;
}

.contact-form__submit {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-form__hint {
  font-size: 13px;
  color: var(--body-gray);
  margin: 0;
}

.field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field__req {
  color: var(--primary);
  margin-left: 2px;
}

.field__hint {
  color: var(--muted-gray);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}

.field__error {
  display: block;
  min-height: 0;
  font-size: 13px;
  color: #a31e1e;
  line-height: 1.3;
  margin-top: 2px;
  transition: min-height 0.2s ease;
}

.field__error:not(:empty) {
  min-height: 18px;
  margin-top: 6px;
}

.field__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.field__counter {
  font-size: 12px;
  color: var(--muted-gray);
  white-space: nowrap;
  flex-shrink: 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #a31e1e;
  box-shadow: 0 0 0 1px #a31e1e inset;
}

.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus {
  border-color: #a31e1e;
  box-shadow: 0 0 0 2px #a31e1e inset;
}

.contact-form__turnstile {
  min-height: 65px;
  display: flex;
  align-items: center;
}

#contactSubmit .btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  animation: spin 0.7s linear infinite;
}

#contactSubmit.is-loading .btn__label { opacity: 0.7; }
#contactSubmit.is-loading .btn__spinner { display: inline-block; }
#contactSubmit:disabled { cursor: wait; opacity: 0.85; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.contact-form__feedback {
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  border-radius: var(--radius-card);
  transition: padding 0.2s ease;
}

.contact-form__feedback.is-success,
.contact-form__feedback.is-error {
  padding: 12px 16px;
  margin-top: 4px;
}

.contact-form__feedback.is-success {
  background: #e8f6ec;
  color: #0f6b2b;
  border: 1px solid #b9e0c3;
}

.contact-form__feedback.is-error {
  background: #fdecec;
  color: #a31e1e;
  border: 1px solid #f4c6c6;
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-light);
  padding: 28px;
}

.contact-card--dark {
  background: var(--black);
  color: var(--white);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.contact-card p {
  color: var(--body-gray);
  margin: 0 0 20px;
  font-size: 15px;
}

.contact-card--dark p {
  color: var(--muted-gray);
}

.contact-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--body-gray);
}

.contact-card__list a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.contact-card__list a:hover {
  border-color: currentColor;
}

.contact-card--dark .btn--primary {
  background: var(--primary);
  color: var(--white);
}

.contact-card--dark .btn--primary:hover {
  background: var(--primary-hover);
}

@media (max-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 28px;
  }
  .field--row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Speed test ---------- */
.speedtest {
  padding: 32px 24px 64px;
}

.speedtest__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.speedtest__head {
  text-align: center;
  margin-bottom: 24px;
}

.speedtest__head h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.speedtest__head p {
  color: var(--body-gray);
  font-size: 15px;
  margin: 0 auto;
  max-width: 640px;
}

.speedtest__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 20px;
  align-items: stretch;
}

.speedtest__frame {
  background: var(--black);
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  position: relative;
  min-height: 540px;
}

.speedtest__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: absolute;
  inset: 0;
}

.speedtest__fallback {
  display: none;
  padding: 48px 24px;
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.speedtest__fallback h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 8px;
}

.speedtest__fallback p {
  color: var(--muted-gray);
  margin: 0 0 24px;
}

.speedtest__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.speedtest__card {
  background: var(--white);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-light);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.speedtest__card--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--white);
}

.speedtest__card--primary p {
  color: rgba(255, 255, 255, 0.9);
}

.speedtest__card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.speedtest__card-icon svg {
  width: 20px;
  height: 20px;
}

.speedtest__card strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: inherit;
}

.speedtest__card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--body-gray);
}

.speedtest__tip {
  background: var(--white);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-light);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.speedtest__tip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(238, 95, 0, 0.12);
}

.speedtest__tip-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.speedtest__tip-icon svg {
  width: 20px;
  height: 20px;
}

.speedtest__tip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
}

.speedtest__tip p {
  margin: 0;
  color: var(--body-gray);
  font-size: 13px;
  line-height: 1.45;
}

.speedtest__tip-link {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.speedtest__tip-link:hover {
  color: var(--primary-hover);
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .speedtest__layout {
    grid-template-columns: 1fr;
  }
  .speedtest__frame {
    min-height: 500px;
  }
}

@media (max-width: 600px) {
  .speedtest {
    padding: 24px 16px 48px;
  }
  .speedtest__frame {
    min-height: 420px;
  }
}

/* ---------- WhatsApp floating widget ---------- */
.wa-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 80;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 25px rgba(37, 211, 102, 0.38),
    0 4px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  animation: wa-enter 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
  text-decoration: none;
}

.wa-widget:hover {
  transform: scale(1.1);
  box-shadow:
    0 14px 32px rgba(37, 211, 102, 0.5),
    0 6px 14px rgba(0, 0, 0, 0.15);
}

.wa-widget:active {
  transform: scale(1.05);
}

.wa-widget__icon {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 2;
  color: #fff;
}

.wa-widget__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: 1;
}

.wa-widget__pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2.4s ease-out 0.8s infinite;
}

.wa-widget__label {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--black);
  color: var(--white);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.wa-widget__label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--black);
}

.wa-widget:hover .wa-widget__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.75); opacity: 0; }
}

@keyframes wa-enter {
  0% { opacity: 0; transform: scale(0.3) rotate(-25deg); }
  70% { transform: scale(1.1) rotate(5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

body.has-menu-open .wa-widget {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
}

@media (max-width: 600px) {
  .wa-widget {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
  }
  .wa-widget__icon {
    width: 28px;
    height: 28px;
  }
  .wa-widget__label {
    display: none;
  }
}

/* ---------- Placeholder page ---------- */
.placeholder {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px;
}

.placeholder__inner {
  max-width: 560px;
}

.placeholder h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.placeholder p {
  color: var(--body-gray);
  margin: 0 0 32px;
  font-size: 18px;
}
