/* =============================================================
   1. Tokens — Café El Padrino Brand System
   ============================================================= */
:root {
  /* Brand palette del manual */
  --mustard:    #F4A300;    /* Amarillo Mostaza — 50% dominante */
  --brown-dark: #3B1F1A;   /* Marrón Oscuro — 30% */
  --black:      #1D1D1B;   /* Negro Profundo — textos */
  --brown-mid:  #8B5C3B;   /* Marrón Claro — detalles cálidos */
  --burgundy:   #5E1F23;   /* Rojo Borgoña — 5% especiales */
  --white:      #FFFFFF;
  --cream:      #FBF5E8;   /* Crema suave de fondo alterno */
  --cream-2:    #F0E8D5;

  /* Mapeados al dark-warm */
  --bg:         #1D1D1B;
  --bg-2:       #2A1F18;
  --bg-card:    #2E2018;
  --text:       #FBF5E8;
  --text-soft:  #D4C5A9;
  --text-mute:  #8B7A65;
  --accent:     #F4A300;
  --accent-2:   #C88A00;
  --gold:       #C4995B;
  --line:       rgba(244,163,0,0.15);

  /* Typography */
  --serif:      'Fraunces', Georgia, serif;
  --sans:       'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --gutter:     clamp(1rem, 4vw, 2rem);
  --section-py: clamp(4rem, 8vw, 8rem);

  /* Easings */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Nav */
  --nav-h:      72px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.025em; font-family: var(--serif); }
ul { list-style: none; padding: 0; }
::selection { background: var(--mustard); color: var(--black); }
:focus-visible { outline: 2px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--mustard); color: var(--black);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--mustard);
  font-family: var(--serif);
}

.body-text {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 55ch;
}

.section { padding: var(--section-py) 0; }

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header .body-text { margin: 0 auto; text-align: center; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s;
  cursor: pointer;
}
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }

.btn-primary {
  background: var(--mustard);
  color: var(--black);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(244,163,0,0.4);
  background: #FFB730;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(251,245,232,0.25);
}
.btn-ghost:hover {
  border-color: var(--mustard);
  color: var(--mustard);
  transform: translateY(-2px);
}

/* =============================================================
   5. SPLASH LOADER
   ============================================================= */
.splash {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.splash-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.splash-logo {
  width: clamp(200px, 35vw, 320px);
  animation: splashPulse 1.2s var(--ease-soft) forwards;
}
@keyframes splashPulse {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}

.splash-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--mustard);
  opacity: 0;
  animation: fadeUp .6s .4s var(--ease-out) forwards;
}

.splash-bar {
  width: 160px;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp .6s .5s var(--ease-out) forwards;
}
.splash-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--mustard);
  animation: splashLoad 1.8s .5s var(--ease-soft) forwards;
}
@keyframes splashLoad { to { width: 100%; } }

/* CSS safety net — auto-hide splash after 4.5s */
@keyframes splashHide { to { opacity: 0; visibility: hidden; } }
.splash { animation: splashHide .01s 4.5s forwards; }

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  gap: 2rem;
  z-index: 800;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
}
.nav.is-solid {
  background: rgba(29,29,27,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 56px; width: auto; object-fit: contain; }
.nav-logo-light { display: none; }
.nav-logo-dark { display: block; filter: invert(1); }

.nav-links {
  display: none;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .25s;
}
.nav-links a:hover { color: var(--mustard); }

.nav-cta { margin-left: .5rem; }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: .4rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(29,29,27,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 2rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 790;
  transform: translateY(-110%);
  transition: transform .4s var(--ease-out);
}
.mobile-menu.is-open {
  transform: translateY(0);
}
.mm-link {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .25s;
}
.mm-link:hover { color: var(--mustard); }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(244,163,0,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(59,31,26,0.6) 0%, transparent 60%),
    linear-gradient(160deg, #1D1D1B 30%, #2A1F18 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: .5;
  pointer-events: none;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 210deg at 70% 30%, rgba(244,163,0,0.06), transparent 40%, rgba(94,31,35,0.08), transparent 80%);
  animation: meshRotate 18s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes meshRotate {
  from { transform: rotate(0deg) scale(1.4); }
  to   { transform: rotate(360deg) scale(1.4); }
}

.hero-inner {
  position: relative;
  z-index: 5;
  padding: clamp(4rem, 10vh, 8rem) 0 clamp(3rem, 8vh, 6rem);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 1.5rem;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mustard);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero-title em {
  font-style: italic;
  color: var(--mustard);
}
.hero-title .split-word { display: inline-block; overflow: hidden; }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .7s .9s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .7s 1.1s var(--ease-out) forwards;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp .7s 1.3s var(--ease-out) forwards;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--mustard);
  line-height: 1;
}
.stat p {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  z-index: 5;
  opacity: 0;
  animation: fadeUp .7s 1.5s var(--ease-out) forwards;
}
.hero-scroll-hint span {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-mute);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--mustard), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.6); opacity: .5; }
}

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

/* =============================================================
   8. MARQUEE
   ============================================================= */
.marquee-wrapper {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
}
.marquee-track span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  flex-shrink: 0;
}
.marquee-sep { color: var(--mustard) !important; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }

/* =============================================================
   9. NOSOTROS
   ============================================================= */
.nosotros { background: var(--bg); }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.nosotros-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.pillar:hover {
  border-color: rgba(244,163,0,0.3);
  transform: translateY(-2px);
}
.pillar-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .2rem; }
.pillar strong { display: block; font-size: .9rem; color: var(--text); margin-bottom: .3rem; }
.pillar p { font-size: .85rem; color: var(--text-mute); line-height: 1.5; }

