/* ===================================================
   TILLYJOYPEBBL.DIGITAL — COASTAL NORDIC AURA
   Premium Finnish Waterfront Café Discovery Platform
   =================================================== */

/* --- CSS VARIABLES --- */
:root {
  /* Backgrounds */
  --bg-mist: #F7F6F2;
  --bg-sand: #F3EFE7;
  --bg-warm: #FBF8F3;
  
  /* Glass UI */
  --glass-bg: rgba(0,0,0,0.75);
  --glass-blur: 18px;
  --glass-border: rgba(255,255,255,0.08);
  --glass-strong: rgba(0,0,0,0.88);
  
  /* Primary — Nordic Moss Green */
  --moss-start: #2F6F5E;
  --moss-end: #4C9A7A;
  --moss-gradient: linear-gradient(135deg, #2F6F5E, #4C9A7A);
  
  /* Secondary — Coffee Cream */
  --cream-start: #C8A27A;
  --cream-end: #E6D5B8;
  --cream-gradient: linear-gradient(135deg, #C8A27A, #E6D5B8);
  
  /* Water Reflection — Soft Teal */
  --teal-start: #5FA8A2;
  --teal-end: #7FCFC7;
  --teal-gradient: linear-gradient(135deg, #5FA8A2, #7FCFC7);
  
  /* Highlights */
  --glow-warm: rgba(255, 220, 180, 0.4);
  --glow-mist: rgba(255,255,255,0.6);
  
  /* Typography */
  --text-primary: #1E1F1C;
  --text-secondary: #5A5A55;
  --text-muted: #A9A7A1;
  
  /* Header specific */
  --header-text: #F0EDE8;
  --header-text-secondary: rgba(240,237,232,0.65);
  --header-text-muted: rgba(240,237,232,0.4);
  --header-hover-bg: rgba(255,255,255,0.08);
  
  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout */
  --max-width: 1440px;
  --section-padding: 140px;
  --section-padding-tablet: 100px;
  --section-padding-mobile: 72px;
  --radius-card: 32px;
  --radius-btn: 52px;
  --radius-capsule: 56px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-mist);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-out);
}

ul {
  list-style: none;
}

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

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- UTILITY --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 80px);
}

.desktop-br {
  display: block;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--moss-start);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--moss-gradient);
  border-radius: 2px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-heading em {
  font-style: italic;
  color: var(--moss-start);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header .section-desc {
  margin: 0 auto;
}

.section-header .section-label::before {
  display: none;
}

/* ===================================================
   FLOATING GLASS HEADER — BLACK THEME
   =================================================== */
.floating-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 1100px;
  transition: all 0.4s var(--ease-out);
}

.floating-header.scrolled {
  top: 12px;
}

.header-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 28px;
  background: var(--glass-strong);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-capsule);
  box-shadow: 
    0 4px 24px rgba(0,0,0,0.15),
    0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.4s var(--ease-out);
}

.floating-header.scrolled .header-capsule {
  box-shadow: 
    0 8px 40px rgba(0,0,0,0.2),
    0 2px 8px rgba(0,0,0,0.12);
}

/* Logo — light text on dark */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.floating-header .logo-icon circle {
  stroke: var(--teal-end);
}

.floating-header .logo-icon circle:last-child {
  fill: var(--teal-end);
  stroke: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.floating-header .logo-text {
  color: var(--header-text);
}

/* Nav Links — light on dark */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--header-text-secondary);
  border-radius: 40px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}

.nav-icon {
  font-size: 0.8rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--teal-gradient);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-spring);
}

.nav-link:hover {
  color: var(--header-text);
  background: var(--header-hover-bg);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  animation: rippleUnderline 1.5s var(--ease-out) infinite;
}

.nav-link.active {
  color: var(--header-text);
}

@keyframes rippleUnderline {
  0%, 100% { width: 20px; }
  50% { width: 28px; }
}

/* CTA — bright on dark */
.cta-discover {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--teal-gradient);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 44px;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 2px 12px rgba(95,168,162,0.3);
}

.cta-discover:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(95,168,162,0.45);
}

/* Mobile Toggle — light on dark */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.3s;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--header-text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.mobile-toggle:hover {
  background: rgba(255,255,255,0.08);
}

/* Mobile Panel */
.mobile-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-spring);
}

.mobile-panel.open {
  transform: translateY(0);
}

.mobile-panel-inner {
  background: rgba(20,20,18,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  padding: 32px 28px 48px;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.3);
}

