/* Variables de color y tipografía */
:root {
  --bg: #0b1e3a;          /* Azul oscuro */
  --bg-2: #0f2648;        /* Variante */
  --text: #ffffff;        /* Blanco */
  --muted: #c8d2e3;       /* Texto secundario */
  --accent: #23c55e;      /* Verde PCWAN */
  --primary: #1c4ed8;     /* Azul acción */
  --header-bg: #0f274c;
  --font-main: 'Inter', system-ui, sans-serif;
  --font-title: 'Playfair Display', serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
}

/* Links e imágenes */
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img.logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.brand .title { display: flex; flex-direction: column; line-height: 1.1; }
.brand .title .name { font-weight: 700; }
.brand .title .tag { font-size: 12px; color: var(--muted); }

/* Botón menú mobile */
.nav-toggle {
  background: none; border: 0; color: var(--text); cursor: pointer;
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.hamburger, .hamburger::before, .hamburger::after {
  content: ""; display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; position: relative;
}
.hamburger::before { position: absolute; top: -7px; }
.hamburger::after { position: absolute; top: 7px; }

/* Menú */
nav {
  position: fixed; inset: 56px 0 auto 0;
  background: var(--header-bg);
  transform: translateY(-120%);
  transition: transform .25s ease;
}
nav.open { transform: translateY(0); }
.nav-list { list-style: none; margin: 0; padding: 12px; }
.nav-list li { margin: 0; }
.nav-list a {
  display: block; padding: 12px; border-radius: 8px; color: var(--text);
}
.nav-list a:hover { background: rgba(255,255,255,0.08); }
.nav-cta {
  margin: 12px; padding: 12px; border-radius: 8px;
  background: var(--accent); color: #05250f; font-weight: 700; text-align: center;
}

/* Desktop */
@media(min-width:900px) {
  nav { position: static; transform: none; background: transparent; }
  .nav-list { display: flex; gap: 6px; padding: 0; }
  .nav-list a { padding: 10px 12px; }
  .nav-cta { margin: 0; margin-left: 8px; display: inline-block; }
  .nav-toggle { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  padding: 48px 0 64px;
}
.hero-grid { display: grid; gap: 24px; align-items: center; }
@media(min-width:900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}
.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.12;
  margin: 0 0 14px;
}
.hero p { color: var(--muted); margin: 0 0 22px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px; border-radius: 10px; font-weight: 700;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-pcwan { background: var(--accent); color: #06270f; }
.btn-outline { border: 1px solid rgba(255,255,255,0.22); }

/* Hero media */
.hero-media {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  min-height: 240px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.hero-media img { border-radius: 12px; }

/* Footer */
footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  padding: 24px 0;
  margin-top: 32px;
  text-align: center;
}

/* Productos */
.product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin: 32px 0;
}
.product-card {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.product-card h2 { margin: 12px 0 8px; }
.product-card p { color: var(--muted); font-size: 14px; }