/* =============================================================
   Deborah Avilez · Directora Master Yanbal
   1. Tokens
   ============================================================= */
:root {
  --bg:        #FBF7F4;
  --bg-2:      #F3EAE3;
  --paper:     #FFFFFF;
  --ink:       #211A22;
  --ink-soft:  #4B4150;
  --ink-mute:  #857B8F;
  --accent:    #F26522;
  --accent-d:  #D14F0F;
  --accent-s:  #FFF0E7;
  --accent-2:  #8E4E9E;
  --accent-2s: #F6EDF9;
  --glass:     rgba(255, 255, 255, 0.55);
  --glass-2:   rgba(255, 255, 255, 0.32);
  --line:      rgba(33, 26, 34, 0.10);
  --line-2:    rgba(33, 26, 34, 0.06);

  --sans:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Manrope", var(--sans);
  --serif:   "Fraunces", Georgia, serif;

  --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);

  --r-sm: 12px;
  --r:    20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-s: 0 2px 10px rgba(33, 26, 34, 0.05);
  --shadow-m: 0 14px 34px -14px rgba(33, 26, 34, 0.18);
  --shadow-l: 0 34px 70px -28px rgba(33, 26, 34, 0.30);

  --gutter: clamp(1.15rem, 4vw, 3.5rem);
  --maxw: 1240px;
  --nav-h: 68px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -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; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: -120px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: #fff;
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display);
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-d);
  background: var(--accent-s);
  border: 1px solid rgba(242, 101, 34, 0.18);
  padding: .42rem .85rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.kicker.alt { color: var(--accent-2); background: var(--accent-2s); border-color: rgba(142,78,158,.16); }

/* =============================================================
   4. Typography
   ============================================================= */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.95rem, 4.4vw, 3.15rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.22; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-soft); }
em.hl { font-style: normal; color: var(--accent); }
.quote-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* =============================================================
   5. Components — botones
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              background-color .3s var(--ease-out), color .3s var(--ease-out),
              border-color .3s var(--ease-out);
  will-change: transform;
  text-align: center;
}
.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(242, 101, 34, 0.85);
}
.btn-accent:hover { background: var(--accent-d); transform: translateY(-3px); box-shadow: 0 20px 36px -14px rgba(242,101,34,.9); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.btn-ghost {
  background: var(--glass); color: var(--ink);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-s);
}
@supports (backdrop-filter: blur(10px)) {
  .btn-ghost { backdrop-filter: blur(14px) saturate(170%); -webkit-backdrop-filter: blur(14px) saturate(170%); }
}
.btn-ghost:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-m); }
.btn-wa { background: #1FAF54; color: #fff; }
.btn-wa:hover { background: #178C43; transform: translateY(-3px); }
.btn-lg { padding: 1.15rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .6rem 1.1rem; font-size: .84rem; }
.btn-block { width: 100%; }

/* Botón protagonista — pulso suave */
.btn-hero {
  position: relative;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  padding: 1.2rem 2.3rem;
}
.btn-hero::after {
  content: ""; position: absolute; inset: -4px; border-radius: 999px;
  border: 2px solid var(--accent);
  opacity: 0; animation: haloPulse 2.8s var(--ease-soft) infinite;
  pointer-events: none;
}
@keyframes haloPulse {
  0%   { opacity: .55; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.14); }
  100% { opacity: 0;   transform: scale(1.14); }
}

/* =============================================================
   5b. Glass cards
   ============================================================= */
.glass {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-m);
}
@supports (backdrop-filter: blur(20px)) {
  .glass {
    background: var(--glass);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
  }
}

/* =============================================================
   6. Fondo mesh animado
   ============================================================= */
.mesh {
  position: fixed; inset: -20vh -10vw;
  z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 34% at 16% 18%, #FFD6B0 0%, transparent 62%),
    radial-gradient(34% 32% at 84% 12%, #F7C6DA 0%, transparent 60%),
    radial-gradient(40% 38% at 72% 78%, #DCC9F3 0%, transparent 62%),
    radial-gradient(36% 30% at 22% 86%, #FFE0C4 0%, transparent 60%);
  filter: blur(70px) saturate(135%);
  opacity: .78;
  animation: meshDrift 34s var(--ease-soft) infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.18) rotate(9deg); }
}
.mesh-veil {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(251,247,244,.30) 0%, rgba(251,247,244,.86) 42%, rgba(251,247,244,.96) 100%);
}

/* =============================================================
   7. Topbar + Nav
   ============================================================= */
