/* Página web de COMUNIK@TE SAS: colores del logo (azul, cian y verde) sobre fondo claro */
:root {
  --navy: #0d2b55;
  --text: #1d3354;
  --muted: #5b6b82;
  --bg: #f5f8fc;
  --card: #ffffff;
  --line: #e2e9f2;
  --blue: #1f6fff;
  --cyan: #12bfe8;
  --green: #4cc94a;
  --grad: linear-gradient(100deg, #1f6fff 0%, #12bfe8 55%, #4cc94a 100%);
  --soft: #eaf4ff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(13, 43, 85, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(31, 111, 255, .3); }
.btn-light { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-green { background: var(--green); color: #fff; }
.btn-small { padding: 8px 16px; font-size: .92rem; }

/* Barra superior y menú */
.topbar { background: var(--navy); color: #cfe0f5; font-size: .85rem; }
.topbar .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; padding: 6px 0; }
.topbar a { color: #fff; text-decoration: none; }
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.wordmark { font-weight: 800; font-style: italic; font-size: 1.55rem; letter-spacing: -.01em; color: var(--navy); line-height: 1; }
.wordmark b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
nav.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
nav.menu > a, nav.menu .drop > button { white-space: nowrap; color: var(--navy); text-decoration: none; font-weight: 500; padding: 10px 10px; border-radius: 10px; background: none; border: 0; font: inherit; font-weight: 500; cursor: pointer; }
nav.menu > a:hover, nav.menu .drop > button:hover { background: var(--soft); }
.drop { position: relative; }
.drop .panel { position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: none; }
.drop:hover .panel, .drop.open .panel { display: block; }
.drop .panel a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .95rem; }
.drop .panel a:hover { background: var(--soft); color: var(--navy); }
.menu-toggle { display: none; margin-left: auto; background: var(--soft); border: 0; border-radius: 10px; padding: 10px 12px; font-size: 1.3rem; color: var(--navy); cursor: pointer; }
header .pay { margin-left: 8px; }
@media (max-width: 1220px) {
  .menu-toggle { display: block; }
  header .pay { display: none; }
  nav.menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 80px); overflow: auto; }
  nav.menu.open { display: flex; }
  .drop .panel { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .drop.open .panel { display: block; }
  .drop:hover .panel { display: none; }
  .drop.open:hover .panel { display: block; }
}

/* Portada */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(18, 191, 232, .18), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(76, 201, 74, .15), transparent 60%), #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 64px 0 72px; }
.hero .tag { display: inline-block; background: var(--soft); color: var(--blue); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .art { justify-self: center; width: min(420px, 100%); filter: drop-shadow(0 20px 40px rgba(31, 111, 255, .18)); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding: 40px 0 48px; } .hero .art { width: 150px; order: -1; justify-self: start; } }

/* Secciones */
section.block { padding: 72px 0; }
section.block.alt { background: #fff; }
.head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.head .kicker { color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plans { display: flex; flex-wrap: wrap; justify-content: center; }
.plans .plan { flex: 1 1 200px; max-width: 270px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--soft); color: var(--blue); margin-bottom: 14px; }
.icon svg { width: 28px; height: 28px; }
.feature { text-align: center; }
.feature .icon { margin-inline: auto; }

/* Planes */
.plan { position: relative; display: flex; flex-direction: column; text-align: center; padding: 26px 20px; }
.plan .speed { font-size: 3rem; font-weight: 700; line-height: 1; margin: 8px 0 2px; }
.plan .speed small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .up { color: var(--muted); font-size: .92rem; }
.plan .price { font-size: 1.7rem; font-weight: 700; color: var(--navy); margin: 18px 0 2px; }
.plan .price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; text-align: left; flex: 1; }
.plan li { padding: 5px 0 5px 26px; position: relative; font-size: .88rem; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.plan.best { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.note { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 18px; }

/* Servicios */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.service .pic { min-height: 260px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.service .pic svg { width: 120px; height: 120px; opacity: .95; }
.service .txt { padding: 30px; }
.service.rev .pic { order: 2; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } .service .pic { min-height: 160px; } .service.rev .pic { order: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { background: var(--soft); color: var(--navy); border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 500; }

/* Cobertura */
#mapa { height: 420px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 1; }
.places { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.places li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.places b { color: var(--navy); }

/* Atención */
.help a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.help a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(13, 43, 85, .12); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.pay-methods { white-space: pre-line; }

/* Pie */
footer.site { background: var(--navy); color: #c7d6ea; padding: 56px 0 24px; font-size: .93rem; }
footer.site h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
footer.site a { color: #c7d6ea; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer.site .cols { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 28px; }
footer.site .logo-white { background: #fff; border-radius: 14px; padding: 8px 16px 8px 10px; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; }
footer.site .logo-white img { height: 46px; }
footer.site .legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
footer.site .entes { display: flex; flex-wrap: wrap; gap: 8px; }
footer.site .entes a { border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: 4px 10px; }
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.site .cols { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.wa svg { width: 32px; height: 32px; fill: #fff; }

/* Páginas internas */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 42px 0 30px; }
.page-head .crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.page-head .crumbs a { color: var(--muted); }
.doc { padding: 40px 0 72px; }
.doc .layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.doc aside { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.doc aside a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-size: .92rem; }
.doc aside a:hover, .doc aside a.here { background: var(--soft); color: var(--navy); font-weight: 600; }
.doc article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.doc article h2 { font-size: 1.35rem; margin-top: 1.6em; }
.doc article h2:first-child { margin-top: 0; }
.doc article h3 { margin-top: 1.3em; }
.doc article li { margin-bottom: .4em; }
@media (max-width: 900px) { .doc .layout { grid-template-columns: minmax(0, 1fr); } .doc aside { position: static; } .doc article { padding: 22px; } }
.box { background: var(--soft); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.box.warn { background: #fff6e5; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
table.data th { color: var(--navy); background: var(--bg); font-weight: 600; }
table.data td.n, table.data th.n { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }

/* Formularios */
form.f { display: grid; gap: 14px; }
.f label { display: grid; gap: 6px; font-weight: 500; color: var(--navy); font-size: .95rem; }
.f input, .f select, .f textarea { font: inherit; padding: 11px 14px; border: 1px solid #cdd8e6; border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid rgba(31, 111, 255, .35); border-color: var(--blue); }
.f .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .f .two { grid-template-columns: 1fr; } }
.f .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.f .check input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.msg { border-radius: 12px; padding: 14px 16px; }
.msg.ok { background: #e8f8ec; color: #1b6b2a; }
.msg.err { background: #fdecec; color: #9b1c1c; }
.kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kinds label { border: 1px solid #cdd8e6; border-radius: 12px; padding: 10px; text-align: center; cursor: pointer; font-weight: 600; display: block; }
.kinds input { display: none; }
.kinds input:checked + span { color: var(--blue); }
.kinds label:has(input:checked) { border-color: var(--blue); background: var(--soft); }
.kinds small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
@media (max-width: 600px) { .kinds { grid-template-columns: 1fr 1fr; } }

/* Test de velocidad */
.speed-box { text-align: center; }
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.gauge { background: var(--bg); border-radius: 16px; padding: 22px 10px; }
.gauge .v { font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.gauge .u { color: var(--muted); font-size: .9rem; }
.gauge .l { font-weight: 600; color: var(--blue); margin-bottom: 6px; }
@media (max-width: 600px) { .gauges { grid-template-columns: 1fr; } .gauge .v { font-size: 2.2rem; } }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }
