/* ═══════════ RAÍZ · EDITORIAL MINIMAL ═══════════ */
/* Fonts loaded via <link> in HTML head — no @import to avoid file:// issues */

:root {
  /* Earth-tones premium palette */
  --bone: #F4F1EA;
  --bone-warm: #EAE5DA;
  --charcoal: #1A1A1A;
  --charcoal-soft: #2A2A2A;
  --olive: #5A6A3A;
  --olive-deep: #424F2A;
  --stone: #8C8478;
  --stone-light: #B5AFA4;
  --ember: #C04B1E;
  --ember-deep: #9A3B14;
  /* Legacy alias para no romper componentes que aún no migran */
  --cream: var(--bone);
  --cream-warm: var(--bone-warm);
  --walnut: var(--charcoal);
  --sage: var(--olive);
  --sage-light: var(--olive);
  --forest: var(--charcoal);
  --coral: var(--ember);
  --coral-light: var(--ember);
  --tan: var(--stone);
  --tan-light: var(--stone-light);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bone);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-variation-settings: 'SOFT' 100;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ═══════════ LOADER ═══════════ */
.loader {
  position: fixed; inset: 0; background: var(--bone); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  /* CSS-only auto-hide: total 1.2s (0.9s display + 0.3s fade) */
  animation: forceHideLoader 0.3s ease 0.9s forwards;
}
.loader.hidden { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
@keyframes forceHideLoader {
  from { opacity: 1; visibility: visible; }
  to { opacity: 0; visibility: hidden; }
}
.loader-mark {
  width: 240px; height: 240px;
  animation: loaderPulse 1.6s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

/* ═══════════ DAY STRIP ═══════════ */
.day-strip {
  background: var(--charcoal); color: var(--bone);
  padding: 10px 24px; text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  position: relative; z-index: 3;
  font-weight: 500;
}

/* ═══════════ AMBIENT FLOATING LEAVES ═══════════ */
.amb-leaves {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  overflow: hidden;
}
.amb-leaf {
  position: absolute; opacity: 0.07; fill: var(--sage);
  animation: drift linear infinite; will-change: transform;
}
.amb-leaf:nth-child(1) { top: 8%; left: 4%; width: 90px; animation-duration: 28s; animation-delay: 0s; }
.amb-leaf:nth-child(2) { top: 24%; left: 88%; width: 110px; animation-duration: 34s; animation-delay: -7s; }
.amb-leaf:nth-child(3) { top: 55%; left: 6%; width: 75px; animation-duration: 30s; animation-delay: -12s; }
.amb-leaf:nth-child(4) { top: 72%; left: 80%; width: 95px; animation-duration: 36s; animation-delay: -18s; }
.amb-leaf:nth-child(5) { top: 40%; left: 45%; width: 65px; animation-duration: 26s; animation-delay: -4s; }
.amb-leaf:nth-child(6) { top: 90%; left: 30%; width: 80px; animation-duration: 32s; animation-delay: -22s; }
@keyframes drift {
  0%   { transform: translate(0,0) rotate(0deg); }
  25%  { transform: translate(40px,-30px) rotate(20deg); }
  50%  { transform: translate(70px,0) rotate(-10deg); }
  75%  { transform: translate(35px,30px) rotate(15deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}

/* ═══════════ NAV (RESPONSIVE) ═══════════ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 239, 227, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(107, 93, 74, 0.15);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-variation-settings: 'SOFT' 100;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: opacity 0.2s;
  display: inline-flex; align-items: baseline; gap: 10px;
}
.nav-logo .raiz {
  color: var(--charcoal);
}
.nav-logo .raiz .accent {
  color: var(--olive);
}
.nav-logo .nutrition {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500; font-size: 10px;
  color: var(--stone);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transform: translateY(-4px);
}
.nav-logo:hover .raiz .accent { color: var(--ember); transition: color 0.25s; }
.nav-logo:hover { opacity: 0.7; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--tan); transition: color 0.2s; position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--sage); }
.nav-links a.active { color: var(--walnut); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--sage);
}
.nav-cta {
  background: var(--charcoal); color: var(--bone) !important;
  padding: 12px 22px; border-radius: 0; letter-spacing: 0.15em !important;
  font-size: 12px !important; transition: background 0.2s;
  min-height: 44px; display: inline-flex; align-items: center;
  font-weight: 600; text-transform: uppercase;
}
.nav-cta:hover { background: var(--sage); color: var(--cream) !important; }
.nav-cta.active::after { display: none; }

/* Hamburger toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  z-index: 101;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--walnut); margin: 5px 0;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 75%; max-width: 320px;
    height: 100vh; background: var(--cream);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 60px 40px; gap: 28px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -20px 0 40px rgba(61, 47, 31, 0.1);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 18px; letter-spacing: 0.2em; }
  .nav-cta { padding: 14px 24px; font-size: 14px !important; align-self: flex-start; }
  .nav-overlay {
    position: fixed; inset: 0; background: rgba(61, 47, 31, 0.4); z-index: 99;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
  }
  .nav-overlay.open { opacity: 1; visibility: visible; }
}

/* ═══════════ HERO · EDITORIAL MINIMAL ═══════════ */
.hero {
  min-height: 92vh; padding: 50px 40px 60px;
  text-align: left;
  background: var(--bone);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 106, 58, 0.10) 0%, rgba(90, 106, 58, 0) 70%);
  pointer-events: none;
}
.hero-leaf { display: none; }
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 2; width: 100%;
}
.hero-corner-meta {
  position: absolute; top: 20px; right: 20px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--stone);
  white-space: nowrap;
}
/* On mobile, drop it inline above the eyebrow instead of absolute-positioned
   so it never overlaps the previous dark CTA section. */
