/* =========================================================
   iTecCom Networks — Hoja de estilos principal
   Se usa en index.html y contact.html
   ========================================================= */

/* ---------- Variables de marca ---------- */
:root {
  --navy-900: #0a1c3d;
  --navy-800: #0f2a57;
  --navy-700: #13386f;   /* azul del logo */
  --navy-600: #1d4a8c;
  --orange-600: #c96f14;
  --orange-500: #db8a2b; /* naranja del logo */
  --orange-400: #f0a84a;
  --gold-200: #f3dd9a;
  --bg: #f3f7fc;
  --surface: #ffffff;
  --text: #13254a;
  --muted: #5a6b86;
  --line: #dbe4f0;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(10, 28, 61, 0.35);
  --wrap: 1180px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

/* Las anclas no quedan tapadas por el menú fijo */
section[id] {
  scroll-margin-top: 64px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 18px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-position 0.4s ease, color 0.2s;
}

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

.btn i {
  font-size: 0.85em;
}

.btn:focus-visible,
.nav a:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--orange-400);
  outline-offset: 2px;
}

.btn--primary {
  color: var(--navy-900);
  background-image: linear-gradient(135deg, var(--orange-400), var(--orange-500) 50%, var(--orange-600));
  background-size: 200% 100%;
  box-shadow: 0 4px 12px -6px rgba(201, 111, 20, 0.6);
}

.btn--primary:hover {
  background-position: 100% 0;
  color: #fff;
}

.btn--navy {
  color: #fff;
  background: var(--navy-700);
}

.btn--navy:hover {
  background: var(--navy-600);
}

.btn--outline {
  color: var(--navy-700);
  border-color: var(--navy-700);
  background: transparent;
}

.btn--outline:hover {
  background: var(--navy-700);
  color: #fff;
}

.btn--outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--navy-800);
}

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

/* =========================================================
   ENCABEZADO
   ========================================================= */

/* Barra superior */
.topbar {
  background: var(--navy-900);
  color: #c9d6ec;
  font-size: 13px;
  border-bottom: 1px solid rgba(219, 138, 43, 0.35);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}

.topbar__social {
  display: flex;
  gap: 18px;
}

.topbar__social a {
  font-size: 15px;
  transition: color 0.2s;
}

.topbar__social a:hover {
  color: var(--orange-400);
}

.topbar__info {
  display: flex;
  gap: 28px;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topbar__info i {
  color: var(--orange-500);
  margin-right: 6px;
}

/* Cabecera principal con logo */
.site-header {
  background:
    radial-gradient(circle at 85% 0%, rgba(219, 138, 43, 0.10), transparent 45%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
}

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

.header__side {
  display: grid;
  grid-template-columns: max-content;
  gap: 10px;
}

/* El lema no ensancha la columna: se centra bajo los botones */
.header__side .brand__tagline {
  contain: inline-size;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.brand__tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand__tagline::before,
.brand__tagline::after {
  content: "";
  flex: none;
  width: 18px;
  height: 2px;
  background: var(--orange-500);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone {
  display: flex;
  flex-direction: column;
  margin-right: 8px;
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}

.header__phone strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy-700);
}

/* Menú de navegación */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 6px 18px -8px rgba(10, 28, 61, 0.55);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 4px;
}

.nav__list a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.25;
  color: #fff7ea;
  transition: background 0.2s, color 0.2s;
}

.nav__list a i {
  font-size: 14px;
  opacity: 0.9;
}

.nav__list a:hover {
  background: rgba(10, 28, 61, 0.18);
}

.nav__list a.is-active {
  background: var(--navy-900);
  color: var(--orange-400);
  box-shadow: inset 0 0 0 1px rgba(240, 168, 74, 0.35);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 0;
  border-radius: 7px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.25;
  cursor: pointer;
}

/* =========================================================
   PORTADA (HERO)
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(60, 130, 230, 0.35), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(219, 138, 43, 0.25), transparent 35%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border: 1px solid rgba(240, 168, 74, 0.55);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-400);
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(180deg, var(--gold-200), var(--orange-500) 60%, var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 560px;
  color: #d4e0f3;
  margin-bottom: 28px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  display: grid;
  gap: 14px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.stat i {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(219, 138, 43, 0.18);
  color: var(--orange-400);
  font-size: 20px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}

.stat span {
  font-size: 14px;
  color: #b9c9e3;
}

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section__kicker {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange-600);
}

.section__head h2 {
  font-size: clamp(30px, 4vw, 44px);
  text-transform: uppercase;
  color: var(--navy-700);
}

.section__head h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: var(--orange-500);
}

.section__head p {
  margin-top: 14px;
  color: var(--muted);
}

/* Banners con imagen */
.banner {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.banner img {
  width: 100%;
  height: auto;
}

.banner-section {
  padding: 48px 0 0;
}

/* =========================================================
   TARJETAS DE PLANES (se generan desde main.js)
   ========================================================= */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--navy-700);
  border-radius: 20px;
  background: linear-gradient(180deg, #eef2f8 0%, #c9d5e6 55%, #7f97bd 100%);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -16px rgba(10, 28, 61, 0.5);
}

.plan--featured {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(219, 138, 43, 0.25), var(--shadow);
}

.plan__badge {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 12px;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--orange-500);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.plan--featured .plan__type {
  margin-top: 28px;
}

.plan__type {
  margin: 8px 8px 0;
  padding: 6px 8px;
  border-radius: 12px;
  background: var(--navy-800);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.plan__type--long {
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: 0;
}

.plan__type span {
  background: linear-gradient(180deg, var(--gold-200), var(--orange-500) 55%, var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan__label {
  margin: 8px 16px 0;
  padding: 2px 0;
  border-radius: 999px;
  background: #050b18;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.plan__speed {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 4px 12px 0;
}

.plan__megas {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 500;
  line-height: 0.95;
  background: linear-gradient(180deg, var(--orange-400), var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 var(--navy-700));
}

.plan__megas--xl {
  font-size: 62px;
}

.plan__unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 8px;
  font-family: var(--font-display);
  color: var(--navy-800);
}

.plan__unit i {
  font-size: 18px;
  margin-bottom: 4px;
}

.plan__unit strong {
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.plan__unit small {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.plan__price {
  text-align: center;
  padding: 2px 12px 0;
}

.plan__amount {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  color: var(--navy-800);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.plan__amount sup {
  font-size: 0.5em;
  vertical-align: 0.65em;
  margin-right: 2px;
}

.plan__period {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-600);
}

.plan__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 10px 8px 8px;
  padding: 12px 14px 14px;
  border-radius: 12px;
  background: var(--surface);
}

.plan__ideal {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.25;
  color: var(--orange-600);
}

.plan__features {
  flex: 1;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.35;
}

.plan__features li {
  display: flex;
  gap: 8px;
  padding: 3px 0;
}

.plan__features i {
  margin-top: 3px;
  color: var(--navy-600);
  font-size: 13px;
}

.plans-note {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.2s, transform 0.2s;
}

.service:hover {
  border-color: var(--orange-500);
  transform: translateY(-4px);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--navy-700);
  color: var(--orange-400);
  font-size: 24px;
}

.service h3 {
  font-size: 24px;
  color: var(--navy-700);
  margin-bottom: 8px;
}

.service p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 14px;
}

.service a {
  font-family: var(--font-display);
  color: var(--orange-600);
  letter-spacing: 0.04em;
}

.service a:hover {
  color: var(--navy-700);
}

.service__logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

/* =========================================================
   CENTRO DE AYUDA / REDES
   ========================================================= */
.help {
  padding: 56px 0;
}

.help__box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 40px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(219, 138, 43, 0.35), transparent 50%),
    linear-gradient(135deg, var(--navy-800), var(--navy-700));
  box-shadow: var(--shadow);
}

.help__box h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 10px;
}

