/* ============================================================
   LA COFRADÍA — Restaurante · Puerto del Carmen, Lanzarote
   style.css — Mobile First · Famara Web Studio
   Palette: Light White · Orange · Ocean Blue
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ─── VARIABLES ─── */
:root {
  --orange: #E8640A;
  --orange2: #C95000;
  --orange3: #D45800;
  --orange-glow: rgba(232, 100, 10, 0.12);
  --blue-acc: #2B6BE8;
  --dark: #FFFFFF;
  --dark2: #FAF7F3;
  --dark3: #F3EDE5;
  --dark4: #EBE4D8;
  --cream: #0B1628;
  --cream2: #1E3050;
  --muted: #5A6A80;
  --muted2: #4A5870;
  --line: rgba(11, 22, 40, 0.06);
  --line2: rgba(11, 22, 40, 0.10);
  --accent: var(--orange);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Lora", Georgia, serif;
  --sans: "Nunito", system-ui, sans-serif;
  --h: 66px;
}

/* ─── DARK SECTION OVERRIDES ─── */
/* Hero keeps light text over the dark photo overlay */
.hero {
  --cream: #EEF3FF;
  --cream2: #DDE6F8;
  --muted2: #8090A8;
  --orange3: #F07830;
}
/* Header transparent = sits over hero = needs light text */
.header {
  --cream: #EEF3FF;
  --muted2: #8090A8;
  --line2: rgba(238, 243, 255, 0.13);
}
/* Mobile menu stays dark */
.mobile-menu {
  --cream: #EEF3FF;
  --cream2: #DDE6F8;
  --muted: #5A6A80;
  --muted2: #8090A8;
  --line: rgba(238, 243, 255, 0.07);
  --line2: rgba(238, 243, 255, 0.13);
  --orange3: #F07830;
}
/* Carta, Especialidades, Reseñas → dark navy */
.carta-section {
  background: #070C18;
  --cream: #EEF3FF;
  --cream2: #DDE6F8;
  --muted: #5A6A80;
  --muted2: #8090A8;
  --orange3: #F07830;
  --line: rgba(238, 243, 255, 0.07);
  --line2: rgba(238, 243, 255, 0.13);
  --dark3: #0D1828;
  --dark4: #121E32;
}
.especialidades-section {
  background: #070C18;
  --cream: #EEF3FF;
  --cream2: #DDE6F8;
  --muted: #5A6A80;
  --muted2: #8090A8;
  --orange3: #F07830;
  --line: rgba(238, 243, 255, 0.07);
  --line2: rgba(238, 243, 255, 0.13);
}
.reviews-section {
  background: #070C18;
  --cream: #EEF3FF;
  --cream2: #DDE6F8;
  --muted: #5A6A80;
  --muted2: #8090A8;
  --orange3: #F07830;
  --line: rgba(238, 243, 255, 0.07);
  --line2: rgba(238, 243, 255, 0.13);
}
/* White cards inside dark Especialidades section */
.especialidades-section .esp-card {
  background: #FFFFFF;
  --cream: #0B1628;
  --cream2: #1E3050;
  --muted: #5A6A80;
  --muted2: #4A5870;
  --orange3: #D45800;
  border-color: rgba(212, 88, 0, 0.25);
}
/* White cards inside dark Reseñas section */
.reviews-section .review-card {
  background: #FFFFFF;
  --cream: #0B1628;
  --cream2: #1E3050;
  --muted: #5A6A80;
  --muted2: #4A5870;
  --orange3: #D45800;
  border-color: rgba(212, 88, 0, 0.25);
}
/* Footer stays dark navy */
.footer {
  background: #070C18 !important;
  border-top-color: rgba(238, 243, 255, 0.07) !important;
  --cream: #EEF3FF;
  --cream2: #DDE6F8;
  --muted: #5A6A80;
  --muted2: #8090A8;
  --line: rgba(238, 243, 255, 0.07);
  --line2: rgba(238, 243, 255, 0.13);
  --orange3: #F07830;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--dark);
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.loaded {
  opacity: 1;
}
body.page-exit {
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.15;
}
em {
  font-style: italic;
}

/* ─── STAGGER ─── */
.d1 { --d: 0.1s; }
.d2 { --d: 0.2s; }
.d3 { --d: 0.3s; }
.d4 { --d: 0.4s; }

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--h);
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(11, 22, 40, 0.10);
  --cream: #0B1628;
  --muted2: #4A5870;
  --line2: rgba(11, 22, 40, 0.10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.25rem;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--orange3);
}
.logo-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  display: block;
  line-height: 1.1;
}
.logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238, 243, 255, 0.72);
  display: block;
}
.header.scrolled .logo-sub {
  color: rgba(11, 22, 40, 0.5);
}

