/* ==========================================================================
   CONSTTANA CAFÉ — STYLESHEET
   Design tokens -> Base/reset -> Layout utilities -> Components -> Sections
   -> Animations -> Responsive -> Dark mode -> Accessibility
   ========================================================================== */

/* ---------------------------------------------------------------------- 
   1. DESIGN TOKENS
   Palette inspired by an espresso bar: near-black espresso, warm cream
   walls, brass/crema gold for the one accent that gets to shine.
------------------------------------------------------------------------ */
:root {
  /* Colors */
  --black: #1B120D;          /* espresso black */
  --black-soft: #241811;
  --white: #FFFFFF;
  --cream: #F7F0E4;          /* main background */
  --cream-2: #FBF7EF;
  --beige: #E7D8BE;          /* secondary surface */
  --brown: #4A2E23;          /* headings / primary text */
  --brown-dark: #2E1B14;
  --gold: #B98A46;           /* crema gold — the one accent */
  --gold-light: #D9B577;
  --line: rgba(74, 46, 35, 0.14);

  /* Text on dark */
  --text-on-dark: #F3E9D8;
  --text-on-dark-muted: rgba(243, 233, 216, 0.68);

  /* Typography */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* Layout */
  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --nav-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 1s;

  /* Shadow */
  --shadow-sm: 0 4px 18px rgba(46, 27, 20, 0.08);
  --shadow-md: 0 14px 40px rgba(46, 27, 20, 0.14);
  --shadow-lg: 0 24px 70px rgba(46, 27, 20, 0.22);
}

/* ---------------------------------------------------------------------- 
   2. RESET / BASE
------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brown-dark);
  margin: 0 0 0.5em;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--brown); }

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 14px;
}

section { position: relative; }

/* Custom cursor (desktop only, applied via JS body class) */
.cursor, .cursor-dot { display: none; }
body.has-cursor { cursor: none; }
body.has-cursor .cursor {
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease), opacity var(--dur-fast);
  opacity: 0.7;
}
body.has-cursor .cursor-dot {
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
body.has-cursor .cursor.is-active { width: 60px; height: 60px; opacity: 1; background: rgba(185,138,70,0.08); }

/* ---------------------------------------------------------------------- 
   3. LOADER / INTRO
------------------------------------------------------------------------ */
.loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, var(--black-soft), var(--black) 75%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__steam {
  position: absolute;
  top: 30%;
  display: flex;
  gap: 10px;
}
.loader__steam span {
  width: 3px; height: 46px;
  border-radius: 3px;
  background: linear-gradient(to top, transparent, rgba(217,181,119,0.5));
  animation: steamRise 2.6s ease-in-out infinite;
}
.loader__steam span:nth-child(2) { animation-delay: 0.4s; height: 58px; }
.loader__steam span:nth-child(3) { animation-delay: 0.8s; }
@keyframes steamRise {
  0% { transform: translateY(10px) scaleY(0.6); opacity: 0; }
  35% { opacity: 0.9; }
  100% { transform: translateY(-60px) scaleY(1.3); opacity: 0; }
}

.loader__logo {
  opacity: 0;
  transform: translateY(14px);
  text-align: center;
  animation: loaderLogoIn 1s var(--ease) forwards 0.25s;
}
@keyframes loaderLogoIn { to { opacity: 1; transform: translateY(0); } }

.loader__mark { display: block; margin: 0 auto 14px; }
.loader__ring { fill: none; stroke: var(--gold-light); stroke-width: 1.2; opacity: 0.55; }
.loader__ring--inner { stroke-dasharray: 4 6; }
.loader__bean { fill: var(--gold-light); }

.loader__word {
  font-family: var(--font-display);
  color: var(--text-on-dark);
  font-size: 1.9rem;
  margin: 0;
  letter-spacing: 0.01em;
}
.loader__word--sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--gold-light);
  margin-top: 2px;
}

.loader__tagline {
  position: absolute;
  bottom: 16%;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
  opacity: 0;
  animation: taglineIn 0.9s var(--ease) forwards 1.3s;
}
@keyframes taglineIn { to { opacity: 1; } }