.topbar {
  position: relative; z-index: 60;
  background: linear-gradient(100deg, var(--accent) 0%, #FF8B4A 55%, var(--accent-2) 155%);
  color: #fff;
}
.topbar-in {
  display: flex; align-items: center; justify-content: center; gap: 1rem 1.4rem;
  flex-wrap: wrap; text-align: center;
  padding-block: .68rem;
}
.topbar p { font-size: .9rem; font-weight: 500; line-height: 1.4; }
.topbar .btn {
  background: #fff; color: var(--accent-d);
  padding: .5rem 1.05rem; font-size: .82rem;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.45);
}
.topbar .btn:hover { transform: translateY(-2px); background: #fff; }

.nav {
  position: sticky; top: 0; z-index: 50;
  border-radius: 0; border: 0;
  border-bottom: 1px solid transparent;
  background: rgba(251, 247, 244, 0.55);
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
@supports (backdrop-filter: blur(18px)) {
  .nav { backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); }
}
.nav.is-stuck {
  background: rgba(251, 247, 244, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(33,26,34,.5);
}
.nav-in {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 2px 8px -2px rgba(33, 26, 34, 0.22);
}
.brand-txt { line-height: 1.1; }
.brand-txt b { display: block; font-family: var(--display); font-weight: 800; font-size: .98rem; color: var(--ink); letter-spacing: -.02em; }
.brand-txt span { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }

.nav-links { display: none; align-items: center; gap: .25rem; }
.nav-links a {
  position: relative; padding: .5rem .72rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  transition: color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: .72rem; right: .72rem; bottom: .3rem; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .38s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-cta { display: none; }

.nav-toggle {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; gap: 4px;
  border: 1px solid var(--line); background: rgba(255,255,255,.6);
}
.nav-toggle span { display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .25s; }
.nav-toggle span:nth-child(1) { transform: translateY(-5px); }
.nav-toggle span:nth-child(3) { transform: translateY(5px); }
.nav.is-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); }

.nav-drawer {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease-out);
  border-top: 1px solid transparent;
}
.nav.is-open .nav-drawer { max-height: 620px; border-top-color: var(--line); }
.nav-drawer-in { overflow: hidden; }
.nav-drawer ul { padding: .5rem 0 1.1rem; }
.nav-drawer a { display: block; padding: .72rem 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.nav-drawer .btn { margin-top: .9rem; }

/* =============================================================
   8. Hero
   ============================================================= */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero-title {
  font-size: clamp(2.5rem, 7.2vw, 4.4rem);
  margin-bottom: 1.2rem;
}
.hero-title span.line2 { display: block; color: var(--accent); }
.hero-quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.12rem, 2.1vw, 1.45rem);
  line-height: 1.45; color: var(--ink-soft);
  max-width: 30ch;
  padding-left: 1.1rem; border-left: 3px solid var(--accent);
  margin-bottom: 1.9rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem;
  font-size: .86rem; color: var(--ink-mute);
}
.hero-trust b { color: var(--ink); font-weight: 600; }
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: #1FAF54; box-shadow: 0 0 0 4px rgba(31,175,84,.16); }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-l);
  transform: rotate(-1.4deg);
  animation: floatY 7s var(--ease-soft) infinite;
}
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 22%; }
@keyframes floatY {
  0%, 100% { transform: rotate(-1.4deg) translateY(0); }
  50%      { transform: rotate(-1.4deg) translateY(-14px); }
}
.hero-badge {
  position: absolute; z-index: 3;
  padding: .8rem 1.05rem; border-radius: var(--r);
  display: flex; align-items: center; gap: .65rem;
  font-size: .82rem; line-height: 1.25;
}
.hero-badge b { display: block; font-family: var(--display); font-weight: 800; color: var(--ink); font-size: .95rem; }
.hero-badge .ic { font-size: 1.25rem; }
.hero-badge.b1 { left: -8px; bottom: 16%; animation: floatY 8.5s var(--ease-soft) infinite .5s; }
.hero-badge.b2 { right: -6px; top: 10%; animation: floatY 9.5s var(--ease-soft) infinite 1.2s; }

/* =============================================================
   9. Stats
   ============================================================= */
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
}
.stat { padding: 1.35rem 1.2rem; border-radius: var(--r); text-align: center; }
.stat b {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 2.9rem); color: var(--ink);
  letter-spacing: -.04em; line-height: 1;
}
.stat span { display: block; margin-top: .45rem; font-size: .8rem; line-height: 1.35; color: var(--ink-mute); }

/* =============================================================
   10. Historia
   ============================================================= */
