:root {
  --banana-base: #f2e3a6;
  --banana-cream: #fbf2d8;
  --cafe-principal: #926449;
  --cafe-medio: #8f6147;
  --cafe-profundo: #6f4c38;
  --verde-suave: #dce9c8;
  --blanco-calido: #fff9ef;
  --gris-crema: #f4f1eb;
  --oro-suave: #f0da8f;
  --borde-suave: rgba(143, 97, 71, 0.14);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-max: 1180px;
  --shadow-soft: 0 12px 30px rgba(146, 100, 73, 0.08);
  --shadow-hover: 0 20px 40px rgba(146, 100, 73, 0.12);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--cafe-principal);
  background: var(--blanco-calido);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--cafe-profundo);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

p { color: var(--cafe-medio); }

a {
  color: var(--cafe-profundo);
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.lead {
  font-size: 1.08rem;
  max-width: 800px;
  margin: 0 auto;
}

.text-center-block { text-align: center; }

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header p {
  max-width: 640px;
  margin: 0.25rem auto 0;
}

.section-kicker,
.badge {
  display: inline-block;
  margin-bottom: 0.95rem;
  padding: 0.38rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.82);
  border: 1px solid rgba(143, 97, 71, 0.12);
  color: var(--cafe-principal);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-green { background: rgba(191, 216, 166, 0.55); }

.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  text-align: center;
  border: 1.5px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--cafe-principal);
  color: var(--blanco-calido);
  box-shadow: 0 8px 20px rgba(146, 100, 73, 0.12);
}
.btn-primary:hover {
  background: var(--cafe-profundo);
  color: var(--blanco-calido);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cafe-principal);
  border-color: rgba(146, 100, 73, 0.52);
}
.btn-outline:hover {
  background: rgba(255, 249, 239, 0.6);
  border-color: var(--cafe-principal);
  transform: translateY(-2px);
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background: rgba(255, 249, 239, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  border-bottom-color: rgba(146, 100, 73, 0.08);
  box-shadow: 0 10px 24px rgba(146, 100, 73, 0.06);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
  gap: 1rem;
}
.logo-img { height: 58px; }

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.9rem;
}
.nav-link {
  position: relative;
  font-weight: 600;
  color: var(--cafe-profundo);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--cafe-principal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.btn-nav {
  background: #f1deae;
  padding: 0.65rem 1.12rem;
  border-radius: 999px;
  border: 1px solid rgba(146, 100, 73, 0.08);
}
.btn-nav::after { display: none; }
.btn-nav:hover { background: #eacf90; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.hamburger .bar {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 5px auto;
  background: var(--cafe-profundo);
  transition: var(--transition);
  border-radius: 999px;
}

.site-shell { padding-top: 96px; }

/* HERO */
.hero { padding: 0 0 1.2rem; }

.hero-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 249, 239, 0.44), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(220, 233, 200, 0.34), transparent 32%),
    linear-gradient(145deg, #f5e799 0%, var(--banana-base) 48%, #eed678 100%);
  border-radius: 34px;
  border: 1px solid rgba(143, 97, 71, 0.16);
  box-shadow: var(--shadow-soft);
  min-height: 690px;
  padding: 3rem 2rem 8.5rem;
  isolation: isolate;
}

.hero-content {
  position: relative;
  z-index: 8;
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  pointer-events: none;
}

.hero-title span {
  display: block;
}

.hero-logo-wrap {
  width: min(100%, 205px);
  margin: 0 auto 0.62rem;
}

.hero-logo-main {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(146, 100, 73, 0.08));
}

.hero-content h1 {
  font-size: clamp(2.05rem, 3.05vw, 3.45rem);
  margin-bottom: 0.86rem;
  max-width: 24ch;
}

.hero-text {
  font-size: 0.98rem;
  margin-bottom: 1.32rem;
  max-width: 76ch;
}

.hero-actions {
  position: relative;
  z-index: 10;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.55);
  border: 1px solid rgba(143, 97, 71, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(111, 76, 56, 0.10);
}

.hero-points {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  position: relative;
  z-index: 10;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.48);
  border: 1px solid rgba(143, 97, 71, 0.10);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.hero-points li {
  padding: 0.5rem 0.86rem;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.88);
  border: 1px solid rgba(143, 97, 71, 0.1);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cafe-profundo);
  box-shadow: 0 6px 16px rgba(111, 76, 56, 0.08);
}

/* HERO CANVAS PHYSICS: bananas + laptops */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  user-select: none;
  touch-action: none;
  cursor: default;
}