.nosotros-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.logo-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(240px, 40vw, 360px);
  height: clamp(240px, 40vw, 360px);
}
.logo-big {
  width: 70%;
  position: relative;
  z-index: 2;
  filter: invert(1);
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(244,163,0,0.12);
}
.ring-1 { inset: 0; animation: ringPulse 4s ease-in-out infinite; }
.ring-2 { inset: -20px; animation: ringPulse 4s .8s ease-in-out infinite; }
.ring-3 { inset: -40px; animation: ringPulse 4s 1.6s ease-in-out infinite; }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.03); opacity: 1; }
}

.nosotros-badge {
  background: linear-gradient(135deg, var(--mustard), #C88A00);
  color: var(--black);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  text-align: center;
  max-width: 240px;
}
.badge-text {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .4rem;
  opacity: .7;
}
.badge-main {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

/* =============================================================
   10. CAFÉ SECTION
   ============================================================= */
.cafe-section {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.cafe-bg-strip {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--mustard), transparent);
}

.cafe-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.cafe-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
  cursor: default;
}
.cafe-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  border-color: rgba(244,163,0,0.3);
  box-shadow: 0 20px 60px rgba(244,163,0,0.08);
}
.cafe-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cafe-card h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: .75rem;
}
.cafe-card p {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.cafe-card-line {
  width: 40px;
  height: 2px;
  background: var(--mustard);
  margin-bottom: .75rem;
}
.cafe-card-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mustard);
}

.cafe-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.cafe-feature h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 1rem;
}
.cafe-feature p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.cafe-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.cafe-list li {
  font-size: .9rem;
  color: var(--text-soft);
}
.cafe-list li:nth-child(odd) { color: var(--text); }

.cafe-feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.coffee-circle {
  width: clamp(160px, 25vw, 240px);
  height: clamp(160px, 25vw, 240px);
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--mustard) 0%, #C88A00 30%, var(--brown-dark) 60%, var(--mustard) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: coffeeSpin 20s linear infinite;
  box-shadow: 0 0 60px rgba(244,163,0,0.2);
}
@keyframes coffeeSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.coffee-inner {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  animation: coffeeSpin 20s linear infinite reverse;
}
.coffee-big { font-size: 2.5rem; }
.coffee-inner p {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--mustard);
  text-align: center;
  line-height: 1.2;
  margin: 0;
}

/* =============================================================
   11. VALORES
   ============================================================= */
.valores { background: var(--bg); }

.valores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.valor-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .4s var(--ease-out), border-color .3s;
}
.valor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244,163,0,0.25);
}
.valor-num {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(244,163,0,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.valor-card h3 {
  font-size: 1.1rem;
  color: var(--mustard);
  margin-bottom: .75rem;
}
.valor-card p {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* =============================================================
   12. SLOGAN HERO
   ============================================================= */
.slogan-hero {
  background: linear-gradient(135deg, var(--mustard) 0%, #C88A00 50%, var(--brown-mid) 100%);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.slogan-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E") 200px;
}
.slogan-inner { position: relative; z-index: 1; }
.slogan-big {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: .75rem;
}
.slogan-sub {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(29,29,27,0.6);
}

/* =============================================================
   13. CONTACTO
   ============================================================= */
.contacto { background: var(--bg-2); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

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

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
}
.info-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.info-list { display: flex; flex-direction: column; gap: 1.25rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.info-list strong { display: block; font-size: .9rem; color: var(--text); margin-bottom: .2rem; }
.info-list p { font-size: .85rem; color: var(--text-mute); }

/* =============================================================
   14. FOOTER
   ============================================================= */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-logo {
  height: 48px;
  width: auto;
  filter: invert(1);
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: .875rem;
  color: var(--text-mute);
  line-height: 1.6;
  max-width: 30ch;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-nav a {
  font-size: .875rem;
  color: var(--text-mute);
  transition: color .25s;
}
.footer-nav a:hover { color: var(--mustard); }
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  transition: color .25s, border-color .25s, transform .3s var(--ease-out);
}
.footer-social a:hover {
  color: var(--mustard);
  border-color: var(--mustard);
  transform: translateY(-2px);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.footer-bottom p {
  font-size: .8rem;
  color: var(--text-mute);
}
.footer-slogan { color: var(--mustard) !important; font-weight: 500; }

/* =============================================================
   15. CURSOR
   ============================================================= */
.cursor { pointer-events: none; position: fixed; top: 0; left: 0; z-index: 9100; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--mustard);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(244,163,0,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .12s var(--ease-out), width .3s, height .3s;
}
.cursor.is-hovering .cursor-ring {
  width: 52px; height: 52px;
  border-color: var(--mustard);
}

/* =============================================================
   16. REVEAL animations
   ============================================================= */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   17. RESPONSIVE — Tablet+
   ============================================================= */
@media (min-width: 540px) {
  .cafe-cards { grid-template-columns: 1fr 1fr; }
  .nosotros-pillars { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
  .nosotros-pillars { grid-template-columns: 1fr 1fr 1fr; }
  .cafe-cards { grid-template-columns: 1fr 1fr 1fr; }
  .valores-grid { grid-template-columns: 1fr 1fr; }
  .contacto-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .nosotros-grid { grid-template-columns: 1fr 1fr; }
  .cafe-feature { grid-template-columns: 1fr 1fr; }
  .valores-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* =============================================================
   18. Reduced-motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .logo-big { animation: none; }
  .coffee-circle, .coffee-inner { an