.story-grid { display: grid; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.milestones { display: grid; gap: .6rem; }
.milestone {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1rem 1.15rem; border-radius: var(--r);
  background: rgba(255,255,255,.62); border: 1px solid var(--line-2);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .3s;
}
.milestone:hover { transform: translateX(6px); background: #fff; box-shadow: var(--shadow-s); }
.milestone .ic {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.1rem;
  background: var(--accent-s);
}
.milestone p { font-size: .93rem; }
.milestone b { color: var(--ink); font-family: var(--display); font-weight: 700; }

/* =============================================================
   11. Únete (sección principal)
   ============================================================= */
.join { position: relative; }
.join-halo {
  position: absolute; inset: -30% -12% 20% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 34% at 50% 46%, rgba(242,101,34,.20), transparent 72%);
  filter: blur(90px);
}
.join-cards {
  display: grid; grid-template-columns: 1fr; gap: .85rem;
  margin-bottom: clamp(2.4rem, 4vw, 3.2rem);
}
.jcard {
  padding: 1.4rem 1.35rem; border-radius: var(--r-lg);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.jcard .ic {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.3rem; margin-bottom: .85rem;
  background: linear-gradient(135deg, var(--accent-s), #fff);
  border: 1px solid rgba(242,101,34,.14);
}
.jcard h3 { margin-bottom: .4rem; }
.jcard p { font-size: .92rem; }

.join-cta {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1.4rem, 4vw, 3.2rem);
  text-align: center; color: #fff;
  background: linear-gradient(125deg, #2A2130 0%, #4A2A3C 46%, var(--accent-d) 130%);
  box-shadow: var(--shadow-l);
}
.join-cta::before {
  content: ""; position: absolute; inset: -40% -10%; pointer-events: none;
  background: radial-gradient(34% 40% at 78% 12%, rgba(242,101,34,.55), transparent 66%),
              radial-gradient(30% 34% at 12% 88%, rgba(142,78,158,.5), transparent 66%);
  filter: blur(40px);
}
.join-cta > * { position: relative; z-index: 1; }
.join-cta h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.join-cta p { color: rgba(255,255,255,.78); max-width: 52ch; margin: 1rem auto 1.9rem; }
.join-cta .btn-accent { box-shadow: 0 18px 40px -14px rgba(242,101,34,.95); }
.join-cta .mini { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 1.2rem; }

.steps { display: grid; gap: .9rem; margin-top: clamp(2.4rem, 4vw, 3.4rem); counter-reset: step; }
.step {
  position: relative; padding: 1.5rem 1.35rem 1.35rem; border-radius: var(--r-lg);
  background: rgba(255,255,255,.6); border: 1px solid var(--line-2);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--display); font-weight: 800; font-size: 2.6rem;
  color: rgba(242,101,34,.18); line-height: 1; display: block; margin-bottom: .4rem;
  letter-spacing: -.05em;
}
.step h3 { margin-bottom: .35rem; }
.step p { font-size: .92rem; }

/* =============================================================
   12. Videos
   ============================================================= */
.video-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.vcard { border-radius: var(--r-lg); overflow: hidden; position: relative; background: #17121A; box-shadow: var(--shadow-m); }
.vcard .media { position: relative; aspect-ratio: 9/16; background: #17121A; }
.vcard video, .vcard img.poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.vcard .play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(23,18,26,.05) 0%, rgba(23,18,26,.62) 100%);
  transition: opacity .45s var(--ease-out);
}
.vcard.is-playing .play { opacity: 0; pointer-events: none; }
.play-btn {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--accent-d);
  display: grid; place-items: center; font-size: 1.3rem; padding-left: 4px;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.6);
  transition: transform .45s var(--ease-bounce);
}
.vcard:hover .play-btn { transform: scale(1.1); }
.vcard .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1.1rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(15,11,18,.9));
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.vcard.is-playing .cap { opacity: 0; }
.vcard .cap b { display: block; font-family: var(--display); font-weight: 700; color: #fff; font-size: 1rem; }
.vcard .cap span { display: block; font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.35; }

/* =============================================================
   13. Historias de éxito
   ============================================================= */
.team-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-l); margin-bottom: 1.6rem; }
.team-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.team-cap { font-size: .84rem; color: var(--ink-mute); text-align: center; }

/* =============================================================
   14. Productos
   ============================================================= */
