/* ================================================================
   NHÁ DITA — CAFÉ ESPECIAL
   style.css — Main Stylesheet
================================================================ */

/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --cream:      #F5EDE0;
  --parchment:  #EFE3CE;
  --gold:       #C9A84C;
  --gold-lt:    #E4C87A;
  --espresso:   #1A0F07;
  --roast:      #2E1A0E;
  --mahogany:   #4B2615;
  --sienna:     #7A4020;
  --teal:       #2E6B65;
  --off-white:  #FAF6F0;

  --serif:      'Playfair Display', Georgia, serif;
  --display:    'Poppins', sans-serif;
  --sans:       'Jost', sans-serif;

  --transition: 0.3s ease;
  --shadow-md:  0 8px 32px rgba(0,0,0,0.35);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.5);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar          { width: 4px; }
::-webkit-scrollbar-track    { background: var(--roast); }
::-webkit-scrollbar-thumb    { background: var(--gold); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-lt); }

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 5%;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(26, 15, 7, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.9rem 5%;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,0.45));
}

.brand-logo-nav {
  height: clamp(52px, 5.6vw, 72px);
  max-width: min(280px, 38vw);
}

.brand-logo-footer {
  height: 72px;
  max-width: 290px;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.8;
  transition: opacity var(--transition), color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold);
  color: var(--espresso);
  padding: 0.6rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-block;
}

.nav-cta:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 15, 7, 0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--cream);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--gold); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.active {
  opacity: 1;
  animation: slowZoom 10s ease forwards;
}

@keyframes slowZoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1.00); }
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 15, 7, 0.2) 0%,
    rgba(26, 15, 7, 0.5) 55%,
    rgba(26, 15, 7, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  animation: heroFadeUp 1.2s ease 0.4s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 0.38rem 1.3rem;
  margin-bottom: 1.8rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 600;
  line-height: 1.04;
  color: var(--cream);
  margin-bottom: 1.3rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--display);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 300;
  color: rgba(245, 237, 224, 0.78);
  max-width: 540px;
  margin: 0 auto 2.8rem;
  letter-spacing: 0.04em;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.7rem;
  z-index: 3;
}

.hero-dot {
  width: 30px;
  height: 2px;
  background: rgba(245, 237, 224, 0.3);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.hero-dot.active {
  background: var(--gold);
  width: 50px;
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn-primary {
  background: var(--gold);
  color: var(--espresso);
  padding: 0.88rem 2.4rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  display: inline-block;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  border: 1px solid rgba(245, 237, 224, 0.45);
  color: var(--cream);
  padding: 0.88rem 2.4rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  display: inline-block;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════
   SECTION BASICS
════════════════════════════════════════ */
section {
  padding: 6.5rem 5%;
}

.section-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--cream);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.section-divider.centered {
  margin: 1.5rem auto;
}

.section-body {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(245, 237, 224, 0.72);
  max-width: 560px;
  line-height: 1.85;
}

/* ════════════════════════════════════════
   FEATURES STRIP
════════════════════════════════════════ */
#features {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  background:
    radial-gradient(circle at 50% 45%, rgba(122, 64, 32, 0.42), transparent 58%),
    linear-gradient(135deg, #2E1A0E 0%, #4B2615 48%, #1A0F07 100%);
  padding: 8rem 5%;
  border-top: 1px solid rgba(201, 168, 76, 0.14);
  border-bottom: 1px solid rgba(201, 168, 76, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-phrases {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.28;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(0,0,0,0.5);
}

.features-dash {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78em;
  font-weight: 400;
}

.flying-beans {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.flying-bean {
  --scroll-x: 0px;
  --scroll-y: 0px;
  --scroll-rotate: 0deg;
  position: absolute;
  inset: -14%;
  background-image: url('../images/floating-coffee-beans.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: multiply;
  opacity: 0.96;
  filter: saturate(1.08) contrast(1.06);
  transform: translate3d(var(--scroll-x), var(--scroll-y), 0) rotate(var(--scroll-rotate)) scale(1.04);
  will-change: transform;
}

.flying-beans::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(75, 38, 21, 0.56), rgba(26, 15, 7, 0.82)),
    linear-gradient(135deg, rgba(75, 38, 21, 0.46), rgba(26, 15, 7, 0.66));
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .flying-bean {
    will-change: auto;
  }
}

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  background: var(--espresso);
  max-width: 1400px;
  margin: 0 auto;
  padding: 7rem 5%;
}

.about-images {
  position: relative;
  height: 540px;
}

.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 78%;
  height: 78%;
  object-fit: cover;
  border: 3px solid var(--roast);
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  border: 3px solid var(--roast);
  outline: 1px solid rgba(201, 168, 76, 0.35);
  outline-offset: 9px;
  box-shadow: var(--shadow-md);
}

.about-gold-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 238px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--sans);
  color: #FFF8EA;
  text-align: center;
  line-height: 1;
  z-index: 2;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.42));
}

