﻿:root {
  --bg: #f7f3eb;
  --surface: #ffffff;
  --text: #1f1d19;
  --muted: #5f5a52;
  --brand: #a3471e;
  --brand-dark: #7d3314;
  --accent: #cf9a4a;
  --border: #e7dfd2;
  --shadow: 0 12px 30px rgba(33, 24, 16, 0.12);
}

* {
  box-sizing: border-box;
}

/* ─── Page Loader ──────────────────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader img {
  width: 120px;
  animation: loaderPulse 1.2s ease infinite alternate;
}

@keyframes loaderPulse {
  from { opacity: 0.6; transform: scale(0.96); }
  to   { opacity: 1;   transform: scale(1.04); }
}

.page-loader.done {
  opacity: 0;
  visibility: hidden;
}

body.loading {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--brand-dark);
  text-decoration: none;
}

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.top-bar {
  background: #1f1d19;
  color: #f4efe7;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.top-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.top-links a {
  color: #f4efe7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}

.brand img {
  width: 172px;
  height: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
  align-items: center;
}

.main-nav a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.main-nav a:hover,
.main-nav a.active {
  background: #f2e8d9;
  color: var(--brand-dark);
}

.hero {
  position: relative;
  min-height: 66vh;
  background-color: #2e1a10;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero.small {
  min-height: 44vh;
}

.hero-content {
  padding: 84px 0 70px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13px;
  color: #f0dcb8;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.1;
  font-family: 'Playfair Display', Georgia, serif;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

.hero p {
  margin: 18px 0 0;
  font-size: clamp(17px, 2.2vw, 21px);
  max-width: 760px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 10px;
  padding: 0 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
}

.btn-secondary:hover {
  background: #f4efe7;
  color: var(--text);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: #fff;
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: #fbf8f3;
}

.section-title {
  margin: 0 0 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.12;
}

.section-subtitle {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 18px;
  max-width: 760px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.col-6 {
  grid-column: span 6;
}

.col-4 {
  grid-column: span 4;
}

.col-3 {
  grid-column: span 3;
}

.col-8 {
  grid-column: span 8;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card .media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .body {
  padding: 18px;
}

.menu-card .media {
  aspect-ratio: auto;
  background: #fff;
}

.menu-card .media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card h3,
.card h4 {
  margin: 0 0 8px;
  font-family: 'Playfair Display', Georgia, serif;
}

.strip {
  background: #2e241a;
  color: #efe7dc;
  padding: 22px 0;
}

.strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.list-inline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-inline li {
  margin-bottom: 8px;
}

.info-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
  height: 100%;
}

.info-block h4 {
  margin: 0 0 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 25px;
}

.map-wrap iframe {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: 14px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.reservation-form-card {
  padding: 30px;
}

.form-card h3 {
  margin: 0 0 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d8cfbf;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  color: var(--text);
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #433f38;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #e6bf83;
  border-color: #c98f43;
}

.form-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.reservation-layout {
  align-items: stretch;
  gap: 24px;
}

.reservation-info {
  display: grid;
  gap: 16px;
}

.quick-facts {
  background: #2e241a;
  color: #f7ecdf;
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.quick-facts h5 {
  margin: 0 0 10px;
  font-size: 22px;
  font-family: 'Playfair Display', Georgia, serif;
}

.quick-facts p {
  margin: 0 0 8px;
  color: #f7ecdf;
}

.quick-facts strong {
  color: #fff;
}

.reservation-form-card .form-note:first-of-type {
  margin: 0 0 18px;
  font-size: 15px;
}

.reservation-form-card input,
.reservation-form-card textarea,
.reservation-form-card select {
  background: #fcfaf6;
}

.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  background: #1f1d19;
  color: #d9d1c4;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.site-footer h5 {
  margin: 0 0 10px;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
}

.site-footer a {
  color: #f2d3a1;
}

.site-footer p,
.site-footer li {
  margin: 0 0 8px;
  color: #d9d1c4;
}

.copyright {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: #ad9f8b;
  font-size: 14px;
}

.faq-list {
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(33, 24, 16, 0.06);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.3;
}

/* faq-item > p styling moved to Fase 10 enhanced section below */