.mobile-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-panel-header .logo-text {
  color: var(--header-text);
}

.mobile-close {
  font-size: 1.8rem;
  color: rgba(240,237,232,0.6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}

.mobile-close:hover {
  background: rgba(255,255,255,0.08);
  color: var(--header-text);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.mobile-link {
  display: block;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(240,237,232,0.8);
  border-radius: 16px;
  transition: background 0.3s, color 0.3s;
}

.mobile-link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--header-text);
}

.mobile-cta {
  width: 100%;
  text-align: center;
  padding: 16px;
  border-radius: 20px;
  font-size: 1rem;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(60px, 10vh, 120px) 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    linear-gradient(180deg, 
      rgba(247,246,242,0.1) 0%, 
      rgba(243,239,231,0.3) 40%,
      rgba(243,239,231,0.85) 75%,
      var(--bg-mist) 100%
    ),
    linear-gradient(135deg, #d4e8e0 0%, #e8dcc8 30%, #c8dbd6 60%, #f0ebe3 100%);
  background-size: cover;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(95,168,162,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(200,162,122,0.1) 0%, transparent 50%);
}

.hero-mist-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-mist) 0%, transparent 40%);
  z-index: 1;
}

.water-ripple-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 18px,
    rgba(95,168,162,0.03) 18px,
    rgba(95,168,162,0.03) 20px
  );
  animation: waterShift 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes waterShift {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-4px) scaleY(1.02); }
}

.sunlight-bloom {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(255,220,180,0.25) 0%, transparent 70%);
  animation: sunlightPulse 10s ease-in-out infinite;
  z-index: 1;
}

@keyframes sunlightPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Hero Floating Cards */
.hero-floating-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-float-card {
  position: absolute;
  width: 180px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  opacity: 0;
  animation: floatCardIn 1s var(--ease-out) forwards;
}

.hero-float-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.hero-float-card span {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
}

.hero-float-card-1 {
  top: 18%;
  right: 8%;
  animation-delay: 0.8s;
  animation-name: floatCardIn, heroFloat1;
  animation-duration: 1s, 8s;
  animation-timing-function: var(--ease-out), ease-in-out;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
  animation-delay: 0.8s, 1.8s;
}

.hero-float-card-2 {
  top: 42%;
  right: 4%;
  animation-delay: 1.2s;
  animation-name: floatCardIn, heroFloat2;
  animation-duration: 1s, 10s;
  animation-timing-function: var(--ease-out), ease-in-out;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
  animation-delay: 1.2s, 2.2s;
}

.hero-float-card-3 {
  top: 28%;
  right: 22%;
  width: 160px;
  animation-delay: 1.6s;
  animation-name: floatCardIn, heroFloat3;
  animation-duration: 1s, 12s;
  animation-timing-function: var(--ease-out), ease-in-out;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
  animation-delay: 1.6s, 2.6s;
}

@keyframes floatCardIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroFloat1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes heroFloat2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

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

/* Steam Particles */
.steam-container {
  position: absolute;
  bottom: 20%;
  left: 15%;
  width: 60px;
  height: 120px;
  z-index: 2;
}

.steam {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  filter: blur(4px);
  animation: steamRise 4s ease-out infinite;
}

.steam-1 { left: 10px; animation-delay: 0s; }
.steam-2 { left: 25px; animation-delay: 0.8s; }
.steam-3 { left: 40px; animation-delay: 1.6s; }
.steam-4 { left: 15px; animation-delay: 2.4s; }
.steam-5 { left: 35px; animation-delay: 3.2s; }
.steam-6 { left: 20px; animation-delay: 0.4s; }

@keyframes steamRise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  20% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) translateX(20px) scale(2.5);
  }
}

/* Hero Content — pushed below header */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 clamp(20px, 6vw, 120px);
  padding-top: 120px;
  max-width: 800px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss-start);
  margin-bottom: 28px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  border: 1px solid rgba(47,111,94,0.1);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss-start);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-heading em {
  font-style: italic;
  background: var(--teal-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

/* Hero Café Strip */
.hero-cafe-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 48px;
  margin-bottom: 32px;
  width: fit-content;
}

.hero-strip-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss-start);
  white-space: nowrap;
}

