/* ============================================================
   COFFEE WITH PURPOSE - Social Impact Coffee Shop & Roastery
   Palette: Cream bg, Coffee Brown, Caramel, Sage Green, Latte
   Fonts: Playfair Display (display) + DM Sans (body) + Caveat (accent)
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-cream:       #FBF6F0;
  --color-cream-dark:  #F2E8DA;
  --color-latte:       #D4B896;
  --color-latte-light: #E8D5BE;
  --color-caramel:     #C4883A;
  --color-caramel-dark:#A06E2D;
  --color-brown:       #3C2415;
  --color-brown-mid:   #5A3520;
  --color-espresso:    #1E140D;
  --color-sage:        #5B7C5E;
  --color-sage-dark:   #4A6B42;
  --color-sage-light:  rgba(91, 124, 94, 0.12);
  --color-white:       #FFFFFF;
  --color-text:        #3C2415;
  --color-text-light:  #6B5240;
  --color-text-muted:  #8B7355;
  --color-border:      rgba(60, 36, 21, 0.1);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent:  'Caveat', cursive;

  /* Spacing */
  --section-py: 120px;
  --container-px: 24px;
  --container-max: 1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;

  /* Nav */
  --nav-height: 72px;
  --nav-height-scrolled: 64px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--color-caramel);
}

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

::selection {
  background-color: var(--color-caramel);
  color: var(--color-white);
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-caramel);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* Section base */
.section {
  padding: var(--section-py) 0;
}

.section--alt {
  background-color: var(--color-cream-dark);
}

/* Section labels */
.section__label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--color-caramel);
  margin-bottom: 12px;
}

.section__label--light {
  color: var(--color-latte);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-brown);
  margin-bottom: 16px;
}

.section__title em {
  font-style: italic;
  color: var(--color-caramel);
}

.section__title--light {
  color: var(--color-cream);
}

.section__title--light em {
  color: var(--color-latte);
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 640px;
  line-height: 1.8;
}

.section__subtitle--light {
  color: var(--color-latte-light);
  opacity: 0.85;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-brown);
  color: var(--color-cream);
  border-color: var(--color-brown);
}

.btn--primary:hover {
  background-color: var(--color-espresso);
  border-color: var(--color-espresso);
  color: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 20, 13, 0.25);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-brown);
  border-color: var(--color-brown);
}

.btn--outline:hover {
  background-color: var(--color-brown);
  color: var(--color-cream);
  transform: translateY(-2px);
}

.btn--white {
  background-color: var(--color-cream);
  color: var(--color-brown);
  border-color: var(--color-cream);
}

.btn--white:hover {
  background-color: var(--color-white);
  color: var(--color-espresso);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--color-cream);
  border-color: rgba(251, 246, 240, 0.5);
}

.btn--outline-white:hover {
  background-color: rgba(251, 246, 240, 0.15);
  color: var(--color-cream);
  border-color: var(--color-cream);
  transform: translateY(-2px);
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: rgba(251, 246, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--duration) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  height: var(--nav-height-scrolled);
  background-color: rgba(251, 246, 240, 0.95);
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 20px rgba(60, 36, 21, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav__logo:hover {
  color: var(--color-brown);
}

.nav__logo-icon {
  flex-shrink: 0;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-brown);
  letter-spacing: -0.02em;
}

/* Nav links - desktop */
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-caramel);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-brown);
}

.nav__cta-btn {
  padding: 10px 24px;
  background-color: var(--color-brown);
  color: var(--color-cream);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
}

.nav__cta-btn:hover {
  background-color: var(--color-espresso);
  color: var(--color-cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 20, 13, 0.2);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 1001;
  padding: 0;
}

.nav__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-brown);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
  transform-origin: center;
}

.nav__hamburger--active .nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--active .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--active .nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
  background: linear-gradient(170deg, var(--color-cream) 0%, var(--color-cream-dark) 50%, var(--color-latte-light) 100%);
}