.hero-canvas.is-grabbable { cursor: grab; }
.hero-canvas.is-dragging { cursor: grabbing; }

/* El contenido queda visualmente arriba, pero no bloquea el canvas.
   Los botones sí conservan interacción normal. */
.hero-content {
  pointer-events: none;
}

.hero-content a,
.hero-content button,
.hero-actions,
.hero-actions .btn {
  pointer-events: auto;
}

.hero-static-fallback {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.canvas-active .hero-static-fallback {
  display: none;
}

.fallback-banana {
  position: absolute;
  left: var(--x, 50%);
  top: -90px;
  width: var(--size, 48px);
  aspect-ratio: 1;
  background-image: url('../img/ui/banana.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.88;
  filter: drop-shadow(0 10px 14px rgba(111, 76, 56, 0.14));
  transform: rotate(var(--rot, 0deg));
  animation: fallbackBananaFall var(--dur, 10s) linear var(--delay, 0s) infinite;
}

.fallback-banana.is-pile {
  top: auto;
  bottom: 8px;
  animation: none;
  opacity: 0.95;
}

@keyframes fallbackBananaFall {
  0% {
    transform: translate3d(0, -120px, 0) rotate(var(--rot, 0deg));
    opacity: 0;
  }
  10% { opacity: 0.9; }
  100% {
    transform: translate3d(24px, 680px, 0) rotate(calc(var(--rot, 0deg) + 180deg));
    opacity: 0.9;
  }
}

/* STACKED SECTIONS */
.stacked-sections { padding-bottom: 1rem; }

.section-wrap {
  position: relative;
  padding: 0 0 4rem;
}

.stack-card {
  position: sticky;
  top: 108px;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--borde-suave);
  padding: 4.5rem 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stack-light { background: var(--blanco-calido); }
.stack-cream { background: var(--banana-cream); }
.stack-neutral { background: var(--gris-crema); }
.stack-green { background: var(--verde-suave); }
.stack-gold { background: var(--oro-suave); }

.section-wrap:nth-child(n + 2) .stack-card { margin-top: -1.25rem; }
.section-wrap:hover .stack-card { box-shadow: var(--shadow-hover); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  padding: 1.9rem;
  border: 1px solid var(--borde-suave);
  box-shadow: 0 8px 20px rgba(146, 100, 73, 0.06);
  transition: var(--transition);
  height: 100%;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: rgba(143, 97, 71, 0.25);
}
.card h3 {
  font-size: 1.24rem;
  margin-bottom: 0.75rem;
}
.card p { font-size: 0.96rem; }
.card-highlight { background: rgba(220, 233, 200, 0.95); }

.about h2,
.approach h2,
.contact h2,
.labs h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  transition: var(--transition);
}

.process-grid.has-focus .process-step:not(.is-active) {
  opacity: 0.48;
  transform: scale(0.95);
}

.process-step {
  position: relative;
  min-height: 100%;
  text-align: center;
  padding: 1.55rem 1rem 1.25rem;
  border-radius: 24px;
  border: 1px solid transparent;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
  cursor: pointer;
}

.process-step:hover,
.process-step:focus-visible,
.process-step.is-active {
  background: rgba(255, 249, 239, 0.82);
  border-color: rgba(146, 100, 73, 0.12);
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px) scale(1.08);
  z-index: 2;
}

.process-step h3 {
  font-size: 1.22rem;
  margin-bottom: 0.75rem;
  transition: transform 0.35s ease;
}
.process-step:hover h3,
.process-step:focus-visible h3,
.process-step.is-active h3 {
  transform: scale(1.03);
}
.process-step:hover p,
.process-step:focus-visible p,
.process-step.is-active p {
  color: var(--cafe-profundo);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: #f3d680;
  color: var(--cafe-profundo);
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 1.05rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.process-step:hover .step-number,
.process-step:focus-visible .step-number,
.process-step.is-active .step-number {
  transform: scale(1.28);
  box-shadow: 0 10px 18px rgba(146, 100, 73, 0.12);
}

.contact-card { text-align: center; }

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.8rem 0 0;
}

/* FOOTER */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--blanco-calido);
  padding: 4rem 0 8rem;
  border-top: 1px solid rgba(143, 97, 71, 0.08);
  isolation: isolate;
}

