/* =================================================
   LOS JUANES PLUS - Landing Page
   Paleta: Verde #1c7a3a + Naranja #f07e20
   Hero: Split 50/50 verde | blanco + acento naranja en CTAs y stats
   Tipografia: Outfit (display) + DM Sans (body)
   ================================================= */

:root {
  --green:        #1c7a3a;
  --green-dark:   #145c2b;
  --green-mid:    #2d9652;
  --green-light:  #e8f5ec;
  --green-xlight: #f0f8f2;
  --orange:       #f07e20;
  --orange-dark:  #d4640d;
  --orange-light: #fff4ec;

  --forest:  #132a1b;
  --forest-2:#1a3422;
  --kraft:   #f5f0e9;

  --text-1: #1a3424;
  --text-2: #4a5e50;
  --text-3: #7a8c7f;

  --surface:   #ffffff;
  --surface-2: #f3f7f3;
  --surface-3: #e8ede8;
  --border:    #d2dbd4;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --pill:      999px;

  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease2: cubic-bezier(0.4, 0, 0.2, 1);

  --container: min(1260px, calc(100vw - 3rem));
  --section-y: clamp(5rem, 10vw, 8rem);
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-1);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Global focus-visible ring — accessibility */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
h1, h2, h3, h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

/* ─── Buttons ────────────────────────────────────── */

/* Verde - para secciones claras */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: var(--green);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--pill);
  transition: background 0.18s var(--ease), transform 0.2s var(--ease), box-shadow 0.18s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(28,122,58,0.3);
}
.btn-primary:active { transform: scale(0.97); box-shadow: none; }
.btn-primary.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* Ghost oscuro - para fondo blanco */
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: transparent;
  color: var(--text-2);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--pill);
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn-ghost-dark:hover {
  background: var(--surface-2);
  border-color: var(--text-3);
  color: var(--text-1);
  transform: translateY(-2px);
}
.btn-ghost-dark:active { transform: scale(0.97); }
.btn-ghost-dark.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* WhatsApp invertido - para fondo verde */
.btn-whatsapp-inv {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: #fff;
  color: var(--green);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--pill);
  transition: background 0.16s, transform 0.2s var(--ease), box-shadow 0.16s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-whatsapp-inv:hover {
  background: var(--green-xlight);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}
.btn-whatsapp-inv:active { transform: scale(0.97); }
.btn-whatsapp-inv .ph { font-size: 1.3rem; color: #25D366; }

/* Submit - naranja, para el formulario en fondo verde */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: var(--orange);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--pill);
  transition: background 0.16s, transform 0.2s var(--ease), box-shadow 0.16s;
  cursor: pointer;
  border: none;
  margin-top: 0.5rem;
}
.btn-submit:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,126,32,0.38);
}
.btn-submit:active { transform: scale(0.97); }

.form-status {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}
.form-status.is-visible { display: flex; }
.form-status.is-success { background: var(--green-light); color: var(--green-dark); }
.form-status.is-error   { background: #fdeceb; color: #c0392b; }

/* ─── Cortina de entrada ─────────────────────────── */
.page-curtain {
  position: fixed; inset: 0;
  background: var(--green);
  z-index: 9999;
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-curtain.is-gone { opacity: 0; }

/* ─── Navigation ─────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 72px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 1px 0 rgba(26,52,36,0.08);
  transition: box-shadow 0.35s;
}
.nav.scrolled {
  box-shadow: 0 2px 12px rgba(26,52,36,0.1);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
}
.nav-logo {
  padding: 4px 0;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--text-1);
}
.nav-logo-text em { color: var(--orange); font-style: normal; }
.nav-logo:hover { opacity: 0.78; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-link {
  display: block;
  padding: 0.45rem 0.85rem;
  color: var(--text-2);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: color 0.18s, background 0.18s;
}
.nav-link:hover { color: var(--green); background: var(--green-xlight); }

.nav-cta { margin-left: 0.75rem; padding: 0.55rem 1.25rem; font-size: 0.875rem; }
.nav-mobile-cta { display: none; }

.nav-toggle {
  display: none;
  color: var(--text-1);
  font-size: 1.5rem;
  margin-left: auto;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  transition: background 0.18s;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--surface-2); }


/* ─── Hero (split 53/47: verde | kraft) ─────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  background: linear-gradient(to right, var(--green) 53%, var(--kraft) 53%);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

/* Tag pill */
.hero-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--pill);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}