@media (max-width: 768px) {
  .hero-corner-meta {
    position: static; right: auto; top: auto;
    margin-bottom: 16px;
    font-size: 10px;
    color: var(--stone);
  }
}
.hero-logo {
  margin: 0 0 6px; width: 100%; max-width: 440px;
  display: block;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--olive);
  margin-bottom: 24px; font-weight: 500;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero-eyebrow::before { content: '— '; }
.hero-subline { opacity: 0; animation: fadeUp 0.8s ease forwards 0.9s; }
.hero-tag-es { opacity: 0; animation: fadeUp 0.8s ease forwards 1.1s; }
.hero-tag-en { opacity: 0; animation: fadeUp 0.8s ease forwards 1.3s; }
.hero-ctas { opacity: 0; animation: fadeUp 0.8s ease forwards 1.5s; }
.hero-subline {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500; font-size: 11px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 24px;
}
.hero-tag-es {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400; font-style: italic;
  font-variation-settings: 'SOFT' 100;
  font-size: 34px; line-height: 1.2;
  color: var(--charcoal);
  margin: 8px 0 14px; max-width: 600px;
}
.hero-tag-en {
  font-family: 'Inter', sans-serif;
  font-weight: 400; font-size: 15px;
  color: var(--stone); line-height: 1.65;
  letter-spacing: 0; text-transform: none;
  margin-bottom: 40px; max-width: 480px;
}
.hero-ctas { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }

/* ═══════════ HERO PHOTO STRIP · 4-UP GALLERY ═══════════ */
.hero-photo-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 56px;
  max-width: 880px;
  opacity: 0; animation: fadeUp 0.9s ease forwards 1.7s;
}
.photo-tile {
  position: relative; aspect-ratio: 4 / 5;
  background: var(--charcoal); overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.photo-tile img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: grayscale(15%) brightness(0.92);
}
.photo-tile:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}
.photo-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
  pointer-events: none;
}
.photo-tile-label {
  position: absolute; bottom: 12px; left: 14px; right: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bone);
  z-index: 1; font-weight: 500;
}
@media (max-width: 768px) {
  .hero-photo-strip { grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 32px; }
  .photo-tile { aspect-ratio: 1 / 1; }
  .photo-tile-label { font-size: 9px; bottom: 8px; left: 10px; }
}
.hero-scroll-hint {
  position: absolute; bottom: -50px; left: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--stone);
  display: flex; align-items: center; gap: 12px;
  opacity: 0; animation: fadeUp 0.8s ease forwards 2s;
}
.hero-scroll-hint::before {
  content: ''; width: 1px; height: 24px; background: var(--stone);
}

/* ═══════════ HERO SLIDESHOW ═══════════ */
.hero-slides {
  position: relative; min-height: 200px;
  margin-top: 28px;
}
.hero-slide {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.6s ease;
}
.hero-slide.active {
  position: relative; opacity: 1; pointer-events: auto;
  animation: slideIn 0.8s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-dots {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 32px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 0;
  background: var(--stone-light); border: none;
  cursor: pointer; padding: 0;
  transition: all 0.3s ease; opacity: 0.5;
}
.hero-dot:hover { opacity: 1; }
.hero-dot.active {
  background: var(--charcoal); width: 28px; opacity: 1;
}
.hero-dots { justify-content: flex-start; }
.hero-signature {
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone);
  opacity: 0; animation: fadeUp 1.2s ease forwards 2.2s;
}
.hero-signature-prefix { font-style: normal; }
.hero-signature-name { font-weight: 600; color: var(--charcoal); }
.hero-heart {
  width: 22px; height: 22px;
  animation: heartBeat 1.8s ease-in-out infinite;
  transform-origin: center;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.18); }
  30% { transform: scale(1); }
  45% { transform: scale(1.12); }
  60% { transform: scale(1); }
}
.greeting {
  font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero-logo { opacity: 0; animation: fadeUp 1s ease forwards 0.7s; }
.hero-tag-es { opacity: 0; animation: fadeUp 0.8s ease forwards 1.1s; }
.hero-tag-en { opacity: 0; animation: fadeUp 0.8s ease forwards 1.3s; }
.hero-ctas { opacity: 0; animation: fadeUp 0.8s ease forwards 1.5s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .hero { min-height: 82vh; }
  .hero-tag-es { font-size: 22px; }
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-block; padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 0;
  transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--bone);
}
.btn-primary:hover {
  background: var(--olive);
}
.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--bone);
}
.btn-ember {
  background: var(--ember); color: var(--bone);
}
.btn-ember:hover {
  background: var(--ember-deep);
}

