/* ================== STREAMIA 2025 Styles ================== */

:root {
  --bg: #0a1021;
  --bg-2: #0f1837;
  --card: #101935;
  --text: #eaf1ff;
  --muted: #a9b6d9;
  --brand: #5a84ff;
  --brand-2: #8f5eff;
  --ok: #20d3a9;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, #0b1226, #141a36);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
.container { width: min(1100px, 92%); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,16,33,.6);
  backdrop-filter: blur(8px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav {
  display: flex; align-items: center; gap: 18px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 36px; width: auto; }
.brand-text { font-weight: 800; letter-spacing: .6px; }
.brand-year { color: var(--brand-2); }
.navlinks {
  margin-left: auto; display: flex; gap: 18px;
  list-style: none; padding: 0;
}
.navlinks a {
  padding: 10px 12px; border-radius: 10px;
}
.navlinks a:hover {
  background: rgba(255,255,255,.06);
}

/* Botones */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.btn.small { padding: 8px 12px; border-radius: 10px; }
.btn.outline {
  background: transparent;
  border: 1px solid #3d4b7c;
}
.btn:hover { filter: brightness(1.1); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px,7vw,112px) 0;
  background:
    radial-gradient(900px 520px at 80% -10%, #6a5cff33 0%, transparent 60%),
    radial-gradient(800px 500px at 10% -10%, #2cd5b733 0%, transparent 60%),
    linear-gradient(135deg,#0b1630,#1a1f45);
}
.hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  opacity: .28;
  mix-blend: screen;
  background: url("img/hero-telecom.png") center/cover no-repeat;
  filter: contrast(110%) saturate(110%);
}
.hero-grid {
  display: grid; gap: 28px; align-items: center;
  grid-template-columns: 1.1fr .9fr;
}
@media (max-width:900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.kicker {
  color: var(--ok);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin: 0 0 6px;
}
h1 {
  font-size: clamp(34px,6vw,56px);
  line-height: 1.03;
  margin: 8px 0 8px;
}
.sub {
  color: var(--muted);
  font-size: clamp(15px,2.4vw,18px);
  max-width: 60ch;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px;
}

/* Tarjeta de estado */
.card {
  background: linear-gradient(180deg,#0e1733,#0d1430);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.status-list {
  list-style: none; padding: 0; margin: 6px 0 12px;
  display: grid; gap: 8px;
}
.dot {
  width: 10px; height: 10px; border-radius: 99px;
  display: inline-block; margin-right: 8px;
  background: #888;
}
.dot.ok { background: var(--ok); }
.pill {
  display: inline-flex; gap: 8px; align-items: center;
  background: #0f1837;
  border: 1px solid rgba(255,255,255,.08);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .85rem;
}
.stack { display: flex; gap: 8px; flex-wrap: wrap; }

/* Nosotros */
.nosotros h2 {
  font-size: clamp(28px,4vw,36px);
  margin: 0 0 10px;
}
.nosotros p { color: var(--muted); }

/* Servicios */
.servicios { padding: 64px 0; }
.servicios .container > h2 {
  font-size: clamp(28px,4vw,36px);
  margin: 0 0 10px;
}
.servicios-grid {
  display: grid; gap: 18px; grid-template-columns: repeat(3,1fr);
}
@media (max-width:900px) {
  .servicios-grid { grid-template-columns: 1fr; }
}
.svc img {
  width: 100%; height: 180px;
  object-fit: contain; object-position: center;
  margin-bottom: 10px;
}
.svc h3 { margin: 6px 0; }
.svc p { color: var(--muted); }

/* Clientes */
.clientes {
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.clientes .container > h2 {
  font-size: clamp(28px,4vw,36px);
  margin: 0 0 10px;
}
.clientes-logos {
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
}
.clientes-logos img {
  filter: grayscale(1) contrast(1.1);
  opacity: .9;
}

/* Contacto */
.contacto {
  padding: 64px 0;
  background: linear-gradient(135deg,#111a33,#0e1430);
  border-top: 1px solid rgba(255,255,255,.06);
}
.contacto h2 {
  font-size: clamp(28px,4vw,36px);
  margin: 0 0 10px;
}
.grid-form {
  display: grid; gap: 12px; grid-template-columns: 1fr 1fr;
}
.grid-form textarea { grid-column: 1 / -1; }
@media (max-width:800px) {
  .grid-form { grid-template-columns: 1fr; }
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #2a345a;
  background: #0f1837;
  color: var(--text);
}
.checkbox {
  display: flex; gap: 8px; align-items: center;
  color: var(--muted);
  margin: 10px 0;
}
.contact-form .btn { margin-right: 8px; }

/* Footer */
.site-footer {
  padding: 28px 0;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
}