.help__box p {
  color: #d4e0f3;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

.social-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 15px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-links a i {
  font-size: 28px;
}

.social-links a:hover {
  background: var(--orange-500);
  color: var(--navy-900);
  transform: translateY(-3px);
}

/* =========================================================
   PIE DE PÁGINA
   ========================================================= */
.site-footer {
  margin-top: 24px;
  background: var(--navy-900);
  color: #b9c9e3;
  font-size: 15px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-top: 52px;
  padding-bottom: 40px;
}

.footer__brand img {
  width: 200px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 14px;
}

.site-footer h3 {
  margin-bottom: 14px;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-400);
}

.site-footer li {
  padding: 4px 0;
}

.site-footer li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  text-align: center;
}

/* =========================================================
   PÁGINA DE CONTACTO
   ========================================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(219, 138, 43, 0.3), transparent 40%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 52px;
  padding-bottom: 52px;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  text-transform: uppercase;
}

.page-hero p {
  max-width: 620px;
  margin-top: 10px;
  color: #d4e0f3;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #b9c9e3;
}

.breadcrumb a:hover {
  color: var(--orange-400);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 24px -16px rgba(10, 28, 61, 0.35);
}

.card h2 {
  font-size: 28px;
  color: var(--navy-700);
  margin-bottom: 6px;
}

.card > p {
  color: var(--muted);
  margin-bottom: 22px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
  font-size: 15px;
}

.field label span {
  color: var(--orange-600);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(29, 74, 140, 0.15);
  background: #fff;
}

.field input:user-invalid,
.field select:user-invalid {
  border-color: #c0392b;
}

.form__check {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}

.form__check input {
  margin-top: 4px;
  accent-color: var(--navy-700);
}

.form__check a {
  color: var(--navy-600);
  text-decoration: underline;
}

.form__actions {
  grid-column: 1 / -1;
}

.form__status {
  grid-column: 1 / -1;
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
}

.form__status.is-ok {
  display: block;
  background: #e6f6ec;
  color: #1d6b3a;
}

.form__status.is-error {
  display: block;
  background: #fdecea;
  color: #a12a1c;
}

.info-list {
  display: grid;
  gap: 18px;
}

.info-item {
  display: flex;
  gap: 14px;
}

.info-item i {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-700);
  color: var(--orange-400);
}

.info-item h3 {
  font-size: 18px;
  color: var(--navy-700);
}

.info-item p,
.info-item a {
  font-size: 15px;
  color: var(--muted);
}

.info-item a:hover {
  color: var(--orange-600);
}

.side-stack {
  display: grid;
  gap: 22px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table th,
.price-table td {
  padding: 9px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table th {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy-700);
  letter-spacing: 0.04em;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
}

.price-table td:last-child {
  font-weight: 700;
  color: var(--navy-800);
}

/* =========================================================
   FONDO DE RED INTERACTIVO (canvas generado por main.js)
   ========================================================= */
.net-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* =========================================================
   PUNTERO PERSONALIZADO (solo en equipos con ratón)
   ========================================================= */
.has-cursor,
.has-cursor * {
  cursor: none !important;
}

.has-cursor input,
.has-cursor textarea {
  cursor: text !important;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: var(--orange-500);
  box-shadow: 0 0 10px 2px rgba(240, 168, 74, 0.65);
  transition: opacity 0.2s, width 0.2s, height 0.2s, margin 0.2s, background 0.2s;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 2px solid rgba(219, 138, 43, 0.6);
  transition: opacity 0.2s, width 0.25s, height 0.25s, margin 0.25s, border-color 0.25s, background 0.25s;
}

.cursor-visible .cursor-dot,
.cursor-visible .cursor-ring {
  opacity: 1;
}

/* Sobre botones, enlaces y tarjetas */
.cursor-hover .cursor-dot {
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  background: var(--orange-400);
}

.cursor-hover .cursor-ring {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-color: rgba(34, 211, 238, 0.75);
  background: rgba(34, 211, 238, 0.08);
}