/* ---------------------------------------------------------------------- 
   4. NAVBAR
------------------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease), box-shadow var(--dur-fast);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav.is-scrolled {
  height: 70px;
  background: rgba(247, 240, 228, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-sm);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-on-dark);
  transition: color var(--dur-fast);
}
.nav.is-scrolled .nav__logo { color: var(--brown-dark); }
.nav__logo em { font-style: italic; color: var(--gold); }
.nav__logo-ring { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: 0.5; }
.nav__logo-bean { fill: var(--gold); }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-size: 0.88rem;
  color: var(--text-on-dark);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-fast);
}
.nav.is-scrolled .nav__link { color: var(--brown); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--dur-fast) var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
  padding: 9px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav__burger span {
  height: 2px;
  background: var(--cream);
  transition: all var(--dur-fast) var(--ease);
}
.nav.is-scrolled .nav__burger span { background: var(--brown); }
.nav.is-menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------- 
   5. BUTTONS
------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast);
}
.btn--primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--gold-light); }
.btn--ghost {
  border: 1px solid rgba(247,240,228,0.55);
  color: var(--text-on-dark);
}
.btn--ghost:hover { background: rgba(247,240,228,0.12); transform: translateY(-3px); }

/* ---------------------------------------------------------------------- 
   6. HERO
------------------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.8);
  transform: scale(1.08);
  animation: heroKen 16s ease-in-out infinite alternate;
}
@keyframes heroKen { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,18,13,0.72) 0%, rgba(27,18,13,0.55) 45%, rgba(27,18,13,0.92) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero__steam {
  position: absolute;
  right: 12%;
  bottom: 30%;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero__steam span {
  width: 3px; height: 60px;
  border-radius: 3px;
  background: linear-gradient(to top, transparent, rgba(217,181,119,0.35));
  animation: steamRise 4s ease-in-out infinite;
}
.hero__steam span:nth-child(2) { animation-delay: 0.9s; height: 74px; }
.hero__steam span:nth-child(3) { animation-delay: 1.8s; }

.hero__content { position: relative; z-index: 3; max-width: 760px; }
.hero__title {
  color: var(--text-on-dark);
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  margin-bottom: 0.3em;
}
.hero__title em { font-style: italic; color: var(--gold-light); }
.reveal-line { display: block; overflow: hidden; }
.reveal-inner { display: inline-block; transform: translateY(110%); animation: lineUp 0.9s var(--ease) forwards; }
.reveal-line:nth-child(2) .reveal-inner { animation-delay: 0.12s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__subtitle {
  color: var(--text-on-dark-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2em;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 40px; left: 32px;
  z-index: 3;
  color: var(--text-on-dark-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: var(--gold-light);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0; right: 0;
  height: 100%;
  background: var(--text-on-dark);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* ---------------------------------------------------------------------- 
   7. SECTION HEAD (shared)
------------------------------------------------------------------------ */
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head__sub { color: var(--brown); opacity: 0.8; }
.section-head--light h2, .section-head--light .section-head__sub { color: var(--text-on-dark); }
.section-head--light .eyebrow { color: var(--gold-light); }

/* ---------------------------------------------------------------------- 
   8. ABOUT
------------------------------------------------------------------------ */
.about { padding: 140px 0; }
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about__media-frame {
  position: absolute;
  top: 22px; left: 22px;
  right: -22px; bottom: -22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about__badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--brown-dark);
  color: var(--text-on-dark);
  border-radius: 50%;
  width: 108px; height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.about__badge-num { font-family: var(--font-display); font-size: 1.3rem; }
.about__badge-text { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--gold-light); }

.about__list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.about__list li {
  padding-left: 20px;
  border-left: 2px solid var(--line);
  color: var(--brown);
}
.about__list span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

