/* ===========================
   ROOT & RESET
   =========================== */
:root {
  --gn:  #2E9E50;
  --gnd: #1E6E36;
  --gnl: #4ADE80;
  --bg:  #060E0A;
  --dk:  #0A1A0C;
  --wh:  #ffffff;
  --gy:  rgba(255,255,255,.6);
  --rad: 14px;
  --fh:  'Playfair Display', Georgia, serif;
  --fb:  'DM Sans', sans-serif;
  --ease: cubic-bezier(.23,1,.32,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--wh);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }

/* ===========================
   NAVBAR
   Logo centrado siempre visible + links izq + acciones der.
   =========================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 80px; padding: 0 5%;
  display: flex; align-items: center; gap: 24px;
  transition: background .5s ease, height .5s ease, box-shadow .5s ease, backdrop-filter .5s ease;
}
#nav.scrolled {
  background: rgba(10,22,16,.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 64px;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

/* Nav logo: centered, always visible */
.nav-logo-center {
  position: absolute;
  left: 50%; top: 78%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 4;
  pointer-events: auto;
}
.nav-logo-center img {
  height: 85px;
  object-fit: contain;
  transition: height .4s ease;
}
#nav.scrolled .nav-logo-center {
  top: 50%;
}
#nav.scrolled .nav-logo-center img {
  height: 70px;
}

/* Inner pages: smaller logo */
.page-inner .nav-logo-center {
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.page-inner .nav-logo-center img { height: 65px; }
.page-inner #nav.scrolled .nav-logo-center {
  top: 50%;
}
.page-inner #nav.scrolled .nav-logo-center img {
  height: 65px;
}

/* Left nav links */
.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none;
  position: relative; z-index: 3;
}
.nav-links a {
  color: rgba(26,31,38,.8);
  font-family: var(--fb); font-size: 14px; font-weight: 500;
  text-decoration: none; padding: 8px 13px; border-radius: 8px;
  transition: color .2s, background .2s;
}
#nav.scrolled .nav-links a {
  color: rgba(255,255,255,.72);
}
body.page-inner .nav-links a {
  color: rgba(255,255,255,.72);
}
.nav-links a:hover { color: var(--gn); }
#nav.scrolled .nav-links a:hover { color: var(--wh); background: rgba(255,255,255,.07); }
@media (hover: hover) { body.page-inner .nav-links a:hover { color: var(--wh); background: rgba(255,255,255,.07); } }

/* Right actions */
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; position: relative; z-index: 3; }
.nav-cta {
  display: inline-block;
  background: var(--gn); color: var(--wh);
  font-family: var(--fb); font-size: 14px; font-weight: 600;
  padding: 10px 22px; border-radius: 100px;
  text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
@media (hover: hover) { .nav-cta:hover { background: var(--gnd); } }

@media (max-width: 768px) {
  .nav-actions .nav-cta { display: none; }
}

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  position: relative; z-index: 3;
}
.nav-burger span { width: 24px; height: 2px; background: rgba(255,255,255,.7); border-radius: 2px; transition: all .3s; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile drawer */
.nav-mobile {
  display: none; position: fixed; top: 76px; left: 12px; right: 12px;
  background: rgba(10,22,16,.92); backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(46,158,80,.12); z-index: 1001;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
/* Mobile nav on hero (light overlay) */
body:not(.page-inner) #nav:not(.scrolled) + .nav-mobile {
  background: rgba(6,14,10,.28); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
}
body:not(.page-inner) #nav:not(.scrolled) + .nav-mobile a {
  color: rgba(255,255,255,.75);
}
body:not(.page-inner) #nav:not(.scrolled) + .nav-mobile li {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
body:not(.page-inner) #nav:not(.scrolled) + .nav-mobile .nav-cta {
  background: var(--gn); color: #fff;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; padding: 14px 5% 22px; }
.nav-mobile li { border-bottom: 1px solid rgba(255,255,255,.05); }
.nav-mobile a { display: block; padding: 14px 0; color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; }
.nav-mobile .nav-cta { display: block !important; margin-top: 14px; text-align: center; padding: 13px; border-radius: 100px; }

