/* ===========================================================
   HFC — Sistema de telecomunicaciones
   Stylesheet principal
   =========================================================== */

/* ============ VARIABLES ============ */
:root {
  --hfc-blue: #4A7BB7;
  --hfc-blue-dark: #2C5F8F;
  --hfc-blue-darker: #1E4470;
  --hfc-blue-light: #6B9BD2;
  --hfc-blue-soft: #E8F0FA;
  --hfc-accent: #FF8A3D;
  --hfc-accent-dark: #E66F1E;
  --hfc-yellow: #FFC857;

  --text: #1A2B42;
  --text-soft: #4B5B73;
  --muted: #8A98AE;
  --line: #E5ECF5;
  --bg: #FFFFFF;
  --bg-alt: #F4F8FD;
  --bg-dark: #0E1E33;

  --shadow-sm: 0 2px 8px rgba(30, 68, 112, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 68, 112, 0.10);
  --shadow-lg: 0 20px 50px rgba(30, 68, 112, 0.15);
  --shadow-xl: 0 30px 80px rgba(30, 68, 112, 0.22);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --gradient: linear-gradient(135deg, #4A7BB7 0%, #2C5F8F 100%);
  --gradient-soft: linear-gradient(135deg, #6B9BD2 0%, #4A7BB7 100%);
  --gradient-text: linear-gradient(135deg, #4A7BB7 0%, #1E4470 50%, #FF8A3D 100%);

  --container: 1200px;
  --header-h: 78px;

  --t-fast: 180ms cubic-bezier(.4,0,.2,1);
  --t: 280ms cubic-bezier(.4,0,.2,1);
  --t-slow: 480ms cubic-bezier(.4,0,.2,1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ============ UTILITIES ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--hfc-blue-light) 0%, var(--hfc-blue) 50%, var(--hfc-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hide-sm { display: inline; }
@media (max-width: 700px) { .hide-sm { display: none; } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(74,123,183,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(74,123,183,0.45);
}
.btn--outline {
  border-color: var(--hfc-blue);
  color: var(--hfc-blue);
  background: transparent;
}
.btn--outline:hover {
  background: var(--hfc-blue);
  color: #fff;
  transform: translateY(-2px);
}
.btn--ghost {
  background: rgba(74,123,183,0.10);
  color: var(--hfc-blue);
}
.btn--ghost:hover { background: rgba(74,123,183,0.18); transform: translateY(-2px); }
.btn--white {
  background: #fff;
  color: var(--hfc-blue-dark);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,0.25); }
.btn--ghost-white {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-white:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============ TOPBAR ============ */
.topbar {
  background: var(--hfc-blue-darker);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__left, .topbar__right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.topbar__right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.92;
}
.topbar__right a:hover { opacity: 1; color: var(--hfc-yellow); }
.topbar__cta { font-weight: 600; color: var(--hfc-yellow) !important; }
.topbar__left i, .topbar__right i { font-size: 0.9rem; }
@media (max-width: 700px) {
  .topbar { font-size: 0.78rem; }
  .topbar__left, .topbar__right { gap: 14px; }
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), background var(--t);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}
.logo img { height: 50px; width: auto; }
.logo__fallback {
  display: none;
  align-items: baseline;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -1px;
  color: var(--hfc-blue);
}
.logo__h { color: #fff; background: var(--hfc-blue); padding: 4px 10px; border-radius: 8px; margin-right: 4px; }
.logo--footer img { height: 44px; filter: brightness(0) invert(1); }
.logo--footer .logo__h { background: #fff; color: var(--hfc-blue-dark); }
.logo--footer .logo__fc { color: #fff; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__list {
  display: flex;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  position: relative;
  transition: color var(--t-fast);
}
.nav__link:hover, .nav__link.active { color: var(--hfc-blue); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__cta { font-size: 0.9rem; padding: 10px 20px; }
.nav__close { display: none; }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--hfc-blue-soft);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--hfc-blue);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t-fast);
}

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 88vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    transform: translateX(110%);
    transition: transform var(--t);
    box-shadow: var(--shadow-xl);
    z-index: 110;
    gap: 16px;
  }
  .nav.open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 4px; margin-top: 40px; }
  .nav__link { padding: 14px 16px; font-size: 1rem; }
  .nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border-radius: 10px;
    color: var(--hfc-blue);
    font-size: 1.2rem;
  }
  .nav__cta { width: 100%; padding: 14px; }
  .nav__toggle { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1E4470 0%, #2C5F8F 50%, #4A7BB7 100%);
  color: #fff;
  padding: 80px 0 160px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 14s ease-in-out infinite;
}
.hero__shape--1 {
  width: 500px; height: 500px;
  background: #6B9BD2;
  top: -150px; right: -100px;
}
.hero__shape--2 {
  width: 400px; height: 400px;
  background: var(--hfc-accent);
  bottom: -120px; left: -80px;
  opacity: 0.3;
  animation-delay: -3s;
}
.hero__shape--3 {
  width: 300px; height: 300px;
  background: #88B6E0;
  top: 40%; left: 40%;
  opacity: 0.4;
  animation-delay: -7s;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.05); }
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero__badge i { color: var(--hfc-yellow); }
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 20px;
}
.hero__title .text-gradient {
  background: linear-gradient(135deg, #FFC857 0%, #FF8A3D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 540px;
  margin: 0 0 32px;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__cta .btn--ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.hero__cta .btn--ghost:hover { background: rgba(255,255,255,0.22); }
.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 560px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__trust-item i {
  font-size: 1.3rem;
  color: var(--hfc-yellow);
  flex-shrink: 0;
}
.hero__trust-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}
.hero__trust-item small {
  display: block;
  font-size: 0.78rem;
  opacity: 0.75;
}

/* Hero visual / Speed card */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}
.speed-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}
.speed-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  opacity: 0.85;
}
.speed-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74,222,128,0.25);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
}
.speed-card__gauge {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
}
.gauge-svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.gauge-track {
  fill: none;
  stroke: rgba(255,255,255,0.12);
  stroke-width: 10;
}
.gauge-fill {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke: var(--hfc-yellow);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1);
  filter: drop-shadow(0 0 8px rgba(255,200,87,0.6));
}
.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.gauge-number {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}
.gauge-unit {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-top: 4px;
  letter-spacing: 1px;
}
.speed-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.speed-card__stats > div {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.speed-card__stats i { color: var(--hfc-yellow); font-size: 0.85rem; }
.speed-card__stats span {
  font-size: 0.75rem;
  opacity: 0.75;
}
.speed-card__stats strong { font-size: 0.95rem; font-weight: 700; }

/* Floating chips */
.floating-chip {
  position: absolute;
  background: #fff;
  color: var(--hfc-blue-dark);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: bobble 4s ease-in-out infinite;
}
.floating-chip i { color: var(--hfc-blue); }
.floating-chip--1 { top: 8%; right: 4%; animation-delay: 0s; }
.floating-chip--2 { bottom: 12%; left: -4%; animation-delay: -1.5s; }
.floating-chip--3 { top: 50%; right: -2%; animation-delay: -3s; }
@keyframes bobble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Hero wave */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 80px; display: block; }

