/* ============================================
   LUMIÈRE — RESTAURANTE PREMIUM
   ============================================ */

:root {
  --gold: #c9a24a;
  --gold-light: #e3c887;
  --ink: #0e0d0c;
  --ink-soft: #16140f;
  --cream: #f7f3ea;
  --cream-dim: #e9e2d0;
  --grey: #8a8578;
  --line: rgba(201, 162, 74, 0.18);

  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;

  --container: 1180px;
  --gap: 24px;
  --radius: 4px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}

.eyebrow--light { color: var(--gold-light); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.section-title--light { color: var(--cream); }

.section-desc {
  max-width: 560px;
  margin-top: 18px;
  color: var(--grey);
  font-size: 16px;
  font-weight: 300;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head .section-desc { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(201, 162, 74, 0.5);
}

.btn--ghost {
  border: 1px solid rgba(247, 243, 234, 0.35);
  color: var(--cream);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn--small { padding: 11px 24px; font-size: 12px; }
.btn--full { width: 100%; }

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__mark {
  font-family: var(--serif);
  font-size: 46px;
  color: var(--gold);
  animation: pulseMark 1.4s ease-in-out infinite;
}
@keyframes pulseMark {
  0%, 100% { opacity: 0.4; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1); }
}

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 26px 0;
  transition: all 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(14, 13, 12, 0.92);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.nav {
  display: flex;
  gap: 38px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--gold-light); }
.nav a:hover::after { width: 100%; }

.header__cta { color: var(--cream); border-color: rgba(247,243,234,0.35); }
.header__cta:hover { border-color: var(--gold); color: var(--gold); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.burger span {
  height: 1px;
  background: var(--cream);
  width: 100%;
  transition: all 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 300px;
  max-width: 82vw;
  background: var(--ink-soft);
  z-index: 950;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex;
  align-items: center;
  box-shadow: -20px 0 60px rgba(0,0,0,0.4);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--cream);
}
.mobile-nav a:hover { color: var(--gold); }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,13,12,0.55) 0%, rgba(14,13,12,0.55) 40%, rgba(14,13,12,0.92) 100%),
    linear-gradient(90deg, rgba(14,13,12,0.7) 0%, rgba(14,13,12,0.25) 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
  color: var(--cream);
}

.hero .eyebrow { color: var(--gold-light); text-align: center; }

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.08;
  margin-bottom: 26px;
  letter-spacing: 0.01em;
}

.hero__subtitle {
  font-size: 17px;
  font-weight: 300;
  color: var(--cream-dim);
  max-width: 540px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--cream-dim);
  z-index: 2;
}
.hero__scroll span {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: -40px; left: 0;
  width: 100%; height: 40px;
  background: var(--gold-light);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  to { top: 40px; }
}
.hero__scroll small {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================
   MARQUEE
   ============================================ */

.marquee {
  background: var(--ink);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: marqueeScroll 32s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--cream-dim);
  white-space: nowrap;
}
.marquee__track span:nth-child(2n) { color: var(--gold); font-style: normal; font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   ABOUT
   ============================================ */

.about {
  padding: 140px 0;
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about__media {
  position: relative;
  height: 560px;
}
.about__img {
  position: absolute;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 60px -20px rgba(14,13,12,0.35);
}
.about__img--1 {
  width: 78%;
  height: 78%;
  top: 0; left: 0;
  background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?q=80&w=900&auto=format&fit=crop');
  z-index: 1;
}
.about__img--2 {
  width: 55%;
  height: 50%;
  bottom: 0; right: 0;
  background-image: url('https://images.unsplash.com/photo-1544148103-0773bf10d330?q=80&w=900&auto=format&fit=crop');
  border: 6px solid var(--cream);
  z-index: 2;
}
.about__badge {
  position: absolute;
  top: 24px;
  right: -24px;
  background: var(--gold);
  color: var(--ink);
  width: 118px;
  height: 118px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  box-shadow: 0 20px 40px -10px rgba(201,162,74,0.5);
}
.about__badge strong {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}
.about__badge span {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.about__text {
  color: var(--grey);
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 520px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
  padding: 32px 0;
  border-top: 1px solid rgba(14,13,12,0.1);
  border-bottom: 1px solid rgba(14,13,12,0.1);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--ink);
}
.stat__label {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--grey);
  text-transform: uppercase;
}

/* ============================================
   MENU
   ============================================ */

.menu {
  padding: 140px 0;
  background: var(--ink);
}
.menu .eyebrow { text-align: center; }
.menu .section-title { color: var(--cream); text-align: center; }
.menu .section-desc { color: var(--grey); text-align: center; }

.menu__tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.menu__tab {
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid rgba(247,243,234,0.15);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.menu__tab:hover { color: var(--gold); border-color: var(--gold); }
.menu__tab.is-active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.card {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: none;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.card.is-visible { display: flex; }
.card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.08); }

.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.card__body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.card__top h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
}
.card__price {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}
.card__body p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.65;
}