.about-gold-badge::before {
  content: none;
}

.about-gold-badge::after {
  content: '';
  position: absolute;
  left: 72px;
  right: 9px;
  top: 18px;
  bottom: 16px;
  z-index: -1;
  background: linear-gradient(135deg, #E3C260 0%, #C9A84C 58%, #9B741E 100%);
  border: 3px solid var(--espresso);
  border-left: 0;
  border-radius: 0 26px 26px 0;
  transform: skewX(-12deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
}

.badge-drop {
  position: relative;
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--espresso);
  background:
    radial-gradient(circle at 35% 30%, #FFF0A8 0%, #D9B550 54%, #A77E22 100%);
  border: 6px solid var(--espresso);
  border-radius: 70% 70% 70% 12%;
  transform: rotate(-45deg);
  box-shadow:
    inset 0 0 0 2px rgba(255, 248, 234, 0.7),
    0 0 0 1px rgba(227, 194, 96, 0.95);
}

.badge-drop::after {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(26, 15, 7, 0.38);
  border-radius: inherit;
}

.badge-drop span {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0;
  transform: rotate(45deg);
}

.badge-ribbon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 135px;
  height: 62px;
  margin-left: -7px;
  padding-left: 22px;
  color: var(--espresso);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.02;
  text-transform: uppercase;
}

.badge-ribbon span {
  position: relative;
  z-index: 1;
}

#about .section-body + .section-body {
  margin-top: 1rem;
}

.about-stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.about-stat .num {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 600;
}

.about-stat .lbl {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.5);
  margin-top: 0.35rem;
}

.about-signature {
  font-family: var(--display);
  font-size: 2.2rem;
  font-style: normal;
  color: var(--gold);
  margin-top: 2.2rem;
  opacity: 0.7;
}

.about-signature-logo {
  width: min(240px, 72vw);
  height: auto;
  margin-top: 2rem;
  opacity: 0.95;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.35));
}

/* ════════════════════════════════════════
   PARALLAX BANNER
════════════════════════════════════════ */
#banner {
  position: relative;
  min-height: 560px;
  padding: 4.5rem 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

#banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 7, 0.7);
}

.banner-content {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem;
}

.banner-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.banner-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  color: var(--cream);
  line-height: 1.12;
  margin-bottom: 1.8rem;
}

.banner-title em {
  font-style: italic;
  color: var(--gold);
}

.banner-subtitle {
  max-width: 760px;
  margin: -0.6rem auto 1.9rem;
  color: rgba(245, 237, 224, 0.78);
  font-family: var(--display);
  font-size: clamp(0.88rem, 1.35vw, 1.05rem);
  font-style: normal;
  line-height: 1.7;
}

/* ════════════════════════════════════════
   PRODUCTS
════════════════════════════════════════ */
#menu {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #070503;
  text-align: left;
}