@media (max-width: 900px) {
  .hero { padding: 50px 0 120px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__trust { margin: 0 auto; max-width: 100%; }
  .hero__visual { min-height: 420px; }
}
@media (max-width: 480px) {
  .hero__trust { grid-template-columns: 1fr; gap: 14px; max-width: 280px; }
  .hero__trust-item { justify-content: flex-start; text-align: left; }
}

/* ============ STATS ============ */
.stats {
  padding: 60px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat {
  padding: 20px 16px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat i {
  font-size: 1.8rem;
  color: var(--hfc-blue);
  margin-bottom: 12px;
}
.stat__num {
  display: inline-block;
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
@media (max-width: 800px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .stat:last-child { border-bottom: none; }
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section__tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--hfc-blue-soft);
  color: var(--hfc-blue-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}
.section__lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.7;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: #fff;
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card--highlight {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: scale(1.02);
}
.service-card--highlight:hover { transform: translateY(-8px) scale(1.02); }
.service-card__ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--hfc-yellow);
  color: var(--hfc-blue-darker);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-card__icon {
  width: 60px; height: 60px;
  background: var(--hfc-blue-soft);
  color: var(--hfc-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: transform var(--t);
}
.service-card:hover .service-card__icon { transform: scale(1.1) rotate(-5deg); }
.service-card--highlight .service-card__icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.service-card h3 {
  font-size: 1.25rem;
  margin: 0 0 12px;
  font-weight: 700;
}
.service-card > p {
  color: var(--text-soft);
  margin: 0 0 18px;
  font-size: 0.95rem;
  flex-grow: 1;
}
.service-card--highlight > p { color: rgba(255,255,255,0.92); }
.service-card__list {
  margin-bottom: 20px;
}
.service-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.service-card__list li i {
  color: var(--hfc-blue);
  font-size: 0.82rem;
}
.service-card--highlight .service-card__list li,
.service-card--highlight .service-card__list li i {
  color: rgba(255,255,255,0.95);
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hfc-blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}
.service-card__link i { transition: transform var(--t-fast); }
.service-card__link:hover i { transform: translateX(4px); }
.service-card--highlight .service-card__link { color: var(--hfc-yellow); }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ============ PLANS ============ */
.plan-toggle {
  display: inline-flex;
  background: #fff;
  padding: 6px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin: 0 auto 50px;
  display: flex;
  width: fit-content;
}
.plan-toggle__btn {
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--t), color var(--t);
}
.plan-toggle__btn.active {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 16px rgba(74,123,183,0.3);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 30px;
}
.plan {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--hfc-blue-light);
}
.plan--featured {
  border-color: transparent;
  background: linear-gradient(180deg, #fff 0%, #fff 100%);
  box-shadow: 0 24px 50px rgba(74,123,183,0.18);
  transform: scale(1.04);
}
.plan--featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--gradient);
  z-index: -1;
}
.plan--featured:hover { transform: translateY(-6px) scale(1.04); }
.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hfc-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 14px rgba(255,138,61,0.4);
}
.plan__head h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
}
.plan__head p { font-size: 0.88rem; color: var(--muted); margin: 0 0 24px; }
.plan__speed {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 16px 0;
  background: var(--hfc-blue-soft);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.plan__speed-num {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.plan__speed-unit { color: var(--hfc-blue-dark); font-weight: 600; }
.plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}
.plan__currency { font-size: 1.2rem; font-weight: 600; color: var(--text-soft); }
.plan__amount { font-size: 2.2rem; font-weight: 800; color: var(--text); line-height: 1; }
.plan__amount--small { font-size: 1.5rem; }
.plan__period { font-size: 0.9rem; color: var(--muted); margin-left: 4px; }
.plan__features {
  margin-bottom: 24px;
  flex-grow: 1;
}
.plan__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  border-bottom: 1px dashed var(--line);
}
.plan__features li:last-child { border-bottom: none; }
.plan__features li i {
  width: 18px;
  color: var(--hfc-blue);
}
.plan__features li.muted { opacity: 0.55; }
.plan__features li.muted i { color: var(--muted); }
.plans__note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-soft);
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px dashed var(--hfc-blue-light);
}
.plans__note i { color: var(--hfc-blue); margin-right: 6px; }
.plans__note a { color: var(--hfc-blue); font-weight: 600; }
@media (max-width: 1024px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
}
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* ============ WHY / NOSOTROS ============ */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why__media {
  display: flex;
  justify-content: center;
}
.why__visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
}
.why__rings {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  animation: rotate 30s linear infinite;
}
.why__rings circle {
  fill: none;
  stroke: var(--hfc-blue-light);
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
  opacity: 0.5;
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}
.why__core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 130px; height: 130px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  box-shadow: 0 24px 50px rgba(74,123,183,0.4);
}
.why__bubble {
  position: absolute;
  background: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  z-index: 1;
  animation: bobble 5s ease-in-out infinite;
}
.why__bubble i { color: var(--hfc-blue); }
.why__bubble--1 { top: 4%; left: 0; animation-delay: 0s; }
.why__bubble--2 { bottom: 8%; right: 4%; animation-delay: -1.5s; }
.why__bubble--3 { top: 48%; right: -8%; animation-delay: -3s; }
.why__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.why__feature {
  display: flex;
  gap: 14px;
}
.why__feature > i {
  width: 44px; height: 44px;
  background: var(--hfc-blue-soft);
  color: var(--hfc-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.why__feature h4 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; }
.why__feature p { margin: 0; color: var(--text-soft); font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; gap: 50px; }
  .why__visual { max-width: 380px; }
  .why__features { grid-template-columns: 1fr; }
}

