/* ===========================
   VR-MX — GLOBAL STYLES
   =========================== */

:root {
  --dark:    #42433F;
  --black:   #000000;
  --orange:  #FC4000;
  --orange2: #E23C03;
  --steel:   #A3B6C5;
  --white:   #FFFFFF;
  --gray-50: #F7F7F6;
  --gray-100:#EDEDEC;
  --gray-200:#D9D9D7;
  --gray-400:#9A9A95;
  --gray-600:#66666A;

  --font: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,.12);

  --transition: .25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

img, svg { display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
   =========================== */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header.light .section-title,
.section-header.light .section-desc { color: var(--white); }
.section-header.light .section-desc { color: rgba(255,255,255,.7); }

.accent { color: var(--orange); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange2);
  border-color: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(252,64,0,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ===========================
   NAV
   =========================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-200);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo-vr { color: var(--white); }
.logo-mx { color: var(--orange); }

#header.scrolled .logo-vr { color: var(--black); }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.12); }

#header.scrolled .nav-links a { color: var(--dark); }
#header.scrolled .nav-links a:hover { color: var(--black); background: var(--gray-50); }

.nav-cta {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--orange2); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#header.scrolled .hamburger span { background: var(--dark); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--black) 0%, #1a1a18 40%, #2d2d2a 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(252,64,0,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(163,182,197,.08) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-sub strong { color: var(--white); font-weight: 600; }

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.5); opacity: .4; }
}

/* ===========================
   NOSOTROS
   =========================== */
.nosotros { background: var(--white); }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.nosotros-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nosotros-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.nosotros-card:hover::before { transform: scaleX(1); }
.nosotros-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(252,64,0,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--orange);
}
.card-icon svg { width: 28px; height: 28px; }

.nosotros-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
}

.card-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.nosotros-card p {
  color: var(--gray-600);
  margin-bottom: 24px;
  font-size: 15px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-list li {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  padding-left: 20px;
  position: relative;
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Misión & Visión */
.mv-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.mv-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mv-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(252,64,0,.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mv-icon svg { width: 18px; height: 18px; }

.mv-block strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.mv-block p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Valores */
.valores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.valor-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.valor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 5px;
}

.valor-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 3px;
}

.valor-item p {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Categorías de productos Zube */
.zube-cats-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 24px;
  margin-bottom: 12px;
}
.zube-cats-header svg { width: 16px; height: 16px; color: var(--orange); }

.zube-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zube-cat {
  padding: 6px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  cursor: default;
}
.zube-cat:hover {
  background: rgba(252,64,0,.08);
  border-color: var(--orange);
  color: var(--orange);
}

/* Contacto directo Zube */
.zube-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.zube-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 6px 12px;
  background: var(--gray-50);
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-decoration: none;
}
.zube-contact-item:hover { color: var(--orange); border-color: var(--orange); background: rgba(252,64,0,.05); }
.zube-contact-item svg { width: 13px; height: 13px; flex-shrink: 0; }


/* ===========================
   DIVISIONES
   =========================== */
.divisiones { background: var(--dark); }
.divisiones .section-tag { color: var(--steel); }
.divisiones .section-title { color: var(--white); }
.divisiones .section-desc { color: rgba(255,255,255,.6); }

.divisiones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.division-item {
  background: rgba(255,255,255,.04);
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.division-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: var(--transition);
}
.division-item:hover::after { transform: scaleX(1); }
.division-item:hover { background: rgba(255,255,255,.07); }

.division-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 16px;
}

.division-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.division-item p {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

/* ===========================
   PRODUCTOS
   =========================== */
.productos { background: var(--white); }

.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  background: transparent;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}
.tab:hover { border-color: var(--orange); color: var(--orange); }
.tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.producto-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}
.producto-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.producto-card[style="display:none"] { display: none !important; }

.producto-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.producto-info { padding: 24px; }

.producto-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.zube-tag { background: rgba(252,64,0,.1); color: var(--orange); }
.tarimas-tag { background: rgba(163,182,197,.2); color: #5a7a8e; }

.producto-info h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.producto-info p {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.6;
}

.producto-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.producto-link:hover { gap: 8px; }

/* ===========================
   POR QUÉ ELEGIRNOS
   =========================== */
.porque { background: var(--gray-50); }

.porque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.porque-text .section-tag { margin-bottom: 12px; }
.porque-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
}
.porque-text > p {
  color: var(--gray-600);
  font-size: 16px;
  margin-bottom: 36px;
}