/* ============================================
   GALLERY
   ============================================ */

.gallery {
  padding: 140px 0 0;
  background: var(--cream);
}
.gallery .section-head { margin-bottom: 56px; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 6px;
}
.gallery__item {
  overflow: hidden;
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s ease;
  filter: grayscale(20%);
}
.gallery__item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
  padding: 140px 0;
  background: var(--cream);
}

.testi__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.testi__card {
  background: #fff;
  border: 1px solid rgba(14,13,12,0.08);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 20px 50px -30px rgba(14,13,12,0.2);
}
.testi__stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 3px;
}
.testi__card p {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}
.testi__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.testi__author strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.testi__author span {
  font-size: 12px;
  color: var(--grey);
}

/* ============================================
   RESERVAS
   ============================================ */

.reservas {
  position: relative;
  padding: 140px 0;
  background: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?q=80&w=1600&auto=format&fit=crop') center/cover fixed;
}
.reservas__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14,13,12,0.94) 0%, rgba(14,13,12,0.86) 100%);
}
.reservas__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}

.reservas__text {
  color: var(--cream-dim);
  font-size: 16px;
  margin: 26px 0 44px;
  max-width: 440px;
}

.reservas__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.reservas__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(247,243,234,0.12);
}
.reservas__list strong {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.reservas__list span { color: var(--cream); font-size: 16px; }

.reservas__form {
  background: rgba(247,243,234,0.04);
  border: 1px solid rgba(247,243,234,0.12);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  backdrop-filter: blur(6px);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.reservas__form .form__row:nth-of-type(2) { grid-template-columns: 1fr 1fr 1fr; }

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__group label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.form__group input,
.form__group select,
.form__group textarea {
  background: rgba(247,243,234,0.06);
  border: 1px solid rgba(247,243,234,0.18);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.3s ease;
}
.form__group textarea { resize: vertical; min-height: 80px; }
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(247,243,234,0.35); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form__group select option { background: var(--ink); color: var(--cream); }

.form__success {
  display: none;
  text-align: center;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.form__success.is-visible { display: block; }

/* ============================================
   FOOTER
   ============================================ */

.footer { background: var(--ink); padding-top: 100px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}

.logo--light { color: var(--cream); }

.footer__brand p {
  color: var(--grey);
  font-size: 14px;
  margin: 22px 0 28px;
  max-width: 320px;
  line-height: 1.7;
}

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(247,243,234,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--cream-dim);
  transition: all 0.3s ease;
}
.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.footer__col { display: flex; flex-direction: column; gap: 16px; }
.footer__col h4 {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--cream);
  margin-bottom: 6px;
  font-weight: 600;
}
.footer__col a,
.footer__col span {
  font-size: 14px;
  color: var(--grey);
  transition: color 0.3s ease;
}
.footer__col a:hover { color: var(--gold); }

.footer__bottom { padding: 28px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.02em;
}

/* ============================================
   TO TOP
   ============================================ */

.to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold-light); transform: translateY(-4px); }

/* ============================================
   REVEAL ANIMATION
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-active { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }

  .about__grid,
  .reservas__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__media { height: 420px; max-width: 460px; margin: 0 auto; }

  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .testi__track { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .about, .menu, .gallery, .testimonials, .reservas { padding: 90px 0; }

  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }

  .about__stats { grid-template-columns: 1fr; gap: 18px; }
  .menu__grid { grid-template-columns: 1fr; }
  .menu__tabs { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }

  .form__row,
  .reservas__form .form__row:nth-of-type(2) { grid-template-columns: 1fr; }
  .reservas__form { padding: 28px; }

  .footer__grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 50px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
