/* GOMES Comunicaciones — estilos del sitio */
:root {
  --bg: #0a0a0a;
  --bg-2: #17161a;
  --bg-3: #1f1e22;
  --card: #1c1b1f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #8b8b94; /* ≥4.5:1 sobre todos los fondos oscuros */
  --brand: #f7941e;
  --brand-2: #ffb052;
  --ok: #22c55e;
  --err: #ef4444;
  --radius: 14px;
  --max: 1200px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  /* Movimiento */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word; /* URLs y correos largos no empujan el ancho de la página */
}
/* Evita que un hijo de grid con texto largo ensanche su columna */
.grid > *, .split > *, .footer-grid > *, .form .row > * { min-width: 0; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
.accent { color: var(--brand); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); }
.section.tight { padding: 56px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before { content: "// "; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 8px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform 140ms var(--ease-out);
  font-family: var(--font-body); min-height: 48px; text-align: center;
}
.btn-primary { background: var(--brand); color: #111; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-wa { background: #25d366; color: #0b2e17; }
.btn-wa:hover { background: #3be07a; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: none; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a, .nav-links > li > button {
  display: block; padding: 10px 12px; font-size: .92rem; color: var(--muted);
  background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: 6px;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--brand); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px;
  list-style: none; margin: 4px 0 0; display: none;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--muted); font-size: .92rem; }
.dropdown-menu a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.dropdown-menu strong { display: block; color: var(--text); font-weight: 700; }
.nav-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--text); cursor: pointer;
}
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 8px 0 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mobile-menu a[aria-current="page"] { color: var(--brand); }
.mobile-menu .btn { margin-top: 16px; }
@media (min-width: 1100px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-toggle, .mobile-menu, .mobile-menu.open { display: none; }
}

/* Hero */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 20%, rgba(247,148,30,.18), transparent 70%),
              radial-gradient(40% 50% at 0% 100%, rgba(247,148,30,.08), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin-bottom: 32px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.2fr 1fr; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: .75rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--brand); line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--dim); }
.page-hero { padding: 80px 0 56px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 720px; }
.page-hero.center p { margin-left: auto; margin-right: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.page-hero.center .tags { justify-content: center; }
.tag {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid rgba(247,148,30,.35); color: var(--brand); border-radius: 99px;
}

/* Tarjetas */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-bottom: 10px; }
.card .icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px;
  border: 1px solid rgba(247,148,30,.4); border-radius: 10px; color: var(--brand);
}
.card .icon svg { width: 24px; height: 24px; }
a.card { transition: border-color .2s ease, transform 220ms var(--ease-out); display: block; }
@media (hover: hover) and (pointer: fine) {
  a.card:hover { border-color: rgba(247,148,30,.5); transform: translateY(-3px); }
}
.card .more { display: inline-block; margin-top: 16px; color: var(--brand); font-weight: 700; font-size: .92rem; }
.list { list-style: none; padding: 0; margin: 14px 0 0; }
.list li { position: relative; padding-left: 24px; margin: 6px 0; color: var(--muted); font-size: .94rem; }
.list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* Planes: filas centradas, sin huecos vacíos cuando el número de planes no llena la fila */
.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; padding-top: 12px; }
.plan {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  flex: 1 1 300px; max-width: 380px; min-width: 0;
}
@media (max-width: 400px) {
  .plan { padding: 24px 18px; }
  .plan .btn { padding: 14px 12px; font-size: .9rem; }
}
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 20px 60px -30px rgba(247,148,30,.6); }
.plan .badge {
  position: absolute; top: -12px; left: 24px; background: var(--brand); color: #111;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; font-weight: 700;
  padding: 4px 10px; border-radius: 99px; text-transform: uppercase;
}
.plan-kind { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--dim); }
.plan h3 { font-size: 1.5rem; margin: 6px 0 4px; }
.plan-speed { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; margin: 10px 0 2px; }
.plan-speed small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan-price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: var(--font-head); font-size: 2.2rem; color: var(--brand); line-height: 1; }
.plan-price span { color: var(--muted); }
.plan-tax { font-size: .8rem; color: var(--dim); margin: 0 0 4px; }
.plan .list { flex: 1; }
.plan-ideal { margin: 18px 0; padding: 14px; background: rgba(247,148,30,.06); border: 1px solid rgba(247,148,30,.15); border-radius: 10px; font-size: .9rem; color: var(--muted); }
.plan-ideal b { display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .15em; color: var(--brand); margin-bottom: 4px; }
.plan .btn-row .btn { flex: 1; }
.note { margin-top: 28px; font-size: .85rem; color: var(--dim); text-align: center; }

