/* ============================================================
   COLMENA — Sistema de Diseño Global
   Tipografías: Fraunces + Cabinet Grotesk + DM Sans
   ============================================================ */

/* ── VARIABLES ── */
:root {
  /* Base */
  --black:     #060606;
  --white:     #FFFFFF;
  --off:       #F8F8F6;
  --g1:        #EFEFED;
  --g2:        #D0D0CE;
  --g3:        #909090;
  --g4:        #505050;

  /* Accent palette */
  --tangerine: #FF5F1F;
  --tan-dark:  #CC4400;
  --sky:       #0EA5E9;
  --sky-dark:  #0284C7;
  --lime:      #84CC16;
  --violet:    #7C3AED;
  --rose:      #F43F5E;
  --amber:     #F59E0B;
  --teal:      #14B8A6;
  --green:     #16A34A;

  /* Semantic */
  --accent:    var(--tangerine);
  --accent-h:  var(--tan-dark);

  /* Nav */
  --nav-h: 54px;

  /* Radius */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill:100px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--off);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

/* ── CURSOR ── */
#cur {
  width: 8px; height: 8px;
  background: var(--black); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, background .25s, border-radius .25s;
}
#cur.big { width: 40px; height: 40px; background: rgba(0,0,0,.07); }
#ring {
  width: 28px; height: 28px;
  border: 1.5px solid rgba(0,0,0,.2); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all .07s linear;
}

/* ── TYPOGRAPHY ── */
.t-display {
  font-family: 'Fraunces', serif;
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.05;
}
.t-display-i {
  font-family: 'Fraunces', serif;
  font-weight: 300; font-style: italic; letter-spacing: -0.02em;
}
.t-head {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800; letter-spacing: -0.01em;
}
.t-label {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.t-body { font-family: 'DM Sans', sans-serif; font-weight: 300; }
.t-mono {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700; letter-spacing: -0.01em;
}

/* ── NAV ── */
.colmena-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(248,248,246,.92);
  backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid var(--g1);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo-mark {
  width: 30px; height: 30px;
  background: var(--black);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  transition: background .3s;
  flex-shrink: 0;
}
.nav-logo:hover .nav-logo-mark { background: var(--tangerine); }
.nav-logo-txt {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 15px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--black);
}
.nav-logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px; font-weight: 400; letter-spacing: .15em;
  text-transform: uppercase; color: var(--g3);
  display: block; margin-top: 1px;
}
.nav-pills {
  display: flex; gap: 4px;
  background: var(--g1); border-radius: var(--r-pill); padding: 3px;
}
.nav-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 400; color: var(--g3);
  background: none; border: none;
  padding: 6px 16px; border-radius: var(--r-pill);
  cursor: none; text-decoration: none; display: block;
  transition: all .2s;
}
.nav-pill:hover, .nav-pill.active {
  background: var(--white); color: var(--black);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 12px; font-weight: 700;
  color: var(--white); background: var(--black);
  border: none; padding: 9px 22px; border-radius: var(--r-pill);
  cursor: none; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: background .25s, transform .2s;
}
.nav-cta:hover { background: var(--tangerine); transform: scale(1.02); }
.nav-cart-count {
  background: var(--tangerine); color: white;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: none; background: none; border: none; padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--black);
  display: block; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mob-menu {
  display: none; position: fixed; inset: 0; top: var(--nav-h); z-index: 199;
  background: rgba(248,248,246,.97); backdrop-filter: blur(20px);
  flex-direction: column; padding: 32px 24px; gap: 0;
  border-top: 1px solid var(--g1);
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--black);
  text-decoration: none; padding: 16px 0;
  border-bottom: 1px solid var(--g1); transition: color .2s;
}
.mob-menu a:hover { color: var(--tangerine); }
.mob-menu .mob-cta {
  background: var(--black); color: white !important;
  text-align: center; padding: 16px !important;
  border-radius: var(--r-lg); border-bottom: none !important;
  margin-top: 12px;
}

/* ── PAGE WRAPPER ── */
.page-wrap {
  margin-top: var(--nav-h);
  max-width: 1400px; margin-left: auto; margin-right: auto;
  padding: 0 40px;
}
.page-wrap-full { margin-top: var(--nav-h); }

/* ── SECTION HEADER ── */
.sec-hdr {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 36px;
  padding-bottom: 16px; border-bottom: 1px solid var(--g1);
}
.sec-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px,3.5vw,44px);
  font-weight: 700; letter-spacing: -0.02em; color: var(--black);
}
.sec-title em { font-style: italic; font-weight: 300; color: var(--g3); }
.sec-link {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 12px; font-weight: 700;
  color: var(--black); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  padding: 9px 20px; border: 1.5px solid var(--black); border-radius: var(--r-pill);
  transition: all .2s; cursor: none; white-space: nowrap;
}
.sec-link:hover { background: var(--black); color: var(--white); }
.sec-link::after { content: '→'; }