/* Product / legal pages: nav always compact, dark */
body.page-inner #nav {
  background: rgba(6,14,10,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 64px;
  box-shadow: 0 1px 0 rgba(46,158,80,.12);
}
body.page-inner .nav-logo img { height: 30px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-logo img { height: 30px; max-width: 140px; }
  body.page-inner .nav-logo-center img { height: 70px; }
  body.page-inner #nav.scrolled .nav-logo-center img { height: 65px; }
}
@media (max-width: 480px) {
  #nav { padding: 0 4%; }
  body.page-inner .nav-logo-center img { height: 70px; }
  body.page-inner #nav.scrolled .nav-logo-center img { height: 65px; }
}

/* ===========================
   HERO (index.html)
   =========================== */
#hero {
  position: relative; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: #060E0A;
}
/* Dark vignette — depth at edges */
#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(6,14,10,.25) 75%, rgba(6,14,10,.55) 100%);
  pointer-events: none;
}
/* Subtle dark tint — ensures text readability over video */
#hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: rgba(6,14,10,.18);
  pointer-events: none;
}
.hero-video-wrap {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero-content {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 55%;
  z-index: 2;
  padding: 0 5%; max-width: 640px; width: 100%;
  animation: heroFadeIn 1.4s cubic-bezier(.23,1,.32,1) both;
  will-change: opacity, transform;
  transition: opacity .3s ease, transform .3s ease;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(24px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.hero-h1 {
  font-family: var(--fh);
  font-size: clamp(48px,8vw,100px);
  font-weight: 300; color: #4D94E0;
  line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 12px;
  text-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.hero-h1 em {
  font-style: italic; font-weight: 700; color: #3EAF64;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.hero-sub {
  font-size: clamp(15px,1.7vw,18px);
  color: #1a1a1a; font-weight: 800;
  margin-bottom: 0; line-height: 1.3; letter-spacing: .2px;
}
.hero-scroll {
  position: absolute; bottom: 62px; left: 50%; z-index: 5;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.9);
  font-size: 10px; letter-spacing: 4px; font-weight: 700;
  animation: heroFadeIn 1.4s .3s cubic-bezier(.23,1,.32,1) both;
  text-shadow: 0 0 12px rgba(255,255,255,.3);
}
.hero-scroll svg {
  animation: heroScrollBounce 2.2s ease-in-out infinite;
}
@keyframes heroScrollBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
/* ===========================
   SCROLL CANVAS (index.html)
   =========================== */
#scrollCanvas {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: block;
  background: #060E0A;
  z-index: 1;
  will-change: transform;
}

/* ===========================
   SCROLL PHASES (index.html)
   =========================== */
.sphase {
  opacity: 0; pointer-events: none;
  transition: opacity .65s ease;
  will-change: opacity;
}
.sphase.on { opacity: 1; pointer-events: auto; }

.phase-sup {
  font-family: var(--fb); font-size: clamp(10px,1.1vw,12px);
  font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gnl); margin-bottom: 20px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease .1s, transform .55s ease .1s;
}
.phase-title {
  font-family: var(--fh);
  font-size: clamp(48px,8.5vw,112px);
  font-weight: 300; line-height: 1.03; letter-spacing: -2px;
  color: var(--wh);
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s ease .2s, transform .65s ease .2s;
}
.phase-title em { font-style: italic; color: var(--gnl); font-weight: 700; }
.phase-title small { display: block; font-size: 50%; font-weight: 300; color: #fff; margin-top: 4px; }
.phase-desc {
  margin-top: 24px;
  font-size: clamp(13px,1.5vw,16px); color: rgba(255,255,255,.45);
  letter-spacing: .5px; line-height: 1.6;
  opacity: 0; transform: translateY(10px);
  transition: opacity .55s ease .35s, transform .55s ease .35s;
}
.phase-cta-wrap {
  margin-top: 36px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .55s ease .4s, transform .55s ease .4s;
}
.btn-phase-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gn); color: var(--wh);
  padding: 16px 40px; border-radius: 100px;
  font-size: 16px; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .2s;

}
@media (hover: hover) { .btn-phase-cta:hover { background: var(--gnd); transform: translateY(-2px); } }

.sphase.on .phase-sup,
.sphase.on .phase-title,
.sphase.on .phase-desc,
.sphase.on .phase-cta-wrap { opacity: 1; transform: translateY(0); }

/* ===========================
   TICKER
   =========================== */
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===========================
   PRODUCT STORY SCROLL
   =========================== */
