/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --rojo:     #CC0000;
  --rojo2:    #990000;
  --amarillo: #FFD700;
  --negro:    #0a0a0a;
  --gris1:    #111111;
  --gris2:    #1a1a1a;
  --gris3:    #2a2a2a;
  --blanco:   #ffffff;
  --texto:    rgba(255,255,255,0.85);
  --muted:    rgba(255,255,255,0.4);
  --trans:    .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--negro);
  color: var(--texto);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== FONDO ANIMADO ===== */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(204,0,0,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(153,0,0,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255,215,0,.04) 0%, transparent 60%);
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 30s linear infinite;
}
@keyframes gridShift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* ===== WRAPPER ===== */
.wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HERO ===== */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
}

/* Eyebrow badge */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,.1);
  border: 1px solid rgba(255,215,0,.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeDown .8s ease forwards;
}
.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amarillo);
  animation: pulse 2s ease infinite;
}

/* Logo */
.hero__logo-wrap {
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeDown .8s .1s ease forwards;
}
.hero__logo-wrap img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 0 30px rgba(204,0,0,.5));
}
.hero__logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: .08em;
  color: var(--blanco);
  line-height: 1;
  display: none;
}
.hero__logo-text span { color: var(--rojo); }

/* Título */
.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 16vw, 11rem);
  line-height: .88;
  letter-spacing: .02em;
  color: var(--blanco);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeDown .8s .2s ease forwards;
}
.hero__title em {
  font-style: normal;
  color: var(--rojo);
  display: block;
  text-shadow: 0 0 80px rgba(204,0,0,.45);
}

/* Subtítulo */
.hero__subtitle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeDown .8s .3s ease forwards;
}

/* Divisor */
.hero__divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--rojo), var(--amarillo));
  border-radius: 2px;
  margin: 0 auto 36px;
  opacity: 0;
  animation: fadeDown .8s .35s ease forwards;
}

/* Mensaje */
.hero__message {
  max-width: 540px;
  font-size: clamp(.9rem, 2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--texto);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeDown .8s .4s ease forwards;
}
.hero__message strong {
  color: var(--amarillo);
  font-weight: 600;
}

/* ===== CATEGORÍAS ===== */
.categorias {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeDown .8s .5s ease forwards;
}
.cat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  transition: all var(--trans);
  cursor: default;
  user-select: none;
}
.cat-chip:hover {
  background: rgba(204,0,0,.12);
  border-color: rgba(204,0,0,.35);
  transform: translateY(-4px);
}
.cat-chip__emoji { font-size: 1.7rem; line-height: 1; }
.cat-chip__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== REDES ===== */
.redes {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeDown .8s .6s ease forwards;
}
.red-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--texto);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all var(--trans);
  white-space: nowrap;
}
.red-btn:hover { transform: translateY(-3px); }
.red-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.red-btn--ig:hover { background:rgba(228,64,95,.15);  border-color:rgba(228,64,95,.4);  color:#e4405f; }
.red-btn--fb:hover { background:rgba(24,119,242,.15); border-color:rgba(24,119,242,.4); color:#1877f2; }
.red-btn--wa:hover { background:rgba(37,211,102,.15); border-color:rgba(37,211,102,.4); color:#25d366; }

/* ===== STRIP ===== */
.strip {
  background: linear-gradient(90deg, var(--rojo2), var(--rojo), var(--amarillo), var(--rojo), var(--rojo2));
  background-size: 200% 100%;
  height: 3px;
  animation: stripMove 4s linear infinite;
  flex-shrink: 0;
}
@keyframes stripMove {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ===== SUCURSALES ===== */
.sucursales {
  background: var(--gris1);
  padding: 70px 24px;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}
.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: .05em;
  text-align: center;
  color: var(--blanco);
  margin-bottom: 6px;
}
.sec-title span { color: var(--rojo); }
.sec-sub {
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 48px;
  line-height: 1.6;
}

/* Grid sucursales */
.suc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.suc-card {
  background: var(--gris2);
  border: 1px solid var(--gris3);
  border-top: 3px solid var(--rojo);
  border-radius: 16px;
  padding: 28px;
  transition: transform var(--trans), border-top-color var(--trans);
}
.suc-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--amarillo);
}
.suc-card__nombre {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amarillo);
  margin-bottom: 18px;
}
.suc-card__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .88rem;
  color: var(--texto);
  line-height: 1.5;
}
.suc-card__item .icon { flex-shrink: 0; margin-top: 1px; }
.suc-card__item a {
  color: var(--texto);
  text-decoration: none;
  transition: color var(--trans);
}
.suc-card__item a:hover { color: var(--amarillo); }

/* Mapa */
.mapa-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gris3);
  height: 320px;
}
.mapa-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--negro);
  border-top: 1px solid var(--gris3);
  padding: 28px 24px;
  text-align: center;
}
.footer p {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .04em;
}
.footer strong { color: var(--rojo); }

/* ===== ANIMACIONES ===== */
@keyframes fadeDown {
  from { opacity:0; transform:translateY(-22px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.5); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 50px; }
  .categorias { gap: 10px; }
  .cat-chip { padding: 11px 13px; }
  .cat-chip__emoji { font-size: 1.5rem; }
  .redes { gap: 10px; }
  .red-btn { padding: 10px 16px; font-size: .78rem; }
  .sucursales { padding: 50px 20px; }
  .mapa-wrap { height: 260px; }
}
@media (max-width: 480px) {
  .hero__logo-wrap img { height: 60px; }
  .categorias { gap: 8px; }
  .cat-chip { padding: 10px 11px; }
  .cat-chip__label { font-size: .6rem; }
  .redes { flex-direction: column; align-items: center; }
  .red-btn { width: 100%; max-width: 260px; justify-content: center; }
  .suc-grid { grid-template-columns: 1fr; }
}