/* =========================================
   La Mesa Está Servida — Estilos globales
   ========================================= */

:root {
  --primary:    #c0392b;
  --primary-dk: #96281b;
  --gold:       #e8a020;
  --cream:      #fdf6ec;
  --dark:       #1a1a1a;
  --text:       #3d3d3d;
  --muted:      #777;
  --border:     #e8ddd0;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .75rem; }
h3 { font-size: 1.15rem; margin-bottom: .5rem; }
p  { margin-bottom: 1rem; }
a  { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
header {
  background: linear-gradient(135deg, var(--dark) 0%, #2c1810 100%);
  color: #fff;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  font-size: 2rem;
  line-height: 1;
}

.logo-text { line-height: 1.2; }
.logo-text .title  { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; font-weight: 700; letter-spacing: .02em; }
.logo-text .sub    { font-size: .72rem; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }

nav { display: flex; gap: 1.5rem; }
nav a { color: #ddd; font-size: .9rem; font-family: sans-serif; letter-spacing: .04em; transition: color .2s; }
nav a:hover, nav a.active { color: var(--gold); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #2c1810 0%, var(--dark) 60%, #1a0e07 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c0392b' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .4;
}

.hero-badge {
  display: inline-block;
  background: rgba(192,57,43,.25);
  border: 1px solid rgba(232,160,32,.3);
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  font-family: sans-serif;
}

.hero h1 { margin-bottom: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero p  { font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; color: #ddd; }

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-size: .95rem;
  font-family: sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary   { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(192,57,43,.45); }
.btn-primary:hover   { background: var(--primary-dk); box-shadow: 0 6px 20px rgba(192,57,43,.55); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-secondary:hover { background: rgba(255,255,255,.1); border-color: var(--gold); color: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 4rem 1.5rem; }

.container { max-width: 960px; margin: 0 auto; }

.section-label {
  font-size: .75rem;
  font-family: sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: .4rem;
}

/* ---------- Feature Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.13); }

.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }

/* ---------- YouTube CTA ---------- */
.yt-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 100%);
  color: #fff;
}

.yt-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}
.yt-card h2 { color: #fff; }
.yt-card p  { color: #bbb; max-width: 500px; margin: 0 auto 2rem; }

.yt-logo { font-size: 3.5rem; margin-bottom: 1rem; }

.btn-yt {
  background: #ff0000;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,0,0,.4);
}
.btn-yt:hover { background: #cc0000; box-shadow: 0 6px 22px rgba(255,0,0,.5); }

/* ---------- Legal pages ---------- */
.legal-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2c1810 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-hero p  { color: #bbb; margin-top: .5rem; font-size: .95rem; }

.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.legal-body h2 {
  color: var(--primary);
  font-size: 1.25rem;
  margin: 2rem 0 .5rem;
  border-left: 3px solid var(--primary);
  padding-left: .75rem;
}
.legal-body ul { margin: .5rem 0 1rem 1.5rem; }
.legal-body li { margin-bottom: .4rem; }
.legal-body .effective { font-size: .85rem; color: var(--muted); margin-bottom: 2rem; }

/* ---------- Footer ---------- */
footer {
  margin-top: auto;
  background: var(--dark);
  color: #aaa;
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-family: sans-serif;
  font-size: .85rem;
}
footer .footer-links { margin-bottom: .75rem; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
footer a { color: #aaa; }
footer a:hover { color: var(--gold); }
footer .copy { color: #555; }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  header { flex-direction: column; align-items: flex-start; gap: .5rem; }
  nav { gap: 1rem; }
  .hero { padding: 3.5rem 1rem 3rem; }
}
