/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ocean-dark:   #091e2d;
  --ocean-mid:    #112f42;
  --coral:        #c85030;
  --coral-light:  #d4684a;
  --sand:         #f4ede0;
  --sand-dark:    #e5d9c8;
  --gold:         #b8954a;
  --text-dark:    #0d1a22;
  --text-muted:   #5a7a88;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-ui:      'Oswald', Arial, sans-serif;

  --max-w: 1200px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--sand);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn--primary { background: var(--coral); color: var(--sand); }
.btn--primary:hover { background: var(--coral-light); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--text-dark); border: 2px solid var(--text-dark); }
.btn--outline:hover { background: var(--text-dark); color: var(--sand); }
.btn--ghost { background: transparent; color: var(--sand); border: 1.5px solid rgba(244,237,224,0.4); }
.btn--ghost:hover { border-color: var(--sand); }

/* ===== SECTION LABEL ===== */
.section-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}
.section-label.light { color: var(--gold); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: rgba(9,30,45,0.96);
  backdrop-filter: blur(12px);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sand);
  letter-spacing: 0.02em;
}
.nav__links { display: flex; align-items: center; gap: 2.5rem; }
.nav__links a {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.75);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--sand); }
.nav__cta {
  background: var(--coral) !important;
  color: var(--sand) !important;
  padding: 0.55rem 1.4rem !important;
  letter-spacing: 0.15em !important;
}
.nav__cta:hover { background: var(--coral-light) !important; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__hamburger span { display: block; width: 24px; height: 1.5px; background: var(--sand); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ocean-dark);
}

.hero__bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse at 65% 45%, rgba(26,74,106,0.65) 0%, transparent 55%),
    linear-gradient(140deg, rgba(9,30,45,0.85) 0%, rgba(9,30,45,0.5) 100%),
    url('https://images.unsplash.com/photo-1668403783784-280deedd0b35?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  will-change: transform;
}

/* Orbes animados */
.hero__orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,80,48,0.1) 0%, transparent 70%);
  filter: blur(80px);
  animation: orb-drift 10s ease-in-out infinite alternate;
  pointer-events: none;
  right: -10%;
  top: -20%;
}
.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,74,106,0.2) 0%, transparent 70%);
  animation: orb-drift-2 14s ease-in-out infinite alternate;
  right: auto;
  top: auto;
  left: 5%;
  bottom: -10%;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-8%, 12%) scale(1.1); }
}
@keyframes orb-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6%, -10%) scale(0.9); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 8vw, 10rem);
  padding-top: var(--nav-h);
  max-width: 1000px;
}

.hero__eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.88;
  color: var(--sand);
  margin-bottom: 2rem;
}
.hero__title-line1 {
  display: block;
  font-size: clamp(5rem, 14vw, 13rem);
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 2px var(--sand);
  opacity: 0;
  transform: translateY(110%);
}
.hero__title-line2 {
  display: block;
  font-size: clamp(6rem, 19vw, 17rem);
  margin-top: -0.1em;
  opacity: 0;
  transform: translateY(110%);
}

.hero__subtitle {
  font-family: var(--font-ui);
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(244,237,224,0.65);
  margin-bottom: 2.5rem;
  opacity: 0;
}
.hero__btn { opacity: 0; transform: translateY(20px); }

.hero__scroll-indicator {
  position: absolute;
  bottom: 3rem;
  right: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
}
.hero__scroll-indicator span {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.45);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(244,237,224,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== MARQUEE ===== */
.marquee {
  overflow: hidden;
  background: var(--coral);
  padding: 0.9rem 0;
  user-select: none;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee__track span {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
}
.marquee__sep {
  color: rgba(244,237,224,0.5) !important;
  font-size: 0.5rem !important;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== STATEMENT ===== */
.statement {
  background: var(--sand);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 8vw, 10rem);
}
.statement__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.statement__line {
  flex-shrink: 0;
  width: 80px;
  height: 3px;
  background: var(--coral);
  transform-origin: left;
}
.statement__text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.9rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-dark);
}

/* ===== ESPECIALIDADES ===== */
.especialidades {
  background: var(--ocean-dark);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}
.especialidades__header {
  max-width: var(--max-w);
  margin: 0 auto 4rem;
}
.especialidades__header .section-label { color: var(--gold); }
.especialidades__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--sand);
}
.especialidades__title em { font-style: italic; color: var(--coral); }

.especialidades__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 3px;
}

.plato {
  position: relative;
  overflow: hidden;
  background: var(--ocean-mid);
  transform-style: preserve-3d;
  transition: box-shadow 0.4s ease;
}
.plato:hover { box-shadow: 0 30px 80px rgba(0,0,0,0.5); }

.plato__number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  z-index: 2;
}

/* Imagen con inner para efecto parallax en hover */
.plato__img {
  height: 280px;
  overflow: hidden;
  position: relative;
  clip-path: inset(0);
}
.plato--featured .plato__img { height: 360px; }