.faq-item > p a {
  font-weight: 600;
}

.top-links .fa {
  margin-right: 3px;
}

@media (max-width: 992px) {
  .main-nav {
    position: absolute;
    right: 4vw;
    top: 78px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: min(320px, 92vw);
    padding: 8px;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .col-6,
  .col-8,
  .col-4,
  .col-3 {
    grid-column: span 12;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-content {
    padding: 64px 0 58px;
  }

  .section {
    padding: 54px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Card image zoom on hover ─────────────────────────────────────────── */
.card .media img {
  transition: transform 0.48s ease;
}

.card:hover .media img {
  transform: scale(1.07);
}

/* hero fallback colour already set in .hero base rule above */

/* ─── Stats bar ─────────────────────────────────────────────────────────── */
.stats-bar {
  color: #fff;
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1;
  display: block;
  color: #fff;
}

.stat-item .stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

/* ─── TripAdvisor / review strip ────────────────────────────────────────── */
.review-strip {
  background: var(--accent);
  padding: 20px 0;
  color: #1f1d19;
}

.review-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.review-strip strong {
  font-size: 17px;
}

/* ─── Gallery grid ──────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ─── Scroll-reveal (only active when JS adds .js to <html>) ────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Footer B22G credit line ───────────────────────────────────────────── */
.footer-credit {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  color: #6e6458;
  font-size: 13px;
}

.footer-credit a {
  color: var(--accent);
  font-weight: 700;
}

/* ─── Responsive additions ──────────────────────────────────────────────── */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

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

  .review-strip .container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ─── Hero entrance animation (staggered) ──────────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content h1        { animation: heroFadeUp 0.8s ease both 0.35s; }
.hero-content > p       { animation: heroFadeUp 0.8s ease both 0.55s; }
.hero-content .actions  { animation: heroFadeUp 0.8s ease both 0.70s; }

/* ─── Flyer display (menu page) ─────────────────────────────────────────── */
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.flyer-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(33, 24, 16, 0.18);
  cursor: zoom-in;
  text-decoration: none;
}

.flyer-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flyer-item:hover img {
  transform: scale(1.04);
}

.flyer-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 12, 6, 0);
  transition: background 0.35s ease;
}

.flyer-overlay span {
  background: rgba(163, 71, 30, 0.9);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 11px 24px;
  border-radius: 10px;
  letter-spacing: 0.4px;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.flyer-item:hover .flyer-overlay {
  background: rgba(20, 12, 6, 0.3);
}

.flyer-item:hover .flyer-overlay span {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ─── Lightbox ───────────────────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 5, 2, 0.95);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: min(94vw, 1100px);
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.75);
  transform: scale(0.92);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ─── Floating "Book a Table" CTA ─────────────────────────────────────── */
.float-book {
  position: fixed;
  bottom: 28px;
  right: 26px;
  z-index: 90;
  background: var(--brand);
  color: #fff;
  border-radius: 50px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 28px rgba(163, 71, 30, 0.55);
  transform: translateY(88px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, background 0.2s ease;
  text-decoration: none;
}

.float-book.visible {
  transform: translateY(0);
  opacity: 1;
}

.float-book:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-3px);
}

/* ─── Gallery item hover overlay hint ──────────────────────────────────── */
.gallery-item::after {
  content: '\f00e';
  font-family: 'FontAwesome';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: rgba(20, 12, 6, 0);
  opacity: 0;
  transition: background 0.3s ease, opacity 0.3s ease;
  border-radius: 10px;
}

