/* ============ ASADO BLANCH — negro / fuego / blanco ============ */
:root {
  --black: #0a0908;
  --coal: #141110;
  --panel: #171312;
  --line: rgba(255, 255, 255, 0.09);
  --white: #f7f2ea;
  --muted: #b8aca0;
  --fire: #ff5a00;
  --fire-2: #ff2e00;
  --amber: #ffb800;
  --fire-grad: linear-gradient(135deg, #ffb800 0%, #ff5a00 45%, #ff2e00 100%);
  --font-display: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--fire); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0908; }
::-webkit-scrollbar-thumb { background: #3a2c22; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--fire); }

img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

.kicker {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--fire); margin-bottom: 18px;
}
.kicker.center, .center { text-align: center; }
.kicker.light { color: var(--amber); }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.02; letter-spacing: 0.01em;
  text-transform: uppercase; margin-bottom: 22px;
  font-weight: 400;
}
.h2 em, .hero-title em { font-style: normal; background: var(--fire-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2.xl { font-size: clamp(3rem, 8vw, 6.5rem); }
.section-sub { color: var(--muted); max-width: 620px; margin: 0 auto 60px; font-size: 1.06rem; }
.section-sub.light { color: rgba(247, 242, 234, 0.72); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em;
  padding: 16px 30px; border-radius: 100px; text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-fire { background: var(--fire-grad); color: #fff; box-shadow: 0 8px 32px rgba(255, 90, 0, 0.35); }
.btn-fire:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(255, 90, 0, 0.5); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.28); color: var(--white); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(6px); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--fire); background: rgba(255, 90, 0, 0.1); }
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-lg { padding: 20px 42px; font-size: 1.1rem; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 2000; background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; align-items: center; gap: 14px; }
.preloader-flame { width: 34px; height: 34px; animation: flick 0.9s ease-in-out infinite alternate; }
.preloader-word { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.12em; }
@keyframes flick { from { transform: scale(1) rotate(-3deg); } to { transform: scale(1.18) rotate(3deg); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px min(4vw, 48px);
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10, 9, 8, 0.82); backdrop-filter: blur(14px); padding: 13px min(4vw, 48px); border-color: var(--line); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.08em; }
.nav-logo img { height: 44px; width: auto; border-radius: 8px; display: block; }
.nav-flame { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { text-decoration: none; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--fire-grad); transition: width 0.35s var(--ease); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { width: 26px; height: 2px; background: var(--white); transition: 0.35s var(--ease); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: rgba(10, 9, 8, 0.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  opacity: 0; visibility: hidden; transition: 0.45s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: 2rem; text-decoration: none; letter-spacing: 0.05em; }
.nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 130px 0 90px; }
.hero-bg {
  position: absolute; inset: -6%; background: url('images/hero-barril.jpg') center/cover no-repeat;
  transform: scale(1.06); will-change: transform;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,0.62) 0%, rgba(10,9,8,0.35) 45%, rgba(10,9,8,0.94) 100%); }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: min(1200px, 92%); margin: 0 auto; }
.hero-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--amber); margin-bottom: 26px; }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(3.2rem, 10vw, 8.6rem); line-height: 0.98; text-transform: uppercase; letter-spacing: 0.005em; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin: 28px 0 38px; max-width: 600px; color: rgba(247, 242, 234, 0.82); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.hero-guarani { margin: -20px 0 34px; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.08em; color: var(--amber); }
.hero-guarani span { color: rgba(247, 242, 234, 0.62); font-weight: 400; letter-spacing: 0.02em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 56px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.hero-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--fire); flex: none; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 44px; border: 2px solid rgba(255,255,255,0.35); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-cue span { width: 4px; height: 9px; border-radius: 4px; background: var(--fire); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--fire-grad); overflow: hidden; padding: 15px 0; transform: rotate(-1.2deg) scale(1.02); border-top: 1px solid rgba(0,0,0,0.4); border-bottom: 1px solid rgba(0,0,0,0.4); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.1em; text-transform: uppercase; color: #140b04; white-space: nowrap; }
.marquee-track b { color: #140b04; font-size: 1.1rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Nosotros ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.nosotros-media { position: relative; }
.img-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.55); }
.img-frame img { width: 100%; height: 560px; object-fit: cover; transform: scale(1.12); will-change: transform; }
.float-card {
  position: absolute; right: -18px; bottom: 44px; display: flex; align-items: center; gap: 14px;
  background: rgba(20, 17, 16, 0.9); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}