/* Tabla comparativa */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
th { font-family: var(--font-head); background: var(--bg-3); }
td:first-child { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
/* En celular la tabla comparativa se apila: una tarjeta por característica */
@media (max-width: 700px) {
  .table-wrap { overflow: visible; border: 0; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { display: none; }
  .table-wrap tr { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 6px 0; }
  .table-wrap td { display: flex; justify-content: space-between; gap: 16px; border: 0; padding: 8px 16px; text-align: right; }
  .table-wrap td:first-child { display: block; text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 4px; }
  .table-wrap td:not(:first-child)::before { color: var(--brand); font-weight: 700; text-align: left; flex: none; }
  .table-wrap td:nth-child(2)::before { content: "DATAfiber"; }
  .table-wrap td:nth-child(3)::before { content: "DATAair"; }
  .table-wrap td:nth-child(4)::before { content: "DATAtv"; }
}

/* Clientes */
.clients { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .clients { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .clients { grid-template-columns: repeat(6, 1fr); } }
.client {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 18px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; min-height: 140px;
}
.client img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: #fff; }
.client .initials {
  width: 72px; height: 72px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(247,148,30,.1); color: var(--brand); font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}
.client span { font-size: .82rem; color: var(--muted); line-height: 1.3; }
a.client:hover { border-color: rgba(247,148,30,.5); }

/* Acordeón */
.faq { max-width: 820px; margin: 0 auto; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details .body { padding: 0 22px 20px; color: var(--muted); }
details .body ol, details .body ul { padding-left: 20px; margin: 0 0 1em; }
details .body li { margin: 4px 0; }

/* Formularios */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 13px 14px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px;
  color: var(--text); font: inherit; font-size: 16px;
}
input:focus, textarea:focus { outline: none; border-color: var(--brand); }
textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); font-size: .88rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.check a { color: var(--brand); text-decoration: underline; }
.alert { padding: 14px 16px; border-radius: 8px; font-size: .94rem; }
.alert.ok { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); color: #86efac; }
.alert.err { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); color: #fca5a5; }
.alert a { text-decoration: underline; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(247,148,30,.4); border-radius: 10px; color: var(--brand); }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-family: var(--font-head); }
.contact-list > li > div { min-width: 0; }
.contact-list a { color: var(--muted); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand); }

/* Mapa */
#mapa { height: 420px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); }

/* CTA final */
.cta-band {
  background: linear-gradient(135deg, rgba(247,148,30,.18), rgba(247,148,30,.04));
  border: 1px solid rgba(247,148,30,.3); border-radius: 20px; padding: 44px 28px; text-align: center;
}
.cta-band p { color: var(--muted); max-width: 620px; margin: 0 auto 24px; }
.cta-band .btn-row { justify-content: center; }

/* Prose (blog / legal) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #d4d4d8; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: var(--brand); text-decoration: underline; }
.article { border-bottom: 1px solid var(--line); padding-bottom: 40px; margin-bottom: 40px; }
.article .meta { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }

/* Mockup portal */
.portal {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; max-width: 420px; margin: 0 auto;
}
.portal .bar { font-family: var(--font-mono); font-size: .75rem; color: var(--dim); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.portal .kv { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.portal .kv span { color: var(--muted); }
.portal .kv b.ok { color: var(--ok); }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); font-size: .92rem; }
.site-footer a:hover { color: var(--brand); }
.site-footer .logo { height: 52px; width: auto; margin-bottom: 14px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 10px; }
.social svg { width: 18px; height: 18px; }
.legal-box { margin-top: 44px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; font-size: .88rem; color: var(--muted); }
.legal-box b { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; font-size: .8rem; color: var(--dim); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: scale(1.06); } }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 480px) {
  .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; }
  .site-footer { padding-bottom: 96px; } /* que el botón flotante no tape el pie */
  .pill { letter-spacing: .08em; }
}

/* Pantallas muy pequeñas: botones a todo el ancho para que el texto no se parta */
@media (max-width: 480px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .cta-band { padding: 36px 18px; }
  .btn { padding: 14px 16px; }
}

/* ---- Pulido (auditoría Impeccable) ---- */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.page-hero p, .section-head p, .hero-lead { max-width: 62ch; }
.section-head p { margin-left: auto; margin-right: auto; }

/* Título de tarjeta con el icono al lado, sin caja */
.card-title { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin: 0 0 10px; }
.card-title svg { width: 24px; height: 24px; flex: none; color: var(--brand); }

/* "Ideal para" sin caja dentro de la tarjeta: separador simple */
.plan-ideal { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 16px 0 0; }