/* Headline */
.hero-heading {
  font-size: clamp(2.6rem, 4.5vw + 0.5rem, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.4rem;
}
.hero-heading em {
  font-style: italic;
  color: #ffe28a;
  padding-bottom: 0.1em;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 44ch;
  margin-bottom: 3rem;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
}
.hero-points i { color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Botones del hero (text izquierda siempre sobre verde) */
.hero-text .btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 24px rgba(240,126,32,0.5);
}
.hero-text .btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 8px 32px rgba(240,126,32,0.6);
  transform: translateY(-2px);
}
.hero-text .btn-ghost-dark {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.38);
}
.hero-text .btn-ghost-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

/* Hero visual - foto unica grande */
.hero-visual {
  position: relative;
  animation: riseImg 1s var(--ease) 0.35s both;
  margin-left: -2rem;
  will-change: transform, opacity;
}

.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: min(calc(100dvh - 180px), 580px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.1);
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.8s var(--ease);
}
.hero-photo-wrap:hover .hero-photo { transform: scale(1.03); }

.hc-pill {
  position: absolute;
  bottom: 1rem; right: 1rem;
  z-index: 3;
  display: flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.52rem 1.1rem;
  border-radius: var(--pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  color: var(--green-dark);
  pointer-events: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.16);
}
.hc-pill .ph { color: var(--green); }

/* Floating micro-badges over Hero photo */
.hero-float-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--pill);
  box-shadow: 0 12px 32px rgba(19, 42, 27, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest);
  pointer-events: none;
  user-select: none;
}
.hero-float-badge i {
  font-size: 1.15rem;
  color: var(--green);
}
.hero-float-badge--top {
  top: 1.25rem;
  left: 1.25rem;
  animation: floatBadge1 5.5s ease-in-out infinite alternate;
}
.hero-float-badge--mid {
  top: 48%;
  right: 1.25rem;
  animation: floatBadge2 6.5s ease-in-out infinite alternate;
}

@keyframes floatBadge1 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-1deg); }
  100% { transform: translateY(3px) rotate(1deg); }
}
@keyframes floatBadge2 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(1.5deg); }
  100% { transform: translateY(4px) rotate(-1deg); }
}

@keyframes riseImg { from { opacity:0; transform:translateY(28px) scale(0.98); } to { opacity:1; transform:translateY(0) scale(1); } }

/* ─── Marquee Strip (Infinite ticker) ────────────── */
.marquee-strip {
  background: var(--forest);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 0.95rem 0;
  position: relative;
  user-select: none;
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}
.marquee-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--forest) 0%, transparent 100%);
}
.marquee-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--forest) 0%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRun 30s linear infinite;
  will-change: transform;
}
.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
  flex-shrink: 0;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}
.marquee-item i {
  color: var(--orange);
  font-size: 1.15rem;
}
.marquee-dot {
  color: var(--orange);
  font-size: 0.75rem;
  opacity: 0.8;
}

@keyframes marqueeRun {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Decoracion: grilla de puntos + brillo animado en lado verde */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 47% 0 0;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0 47% 0 0;
  background: radial-gradient(ellipse at 38% 62%, rgba(255,255,255,0.11) 0%, transparent 58%);
  animation: heroPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}
@keyframes heroPulse {
  from { transform: scale(1);    opacity: 0.6; }
  to   { transform: scale(1.18) translate(6%, -5%); opacity: 1; }
}