.float-card svg { width: 34px; height: 34px; flex: none; }
.float-card strong { display: block; font-size: 1rem; }
.float-card span { font-size: 0.82rem; color: var(--muted); }
.nosotros-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.04rem; }
.nosotros-text p strong { color: var(--white); }
.feat-list { list-style: none; margin-top: 34px; display: grid; gap: 20px; }
.feat-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; transition: border-color 0.35s, transform 0.35s var(--ease); }
.feat-list li:hover { border-color: rgba(255, 90, 0, 0.5); transform: translateX(6px); }
.feat-list svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.feat-list strong { display: block; margin-bottom: 2px; }
.feat-list span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Servicios ---------- */
.servicios { background: radial-gradient(1000px 500px at 50% -10%, rgba(255, 90, 0, 0.08), transparent), var(--black); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 38px 30px 30px; overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 220px at 50% -20%, rgba(255, 90, 0, 0.16), transparent); opacity: 0; transition: opacity 0.45s; pointer-events: none; }
.card:hover { transform: translateY(-8px); border-color: rgba(255, 90, 0, 0.55); box-shadow: 0 24px 60px rgba(255, 60, 0, 0.16); }
.card:hover::before { opacity: 1; }
.card-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-size: 1rem; color: rgba(255,255,255,0.22); letter-spacing: 0.1em; }
.card-icon { width: 44px; height: 44px; margin-bottom: 22px; }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.card-link { font-weight: 700; font-size: 0.9rem; color: var(--amber); text-decoration: none; letter-spacing: 0.05em; display: inline-flex; gap: 8px; align-items: center; }
.card-link span { transition: transform 0.3s var(--ease); }
.card-link:hover span { transform: translateX(6px); }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.g-item { position: relative; border-radius: 16px; overflow: hidden; cursor: zoom-in; border: 1px solid var(--line); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s; }
.g-item:hover img { transform: scale(1.07); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.03em;
  opacity: 0; transform: translateY(10px); transition: 0.45s var(--ease);
}
.g-item:hover figcaption { opacity: 1; transform: none; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Opiniones ---------- */
.opiniones { background: var(--coal); }
.slider { max-width: 820px; margin: 0 auto; position: relative; }
.slides { position: relative; min-height: 300px; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateY(24px); transition: 0.7s var(--ease); pointer-events: none; text-align: center; padding: 0 20px; }
.slide.active { opacity: 1; transform: none; pointer-events: auto; }
.slide p { font-size: clamp(1.2rem, 2.6vw, 1.7rem); line-height: 1.5; font-weight: 500; margin-bottom: 30px; }
.slide p::before { content: '\201C'; display: block; font-family: var(--font-display); font-size: 4rem; color: var(--fire); line-height: 1; margin-bottom: 10px; }
.slide footer strong { display: block; font-size: 1.05rem; }
.slide footer span { color: var(--muted); font-size: 0.9rem; }
.slider-dots { display: flex; gap: 12px; justify-content: center; margin-top: 36px; }
.slider-dots button { width: 34px; height: 5px; border-radius: 4px; border: none; background: rgba(255,255,255,0.16); cursor: pointer; transition: 0.35s; padding: 0; }
.slider-dots button.active { background: var(--fire-grad); width: 52px; }

/* ---------- Contacto ---------- */
.contacto { position: relative; overflow: hidden; }
.contacto-bg { position: absolute; inset: 0; background: url('images/brasas.jpg') center/cover no-repeat; opacity: 0.32; }
.contacto .wrap { position: relative; z-index: 1; }
.contacto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--black) 0%, transparent 30%, transparent 70%, var(--black) 100%); pointer-events: none; }
.contacto-actions { display: flex; flex-direction: column; align-items: center; gap: 30px; margin-top: 10px; }
.social-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.22); text-decoration: none; font-weight: 600; font-size: 0.92rem; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); transition: 0.35s var(--ease); }
.social-btn svg { width: 19px; height: 19px; }
.social-btn:hover { border-color: var(--fire); transform: translateY(-3px); background: rgba(255, 90, 0, 0.12); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0; background: #080706; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.3s; }
.footer-links a:hover { color: var(--fire); }
.footer-note { color: var(--muted); font-size: 0.85rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.35s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(5, 4, 3, 0.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.4s; padding: 4vw; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 14px; box-shadow: 0 30px 100px rgba(0,0,0,0.8); }
.lightbox-close { position: absolute; top: 26px; right: 34px; background: none; border: none; color: #fff; font-size: 3rem; cursor: pointer; line-height: 1; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .img-frame img { height: 420px; }
  .float-card { right: 12px; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .g-tall, .g-wide { grid-row: auto; grid-column: auto; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero-meta { flex-wrap: wrap; gap: 10px 14px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .slides { min-height: 340px; }
  .mobile-menu { overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
