/* =========================================================
   Restaurante La Paella — Diseño mediterráneo cálido
   ========================================================= */

:root {
  /* Paleta inspirada en la paella: azafrán, pimentón, oliva, arroz */
  --cream:       #FBF5EA;
  --cream-deep:  #F3E8D4;
  --card:        #FFFDF8;
  --ink:         #2B2620;
  --ink-soft:    #5C5247;
  --ink-faint:   #8A7F71;
  --paprika:     #B0432B;
  --paprika-dark:#8C3320;
  --saffron:     #D9941F;
  --saffron-soft:#E7B85C;
  --olive:       #6E7544;
  --line:        #E4D8C2;
  --line-soft:   #EFE6D5;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0.005em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paprika);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--saffron);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--saffron);
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section.tight { padding: clamp(48px, 6vw, 84px) 0; }

.bg-cream-deep { background: var(--cream-deep); }
.bg-ink { background: #221E18; color: #F3E8D4; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 2em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-primary {
  background: var(--paprika);
  color: #FFF6EC;
}
.btn-primary:hover { background: var(--paprika-dark); transform: translateY(-2px); }

.btn-ghost {
  border-color: currentColor;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }

.btn-ghost.light { color: #F3E8D4; }
.btn-ghost.light:hover { background: #F3E8D4; color: var(--ink); border-color: #F3E8D4; }

.textlink {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paprika);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  transition: gap .25s ease;
}
.textlink:hover { gap: 0.95em; }
.textlink::after { content: "→"; font-size: 1.05em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 234, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 86px;
}
.brand img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: 0.4em 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--paprika);
  transition: width .28s ease;
}
.nav-links a:hover { color: var(--paprika); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--paprika); }

.nav-cta { margin-left: 0.5rem; }
.nav-cta .btn { padding: 0.8em 1.5em; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 820px);
  display: flex;
  align-items: center;
  color: #FCF4E6;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30,22,14,.66) 0%, rgba(30,22,14,.30) 55%, rgba(30,22,14,.12) 100%),
    linear-gradient(180deg, rgba(34,28,20,.30) 0%, rgba(34,28,20,.22) 35%, rgba(50,24,12,.62) 100%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; padding: 60px 0; }
.hero .eyebrow { color: var(--saffron-soft); }
.hero .eyebrow::before { background: var(--saffron-soft); }
.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--saffron-soft);
}
.hero p.lead {
  color: #F0E6D6;
  max-width: 560px;
  margin-top: 1.6rem;
  font-size: 1.22rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

/* ---------- Reviews strip ---------- */
.reviews { background: var(--cream-deep); }
.reviews-head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.reviews-head .eyebrow { justify-content: center; }
.reviews-head .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--saffron);
}
.reviews-title { font-size: clamp(2rem, 4vw, 3rem); }
.reviews-cta { text-align: center; margin-top: clamp(32px, 4vw, 48px); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stars { color: var(--saffron); letter-spacing: 0.15em; font-size: 1rem; }
.review blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink);
}
.review .who {
  margin-top: auto;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.review .who strong { color: var(--ink); display: block; font-size: 0.95rem; letter-spacing: 0; }
.review a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paprika);
}
.review a:hover { text-decoration: underline; }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-body h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 1.4rem;
}
.split-body .btn, .split-body .textlink { margin-top: 1.8rem; }

.media-stack { position: relative; }
.media-stack img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 24px 50px -28px rgba(70, 40, 20, .5);
}
.media-stack .img-main { aspect-ratio: 4 / 5; }
.media-stack .img-float {
  position: absolute;
  width: 46%;
  aspect-ratio: 3 / 4;
  bottom: -34px;
  right: -26px;
  border: 6px solid var(--cream);
}
.split.reverse .media-stack .img-float { right: auto; left: -26px; }

.single-media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 5 / 6;
  box-shadow: 0 24px 50px -28px rgba(70, 40, 20, .5);
}

/* ---------- Section heading ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}
.section-head h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.section-head p { margin-top: 1.2rem; }

/* ---------- Menu categories ---------- */
.menu-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.menu-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) 1.5fr auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
  padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.menu-row:hover { background: rgba(217, 148, 31, 0.06); }