#menu::before,
#menu::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#menu::before {
  z-index: -2;
  background-image: url('../images/bg-cafe2.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transform: scale(1.01);
  filter: brightness(1.22) contrast(1.06) saturate(1.08);
}

#menu::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,5,3,0.86) 0%, rgba(7,5,3,0.62) 38%, rgba(7,5,3,0.14) 100%),
    linear-gradient(180deg, rgba(26,15,7,0.26) 0%, rgba(26,15,7,0.04) 42%, rgba(26,15,7,0.42) 100%);
}

#menu .section-divider.centered {
  margin-left: 0;
  margin-right: 0;
}

#menu .section-body {
  max-width: 560px;
}

.coffee-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 760px;
  margin: 3rem 0 2rem;
}

.coffee-format-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(104px, 34%);
  column-gap: 1rem;
  align-items: center;
  min-height: 260px;
  padding: 2.1rem 1.35rem 2.1rem 2rem;
  border: 1px solid rgba(201, 168, 76, 0.24);
  background: rgba(14, 7, 3, 0.76);
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.coffee-format-card:hover {
  border-color: rgba(201, 168, 76, 0.48);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.coffee-format-kicker {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.coffee-format-card h3 {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.coffee-format-card p {
  color: rgba(245, 237, 224, 0.68);
  font-family: var(--display);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.7;
}

.coffee-format-product {
  grid-column: 2;
  grid-row: 1 / 4;
  display: flex;
  justify-content: center;
  align-self: end;
  margin: 0;
  pointer-events: none;
}

.coffee-format-product img {
  width: min(100%, 148px);
  max-height: 235px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.62));
}

.coffee-format-note {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(201, 168, 76, 0.28);
  background: rgba(14, 7, 3, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sensory-profile-header {
  display: grid;
  gap: 0.35rem;
}

.sensory-profile-header span,
.sensory-profile-list dt {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sensory-profile-header p {
  max-width: 650px;
  margin: 0;
  color: rgba(245, 237, 224, 0.78);
  font-family: var(--display);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.65;
}

.sensory-profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.1rem;
  margin: 0;
}

.sensory-profile-list div {
  display: grid;
  gap: 0.25rem;
}

.sensory-profile-list dd {
  margin: 0;
  color: rgba(245, 237, 224, 0.7);
  font-family: var(--display);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.7;
}

/* ════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════ */
#testimonials {
  background: var(--espresso);
  text-align: center;
  padding: 7rem 5%;
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '"';
  position: absolute;
  top: -2rem; left: 4%;
  font-family: var(--serif);
  font-size: 22rem;
  color: rgba(201, 168, 76, 0.035);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonials-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(26,15,7,0.92), rgba(46,26,14,0.98)),
    radial-gradient(circle at 50% 0%, rgba(201,168,76,0.12), transparent 46%);
}

.testimonials-track {
  display: flex;
  gap: 0;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  min-width: 100%;
  border: 0;
  padding: 4.4rem 2rem 5.2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity var(--transition);
}

.testimonial-card:hover {
  transform: none;
  box-shadow: none;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}

.testimonial-text {
  font-family: var(--display);
  font-size: 1.02rem;
  font-style: normal;
  color: rgba(245, 237, 224, 0.8);
  line-height: 1.9;
  margin-bottom: 1.6rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sienna);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.testimonial-name {
  font-family: var(--serif);
  font-size: 0.97rem;
  color: var(--cream);
}

.testimonial-role {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.38);
  margin-top: 0.15rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0;
}

.testimonial-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--cream);
  font-size: 1.1rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.testimonial-nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--espresso);
}

.testimonial-nav button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.phone-testimonial-frame {
  position: relative;
  width: min(360px, 88vw);
  height: 690px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 44px;
  background:
    linear-gradient(145deg, #27150c, #0d0603 55%, #3a2114);
  border: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(245,237,224,0.07);
}

.phone-testimonial-frame .testimonial-nav {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  transform: translateX(-50%);
}

.phone-testimonial-frame::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 36px;
  border: 1px solid rgba(245, 237, 224, 0.08);
  pointer-events: none;
  z-index: 2;
}

