/* ============================
   Grupo Dratla - Menú corporativo
   Editorial claro, inspirado en la identidad de Grupo MRL
   ============================ */

:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --cream: #f7f6f2;
  --cream-deep: #efece3;
  --ink: #1c1a17;
  --ink-soft: rgba(28, 26, 23, 0.6);
  --line: rgba(28, 26, 23, 0.14);
  --gold: #b8974f;

  --quinta-navy: #0c2038;
  --quinta-wood: #6b4423;
  --quinta-wood-dark: #1c1108;
  --quinta-ring: #f3ede0;

  --tlagadela-ink: #2a1b12;
  --tlagadela-gold: #c9962c;
  --tlagadela-ring: #f3ede0;

  --dragon-black: #161514;
  --dragon-black-dark: #0a0908;
  --dragon-red: #c22630;
}

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

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--ink);
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--line);
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 2.2rem;
}

.site-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

@media (max-width: 650px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 1rem;
    align-items: center;
    text-align: center;
  }

  .site-nav {
    gap: 1.2rem;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 5.5rem 1.5rem 4rem;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  animation: fadeSlideUp 0.7s ease both;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.08;
  margin-top: 0.6rem;
  color: var(--ink);
  animation: fadeSlideUp 0.7s ease 0.08s both;
}

.hero__divider {
  width: 60px;
  height: 1px;
  margin: 1.8rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: fadeSlideUp 0.7s ease 0.16s both;
}

.hero__text {
  max-width: 480px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  animation: fadeSlideUp 0.7s ease 0.22s both;
}

/* ---------- Conoce nuestra familia ---------- */

.brand-family {
  text-align: center;
  padding: 3rem 1.5rem 0.5rem;
  animation: fadeSlideUp 0.7s ease 0.26s both;
}

.brand-family__eyebrow {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-family__script {
  font-family: 'Petit Formal Script', cursive;
  font-size: 2.1rem;
  color: var(--ink-soft);
  margin-top: -0.4rem;
}

/* ---------- Restaurant grid: logos monocromáticos ---------- */

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1040px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
}

@media (max-width: 700px) {
  .restaurant-grid {
    grid-template-columns: 1fr;
  }
}

.restaurant-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 2.5rem 1.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  animation: fadeSlideUp 0.7s ease both;
}

.restaurant-grid .restaurant-item:nth-child(1) { animation-delay: 0.32s; }
.restaurant-grid .restaurant-item:nth-child(2) { animation-delay: 0.4s; }
.restaurant-grid .restaurant-item:nth-child(3) { animation-delay: 0.48s; }

.restaurant-item:hover {
  background: var(--cream-deep);
}

.restaurant-item__logo {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.restaurant-item__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.restaurant-item:hover .restaurant-item__logo img {
  transform: scale(1.06);
}

.restaurant-item__logo-fallback {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--ink);
}

.restaurant-item h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.restaurant-item h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s ease, left 0.3s ease;
}

.restaurant-item:hover h2::after {
  width: 100%;
  left: 0;
}

.restaurant-item p {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- About ---------- */

.about {
  text-align: center;
  padding: 5rem 1.5rem;
  animation: fadeSlideUp 0.7s ease 0.5s both;
}

.about__divider {
  width: 50px;
  height: 1px;
  margin: 0 auto 1.8rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.about__text {
  max-width: 620px;
  margin: 0 auto;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--ink-soft);
}