/* ---------------------------------------------------------------------- 
   9. SPECIALTIES
------------------------------------------------------------------------ */
.specialties { padding: 60px 0 140px; }
.specialties__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.spec-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.spec-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.spec-card__img { aspect-ratio: 1/1; overflow: hidden; }
.spec-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.spec-card:hover .spec-card__img img { transform: scale(1.08); }
.spec-card__body { padding: 22px 22px 26px; position: relative; }
.spec-card__icon { font-size: 1.3rem; }
.spec-card__body h3 { margin: 8px 0 6px; }
.spec-card__body p { font-size: 0.9rem; color: rgba(74,46,35,0.75); margin-bottom: 0.4em; }
.spec-card__price {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 500;
}

/* ---------------------------------------------------------------------- 
   10. MENU
------------------------------------------------------------------------ */
.menu {
  background: var(--brown-dark);
  padding: 140px 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(185,138,70,0.08), transparent 45%);
}
.menu__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.menu__tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(247,240,228,0.2);
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  transition: all var(--dur-fast) var(--ease);
}
.menu__tab:hover { border-color: var(--gold); color: var(--text-on-dark); }
.menu__tab.is-active { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 600; }

.menu__panel {
  max-width: 720px;
  margin: 0 auto;
  display: none;
  flex-direction: column;
}
.menu__panel.is-active { display: flex; }
.menu__panel li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(247,240,228,0.16);
  animation: fadeIn 0.5s var(--ease);
}
.menu__panel h4 { color: var(--text-on-dark); margin: 0 0 4px; font-size: 1.05rem; }
.menu__panel p { color: var(--text-on-dark-muted); font-size: 0.85rem; margin: 0; }
.menu__panel span { font-family: var(--font-mono); color: var(--gold-light); white-space: nowrap; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------------- 
   11. GALLERY (Masonry)
------------------------------------------------------------------------ */
.gallery { padding: 140px 0; }
.gallery__grid {
  columns: 3 260px;
  column-gap: 22px;
}
.gallery__item {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  break-inside: avoid;
}
.gallery__item img {
  width: 100%;
  transition: transform 0.7s var(--ease), filter 0.5s;
}
.gallery__item::after {
  content: "＋";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-dark);
  font-size: 1.6rem;
  background: rgba(27,18,13,0.35);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover img { transform: scale(1.1); }

/* ---------------------------------------------------------------------- 
   12. REVIEWS / TESTIMONIALS CAROUSEL
------------------------------------------------------------------------ */
.reviews { background: var(--brown-dark); padding: 140px 0 110px; }
.reviews__carousel { overflow: hidden; }
.reviews__track {
  display: flex;
  gap: 24px;
  transition: transform 0.7s var(--ease);
}
.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background: rgba(247,240,228,0.05);
  border: 1px solid rgba(247,240,228,0.1);
  border-radius: var(--radius-md);
  padding: 30px;
}
.review-card__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.review-card p { color: var(--text-on-dark); font-family: var(--font-display); font-style: italic; font-size: 1.02rem; }
.review-card__author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review-card__author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.review-card__author strong { display: block; color: var(--text-on-dark); font-size: 0.9rem; }
.review-card__author span { font-size: 0.78rem; color: var(--text-on-dark-muted); }

.reviews__dots { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.reviews__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(247,240,228,0.25);
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.reviews__dots button.is-active { background: var(--gold); transform: scale(1.3); }

/* ---------------------------------------------------------------------- 
   13. STATS
------------------------------------------------------------------------ */
.stats { padding: 100px 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--brown-dark);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------------------------------------------------------------------- 
   14. LOCATION
------------------------------------------------------------------------ */
.location { padding: 0 0 140px; }
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: stretch;
}
.location__info { align-self: center; }
.location__details { margin: 30px 0 34px; display: flex; flex-direction: column; gap: 22px; }
.location__details li { display: flex; gap: 16px; }
.location__icon { font-size: 1.2rem; }
.location__details strong { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.location__details p { margin: 0; }
.location__details a:hover { color: var(--gold); }
.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------------------- 
   15. FOOTER
------------------------------------------------------------------------ */
.footer { background: var(--black); color: var(--text-on-dark-muted); padding: 90px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(247,240,228,0.1);
}
.footer__brand p { max-width: 280px; margin-top: 14px; }
.nav__logo--footer { color: var(--text-on-dark); margin-bottom: 6px; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(247,240,228,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem;
  transition: all var(--dur-fast);
}
.footer__social a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.footer__col h4 { color: var(--text-on-dark); font-size: 0.85rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-weight: 500;}
.footer__col p { margin: 0 0 10px; font-size: 0.9rem; }
.footer__col a:hover { color: var(--gold-light); }
.footer__bottom { padding: 26px 0; text-align: center; font-size: 0.8rem; }

/* ---------------------------------------------------------------------- 
   16. FLOATING BUTTONS
------------------------------------------------------------------------ */
.whatsapp-btn {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 58px; height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 800;
}
.whatsapp-btn::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.9); opacity: 0; }
}