.hero-strip-thumbs {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-strip-thumb {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid white;
  margin-left: -8px;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-strip-thumb:first-child {
  margin-left: 0;
}

.hero-strip-thumb:hover {
  transform: translateY(-4px) scale(1.15);
  z-index: 10;
  box-shadow: 0 6px 20px rgba(47,111,94,0.25);
  border-color: var(--moss-start);
}

.hero-strip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-strip-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding-left: 8px;
  border-left: 1px solid rgba(0,0,0,0.08);
}

.hero-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: clamp(30px, 5vh, 60px);
  right: clamp(30px, 6vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  border: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(circle at center, rgba(255,255,255,0.3), transparent 70%);
}

.btn:hover::after {
  opacity: 1;
  animation: rippleBtn 0.6s ease-out;
}

@keyframes rippleBtn {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

.btn-primary {
  background: var(--moss-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(47,111,94,0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(47,111,94,0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.8);
  color: var(--text-primary);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.btn-card {
  padding: 12px 28px;
  background: var(--cream-gradient);
  color: var(--text-primary);
  font-size: 0.85rem;
  box-shadow: 0 2px 12px rgba(200,162,122,0.2);
}

.btn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,162,122,0.3);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-icon {
  font-size: 1rem;
}

/* ===================================================
   EDITORIAL INTRO
   =================================================== */
.editorial-intro {
  padding: var(--section-padding) 0;
  background: var(--bg-mist);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.editorial-body {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.editorial-stats {
  display: flex;
  gap: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--moss-start);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ===================================================
   CAFÉS SECTION
   =================================================== */
.cafes-section {
  padding: var(--section-padding) 0;
  background: var(--bg-sand);
  position: relative;
}

.cafes-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--bg-mist), var(--bg-sand));
  pointer-events: none;
}

/* Café Grid — Asymmetric Editorial */
.cafe-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  grid-auto-rows: auto;
}

/* Large cards */
.cafe-card-1 {
  grid-column: 1 / 7;
}

.cafe-card-2 {
  grid-column: 7 / 13;
}

/* Medium cards */
.cafe-card-3 {
  grid-column: 1 / 5;
}

.cafe-card-4 {
  grid-column: 5 / 9;
}

.cafe-card-5 {
  grid-column: 9 / 13;
}

/* Card Styles */
.cafe-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  position: relative;
}

.cafe-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(95,168,162,0.1), rgba(200,162,122,0.1)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
  pointer-events: none;
}

.cafe-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 24px 64px rgba(0,0,0,0.06),
    0 8px 24px rgba(0,0,0,0.03),
    0 0 0 1px rgba(200,162,122,0.1);
}

.cafe-card:hover::before {
  opacity: 1;
}

.cafe-card-image {
  position: relative;
  overflow: hidden;
}

.cafe-card-large .cafe-card-image {
  height: 380px;
}

.cafe-card-medium .cafe-card-image {
  height: 260px;
}

.cafe-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.cafe-card:hover .cafe-card-image img {
  transform: scale(1.05);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(243,239,231,0.6) 100%);
  pointer-events: none;
}

.card-ripple-border {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(95,168,162,0);
  border-radius: 0;
  transition: all 0.6s var(--ease-out);
  pointer-events: none;
}

.cafe-card:hover .card-ripple-border {
  border-color: rgba(95,168,162,0.15);
  animation: cardRipple 1.5s ease-out;
}

@keyframes cardRipple {
  0% { box-shadow: inset 0 0 0 0 rgba(95,168,162,0.2); }
  100% { box-shadow: inset 0 0 0 8px rgba(95,168,162,0); }
}

.cafe-card-content {
  padding: 32px;
}

.cafe-card-medium .cafe-card-content {
  padding: 24px;
}

.cafe-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cafe-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-start);
  letter-spacing: 0.05em;
}

.cafe-city {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.cafe-name {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.cafe-story {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cafe-card-medium .cafe-story {
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cafe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--moss-start);
  background: rgba(47,111,94,0.06);
  border: 1px solid rgba(47,111,94,0.1);
  border-radius: 20px;
}

/* ===================================================
   CAFÉ DETAIL MODAL
   =================================================== */
.cafe-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.cafe-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cafe-modal {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-warm);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(40px) scale(0.95);
  transition: transform 0.5s var(--ease-spring);
}

.cafe-modal-overlay.active .cafe-modal {
  transform: translateY(0) scale(1);
}

.cafe-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 1.6rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.cafe-modal-close:hover {
  transform: scale(1.1);
  background: white;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.cafe-modal-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
}

.cafe-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cafe-modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(30,31,28,0.7) 100%);
}

.cafe-modal-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 2;
}

