:root {
  --bg: #0d0d0f;
  --fg: #ffffff;
  --muted: #b6b8be;
  --card-bg: rgba(255,255,255,.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 800px at 70% 10%, #17181b, var(--bg));
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

/* Header global con logo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0));
  backdrop-filter: blur(6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--fg);
}

.brand img {
  height: clamp(32px, 6vmin, 48px);
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.45));
}

.brand .title {
  font-weight: 800;
  letter-spacing: .02em;
}

.navlinks a {
  color: var(--fg);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: var(--card-bg);
}

/* Botón Inicio más visible en Vectores */
.vectors-page .navlinks a {
  background: #2563eb; /* azul vivo */
  color: #ffffff;
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .35);
}
.vectors-page .navlinks a:hover { filter: brightness(1.05); }

.section { padding: 0 clamp(16px, 4vw, 48px) 32px; }
.section h2 { margin: 0 0 12px; font-size: clamp(18px, 3.2vmin, 28px); }

.gallery {
  padding: 0 clamp(16px, 4vw, 48px) 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

figure { margin: 0; }
figure img, figure video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.06);
  background: #111217;
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.cards {
  padding: 0 clamp(16px, 4vw, 48px) 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  text-decoration: none;
  color: var(--fg);
  background: var(--card-bg);
  border-radius: 16px;
  min-height: 140px;
  border: 1px solid rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow:
    0 14px 30px rgba(0,0,0,.45),
    inset 0 0 0 8px #fff,
    0 0 0 3px #000;
}

.card-body {
  font-weight: 700;
  letter-spacing: .02em;
}

.empty {
  padding: 0 clamp(16px, 4vw, 48px);
}

.empty p {
  margin: 24px 0 48px;
  color: var(--muted);
}

/* Hero comercial en páginas de servicio */
.service-hero {
  padding: 0 clamp(16px, 4vw, 48px) 24px;
}

.service-hero h2 {
  margin: 8px 0 8px;
  font-size: clamp(22px, 4vmin, 34px);
}

.service-hero .lede {
  color: var(--muted);
  max-width: 72ch;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
}

.pill-list li {
  list-style: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,.08);
}

/* Estilo tipo cómic para Hosting */
.hosting-page { position: relative; overflow-x: hidden; }

.hosting-page::before,
.hosting-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  opacity: .12;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.35));
}

/* Figura izquierda (Personajes) */
.hosting-page::before {
  top: 6vh;
  left: -8vw;
  width: min(44vw, 640px);
  height: min(44vw, 640px);
  background: url('./Personajes/Corre.gif') center/contain no-repeat;
  transform: rotate(-6deg);
}

/* Figura derecha (Personajes) */
.hosting-page::after {
  bottom: -6vh;
  right: -10vw;
  width: min(46vw, 720px);
  height: min(46vw, 720px);
  background: url('./Personajes/Tienda.gif') center/contain no-repeat;
  transform: rotate(8deg);
}

.hosting-page .service-hero { text-align: center; }
.hosting-page .pill-list { justify-content: center; }

.hosting-page .cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: center;
  max-width: 980px;
  margin: 0 auto 48px;
  z-index: 1;
  position: relative;
}

.hosting-page .empty { text-align: center; max-width: 840px; margin: 0 auto; }

.hosting-page .service-hero h2 {
  font-size: clamp(28px, 5vmin, 44px);
  text-shadow: 0 3px 0 #000, 0 12px 30px rgba(0,0,0,.45);
}
.hosting-page .service-hero .lede { font-size: 1.05rem; text-align: center; margin-left: auto; margin-right: auto; }

.hosting-page .card {
  transform: rotate(-2deg);
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}
.hosting-page .card:nth-child(2) { transform: rotate(1.5deg) scale(1.04); }
.hosting-page .card:nth-child(3) { transform: rotate(-1deg); }

.hosting-page .card:hover {
  transform: translateY(-4px) scale(1.03) rotate(0deg);
  box-shadow: 0 22px 60px rgba(0,0,0,.6), inset 0 0 0 8px #fff, 0 0 0 3px #000;
  filter: brightness(1.05);
}

.hosting-page .card .ribbon {
  position: absolute;
  top: 10px;
  right: -12px;
  background: #f59e0b;
  color: #0b1612;
  font-weight: 900;
  padding: 6px 12px;
  transform: rotate(12deg);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
}

.hosting-page .price {
  font-size: 32px !important;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  background: #111217;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.06);
}

.hosting-page .features li::marker { content: '✓ '; color: #10b981; }

.hosting-page .buy-btn {
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid #000;
  background: #ff3b30;
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 0 #000, 0 18px 40px rgba(0,0,0,.45);
  text-transform: uppercase;
}
.hosting-page .buy-btn:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 12px 0 #000, 0 22px 60px rgba(0,0,0,.55); }
.hosting-page .buy-btn:active { transform: translateY(0); box-shadow: 0 8px 0 #000; }