.footer-container {
  position: relative;
  z-index: 5;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.footer-brand { max-width: 340px; }

.footer-logo {
  width: 216px;
  margin-bottom: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.65rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.96rem;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(143, 97, 71, 0.08);
  font-size: 0.88rem;
}

.easter-egg a {
  text-decoration: underline;
  text-decoration-color: rgba(146, 100, 73, 0.35);
}

.footer a:hover,
.easter-egg a:hover {
  color: var(--cafe-principal);
}

.process-step:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid rgba(146, 100, 73, 0.35);
  outline-offset: 4px;
}

/* QUE HACEMOS */
.about-card {
  text-align: center;
  overflow: hidden;
}

.about-card h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.about-card .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.6rem auto 0;
  list-style: none;
  padding: 0;
}

.about-points li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(220, 233, 200, 0.55);
  border: 1px solid rgba(143, 97, 71, 0.10);
  color: var(--cafe-profundo);
  font-size: 0.88rem;
  font-weight: 600;
}

/* SERVICIOS — badges y micro-remate */
.service-badge {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(220, 233, 200, 0.65);
  color: var(--cafe-profundo);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-note {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(146, 100, 73, 0.18);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cafe-profundo);
}

.service-featured {
  background: linear-gradient(145deg, rgba(255, 249, 239, 0.96), rgba(240, 218, 143, 0.45));
  border-color: rgba(146, 100, 73, 0.22);
}
.service-featured:hover {
  transform: translateY(-8px);
}

/* FOOTER CTA */
.footer-cta {
  margin-bottom: 2.5rem;
  padding: 2.2rem 1.8rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(240, 218, 143, 0.72), rgba(220, 233, 200, 0.75));
  border: 1px solid rgba(143, 97, 71, 0.14);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.footer-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.footer-cta p {
  max-width: 620px;
  margin: 0 auto 1.3rem;
  color: var(--cafe-profundo);
}

.footer-cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer .easter-egg {
  font-size: 0.82rem;
  color: var(--cafe-medio);
  margin: 0;
}

/* PROCESO — banana burst (solo paso 4) */
.process-grid,
.process .stack-card,
.process-step {
  overflow: visible;
}

.process-banana-burst {
  position: relative;
}

.banana-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.banana-burst-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--banana-size, 28px);
  height: var(--banana-size, 28px);
  background-image: url('../img/ui/banana.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform:
    translate(-50%, -50%)
    scale(0.45)
    rotate(var(--banana-rot-start, 0deg));
  animation: bananaBurst 850ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  filter: drop-shadow(0 8px 10px rgba(111, 76, 56, 0.16));
  will-change: transform, opacity;
}

@keyframes bananaBurst {
  0% {
    opacity: 0;
    transform:
      translate(-50%, -50%)
      scale(0.45)
      rotate(var(--banana-rot-start, 0deg));
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--banana-x, 0px)),
        calc(-50% + var(--banana-y, 0px))
      )
      scale(1)
      rotate(var(--banana-rot-end, 120deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  .banana-burst-item {
    animation: none;
    display: none;
  }
}

/* ============================================================
   v2 UPGRADE — pulido profesional sin perder estilo MonkyTech
   ------------------------------------------------------------
   .hero-trust        : sello bajo CTAs (confianza)
   .about-pillars     : 3 pilares Qué hacemos
   .pillar-icon       : disco banana con SVG mono-color
   .philosophy-grid   : 3 principios numerados en Filosofía
   .footer-col        : columna estructurada del footer
   refinements        : focus, contraste, separadores, hover
   ============================================================ */

.hero-trust {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cafe-profundo);
  opacity: 0.78;
  pointer-events: auto;
}

/* About pillars */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.4rem;
  text-align: left;
}

.about-pillar {
  padding: 1.6rem 1.4rem;
  border-radius: 22px;
  background: rgba(255, 249, 239, 0.78);
  border: 1px solid var(--borde-suave);
  box-shadow: 0 8px 18px rgba(146, 100, 73, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.about-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(143, 97, 71, 0.22);
}
.about-pillar h3 {
  font-size: 1.08rem;
  margin: 0.85rem 0 0.4rem;
}
.about-pillar p {
  font-size: 0.93rem;
  margin: 0;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f5e799, var(--banana-base));
  color: var(--cafe-profundo);
  box-shadow: 0 6px 14px rgba(146, 100, 73, 0.14);
}
.pillar-icon svg {
  width: 22px;
  height: 22px;
}