/* ── BUTTONS ── */
.btn {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  border: none; cursor: none; display: inline-flex; align-items: center;
  gap: 8px; text-decoration: none; transition: all .25s;
  white-space: nowrap;
}
.btn::after { content: '→'; font-size: 14px; }
.btn-solid {
  color: var(--white); background: var(--black);
  padding: 14px 28px; border-radius: var(--r-pill);
}
.btn-solid:hover { background: var(--tangerine); transform: scale(1.02); }
.btn-white {
  color: var(--black); background: var(--white);
  padding: 14px 28px; border-radius: var(--r-pill);
}
.btn-white:hover { background: var(--tangerine); color: var(--white); transform: scale(1.02); }
.btn-outline {
  color: var(--black); background: transparent;
  border: 1.5px solid var(--black);
  padding: 13px 28px; border-radius: var(--r-pill);
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-ghost {
  color: var(--g4); background: transparent;
  padding: 13px 0;
}
.btn-ghost::after { content: '↗'; }
.btn-ghost:hover { color: var(--black); }
.btn-sm { font-size: 11px; padding: 8px 18px; }
.btn-tan { background: var(--tangerine); color: var(--white); padding: 14px 28px; border-radius: var(--r-pill); }
.btn-tan:hover { background: var(--tan-dark); transform: scale(1.02); }
.btn-sky { background: var(--sky); color: var(--white); padding: 14px 28px; border-radius: var(--r-pill); }
.btn-sky:hover { background: var(--sky-dark); transform: scale(1.02); }

/* ── FORM ELEMENTS ── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--g3);
}
.field label .req { color: var(--tangerine); }
.field input, .field select, .field textarea {
  padding: 12px 16px;
  background: var(--white); border: 1.5px solid var(--g2);
  color: var(--black); font-size: 14px; font-weight: 300;
  outline: none; transition: border .2s; width: 100%;
  border-radius: var(--r-md);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--tangerine);
}
.field textarea { resize: vertical; min-height: 80px; }
.field input::placeholder, .field textarea::placeholder { color: var(--g2); }

/* ── BADGES ── */
.badge {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 9px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: var(--r-pill); display: inline-block;
}
.badge-tan { background: var(--tangerine); color: white; }
.badge-sky { background: var(--sky); color: white; }
.badge-violet { background: var(--violet); color: white; }
.badge-green { background: var(--green); color: white; }
.badge-gray { background: var(--g1); color: var(--g4); }
.badge-black { background: var(--black); color: white; }

/* ── VARIANT CHIPS ── */
.var-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.vc {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: .05em;
  padding: 4px 10px; border-radius: var(--r-pill);
  border: 1.5px solid; background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px); cursor: none; transition: all .15s;
}
.vc.sat { border-color: var(--green); color: #15803D; }
.vc.ind { border-color: var(--violet); color: #6D28D9; }
.vc.hyb { border-color: var(--amber); color: #B45309; }
.vc.oth { border-color: var(--g2); color: var(--g4); }
.vc.sat.on { background: var(--green); color: white; border-color: var(--green); }
.vc.ind.on { background: var(--violet); color: white; border-color: var(--violet); }
.vc.hyb.on { background: var(--amber); color: white; border-color: var(--amber); }
.vc.oth.on { background: var(--g4); color: white; border-color: var(--g4); }

/* ── PRODUCT CARD ── */
.prod-card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; cursor: none;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94), box-shadow .4s;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,.1); }
.prod-card.unavailable { opacity: .35; }
.prod-img {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.prod-img img {
  width: 55%; height: 55%; object-fit: contain;
  transition: transform .5s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.1) translateY(-8px); }
.prod-img-ph {
  font-size: 64px; opacity: .18;
  transition: transform .4s ease; user-select: none; position: relative; z-index: 1;
}
.prod-card:hover .prod-img-ph { transform: scale(1.1) translateY(-8px); }
.prod-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.prod-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--g3); margin-bottom: 4px;
}
.prod-name {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--black); line-height: 1.15; margin-bottom: 2px;
  text-decoration: none; display: block;
}
.prod-name:hover { color: var(--tangerine); }
.prod-flavor { font-size: 12px; color: var(--g3); font-style: italic; margin-bottom: 14px; }
.prod-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: auto;
}
.prod-price {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 17px; font-weight: 800; color: var(--black); line-height: 1;
}
.prod-price-sub {
  display: block; font-size: 10px; font-weight: 400;
  color: var(--g3); margin-top: 2px;
}