.story-wrap {
  position: sticky; top: 64px;
  height: calc(100vh - 64px); overflow: hidden;
  display: grid; grid-template-columns: 55% 45%;
}
.story-img-side { position: relative; background: #060E0A; overflow: visible; }
.story-slide-img {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  width: 100%; height: auto;
  overflow: visible;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .65s ease;
  will-change: opacity;
  padding: 28px;
}
.story-slide-img.on { opacity: 1; }
.story-slide-img img {
  width: 100%; height: auto;
  object-fit: contain;
  max-height: 520px;
  border-radius: 20px;
  background: transparent;
  display: block;
}
@media (max-width: 768px) {
  .story-slide-img img { max-height: 320px; }
}
.story-text-side { position: relative; background: #060E0A; overflow: hidden; }
.story-slide-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 10% 0 8%;
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
  will-change: opacity, transform;
}
.story-slide-text.on { opacity: 1; transform: translateY(0); }
.story-sup {
  font-family: var(--fb); font-size: 11px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gnl); margin-bottom: 18px;
}
.story-title {
  font-family: var(--fh);
  font-size: clamp(32px,3.5vw,52px);
  font-weight: 300; line-height: 1.1; letter-spacing: -1px;
  color: var(--wh); margin-bottom: 20px;
}
.story-title em { font-style: italic; color: var(--gnl); font-weight: 700; }
.story-desc { font-size: 16px; color: rgba(255,255,255,.5); line-height: 1.75; font-weight: 300; }
.story-progress {
  position: absolute; bottom: 28px; left: 10%;
  display: flex; gap: 8px; align-items: center;
}
.story-progress-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  transition: background .4s, width .4s, border-radius .4s;
}
.story-progress-dot.on { background: var(--gnl); width: 24px; border-radius: 4px; }

/* Scroll hint — tells users to keep scrolling */
.story-scroll-hint {
  position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 5;
  pointer-events: none;
  transition: opacity .5s ease;
}
.story-scroll-hint span {
  font-family: var(--fb); font-size: 10px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.story-scroll-hint svg {
  animation: storyBounce 2s ease-in-out infinite;
}
@keyframes storyBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .story-wrap { grid-template-columns: 1fr; grid-template-rows: 45vh 1fr; height: auto; position: relative; top: auto; }
  .story-img-side { height: 45vh; }
  .story-text-side { height: 55vh; overflow: hidden; position: relative; }
  .story-slide-text { padding: 6% 6%; }
  .story-title { font-size: clamp(24px,6vw,34px); }
}

/* ===========================
   REVIEWS CAROUSEL
   =========================== */
.reviews-carousel-wrap { overflow: hidden; position: relative; padding: 10px 0; }
.reviews-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.35); border: none;
  color: rgba(255,255,255,.6); cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1;
  z-index: 10; transition: background .2s, color .2s;
  font-family: serif;
}
.reviews-arrow:hover { background: rgba(0,0,0,.65); color: #fff; }
.reviews-prev { left: 6px; }
.reviews-next { right: 6px; }
.reviews-track {
  display: flex; padding: 6px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
@media (max-width: 768px) {
  .reviews-arrow { display: none; }
  .reviews-carousel-wrap { overflow: hidden; }
}
.review-card {
  flex-shrink: 0; scroll-snap-align: start;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--rad); padding: 28px;
  transition: border-color .3s, transform .3s;
}
.review-card:hover { border-color: rgba(74,222,128,.2); transform: translateY(-3px); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg,var(--gn),var(--gnl));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: var(--wh); flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.review-city { font-size: 12px; color: var(--gy); }
.review-badge {
  font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 100px;
  background: rgba(46,158,80,.1); color: var(--gnl);
  border: 1px solid rgba(46,158,80,.2); white-space: nowrap;
}
.review-stars { display: flex; gap: 3px; margin-bottom: 10px; }
.star { color: #FFD700; font-size: 14px; }
.review-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--gy); line-height: 1.6; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.2); cursor: pointer; transition: background .2s; padding: 0;
}
.carousel-dot.active { background: var(--gnl); }

/* ===========================
   FAQ
   =========================== */