.gallery-item:hover::after {
  background: rgba(20, 12, 6, 0.42);
  opacity: 1;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .flyer-grid {
    grid-template-columns: 1fr;
  }

  .float-book {
    bottom: 18px;
    right: 14px;
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODERNIZATION ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Fase 2: Hero Enhancements ────────────────────────────────────────── */

/* Animated gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(20,14,10,0.65) 0%,
    rgba(163,71,30,0.25) 40%,
    rgba(20,14,10,0.6) 70%,
    rgba(207,154,74,0.15) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  z-index: 1;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Floating spice particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0%   { opacity: 0;    transform: translateY(0) translateX(0) scale(0.5); }
  10%  { opacity: 0.25; }
  90%  { opacity: 0.15; }
  100% { opacity: 0;    transform: translateY(-100vh) translateX(var(--drift)) scale(1); }
}

.hero-particles span:nth-child(1)  { width: 4px; height: 4px; left: 8%;  bottom: -10px; --drift: 30px;  animation-duration: 12s; animation-delay: 0s; }
.hero-particles span:nth-child(2)  { width: 6px; height: 6px; left: 18%; bottom: -10px; --drift: -20px; animation-duration: 15s; animation-delay: 1s; }
.hero-particles span:nth-child(3)  { width: 3px; height: 3px; left: 30%; bottom: -10px; --drift: 40px;  animation-duration: 10s; animation-delay: 2.5s; }
.hero-particles span:nth-child(4)  { width: 5px; height: 5px; left: 42%; bottom: -10px; --drift: -35px; animation-duration: 18s; animation-delay: 0.5s; }
.hero-particles span:nth-child(5)  { width: 4px; height: 4px; left: 55%; bottom: -10px; --drift: 25px;  animation-duration: 14s; animation-delay: 3s; }
.hero-particles span:nth-child(6)  { width: 6px; height: 6px; left: 65%; bottom: -10px; --drift: -15px; animation-duration: 11s; animation-delay: 1.5s; }
.hero-particles span:nth-child(7)  { width: 3px; height: 3px; left: 75%; bottom: -10px; --drift: 50px;  animation-duration: 16s; animation-delay: 4s; }
.hero-particles span:nth-child(8)  { width: 5px; height: 5px; left: 85%; bottom: -10px; --drift: -40px; animation-duration: 13s; animation-delay: 2s; }
.hero-particles span:nth-child(9)  { width: 4px; height: 4px; left: 12%; bottom: -10px; --drift: 20px;  animation-duration: 17s; animation-delay: 5s; }
.hero-particles span:nth-child(10) { width: 6px; height: 6px; left: 48%; bottom: -10px; --drift: -25px; animation-duration: 19s; animation-delay: 3.5s; }
.hero-particles span:nth-child(11) { width: 3px; height: 3px; left: 92%; bottom: -10px; --drift: 15px;  animation-duration: 12s; animation-delay: 6s; }
.hero-particles span:nth-child(12) { width: 5px; height: 5px; left: 38%; bottom: -10px; --drift: -30px; animation-duration: 20s; animation-delay: 1s; }

/* Typewriter eyebrow */
.hero-content .eyebrow {
  display: inline-block;
  border-right: 2px solid var(--accent);
  animation: heroFadeUp 0.7s ease both 0.15s, blinkCursor 0.75s step-end infinite 1s;
  clip-path: inset(0 0 0 0);
}

@keyframes blinkCursor {
  50% { border-right-color: transparent; }
}

/* ─── Fase 3: Enhanced Reveal System ───────────────────────────────────── */
.js .reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal-left.visible,
.js .reveal-right.visible,
.js .reveal-scale.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Fase 4: Section Title Underline ──────────────────────────────────── */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--accent);
  margin-top: 10px;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.section-title.visible::after {
  width: 60px;
}

/* ─── Fase 5: Card 3D Tilt + Glow ─────────────────────────────────────── */
.card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card[data-tilt] {
  transform-style: preserve-3d;
  perspective: 800px;
}

.card[data-tilt]::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: conic-gradient(from 0deg, var(--accent), var(--brand), var(--accent), var(--brand), var(--accent));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-size: 100% 100%;
}