.menu-row .cat {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--paprika);
}
.menu-row h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 0.6rem;
}
.menu-row p { color: var(--ink-soft); margin: 0; }
.menu-row .num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink-faint);
}

/* ---------- Hours band ---------- */
.band {
  background: #221E18;
  color: #F3E8D4;
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.band h2 { font-size: clamp(2rem, 4vw, 3rem); color: #FCF4E6; }
.band .eyebrow { color: var(--saffron-soft); }
.band .eyebrow::before { background: var(--saffron-soft); }
.hours-table { display: grid; gap: 0.7rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(243,232,212,.16);
  font-size: 1rem;
}
.hours-row span:last-child { color: var(--saffron-soft); font-weight: 600; }
.hours-row.closed span:last-child { color: var(--paprika); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: clamp(72px, 11vw, 150px) 0 clamp(40px, 6vw, 70px);
  text-align: center;
  background: var(--cream-deep);
}
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
.page-hero p { margin: 1.4rem auto 0; max-width: 620px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-block { margin-bottom: 2.6rem; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block h3 {
  font-size: 0.78rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paprika);
  margin-bottom: 0.7rem;
}
.contact-block a { color: var(--ink); text-decoration: none; }
.contact-block a:hover { color: var(--paprika); }
.contact-block .big {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.socials { display: flex; gap: 0.8rem; }
.socials a {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.socials a:hover { background: var(--paprika); color: #fff; border-color: var(--paprika); }
.socials svg { width: 20px; height: 20px; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -30px rgba(70, 40, 20, .5);
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 2.6rem 0 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose .note {
  background: var(--cream-deep);
  border-left: 3px solid var(--saffron);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #221E18;
  color: #D9CDB8;
  padding: clamp(56px, 7vw, 90px) 0 36px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(243,232,212,.14);
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 1.2rem; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { color: #A99D88; max-width: 280px; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron-soft);
  margin-bottom: 1.1rem;
}
.footer-col p { margin-bottom: 0.4rem; color: #C9BCA6; }
.footer-col a { color: #C9BCA6; text-decoration: none; }
.footer-col a:hover { color: #FCF4E6; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 1.8rem;
  font-size: 0.84rem;
  color: #948975;
}
.footer-legal { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-legal a { color: #948975; text-decoration: none; }
.footer-legal a:hover { color: #FCF4E6; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(243,232,212,.2);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #D9CDB8;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.footer-social a:hover { background: var(--saffron); color: #221E18; border-color: var(--saffron); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.16,.84,.44,1);
  }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .split, .contact-grid, .band { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .menu-row .num { display: none; }
  .media-stack .img-float { position: static; width: 60%; margin: -50px 0 0 auto; }
  .band { text-align: left; }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    inset: 86px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
  }
  .nav-links.open { max-height: 360px; padding: 1rem var(--gutter) 1.6rem; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 4vw, 32px);
  transform: translate(-50%, 24px);
  z-index: 120;
  width: min(720px, calc(100% - 32px));
  background: #221E18;
  color: #E9DDC8;
  border: 1px solid rgba(243,232,212,.16);
  border-radius: 10px;
  box-shadow: 0 24px 60px -22px rgba(20, 12, 6, .7);
  padding: clamp(20px, 3vw, 28px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, transform .45s cubic-bezier(.16,.84,.44,1), visibility .45s;
}
.cookie-banner.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cookie-banner h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: #FCF4E6;
  margin-bottom: 0.35rem;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #BCAF98;
}
.cookie-banner a { color: var(--saffron-soft); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions {
  display: flex;
  gap: 0.7rem;
  flex-shrink: 0;
}
.cookie-actions .btn {
  padding: 0.85em 1.5em;
  font-size: 0.74rem;
  white-space: nowrap;
}
.btn-cookie-reject {
  background: transparent;
  color: #E9DDC8;
  border: 1.5px solid rgba(243,232,212,.3);
}
.btn-cookie-reject:hover { background: rgba(243,232,212,.1); border-color: rgba(243,232,212,.5); transform: translateY(-2px); }

@media (max-width: 640px) {
  .cookie-banner { grid-template-columns: 1fr; gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