.faq-item { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; cursor: pointer; gap: 16px;
}
.faq-q-text { font-family: var(--fh); font-size: clamp(16px,2vw,20px); font-weight: 600; color: #111; flex: 1; }
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid rgba(46,158,80,.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .3s, border-color .3s;
}
.faq-icon::after { content: '+'; color: var(--gn); font-size: 18px; font-weight: 300; line-height: 1; transition: transform .3s; }
.faq-item.open .faq-icon { background: var(--gn); border-color: var(--gn); }
.faq-item.open .faq-icon::after { color: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer-inner { padding: 0 0 24px; font-size: 15px; color: #444; line-height: 1.7; }

/* ===========================
   UTILITIES
   =========================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   FOOTER (shared base)
   =========================== */
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .cat-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 767px) {
  .cat-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-h1 { letter-spacing: -1px; }
  .hero-tagline-bl { display: none; }
}
@media (max-width: 599px) {
  .form-grid { grid-template-columns: 1fr !important; }
  .phase-title { font-size: clamp(40px,12vw,60px); }
}

/* ===========================
   PRODUCT PAGES (shared)
   =========================== */

/* Image carousel (top of product pages) */
.prod-carousel { position: relative; background: #060E0A; padding: 24px 60px; }
.carousel-track-prod { display: flex; transition: transform .5s ease; border-radius: 20px; overflow: hidden; }
.carousel-track-prod div {
  min-width: 100%;
  width: 100%; height: auto;
  overflow: visible;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
}
.carousel-track-prod img {
  width: 100%; height: auto;
  object-fit: contain;
  max-height: 520px;
  border-radius: 20px;
  background: transparent;
  display: block;
}
@media (max-width: 768px) {
  .carousel-track-prod img { max-height: 320px; }
}
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 44px; height: 44px; border-radius: 50%;
  font-size: 20px; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
@media (hover: hover) { .car-arrow:hover { background: rgba(0,0,0,.75); } }
.car-prev { left: 10px; }
.car-next { right: 10px; }
.carousel-dots-prod {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.carousel-dots-prod button {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .2s, width .2s; padding: 0;
}
.carousel-dots-prod button.active { background: #4ADE80; width: 20px; border-radius: 4px; }

/* Product hero info */
.product-hero { background: linear-gradient(135deg,#060E0A 0%,#0A1A0C 50%,#060E0A 100%); padding: 40px 5% 24px; position: relative; overflow: visible; margin-top: 64px; }
.product-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(6,14,10,.7));
  z-index: 2; pointer-events: none;
}
.product-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 30% 50%,rgba(46,158,80,.12) 0%,transparent 70%); }
.product-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 5; }
.product-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.product-hero-img {
  display: flex; align-items: center; justify-content: center;
}
.product-hero-img img {
  width: 100%; max-height: 460px;
  object-fit: contain;
}
/* Hero carousel */
.hero-carousel {
  position: relative; width: 100%;
  overflow: hidden;
  border-radius: 16px;
}
.hero-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hero-carousel-track::-webkit-scrollbar { display: none; }
.hero-carousel-slide {
  min-width: 100%; scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center;
}
.hero-carousel-slide img {
  width: 100%; max-height: 460px;
  object-fit: contain;
  border-radius: 0;
}
.hero-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 3; transition: background .2s, color .2s;
}
.hero-carousel-arrow:hover { background: rgba(0,0,0,.6); color: #fff; }
.hero-carousel-prev { left: 6px; }
.hero-carousel-next { right: 6px; }
.hero-carousel-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
}
.hero-carousel-dots button {
  width: 6px; height: 6px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.25); cursor: pointer; padding: 0;
  transition: background .3s, width .3s, border-radius .3s;
}
.hero-carousel-dots button.active { background: var(--gnl); width: 18px; border-radius: 3px; }