.card[data-tilt]:hover::before {
  opacity: 0.5;
}

.card[data-tilt]:hover {
  box-shadow: 0 20px 50px rgba(163, 71, 30, 0.2);
}

/* ─── Fase 6: Button Micro-interactions ────────────────────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(163, 71, 30, 0.35);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transition: left 0.6s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(163, 71, 30, 0.5);
}

.btn-ghost:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(207, 154, 74, 0.2);
}

/* Floating button pulse */
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(163,71,30,0.55); }
  50%      { box-shadow: 0 8px 40px rgba(163,71,30,0.8); }
}

.float-book.visible {
  animation: floatPulse 2.5s ease infinite;
}

.float-book.visible:hover {
  animation: none;
}

/* Nav link underline animation */
.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
  transition: width 0.3s ease, left 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 70%;
  left: 15%;
}

/* ─── Fase 7: Stats Bar Enhanced ───────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark), #c46a2e, var(--brand));
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  position: relative;
}

@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.stat-icon {
  display: block;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.stat-number.counted {
  animation: countPulse 0.4s ease;
}

@keyframes countPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ─── Fase 8: Gallery Enhanced ─────────────────────────────────────────── */
.gallery-item {
  position: relative;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 2;
}

.gallery-item::after {
  content: attr(data-caption);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  padding-bottom: 20px;
  letter-spacing: 0.3px;
}

.gallery-item:hover img {
  transform: scale(1.08) rotate(0.5deg);
}

/* ─── Fase 9: Review Carousel ──────────────────────────────────────────── */
.review-strip {
  overflow: hidden;
  position: relative;
}

.review-carousel {
  overflow: hidden;
  padding: 10px 0;
}

.review-track {
  display: flex;
  gap: 24px;
  animation: scrollCarousel 30s linear infinite;
  width: max-content;
}

.review-track:hover {
  animation-play-state: paused;
}

@keyframes scrollCarousel {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 24px;
  min-width: 300px;
  max-width: 340px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.review-card .review-stars {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-card .review-text {
  margin: 0 0 12px;
  color: #1f1d19;
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
}

.review-card .review-author {
  font-weight: 700;
  font-size: 13px;
  color: rgba(31, 29, 25, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── Fase 10: Section Dividers + FAQ Smooth ───────────────────────────── */
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: var(--brand);
  clip-path: polygon(0 0, 100% 0, 100% 0%, 50% 100%, 0 0%);
  z-index: 2;
}

.stats-bar + .section {
  padding-top: 100px;
}

.faq-item > p {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  transition: max-height 0.4s ease, padding 0.4s ease;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item[open] > p {
  max-height: 300px;
  padding: 0 22px 20px;
}

.faq-item summary::after {
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

/* ─── Fase 11: Glassmorphism Header ────────────────────────────────────── */
.site-header {
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 2px 20px rgba(33, 24, 16, 0.08);
}

/* ─── Fase 12: Reduced Motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero-particles { display: none; }
  .hero-content .eyebrow { animation: heroFadeUp 0.7s ease both 0.15s; border-right: none; }
  .review-track { animation: none; flex-wrap: wrap; }
  .stats-bar { animation: none; }
  .float-book.visible { animation: none; }
  .card[data-tilt] { perspective: none; transform-style: flat; }

  .js .reveal,
  .js .reveal-left,
  .js .reveal-right,
  .js .reveal-scale {
    transition-duration: 0.3s;
  }

  @keyframes heroFadeUp {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

/* ─── Responsive: Carousel + Gallery masonry ───────────────────────────── */
@media (max-width: 992px) {
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
  }

  .review-card {
    min-width: 260px;
  }
}

@media (max-width: 640px) {
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
  }

  .review-card {
    min-width: 240px;
    padding: 18px;
  }

  .stats-bar::after {
    height: 20px;
    bottom: -20px;
  }

  .stats-bar + .section {
    padding-top: 74px;
  }
}