/* ═══════════ SECTIONS · EDITORIAL ═══════════ */
section { padding: 100px 40px; position: relative; z-index: 2; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: left; margin-bottom: 64px; max-width: 760px; }
.section-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 16px; font-weight: 500;
}
.section-eyebrow::before { content: '— '; }
.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-variation-settings: 'SOFT' 100;
  font-size: 72px; line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--charcoal); margin: 0 0 10px;
}
.section-title-en {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; color: var(--stone);
  letter-spacing: 0.3em; text-transform: uppercase;
  font-weight: 500;
}
.divider { width: 40px; height: 1px; background: var(--charcoal); margin: 28px 0 0; }
@media (max-width: 768px) { .section-title { font-size: 48px; } section { padding: 70px 24px; } }
@media (max-width: 480px) { .section-title { font-size: 40px; } }

/* ═══════════ MARQUEE · MINIMAL EDITORIAL ═══════════ */
.marquee {
  background: var(--charcoal); color: var(--bone);
  padding: 22px 0; overflow: hidden; position: relative; z-index: 2;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 48px;
  animation: marquee 38s linear infinite;
  white-space: nowrap; will-change: transform;
}
.marquee-item {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 48px;
  color: var(--bone);
}
.marquee-dot {
  display: inline-block; width: 4px; height: 4px;
  background: var(--olive); border-radius: 50%;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .marquee-item { font-size: 11px; gap: 28px; }
  .marquee-track { gap: 28px; }
}

/* ═══════════ MENU CARDS ═══════════ */
.menu-filter {
  display: flex; justify-content: flex-start; gap: 0; margin-bottom: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
}
.filter-btn {
  background: transparent; border: none;
  color: var(--charcoal); padding: 16px 22px; border-radius: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; font-weight: 500;
  border-right: 1px solid var(--charcoal);
  min-height: 48px;
}
.filter-btn:last-child { border-right: none; }
.filter-btn:hover { background: var(--bone-warm); color: var(--olive); }
.filter-btn.active {
  background: var(--charcoal); color: var(--bone);
}
.menu-card.hidden { display: none; }
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.menu-card {
  background: var(--bone); border-radius: 0; overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
  will-change: transform;
}
.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(61, 47, 31, 0.18);
}
.menu-photo {
  aspect-ratio: 4 / 3; background: var(--sage-light); position: relative;
  overflow: hidden;
}
.menu-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-card:hover .menu-photo img { transform: scale(1.12); }
.menu-photo::after {
  content: ''; position: absolute; inset: 0;
  background: var(--cream-warm);
  transform: translateY(0); transform-origin: bottom;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
.reveal-stagger.visible .menu-photo::after { transform: translateY(101%); }
.menu-body { padding: 24px 4px; }
.menu-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--olive);
  margin-bottom: 10px; font-weight: 500;
}
.menu-name-es {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700; font-size: 22px; color: var(--charcoal);
  margin-bottom: 4px; letter-spacing: -0.02em; line-height: 1.15;
}
.menu-name-en {
  font-family: 'Inter', sans-serif;
  font-size: 13px; color: var(--stone); font-style: normal;
  margin-bottom: 14px;
}
.menu-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--stone); line-height: 1.6;
  margin-bottom: 20px;
}
.menu-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px; border-top: 1px solid var(--charcoal);
}
.menu-price {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700; font-size: 22px; color: var(--charcoal);
  letter-spacing: -0.02em;
}
.add-btn {
  background: var(--charcoal); color: var(--bone); border: none;
  padding: 14px 20px; border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s;
  min-height: 48px;
}
.add-btn:hover { background: var(--olive); }
.add-btn.added { background: var(--olive); }