.hero-deco {
  position: absolute;
  left: -180px; bottom: -180px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* Hero entry animations */
.hero-tag     { animation: rise 0.8s var(--ease) 0.1s both; }
.hero-heading { animation: rise 0.8s var(--ease) 0.25s both; }
.hero-points  { animation: rise 0.8s var(--ease) 0.4s both; }
.hero-actions { animation: rise 0.8s var(--ease) 0.52s both; }

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

/* ─── Stats (naranja) ────────────────────────────── */
.stats { background: var(--orange); padding: 2.25rem 1.5rem; }
.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.stat { display:flex; flex-direction:column; align-items:center; text-align:center; gap:0.2rem; }
.stat-icon { font-size:1.4rem; color:rgba(255,255,255,0.85); margin-bottom:0.1rem; }
.stat-num  {
  font-family:'Outfit',sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight:800; color:#fff; line-height:1;
}
.stat-label { font-size:0.78rem; color:#fff; font-weight: 500; }
.stat-divider { width:1px; height:44px; background:rgba(255,255,255,0.25); flex-shrink:0; }

/* ─── Seccion compartida ─────────────────────────── */
.section { padding: var(--section-y) 1.5rem; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-head { text-align:center; margin-bottom:3.25rem; }
.section-title { font-size: clamp(1.85rem, 3vw + 0.5rem, 3rem); color:var(--text-1); margin-bottom:0.7rem; }
.section-sub   { font-size:1.05rem; color:var(--text-2); max-width:52ch; margin:0 auto; line-height:1.7; }
.text-center   { text-align:center; margin-bottom:3rem; }

/* ─── Products Bento ─────────────────────────────── */
.products { background: var(--surface-2); }

.bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.1rem;
}
.bento-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(26,52,36,0.08);
  box-shadow: 0 4px 16px rgba(26,52,36,0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.bento-card img {
  transition: transform 0.75s var(--ease);
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(26,52,36,0.16);
  border-color: rgba(28,122,58,0.35);
}
.bento-card:hover img {
  transform: scale(1.04);
}

.bento-featured { grid-row: span 2; background: var(--forest); }
.bento-featured img { width:100%; height:100%; min-height:480px; object-fit:cover; opacity:0.88; }

.bento-overlay {
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:1.75rem;
  background: linear-gradient(to top, rgba(19,42,27,0.92) 0%, transparent 55%);
}
.bento-overlay h3 { font-family:'Outfit',sans-serif; font-size:1.4rem; color:#fff; margin-bottom:0.35rem; }
.bento-overlay p  { font-size:0.875rem; color:rgba(255,255,255,0.7); max-width:36ch; line-height:1.55; }
.bento-overlay--sm { padding:1.25rem; }
.bento-overlay--sm h3 { font-size:1.1rem; }

.bento-body {
  padding:1.6rem; height:100%;
  display:flex; flex-direction:column; gap:0.4rem;
}
.bento-icon {
  width:44px; height:44px;
  background:rgba(255,255,255,0.18);
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; color:#fff;
  margin-bottom:0.3rem;
}
.bento-icon--dim { background:rgba(255,255,255,0.1); }

/* Stat verde */
.bento-stat-green { background:var(--green); min-height:210px; }
.bento-stat-green .bento-body { justify-content:center; }
.bento-stat-green h3 { font-size:1.2rem; color:#fff; margin-bottom:0.5rem; }
.bento-stat-green p  { font-size:0.85rem; color:rgba(255,255,255,0.75); line-height:1.6; }

/* Photo */
.bento-photo { background:var(--forest-2); min-height:210px; }
.bento-photo img { width:100%; height:100%; min-height:210px; object-fit:cover; opacity:0.85; }

/* Dark */
.bento-dark { background:var(--forest); min-height:210px; }
.bento-dark h3 { color:#fff; font-size:1.15rem; }
.bento-dark p  { font-size:0.86rem; color:rgba(255,255,255,0.65); line-height:1.5; }

/* ─── Why Us ─────────────────────────────────────── */
.why-us { background:var(--surface); }

.why-split {
  display:grid; grid-template-columns:5fr 7fr;
  gap:5rem; align-items:start;
  margin-bottom:3.5rem;
}
.why-left h2 { font-size:clamp(1.8rem,3vw,2.8rem); margin-bottom:1.1rem; color:var(--text-1); }
.why-left p  { font-size:1rem; color:var(--text-2); line-height:1.7; max-width:38ch; margin-bottom:1.75rem; }

.why-right { display:flex; flex-direction:column; }
.why-feature {
  display:grid; grid-template-columns:50px 1fr;
  gap:1.1rem; align-items:start;
  padding:1.35rem 0;
  border-bottom:1px solid var(--border);
}
.why-feature:last-child { border-bottom:none; }
.why-icon {
  width:50px; height:50px;
  background:var(--green-light);
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  font-size:1.35rem; color:var(--green);
  flex-shrink:0;
  transition:background 0.25s, color 0.25s;
}
.why-feature:hover .why-icon { background:var(--green); color:#fff; }
.why-feature h4 { font-size:1rem; font-weight:600; color:var(--text-1); margin-bottom:0.3rem; }
.why-feature p  { font-size:0.875rem; color:var(--text-2); line-height:1.6; }

.why-strip {
  position:relative; border-radius:var(--radius-lg);
  overflow:hidden; aspect-ratio:21/7;
}
.why-strip img { width:100%; height:100%; object-fit:cover; }
.why-strip-label {
  position:absolute; bottom:1rem; right:1rem;
  display:flex; align-items:center; gap:0.4rem;
  background:rgba(19,42,27,0.75);
  backdrop-filter:blur(8px);
  padding:0.4rem 0.9rem; border-radius:var(--pill);
  font-size:0.78rem; color:rgba(255,255,255,0.85); font-weight:500;
}

/* ─── Aliados comerciales ────────────────────────── */
.partners { background: var(--kraft); }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  flex: 1 1 260px;
  max-width: 320px;
  padding: 2.5rem 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.partner-card img { height: 52px; width: auto; object-fit: contain; }
.partner-label { font-size: 0.85rem; font-weight: 600; color: var(--text-2); }

/* ─── Process ────────────────────────────────────── */
.process { background:var(--surface-2); }
.process-track {
  display:grid; grid-template-columns:1fr auto 1fr auto 1fr;
  gap:1.5rem; align-items:center;
}
.process-step { display:flex; flex-direction:column; gap:1.1rem; }
.process-img  { border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; }
.process-img img {
  width:100%; height:100%; object-fit:cover;
  transition:transform 0.5s var(--ease);
}
.process-step:hover .process-img img { transform:scale(1.05); }
.process-info { padding:0 0.2rem; }
.process-num  {
  display:block;
  font-family:'Outfit',sans-serif; font-size:0.7rem; font-weight:700;
  letter-spacing:0.14em; color:var(--orange); margin-bottom:0.4rem;
}
.process-info h3 { font-size:1.15rem; margin-bottom:0.3rem; color:var(--text-1); }
.process-info p  { font-size:0.875rem; color:var(--text-2); line-height:1.6; }
.process-arrow {
  display:flex; align-items:center; justify-content:center;
  padding-bottom:3rem; color:var(--green-mid); font-size:1.6rem;
}

/* ─── FAQ Accordion ──────────────────────────────── */
.faq { background: var(--surface); }
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
}
.faq-item:hover {
  border-color: rgba(28, 122, 58, 0.35);
  box-shadow: 0 4px 18px rgba(26, 52, 36, 0.05);
}
.faq-item.is-active {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 122, 58, 0.08);
}
.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  cursor: pointer;
  transition: color 0.18s;
}
.faq-trigger:hover {
  color: var(--green);
}
.faq-trigger .ph {
  font-size: 1.25rem;
  color: var(--green);
  transition: transform 0.28s var(--ease);
  flex-shrink: 0;
}
.faq-item.is-active .faq-trigger .ph {
  transform: rotate(180deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), opacity 0.28s;
  opacity: 0;
}
.faq-item.is-active .faq-content {
  opacity: 1;
}
.faq-body {
  padding: 0 1.5rem 1.35rem;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ─── Contact (verde) ────────────────────────────── */
.contact { background:var(--green); }
.contact-inner {
  max-width:var(--container); margin:0 auto;
  padding:var(--section-y) 1.5rem;
  display:grid; grid-template-columns:1fr 1fr;
  gap:5rem; align-items:start;
}
.contact-left h2 {
  font-size:clamp(1.7rem, 2.8vw, 2.6rem);
  color:#fff; margin-bottom:1rem; max-width:22ch;
}
.contact-left > p {
  font-size:1rem; color:rgba(255,255,255,0.88);
  line-height:1.7; max-width:38ch; margin-bottom:1.75rem;
}
.contact-details {
  margin-top:2rem; padding-top:2rem;
  border-top:1px solid rgba(255,255,255,0.18);
}
.contact-details p { font-size:0.875rem; color:rgba(255,255,255,0.6); margin-bottom:0.2rem; }

/* Formulario */
.contact-form {
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.2);
  border-radius:var(--radius-lg);
  padding:2.25rem;
  display:flex; flex-direction:column; gap:1.15rem;
}
.form-field { display:flex; flex-direction:column; gap:0.38rem; }
.form-field label {
  font-family:'Outfit',sans-serif; font-size:0.84rem; font-weight:600;
  color:rgba(255,255,255,0.9); letter-spacing:0.02em;
}
.form-field input,
.form-field textarea {
  font-family:'DM Sans',sans-serif; font-size:0.95rem;
  padding:0.75rem 1rem;
  background:rgba(255,255,255,0.15);
  border:1.5px solid rgba(255,255,255,0.2);
  border-radius:var(--radius-sm);
  color:#fff;
  outline:none;
  transition:border-color 0.2s, background 0.2s;
  resize:vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color:rgba(255,255,255,0.4); }
.form-field input:focus,
.form-field textarea:focus {
  border-color:rgba(255,255,255,0.7);
  background:rgba(255,255,255,0.2);
}
.contact .form-field input:focus-visible,
.contact .form-field textarea:focus-visible { outline:2px solid #fff; outline-offset:2px; }

/* Override global focus ring color for elements on dark/green backgrounds */
.contact :focus-visible { outline-color: #fff; }
.footer :focus-visible { outline-color: rgba(255,255,255,0.75); }
.footer-close-heading { text-wrap: unset; } /* heading manual breaks — not balance */
.form-error { font-size:0.78rem; color:#ffd5d5; display:none; }
.form-field.has-error input,
.form-field.has-error textarea { border-color:#ffd5d5; }
.form-field.has-error .form-error { display:block; }

/* ─── Footer (3 columnas) ────────────────────────── */
.footer {
  background: var(--forest);
  border-top: 3px solid var(--orange);
  position: relative;
  overflow: hidden;
}

/* Dot grid sutil de fondo */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Foto de producto como textura de fondo muy sutil */
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../static/catalogo-variedad-bolsas.jpg') center 40% / cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr;
  gap: 3rem;
}

.footer-col { display: flex; flex-direction: column; gap: 1rem; }

/* Logo cuadrado */
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  line-height: 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  transition: opacity 0.2s, transform 0.2s var(--ease);
  width: fit-content;
}
.footer-logo:hover { opacity: 0.88; transform: translateY(-2px); }
.footer-logo img { height: 60px; width: 60px; object-fit: contain; display: block; }

.footer-brand-row { display: flex; align-items: center; gap: 0.9rem; }
.footer-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.footer-logo-text em { color: var(--orange); font-style: normal; }

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 28ch;
}

.footer-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: color 0.18s;
}
.footer-ig-link .ph { font-size: 1.2rem; }
.footer-ig-link:hover { color: #fff; }

/* Titulo de columna */
.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.1rem;
}

/* Lista de frases de fabrica */
.footer-highlights { display: flex; flex-direction: column; }
.footer-hl-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: color 0.18s, padding-left 0.22s var(--ease);
}
.footer-hl-item:last-child { border-bottom: none; }
.footer-hl-item .ph {
  font-size: 1.05rem;
  color: var(--orange);
  transition: transform 0.22s var(--ease);
  flex-shrink: 0;
}
.footer-hl-item:hover { color: #fff; padding-left: 0.35rem; }
.footer-hl-item:hover .ph { transform: scale(1.25); }

/* Texto de llamada al equipo de ventas */
.footer-sales-line {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

.footer-rif {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
}

/* CTA button */
.btn-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background: var(--orange);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--pill);
  transition: background 0.16s, transform 0.2s var(--ease), box-shadow 0.16s;
  text-decoration: none;
  white-space: nowrap;
  width: fit-content;
  margin-top: 0.25rem;
}
.btn-footer-wa:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,126,32,0.42);
}
.btn-footer-wa:active { transform: scale(0.97); }
.btn-footer-wa .ph { font-size: 1.15rem; }

/* Bottom bar */
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.footer-bottom p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
  text-align: center;
}