/* Pestañas de categoría */
.cat-tabs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem;
  margin-bottom: 1.4rem;
}
.cat-tab {
  position: relative; text-align: left; min-width: 0;
  padding: .95rem 1rem; border-radius: var(--r);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: .6rem; row-gap: .1rem;
  transition: transform .45s var(--ease-out), background-color .3s var(--ease-out),
              border-color .3s var(--ease-out), box-shadow .45s var(--ease-out);
}
.cat-tab .e { font-size: 1.4rem; line-height: 1; grid-row: span 2; }
.cat-tab b {
  font-family: var(--display); font-weight: 700; color: var(--ink);
  font-size: .92rem; letter-spacing: -.02em; line-height: 1.15;
  min-width: 0; overflow-wrap: anywhere;
}
.cat-tab i {
  font-style: normal; font-size: .74rem; font-weight: 600; color: var(--ink-mute);
}
.cat-tab i::after { content: " productos"; }
.cat-tab:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-s); }
.cat-tab.is-on {
  background: var(--ink); border-color: var(--ink);
  box-shadow: var(--shadow-m);
}
.cat-tab.is-on b { color: #fff; }
.cat-tab.is-on i { color: rgba(255, 255, 255, .62); }

/* Barra de búsqueda + contador */
.shop-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .7rem 1rem; margin-bottom: 1.3rem;
}
.search {
  display: flex; align-items: center; gap: .55rem; flex: 1 1 240px; max-width: 420px;
  padding: .62rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .75); border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.search:focus-within { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(242,101,34,.13); }
.search span { font-size: .95rem; opacity: .55; }
.search input {
  flex: 1; min-width: 0; font: inherit; font-size: .92rem; color: var(--ink);
  background: none; border: 0; outline: none;
}
.search input::-webkit-search-cancel-button { cursor: pointer; }
.shop-count {
  font-family: var(--display); font-weight: 600; font-size: .82rem; color: var(--ink-mute);
}
.shop-more { display: flex; justify-content: center; margin-top: 1.8rem; }
.shop-more .btn { min-width: 260px; }
.shop-more.is-done { display: none; }