/* ── ALERT ── */
.alert {
  padding: 12px 16px; border-radius: var(--r-md);
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  margin-bottom: 20px;
}
.alert-err { background: rgba(244,63,94,.08); border: 1px solid rgba(244,63,94,.25); color: #BE123C; }
.alert-ok  { background: rgba(22,163,74,.08);  border: 1px solid rgba(22,163,74,.25);  color: #15803D; }
.alert-inf { background: rgba(14,165,233,.08); border: 1px solid rgba(14,165,233,.25); color: #0369A1; }

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden; background: var(--black);
  border-top: 1px solid rgba(255,255,255,.05); padding: 14px 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 24s linear infinite;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.m-item {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.2);
  padding: 0 28px; white-space: nowrap;
  display: flex; align-items: center; gap: 28px;
}
.m-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--tangerine); opacity: .6; }

/* ── STEP LIST ── */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.step:last-child { border-bottom: none; }
.step-n {
  font-family: 'Fraunces', serif;
  font-size: 13px; font-weight: 300; font-style: italic;
  color: var(--tangerine); min-width: 22px;
}
.step-body strong {
  display: block;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 3px;
}
.step-body span { font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.5; }

/* ── FOOTER ── */
.colmena-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 24px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.f-logo {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px; font-weight: 800;
  color: rgba(255,255,255,.4); letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
}
.f-logo-mark {
  width: 20px; height: 20px; background: rgba(255,255,255,.15);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
}
.f-links { display: flex; gap: 24px; }
.f-links a {
  font-size: 11px; color: rgba(255,255,255,.25);
  text-decoration: none; cursor: none; transition: color .2s;
}
.f-links a:hover { color: rgba(255,255,255,.6); }
.colmena-footer p { font-size: 11px; color: rgba(255,255,255,.2); }

/* ── WA FLOAT ── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 300; }
.wa-float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35); cursor: none;
  transition: transform .3s;
}
.wa-float-btn:hover { transform: scale(1.1); }
.wa-float-btn svg { width: 26px; height: 26px; fill: white; }

/* ── MODAL ── */
.modal {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.6); align-items: center; justify-content: center;
  padding: 24px; backdrop-filter: blur(24px) saturate(180%);
}
.modal.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--r-xl);
  max-width: 480px; width: 100%; overflow: hidden;
  animation: popIn .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn { from{opacity:0;transform:scale(.88) translateY(20px)} to{opacity:1;transform:scale(1) translateY(0)} }
.modal-close {
  font-size: 18px; color: var(--g3); cursor: none;
  background: none; border: none; line-height: 1;
}
.modal-close:hover { color: var(--black); }

/* ── AGE GATE ── */
.age-gate {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(6,6,6,.95); align-items: center; justify-content: center;
  padding: 24px; backdrop-filter: blur(20px);
}
.age-gate.show { display: flex; }
.age-box {
  background: var(--white); border-radius: var(--r-xl);
  padding: 48px; max-width: 400px; width: 100%; text-align: center;
}
.age-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 28px;
}
.age-logo-mark {
  width: 32px; height: 32px; background: var(--black);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
}
.age-logo-txt {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 18px; font-weight: 800; color: var(--black);
}
.age-title {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 700; color: var(--black); margin-bottom: 8px;
}
.age-desc { font-size: 13px; color: var(--g3); margin-bottom: 28px; line-height: 1.6; }
.age-btn-yes {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--white); background: var(--black);
  border: none; padding: 14px 28px; border-radius: var(--r-pill);
  cursor: none; width: 100%; transition: background .2s; margin-bottom: 10px;
}
.age-btn-yes:hover { background: var(--tangerine); }
.age-btn-no {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 12px; font-weight: 400;
  color: var(--g3); background: transparent;
  border: 1.5px solid var(--g2); padding: 14px 28px; border-radius: var(--r-pill);
  cursor: none; width: 100%;
}
.age-note { font-size: 11px; color: var(--g3); margin-top: 16px; line-height: 1.5; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes blink  { 0%,100%{opacity:1}50%{opacity:.15} }
@keyframes pulseDot { 0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.4);opacity:.7} }

/* ── RESPONSIVE ── */
@media(max-width:960px){
  body { cursor: auto; }
  #cur, #ring { display: none; }
  .colmena-nav { padding: 0 20px; }
  .nav-pills { display: none; }
  .hamburger { display: flex; }
  .page-wrap { padding: 0 20px; }
  .colmena-footer { padding: 20px; flex-direction: column; text-align: center; }
  .f-links { justify-content: center; }
}