/* Zoom modal */
.zoom-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.zoom-modal.open { opacity: 1; pointer-events: auto; }
.zoom-backdrop {
  position: absolute; inset: 0;
  background: rgba(3,10,4,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.zoom-close {
  position: absolute; top: 20px; right: 20px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
@media (hover: hover) { .zoom-close:hover { background: rgba(255,255,255,.12); color: #fff; } }
.zoom-stage {
  position: relative; z-index: 2;
  width: 85vw; height: 80vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: zoom-in;
}
.zoom-stage.zoomed { cursor: crosshair; }
.zoom-stage img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: transform .1s ease-out;
  will-change: transform;
  border-radius: 8px;
}
.zoom-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-size: 11px; letter-spacing: 2px; font-weight: 500;
  color: rgba(255,255,255,.25);
  pointer-events: none;
  transition: opacity .4s ease;
}

.product-hero-info {
  display: flex; flex-direction: column;
}
@media (max-width: 768px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-hero-img img { max-height: 300px; }
  .product-hero-info { align-items: center; text-align: center; }
  .product-hero-info .product-hero-actions { justify-content: center; }
  .product-hero-info .product-tags { justify-content: center; }
}
.product-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 24px; }
.product-breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; }
.product-breadcrumb a:hover { color: rgba(255,255,255,.7); }
.product-badge-top {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gnl); background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.25); padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.product-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.product-tag {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; padding: 8px 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px; color: rgba(255,255,255,.85);
}
.product-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Tabs */
.tabs-section { background: var(--dk); padding: 80px 5%; }
.tabs-nav {
  display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 56px; overflow-x: auto; scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 16px 24px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.5); background: none; border: none;
  border-bottom: 2px solid transparent; cursor: pointer;
  white-space: nowrap; transition: color .3s, border-color .3s; margin-bottom: -1px;
}
.tab-btn.active { color: var(--gnl); border-bottom-color: var(--gnl); }
.tab-btn:hover:not(.active) { color: rgba(255,255,255,.8); }
.tab-panel { display: none; animation: fadeInTab .4s ease; }
.tab-panel.active { display: block; }
@keyframes fadeInTab { from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none} }

/* Desc grid */
.desc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.desc-text h2 { font-family: var(--fh); font-size: clamp(28px,3vw,40px); font-weight: 700; margin-bottom: 20px; line-height: 1.1; }
.desc-text p { font-size: 15px; color: var(--gy); line-height: 1.8; margin-bottom: 20px; }
.desc-features { list-style: none; margin-top: 24px; }
.desc-features li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 15px; color: rgba(255,255,255,.85); }
.desc-features li:last-child { border-bottom: none; }
.feat-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(46,158,80,.2); display: flex; align-items: center; justify-content: center; color: var(--gnl); font-size: 12px; flex-shrink: 0; margin-top: 1px; }

/* 3D product image */
.product-img-3d-wrapper { position: relative; perspective: 1000px; padding: 40px; }
.product-img-3d-card {
  position: relative; transform: rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d; border-radius: 20px; overflow: visible;
  transition: transform .6s cubic-bezier(.23,1,.32,1);
}
.product-img-3d-card:hover { transform: rotateY(-2deg) rotateX(1deg) scale(1.02); }
.product-img-3d-card::before {
  content: ''; position: absolute; bottom: -30px; left: 10%; right: 10%;
  height: 40px; background: rgba(46,158,80,.25); filter: blur(20px);
  border-radius: 50%; z-index: -1; transition: all .6s ease;
}
.product-img-3d-card:hover::before { bottom: -20px; opacity: .4; filter: blur(14px); }
.product-img-3d-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(135deg,rgba(255,255,255,.15) 0%,transparent 50%);
  pointer-events: none; z-index: 2;
}
.product-img-3d-card img { width: 100%; height: auto; display: block; border-radius: 20px; object-fit: cover; border: 1px solid rgba(46,158,80,.15); background: transparent; }
.img-badge-float {
  position: absolute; top: -16px; right: -16px;
  background: var(--gn); color: #fff; font-size: 11px; font-weight: 700;
  padding: 6px 14px; border-radius: 50px; letter-spacing: .8px; text-transform: uppercase;
  z-index: 3; box-shadow: 0 4px 14px rgba(46,158,80,.4);
}
@media (max-width: 768px) { .product-img-3d-card { transform: none !important; } }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table thead th { text-align: left; padding: 16px 20px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.08); }
.specs-table tbody tr { border-bottom: 1px solid rgba(255,255,255,.05); }
.specs-table tbody tr:hover { background: rgba(255,255,255,.02); }
.specs-table tbody td { padding: 16px 20px; font-size: 15px; }
.specs-table tbody td:first-child { color: rgba(255,255,255,.5); width: 45%; }
.specs-table tbody td:last-child { color: rgba(255,255,255,.9); font-weight: 500; }