.to-top {
  position: fixed;
  right: 26px; bottom: 96px;
  width: 44px; height: 44px;
  background: var(--brown-dark);
  color: var(--text-on-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all var(--dur-fast) var(--ease);
  z-index: 800;
  box-shadow: var(--shadow-sm);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------------------------------------------------------------------- 
   17. LIGHTBOX
------------------------------------------------------------------------ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 13, 9, 0.92);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9500;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), visibility var(--dur-fast);
  padding: 40px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  transition: transform var(--dur-med) var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 30px; right: 34px;
  color: var(--text-on-dark);
  font-size: 1.4rem;
  width: 44px; height: 44px;
  border: 1px solid rgba(247,240,228,0.3);
  border-radius: 50%;
}
.lightbox__close:hover { background: var(--gold); color: var(--black); }

/* ---------------------------------------------------------------------- 
   18. SCROLL REVEAL (Intersection Observer driven)
------------------------------------------------------------------------ */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible, .reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.hero .reveal { transition-delay: 0.1s; }

/* ---------------------------------------------------------------------- 
   19. RESPONSIVE
------------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__media { max-width: 420px; margin: 0 auto; }
  .specialties__grid { grid-template-columns: repeat(2, 1fr); }
  .location__grid { grid-template-columns: 1fr; }
  .location__map { min-height: 320px; }
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .review-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-menu-open .nav__links { transform: translateX(0); }
  .nav__link { color: var(--brown-dark) !important; font-size: 1.05rem; }
  .nav__burger { display: flex; }

  .about { padding: 90px 0; }
  .specialties { padding: 40px 0 90px; }
  .specialties__grid { grid-template-columns: 1fr; }
  .menu { padding: 90px 0; }
  .gallery { padding: 90px 0; }
  .gallery__grid { columns: 1 100%; }
  .reviews { padding: 90px 0 70px; }
  .review-card { flex: 0 0 100%; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .location { padding: 0 0 90px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__scroll { display: none; }
  body.has-cursor, body.has-cursor .cursor, body.has-cursor .cursor-dot { cursor: auto; display: none; }
}

/* ---------------------------------------------------------------------- 
   20. DARK MODE (automatic, follows system preference)
------------------------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #17110C;
    --cream-2: #1D160F;
    --beige: #241A11;
    --brown: #D9C9B4;
    --brown-dark: #0F0A07;
    --white: #221812;
    --line: rgba(217, 201, 180, 0.12);
  }
  body { color: var(--text-on-dark); }
  h1, h2, h3, h4 { color: var(--text-on-dark); }
  p { color: var(--brown); }
  .nav:not(.is-scrolled) .nav__logo,
  .nav:not(.is-scrolled) .nav__link { color: var(--text-on-dark); }
  .nav.is-scrolled { background: rgba(23,17,12,0.75); }
  .nav.is-scrolled .nav__logo,
  .nav.is-scrolled .nav__link { color: var(--text-on-dark); }
  .spec-card { background: var(--white); }
  .spec-card__body p { color: rgba(217,201,180,0.75); }
  .stat__num { color: var(--text-on-dark); }
  .about__badge { background: rgba(217,201,180,0.06); }
}

/* ---------------------------------------------------------------------- 
   21. ACCESSIBILITY
------------------------------------------------------------------------ */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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