:root{
  --paper:#FAFAF7;
  --white:#FFFFFF;
  --ink:#1B1A18;
  --red:#CE2B37;
  --red-dark:#A81F29;
  --red-tint:#F8DEDF;
  --green:#009246;
  --green-dark:#00693A;
  --green-tint:#DCEEE2;
  --line:#E7E2D9;
  --muted:#6E6A62;
  --radius:2px;
  --maxw:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:.001ms !important; transition-duration:.001ms !important;}
}

/* ---------- Italia ribbon ---------- */
.italia-ribbon{ height:4px; width:100%; display:flex; }
.italia-ribbon span{ flex:1; display:block; }
.italia-ribbon .r1{ background:var(--green); }
.italia-ribbon .r2{ background:var(--paper); }
.italia-ribbon .r3{ background:var(--red); }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter', system-ui, sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,.heading{
  font-family:'Inter Tight', system-ui, sans-serif;
  font-weight:600;
  line-height:1.12;
  margin:0;
  letter-spacing:-0.015em;
}

a{color:inherit;}
button{font-family:inherit;}
img{max-width:100%;display:block;}

:focus-visible{ outline:1.5px solid var(--red); outline-offset:3px; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }
.muted{ color:var(--muted); }

/* ---------- Header ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(20,19,17,0.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.logo{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:var(--white);
}
.logo-mark{ width:24px; height:24px; flex:none; }
.logo-img{ height:42px; width:auto; display:block; }
.logo-text{ font-family:'Inter Tight',sans-serif; font-weight:600; font-size:1.15rem; }
.logo-sub{ display:block; font-size:0.68rem; color:rgba(255,255,255,0.6); font-weight:400; margin-top:1px; }

.nav-links{ display:flex; gap:28px; list-style:none; margin:0; padding:0; }
.nav-links a{ text-decoration:none; font-size:0.9rem; color:rgba(255,255,255,0.85); }
.nav-links a:hover{ color:var(--red); }
.nav-right{ display:flex; align-items:center; gap:14px; }

.cart-toggle{
  position:relative; background:none; border:1px solid rgba(255,255,255,0.3);
  border-radius:var(--radius); width:42px; height:42px;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  color:var(--white);
}
.cart-toggle svg{ width:18px; height:18px; }
.cart-badge{
  position:absolute; top:-7px; right:-7px; background:var(--red); color:var(--white);
  font-size:0.66rem; font-weight:600; min-width:18px; height:18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; padding:0 3px;
}
.cart-badge.hidden{ display:none; }
.cart-badge.bump{ animation:badge-bump .32s ease; }
@keyframes badge-bump{
  0%{ transform:scale(1); }
  40%{ transform:scale(1.45); }
  100%{ transform:scale(1); }
}

.btn{
  font-size:0.86rem; font-weight:500; padding:11px 20px;
  border-radius:var(--radius); border:1px solid var(--ink);
  background:transparent; color:var(--ink); cursor:pointer;
  text-decoration:none; display:inline-block;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{ background:var(--ink); color:var(--white); }
.btn-red{ background:var(--red); border-color:var(--red); color:var(--white); }
.btn-red:hover{ background:var(--red-dark); border-color:var(--red-dark); }
header .btn:not(.btn-red){ border-color:rgba(255,255,255,0.5); color:var(--white); }
header .btn:not(.btn-red):hover{ background:var(--white); color:var(--ink); }

.burger{
  display:none; background:none; border:none; cursor:pointer;
  width:38px; height:38px; flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.burger span{ width:20px; height:1px; background:var(--white); display:block; }

.mobile-menu{
  display:none; position:fixed; inset:0; z-index:65;
  background:var(--paper); padding:100px 32px 40px;
}
.mobile-menu.open{ display:block; }
.mobile-menu ul{ list-style:none; padding:0; margin:0; display:grid; gap:24px; }
.mobile-menu a{ text-decoration:none; font-family:'Inter Tight',sans-serif; font-size:1.5rem; color:var(--ink); }

/* ---------- Hero ---------- */
.hero{ padding:80px 0 64px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:center; }
.hero-inner{ max-width:640px; }
.eyebrow{
  font-size:0.82rem; color:var(--red); margin-bottom:18px;
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:''; width:24px; height:1px; background:var(--red); display:inline-block; }
.hero h1{ font-size:clamp(2.3rem, 4.6vw, 3.5rem); }
.hero p.lead{ margin-top:20px; font-size:1.08rem; color:var(--muted); max-width:56ch; }
.hero-ctas{ margin-top:32px; display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Hero visual: coffee bag opening + steam on scroll ---------- */
.hero-visual{ position:relative; max-width:320px; margin:0 auto; }
.bag-video{
  width:100%; display:block; border-radius:var(--radius);
  box-shadow:0 20px 40px rgba(27,26,24,0.16);
}
.bag-wrap{ position:relative; width:100%; aspect-ratio:659/1023; perspective:700px; }

.bag-body-img{
  position:absolute; left:0; bottom:0; width:100%; display:block;
  filter:drop-shadow(0 20px 30px rgba(18,17,16,0.14));
}
.bag-flap-img{
  position:absolute; left:0; top:0; width:100%; display:block;
  transform-origin:bottom center;
  transform:rotateX(0deg) translateY(0);
  transition:transform .06s linear;
  will-change:transform;
  filter:drop-shadow(0 6px 12px rgba(18,17,16,0.18));
}

.steam-overlay{
  position:absolute; left:0; width:100%; bottom:100%;
  height:110px; display:flex; justify-content:center;
  pointer-events:none; opacity:0; transition:opacity .2s ease;
}
.steam-svg{ width:70%; height:100%; overflow:visible; }
.wisp{
  fill:none; stroke:var(--muted); stroke-width:2.4; stroke-linecap:round;
  opacity:0.75; transform-box:fill-box; transform-origin:center;
}
.hero-visual.steaming .wisp1{ animation:drift1 4.5s ease-in-out infinite; }
.hero-visual.steaming .wisp2{ animation:drift2 5.2s ease-in-out infinite .3s; }
.hero-visual.steaming .wisp3{ animation:drift3 4.8s ease-in-out infinite .6s; }

@keyframes drift1{
  0%,100%{ transform:translate(0,0) scale(1); opacity:0.7; }
  50%{ transform:translate(-4px,-10px) scale(1.03); opacity:0.95; }
}
@keyframes drift2{
  0%,100%{ transform:translate(0,0) scale(1); opacity:0.6; }
  50%{ transform:translate(5px,-12px) scale(1.04); opacity:0.9; }
}
@keyframes drift3{
  0%,100%{ transform:translate(0,0) scale(1); opacity:0.65; }
  50%{ transform:translate(-3px,-9px) scale(1.02); opacity:0.92; }
}

@media (prefers-reduced-motion: reduce){
  .bag-flap-img{ transform:rotateX(-55deg) translateY(-8px); transition:none; }
  .steam-overlay{ opacity:0.85; }
  .hero-visual.steaming .wisp1, .hero-visual.steaming .wisp2, .hero-visual.steaming .wisp3{ animation:none; }
}

.trust-bar{
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:22px 0;
}
.trust-bar .wrap{ display:flex; gap:0; flex-wrap:wrap; }
.trust-item{
  flex:1; min-width:200px; padding:0 24px; font-size:0.88rem; color:var(--muted);
  border-left:1px solid var(--line);
}
.trust-item:first-child{ border-left:none; padding-left:0; }
.trust-item strong{ color:var(--ink); font-weight:500; }

/* ---------- Section shell ---------- */
section{ padding:88px 0; border-bottom:1px solid var(--line); }
.section-head{ margin-bottom:44px; max-width:640px; }
.section-head .eyebrow{ margin-bottom:14px; }
.section-head h2{ font-size:clamp(1.8rem, 3vw, 2.3rem); }
.section-head p{ color:var(--muted); margin-top:12px; font-size:0.98rem; }

/* ---------- Catalog ---------- */
.cat-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:36px; }
.cat-tab{
  padding:9px 18px; border-radius:999px; border:1px solid var(--line);
  background:transparent; cursor:pointer; font-size:0.86rem; color:var(--muted);
}
.cat-tab.active{ background:var(--green); border-color:var(--green); color:var(--white); }
.cat-panel{ display:none; }
.cat-panel.active{ display:block; }
.catalog-empty{ color:var(--muted); font-size:0.95rem; padding:24px 0; }
.catalog-group + .catalog-group{ margin-top:48px; }
.catalog-group-title{ font-family:'Inter Tight',sans-serif; font-weight:600; font-size:1.15rem; margin-bottom:18px; }

