/* =========================================================
   SSHINOBI · estilos
   Paleta: rojo / negro / blanco · Mobile-first · Modo oscuro
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --bg-card: #161616;
  --border: #242424;
  --text: #f5f5f5;
  --muted: #a1a1a1;
  --red: #e11d2e;
  --red-hover: #ff2a3d;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --maxw: 980px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.accent { color: var(--red); }

/* ---------- NAV ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--white);
  text-decoration: none;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all .2s;
}
.nav-link:hover { color: var(--text); border-color: var(--red); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, rgba(225, 29, 46, 0.18), transparent 55%),
    radial-gradient(circle at 90% 30%, rgba(225, 29, 46, 0.08), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 20px 64px;
  text-align: left;
  animation: fadeUp .8s ease both;
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(225, 29, 46, 0.1);
  border: 1px solid rgba(225, 29, 46, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 8vw, 56px);
  font-weight: 700;
  margin-bottom: 16px;
}
.lead {
  color: var(--muted);
  font-size: clamp(15px, 4vw, 18px);
  margin-bottom: 26px;
  max-width: 560px;
}

.mini {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.mini li {
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 10px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  min-height: 50px;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(225, 29, 46, 0.35);
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  margin-left: 8px;
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn.big { font-size: 18px; padding: 16px 28px; }

/* ---------- SECTIONS ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 20px;
}
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 6vw, 40px); }
.section-head p { color: var(--muted); margin-top: 6px; }

.cat {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 36px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}

/* ---------- CARDS ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 29, 46, 0.5);
  box-shadow: var(--shadow);
}
.card:hover img {
  transform: scale(1.08);
}
.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
  transition: transform 0.3s ease;
}
.card-body { padding: 16px 18px 20px; }
.card h4 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.price { color: var(--white); font-weight: 700; font-size: 15px; }

/* ---------- CUSTOM ---------- */
.custom {
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.12), transparent 70%), var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 20px;
}
.custom-inner { max-width: 720px; }
.custom h2 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 12px; }
.custom p { color: var(--muted); margin-bottom: 22px; font-size: 16px; }

/* ---------- CONTACT ---------- */
.contact { text-align: center; padding-top: 30px; }
.contact h2 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 8px; }
.contact p { color: var(--muted); margin-bottom: 24px; }

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  padding: 30px 20px 100px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.footer .muted { color: var(--muted); margin-top: 4px; font-size: 13px; }

/* ---------- FAB WhatsApp ---------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(225, 29, 46, 0.45);
  z-index: 50;
  transition: transform .2s, background .2s;
  animation: pop .5s ease both .4s;
}
.fab:hover { background: var(--red-hover); transform: scale(1.06); }

/* ---------- ANIMACIONES ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- DESKTOP ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { padding: 60px 20px 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