.cafe-modal-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.cafe-modal-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: white;
  line-height: 1.15;
  margin-bottom: 8px;
}

.cafe-modal-city {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
}

.cafe-modal-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding: 48px 40px;
}

.cafe-modal-section {
  margin-bottom: 32px;
}

.cafe-modal-section:last-child {
  margin-bottom: 0;
}

.cafe-modal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cafe-modal-section p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.cafe-modal-info-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
}

.cafe-modal-info-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cafe-modal-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cafe-modal-details li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.detail-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
}

.cafe-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.cafe-modal-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(47,111,94,0.06);
  border-radius: 16px;
  border: 1px solid rgba(47,111,94,0.1);
}

.rating-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--moss-start);
}

.rating-stars {
  font-size: 1.1rem;
  color: var(--cream-start);
  letter-spacing: 2px;
}

/* ===================================================
   EXPERIENCE / MOMENTS SECTION
   =================================================== */
.experience-section {
  padding: var(--section-padding) 0;
  background: var(--bg-warm);
  position: relative;
}

.experience-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a27a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.moment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
  position: relative;
}

.moment:last-child {
  margin-bottom: 0;
}

.moment-right {
  direction: rtl;
}

.moment-right > * {
  direction: ltr;
}

.moment-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.moment-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.05);
  pointer-events: none;
}

.moment-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  transition: transform 0.8s var(--ease-out);
}

.moment:hover .moment-image img {
  transform: scale(1.03);
}

.moment-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 400;
  color: rgba(47,111,94,0.08);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.moment-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.moment-text {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-secondary);
}

.moment-text em {
  font-style: italic;
  color: var(--moss-start);
}

/* ===================================================
   CITY GUIDES SECTION
   =================================================== */
.guides-section {
  padding: var(--section-padding) 0;
  background: var(--bg-mist);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.guide-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.5s var(--ease-out);
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.06);
}

.guide-card-visual {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.guide-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.guide-card:hover .guide-card-visual img {
  transform: scale(1.05);
}

.guide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(30,31,28,0.4) 100%);
}

.guide-card-content {
  padding: 32px;
}

.guide-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.guide-card-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.guide-count {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--moss-start);
  padding: 6px 16px;
  background: rgba(47,111,94,0.06);
  border-radius: 20px;
  display: inline-block;
}

/* ===================================================
   ABOUT SECTION
   =================================================== */
.about-section {
  padding: var(--section-padding) 0;
  background: var(--bg-sand);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.value-item {
  padding: 32px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  transition: all 0.3s var(--ease-out);
}

.value-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

.value-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 12px;
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.value-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ===================================================
   CONTACT SECTION
   =================================================== */
.contact-section {
  padding: var(--section-padding) 0;
  background: var(--bg-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-intro {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.7);
  color: var(--text-primary);
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--moss-start);
  box-shadow: 0 0 0 3px rgba(47,111,94,0.08);
  background: white;
}

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

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  padding: 80px 0 40px;
  background: var(--bg-mist);
  border-top: 1px solid rgba(0,0,0,0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo-text {
  color: var(--text-primary);
}

.footer-brand .logo-icon circle {
  stroke: #2F6F5E;
}

.footer-brand .logo-icon circle:last-child {
  fill: #2F6F5E;
  stroke: none;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}

.footer-links-group h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-links-group a:hover {
  color: var(--moss-start);
}

.footer-newsletter h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--moss-start);
  box-shadow: 0 0 0 3px rgba(47,111,94,0.08);
}

.newsletter-form button {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--moss-gradient);
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
  flex-shrink: 0;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(47,111,94,0.25);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-made {
  font-style: italic;
}

/* ===================================================
   LEGAL PAGES (Privacy Policy & Terms)
   =================================================== */
.legal-hero {
  padding: 160px 0 80px;
  background: var(--bg-sand);
  position: relative;
}

.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(95,168,162,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(200,162,122,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.legal-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--moss-start);
  margin-bottom: 32px;
  padding: 8px 16px;
  background: rgba(47,111,94,0.06);
  border-radius: 24px;
  border: 1px solid rgba(47,111,94,0.1);
  transition: all 0.3s var(--ease-out);
}