.phone-speaker {
  position: absolute;
  top: 26px;
  left: 50%;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: rgba(245, 237, 224, 0.18);
  transform: translateX(-50%);
  z-index: 3;
}

.testimonials-content {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 3.5rem auto 0;
}

.instagram-comment {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0;
  padding: 2.2rem;
  border: 1px solid rgba(201, 168, 76, 0.16);
  background: rgba(245, 237, 224, 0.035);
  text-align: left;
}

.instagram-comment h3 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1rem;
}

.instagram-comment p {
  font-family: var(--display);
  font-size: 1.04rem;
  font-style: normal;
  line-height: 1.8;
  color: rgba(245, 237, 224, 0.68);
  margin-bottom: 1.4rem;
}

.instagram-comment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1.3rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.instagram-comment-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--espresso);
}

.instagram-embed-wrap {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.instagram-embed-wrap .instagram-media {
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
}

/* ════════════════════════════════════════
   CONTACT / RESERVATION
════════════════════════════════════════ */
#reservation {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 46%, rgba(6, 84, 82, 0.34), transparent 36%),
    radial-gradient(circle at 78% 24%, rgba(201, 168, 76, 0.12), transparent 32%),
    linear-gradient(105deg, rgba(5, 68, 67, 0.88) 0%, rgba(5, 68, 67, 0.66) 38%, rgba(26, 15, 7, 0.86) 67%, rgba(26, 15, 7, 0.94) 100%),
    url('../images/plant-cafe.png') center / cover no-repeat,
    var(--roast);
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(320px, 1.12fr);
  gap: 4rem;
  align-items: center;
  padding: 7rem 5%;
}

#reservation::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 68, 67, 0.16), transparent 48%),
    radial-gradient(circle at 8% 92%, rgba(201, 168, 76, 0.1), transparent 30%);
  pointer-events: none;
}

#reservation::after {
  content: "";
  position: absolute;
  right: -14%;
  top: 4%;
  width: 44vw;
  min-width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(245, 237, 224, 0.08);
  pointer-events: none;
}

#reservation > * {
  position: relative;
  z-index: 1;
}

.reservation-product {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 440px;
}

.reservation-product img {
  position: relative;
  z-index: 1;
  width: min(92%, 460px);
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.42));
}

.reservation-store {
  max-width: 660px;
  text-align: left;
}