/* Al hacer clic */
.cursor-down .cursor-ring {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-color: var(--orange-400);
}

/* Sobre campos de texto se usa el cursor normal */
.cursor-text .cursor-dot,
.cursor-text .cursor-ring {
  opacity: 0;
}

/* Onda que aparece al hacer clic */
.cursor-ripple {
  position: fixed;
  z-index: 9998;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid var(--orange-400);
  border-radius: 50%;
  pointer-events: none;
  animation: cursor-ripple 0.6s ease-out forwards;
}

@keyframes cursor-ripple {
  to {
    transform: scale(7);
    opacity: 0;
  }
}

/* Barra de progreso de lectura */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400), #22d3ee);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* =========================================================
   ANIMACIÓN DE ENTRADA (reemplaza ScrollReveal)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cursor-ripple {
    display: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   PLANES EN CARRUSEL (celulares y pantallas pequeñas)
   ========================================================= */
.plans-hint,
.plans-dots {
  display: none;
}

@media (max-width: 760px) {
  .plans {
    display: flex;
    gap: 16px;
    margin: 0 -20px;
    padding: 10px 20px 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .plans::-webkit-scrollbar {
    display: none;
  }

  .plan {
    flex: 0 0 80%;
    max-width: 320px;
    scroll-snap-align: start;
  }

  .plan__megas {
    font-size: 68px;
  }

  .plan__megas--xl {
    font-size: 54px;
  }

  .plan__amount {
    font-size: 34px;
  }

  .plan__features {
    font-size: 13.5px;
  }

  .plan:hover {
    transform: none;
  }

  .plans-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: -18px 0 14px;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange-600);
  }

  .plans-hint i {
    animation: hint-swipe 1.4s ease-in-out infinite;
  }

  .plans-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
  }

  .plans-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #b9c6da;
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
  }

  .plans-dots button[aria-current] {
    width: 28px;
    background: var(--orange-500);
  }
}

@keyframes hint-swipe {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .plans-hint i {
    animation: none;
  }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav__list a {
    padding: 5px 9px;
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .topbar__info li:first-child {
    display: none;
  }

  .header__phone {
    display: none;
  }

  .hero__inner,
  .help__box,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  /* Menú móvil */
  .nav__inner {
    min-height: 44px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 20px 18px;
    background: var(--navy-900);
    box-shadow: 0 14px 24px -12px rgba(0, 0, 0, 0.6);
    display: none;
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__list a {
    position: relative;
    padding: 12px 14px;
    font-size: 18px;
    transition: background 0.18s, color 0.18s, padding-left 0.18s, box-shadow 0.18s;
  }

  .nav__list a i {
    width: 20px;
    text-align: center;
    transition: color 0.18s, transform 0.18s;
  }

  .nav__list a.is-active {
    background: rgba(219, 138, 43, 0.15);
  }

  /* Resalta la opción bajo el ratón, el lápiz digital o el dedo */
  .nav__list a:hover,
  .nav__list a:focus-visible,
  .nav__list a.is-pointed {
    padding-left: 22px;
    background: linear-gradient(90deg, rgba(219, 138, 43, 0.42), rgba(219, 138, 43, 0.08));
    color: #fff;
    box-shadow: inset 4px 0 0 var(--orange-500);
  }

  .nav__list a:hover i,
  .nav__list a:focus-visible i,
  .nav__list a.is-pointed i {
    color: var(--orange-400);
    transform: scale(1.15);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .topbar__social {
    gap: 14px;
  }

  .topbar__info {
    letter-spacing: 0.1em;
    font-size: 11px;
  }

  .brand img {
    width: 170px;
  }

  .brand__tagline {
    display: none;
  }

  .header__actions .btn--outline {
    display: none;
  }

  .header__actions .btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  .hero__inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section {
    padding: 52px 0;
  }

  .services,
  .footer__grid,
  .form {
    grid-template-columns: 1fr;
  }

  .help__box,
  .card {
    padding: 24px 20px;
  }
}