.plato__img-inner {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.plato:hover .plato__img-inner { transform: scale(1.06); }

/* Fotos reales + gradiente overlay */
.plato__img--1 .plato__img-inner {
  background:
    linear-gradient(180deg, rgba(9,30,45,0.1) 0%, rgba(9,30,45,0.85) 100%),
    url('https://images.unsplash.com/photo-1595579547936-c3a0e6c171fc?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
}
.plato__img--2 .plato__img-inner {
  background:
    linear-gradient(180deg, rgba(9,30,45,0.1) 0%, rgba(9,30,45,0.85) 100%),
    url('https://images.unsplash.com/photo-1533658266890-8bd362930725?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
}
.plato__img--3 .plato__img-inner {
  background:
    linear-gradient(180deg, rgba(9,30,45,0.1) 0%, rgba(9,30,45,0.85) 100%),
    url('https://images.unsplash.com/photo-1590759668628-05b0fc34bb70?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
}

.plato__info { padding: 1.5rem 1.75rem 2rem; }
.plato__info h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}
.plato__info p {
  font-size: 0.83rem;
  font-weight: 300;
  color: rgba(244,237,224,0.55);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.plato__precio {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.04em;
}

/* ===== GALERÍA ===== */
.galeria { background: var(--ocean-dark); }

.galeria__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 4px;
}

.galeria__item {
  position: relative;
  overflow: hidden;
}
.galeria__item--tall { grid-row: span 2; }

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.galeria__item:hover img { transform: scale(1.06); }

.galeria__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,30,45,0.75) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.galeria__item:hover .galeria__overlay { opacity: 1; }
.galeria__overlay span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--sand);
}

/* ===== AMBIENTE ===== */
.ambiente {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.ambiente__visual {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.ambiente__foto {
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(150deg, rgba(9,30,45,0.3) 0%, rgba(9,30,45,0.05) 100%),
    url('https://images.unsplash.com/photo-1528735000313-039ec3a473b0?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  will-change: transform;
}
.ambiente__accent-bar {
  position: absolute;
  top: 4rem;
  left: 0;
  width: 5px;
  height: calc(100% - 8rem);
  background: var(--coral);
  transform-origin: top;
}
.ambiente__texto {
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--sand);
}
.ambiente__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 2rem;
}
.ambiente__title em { font-style: italic; color: var(--coral); }
.ambiente__texto p {
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ===== MENÚ PREVIEW ===== */
.menu-preview {
  background: var(--ocean-dark);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}
.menu-preview__header { max-width: var(--max-w); margin: 0 auto 4rem; }
.menu-preview__header .section-label { color: var(--gold); }
.menu-preview__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--sand);
}
.menu-preview__header h2 em { font-style: italic; color: var(--coral); }

.menu-preview__categorias {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 5rem;
  border-top: 1px solid rgba(244,237,224,0.12);
  padding-top: 3rem;
}
.categoria__nombre {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(244,237,224,0.1);
}
.categoria__items li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(244,237,224,0.06);
  gap: 1rem;
  opacity: 0;
  transform: translateX(-15px);
}
.categoria__items li span:first-child {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--sand);
}
.categoria__items li span:last-child {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--coral);
  flex-shrink: 0;
}

/* ===== RESERVAR ===== */
.reservar {
  position: relative;
  overflow: hidden;
  background:
    url('https://images.unsplash.com/photo-1630410477149-a13e34c9b78d?auto=format&fit=crop&w=1920&q=75') center/cover no-repeat;
  padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.reservar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(9,30,45,0.92) 0%, rgba(9,30,45,0.82) 100%);
  pointer-events: none;
}
.reservar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(200,80,48,0.2) 0%, transparent 55%);
  pointer-events: none;
}
.reservar__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.reservar__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--sand);
  margin-bottom: 1.5rem;
}
.reservar__title em { font-style: italic; color: var(--coral); }
.reservar__content > p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(244,237,224,0.55);
  margin-bottom: 3rem;
  letter-spacing: 0.04em;
}
.reservar__acciones {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.reservar__info {
  display: flex;
  gap: 4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.reservar__info > div { display: flex; flex-direction: column; gap: 0.4rem; }
.reservar__info strong {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.reservar__info span {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(244,237,224,0.65);
}

/* ===== FOOTER ===== */
.footer {
  background: #05111a;
  padding: 3rem clamp(1.5rem, 5vw, 4rem) 2rem;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(244,237,224,0.08);
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 0.65rem;
}
.footer__brand p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(244,237,224,0.38);
  line-height: 1.7;
}
.footer__links { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-end; }
.footer__links a {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.38);
  transition: color 0.2s;
}
.footer__links a:hover { color: rgba(244,237,224,0.8); }
.footer__bottom { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.footer__bottom span {
  font-size: 0.65rem;
  font-weight: 300;
  color: rgba(244,237,224,0.2);
  letter-spacing: 0.12em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .especialidades__grid { grid-template-columns: 1fr; }
  .plato--featured .plato__img { height: 280px; }

  .galeria__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .galeria__item--tall { grid-row: span 1; }
  .galeria__item:last-child { grid-column: span 2; }

  .ambiente { grid-template-columns: 1fr; }
  .ambiente__visual { min-height: 320px; }

  .menu-preview__categorias { grid-template-columns: 1fr; gap: 2.5rem; }

  .statement__inner { flex-direction: column; gap: 1.5rem; }
  .statement__line { align-self: flex-start; width: 40px; }

  .footer__links { align-items: flex-start; }
  .reservar__info { gap: 2rem; }
}

@media (max-width: 520px) {
  .hero__title-line1 { -webkit-text-stroke: 1px var(--sand); }
  .reservar__acciones { flex-direction: column; align-items: center; }
  .galeria__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .galeria__item { height: 220px; }
  .galeria__item:last-child { grid-column: span 1; }
}