/* ─── Skip link (a11y) ───────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem; top: 1rem;
  width: auto; height: auto;
  overflow: visible;
  background: var(--forest);
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
}

/* ─── Scroll Reveal ──────────────────────────────── */
/* JS adds .js-reveal-ready to <body> — animations only fire after that,
   preventing content from being locked invisible on hidden tabs */
.js-reveal-ready .reveal,
.js-reveal-ready .reveal-group > * {
  opacity:0; transform:translateY(20px);
  transition:opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.js-reveal-ready .reveal.is-visible,
.js-reveal-ready .reveal-group > *.is-visible { opacity:1; transform:translateY(0); }
.js-reveal-ready .reveal-group > *:nth-child(2) { transition-delay:0.06s; }
.js-reveal-ready .reveal-group > *:nth-child(3) { transition-delay:0.12s; }
.js-reveal-ready .reveal-group > *:nth-child(4) { transition-delay:0.18s; }
.js-reveal-ready .reveal-group > *:nth-child(5) { transition-delay:0.24s; }

/* ─── Floating WhatsApp Smart Button ────────────── */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.4rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--pill);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.12);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.2s, box-shadow 0.2s;
}
.floating-wa.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.floating-wa:hover {
  background: #20ba5a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.48), 0 6px 16px rgba(0, 0, 0, 0.16);
}
.floating-wa:active {
  transform: scale(0.96);
}
.floating-wa .ph {
  font-size: 1.35rem;
}
.floating-wa-radar {
  position: absolute;
  inset: -4px;
  border-radius: var(--pill);
  border: 2px solid #25D366;
  animation: radarPulse 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}