.product-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:1px;
  background:var(--line); border:1px solid var(--line);
}
.product-card{
  position:relative; background:var(--white); padding:26px; display:flex; flex-direction:column; gap:14px;
}
.product-icon{ width:34px; height:34px; color:var(--red); }
.product-name{ font-family:'Inter Tight',sans-serif; font-weight:600; font-size:1.05rem; }
.product-desc{ color:var(--muted); font-size:0.88rem; flex:1; }
.product-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:4px; }

.quote-badge{
  position:absolute; top:14px; right:14px; z-index:1;
  background:#25D366; color:var(--white); font-size:0.68rem; font-weight:600;
  padding:4px 9px; border-radius:999px; letter-spacing:0.01em;
}
.add-to-cart-hint{ font-size:0.82rem; color:var(--muted); }
.add-btn{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--ink);
  background:transparent; color:var(--ink); font-size:1.1rem; line-height:1; cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
.add-btn:hover{ background:var(--red); border-color:var(--red); color:var(--white); }
.add-btn.added{ background:var(--green); border-color:var(--green); color:var(--white); }

/* ---------- Plans (maintenance / rental) ---------- */
.plan-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.plan-card{ background:var(--white); padding:30px; display:flex; flex-direction:column; gap:14px; }
.plan-card.featured{ background:var(--green); color:var(--white); }
.plan-card.featured .muted{ color:#C7D3CB; }
.plan-name{ font-family:'Inter Tight',sans-serif; font-weight:600; font-size:1.1rem; }
.plan-price{ font-size:1.6rem; font-family:'Inter Tight',sans-serif; font-weight:600; }
.plan-price small{ font-size:0.8rem; font-weight:400; }
.plan-list{ list-style:none; padding:0; margin:6px 0 0; display:grid; gap:9px; font-size:0.88rem; }
.plan-list li{ padding-left:16px; position:relative; }
.plan-list li::before{ content:'—'; position:absolute; left:0; color:var(--red); }
.plan-card.featured .plan-list li::before{ color:var(--red); }

/* ---------- About ---------- */
.about{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; }
.about-copy p{ color:var(--muted); margin-top:16px; }
.about-copy p:first-child{ margin-top:0; }
.stat-row{ display:flex; gap:0; margin-top:36px; border-top:1px solid var(--line); }
.stat{ flex:1; padding:20px 20px 0 0; border-right:1px solid var(--line); }
.stat:last-child{ border-right:none; }
.stat b{ display:block; font-family:'Inter Tight',sans-serif; font-size:1.6rem; font-weight:600; }
.stat span{ font-size:0.82rem; color:var(--muted); }

.about-intro{ display:flex; flex-direction:column; }
.sobre-photo-img{
  width:100%; flex:1; min-height:260px; object-fit:cover; object-position:center;
  margin-top:24px; border-radius:var(--radius); border:1px solid var(--line); display:block;
}

/* ---------- Gallery slider (Sobre) ---------- */
.gallery{ position:relative; max-width:760px; margin:0 auto; }
.gallery-viewport{
  position:relative; aspect-ratio:16/10; border-radius:var(--radius);
  overflow:hidden; background:var(--white); border:1px solid var(--line);
}
.gallery-slide{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .4s ease; pointer-events:none;
}
.gallery-slide.active{ opacity:1; pointer-events:auto; }
.gallery-slide img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery-slide video{ width:100%; height:100%; object-fit:contain; display:block; background:var(--ink); }
.gallery-placeholder{ display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--muted); }
.gallery-placeholder svg{ width:40px; height:40px; }
.gallery-caption{
  position:absolute; left:0; right:0; bottom:0; padding:14px 18px;
  background:linear-gradient(transparent, rgba(20,19,17,0.65));
  color:var(--white); font-size:0.88rem;
}
.gallery-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:38px; height:38px; border-radius:50%; border:none;
  background:rgba(255,255,255,0.92); cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:1.1rem;
  box-shadow:0 4px 12px rgba(27,26,24,0.15);
}
.gallery-prev{ left:12px; }
.gallery-next{ right:12px; }
.gallery-dots{ display:flex; justify-content:center; gap:8px; margin-top:16px; }
.gallery-dot{ width:8px; height:8px; border-radius:50%; background:var(--line); border:none; cursor:pointer; padding:0; }
.gallery-dot.active{ background:var(--red); }