/* Background orbs */
.hero__bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-caramel), transparent 70%);
  top: -10%;
  right: -5%;
  animation: floatOrb 20s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-sage), transparent 70%);
  bottom: -5%;
  left: -10%;
  animation: floatOrb 25s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-latte), transparent 70%);
  top: 40%;
  left: 30%;
  animation: floatOrb 18s ease-in-out infinite 3s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(30px, -20px) scale(1.05); }
  50%      { transform: translate(-20px, 30px) scale(0.95); }
  75%      { transform: translate(15px, 15px) scale(1.02); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--color-sage-light);
  color: var(--color-sage-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  border: 1px solid rgba(91, 124, 94, 0.2);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-brown);
  margin-bottom: 20px;
}

.hero__title em {
  font-style: italic;
  color: var(--color-caramel);
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero illustration */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Steam animations */
.hero__steam {
  animation: steamRise 3s ease-in-out infinite;
}

.hero__steam--2 {
  animation-delay: 0.5s;
}

.hero__steam--3 {
  animation-delay: 1s;
}

.hero__steam-heart {
  animation: steamPulse 4s ease-in-out infinite;
}

@keyframes steamRise {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50%      { opacity: 0.2; transform: translateY(-10px); }
}

@keyframes steamPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.08); }
}

/* Floating beans */
.hero__bean--1 { animation: floatBean 6s ease-in-out infinite; }
.hero__bean--2 { animation: floatBean 8s ease-in-out infinite 1s; }
.hero__bean--3 { animation: floatBean 7s ease-in-out infinite 2s; }

@keyframes floatBean {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-15px) rotate(10deg); }
}

/* Logo steam animation */
.logo-steam {
  animation: logoSteam 2.5s ease-in-out infinite;
}

.logo-steam--delay {
  animation-delay: 0.4s;
}

.logo-steam--delay2 {
  animation-delay: 0.8s;
}

@keyframes logoSteam {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50%      { opacity: 0.2; transform: translateY(-3px); }
}

/* Trust bar */
.hero__trust {
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.hero__trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 32px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(60, 36, 21, 0.06);
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-brown);
  white-space: nowrap;
}

.hero__trust-item svg {
  color: var(--color-sage);
  flex-shrink: 0;
}

.hero__trust-divider {
  width: 1px;
  height: 20px;
  background-color: var(--color-border);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-line {
  width: 2px;
  height: 40px;
  background-color: rgba(60, 36, 21, 0.15);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.hero__scroll-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background-color: var(--color-caramel);
  border-radius: 4px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { top: 0; opacity: 1; }
  80%  { top: 30px; opacity: 0.3; }
  100% { top: 0; opacity: 1; }
}

/* ---------- OUR STORY ---------- */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}

.story__quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-brown);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-left: 24px;
  border-left: 3px solid var(--color-caramel);
}

.story__text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Founder card */
.story__founder-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(60, 36, 21, 0.06);
  margin-bottom: 24px;
}

.story__founder-photo svg {
  width: 100%;
  height: auto;
}

.story__founder-info {
  padding: 24px;
}

.story__founder-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 4px;
}

.story__founder-info span {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  color: var(--color-caramel);
  display: block;
  margin-bottom: 12px;
}

.story__founder-info p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Values */
.story__values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story__value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
}

.story__value:hover {
  box-shadow: 0 4px 16px rgba(60, 36, 21, 0.08);
  transform: translateY(-2px);
}

.story__value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-sage-light);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  color: var(--color-sage);
}

.story__value strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-brown);
  margin-bottom: 4px;
}

.story__value p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------- MENU ---------- */
.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.menu__card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  box-shadow: 0 2px 12px rgba(60, 36, 21, 0.04);
}

.menu__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(60, 36, 21, 0.1);
}

.menu__card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu__card-img svg {
  width: 100px;
  height: 100px;
}