/* ═══════════ FORM ═══════════ */
.order-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start;
}
@media (max-width: 768px) {
  .order-grid { grid-template-columns: 1fr; gap: 40px; }
}
.order-form { background: var(--bone-warm); padding: 40px; border-radius: 0; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 10px;
  font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; background: var(--bone);
  border: 1px solid var(--charcoal); border-radius: 0;
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 48px;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--olive);
  box-shadow: 0 0 0 2px var(--olive);
}
.form-group input.field-invalid, .form-group textarea.field-invalid, .form-group select.field-invalid {
  border-color: #C0392B; background: rgba(192, 57, 43, 0.04);
}
.form-error {
  font-size: 12px; color: #C0392B; margin-top: 6px;
  letter-spacing: 0.02em; min-height: 16px;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.order-items {
  background: var(--cream); padding: 16px; border-radius: 4px;
  min-height: 80px; border: 1px dashed rgba(107, 93, 74, 0.25);
}
.order-items.empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--tan-light); font-size: 13px; font-style: italic;
}
.order-item-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 0.5px solid rgba(107, 93, 74, 0.15);
  font-size: 14px;
}
.order-item-row:last-child { border-bottom: none; }
.order-item-row button {
  background: none; border: none; color: var(--tan); cursor: pointer;
  font-size: 12px; padding: 4px 8px;
}
.order-item-row button:hover { color: var(--walnut); }
.order-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--walnut);
  font-family: Georgia, serif; font-size: 20px; color: var(--walnut);
}
.submit-btn {
  width: 100%; padding: 16px; margin-top: 8px;
  background: #25D366; color: white; border: none; border-radius: 4px;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit;
}
.submit-btn:hover { background: #1da851; }
.submit-btn:disabled { background: var(--tan-light); cursor: not-allowed; }
.submit-btn svg { width: 18px; height: 18px; }
.submit-btn:not(:disabled) { animation: greenPulse 2.2s ease infinite; }
@keyframes greenPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ═══════════ INFO BLOCK ═══════════ */
.order-info h3 {
  font-size: 28px; margin-bottom: 24px; color: var(--walnut);
}
.info-row {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 0.5px solid rgba(107, 93, 74, 0.15);
}
.info-row:last-child { border-bottom: none; }
.info-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--sage); color: var(--cream);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 18px; height: 18px; }
.info-label {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--tan); margin-bottom: 4px;
}
.info-content { font-size: 15px; color: var(--walnut); line-height: 1.5; }
.info-content a { color: var(--sage); }
.info-content a:hover { text-decoration: underline; }

/* ═══════════ CTA FINAL · EDITORIAL ═══════════ */
.cta-final {
  background: var(--charcoal); color: var(--bone);
  padding: 140px 40px;
}
.cta-final .section-eyebrow { color: var(--ember); }
.cta-final-support {
  font-family: 'Inter', sans-serif;
  font-size: 16px; color: var(--stone-light);
  line-height: 1.65; margin-bottom: 40px;
  max-width: 480px;
}
.cta-final-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 768px) {
  .cta-final { padding: 90px 24px; }
  .cta-final .section-title { font-size: 52px !important; }
}

/* ═══════════ FOOTER · EDITORIAL ═══════════ */
footer { background: var(--charcoal); color: var(--bone); padding: 80px 40px 32px; position: relative; z-index: 2; border-top: 1px solid var(--charcoal-soft); }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: left; }
.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-variation-settings: 'SOFT' 100;
  font-size: 56px;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex; align-items: baseline; gap: 14px;
}
.footer-logo .raiz {
  color: var(--bone);
}
.footer-logo .raiz .accent {
  color: var(--ember);
}
.footer-logo .nutrition {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500; font-size: 11px;
  color: var(--stone-light);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transform: translateY(-8px);
}
.footer-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 28px;
}
.footer-address {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--stone-light); margin-bottom: 36px; letter-spacing: 0;
}
.footer-links {
  display: flex; justify-content: flex-start; gap: 24px; margin-bottom: 36px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--stone-light); transition: color 0.2s; font-weight: 500;
}
.footer-links a:hover { color: var(--bone); }
.footer-social { display: flex; justify-content: flex-start; gap: 12px; margin-bottom: 36px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 0;
  border: 1px solid var(--stone);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; color: var(--stone-light);
}
.footer-social a:hover { background: var(--bone); border-color: var(--bone); color: var(--charcoal); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--stone); padding-top: 28px;
  border-top: 1px solid var(--charcoal-soft);
}

/* ═══════════ CURSOR GLOW ═══════════ */
.cursor-glow {
  position: fixed; width: 320px; height: 320px;
  border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle, rgba(92, 122, 62, 0.18) 0%, rgba(92, 122, 62, 0) 70%);
  transform: translate(-50%, -50%); top: 0; left: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: multiply;
}
@media (max-width: 768px) { .cursor-glow { display: none; } }