/* ---------- FAQ ---------- */
.faq-list{ max-width:760px; margin:0 auto; display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
.faq-item{ background:var(--white); }
.faq-item summary{
  list-style:none; cursor:pointer; padding:20px 44px 20px 22px; position:relative;
  font-family:'Inter Tight',sans-serif; font-weight:600; font-size:1rem;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:'+'; position:absolute; right:22px; top:50%; transform:translateY(-50%);
  width:24px; height:24px; display:flex; align-items:center; justify-content:center;
  color:var(--red); font-size:1.3rem; font-weight:400; transition:transform .2s ease;
}
.faq-item[open] summary::after{ transform:translateY(-50%) rotate(45deg); }
.faq-item summary:hover{ color:var(--red); }
.faq-item p{ margin:0 0 22px; padding:0 22px; color:var(--muted); font-size:0.92rem; max-width:64ch; }
.faq-item p a{ color:var(--red); }

/* ---------- Contact ---------- */
.contact{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:64px; }
.contact-channels{ display:grid; gap:22px; }
.channel{ display:flex; gap:14px; align-items:flex-start; }
.channel svg{ width:18px; height:18px; flex:none; margin-top:3px; color:var(--red); }
.channel h3{ font-size:0.8rem; color:var(--muted); font-weight:500; }
.channel p{ margin:3px 0 0; font-size:1rem; }
.phone-line + .phone-line{ margin-top:10px; }
.phone-label{ display:block; font-size:0.76rem; color:var(--muted); font-weight:500; }

/* ---------- Map + reviews ---------- */
.map-review-grid{ display:grid; grid-template-columns:1.3fr 0.9fr; gap:24px; align-items:stretch; }
.map-embed{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); min-height:320px; }
.map-embed iframe{ width:100%; height:100%; min-height:320px; border:0; display:block; }
.review-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; display:flex; flex-direction:column; align-items:flex-start; gap:12px; justify-content:center;
}
.review-card svg{ width:32px; height:32px; color:var(--red); }
.review-card h3{ font-family:'Inter Tight',sans-serif; font-size:1.15rem; margin:0; }
.review-card p{ color:var(--muted); font-size:0.9rem; margin:0; }
@media (max-width:900px){ .map-review-grid{ grid-template-columns:1fr; } }

