/* ===================================================================
   RAÍZ DEL DISEÑO — todo el look de la página se controla desde aquí.
   Para reskinear esta plantilla para OTRO cliente, normalmente solo
   necesitas cambiar estas variables (colores y tipografías) y el
   contenido del HTML. No deberías necesitar tocar el resto del CSS.

   Paleta para Carnes Asadas La Soñadora: tonos cálidos y rojizos que
   evocan la parrilla y las brasas (naranja ember + café carbón + oro
   flama), sobre un fondo cálido tipo papel.
   =================================================================== */
:root {
  --color-bg:        #FBF3EA; /* fondo cálido, tipo papel */
  --color-surface:   #FFFFFF; /* fondo de tarjetas */
  --color-ink:       #2B1B14; /* texto principal, café carbón */
  --color-muted:     #7A6255; /* texto secundario */
  --color-primary:   #C1441E; /* naranja brasa — botones y acentos principales */
  --color-primary-dark: #9B3316;
  --color-secondary: #3B1F14; /* café carbón — header, footer, fondos oscuros */
  --color-gold:      #D89A3D; /* acento dorado/flama — detalles pequeños */
  --color-whatsapp:  #25D366;
  --color-border:    #ECD9C8;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', system-ui, -apple-system, sans-serif;

  --radius-card: 28px 28px 8px 8px; /* esquina superior tipo arco */
  --radius-btn: 999px;
  --shadow-card: 0 12px 30px -14px rgba(32, 28, 26, 0.25);
  --container-w: 1120px;
}

/* ===================================================================
   BASE
   =================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--color-muted); }

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

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.6em;
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

/* ===================================================================
   BOTONES
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-size: 0.98rem;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: var(--color-primary-dark); }

.btn-ghost { background: transparent; border-color: var(--color-secondary); color: var(--color-secondary); }
.btn-ghost:hover { background: var(--color-secondary); color: white; }

.btn-whatsapp { background: var(--color-whatsapp); color: white; }
.btn-whatsapp:hover { background: #1DA851; }

.btn-large { padding: 18px 38px; font-size: 1.1rem; }
.icon { width: 20px; height: 20px; fill: currentColor; }

/* ===================================================================
   HEADER
   =================================================================== */
.site-header {
  background: var(--color-secondary);
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; }
.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  padding: 6px 9px;
  border-radius: 8px 8px 2px 2px;
}
.logo-text { font-size: 0.9rem; line-height: 1.25; }
.logo-text strong { font-family: var(--font-display); font-size: 1.05rem; }

.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: white; }

.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  background: linear-gradient(180deg, var(--color-secondary) 0%, #5C2E1D 100%);
  color: white;
  position: relative;
  padding: 80px 0 110px;
}
.hero-inner { max-width: 720px; }
.hero .eyebrow { color: var(--color-gold); }
.hero h1 { color: white; }
.hero-lead { color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 40px; }
.hero .btn-ghost { border-color: rgba(255,255,255,0.5); color: white; }
.hero .btn-ghost:hover { background: white; color: var(--color-secondary); }

.trust-row { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.trust-row li { font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.trust-row strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: white; }

.arch-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  fill: var(--color-bg);
}

/* ===================================================================
   SECCIONES GENERALES
   =================================================================== */
.section { padding: 90px 0; }
.section-alt { background: var(--color-surface); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.align-center { align-items: center; }
.align-start { align-items: start; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
}
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }

.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { padding-left: 30px; position: relative; color: var(--color-ink); }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: 0.72rem;
  display: flex; align-items: center; justify-content: center;
}

.stat-block { display: grid; gap: 20px; }
.stat {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 22px 26px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  border: 1px solid var(--color-border);
}
.stat-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--color-primary-dark); font-weight: 700; }
.stat-label { color: var(--color-muted); font-size: 0.95rem; }

.testimonial {
  background: var(--color-bg);
  border-left: 4px solid var(--color-gold);
  border-radius: 8px 20px 20px 8px;
  padding: 26px 26px 20px;
  margin: 0;
}
.testimonial p { color: var(--color-ink); font-style: italic; margin-bottom: 12px; }
.testimonial cite { font-style: normal; font-size: 0.85rem; color: var(--color-muted); }

.address { font-size: 1.05rem; color: var(--color-ink); }
.hours { border-collapse: collapse; margin: 18px 0 24px; width: 100%; max-width: 380px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours th { color: var(--color-muted); font-weight: 500; }

.map-frame { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.map-frame iframe { width: 100%; height: 340px; border: 0; }

/* ===================================================================
   CTA FINAL
   =================================================================== */
.cta-final {
  background: var(--color-primary);
  color: white;
  text-align: center;
  padding: 70px 0;
}
.cta-final h2 { color: white; }
.cta-final p { color: rgba(255,255,255,0.9); margin-bottom: 26px; }
.cta-final .btn-whatsapp { background: white; color: var(--color-primary-dark); }
.cta-final .btn-whatsapp:hover { background: rgba(255,255,255,0.9); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--color-secondary); color: rgba(255,255,255,0.8); padding: 50px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-bottom: 30px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { text-decoration: none; color: white; }
.footer-credit { text-align: center; font-size: 0.8rem; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); }
.footer-credit a { text-decoration: underline; }

/* ===================================================================
   WHATSAPP FLOTANTE
   =================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
  z-index: 60;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* ===================================================================
   ANIMACIÓN AL HACER SCROLL (respeta reduced-motion)
   =================================================================== */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover, .whatsapp-float:hover { transform: none; }
}

/* ===================================================================
   RESPONSIVE — mobile first desde 640px hacia abajo
   =================================================================== */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  }
  .nav-toggle span { width: 100%; height: 2px; background: white; border-radius: 2px; }
  .nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-secondary);
    padding: 20px 24px 28px;
    gap: 18px;
  }
  .header-inner { position: relative; }
  .hero { padding: 60px 0 90px; }
  .section { padding: 60px 0; }
}