/* ═══════════ REVEAL ON SCROLL ═══════════ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

/* ═══════════ FAB CART ═══════════ */
.fab-cart {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  background: var(--walnut); color: var(--cream);
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(61, 47, 31, 0.3);
  cursor: pointer; transition: all 0.3s ease;
  transform: scale(0) rotate(-180deg); opacity: 0;
  border: none;
}
.fab-cart.visible { transform: scale(1) rotate(0deg); opacity: 1; }
.fab-cart:hover { background: var(--sage); transform: scale(1.08); }
.fab-cart svg { width: 28px; height: 28px; }
.fab-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--sage); color: var(--cream);
  min-width: 24px; height: 24px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream); padding: 0 6px;
}
.fab-badge.pop { animation: pop 0.5s ease; }
@keyframes pop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ═══════════ TOAST ═══════════ */
.toast {
  position: fixed; bottom: 100px; right: 24px; z-index: 101;
  background: var(--walnut); color: var(--cream);
  padding: 12px 20px; border-radius: 0;
  font-size: 13px; letter-spacing: 0.05em;
  box-shadow: 0 6px 20px rgba(61, 47, 31, 0.25);
  transform: translateY(80px); opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ═══════════ GALLERY ═══════════ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 1; background: var(--sage-light); border-radius: 0;
  overflow: hidden; transition: transform 0.2s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═══════════ PAGE-SPECIFIC: NOSOTROS ═══════════ */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; margin-bottom: 80px;
}
@media (max-width: 768px) { .story-grid { grid-template-columns: 1fr; gap: 32px; } }
.story-photo {
  aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden;
  background: var(--sage-light);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-photo-placeholder svg { width: 100%; height: 100%; display: block; }
.story-content h3 {
  font-size: 36px; color: var(--walnut); margin-bottom: 20px; line-height: 1.2;
}
.story-content p {
  color: var(--tan); line-height: 1.8; margin-bottom: 20px;
}
.story-content p strong { color: var(--walnut); font-weight: 500; }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--bone-warm);
  margin-top: 40px;
  border-top: 1px solid var(--bone-warm);
  border-bottom: 1px solid var(--bone-warm);
}
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  text-align: left; padding: 48px 32px;
  background: var(--bone); border-radius: 0;
  position: relative;
}
.value-icon {
  width: 40px; height: 40px; margin: 0 0 24px;
  background: transparent; color: var(--olive);
  border-radius: 0; display: flex; align-items: center; justify-content: flex-start;
}
.value-icon svg { width: 32px; height: 32px; stroke: var(--olive); stroke-width: 1.5; fill: none; }
.value-card h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700; font-variation-settings: 'SOFT' 100;
  font-size: 26px; margin-bottom: 12px;
  color: var(--charcoal); letter-spacing: -0.02em;
}
.value-card p { font-size: 15px; color: var(--stone); line-height: 1.65; font-family: 'Inter', sans-serif; }

/* ═══════════ FORM (DAY + TIME ROW) ═══════════ */
.form-group-double {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 480px) {
  .form-group-double { grid-template-columns: 1fr; }
}

/* ═══════════ CART ROW (drawer + checkout) ═══════════ */
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(107, 93, 74, 0.18);
}
.cart-row:last-child { border-bottom: none; }
.cart-row-info { min-width: 0; }
.cart-row-name {
  font-family: Georgia, serif; font-size: 15px; color: var(--walnut);
  line-height: 1.3; margin-bottom: 2px;
}
.cart-row-price { font-size: 11px; color: var(--tan); letter-spacing: 0.04em; }
.cart-row-total {
  font-family: Georgia, serif; font-size: 16px; color: var(--walnut);
  min-width: 64px; text-align: right;
}
.cart-row-remove {
  background: none; border: none; color: var(--tan-light); cursor: pointer;
  font-size: 22px; line-height: 1; padding: 4px 6px;
  transition: color 0.15s;
}
.cart-row-remove:hover { color: var(--walnut); }
@media (max-width: 560px) {
  .cart-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "info remove" "qty total";
    gap: 6px 14px;
  }
  .cart-row-info { grid-area: info; }
  .cart-row-remove { grid-area: remove; }
  .qty-control { grid-area: qty; justify-self: start; }
  .cart-row-total { grid-area: total; justify-self: end; align-self: center; }
}

/* ═══════════ QUANTITY CONTROL · EDITORIAL ═══════════ */
.qty-control {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--charcoal); padding: 0;
}
.qty-btn {
  width: 28px; height: 28px;
  background: var(--bone); border: none;
  color: var(--charcoal); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 400; line-height: 1; padding: 0;
  transition: all 0.15s;
  font-family: 'Inter', sans-serif;
}
.qty-btn:hover { background: var(--charcoal); color: var(--bone); }
.qty-num {
  min-width: 28px; text-align: center; font-weight: 500;
  font-size: 13px; color: var(--charcoal);
  font-family: 'JetBrains Mono', monospace;
  border-left: 1px solid var(--charcoal);
  border-right: 1px solid var(--charcoal);
  height: 28px; display: flex; align-items: center; justify-content: center;
}

/* ═══════════ CART DRAWER · EDITORIAL ═══════════ */
.cart-backdrop {
  position: fixed; inset: 0; background: rgba(26, 26, 26, 0.6);
  z-index: 200; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cart-backdrop.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 460px;
  background: var(--bone);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow: -24px 0 60px rgba(26, 26, 26, 0.18);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  padding: 28px 32px; border-bottom: 1px solid var(--charcoal);
  display: flex; justify-content: space-between; align-items: flex-start;
  background: var(--bone);
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700; font-size: 26px;
  color: var(--charcoal);
  line-height: 1.05; letter-spacing: -0.02em;
}
.cart-drawer-subtitle {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--stone); margin-top: 6px; font-weight: 500;
}
.cart-close {
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  color: var(--charcoal); font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s;
  font-family: 'Inter', sans-serif; font-weight: 300;
}
.cart-close:hover { opacity: 0.6; }
.cart-drawer-body {
  flex: 1; overflow-y: auto; padding: 8px 32px;
  -webkit-overflow-scrolling: touch;
}
.cart-empty {
  text-align: left; padding: 80px 0;
  color: var(--stone); font-size: 16px;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; line-height: 1.4;
}
.cart-empty span {
  display: block; margin-top: 12px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  font-style: normal; font-family: 'JetBrains Mono', monospace;
  color: var(--stone-light);
}
.cart-drawer-foot {
  padding: 24px 32px; background: var(--bone-warm);
  border-top: 1px solid var(--charcoal);
  flex-shrink: 0;
}
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700; font-size: 22px;
  color: var(--charcoal); margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cart-checkout-btn { display: block; width: 100%; text-align: center; }