form{ display:grid; gap:20px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
label{ display:block; font-size:0.8rem; color:var(--muted); margin-bottom:7px; }
input, textarea, select{
  width:100%; padding:11px 13px; background:var(--white);
  border:1px solid var(--line); border-radius:var(--radius);
  font-family:inherit; font-size:0.95rem; color:var(--ink);
}
input:focus, textarea:focus, select:focus{ border-color:var(--red); }
textarea{ resize:vertical; min-height:80px; }
.form-note{ font-size:0.82rem; color:var(--muted); }

/* ---------- Security / privacy trust note ---------- */
.security-note{
  display:flex; align-items:flex-start; gap:10px;
  background:var(--green-tint); border:1px solid var(--line);
  border-radius:var(--radius); padding:12px 14px; margin:4px 0 18px;
}
.security-note svg{ width:20px; height:20px; flex:none; color:var(--green); margin-top:1px; }
.security-note p{ margin:0; font-size:0.82rem; color:var(--ink); line-height:1.5; }
.security-note strong{ color:var(--green-dark); }

.footer-security{
  display:flex; align-items:center; gap:6px;
  font-size:0.78rem; color:var(--muted);
}
.footer-security svg{ width:14px; height:14px; flex:none; color:var(--green); }

/* honeypot — hidden from people, visible to naive form-filling bots */
.hp-field{ position:absolute; left:-9999px; top:-9999px; height:0; width:0; overflow:hidden; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float{
  position:fixed; right:20px; bottom:20px; z-index:70;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,0.28);
  transition:transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float svg{ width:30px; height:30px; }
.whatsapp-float:hover{ transform:scale(1.07); box-shadow:0 8px 22px rgba(0,0,0,0.34); }
.whatsapp-float::before{
  content:''; position:absolute; inset:0; border-radius:50%;
  box-shadow:0 0 0 0 rgba(37,211,102,0.55);
  animation:wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,0.55); }
  70%{ box-shadow:0 0 0 16px rgba(37,211,102,0); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- CTA emphasis ---------- */
.cta-pulse{ animation:cta-glow 2.6s ease-in-out infinite; }
@keyframes cta-glow{
  0%, 100%{ box-shadow:0 0 0 0 rgba(166,66,61,0.45); }
  50%{ box-shadow:0 0 0 9px rgba(166,66,61,0); }
}

/* ---------- Footer ---------- */
footer{ padding:40px 0; color:var(--muted); font-size:0.85rem; }
footer .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
footer a{ text-decoration:none; }
footer a:hover{ color:var(--red); }
.foot-links{ display:flex; gap:20px; list-style:none; padding:0; margin:0; }
.foot-legal{ display:flex; flex-direction:column; gap:2px; }
.foot-legal-info{ font-size:0.75rem; color:var(--muted); }

/* ---------- Cart drawer ---------- */
.overlay{ position:fixed; inset:0; background:rgba(27,26,24,0.45); opacity:0; pointer-events:none; transition:opacity .2s ease; z-index:60; }
.overlay.open{ opacity:1; pointer-events:auto; }
.drawer{
  position:fixed; top:0; right:0; bottom:0; width:min(430px,92vw);
  background:var(--white); z-index:70; transform:translateX(100%);
  transition:transform .25s ease; display:flex; flex-direction:column;
}
.drawer.open{ transform:translateX(0); }
.drawer-head{ display:flex; justify-content:space-between; align-items:center; padding:24px 26px; border-bottom:1px solid var(--line); }
.drawer-head h3{ font-family:'Inter Tight',sans-serif; font-size:1.1rem; }
.drawer-close{ background:none; border:none; cursor:pointer; font-size:1.5rem; line-height:1; }
.drawer-body{ flex:1; overflow-y:auto; padding:20px 26px; }
.cart-empty{ color:var(--muted); font-size:0.94rem; padding-top:16px; }
.cart-line{ display:grid; grid-template-columns:1fr auto; gap:12px; padding:16px 0; border-bottom:1px solid var(--line); }
.cart-line-name{ font-weight:600; font-size:0.96rem; }
.cart-line-cat{ font-size:0.8rem; color:var(--muted); margin-top:3px; }
.qty-control{ display:flex; align-items:center; gap:10px; margin-top:8px; }
.qty-control button{ width:24px; height:24px; border:1px solid var(--line); background:transparent; border-radius:50%; cursor:pointer; }
.remove-link{ font-size:0.76rem; color:var(--muted); text-decoration:underline; background:none; border:none; cursor:pointer; padding:0; }
.drawer-foot{ padding:20px 26px 26px; border-top:1px solid var(--line); }
.checkout-btn{ width:100%; padding:14px; }

/* ---------- Lead modal ---------- */
.modal-panel{
  position:fixed; inset:0; z-index:85; display:none;
  align-items:center; justify-content:center; background:rgba(27,26,24,0.5); padding:20px;
}
.modal-panel.open{ display:flex; }
.modal-card{
  background:var(--white); max-width:460px; width:100%;
  padding:36px; border-radius:var(--radius); max-height:90vh; overflow-y:auto;
}
.modal-card h3{ font-size:1.3rem; }
.modal-card p.muted{ margin-top:8px; font-size:0.92rem; }
.modal-card form{ margin-top:24px; }
.modal-close{ float:right; background:none; border:none; font-size:1.4rem; cursor:pointer; line-height:1; }

.confirm-card{ text-align:center; }
.confirm-card svg{ width:36px; height:36px; color:var(--green); margin:0 auto 16px; }
.confirm-order-no{ font-family:'Inter Tight',sans-serif; font-weight:600; font-size:1.5rem; margin:16px 0; color:var(--red); }

.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(10px);
  background:var(--ink); color:var(--white); padding:13px 22px; border-radius:var(--radius);
  font-size:0.88rem; z-index:90; opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease;
  max-width:90vw; text-align:center;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ---------- Affiliate page specific ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.step-card{ background:var(--white); padding:30px; }
.step-num{ font-family:'Inter Tight',sans-serif; font-weight:600; font-size:1.6rem; color:var(--red); }
.step-card:nth-child(2) .step-num{ color:var(--green); }
.step-card h3{ font-size:1.05rem; margin-top:12px; }
.step-card p{ color:var(--muted); font-size:0.9rem; margin-top:8px; }

.commission-box{
  background:var(--red-tint); border:1px solid var(--line);
  padding:32px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
}
.commission-box b{ font-family:'Inter Tight',sans-serif; font-size:1.8rem; display:block; }

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .65s ease, transform .65s ease;
}
.reveal.revealed{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- Card hover lift ---------- */
.product-card, .plan-card, .step-card{
  transition:transform .2s ease, box-shadow .2s ease;
}
.product-card:hover, .product-card:focus-within,
.plan-card:hover, .plan-card:focus-within,
.step-card:hover, .step-card:focus-within{
  transform:translateY(-5px);
  box-shadow:0 16px 32px rgba(27,26,24,0.10);
  z-index:1;
  position:relative;
}
.product-icon{ transition:transform .2s ease, color .2s ease; }
.product-card:hover .product-icon{ transform:scale(1.1); color:var(--red-dark); }

/* ---------- Insumos highlight marquee ---------- */
.insumos-highlight{
  padding:52px 0 60px;
  border-bottom:1px solid var(--line);
}
.insumos-highlight .section-head{ margin-bottom:32px; }
.marquee{
  position:relative;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track{
  display:flex;
  gap:16px;
  width:max-content;
  animation:marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state:paused; }
@keyframes marquee-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
.marquee-card{
  flex:0 0 220px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:0 0 16px;
  display:flex;
  flex-direction:column;
  gap:8px;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.marquee-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(27,26,24,0.10);
}
.marquee-card-media{
  width:100%; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;
  background:var(--white); border-bottom:1px solid var(--line); flex-shrink:0; min-height:0;
}
.marquee-card-media img{ width:100%; height:100%; object-fit:contain; object-position:center; display:block; }
.marquee-card-media .product-icon{ width:32px; height:32px; }
.marquee-card-name{ font-family:'Inter Tight',sans-serif; font-weight:600; font-size:0.92rem; padding:0 16px; }
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation:none; }
}
@media (max-width:560px){
  .marquee-card{ flex-basis:170px; }
}
@media (max-width:900px){
  .nav-links{ display:none; }
  .burger{ display:flex; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:220px; margin:0 auto 8px; }
  .about, .contact{ grid-template-columns:1fr; gap:40px; }
  .product-grid, .plan-grid, .steps{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .trust-item{ border-left:none; border-top:1px solid var(--line); padding:16px 0 0; }
  .trust-item:first-child{ border-top:none; padding-top:0; }
  .stat-row{ flex-wrap:wrap; }
  .stat{ flex:1 1 45%; border-right:none; padding-right:0; margin-bottom:16px; }
}
@media (max-width:560px){
  .wrap{ padding:0 20px; }
  .commission-box{ flex-direction:column; align-items:flex-start; }
}


/* ---------- Active nav link ---------- */
.nav-links a.active{ color:var(--red); }
.mobile-menu a.active{ color:var(--red); }
.foot-links a.active{ color:var(--red); font-weight:600; }

/* ---------- Explore cards (homepage) ---------- */
.explore-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:8px; }
.explore-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 22px; text-decoration:none; color:var(--ink); display:block;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.explore-card:hover{ transform:translateY(-4px); box-shadow:0 14px 28px rgba(27,26,24,0.10); border-color:var(--red); }
.explore-card h3{ margin:14px 0 6px; font-family:'Inter Tight',sans-serif; font-size:1.05rem; }
.explore-card p{ margin:0; font-size:0.88rem; color:var(--muted); }
.explore-icon{ display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; border-radius:50%; background:var(--red-tint); color:var(--red); }
.explore-icon svg{ width:20px; height:20px; }
@media (max-width:900px){ .explore-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .explore-grid{ grid-template-columns:1fr; } }

/* ---------- Product image gallery (lightbox) ---------- */
.product-card{ cursor:pointer; }
.product-media{
  width:100%; aspect-ratio:1/1; background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; margin-bottom:14px; display:flex; align-items:center; justify-content:center;
}
.product-media img{ width:100%; height:100%; object-fit:contain; object-position:center; display:block; }
.lightbox{
  position:fixed; inset:0; z-index:90; background:rgba(20,19,17,0.82);
  display:none; align-items:center; justify-content:center; padding:24px;
}
.lightbox.open{ display:flex; }
.lightbox-inner{ position:relative; max-width:560px; width:100%; }
.lightbox-frame{
  background:var(--white); border-radius:var(--radius); overflow:hidden;
  aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;
}
.lightbox-frame img{ width:100%; height:100%; object-fit:contain; object-position:center; display:block; }
.lightbox-caption{ color:var(--white); text-align:center; margin-top:14px; font-size:0.9rem; }
.lightbox-close{
  position:absolute; top:-44px; right:0; background:none; border:none; color:var(--white);
  font-size:1.8rem; line-height:1; cursor:pointer;
}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.9);
  border:none; width:38px; height:38px; border-radius:50%; cursor:pointer; font-size:1.1rem;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-prev{ left:-19px; }
.lightbox-next{ right:-19px; }
@media (max-width:640px){
  .lightbox-prev{ left:6px; } .lightbox-next{ right:6px; }
}
.product-media .product-icon{ width:64px; height:64px; color:var(--muted); }
.lightbox-placeholder{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; color:var(--muted); width:100%; height:100%; padding:20px; text-align:center;
}
.lightbox-placeholder svg{ width:48px; height:48px; }