.menu__card-img--1 { background: linear-gradient(135deg, #E8D5BE 0%, #D4B896 100%); }
.menu__card-img--2 { background: linear-gradient(135deg, #D4B896 0%, #C4A47A 100%); }
.menu__card-img--3 { background: linear-gradient(135deg, #F2E8DA 0%, #E8D5BE 100%); }
.menu__card-img--4 { background: linear-gradient(135deg, #C4A47A 0%, #B8956E 100%); }
.menu__card-img--5 { background: linear-gradient(135deg, #E8D5BE 0%, #F2E8DA 100%); }
.menu__card-img--6 { background: linear-gradient(135deg, #D4B896 0%, #E8D5BE 100%); }

.menu__card-body {
  padding: 24px;
}

.menu__card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 10px;
}

.menu__card-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 14px;
}

.menu__tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.92rem;
  color: var(--color-caramel);
}

/* ---------- IMPACT ---------- */
.impact {
  background: linear-gradient(160deg, var(--color-brown) 0%, var(--color-espresso) 60%, #241A10 100%);
  position: relative;
  overflow: hidden;
}

/* Impact stats */
.impact__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 60px;
}

.impact__stat {
  text-align: center;
  padding: 32px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.impact__stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-caramel);
  line-height: 1;
}

.impact__stat-suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-caramel);
}

.impact__stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--color-latte-light);
  opacity: 0.8;
}

/* Impact pillars */
.impact__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.impact__pillar {
  padding: 32px 24px;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--duration) var(--ease);
}

.impact__pillar:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(196, 136, 58, 0.3);
  transform: translateY(-4px);
}

.impact__pillar-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-caramel);
  margin-bottom: 16px;
  font-weight: 700;
}

.impact__pillar h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 12px;
}

.impact__pillar p {
  font-size: 0.9rem;
  color: var(--color-latte-light);
  line-height: 1.7;
  opacity: 0.75;
}

/* ---------- SOURCING ---------- */
.sourcing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 60px;
}

.sourcing__origin {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  box-shadow: 0 2px 12px rgba(60, 36, 21, 0.04);
}

.sourcing__origin:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(60, 36, 21, 0.1);
}

.sourcing__origin-img svg {
  width: 100%;
  height: auto;
}

.sourcing__origin-body {
  padding: 24px;
}

.sourcing__origin-flag {
  display: inline-block;
  padding: 4px 14px;
  background-color: var(--color-sage-light);
  color: var(--color-sage-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.sourcing__origin-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 10px;
}

.sourcing__origin-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Sourcing process */
.sourcing__process {
  text-align: center;
}

.sourcing__process-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 40px;
}

.sourcing__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Timeline line */
.sourcing__timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-latte), var(--color-caramel), var(--color-sage), var(--color-brown));
  opacity: 0.3;
}

.sourcing__step {
  text-align: center;
  position: relative;
}

.sourcing__step-circle {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: 2px solid var(--color-latte);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--color-brown);
  transition: all var(--duration) var(--ease);
  position: relative;
  z-index: 1;
}

.sourcing__step:hover .sourcing__step-circle {
  background-color: var(--color-brown);
  border-color: var(--color-brown);
  color: var(--color-cream);
  transform: scale(1.1);
}

.sourcing__step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 8px;
}

.sourcing__step p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- EVENTS ---------- */
.events__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

.events__card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(60, 36, 21, 0.04);
  transition: all var(--duration) var(--ease);
}

.events__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(60, 36, 21, 0.08);
}

.events__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 72px;
  background-color: var(--color-sage-light);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.events__month {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.events__day {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-sage-dark);
  line-height: 1;
}

.events__info {
  flex: 1;
}

.events__info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 6px;
}

.events__info p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 10px;
}

.events__meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.events__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.events__meta svg {
  color: var(--color-caramel);
}

.events__reserve-btn {
  padding: 10px 24px;
  background-color: var(--color-sage-light);
  color: var(--color-sage-dark);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  border: 1px solid rgba(91, 124, 94, 0.2);
  flex-shrink: 0;
}

