:root {
  --red: #E07A1F;
  --red-dark: #BA6010;
  --red-dim: #6B3A0E;
  --red-glow: rgba(224,122,31,0.12);
  --bg: #0E0E0C;
  --bg2: #1A1814;
  --bg3: #221F1A;
  --line: rgba(255,255,255,0.06);
  --line2: rgba(255,255,255,0.11);
  --text: #EDE6D8;
  --text2: #C8C0AE;
  --text3: #A89F8C;
  --mono: 'Share Tech Mono', monospace;
  --cond: 'Barlow Condensed', sans-serif;
  --body: 'Barlow', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-weight: 300; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 999;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 112px;
  display: flex; align-items: center;
  padding: 0 48px;
  background: rgba(8,8,8,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-logo svg { height: 88px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none; margin-left: auto;
}
.nav-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  color: var(--text); text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 20px; height: 1px; background: var(--text2); margin: 5px 0; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  padding-top: 112px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
}
.hero-accent {
  position: absolute; top: 112px; left: 0; right: 0; height: 2px;
  background: var(--red);
  transform-origin: left;
  animation: slideIn 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes slideIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-inner {
  position: relative;
  padding: 80px 48px;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 3px;
  color: var(--text3); text-transform: uppercase; margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.5s ease forwards 0.4s;
}
.hero-tag::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--red); }

.hero-title {
  font-family: var(--cond); font-size: clamp(68px, 12vw, 148px);
  font-weight: 900; line-height: 0.88; letter-spacing: -1px;
  text-transform: uppercase; color: var(--text);
  opacity: 0; animation: fadeUp 0.6s ease forwards 0.55s;
}
.hero-title .outline { -webkit-text-stroke: 1.5px var(--red); color: transparent; }
.hero-title .dim { color: var(--text3); }

.hero-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-top: 48px; align-items: end;
  opacity: 0; animation: fadeUp 0.6s ease forwards 0.7s;
}
.hero-desc {
  font-size: 15px; line-height: 1.8; color: var(--text2); max-width: 400px;
  border-left: 2px solid var(--red-dim); padding-left: 20px;
}
.hero-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.btn-red {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff;
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 13px 24px; transition: background 0.2s, transform 0.15s;
}
.btn-red:hover { background: var(--red-dark); transform: translateX(2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line2); color: var(--text2);
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 12px 24px; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--text3); color: var(--text); }

.hero-stats {
  display: flex;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 72px;
  opacity: 0; animation: fadeUp 0.6s ease forwards 0.85s;
}
.stat { flex: 1; padding: 28px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-n { font-family: var(--cond); font-size: 46px; font-weight: 800; letter-spacing: -1px; color: var(--text); line-height: 1; }
.stat-n span { color: var(--red); }
.stat-l { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--text3); text-transform: uppercase; margin-top: 6px; }

/* ── STRIP ── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.strip-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.strip-item {
  padding: 32px 0; border-right: 1px solid var(--line);
  padding-right: 32px; padding-left: 32px;
}
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child { border-right: none; padding-right: 0; }
.strip-icon { width: 38px; height: 38px; color: var(--red); margin-bottom: 18px; }
.strip-title { font-weight: 500; font-size: 20px; margin-bottom: 8px; color: var(--text); }
.strip-desc { font-size: 17px; color: var(--text3); line-height: 1.55; }

/* ── SECTIONS ── */
.section { max-width: 1200px; margin: 0 auto; padding: 96px 48px; scroll-margin-top: 120px; }
.section-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 48px; }
.section-num { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: 2px; }
.section-title { font-family: var(--cond); font-size: clamp(30px, 5vw, 50px); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text); line-height: 1; }

/* ── CATEGORIES ── */
.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat-card {
  background: var(--bg); padding: 36px 32px;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.cat-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--red);
  transition: height 0.3s ease;
}
.cat-card:hover { background: var(--bg2); }
.cat-card:hover::before { height: 100%; }
.cat-num { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: 2px; margin-bottom: 20px; }
.cat-icon { width: 34px; height: 34px; color: var(--red); margin-bottom: 18px; }
.cat-name { font-family: var(--cond); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text); margin-bottom: 10px; }
.cat-desc { font-size: 13px; color: var(--text3); line-height: 1.6; }

/* ── HORARIOS ── */
.hor-status-wrap { margin-bottom: 24px; }
.hor-status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase;
}
.hor-status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hor-status.open { background: #0d1f1c; color: #5DCAA5; border: 1px solid #1A4038; }
.hor-status.open .hor-status-dot { background: #5DCAA5; animation: statusPulse 2s ease-in-out infinite; }
.hor-status.soon { background: #1F1810; color: #EFB670; border: 1px solid #3D2E18; }
.hor-status.soon .hor-status-dot { background: #EFB670; animation: statusPulse 2s ease-in-out infinite; }
.hor-status.closed { background: #1A1814; color: #A89F8C; border: 1px solid #2A2622; }
.hor-status.closed .hor-status-dot { background: #A89F8C; }
@keyframes statusPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hor-cell.today .hor-day { color: #E07A1F; }

.horarios-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 560px; }
.hor-cell { background: var(--bg2); padding: 36px 32px; }
.hor-day { font-family: var(--cond); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hor-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hor-row:last-child { border-bottom: none; }
.hor-label { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--text3); text-transform: uppercase; }
.hor-time { font-family: var(--mono); font-size: 13px; color: var(--red); letter-spacing: 1px; white-space: nowrap; }

/* ── CONTACTO ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-cell { background: var(--bg2); padding: 40px 36px; }
.contact-label { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: var(--text3); text-transform: uppercase; margin-bottom: 18px; }
.contact-val { font-family: var(--cond); font-size: 30px; font-weight: 700; letter-spacing: 1px; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.contact-sub { font-family: var(--mono); font-size: 13px; color: var(--text3); letter-spacing: 1px; margin-bottom: 22px; line-height: 1.8; }

.map-wrap {
  border: 1px solid var(--line); height: 380px; overflow: hidden;
  margin-top: 48px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
}
.footer-col { padding: 40px 0; border-right: 1px solid var(--line); padding-right: 40px; }
.footer-col:last-child { border-right: none; padding-right: 0; }
.footer-col + .footer-col { padding-left: 40px; }
.footer-col > svg { height: 72px; width: auto; margin-bottom: 16px; }
.footer-sub { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--text3); text-transform: uppercase; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--text3); text-transform: uppercase; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }
.footer-copy {
  border-top: 1px solid var(--line); padding: 20px 48px;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy p { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--text3); text-transform: uppercase; }

/* ── WHATSAPP FAB ── */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(37,211,102,0.6);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  animation: waPulse 2.4s ease-out infinite;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 12px rgba(37,211,102,0); }
.wa-fab svg { width: 32px; height: 32px; }
@keyframes waPulse {
  0% { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 112px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 24px 20px; gap: 20px; }
  .hamburger { display: block; }
  .hero-inner { padding: 60px 20px; }
  .hero-body { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { flex-wrap: wrap; }
  .stat { min-width: 50%; border-right: none; border-bottom: 1px solid var(--line); }
  .strip-inner { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .strip-item { border-right: none; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .section { padding: 64px 20px; }
  .cat-grid { grid-template-columns: 1fr; }
  .horarios-wrap { grid-template-columns: 1fr; max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col { border-right: none; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .footer-col + .footer-col { padding-left: 0; }
  .footer-col:last-child { border-bottom: none; }
  .footer-copy { padding: 16px 20px; flex-direction: column; gap: 6px; text-align: center; }
  .wa-fab { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-fab svg { width: 28px; height: 28px; }
}