/* Superficies del navegador con la paleta de la marca */
::selection { background: rgba(247, 148, 30, .35); color: #fff; }
input, textarea { caret-color: var(--brand); }
html { scrollbar-color: #3a3940 var(--bg); }
input::placeholder, textarea::placeholder { color: var(--dim); opacity: 1; }
a:not(.btn):not(.card):not(.client):not(.brand) { text-underline-offset: 3px; }
.prose { max-width: 60ch; }
.leaflet-control-attribution { padding: 2px 6px !important; }
.leaflet-control-attribution a { color: #00557a !important; }

/* ================= Movimiento ================= */

/* Aparición al hacer scroll (anim.js agrega .anim, .reveal y data-visible). Una sola vez. */
.anim .reveal { opacity: 0; translate: 0 16px; transition: opacity 550ms var(--ease-out), translate 550ms var(--ease-out); }
.anim .reveal[data-visible] { opacity: 1; translate: 0 0; }
@media print { .anim .reveal { opacity: 1; translate: none; } }

/* Presionar un botón: confirma el toque */
.btn:active { transform: scale(.97); }

/* Planes: se elevan al pasar el mouse (solo con mouse; en táctil el hover queda pegado) */
.plan { transition: transform 220ms var(--ease-out), border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { transform: translateY(-4px); }
  .plan:not(.featured):hover { border-color: rgba(247,148,30,.45); }
  .client { transition: border-color .2s ease, transform 220ms var(--ease-out); }
  a.client:hover { transform: translateY(-3px); border-color: rgba(247,148,30,.45); }
}

/* Menú desplegable de Servicios: aparece desde el botón que lo abre */
.dropdown-menu {
  display: block; opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top left;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}

/* Menú móvil */
.mobile-menu.open { animation: entrar-arriba 220ms var(--ease-out); }
@keyframes entrar-arriba { from { opacity: 0; transform: translateY(-6px); } }

/* Preguntas frecuentes: la respuesta entra suave al abrir */
.faq details[open] > .body { animation: entrar-abajo 220ms var(--ease-out); }
@keyframes entrar-abajo { from { opacity: 0; transform: translateY(-4px); } }

/* Cabecera: sombra cuando el contenido pasa por debajo */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.9); background: rgba(10, 10, 10, .94); }

/* Fibra óptica: pulsos de luz que recorren líneas finas en la cabecera de cada página */
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; }
.fibra { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fibra i {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06) 15%, rgba(255,255,255,.06) 85%, transparent);
}
.fibra i::after {
  content: ""; position: absolute; left: 0; top: -1px; width: 22%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(247,148,30,.85) 70%, #ffd3a0);
  box-shadow: 0 0 10px rgba(247,148,30,.55);
  transform: translateX(-100%);
  animation: luz 6s linear infinite;
}
.fibra i:nth-child(1) { top: 16%; } .fibra i:nth-child(1)::after { animation-duration: 6.5s; animation-delay: -1.2s; }
.fibra i:nth-child(2) { top: 38%; opacity: .7; } .fibra i:nth-child(2)::after { animation-duration: 8.5s; animation-delay: -5s; animation-direction: reverse; }
.fibra i:nth-child(3) { top: 61%; } .fibra i:nth-child(3)::after { animation-duration: 7.2s; animation-delay: -3.4s; }
.fibra i:nth-child(4) { top: 79%; opacity: .6; } .fibra i:nth-child(4)::after { animation-duration: 9.5s; animation-delay: -7s; animation-direction: reverse; }
.fibra i:nth-child(5) { top: 92%; opacity: .5; } .fibra i:nth-child(5)::after { animation-duration: 7.8s; animation-delay: -2.2s; }
.page-hero .fibra { opacity: .55; }
@keyframes luz { to { transform: translateX(460%); } }

/* Estado "Operativo": punto con señal que se expande */
.tag.live::before {
  content: ""; display: inline-block; vertical-align: middle; margin: -2px 8px 0 0;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: senal 2.2s var(--ease-out) infinite;
}
@keyframes senal { to { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }

/* WhatsApp flotante: entra después de cargar y llama la atención dos veces, nada más */
.wa-float { animation: entrar-flotante 400ms var(--ease-out) 600ms backwards; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  opacity: 0; animation: ping 1.6s var(--ease-out) 4s 2;
}
@keyframes entrar-flotante { from { opacity: 0; transform: translateY(10px) scale(.92); } }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }

/* Movimiento reducido: menos y más suave, no cero. Se quita el desplazamiento y lo decorativo. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fibra, .wa-float::after { display: none; }
  .tag.live::before, .wa-float, .mobile-menu.open, .faq details[open] > .body { animation: none; }
  .anim .reveal { translate: none; transition: opacity 250ms ease; }
  .btn:active, .plan:hover, a.card:hover, a.client:hover { transform: none; }
}