.floating-wa-pulse {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff;
  animation: dotGlow 1.8s ease-in-out infinite alternate;
}

@keyframes radarPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.18, 1.45); opacity: 0; }
}
@keyframes dotGlow {
  0% { opacity: 0.5; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.2); }
}

/* ─── Reduced Motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready .reveal, .js-reveal-ready .reveal-group > *,
  .hero-tag, .hero-heading, .hero-points, .hero-actions, .hero-visual,
  .hero::after, .hero-float-badge, .marquee-track, .floating-wa-radar {
    opacity:1 !important; transform:none !important;
    animation:none !important; transition:none !important;
  }
  .page-curtain { display: none; }
}

/* ─── Tablet ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-visual { margin-left: -1rem; } /* overlap reducido en tablet */

  .bento { grid-template-columns:1fr 1fr; }
  .bento-featured { grid-row:1; grid-column:1 / -1; }
  .bento-featured img { min-height:300px; }

  .why-split { grid-template-columns:1fr; gap:2.5rem; }
  .why-left p { max-width:none; }
  .why-strip { aspect-ratio:16/5; }
}

/* ─── Mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    position:fixed; top:72px; left:0; right:0;
    background:#fff;
    flex-direction:column; align-items:flex-start;
    gap:0.15rem; padding:1rem 1.5rem 1.5rem;
    transform:translateY(-105%); opacity:0; pointer-events:none;
    transition:transform 0.35s var(--ease), opacity 0.25s;
    border-bottom:1px solid var(--border);
    box-shadow:0 8px 24px rgba(26,52,36,0.08);
  }
  .nav-links.is-open { transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-link { font-size:1rem; padding:0.65rem 0.4rem; width:100%; }
  .nav-mobile-cta { display:block; margin-top:0.5rem; width:100%; }
  .nav-mobile-cta .btn-primary { width:100%; justify-content:center; }
  .nav-cta    { display:none; }
  .nav-toggle { display:flex; align-items:center; justify-content:center; }

  .hero { background: var(--green); }
  .hero-inner {
    grid-template-columns:1fr; gap:2rem;
    padding:5rem 1.5rem 3.5rem;
  }
  .hero-visual { order:-1; margin-left:0; } /* cancelar overlap en móvil */
  .hero-photo-wrap { height: 360px; }
  .hero-heading    { font-size:2.4rem; }
  .hc-pill         { font-size:0.68rem; padding:0.4rem 0.75rem; bottom:0.75rem; right:0.75rem; }
  .hero-float-badge      { font-size:0.68rem; padding:0.45rem 0.85rem; gap:0.4rem; }
  .hero-float-badge i    { font-size:0.95rem; }
  .hero-float-badge--top { top:0.75rem; left:0.75rem; }
  .hero-float-badge--mid { display:none; } /* evita amontonar 3 badges en una foto baja */

  .stats-inner  { gap:1rem; }
  .stat-divider { display:none; }
  .stat         { width:calc(50% - 0.5rem); }

  .bento { grid-template-columns:1fr; }
  .bento-featured { grid-column:1; }

  .process-track { grid-template-columns:1fr; gap:2rem; }
  .process-arrow { transform:rotate(90deg); padding-bottom:0; }

  .partners-grid { gap:0.85rem; flex-wrap:nowrap; }
  .partner-card  { padding:1.15rem 0.75rem; gap:0.5rem; flex:1 1 0; max-width:none; }
  .partner-card img { height:34px; }
  .partner-label { font-size:0.72rem; text-align:center; }

  .contact-inner { grid-template-columns:1fr; gap:2.5rem; padding:4rem 1.5rem; }
  .contact-left h2 { max-width:none; }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.5rem 3rem;
    gap: 2.5rem;
  }
  .footer-brand-desc { max-width: none; }
  .footer-highlights .footer-hl-item { padding: 0.65rem 0; }

  .section { padding:clamp(3rem, 8vw, 5rem) 1.5rem; }
}

@media (max-width: 900px) and (min-width: 769px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost-dark { text-align:center; justify-content:center; }
  
  .floating-wa {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.75rem 1.15rem;
    font-size: 0.85rem;
  }
}