.cart-checkout-btn.disabled {
  background: var(--stone); pointer-events: none; opacity: 0.5;
}

/* ═══════════ PREVIEW MODAL ═══════════ */
.preview-modal {
  position: fixed; inset: 0; z-index: 300;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.preview-modal.open { opacity: 1; visibility: visible; }
.preview-backdrop {
  position: absolute; inset: 0;
  background: rgba(61, 47, 31, 0.6);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.preview-card {
  position: relative; z-index: 1;
  background: var(--bone);
  width: 100%; max-width: 500px; max-height: 88vh; overflow-y: auto;
  border-radius: 0;
  padding: 40px 36px 32px;
  box-shadow: 0 30px 80px rgba(26, 26, 26, 0.45);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.preview-modal.open .preview-card { transform: translateY(0) scale(1); }
.preview-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 26px; line-height: 1; color: var(--walnut);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.preview-close:hover { background: rgba(61, 47, 31, 0.08); }
.preview-eyebrow {
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 10px;
}
.preview-title {
  font-family: Georgia, serif; font-size: 30px; color: var(--walnut);
  margin-bottom: 28px; line-height: 1.15;
}
.preview-section { margin-bottom: 22px; }
.preview-section-label {
  font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--tan); margin-bottom: 10px;
}
.preview-row {
  display: grid; grid-template-columns: 88px 1fr;
  gap: 12px; padding: 5px 0;
  font-size: 14px; color: var(--walnut);
}
.preview-row strong {
  font-weight: 500; color: var(--tan);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  padding-top: 3px;
}
.preview-item-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0;
  font-size: 14px; color: var(--walnut);
  border-bottom: 0.5px dashed rgba(107, 93, 74, 0.18);
}
.preview-item-row:last-child { border-bottom: none; }
.preview-total {
  display: flex; justify-content: space-between;
  padding: 16px 0; margin-top: 10px;
  border-top: 1px solid var(--walnut);
  font-family: Georgia, serif; font-size: 22px;
  color: var(--walnut);
}
.preview-actions {
  display: flex; gap: 10px; margin-top: 8px;
  flex-wrap: wrap;
}
.preview-actions .btn,
.preview-actions .submit-btn-mini { flex: 1; min-width: 140px; }
.submit-btn-mini {
  background: #25D366; color: white; border: none;
  padding: 14px 20px; border-radius: 4px;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit;
}
.submit-btn-mini:hover { background: #1da851; }
.submit-btn-mini svg { width: 16px; height: 16px; }

/* ═══════════ PAYMENT METHODS ═══════════ */
.pay-method {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; gap: 10px;
  border-bottom: 0.5px dashed rgba(107, 93, 74, 0.18);
}
.pay-method:last-child { border-bottom: none; }
.pay-name {
  font-size: 13px; color: var(--walnut); font-weight: 500;
}
.pay-value {
  background: var(--cream-warm); border: 0.5px solid rgba(107, 93, 74, 0.2);
  color: var(--sage); cursor: pointer;
  font-size: 13px; font-family: inherit;
  padding: 5px 10px; border-radius: 4px;
  transition: all 0.15s; position: relative;
}
.pay-value:hover { background: var(--sage); color: var(--cream); border-color: var(--sage); }
.pay-value.copied { background: var(--sage); color: var(--cream); border-color: var(--sage); }
.pay-value-static {
  font-size: 12px; color: var(--tan); font-style: italic;
  padding: 5px 0;
}
@media (max-width: 480px) {
  .pay-method { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0; }
  .pay-value, .pay-value-static { font-size: 12px; }
}

/* In preview modal payment section */
.preview-section .pay-method { padding: 5px 0; }
.preview-section .pay-value { padding: 4px 8px; font-size: 12px; }

/* ═══════════ CASH APP CARD ═══════════ */
.cashapp-card {
  display: flex; gap: 16px; align-items: center;
  background: #00C244;
  background: linear-gradient(135deg, #00C244 0%, #00A337 100%);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 163, 55, 0.22);
}
.cashapp-qr {
  flex-shrink: 0;
  background: #fff;
  border-radius: 0;
  padding: 6px;
  line-height: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.cashapp-qr img {
  display: block;
  width: 140px; height: 140px;
}
.cashapp-info {
  flex: 1; min-width: 0;
}
.cashapp-label {
  font-size: 10px; letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85; margin-bottom: 6px;
}
.cashapp-tag {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600; font-size: 16px;
  margin-bottom: 12px; word-break: break-all;
  color: #fff;
}
.cashapp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #00A337;
  padding: 10px 14px; border-radius: 0;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.cashapp-btn:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
@media (max-width: 480px) {
  .cashapp-card { flex-direction: column; gap: 12px; text-align: center; padding: 18px; }
  .cashapp-qr img { width: 160px; height: 160px; }
  .cashapp-info { width: 100%; }
  .cashapp-tag { word-break: keep-all; font-size: 15px; }
}

/* ═══════════ HOW IT WORKS ═══════════ */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-bottom: 56px;
}
@media (max-width: 820px) { .how-grid { grid-template-columns: 1fr; gap: 20px; } }
.how-card {
  position: relative; padding: 36px 26px 28px;
  background: var(--cream); border-radius: 8px;
  border-top: 3px solid var(--sage);
}
.how-num {
  position: absolute; top: -22px; left: 26px;
  width: 44px; height: 44px;
  background: var(--walnut); color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-size: 22px;
  box-shadow: 0 6px 18px rgba(61, 47, 31, 0.18);
}
.how-card h4 {
  font-family: Georgia, serif; font-size: 22px;
  color: var(--walnut); margin: 12px 0 12px;
}
.how-card p {
  font-size: 14px; color: var(--tan); line-height: 1.6; margin-bottom: 8px;
}
.how-card p.how-en {
  font-size: 12px; color: var(--tan-light); font-style: italic;
  margin-bottom: 0;
}
.how-rules {
  background: var(--cream); border-radius: 8px;
  padding: 28px 32px; max-width: 800px; margin: 0 auto;
}
.how-rules-title {
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 16px; text-align: center;
}
.how-rules-list { list-style: none; padding: 0; margin: 0; }
.how-rules-list li {
  padding: 10px 0; border-bottom: 0.5px dashed rgba(107, 93, 74, 0.18);
  font-size: 14px; color: var(--walnut); line-height: 1.55;
}
.how-rules-list li:last-child { border-bottom: none; }
.how-rules-list strong {
  display: inline-block; min-width: 110px;
  color: var(--sage); font-weight: 500;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ═══════════ MAP ═══════════ */
.map-wrapper {
  width: 100%; line-height: 0;
  border-top: 1px solid rgba(107, 93, 74, 0.15);
  border-bottom: 1px solid rgba(107, 93, 74, 0.15);
  filter: saturate(0.85);
}

/* ═══════════ FOOTER ADDRESS ═══════════ */
.footer-address {
  font-size: 13px; color: var(--tan-light);
  margin-bottom: 24px; letter-spacing: 0.04em;
}

/* ═══════════ MOBILE BOTTOM BAR ═══════════ */
.mobile-bar {
  display: none;
  position: fixed !important;
  bottom: auto !important;
  top: 0 !important;
  left: 0; right: 0;
  z-index: 99; background: var(--cream);
  border-bottom: 0.5px solid rgba(107, 93, 74, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(61, 47, 31, 0.08);
  padding-top: env(safe-area-inset-top, 0);
}
.mobile-bar-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.mobile-bar a {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  padding: 10px 8px 12px;
  color: var(--walnut); text-decoration: none;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
  transition: background 0.15s;
}
.mobile-bar a:hover, .mobile-bar a:active { background: rgba(107, 93, 74, 0.06); }
.mobile-bar a.primary { background: var(--sage); color: var(--cream); }
.mobile-bar a.primary:hover, .mobile-bar a.primary:active { background: var(--walnut); }
.mobile-bar a svg { width: 22px; height: 22px; }
.mobile-bar-en {
  font-size: 9px; letter-spacing: 0.08em;
  opacity: 0.7; margin-top: 1px;
}
@media (max-width: 820px) {
  .mobile-bar { display: block; }
  /* mobile bar is ~80px tall (icon + 2 lines of text + padding) + iOS notch safe-area-inset-top */
  body { padding-top: calc(86px + env(safe-area-inset-top, 0px)) !important; }
  /* push sticky nav down so it starts AFTER the mobile bar */
  nav { top: calc(86px + env(safe-area-inset-top, 0px)) !important; }
  /* fab + toast stay at the bottom — mobile bar is now at top */
}

/* ═══════════ TESTIMONIALS · EDITORIAL ═══════════ */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; gap: 32px; } }
.testimonial-card {
  background: transparent; border-radius: 0;
  padding: 28px 0 0; position: relative;
  border-top: 1px solid var(--charcoal);
  box-shadow: none;
}
.testimonial-card::before { display: none; }
.testimonial-stars {
  color: var(--olive); font-size: 12px;
  letter-spacing: 4px; margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
}
.testimonial-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400; font-variation-settings: 'SOFT' 100;
  font-style: italic; font-size: 20px;
  line-height: 1.45; color: var(--charcoal);
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex; align-items: baseline; gap: 12px;
  padding-top: 0; border-top: none;
}
.testimonial-avatar {
  display: none;
}
.testimonial-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600; color: var(--charcoal);
  font-size: 13px; letter-spacing: 0;
}
.testimonial-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--stone);
  letter-spacing: 0.2em; text-transform: uppercase;
}