.reservation-store .section-body {
  max-width: 620px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.store-note {
  margin-top: 1.35rem;
  color: rgba(245, 237, 224, 0.48);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.store-note a {
  color: var(--gold);
}

.store-note a:hover {
  color: var(--gold-lt);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: #0E0703;
  padding: 5rem 5% 2.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-grid {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
  text-align: center;
}

.footer-brand .nav-logo {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.footer-desc {
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: 1.04rem;
  color: rgba(245, 237, 224, 0.58);
  line-height: 1.85;
  font-style: normal;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.footer-social {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-family: var(--sans);
  font-weight: 600;
  color: rgba(245, 237, 224, 0.5);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-copy {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(245, 237, 224, 0.28);
}

/* ════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: none;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════
   FLOATING ACTIONS
════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #1fba5d;
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-float:hover {
  color: #fff;
  background: #25d366;
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42);
}

#back-to-top {
  position: fixed;
  bottom: 6.4rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--espresso);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 50;
  border: none;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

#back-to-top:hover {
  transform: translateY(-3px);
  background: var(--gold-lt);
}

/* ════════════════════════════════════════
   RECIPES PAGE
════════════════════════════════════════ */
.recipes-page {
  min-height: 100vh;
  background: var(--espresso);
}

.recipes-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 5%;
  background: rgba(14, 7, 3, 0.92);
  border-bottom: 1px solid rgba(201, 168, 76, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.recipes-logo {
  display: inline-flex;
  line-height: 0;
}

.recipes-logo .brand-logo {
  height: 64px;
  max-width: 260px;
}

.recipes-back {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.recipes-back:hover {
  color: var(--gold-lt);
}

.recipes-main {
  background:
    linear-gradient(180deg, rgba(26,15,7,0.72), var(--espresso) 520px),
    url('../images/hero-2.jpg') top center / 100% auto no-repeat;
}

.recipes-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 5% 3rem;
  text-align: center;
}

.recipes-hero .section-body {
  margin: 0 auto;
  text-align: center;
}

.recipes-browser {
  padding: 0 5% 6rem;
}

.recipes-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: 1000px;
  margin: 0 auto 1.2rem;
}

.recipes-tab {
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.24);
  color: rgba(245, 237, 224, 0.72);
  background: rgba(14, 7, 3, 0.58);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.recipes-tab.active,
.recipes-tab:hover {
  color: var(--espresso);
  background: var(--gold);
  border-color: var(--gold);
}

.recipes-count {
  margin: 0 auto 2rem;
  text-align: center;
  color: rgba(245, 237, 224, 0.48);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
  max-width: 1220px;
  margin: 0 auto;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 430px;
  padding: 1.6rem;
  border: 1px solid rgba(201, 168, 76, 0.15);
  background: rgba(14, 7, 3, 0.7);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.recipe-card:hover {
  border-color: rgba(201, 168, 76, 0.42);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.recipe-media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: -1.6rem -1.6rem 0;
  overflow: hidden;
  background: rgba(14, 7, 3, 0.7);
}

.recipe-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(14, 7, 3, 0.3));
  pointer-events: none;
}

.recipe-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.recipe-card:hover .recipe-media img {
  transform: scale(1.04);
}

.recipe-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.recipe-category,
.recipe-number {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recipe-number {
  color: rgba(245, 237, 224, 0.3);
}

.recipe-card h2 {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.18;
}

.recipe-desc,
.recipe-details p,
.recipe-details li {
  color: rgba(245, 237, 224, 0.66);
  font-family: var(--display);
  font-size: 0.96rem;
  line-height: 1.68;
}

.recipe-desc {
  font-style: normal;
}

.recipe-details {
  display: grid;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.recipe-details h3 {
  margin-bottom: 0.45rem;
  color: rgba(245, 237, 224, 0.86);
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.recipe-details ul {
  padding-left: 1rem;
  list-style: disc;
}

/* ════════════════════════════════════════
   RESPONSIVE — TABLET
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .brand-logo-nav {
    height: 58px;
    max-width: 180px;
  }

  .nav-links {
    gap: 1.35rem;
  }

  .nav-cta {
    padding: 0.55rem 1rem;
    font-size: 0.68rem;
  }

}

@media (max-width: 900px) {
  #navbar { padding: 1.2rem 5%; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  #menu::before {
    background-position: 74% center;
  }

  #menu::after {
    background:
      radial-gradient(circle at 54% 50%, rgba(7,5,3,0.3) 0%, rgba(7,5,3,0.68) 64%),
      linear-gradient(180deg, rgba(7,5,3,0.52) 0%, rgba(7,5,3,0.64) 48%, rgba(7,5,3,0.78) 100%);
  }

  #menu {
    text-align: center;
  }

  #menu .section-divider.centered {
    margin-left: auto;
    margin-right: auto;
  }

  #menu .section-body {
    margin-left: auto;
    margin-right: auto;
  }

  #about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-images { height: 340px; }

  .about-gold-badge {
    transform: translate(-50%, -50%) scale(0.86);
  }

  #reservation {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: left;
  }

  .reservation-product {
    min-height: auto;
  }

  .reservation-product img {
    width: min(78%, 380px);
    max-height: 380px;
  }

  .reservation-store {
    max-width: 640px;
    margin: 0;
  }

  .reservation-store .section-divider {
    margin-left: 0;
    margin-right: auto;
  }

  .reservation-store .section-body {
    margin-left: 0;
    margin-right: auto;
  }

  .store-actions {
    justify-content: flex-start;
  }

  #features {
    min-height: 440px;
    padding: 6.5rem 1.6rem;
  }

  .features-phrases {
    max-width: 560px;
    gap: 0.8rem;
  }

  .features-phrases span:not(.features-dash) {
    flex: 1 1 100%;
  }

  .features-dash {
    flex: 0 0 100%;
    line-height: 0.6;
  }

  .flying-bean {
    inset: -10% -42%;
    background-position: center;
    opacity: 0.92;
  }

  .flying-beans::after {
    background:
      radial-gradient(circle at 50% 50%, rgba(75, 38, 21, 0.62), rgba(26, 15, 7, 0.88)),
      linear-gradient(180deg, rgba(46, 26, 14, 0.58), rgba(26, 15, 7, 0.76));
  }

  .phone-testimonial-frame {
    width: min(350px, 92vw);
    height: 650px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .testimonials-content {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .coffee-format-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .instagram-comment {
    grid-template-columns: 1fr;
    padding: 1.4rem;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE
════════════════════════════════════════ */
@media (max-width: 600px) {
  section { padding: 4rem 1.4rem; }
  #about, #reservation { padding: 4rem 1.4rem; }

  .hero-title { font-size: 2.7rem; }
  .hero-label { font-size: 0.6rem; letter-spacing: 0.22em; }
  .brand-logo-footer { height: 64px; max-width: 240px; }

  #banner { background-attachment: scroll; }

  .reservation-product {
    justify-content: center;
  }

  .reservation-product img {
    width: min(86%, 300px);
    max-height: 300px;
  }

  .store-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-actions .btn-primary,
  .store-actions .btn-outline {
    width: 100%;
  }

  .coffee-format-grid { grid-template-columns: 1fr; }

  .coffee-format-card {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
    min-height: auto;
    padding: 1.7rem;
    background: rgba(14, 7, 3, 0.68);
  }

  .coffee-format-product {
    grid-column: 1;
    grid-row: auto;
    align-self: center;
  }

  .coffee-format-product img {
    width: min(64vw, 180px);
    max-height: 250px;
  }

  .coffee-format-note {
    padding: 1.1rem;
  }

  .sensory-profile-list {
    grid-template-columns: 1fr;
  }

  .instagram-comment {
    margin-top: 0;
    padding: 1.1rem;
  }

  .phone-testimonial-frame {
    height: 540px;
    padding: 14px;
    border-radius: 36px;
  }

  .testimonials-wrapper {
    border-radius: 24px;
  }

  .testimonial-card {
    padding: 3.5rem 1.35rem 4.4rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .phone-testimonial-frame .testimonial-nav {
    bottom: 26px;
  }

  .instagram-comment-link {
    width: 100%;
  }

  .about-images { height: 280px; }
  .about-gold-badge {
    transform: translate(-50%, -50%) scale(0.72);
  }
  .about-stat-row { flex-direction: column; gap: 1.2rem; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .recipes-header {
    padding: 0.9rem 1.2rem;
  }

  .recipes-logo .brand-logo {
    height: 48px;
    max-width: 180px;
  }

  .recipes-back {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .recipes-hero {
    padding: 4rem 1.4rem 2.4rem;
  }

  .recipes-browser {
    padding: 0 1.1rem 4rem;
  }

  .recipes-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }

  .recipes-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

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

  .recipe-card {
    min-height: auto;
    padding: 1.25rem;
  }

  .recipe-media {
    margin: -1.25rem -1.25rem 0;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  #back-to-top {
    right: 1rem;
    bottom: 5.5rem;
  }
}