/* ============ COVERAGE ============ */
.coverage {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}
.coverage__form, .coverage__cities {
  background: #fff;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.coverage__form h3, .coverage__cities h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 1.2rem;
  font-weight: 700;
}
.coverage__form h3 i, .coverage__cities h3 i { color: var(--hfc-blue); }
.coverage__cities p { color: var(--text-soft); margin: 0 0 20px; font-size: 0.95rem; }
.coverage__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--hfc-blue-soft);
  color: var(--hfc-blue-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}
.chip i { color: #4ADE80; }
.chip--soon { background: #FFF4E5; color: #B66C12; }
.chip--soon i { color: var(--hfc-accent); }
.coverage__map {
  background: linear-gradient(135deg, var(--hfc-blue-soft) 0%, #DCE8F7 100%);
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  border: 1px dashed var(--hfc-blue-light);
}
.coverage__map i {
  font-size: 2.4rem;
  color: var(--hfc-blue);
  margin-bottom: 10px;
}
.coverage__map span {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.coverage__map small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}
.coverage__result {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.coverage__result.success {
  background: #E6F9EE;
  color: #117A36;
  border: 1px solid #BAE7CC;
}
.coverage__result.warning {
  background: #FFF4E5;
  color: #B66C12;
  border: 1px solid #FFD9A8;
}
@media (max-width: 900px) { .coverage { grid-template-columns: 1fr; } }

/* ============ FORMS ============ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--hfc-blue);
  box-shadow: 0 0 0 4px rgba(74,123,183,0.12);
}
.form-field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 12px 0 18px;
  cursor: pointer;
}
.form-check input { accent-color: var(--hfc-blue); width: 16px; height: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ============ TESTIMONIALS ============ */
.testimonials { background: #fff; }
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testi {
  background: var(--bg-alt);
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi::before {
  content: '\201C';
  position: absolute;
  top: -10px; right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--hfc-blue-light);
  opacity: 0.4;
  line-height: 1;
}
.testi__stars {
  color: var(--hfc-yellow);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.testi p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 22px;
}
.testi__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.testi__author strong { display: block; font-size: 0.95rem; }
.testi__author small { display: block; color: var(--muted); font-size: 0.8rem; }
@media (max-width: 900px) { .testi-track { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow var(--t-fast);
}
.faq__item:hover { box-shadow: var(--shadow-sm); }
.faq__item[open] { border-color: var(--hfc-blue-light); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none;
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  color: var(--hfc-blue);
  transition: transform var(--t);
  font-size: 0.88rem;
}
.faq__item[open] summary i { transform: rotate(180deg); }
.faq__item p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}
.faq__item p a { color: var(--hfc-blue); font-weight: 600; }

/* ============ CONTACT ============ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.contact__card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--hfc-blue-light);
}
.contact__card > i {
  width: 44px; height: 44px;
  background: var(--hfc-blue-soft);
  color: var(--hfc-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact__card small { display: block; color: var(--muted); font-size: 0.78rem; }
.contact__card strong { display: block; font-size: 1rem; margin: 2px 0; }
.contact__card span { display: block; color: var(--text-soft); font-size: 0.82rem; }
.contact__social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.contact__social a {
  width: 42px; height: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hfc-blue);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.contact__social a:hover {
  background: var(--gradient);
  color: #fff;
  transform: translateY(-3px);
  border-color: transparent;
}

.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact__form h3 { margin: 0 0 20px; font-size: 1.3rem; font-weight: 700; }
.contact__result {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact__result.success {
  background: #E6F9EE;
  color: #117A36;
  border: 1px solid #BAE7CC;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ============ CTA FINAL ============ */
.cta-final {
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,200,87,0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,138,61,0.18) 0%, transparent 40%);
}
.cta-final__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 70px 0;
  color: #fff;
  flex-wrap: wrap;
}
.cta-final h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: 600px;
}
.cta-final p { margin: 0; font-size: 1rem; opacity: 0.9; max-width: 600px; }
.cta-final__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-dark);
  color: #fff;
  padding-top: 70px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 18px;
  color: #fff;
}
.footer__col p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 16px 0 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--t-fast);
}
.footer__col a:hover { color: var(--hfc-yellow); }
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
}
.footer__contact i { color: var(--hfc-blue-light); width: 16px; }
.footer__social {
  display: flex;
  gap: 8px;
}
.footer__social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--t-fast), transform var(--t-fast);
}
.footer__social a:hover {
  background: var(--hfc-blue);
  transform: translateY(-3px);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 24px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============ FLOATING ELEMENTS ============ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 30px rgba(37,211,102,0.5);
  z-index: 90;
  animation: wpulse 2.4s infinite;
  transition: transform var(--t);
}
.whatsapp-fab:hover { transform: scale(1.08); }
@keyframes wpulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 12px 30px rgba(37,211,102,0.5), 0 0 0 16px rgba(37,211,102,0); }
}

.back-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--hfc-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
  z-index: 89;
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-top:hover { background: var(--hfc-blue-dark); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms cubic-bezier(.4,0,.2,1), transform 700ms cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: var(--hfc-blue-light);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--hfc-blue); }

/* ============ SELECTION ============ */
::selection { background: var(--hfc-blue); color: #fff; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