/* ═══════════ NEWSLETTER · EDITORIAL ═══════════ */
.newsletter-section {
  background: var(--bone-warm);
  padding: 100px 40px;
}
.newsletter-support {
  font-family: 'Inter', sans-serif;
  color: var(--stone); font-size: 16px;
  line-height: 1.65; margin: 28px 0 32px;
  max-width: 480px;
}
.newsletter-fine {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; color: var(--stone-light);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-top: 16px;
}
.newsletter-form {
  display: flex; gap: 0; max-width: 520px; margin: 0;
  flex-wrap: nowrap;
}
.newsletter-form input {
  flex: 1; min-width: 0;
  padding: 16px 18px;
  background: var(--bone); border: 1px solid var(--charcoal);
  border-radius: 0; font-family: 'Inter', sans-serif; font-size: 15px;
  color: var(--charcoal); transition: all 0.2s;
}
.newsletter-form input:focus {
  outline: none; border-color: var(--olive);
  box-shadow: 0 0 0 2px var(--olive);
}
.newsletter-form button {
  background: var(--charcoal); color: var(--bone);
  border: 1px solid var(--charcoal); padding: 16px 28px; border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500; cursor: pointer;
  transition: all 0.2s;
}
.newsletter-form button:hover { background: var(--olive); border-color: var(--olive); }
.newsletter-form button.subscribed {
  background: var(--olive) !important; border-color: var(--olive) !important;
  pointer-events: none;
}
@media (max-width: 560px) {
  .newsletter-form { flex-direction: column; gap: 8px; }
}