/* Desktop nav */
.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 900px) {
  .nav { display: flex; }
}
.nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(238, 243, 255, 0.6);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
  white-space: nowrap;
}
.header.scrolled .nav a {
  color: rgba(11, 22, 40, 0.55);
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1.5px;
  background: var(--orange3);
  transition: right 0.3s var(--ease);
}
.nav a:hover,
.nav a.nav-active {
  color: var(--cream);
}
.nav a:hover::after,
.nav a.nav-active::after {
  right: 0;
}

.lang-btns {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted2);
}
.lang-btn {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted2);
  padding: 4px 8px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.lang-btn.active,
.lang-btn:hover {
  color: var(--cream);
  background: rgba(238, 243, 255, 0.1);
}
.header.scrolled .lang-btn.active,
.header.scrolled .lang-btn:hover {
  background: rgba(11, 22, 40, 0.08);
}

.btn-reserva {
  display: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 9px 20px;
  border-radius: 3px;
  transition: background 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-reserva:hover {
  background: var(--orange2);
}
@media (min-width: 900px) {
  .btn-reserva { display: inline-flex; }
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .hamburger { display: none; }
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ════════════════════════════════════════════
   MOBILE MENU
════════════════════════════════════════════ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: fixed;
  inset: 0;
  background: #0C1220;
  z-index: 99;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-link {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  color: rgba(238, 243, 255, 0.8);
  transition: color 0.2s;
}
.mobile-link:hover {
  color: var(--orange3);
}

.mobile-cta {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 12px 28px;
  border-radius: 3px;
}

.mobile-lang {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(238, 243, 255, 0.07);
  border-radius: 4px;
  padding: 4px;
}
.mobile-lang .lang-btn { font-size: 0.72rem; padding: 6px 14px; }
.mobile-lang span { color: var(--muted); font-size: 0.75rem; }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--h) + 2rem) 1.25rem 4rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: calc(var(--h) + 3rem) 5vw 6rem; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1559339352-11d035aa65de?w=1600&q=85&auto=format&fit=crop")
    center / cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero.hero-loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 12, 24, 0.97) 0%,
    rgba(7, 12, 24, 0.65) 50%,
    rgba(7, 12, 24, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange3);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s var(--ease) 0.4s forwards;
}
.hero-title em { color: var(--orange3); }
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(238, 243, 255, 0.7);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s var(--ease) 0.65s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s var(--ease) 0.85s forwards;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 14px 28px;
  border-radius: 3px;
  transition: background 0.25s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(232, 100, 10, 0.4);
}
.btn-hero-primary:hover {
  background: var(--orange2);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1.5px solid rgba(238, 243, 255, 0.35);
  padding: 14px 28px;
  border-radius: 3px;
  transition: background 0.25s, border-color 0.25s;
}
.btn-hero-secondary:hover {
  background: rgba(238, 243, 255, 0.07);
  border-color: rgba(238, 243, 255, 0.65);
}

/* ════════════════════════════════════════════
   TICKER
════════════════════════════════════════════ */
.ticker-wrap {
  background: var(--orange);
  overflow: hidden;
  padding: 10px 0;
}
.ticker-track {
  display: inline-flex;
  animation: tickerMove 120s linear infinite !important;
  white-space: nowrap;
}
.ticker-track span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding-right: 2.5rem;
}

/* ════════════════════════════════════════════
   SECTIONS SHARED
════════════════════════════════════════════ */
.section {
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .section { padding: 7rem 0; }
}
.section-dark { background: var(--dark2); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-hd {
  text-align: center;
  margin-bottom: 3rem;
}
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange3);
  margin-bottom: 0.75rem;
}
.label::before,
.label::after {
  content: "";
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--orange3);
  flex-shrink: 0;
}
.section-hd h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.section-hd h2 em { color: var(--orange3); font-style: italic; }
.section-hd h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2.5px;
  background: var(--orange);
  margin: 0.65rem auto 0;
  border-radius: 2px;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--muted2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ════════════════════════════════════════════
   CARTA
════════════════════════════════════════════ */

.carta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 700px) {
  .carta-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .carta-grid { grid-template-columns: repeat(3, 1fr); }
}

.carta-block {
  background: var(--dark3);
  border: 1px solid rgba(212, 88, 0, 0.18);
  border-top: 2px solid var(--orange);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  position: relative;
  box-shadow: 0 4px 20px rgba(11, 22, 40, 0.08);
}
.carta-block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
@media (hover: hover) {
  .carta-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(11, 22, 40, 0.12);
  }
  .carta-block:hover::after { transform: scaleX(1); }
}

