:root {
  --lead: #202020;
  --gold: #bd9300;
  --cream: #e1d5c2;
  --red: #b92f2f;
  --white: #ffffff;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, sans-serif; background: #fff; color: var(--lead); }

.page { width: 100%; }

.hero {
  height: 640px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-bg, .section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; inset: 0; background: rgba(32, 32, 32, 0.7); }
.hero-gradient { position: absolute; left: 0; right: 0; bottom: 0; height: 193px; background: linear-gradient(to top, #202020, transparent); }
.logo { width: 300px; max-width: 80vw; position: relative; z-index: 3; }

.section-dark-photo {
  position: relative;
  padding: 80px 48px;
}
.glass {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(32px);
  background: rgba(32, 32, 32, 0.9);
  border-radius: 8px;
}

.card-about,
.card-cafes,
.map-card {
  max-width: 1184px;
  margin: 0 auto;
  padding: 28px 48px;
  display: grid;
  gap: 48px;
  grid-template-columns: 520px 472px;
  align-items: center;
}

.about-images,
.cafes-images { display: grid; gap: 16px; grid-template-columns: 1fr 252px; height: 549px; }
.about-images > img,
.cafes-images .big { width: 252px; height: 549px; object-fit: cover; border-radius: 8px; }
.col-right, .stack { display: grid; gap: 16px; }
.col-right img, .stack img { width: 252px; height: 266px; object-fit: cover; border-radius: 8px; }

.about-text h2,
.cafes-text h2,
.band h2,
.galeria h2,
.map-txt h2,
.resenas h2 {
  margin: 0 0 24px;
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 700;
}
.about-text h2 span,
.cafes-text h2 span,
.galeria h2 span,
.resenas h2 span { font-weight: 600; }
.about-text h2 em,
.cafes-text h2 em,
.galeria h2 em,
.resenas h2 em { font-style: italic; }

.about-text, .cafes-text, .map-txt { color: #fff; }
.about-text h2, .cafes-text h2, .map-txt h2 { color: var(--gold); }
.about-text p, .cafes-text p, .map-txt p, .band p { margin: 0 0 16px; font-size: 16px; line-height: 1.45; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 24px;
  color: inherit;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}
.btn-gold { color: var(--gold); }
.btn-white { color: #fff; }
.btn-dark { color: var(--lead); }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.band {
  padding: 80px 48px;
  text-align: center;
}
.band-inner { max-width: 1016px; margin: 0 auto; }
.band-red { background: var(--red); color: #fff; }
.band-cream { background: var(--cream); }
.band-cream .band-inner.dark { color: var(--lead); }

.desayunos { text-align: center; }
.grid-desayunos {
  max-width: 1184px;
  margin: 48px auto 0;
  display: grid;
  gap: 20px;
  grid-template-columns: 281px 282px 581px;
  justify-content: center;
}
.grid-desayunos .col { display: grid; gap: 20px; }
.grid-desayunos img { width: 100%; object-fit: cover; border-radius: 8px; }
.grid-desayunos .col:first-child img { height: 247.5px; }
.grid-desayunos .one img { height: 515px; }
.grid-desayunos img,
.gcol img {
  transition: transform 350ms ease, filter 350ms ease;
}
.grid-desayunos img:hover,
.gcol img:hover {
  transform: scale(1.018);
  filter: saturate(1.05) contrast(1.03);
}

.cafes .stack img:last-child { height: 263px; }

.cocktails-carousel-wrap {
  position: relative;
  max-width: 1184px;
  margin: 48px auto 0;
  padding: 0 44px;
}
.cocktails-viewport {
  overflow: hidden;
}
.cocktails-track {
  display: flex;
  transition: transform 320ms ease-out;
  will-change: transform;
}
.cocktail-slide {
  flex: 0 0 calc(100% / 3);
  padding: 0 8px;
}
.cocktail-card {
  max-width: 380px;
  margin: 0 auto;
  text-align: left;
  color: #fff;
}
.cocktail-image-wrap {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
}
.cocktail-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease-in-out;
}
.cocktail-card:hover .cocktail-image-wrap img {
  transform: scale(1.05);
}
.cocktail-name {
  margin: 16px 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
}
.cocktail-desc {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
}
.cocktails-nav {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color 180ms ease;
  z-index: 5;
}
.cocktails-nav:hover {
  background: rgba(255, 255, 255, 0.5);
}
.cocktails-nav.prev { left: 0; }
.cocktails-nav.next { right: 0; }

.resenas {
  background: var(--lead);
  color: var(--gold);
  padding: 80px 48px;
  text-align: center;
}
.reviews-carousel-wrap {
  position: relative;
  max-width: 1184px;
  margin: 16px auto 0;
  overflow: hidden;
}
.reviews-viewport {
  overflow: hidden;
  width: 100%;
}
.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform 600ms ease-in-out;
  will-change: transform;
  touch-action: pan-y;
}
.review-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 300px;
  max-width: 380px;
}
.review-card {
  height: 100%;
  background: #303030;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  color: #e1d5c2;
}
.review-card-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 392px;
}
.review-stars {
  display: inline-flex;
  gap: 2px;
}
.review-stars svg {
  width: 20px;
  height: 20px;
}
.review-text {
  font-size: 16px;
  line-height: 24px;
  font-style: italic;
  font-weight: 500;
  margin: 0;
  min-height: 264px;
  color: #e1d5c2;
}
.review-name {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #bd9300;
  font-size: 18px;
  line-height: 28px;
}

.galeria { padding: 80px 48px; text-align: center; }
.grid-galeria {
  max-width: 1184px;
  margin: 48px auto 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 306px);
  justify-content: center;
}
.gcol { display: grid; gap: 16px; }
.gcol img { width: 306px; border-radius: 8px; object-fit: cover; }
.h-s { height: 306px; }
.h-m { height: 400px; }
.h-l { height: 544px; }

.map-card { grid-template-columns: 600px 472px; }
.map-card iframe { width: 100%; height: 400px; border: 0; border-radius: 8px; background: #d6e4f0; }

.footer {
  background: var(--lead);
  color: var(--gold);
  text-align: center;
  padding: 48px;
}
.footer a { color: var(--gold); text-decoration: none; font-size: 18px; }
.footer p { color: var(--cream); font-size: 14px; margin: 24px 0 0; }

/* Animations */
.hero-bg {
  transform: scale(1.06);
  animation: heroZoomOut 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.overlay {
  opacity: 0;
  animation: overlayIn 1s ease forwards;
}
.logo {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
}
.app-ready .logo {
  animation: logoIn 900ms 200ms cubic-bezier(0.22, 1, 0.36, 1) forwards, logoFloat 6s 1.2s ease-in-out infinite;
}

.reveal-target {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoomOut {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes logoIn {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal-target {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .section-dark-photo, .band, .galeria, .resenas, .footer { padding-left: 16px; padding-right: 16px; }
  .card-about, .card-cafes, .map-card { grid-template-columns: 1fr; padding: 28px 16px; gap: 28px; }
  .about-images, .cafes-images { grid-template-columns: 1fr; height: auto; }
  .about-images > img, .cafes-images .big, .col-right img, .stack img { width: 100%; height: auto; }
  .cocktail-slide { flex-basis: calc(100% / 2); }
  .cocktail-image-wrap { height: 400px; }
  .review-slide { flex-basis: calc((100% - 16px) / 2); }
  .grid-desayunos { grid-template-columns: 1fr; }
  .grid-desayunos .one img, .grid-desayunos .col:first-child img { height: auto; }
  .grid-galeria { grid-template-columns: 1fr; }
  .gcol img { width: 100%; height: auto; }
}

@media (max-width: 767px) {
  .cocktails-carousel-wrap { padding: 0 38px; }
  .cocktail-slide { flex-basis: 100%; }
  .cocktail-image-wrap { height: 350px; }
  .cocktail-name { font-size: 20px; }
  .cocktail-desc { font-size: 16px; }
  .review-slide { flex-basis: 100%; }
}