/* ═══════════ FAQ ═══════════ */
.faq-list { margin-top: 16px; }
.faq-item {
  background: var(--cream); border-radius: 8px;
  margin-bottom: 12px; overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: 0 6px 20px rgba(61, 47, 31, 0.08); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  font-family: Georgia, serif; font-size: 17px;
  color: var(--walnut); transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(107, 93, 74, 0.04); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sage); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 300; line-height: 1;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px 22px;
  border-top: 0.5px solid rgba(107, 93, 74, 0.15);
  margin-top: -2px; padding-top: 18px;
}
.faq-answer p { font-size: 14px; color: var(--walnut); line-height: 1.6; margin-bottom: 8px; }
.faq-answer p.faq-en { font-size: 12px; color: var(--tan); font-style: italic; margin-bottom: 0; }

/* ═══════════ A-Z AUDIT ADDITIONS ═══════════ */

/* Visually hidden but accessible to screen readers (for SEO H1) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Hero meta row — price hints + value props above CTAs */
.hero-meta-row {
  display: flex; flex-wrap: wrap;
  gap: 12px; margin: 24px 0 32px;
  align-items: center;
}
.hero-meta-pill {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--stone);
  padding: 8px 14px;
  border: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}
.hero-meta-pill strong {
  color: var(--charcoal); font-weight: 600;
  margin-left: 6px;
}
@media (max-width: 600px) {
  .hero-meta-row { gap: 8px; margin: 20px 0 24px; }
  .hero-meta-pill { font-size: 10px; padding: 7px 12px; letter-spacing: 0.12em; }
}

/* How it works · 3-step section */
.how-step {
  padding: 32px 0;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}
.how-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.2em; color: var(--olive);
  margin-bottom: 16px;
}
.how-step h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700; font-size: 26px;
  font-variation-settings: 'SOFT' 100;
  letter-spacing: -0.02em; color: var(--charcoal);
  margin-bottom: 12px; line-height: 1.2;
}
.how-step p {
  font-family: 'Inter', sans-serif;
  font-size: 15px; color: var(--stone);
  line-height: 1.65;
}

/* Ensure mobile bar action items have proper touch height (44px+ each) */
.mobile-bar a {
  min-height: 56px;
}

/* Improved photo-tile labels for mobile */
@media (max-width: 600px) {
  .photo-tile-label {
    font-size: 9px !important;
    padding: 8px 10px !important;
  }
  .hero-photo-strip {
    gap: 8px !important;
    margin-top: 32px !important;
  }
}

/* Better section spacing on mobile (8pt grid) */
@media (max-width: 768px) {
  section { padding: 64px 24px !important; }
  .container { padding: 0 !important; }
  .section-title { font-size: 36px !important; line-height: 1.1 !important; }
  .hero { padding: 32px 24px 48px !important; min-height: auto !important; }
  .hero-logo { width: 100% !important; max-width: 320px !important; }
}

/* Ensure all .btn touch targets are ≥48px tall on mobile */
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