.carta-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(212, 88, 0, 0.18);
  background: rgba(232, 100, 10, 0.07);
}
.carta-block-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--orange3);
}
.carta-block-icon svg { width: 100%; height: 100%; }
.carta-block-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
}

.carta-items { padding: 0.5rem 0; }
.carta-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.65rem 1.4rem;
  gap: 1rem;
  border-bottom: 1px solid rgba(212, 88, 0, 0.12);
  transition: background 0.2s;
}
.carta-item:last-child { border-bottom: none; }
@media (hover: hover) {
  .carta-item:hover { background: rgba(232, 100, 10, 0.05); }
}
.carta-item-name {
  font-size: 0.9rem;
  color: var(--cream);
  line-height: 1.4;
}
.carta-item-desc {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
  margin-top: 1px;
}
.carta-item-price {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange3);
  flex-shrink: 0;
}
.carta-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2rem;
  letter-spacing: 0.03em;
}

/* ════════════════════════════════════════════
   ESPECIALIDADES
════════════════════════════════════════════ */
.especialidades-section {
  background: #070C18;
  padding: 5rem 0 4rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .especialidades-section { padding: 7rem 0 5rem; }
}

.esp-marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 1.5rem;
}
.esp-marquee-wrap::before,
.esp-marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.esp-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, #070C18, transparent);
}
.esp-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, #070C18, transparent);
}
.esp-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  padding: 0.5rem 0.75rem 0.5rem;
  animation: marqueeSlide 70s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.esp-card {
  flex: 0 0 280px;
  background: var(--dark4);
  border: 1px solid rgba(212, 88, 0, 0.18);
  border-top: 2px solid var(--orange);
  border-radius: 10px;
  padding: 1.5rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  box-shadow: 0 2px 10px rgba(11, 22, 40, 0.06);
}
@media (min-width: 600px) {
  .esp-card { flex: 0 0 300px; }
}
.esp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top left,
    var(--orange-glow) 0%,
    transparent 65%
  );
  pointer-events: none;
}
@media (hover: hover) {
  .esp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(11, 22, 40, 0.12);
  }
}

.esp-card-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange3);
}
.esp-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}
.esp-card-desc {
  font-size: 0.8rem;
  color: var(--muted2);
}
.esp-card-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  background: #070C18;
  color: #F07830;
  margin-top: auto;
  align-self: flex-start;
}
.esp-card-note {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ════════════════════════════════════════════
   GALERÍA
════════════════════════════════════════════ */
.galeria-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 2.5rem 1.25rem 1rem;
  scrollbar-width: none;
  cursor: grab;
}
.galeria-strip::-webkit-scrollbar { display: none; }

.galeria-thumb {
  flex: 0 0 260px;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  position: relative;
}
@media (min-width: 600px) {
  .galeria-thumb { flex: 0 0 300px; height: 220px; }
}
@media (min-width: 900px) {
  .galeria-thumb { flex: 0 0 340px; height: 240px; }
}

.galeria-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
@media (hover: hover) {
  .galeria-thumb:hover img { transform: scale(1.06); }
}

.galeria-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 24, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.galeria-thumb-overlay svg { width: 32px; height: 32px; color: #fff; }
@media (hover: hover) {
  .galeria-thumb:hover .galeria-thumb-overlay { opacity: 1; }
}

.galeria-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0.75rem 0 1.5rem;
}
.galeria-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(11, 22, 40, 0.15);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.galeria-dot.active {
  background: var(--orange3);
  transform: scale(1.3);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 24, 0.97);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s;
}
.lb-img.fade { opacity: 0; }
.lb-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(238, 243, 255, 0.1);
  color: var(--cream);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.lb-close:hover { background: rgba(238, 243, 255, 0.2); }
.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(238, 243, 255, 0.1);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  z-index: 10;
}
.lb-arrow:hover {
  background: rgba(232, 100, 10, 0.35);
  transform: translateY(-50%) scale(1.08);
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
@media (min-width: 768px) {
  .lb-prev { left: 2rem; }
  .lb-next { right: 2rem; }
}
.lb-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(238, 243, 255, 0.5);
}