.ventajas-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ventajas-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ventaja-icon {
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ventajas-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.ventajas-list p { font-size: 14px; color: var(--gray-600); }

.porque-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.visual-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: var(--transition);
}
.visual-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.visual-card .vc-num {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.visual-card span:last-child {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
}

.vc1, .vc3 { background: var(--dark); border-color: transparent; }
.vc1 .vc-num, .vc3 .vc-num { color: var(--orange); }
.vc1 span:last-child, .vc3 span:last-child { color: rgba(255,255,255,.6); }

/* ===========================
   CONTACTO
   =========================== */
.contacto { background: var(--white); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(252,64,0,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }

.form-note {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
}

.contacto-info {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(252,64,0,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.info-icon svg { width: 20px; height: 20px; }
.info-block strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.info-block p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}

.horario {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 20px;
}
.horario strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.horario p { font-size: 13px; color: rgba(255,255,255,.6); }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--black);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; display: inline-block; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h6 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .nosotros-grid { grid-template-columns: 1fr; }
  .divisiones-grid { grid-template-columns: repeat(2, 1fr); }
  .productos-grid { grid-template-columns: repeat(2, 1fr); }
  .porque-grid { grid-template-columns: 1fr; gap: 48px; }
  .contacto-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links, .nav-cta { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.97);
    padding: 24px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
  }
  .nav-links.open a {
    color: rgba(255,255,255,.8);
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 16px;
  }

  .hamburger { display: flex; }

  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }

  .divisiones-grid { grid-template-columns: 1fr; }
  .productos-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .nosotros-card { padding: 32px 24px; }
  .contacto-info { padding: 28px 20px; }
  .porque-visual { grid-template-columns: 1fr; }
}

/* ===========================
   SLIDESHOW
   =========================== */
.slideshow-section {
  background: var(--black);
  padding: 72px 0 0;
}

.slideshow-header {
  text-align: center;
  padding: 0 24px 48px;
}
.slideshow-header .section-tag { color: var(--steel); }
.slideshow-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.slideshow-header p {
  font-size: 16px;
  color: rgba(255,255,255,.55);
}

.slideshow {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/7;
  max-height: 600px;
  background: #111;
}

.slides-track {
  display: flex;
  height: 100%;
  transition: transform .7s cubic-bezier(.77,0,.175,1);
  will-change: transform;
}

.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 8s ease;
}

.slide.active img { transform: scale(1.05); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.55) 50%,
    rgba(0,0,0,.15) 100%
  );
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 0;
  width: 55%;
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .6s ease .3s, transform .6s ease .3s;
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateX(0);
}

.slide-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  width: fit-content;
}
.zube-badge   { background: var(--orange); color: var(--white); }
.tarimas-badge { background: var(--steel);  color: var(--black); }

.slide-content h3 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}

.slide-content p {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  max-width: 420px;
  line-height: 1.6;
}

/* Slide controls */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}
.slide-btn:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-50%) scale(1.1); }
.slide-btn svg { width: 20px; height: 20px; }
.slide-prev { left: 20px; }
.slide-next { right: 20px; }

/* Dots */
.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}
.dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}

/* Progress bar */
.slide-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.1);
  z-index: 10;
}
.slide-progress-fill {
  height: 100%;
  background: var(--orange);
  width: 0%;
  transition: width linear;
}

/* Counter */
.slide-counter {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: .06em;
  z-index: 10;
}
#slideCurrentNum { color: var(--orange); font-size: 18px; }

/* Product card images */
.producto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.producto-card:hover .producto-img img { transform: scale(1.06); }

.producto-img-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.zube-badge-sm    { background: var(--orange); color: var(--white); }
.tarimas-badge-sm { background: rgba(0,0,0,.6); color: var(--steel); border: 1px solid var(--steel); }

/* Responsive slideshow */
@media (max-width: 768px) {
  .slideshow { aspect-ratio: 4/3; max-height: 420px; }

  .slide-content {
    width: 100%;
    padding: 24px;
    justify-content: flex-end;
    padding-bottom: 56px;
  }

  .slide-overlay {
    background: linear-gradient(
      to top,
      rgba(0,0,0,.9) 0%,
      rgba(0,0,0,.4) 60%,
      rgba(0,0,0,.1) 100%
    );
  }

  .slide-content h3 { font-size: 20px; }
  .slide-content p  { display: none; }
  .slide-btn { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  .slideshow { aspect-ratio: 1/1; max-height: 360px; }
}

/* ===========================
   ANIMATIONS
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }
