/* ==========================================================================
   EMBER & OAK — Premium Cafe Template
   Built by VAM Studio
   ========================================================================== */

:root {
  /* ---- Brand palette ---- */
  --primary: #4E342E;
  --primary-light: #6b4a41;
  --secondary: #8D6E63;
  --accent: #C8A97E;
  --accent-soft: #E7D5B9;
  --bg: #FFFDF8;
  --bg-alt: #F7F1E6;
  --text: #2E2E2E;
  --text-soft: #6b6259;
  --cream: #FFF8EE;
  --line: rgba(46, 46, 46, 0.1);
  --white: #ffffff;

  --shadow-sm: 0 2px 10px rgba(78, 52, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(78, 52, 46, 0.1);
  --shadow-lg: 0 24px 60px rgba(78, 52, 46, 0.16);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #1C1512;
  --bg-alt: #221A16;
  --cream: #241B17;
  --text: #F3EBE2;
  --text-soft: #C9BCAF;
  --line: rgba(243, 235, 226, 0.12);
  --white: #2A211C;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: inherit; }

/* ---- Custom scrollbar ---- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; border: 2px solid var(--bg-alt); }
* { scrollbar-width: thin; scrollbar-color: var(--secondary) var(--bg-alt); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff;
  padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.section-inner { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.italic { font-style: italic; font-weight: 400; color: var(--accent); }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--secondary); margin-bottom: 14px; display: inline-block;
}
.eyebrow.light { color: var(--accent-soft); }

.section-title {
  font-family: var(--font-display); font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.15; color: var(--primary); letter-spacing: -0.01em;
}
.section-title.light { color: var(--cream); }
[data-theme="dark"] .section-title { color: var(--accent-soft); }

.body-lg { font-size: 1.14rem; color: var(--text-soft); margin-top: 18px; line-height: 1.75; }
.body-md { font-size: 1rem; color: var(--text-soft); margin-top: 14px; line-height: 1.75; }
.body-sm { font-size: 0.9rem; color: var(--text-soft); }
.body-md.light, .body-lg.light { color: rgba(255,253,248,0.78); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 15px 30px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.02em; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--secondary); }
.btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.btn-accent { background: var(--accent); color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-block { width: 100%; }
[data-theme="dark"] .btn-outline { color: var(--accent-soft); }

.btn .ripple {
  position: absolute; border-radius: 50%; transform: scale(0); animation: ripple 0.65s var(--ease);
  background: rgba(255,255,255,0.55); pointer-events: none;
}
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

/* ==========================================================================
   PLACEHOLDER IMAGES
   ========================================================================== */
.ph {
  position: relative; background: linear-gradient(135deg, var(--secondary), var(--primary) 70%);
  border-radius: var(--radius-md); overflow: hidden; isolation: isolate;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  /* background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16), transparent 40%),
    radial-gradient(circle at 80% 75%, rgba(255,255,255,0.1), transparent 45%); */
  background-image: url(assets/cafe.jpg);
  background-position: center;
  background-size: cover;
}
.ph::after {
  content: attr(data-ph-label); position: absolute; left: 18px; bottom: 16px; right: 18px;
  color: rgba(255,255,255,0.92); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  font-family: var(--font-body); line-height: 1.4;
}
.ph:hover { cursor: default; }

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--primary); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { color: var(--accent-soft); }
.loader-cup { width: 56px; height: 56px; }
.loader-steam { transform-origin: bottom; animation: steamRise 2s ease-in-out infinite; }
.loader-steam.s2 { animation-delay: 0.4s; }
.loader-word { font-family: var(--font-display); color: var(--cream); font-size: 1.1rem; letter-spacing: 0.04em; }

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--accent), var(--secondary));
  z-index: 1001; transition: width 0.08s linear;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 1000; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 7px; height: 7px; background: var(--accent); display: none; }
.cursor-ring { width: 34px; height: 34px; border: 1.4px solid var(--secondary); display: none; transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s ease; }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}
.cursor-ring.grow { width: 56px; height: 56px; opacity: 0.6; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--nav-h);
  display: flex; align-items: center; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.navbar-inner {
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between;
}
.navbar.scrolled { background: var(--bg); box-shadow: var(--shadow-sm); height: 72px; }
[data-theme="dark"] .navbar.scrolled { background: var(--bg-alt); }