/* ════════════════════════════════════════════
   RESEÑAS MARQUEE
════════════════════════════════════════════ */
.reviews-section {
  padding: 4rem 0;
  background: #070C18;
  overflow: hidden;
}
.reviews-hd {
  text-align: center;
  margin-bottom: 2rem;
}
.marquee-wrap {
  position: relative;
  overflow: hidden;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, #070C18, transparent);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, #070C18, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  padding: 0.5rem 0.75rem 1rem;
  animation: marqueeSlide 70s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.review-card {
  background: var(--dark3);
  border: 1px solid rgba(212, 88, 0, 0.18);
  border-top: 2px solid var(--orange);
  border-radius: 8px;
  padding: 1.4rem;
  width: 290px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease);
  box-shadow: 0 2px 10px rgba(11, 22, 40, 0.06);
}
.review-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
@media (hover: hover) {
  .review-card:hover { transform: translateY(-4px); }
  .review-card:hover::after { transform: scaleX(1); }
}
.review-text {
  font-size: 0.88rem;
  color: var(--muted2);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-style: italic;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-author strong {
  font-size: 0.85rem;
  color: var(--cream);
}
.review-author span {
  font-size: 0.75rem;
  color: var(--orange3);
}

/* ════════════════════════════════════════════
   CONTACTO
════════════════════════════════════════════ */
.contacto-section { background: var(--dark); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
@media (min-width: 860px) {
  .contacto-grid { grid-template-columns: 1fr 1.1fr; }
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info-block {
  padding: 1.25rem 1.4rem;
  background: var(--dark3);
  border: 1px solid var(--line2);
  border-radius: 8px;
}
.info-block h3 {
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange3);
  margin-bottom: 0.75rem;
}
.horario-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted2);
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.horario-row:last-child { border-bottom: none; }
.horario-row.highlight { color: var(--cream); font-weight: 600; }
.info-block p,
.info-block a {
  font-size: 0.88rem;
  color: var(--muted2);
  display: block;
  line-height: 1.6;
  transition: color 0.2s;
}
.info-block a:hover { color: var(--orange3); }

.btn-wa {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 6px;
  transition: background 0.25s, transform 0.25s;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}
.btn-wa:hover { background: #1ab956; transform: translateY(-2px); }

.mapa-wrap {
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
  border: 1px solid var(--line2);
}
.mapa-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.contacto-form {
  background: var(--dark3);
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.form-title em { color: var(--orange3); }
.form-subtitle { font-size: 0.85rem; color: var(--muted2); margin-bottom: 0.5rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted2);
}
.form-input {
  background: #FFFFFF;
  border: 1.5px solid rgba(11, 22, 40, 0.18);
  border-radius: 5px;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--cream);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.25s, background 0.25s;
}
.form-input::placeholder { color: rgba(11, 22, 40, 0.3); }
.form-input:focus {
  outline: none;
  border-color: var(--orange3);
  background: #FFFFFF;
}
.form-textarea { resize: vertical; min-height: 90px; }
select.form-input { cursor: pointer; }
select.form-input option { background: #fff; color: #0B1628; }

.btn-form-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 5px;
  transition: background 0.25s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.35);
  margin-top: 0.25rem;
}
.btn-form-wa:hover { background: #1ab956; transform: translateY(-2px); }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  background: var(--dark2);
  border-top: 1px solid var(--line2);
  padding: 3.5rem 0 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted2);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
}
.footer-social a:hover { color: var(--cream); transform: translateY(-2px); }
.footer-social a[aria-label="Instagram"]:hover {
  border-color: #e1306c;
  background: rgba(225, 48, 108, 0.15);
}
.footer-social a[aria-label="Facebook"]:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.15);
}
.footer-social a[aria-label="TripAdvisor"]:hover {
  border-color: #00af87;
  background: rgba(0, 175, 135, 0.15);
}
.footer-social svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-col h4 {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange3);
  margin-bottom: 1rem;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
  transition: color 0.2s;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.25rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-right: 5rem;
}
@media (max-width: 768px) {
  .footer-bottom { padding-right: 4.5rem; }
}
.footer-bottom span { font-size: 0.78rem; color: var(--muted); }
.footer-credit a { color: var(--orange3); transition: color 0.2s; }
.footer-credit a:hover { opacity: 0.8; }

/* ════════════════════════════════════════════
   WHATSAPP FLOAT
════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: waPulse 3s ease infinite;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s;
}
.wa-float:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}
@media (max-width: 768px) {
  .wa-float { bottom: 1.2rem; right: 1.2rem; }
}

/* ════════════════════════════════════════════
   SCROLL TO TOP
════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--dark4);
  border: 1.5px solid var(--line2);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.25s;
  pointer-events: none;
  z-index: 190;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
@media (max-width: 768px) {
  .scroll-top { bottom: 5.5rem; right: 1.2rem; }
}

/* ════════════════════════════════════════════
   REVEAL ON SCROLL
════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  60%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