.legal-back-link:hover {
  background: rgba(47,111,94,0.1);
  transform: translateX(-4px);
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.legal-content-section {
  padding: 80px 0 var(--section-padding);
  background: var(--bg-mist);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.legal-block h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-block p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.legal-block ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.legal-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(47,111,94,0.2);
  border: 1.5px solid var(--moss-start);
}

.legal-block ul li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-block a {
  color: var(--moss-start);
  font-weight: 500;
  border-bottom: 1px solid rgba(47,111,94,0.2);
  transition: all 0.3s;
}

.legal-block a:hover {
  color: var(--moss-end);
  border-bottom-color: var(--moss-end);
}

/* ===================================================
   ANIMATIONS
   =================================================== */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.anim-delay-1 { transition-delay: 0.15s; }
.anim-delay-2 { transition-delay: 0.3s; }
.anim-delay-3 { transition-delay: 0.45s; }
.anim-delay-4 { transition-delay: 0.6s; }

/* ===================================================
   RESPONSIVE — TABLET
   =================================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: var(--section-padding-tablet);
  }

  .nav-links {
    display: none;
  }

  .cta-discover:not(.mobile-cta) {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .cafe-card-1 { grid-column: 1 / 2; }
  .cafe-card-2 { grid-column: 2 / 3; }
  .cafe-card-3 { grid-column: 1 / 2; }
  .cafe-card-4 { grid-column: 2 / 3; }
  .cafe-card-5 { grid-column: 1 / 3; }

  .cafe-card-large .cafe-card-image {
    height: 280px;
  }

  .moment {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }

  .moment-right {
    direction: ltr;
  }

  .moment-image img {
    height: 320px;
  }

  .guides-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .guides-grid .guide-card:last-child {
    grid-column: 1 / 3;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  /* Hero floating cards - hide on tablet */
  .hero-floating-cards {
    display: none;
  }

  /* Hero content — adjust padding for tablet */
  .hero-content {
    padding-top: 100px;
  }

  /* Modal responsive */
  .cafe-modal-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 28px;
  }

  .cafe-modal-hero {
    height: 260px;
  }

  .cafe-modal-hero-content {
    padding: 28px;
  }
}

/* ===================================================
   RESPONSIVE — MOBILE
   =================================================== */
@media (max-width: 640px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  .floating-header {
    width: calc(100% - 24px);
    top: 12px;
  }

  .header-capsule {
    padding: 10px 10px 10px 20px;
  }

  .floating-header .logo-text {
    font-size: 1rem;
  }

  .hero {
    padding-bottom: 60px;
  }

  .hero-content {
    padding-top: 90px;
  }

  .hero-heading {
    font-size: 2.4rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-floating-cards {
    display: none;
  }

  .hero-cafe-strip {
    gap: 10px;
    padding: 10px 14px;
  }

  .hero-strip-thumb {
    width: 34px;
    height: 34px;
    margin-left: -6px;
  }

  .desktop-br {
    display: inline;
  }

  .editorial-stats {
    gap: 32px;
  }

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

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

  .cafe-card-1,
  .cafe-card-2,
  .cafe-card-3,
  .cafe-card-4,
  .cafe-card-5 {
    grid-column: 1 / -1;
  }

  .cafe-card-large .cafe-card-image,
  .cafe-card-medium .cafe-card-image {
    height: 220px;
  }

  .moment-image img {
    height: 240px;
  }

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

  .guides-grid .guide-card:last-child {
    grid-column: auto;
  }

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

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

  .section-heading {
    font-size: 2rem;
  }

  /* Modal mobile */
  .cafe-modal-overlay {
    padding: 12px;
  }

  .cafe-modal {
    border-radius: 20px;
    max-height: 95vh;
  }

  .cafe-modal-hero {
    height: 200px;
    border-radius: 20px 20px 0 0;
  }

  .cafe-modal-hero-content {
    padding: 20px;
  }

  .cafe-modal-title {
    font-size: 1.6rem;
  }

  .cafe-modal-body {
    padding: 24px 20px;
    gap: 24px;
  }

  .cafe-modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  /* Legal pages mobile */
  .legal-hero {
    padding: 140px 0 60px;
  }

  .legal-block h2 {
    font-size: 1.3rem;
  }
}

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

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

  html {
    scroll-behavior: auto;
  }

  .hero-float-card {
    opacity: 1;
    transform: none;
  }
}

/* ===================================================
   FOCUS STYLES (Accessibility)
   =================================================== */
:focus-visible {
  outline: 2px solid var(--moss-start);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ===================================================
   PRINT STYLES
   =================================================== */
@media print {
  .floating-header,
  .mobile-panel,
  .hero-bg,
  .steam-container,
  .hero-scroll-indicator,
  .hero-floating-cards,
  .cafe-modal-overlay {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}