/* ═══════════════════════════════════════
   MACHETES — STYLES v3
   Paleta: #E8181A · #0A0A0A · #F5F0EB
   Fonts: Bebas Neue + Barlow Condensed + Barlow
   Ancho consistente: --w en TODAS las secciones
═══════════════════════════════════════ */

:root {
  --red:        #E8181A;
  --red-dark:   #B80F11;
  --red-glow:   rgba(232, 24, 26, 0.28);
  --black:      #0A0A0A;
  --black-alt:  #111111;
  --black-card: #141414;
  --white:      #F5F0EB;
  --muted:      rgba(245, 240, 235, 0.52);
  --faint:      rgba(245, 240, 235, 0.07);

  --ff-display: 'Bebas Neue', sans-serif;
  --ff-cond:    'Barlow Condensed', sans-serif;
  --ff-body:    'Barlow', sans-serif;

  /* Un solo ancho máximo para TODO el sitio */
  --w:  1100px;
  --px: 40px;   /* padding horizontal en desktop */
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  overflow-x: hidden;
  line-height: 1.5;
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; }
strong { font-weight: 800; }

/* ── WRAP — idéntico en todas las secciones ── */
.wrap {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ── UTILIDADES ── */
.red { color: var(--red); }

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }

/* ── EYEBROW — sin línea guión ── */
.eyebrow {
  display: block;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

/* ── BUTTON ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-cond);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 17px 34px;
  border-radius: 3px;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 28px var(--red-glow);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px var(--red-glow);
}
.btn:active { transform: translateY(0); }
.btn--full {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 20px 34px;
}


/* ══════════════════════════════════════
   HERO  — sin header separado, logo flotante
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--black);
  overflow: hidden;
  padding: 100px 0 80px;
}

/* Glow rojo sutil arriba */
.hero__glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 75%;
  background: radial-gradient(ellipse at center top,
    rgba(232,24,26,0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Logo flotante — pequeño, transparente (opacity baja), sin fondo */
.hero__logo {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0.45;
  transition: opacity 0.2s;
}
.hero__logo:hover { opacity: 0.7; }
.hero__logo img  { height: 32px; width: auto; }
.hero__logo span {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--white);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Headline en 2 líneas */
.hero__h1 {
  font-family: var(--ff-display);
  font-size: clamp(3.4rem, 8.5vw, 7.5rem);
  line-height: 0.93;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero__h1 .red { display: block; }

.hero__body {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 40px;
}


/* ══════════════════════════════════════
   PRODUCTO — todo centrado, sin columnas
══════════════════════════════════════ */
.producto {
  padding: 110px 0;
  background: var(--black-alt);
  text-align: center;
}

.producto__h2 {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.producto__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 56px;
}

/* Guisos: 3 columnas centradas */
.guisos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 60px;
  text-align: left;
}
.guiso {
  background: var(--black-card);
  border: 1px solid var(--faint);
  border-radius: 4px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--ff-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}
.guiso:hover {
  border-color: rgba(232,24,26,0.35);
  transform: translateY(-3px);
}
.guiso--mas {
  color: var(--red);
  border-color: rgba(232,24,26,0.18);
  background: rgba(232,24,26,0.05);
}
.guiso__plus {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  line-height: 1;
}

/* Banner centrado */
.banner {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  font-family: var(--ff-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.banner__line {
  flex: 1;
  height: 1px;
  background: rgba(245,240,235,0.1);
}

/* Stats bar */
.stats {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--faint);
  border-radius: 4px;
  overflow: hidden;
}
.stat {
  flex: 1;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat__n {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.02em;
}
.stat__l {
  font-family: var(--ff-cond);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat__sep {
  width: 1px;
  background: var(--faint);
  flex-shrink: 0;
}


/* ══════════════════════════════════════
   MACHETES FAN — centrado, sin lista de bullets
══════════════════════════════════════ */
.fan {
  padding: 120px 0;
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fan__bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-display);
  font-size: clamp(10rem, 28vw, 22rem);
  line-height: 1;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,24,26,0.05);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
/* Caja interior centrada con max-width propio para el form */
.fan__inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}
.fan__h2 {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.fan__body {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Form */
.fan-form {
  background: var(--black-card);
  border: 1px solid var(--faint);
  border-radius: 6px;
  padding: 36px 32px;
  text-align: left;
}
.fan-form__fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--ff-cond);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input {
  width: 100%;
  background: rgba(245,240,235,0.04);
  border: 1px solid rgba(245,240,235,0.1);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: max(16px, 1rem); /* evita zoom en iOS */
  font-weight: 500;
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: rgba(245,240,235,0.22); }
.field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,24,26,0.1);
}
.fan-form__fine {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(245,240,235,0.28);
  text-align: center;
  line-height: 1.5;
}
.fan-form__success {
  margin-top: 20px;
  text-align: center;
  padding: 22px;
  background: rgba(232,24,26,0.07);
  border: 1px solid rgba(232,24,26,0.2);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-cond);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}
.fan-form__success[hidden] { display: none; }


/* ══════════════════════════════════════
   UBICACIONES
══════════════════════════════════════ */
.ubicaciones {
  padding: 110px 0;
  background: var(--black-alt);
  text-align: center;
}
.ubicaciones__h2 {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.ubicaciones__sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 56px;
}

.locs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 36px;
  text-align: left;
}
.loc {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: var(--black-card);
  border: 1px solid var(--faint);
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
}
.loc:hover {
  border-color: rgba(232,24,26,0.28);
  background: rgba(232,24,26,0.03);
}
.loc__n {
  font-family: var(--ff-display);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(232,24,26,0.2);
  min-width: 56px;
}
.loc__info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.loc__addr {
  font-family: var(--ff-cond);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.loc__phone {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.loc__map {
  font-family: var(--ff-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(232,24,26,0.28);
  padding: 9px 16px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.loc__map:hover { background: var(--red); color: var(--white); }

.horario {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-cond);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 15px 26px;
  border: 1px dashed rgba(245,240,235,0.1);
  border-radius: 3px;
  margin-bottom: 48px;
}

.ubicaciones__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}
.ubicaciones__alt {
  font-size: 0.93rem;
  font-style: italic;
  color: var(--muted);
}

/* Tagline final — CENTRADO */
.tagline-cierre {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  color: rgba(245,240,235,0.15);
  text-transform: lowercase;
  text-align: center;
  border-top: 1px solid var(--faint);
  padding-top: 52px;
}


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: #050505;
  border-top: 1px solid var(--faint);
  padding: 40px 0;
  text-align: center;
}
.footer__copy {
  font-family: var(--ff-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,235,0.32);
  margin-bottom: 12px;
}
.footer__legal {
  font-size: 0.7rem;
  color: rgba(245,240,235,0.17);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}


/* ══════════════════════════════════════
   RESPONSIVE — TABLET ≤ 860px
══════════════════════════════════════ */
@media (max-width: 860px) {
  :root { --px: 28px; }

  .guisos { grid-template-columns: repeat(2, 1fr); }

  .stats { flex-direction: column; }
  .stat__sep { width: 60%; height: 1px; align-self: center; }

  .loc { gap: 18px; padding: 20px 22px; }
}


/* ══════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 560px
══════════════════════════════════════ */
@media (max-width: 560px) {
  :root { --px: 18px; }

  /* Hero */
  .hero { padding: 80px 0 72px; min-height: auto; }
  .hero__logo { top: 20px; }
  .hero__logo img { height: 28px; }
  .hero__logo span { font-size: 1.1rem; }
  .hero__h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .hero__body { font-size: 0.93rem; }

  /* Producto */
  .producto { padding: 80px 0; }
  .producto__h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .guisos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .guiso { padding: 16px 12px; font-size: 0.88rem; }
  .banner { font-size: 0.76rem; gap: 14px; }
  .stats { flex-direction: column; }
  .stat { padding: 26px 16px; }

  /* Fan */
  .fan { padding: 88px 0; }
  .fan__h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .fan-form { padding: 24px 18px; }

  /* Ubicaciones */
  .ubicaciones { padding: 80px 0; }
  .ubicaciones__h2 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .loc {
    flex-wrap: wrap;
    padding: 18px;
    gap: 12px;
  }
  .loc__n { font-size: 2rem; min-width: 44px; }
  .loc__map { width: 100%; text-align: center; padding: 10px; }
  .horario { font-size: 0.8rem; padding: 13px 16px; }
  .ubicaciones__cta .btn { width: 100%; justify-content: center; }
  .tagline-cierre { font-size: clamp(1.4rem, 7vw, 2rem); }

  /* Button */
  .btn { font-size: 0.9rem; padding: 15px 24px; }
}