/* Filter stages */
.filter-stages { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 40px; }
.filter-stage { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: var(--rad); padding: 24px 20px; text-align: center; }
.filter-stage-num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,var(--gn),var(--gnl)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; margin: 0 auto 14px; }
.filter-stage-name { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.filter-stage-desc { font-size: 12px; color: var(--gy); line-height: 1.5; }
.filter-note { font-size: 14px; color: var(--gy); line-height: 1.7; }

/* Uses grid */
.uses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.use-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: var(--rad); padding: 28px; transition: border-color .3s, transform .3s; }
.use-card:hover { border-color: rgba(74,222,128,.3); transform: translateY(-4px); }
.use-icon { font-size: 36px; margin-bottom: 16px; }
.use-title { font-family: var(--fh); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.use-text { font-size: 14px; color: var(--gy); line-height: 1.6; }

/* Panel FAQ (product pages) */
.panel-faq-item { border-bottom: 1px solid rgba(255,255,255,.07); }
.panel-faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; cursor: pointer; gap: 16px; }
.panel-faq-q-text { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.9); flex: 1; }
.panel-faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(74,222,128,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.panel-faq-icon::after { content: '+'; color: var(--gnl); font-size: 16px; font-weight: 300; transition: transform .3s; }
.panel-faq-item.open .panel-faq-icon { background: var(--gn); border-color: var(--gn); }
.panel-faq-item.open .panel-faq-icon::after { color: #fff; transform: rotate(45deg); }
.panel-faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.panel-faq-a-inner { padding: 0 0 20px; font-size: 14px; color: var(--gy); line-height: 1.7; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gn); color: #fff; padding: 16px 32px;
  border-radius: 100px; font-size: 16px; font-weight: 600;
  text-decoration: none;
  transition: background .3s, transform .3s;
}
@media (hover: hover) { .btn-primary:hover { background: var(--gnd); transform: translateY(-2px); } }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,.2); color: #fff;
  padding: 14px 28px; border-radius: 100px; font-size: 15px; font-weight: 500;
  text-decoration: none; transition: border-color .3s, background .3s;
}
@media (hover: hover) { .btn-outline:hover { border-color: var(--gnl); background: rgba(74,222,128,.06); } }

/* 3D text reveal */
.reveal-3d { perspective: 700px; perspective-origin: 50% 40%; }
.reveal-3d .sl { overflow: hidden; display: block; line-height: 1.05; }
.reveal-3d .sw {
  display: inline-block; transform: translateY(110%) rotateX(12deg);
  transform-origin: 50% 0%; opacity: 0; filter: blur(4px);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity .8s ease, filter .7s ease;
  transition-delay: calc(var(--i) * 90ms);
}
.reveal-3d.active .sw { transform: translateY(0) rotateX(0); opacity: 1; filter: blur(0); }

/* Product pages responsive */
@media (max-width: 1024px) {
  .desc-grid { grid-template-columns: 1fr; }
  .filter-stages { grid-template-columns: repeat(2,1fr); }
  .uses-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .filter-stages { grid-template-columns: 1fr 1fr; }
  .uses-grid { grid-template-columns: 1fr; }
  .story-wrap { grid-template-columns: 1fr; grid-template-rows: 40vh 1fr; }
  .story-text-side { position: relative; }
  .story-slide-text { padding: 5% 5%; }
  .story-title { font-size: clamp(24px,6vw,34px); }
  .story-progress { left: 5%; }
}

/* ===========================
   MOBILE LOGO OVERRIDES
   =========================== */
@media (max-width: 768px) {
  .nav-logo-center { top: 50% !important; }
  .nav-logo-center img { height: 70px !important; }
  #nav.scrolled .nav-logo-center { top: 50% !important; }
  #nav.scrolled .nav-logo-center img { height: 65px !important; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-logo-center { top: 50% !important; }
  .nav-logo-center img { height: 80px !important; }
  #nav.scrolled .nav-logo-center { top: 50% !important; }
  #nav.scrolled .nav-logo-center img { height: 70px !important; }
}
@media (max-width: 900px) and (orientation: landscape) {
  .nav-logo-center { top: 50% !important; }
  .nav-logo-center img { height: 60px !important; }
  #nav.scrolled .nav-logo-center { top: 50% !important; }
  #nav.scrolled .nav-logo-center img { height: 55px !important; }
}
/* Mobile scroll indicator */
@media (max-width: 768px) {
  .hero-scroll { bottom: 100px !important; }
  .hero-content { top: 60% !important; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-scroll { bottom: 80px !important; }
  .hero-content { top: 56% !important; }
}
@media (max-width: 480px) {
  .hero-scroll { bottom: 90px !important; }
  .hero-content { top: 60% !important; }
}

/* Keep content above nav logo */
#catalogo, #reseñas, .mid-cta, footer { position: relative; z-index: 1010; }