.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.prod {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r); background: rgba(255,255,255,.72);
  border: 1px solid var(--line-2);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .3s;
}
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: rgba(242,101,34,.25); }
.prod.is-hidden { display: none; }
.prod-img { position: relative; background: #fff; padding: .5rem; }
.prod-img img { width: 100%; aspect-ratio: 1/1; object-fit: contain; mix-blend-mode: multiply; }
.prod-off {
  position: absolute; top: .55rem; left: .55rem; z-index: 2;
  background: var(--accent); color: #fff; font-family: var(--display); font-weight: 800;
  font-size: .68rem; letter-spacing: .04em; padding: .22rem .5rem; border-radius: 7px;
}
.prod-body { padding: .85rem .9rem 1rem; display: flex; flex-direction: column; flex: 1; gap: .3rem; }
.prod-line { font-size: .66rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--accent-2); }
.prod-name { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: .88rem; line-height: 1.22; letter-spacing: -.01em; }
.prod-desc { font-size: .78rem; line-height: 1.45; color: var(--ink-mute); display: none; }
.prod-foot { margin-top: auto; padding-top: .6rem; display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.prod-price { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1rem; }
.prod-was { font-size: .78rem; color: var(--ink-mute); text-decoration: line-through; }
.prod-cta {
  margin-top: .65rem; display: flex; align-items: center; justify-content: center; gap: .35rem;
  font-family: var(--display); font-weight: 700; font-size: .78rem;
  padding: .5rem .7rem; border-radius: 999px;
  background: var(--accent-s); color: var(--accent-d);
  border: 1px solid rgba(242,101,34,.2);
  transition: background-color .3s, color .3s;
}
.prod-cta:hover { background: var(--accent); color: #fff; }
.prod-note { margin-top: 1.4rem; font-size: .8rem; color: var(--ink-mute); }
.prod-empty { padding: 2rem 0; color: var(--ink-mute); font-size: .9rem; }

/* =============================================================
   15. Eventos
   ============================================================= */
.ev-grid { display: grid; gap: .8rem; }
.ev {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.25rem; border-radius: var(--r-lg);
  background: rgba(255,255,255,.62); border: 1px solid var(--line-2);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.ev:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.ev .e { font-size: 1.6rem; line-height: 1; }
.ev h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.ev p { font-size: .88rem; }

/* =============================================================
   16. Blog
   ============================================================= */
.blog-grid { display: grid; gap: .9rem; }
.post {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.5rem 1.35rem; border-radius: var(--r-lg);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.post .tag { font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--accent-d); }
.post h3 { font-size: 1.12rem; }
.post p { font-size: .9rem; }
.post .more { margin-top: auto; padding-top: .8rem; font-family: var(--display); font-weight: 700; font-size: .85rem; color: var(--accent-d); display: inline-flex; gap: .35rem; transition: gap .35s var(--ease-out); }
.post:hover .more { gap: .65rem; }

/* =============================================================
   17. Contacto
   ============================================================= */
.contact-grid { display: grid; gap: 1.4rem; align-items: start; }
.form { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r-xl); }
.field { margin-bottom: .9rem; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-family: var(--display); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .93rem; color: var(--ink);
  padding: .8rem .95rem; border-radius: 14px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(242,101,34,.13);
}
.form-note { font-size: .78rem; color: var(--ink-mute); margin-top: .8rem; text-align: center; }
.form.is-sent .form-inner { display: none; }
.form-done { display: none; text-align: center; padding: 1rem 0; }
.form.is-sent .form-done { display: block; }
.form-done .check { width: 58px; height: 58px; margin: 0 auto 1rem; }
.form-done .check circle, .form-done .check path { fill: none; stroke: #1FAF54; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form.is-sent .check circle { stroke-dasharray: 170; stroke-dashoffset: 170; animation: draw .7s var(--ease-out) forwards; }
.form.is-sent .check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .45s var(--ease-out) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-done h3 { margin-bottom: .5rem; }

.contact-list { display: grid; gap: .6rem; }
.cline {
  display: flex; align-items: center; gap: .85rem;
  padding: .95rem 1.1rem; border-radius: var(--r);
  background: rgba(255,255,255,.62); border: 1px solid var(--line-2);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.cline:hover { transform: translateX(6px); background: #fff; }
.cline .ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; background: var(--accent-s); }
.cline b { display: block; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: .93rem; }
.cline span { display: block; font-size: .8rem; color: var(--ink-mute); }

/* =============================================================
   18. Footer + WhatsApp flotante
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-block: 2.6rem 3.2rem; margin-top: 2rem; }
.footer-in { display: grid; gap: 1.4rem; }
.footer-brand p { font-size: .87rem; max-width: 42ch; margin-top: .7rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .87rem; }
.footer-nav a:hover { color: var(--accent-d); }
.footer-legal { font-size: .76rem; color: var(--ink-mute); border-top: 1px solid var(--line-2); padding-top: 1.2rem; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }

.wa-float {
  position: fixed; right: clamp(.9rem, 3vw, 1.6rem); bottom: clamp(.9rem, 3vw, 1.6rem); z-index: 70;
  width: 56px; height: 56px; border-radius: 50%;
  background: #1FAF54; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(31,175,84,.85);
  transition: transform .45s var(--ease-bounce);
}
.wa-float:hover { transform: scale(1.09); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* =============================================================
   19. Reveal
   ============================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================
   20. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .prod-desc { display: block; }
}

@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .join-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-tabs { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .ev-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .team-photo img { aspect-ratio: 16/9; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-drawer { display: none; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .story-grid { grid-template-columns: .95fr 1.05fr; }
  .video-grid { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.15fr .85fr; }
  .ev-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .join-cards { grid-template-columns: repeat(4, 1fr); }
  .cat-tabs { grid-template-columns: repeat(7, 1fr); }
}

/* =============================================================
   21. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .mesh { animation: none; }
  .hero-photo, .hero-badge { animation: none; }
  .btn-hero::after { animation: none; opacity: 0; }
}

/* =============================================================
   22. Página del blog
   ============================================================= */
.article-hero { padding-block: clamp(3rem, 6vw, 5rem) 1rem; }
.article-hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); max-width: 20ch; }
.article-hero .lead { margin-top: 1.1rem; max-width: 56ch; }
.article {
  max-width: 68ch; margin-inline: auto;
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid var(--line);
}
.article h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .9rem; }
.article h3 { margin: 1.8rem 0 .5rem; }
.article p { margin-bottom: 1rem; font-size: 1.01rem; }
.article ul.bullets { margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.article ul.bullets li { position: relative; padding-left: 1.5rem; font-size: .98rem; }
.article ul.bullets li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.article .meta { font-size: .8rem; color: var(--ink-mute); margin-bottom: 1.2rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.article .cta-inline {
  margin-top: 1.6rem; padding: 1.3rem 1.4rem; border-radius: var(--r-lg);
  background: var(--accent-s); border: 1px solid rgba(242,101,34,.2);
}
.article .cta-inline p { margin-bottom: .9rem; font-size: .95rem; }
.toc { display: grid; gap: .4rem; margin-top: 1.6rem; }
.toc a { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: .95rem; display: flex; gap: .6rem; }
.toc a:hover { color: var(--accent-d); }
.toc a span { color: var(--accent); }