.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.navbar.scrolled .brand { color: var(--primary); }
[data-theme="dark"] .navbar.scrolled .brand { color: var(--accent-soft); }
.brand-mark { color: var(--accent); flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.01em; }
.brand-name em { color: var(--accent); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  position: relative; font-size: 0.92rem; font-weight: 600; color: rgba(255,253,248,0.88); padding: 6px 0;
}
.navbar.scrolled .nav-link { color: var(--text); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--accent); }

.navbar-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--cream);
  transition: background 0.3s ease, color 0.3s ease;
}
.navbar.scrolled .icon-btn { color: var(--primary); }
.icon-btn:hover { background: var(--line); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 24px; }
.hamburger span { height: 2px; width: 100%; background: var(--cream); transition: transform 0.3s var(--ease), opacity 0.3s ease, background 0.3s ease; }
.navbar.scrolled .hamburger span { background: var(--primary); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); background: var(--bg); box-shadow: var(--shadow-lg);
  z-index: 950; padding: 110px 32px 40px; transform: translateX(100%); transition: transform 0.5s var(--ease);
  display: flex; flex-direction: column; gap: 28px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav nav { display: flex; flex-direction: column; gap: 22px; }
.mobile-link { font-family: var(--font-display); font-size: 1.4rem; color: var(--primary); }
[data-theme="dark"] .mobile-link { color: var(--accent-soft); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; color: var(--cream);
}
.hero-media { position: absolute; inset: 0; z-index: -3; border-radius: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,12,0.55) 0%, rgba(20,14,12,0.35) 45%, rgba(20,14,12,0.75) 100%); }
.hero-grain {
  position: absolute; inset: 0; z-index: -2; opacity: 0.06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-beans { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bean {
  position: absolute; width: 14px; height: 20px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: rgba(200,169,126,0.5); animation: floatBean linear infinite;
}
.bean::after { content:""; position:absolute; left:50%; top:10%; bottom:10%; width:1.4px; background: rgba(78,52,46,0.5); transform: translateX(-50%) rotate(8deg); }

.hero-content { position: relative; max-width: 720px; padding: 0 clamp(20px, 6vw, 90px); }
.hero-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.06; letter-spacing: -0.02em; }
.hero-sub { max-width: 480px; margin-top: 22px; font-size: 1.08rem; color: rgba(255,253,248,0.85); }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-cup { position: absolute; right: clamp(20px, 6vw, 90px); bottom: 110px; width: 110px; height: 110px; color: rgba(255,253,248,0.85); display: none; }
.cup-svg { width: 100%; height: 100%; }
.steam { transform-origin: bottom; opacity: 0.85; animation: steamRise 3s ease-in-out infinite; }
.steam-b { animation-delay: 0.5s; }
.steam-c { animation-delay: 1s; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column;
  align-items: center; gap: 8px; color: rgba(255,253,248,0.85); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.scroll-cue-line { width: 1px; height: 30px; background: rgba(255,253,248,0.5); position: relative; overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--accent); animation: cueDrop 1.8s ease-in-out infinite; }

/* Reveal on scroll */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal { transform: translateY(32px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: translate(0, 0); }
.hero-content .reveal { transition-delay: calc(var(--i, 0) * 0.1s); }

/* Bean divider between sections */
.bean-divider { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 46px 0; }
.bean-divider span { width: 8px; height: 12px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
.bean-divider span:nth-child(2) { width: 11px; height: 16px; opacity: 1; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { padding: 40px 0 100px; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-img { aspect-ratio: 4 / 5; }
.about-card {
  position: absolute; left: -28px; bottom: -28px; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 24px 26px; max-width: 220px;
}
.about-card-num { display: block; font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); line-height: 1; }
.about-card-label { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--text-soft); font-weight: 600; }

.about-stats { display: flex; gap: 34px; margin: 34px 0; flex-wrap: wrap; }
.stat-num { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--primary); }
[data-theme="dark"] .stat-num { color: var(--accent-soft); }
.stat-label { font-size: 0.8rem; color: var(--text-soft); font-weight: 600; }

/* ==========================================================================
   MENU
   ========================================================================== */
.menu { padding: 40px 0 100px; background: var(--bg-alt); }
.menu-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 46px; }
.menu-tab {
  padding: 11px 22px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.85rem; color: var(--text-soft);
  border: 1.5px solid var(--line); transition: all 0.3s var(--ease);
}
.menu-tab:hover { border-color: var(--secondary); color: var(--primary); }
.menu-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.menu-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); opacity: 0; transform: translateY(20px);
  animation: cardIn 0.6s var(--ease) forwards;
}
.menu-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.menu-card-img { aspect-ratio: 16 / 11; border-radius: 0; transition: transform 0.6s var(--ease); }
.menu-card:hover .menu-card-img { transform: scale(1.06); }
.menu-card-body { padding: 20px 22px 24px; }
.menu-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.menu-card-top h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); font-weight: 500; }
[data-theme="dark"] .menu-card-top h3 { color: var(--accent-soft); }
.menu-card-price { font-weight: 800; color: var(--accent); white-space: nowrap; font-size: 0.98rem; }
.menu-card-body p { margin-top: 8px; font-size: 0.9rem; color: var(--text-soft); }
[data-theme="dark"] .menu-card { background: var(--bg); }

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why { padding: 40px 0 110px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.why-card {
  background: var(--cream); border-radius: var(--radius-md); padding: 34px 28px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.08s);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center;
  color: var(--primary); margin-bottom: 20px;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); font-weight: 500; margin-bottom: 8px; }
[data-theme="dark"] .why-card h3 { color: var(--accent-soft); }
.why-card p { font-size: 0.92rem; color: var(--text-soft); }
[data-theme="dark"] .why-card { background: var(--bg-alt); }

/* ==========================================================================
   SIGNATURE DRINKS
   ========================================================================== */
.signature { padding: 100px 0; background: var(--primary); }
.signature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.signature-card {
  background: rgba(255,253,248,0.06); border: 1px solid rgba(255,253,248,0.14); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.signature-card:hover { transform: translateY(-8px) rotate(-0.4deg); box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.sig-img { aspect-ratio: 4 / 3; border-radius: 0; }
.signature-copy { padding: 26px 26px 30px; }
.sig-tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.signature-copy h3 { font-family: var(--font-display); color: var(--cream); font-size: 1.35rem; margin: 10px 0 10px; font-weight: 500; }
.signature-copy p { color: rgba(255,253,248,0.72); font-size: 0.92rem; }
.sig-price { display: inline-block; margin-top: 16px; font-weight: 800; color: var(--accent-soft); font-size: 1.05rem; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery { padding: 100px 0; }
.gallery-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-filter { padding: 9px 20px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.82rem; color: var(--text-soft); border: 1.5px solid var(--line); transition: all 0.3s ease; }
.gallery-filter.active, .gallery-filter:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }

.gallery-grid { columns: 4 260px; column-gap: 20px; }
.gallery-item { break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; position: relative; }
.gallery-item .ph { border-radius: var(--radius-md); transition: transform 0.6s var(--ease); }
.gallery-item:hover .ph { transform: scale(1.05); }
.gallery-item::after {
  content: "\2295"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff;
  background: rgba(20,14,12,0.32); opacity: 0; transition: opacity 0.35s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.hide { display: none; }

.lightbox {
  position: fixed; inset: 0; background: rgba(15,10,8,0.92); z-index: 1100; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img { width: min(720px, 84vw); aspect-ratio: 4/3; border-radius: var(--radius-md); }
.lightbox-close { position: absolute; top: 26px; right: 30px; font-size: 2rem; color: #fff; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: #fff; padding: 14px; opacity: 0.8; }
.lightbox-nav:hover { opacity: 1; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { padding: 40px 0 110px; background: var(--bg-alt); }
.testimonial-track-wrap { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s var(--ease); }
.testimonial-slide { min-width: 100%; display: flex; justify-content: center; padding: 6px; }
.t-card {
  max-width: 620px; width: 100%; background: rgba(255,253,248,0.6); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5); border-radius: var(--radius-lg); padding: 44px 46px; text-align: center;
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .t-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.t-quote { color: var(--accent); margin-bottom: 14px; }
.t-stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 16px; }
.t-text { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.6; color: var(--primary); font-weight: 400; }
[data-theme="dark"] .t-text { color: var(--accent-soft); }
.t-person { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.t-name { font-weight: 800; font-size: 0.92rem; }
.t-role { font-size: 0.78rem; color: var(--text-soft); }

.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.t-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background 0.3s ease, transform 0.3s ease; }
.t-dot.active { background: var(--secondary); transform: scale(1.3); }

/* ==========================================================================
   RESERVATION
   ========================================================================== */
.reservation { padding: 40px 0 110px; position: relative; }
.reservation-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: flex-start; }
.reservation-points { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.reservation-points li { position: relative; padding-left: 26px; font-size: 0.94rem; color: var(--text-soft); }
.reservation-points li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.reservation-form { background: var(--cream); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 20px; }
[data-theme="dark"] .reservation-form { background: var(--bg-alt); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.form-field label { font-size: 0.82rem; font-weight: 700; color: var(--text); }
.optional { font-weight: 500; color: var(--text-soft); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(141,110,99,0.14); outline: none;
}
.form-field.invalid input, .form-field.invalid select { border-color: #b5482f; }
.form-error { font-size: 0.76rem; color: #b5482f; min-height: 14px; }

.reservation-success {
  display: none; grid-column: 2; text-align: center; background: var(--cream); border-radius: var(--radius-lg);
  padding: 60px 40px; box-shadow: var(--shadow-md); flex-direction: column; align-items: center; gap: 10px;
}
[data-theme="dark"] .reservation-success { background: var(--bg-alt); }
.reservation-success.show { display: flex; }
.success-check { width: 60px; height: 60px; color: var(--secondary); animation: popIn 0.5s var(--ease); }
.reservation-success h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--primary); margin-top: 6px; }
[data-theme="dark"] .reservation-success h3 { color: var(--accent-soft); }
.reservation-success p { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 10px; }

/* ==========================================================================
   EVENTS
   ========================================================================== */
.events { padding: 40px 0 110px; background: var(--bg-alt); }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.event-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
[data-theme="dark"] .event-card { background: var(--bg); }
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.event-img { aspect-ratio: 16/10; border-radius: 0; }
.event-card { padding-bottom: 26px; }
.event-date { display: block; margin: 20px 24px 6px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.event-card h3 { margin: 4px 24px 8px; font-family: var(--font-display); font-size: 1.2rem; color: var(--primary); font-weight: 500; }
[data-theme="dark"] .event-card h3 { color: var(--accent-soft); }
.event-card p { margin: 0 24px; font-size: 0.9rem; color: var(--text-soft); }

/* ==========================================================================
   OFFERS
   ========================================================================== */
.offers { padding: 100px 0; }
.offers-card {
  background: linear-gradient(120deg, var(--primary), #3a2721); border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; box-shadow: var(--shadow-lg);
}
.offers-copy { padding: 56px; }
.offers-img { border-radius: 0; align-self: stretch; height: 100%; min-height: 320px; }
.countdown { display: flex; gap: 16px; margin: 30px 0 34px; }
.countdown-unit { background: rgba(255,253,248,0.1); border-radius: var(--radius-sm); padding: 14px 16px; text-align: center; min-width: 68px; }
.countdown-unit span { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--accent-soft); }
.countdown-unit small { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,253,248,0.6); }

/* ==========================================================================
   INSTAGRAM
   ========================================================================== */
.instagram { padding: 40px 0 110px; text-align: center; }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 40px; }
.insta-item { aspect-ratio: 1/1; border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.insta-item .ph { border-radius: var(--radius-sm); transition: transform 0.5s var(--ease); height: 100%; }
.insta-item:hover .ph { transform: scale(1.08); }
.insta-item-icon { position: absolute; bottom: 10px; right: 10px; color: #fff; opacity: 0.9; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 40px 0 110px; }
.faq-inner { max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px;
  text-align: left; font-family: var(--font-display); font-size: 1.06rem; color: var(--primary); font-weight: 500;
}
[data-theme="dark"] .faq-q { color: var(--accent-soft); }
.faq-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--secondary); border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq-icon::before { width: 100%; height: 1.6px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after { width: 1.6px; height: 100%; top: 0; left: 50%; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--text-soft); font-size: 0.94rem; max-width: 700px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: 40px 0 110px; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.contact-list { margin: 28px 0 34px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.94rem; color: var(--text-soft); }
.contact-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.contact-map { aspect-ratio: 16/11; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--primary); color: var(--cream); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,253,248,0.12); }
.footer-brand .brand { color: var(--cream); margin-bottom: 14px; }
.footer-brand p { color: rgba(255,253,248,0.62); font-size: 0.9rem; max-width: 260px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,253,248,0.25); display: grid; place-items: center; transition: all 0.3s ease; }
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.footer-col h4 { font-family: var(--font-display); font-weight: 500; margin-bottom: 18px; font-size: 1rem; color: var(--accent-soft); }
.footer-col a { display: block; color: rgba(255,253,248,0.68); font-size: 0.9rem; margin-bottom: 12px; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-newsletter p { color: rgba(255,253,248,0.62); font-size: 0.88rem; margin-bottom: 18px; }
.newsletter-form { display: flex; border-radius: var(--radius-pill); overflow: hidden; background: rgba(255,253,248,0.1); padding: 4px; }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 10px 16px; color: var(--cream); }
.newsletter-form input::placeholder { color: rgba(255,253,248,0.5); }
.newsletter-form button { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.footer-bottom { text-align: center; padding: 26px 0; font-size: 0.82rem; color: rgba(255,253,248,0.55); }
.footer-bottom a { text-decoration: underline; }

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.floating-btn {
  position: fixed; z-index: 500; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.floating-btn:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-btn {
  bottom: 26px; left: 26px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff;
  justify-content: center;
}
.whatsapp-btn svg { width: 26px; height: 26px; }
.reserve-btn {
  bottom: 26px; right: 26px; background: var(--primary); color: #fff; padding: 14px 22px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.88rem;
}
.reserve-btn svg { width: 18px; height: 18px; }
.back-to-top {
  position: fixed; bottom: 96px; right: 26px; width: 44px; height: 44px; border-radius: 50%; background: var(--cream);
  color: var(--primary); box-shadow: var(--shadow-md); display: grid; place-items: center; opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: all 0.4s var(--ease); z-index: 499;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   NEWSLETTER POPUP
   ========================================================================== */
.newsletter-popup {
  position: fixed; inset: 0; background: rgba(20,14,12,0.6); z-index: 1050; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; padding: 20px;
}
.newsletter-popup.show { opacity: 1; visibility: visible; }
.popup-card {
  background: var(--cream); border-radius: var(--radius-lg); padding: 46px 42px; max-width: 420px; width: 100%;
  position: relative; text-align: center; box-shadow: var(--shadow-lg); transform: scale(0.92); transition: transform 0.4s var(--ease);
}
.newsletter-popup.show .popup-card { transform: scale(1); }
.popup-close { position: absolute; top: 16px; right: 20px; font-size: 1.6rem; color: var(--text-soft); }
.popup-card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); margin: 4px 0 10px; }
.popup-card .body-sm { margin-bottom: 22px; }
#popupForm { display: flex; flex-direction: column; gap: 12px; }
#popupForm input { padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--bg); }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 620px; margin: 0 auto; background: var(--primary);
  color: var(--cream); border-radius: var(--radius-md); padding: 22px 26px; display: flex; gap: 20px; align-items: center;
  flex-wrap: wrap; justify-content: space-between; box-shadow: var(--shadow-lg); z-index: 600; transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.86rem; color: rgba(255,253,248,0.85); max-width: 360px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .btn-outline { color: var(--cream); border-color: rgba(255,253,248,0.4); }
.cookie-banner .btn-outline:hover { background: rgba(255,253,248,0.15); color: var(--cream); }

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes steamRise { 0%, 100% { opacity: 0.2; transform: translateY(0) scaleY(1); } 50% { opacity: 0.9; transform: translateY(-6px) scaleY(1.15); } }
@keyframes cueDrop { 0% { top: -100%; } 100% { top: 100%; } }
@keyframes floatBean { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-120vh) rotate(200deg); } }
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .reservation-grid { grid-template-columns: 1fr; }
  .reservation-success { grid-column: 1; }
  .offers-card { grid-template-columns: 1fr; }
  .offers-img { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-cup { display: none !important; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-cup { display: block; }
  .gallery-grid { columns: 3 220px; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 160px; }
  .about-card { position: static; margin-top: 18px; max-width: none; }
  .why-grid, .events-grid { grid-template-columns: 1fr; }
  .offers-copy { padding: 36px 26px; }
  .countdown { gap: 10px; }
  .countdown-unit { min-width: 56px; padding: 10px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .reserve-btn span { display: none; }
  .reserve-btn { padding: 14px; }
}