.events__reserve-btn:hover {
  background-color: var(--color-sage);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-sage-dark) 0%, var(--color-sage) 50%, #6E9B6E 100%);
  overflow: hidden;
  text-align: center;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-banner__title em {
  font-style: italic;
  color: var(--color-cream);
}

.cta-banner__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Dot pattern overlay */
.cta-banner__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonials__card {
  padding: 32px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(60, 36, 21, 0.04);
  transition: all var(--duration) var(--ease);
}

.testimonials__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(60, 36, 21, 0.1);
}

.testimonials__card--featured {
  background-color: var(--color-brown);
  color: var(--color-cream);
}

.testimonials__card--featured .testimonials__text {
  color: var(--color-latte-light);
}

.testimonials__card--featured .testimonials__author strong {
  color: var(--color-cream);
}

.testimonials__card--featured .testimonials__author span {
  color: var(--color-latte);
}

.testimonials__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonials__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials__avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

.testimonials__card--featured .testimonials__avatar {
  background-color: rgba(196, 136, 58, 0.2);
  color: var(--color-caramel);
}

.testimonials__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-brown);
}

.testimonials__author span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ---------- VISIT / CONTACT ---------- */
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

/* Info card */
.visit__info-card {
  background: linear-gradient(160deg, var(--color-brown) 0%, var(--color-espresso) 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--color-cream);
}

.visit__info-section {
  margin-bottom: 28px;
}

.visit__info-section:last-of-type {
  margin-bottom: 24px;
}

.visit__info-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 12px;
}

.visit__info-section h3 svg {
  color: var(--color-caramel);
}

.visit__info-section address,
.visit__info-section p {
  font-size: 0.92rem;
  color: var(--color-latte-light);
  line-height: 1.7;
  opacity: 0.85;
}

.visit__info-section a {
  color: var(--color-caramel);
}

.visit__info-section a:hover {
  color: var(--color-latte);
}

/* Hours */
.visit__hours div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-latte-light);
  opacity: 0.85;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.visit__hours div:last-child {
  border-bottom: none;
}

/* Map placeholder */
.visit__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 8px;
}

.visit__map svg {
  width: 100%;
  height: auto;
}

/* Contact form */
.visit__form-wrap {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 4px 20px rgba(60, 36, 21, 0.06);
}

.visit__form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 8px;
}

.visit__form-desc {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}

.visit__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.visit__form-group {
  margin-bottom: 20px;
}

.visit__form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-brown);
  margin-bottom: 6px;
}

.visit__form-group input,
.visit__form-group select,
.visit__form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  background-color: var(--color-cream);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.visit__form-group input::placeholder,
.visit__form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.visit__form-group input:focus,
.visit__form-group select:focus,
.visit__form-group textarea:focus {
  outline: none;
  border-color: var(--color-caramel);
  box-shadow: 0 0 0 3px rgba(196, 136, 58, 0.12);
  background-color: var(--color-white);
}

.visit__form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B5240' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.visit__form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Error states */
.visit__form-group--error input,
.visit__form-group--error select,
.visit__form-group--error textarea {
  border-color: #d44040;
}

.visit__form-error {
  display: none;
  font-size: 0.8rem;
  color: #d44040;
  margin-top: 4px;
}

.visit__form-group--error .visit__form-error {
  display: block;
}

/* Submit button */
.visit__form-submit {
  width: 100%;
  position: relative;
}

.visit__form-submit-loading {
  display: none;
}

.visit__form-submit--loading .visit__form-submit-text {
  opacity: 0;
}

.visit__form-submit--loading .visit__form-submit-loading {
  display: block;
  position: absolute;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Success message */
.visit__form-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background-color: var(--color-sage-light);
  border-radius: var(--radius-md);
  margin-top: 20px;
  color: var(--color-sage-dark);
}

.visit__form-success--visible {
  display: flex;
}

.visit__form-success svg {
  color: var(--color-sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.visit__form-success strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-sage-dark);
}

.visit__form-success p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-sage);
}