/* Philosophy grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.6rem;
  text-align: left;
}

.philosophy-card {
  position: relative;
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: 22px;
  background: rgba(255, 249, 239, 0.7);
  border: 1px solid var(--borde-suave);
  box-shadow: 0 8px 18px rgba(146, 100, 73, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.philosophy-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cafe-principal);
  opacity: 0.62;
  letter-spacing: -0.04em;
  line-height: 1;
}
.philosophy-card h3 {
  font-size: 1.12rem;
  margin: 0.7rem 0 0.45rem;
}
.philosophy-card p {
  font-size: 0.93rem;
  margin: 0;
}

/* Footer: 3-col layout */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: flex-start;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
  text-align: left;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cafe-principal);
  margin-bottom: 0.45rem;
}
.footer-col a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cafe-profundo);
  position: relative;
  width: fit-content;
}
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1.5px;
  width: 100%;
  background: var(--cafe-principal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.footer-col a:hover::after { transform: scaleX(1); }

/* Refinements — service cards */
.card {
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, transparent, rgba(143, 97, 71, 0), transparent);
  transition: background 0.35s ease;
}
.card:hover::before {
  background: linear-gradient(90deg, transparent, var(--cafe-principal), transparent);
}

.service-note {
  /* sustituir dashed por línea más sutil */
  border-top: 1px solid rgba(146, 100, 73, 0.14);
}

.service-badge {
  /* diferenciar por categoría usando atributos disponibles */
  background: linear-gradient(135deg, rgba(220, 233, 200, 0.85), rgba(255, 249, 239, 0.85));
  border: 1px solid rgba(143, 97, 71, 0.10);
}

.service-featured {
  /* contraste más marcado para los destacados */
  border-color: rgba(146, 100, 73, 0.28);
  box-shadow: 0 14px 28px rgba(146, 100, 73, 0.10);
}

/* Process — connector line entre pasos en desktop */
@media (min-width: 769px) {
  .process-grid {
    position: relative;
  }
  .process-grid::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      rgba(146, 100, 73, 0.22) 0 8px,
      transparent 8px 16px
    );
    z-index: 0;
  }
  .process-step {
    background: rgba(255, 249, 239, 0.4);
  }
}

/* Step number con más peso visual */
.step-number {
  background: linear-gradient(145deg, #f5e799, #eed678);
  box-shadow:
    0 8px 16px rgba(146, 100, 73, 0.10),
    inset 0 -3px 0 rgba(146, 100, 73, 0.10);
}

/* Section kicker — más identidad */
.section-kicker {
  background: linear-gradient(135deg, rgba(220, 233, 200, 0.7), rgba(255, 249, 239, 0.9));
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 0.42rem 0.95rem;
}

/* Hero — un poco más de respiración */
.hero-panel {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 249, 239, 0.48), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(220, 233, 200, 0.38), transparent 34%),
    linear-gradient(145deg, #f6e9a3 0%, var(--banana-base) 50%, #ecd373 100%);
}

.hero-actions {
  /* fondo levemente más sólido para legibilidad sobre el canvas */
  background: rgba(255, 249, 239, 0.72);
  border-color: rgba(143, 97, 71, 0.18);
}

/* Focus visible — cubrir cards y footer */
.card:focus-visible,
.about-pillar:focus-visible,
.philosophy-card:focus-visible,
.footer-col a:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid rgba(146, 100, 73, 0.45);
  outline-offset: 4px;
  border-radius: 12px;
}

/* Separación visual entre stacked sections (subraya transición) */
.section-wrap + .section-wrap .stack-card {
  margin-top: -0.4rem;
}

/* Easter egg refinement */
.easter-egg {
  font-size: 0.82rem;
  opacity: 0.78;
}
.easter-egg a {
  font-weight: 600;
}

/* ============================================================
   Touch / scroll safety (v2)
   En móvil el canvas deja pasar el scroll vertical; la lógica
   JS limita el drag al 22% inferior del viewport.
   ============================================================ */
html,
body {
  overflow-x: hidden;
}
body {
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px), (pointer: coarse) {
  main,
  section,
  header,
  footer,
  .hero,
  .container,
  .site-shell {
    touch-action: pan-y;
  }

  /* Canvas y capas decorativas deben permitir scroll vertical;
     la zona interactiva se filtra en JS, no en CSS. */
  .hero-canvas,
  .hero-static-fallback,
  .canvas-layer,
  .rain-canvas,
  .banana-canvas,
  .objects-canvas,
  .physics-canvas,
  .falling-layer,
  .objects-layer,
  .banana-layer,
  .laptop-layer,
  .decor-layer,
  .floating-layer,
  .interactive-layer {
    touch-action: pan-y;
  }
}