/* ---------- FOOTER ---------- */
.footer {
  background-color: var(--color-espresso);
  color: var(--color-latte-light);
  padding-top: 80px;
  padding-bottom: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer brand */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__logo span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-cream);
}

.footer__logo:hover {
  color: var(--color-cream);
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-latte);
  transition: all var(--duration) var(--ease);
}

.footer__social-link:hover {
  background-color: var(--color-caramel);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Footer columns */
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 16px;
}

.footer__col ul li {
  margin-bottom: 8px;
}

.footer__col a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all var(--duration) var(--ease);
}

.footer__col a:hover {
  opacity: 1;
  color: var(--color-caramel);
}

.footer__col address {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer__col p a {
  color: var(--color-caramel);
  opacity: 1;
}

.footer__hours {
  margin-top: 12px;
}

.footer__hours span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.8;
}

/* Footer bottom */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.82rem;
  opacity: 0.6;
}

.footer__legal {
  font-size: 0.82rem;
}

.footer__legal-links {
  display: flex;
  gap: 20px;
}

.footer__legal-links a {
  font-size: 0.82rem;
  opacity: 0.8;
}

.footer__legal-links a:hover {
  opacity: 1;
  color: var(--color-caramel);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-brown);
  color: var(--color-cream);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(30, 20, 13, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration) var(--ease);
  z-index: 100;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-espresso);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 20, 13, 0.3);
}

/* ---------- SCROLL REVEAL ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE: TABLET (< 1024px) ---------- */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__desc {
    margin: 0 auto 32px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__illustration {
    max-width: 280px;
  }

  .hero__trust-inner {
    gap: 16px;
    padding: 16px 24px;
  }

  .hero__trust-divider {
    display: none;
  }

  .story__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .sourcing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .sourcing__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .sourcing__timeline::before {
    display: none;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

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

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

/* ---------- RESPONSIVE: MOBILE (< 640px) ---------- */
@media (max-width: 640px) {
  :root {
    --section-py: 64px;
    --container-px: 20px;
    --nav-height: 64px;
    --nav-height-scrolled: 56px;
  }

  /* Mobile nav */
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    background-color: var(--color-cream);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s var(--ease);
  }

  .nav__links--open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-brown);
  }

  .nav__cta-btn {
    margin-top: 16px;
    padding: 14px 36px;
    font-size: 1rem;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 30px);
    padding-bottom: 40px;
  }

  .hero__badge {
    font-size: 0.78rem;
    padding: 6px 16px;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero__illustration {
    max-width: 220px;
  }

  .hero__trust-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .hero__scroll {
    display: none;
  }

  /* Menu mobile */
  .menu__grid {
    grid-template-columns: 1fr;
  }

  /* Impact mobile */
  .impact__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .impact__stat {
    padding: 20px 12px;
  }

  .impact__stat-number {
    font-size: 2.2rem;
  }

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

  /* Sourcing mobile */
  .sourcing__timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Events mobile */
  .events__card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .events__date {
    flex-direction: row;
    min-width: auto;
    height: auto;
    padding: 8px 16px;
    gap: 8px;
  }

  .events__reserve-btn {
    align-self: flex-start;
  }

  /* Testimonials mobile */
  .testimonials__grid {
    max-width: 100%;
  }

  /* Visit mobile */
  .visit__form-row {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer__legal-links {
    justify-content: center;
  }

  /* Buttons mobile */
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }

  .hero__orb {
    animation: none;
  }

  .hero__steam,
  .hero__steam-heart,
  .hero__bean--1,
  .hero__bean--2,
  .hero__bean--3,
  .logo-steam,
  .hero__scroll-dot {
    animation: none;
  }
}

/* ---------- PRINT STYLES ---------- */
@media print {
  .nav,
  .hero__bg-orbs,
  .hero__scroll,
  .cta-banner,
  .back-to-top,
  .nav__hamburger,
  .events__reserve-btn,
  .visit__form-wrap,
  .footer__social {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .section {
    padding: 32px 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
