.slider {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 12px;
}

.slider--full {
  margin-top: -1px;
  margin-bottom: 24px;
}

.slider__track {
  position: relative;
  height: clamp(220px, 38vw, 420px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #0b0f14;
}

.slider--full .slider__track {
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.slider__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.transferencia {
  margin-top: 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.transferencia p {
  margin: 6px 0;
}
.transferencia[hidden] {
  display: none;
}
.slider__slide.is-active {
  opacity: 1;
}

.slider__overlay {
  position: absolute;
  inset: 0;
  padding: 24px 0;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.slider__overlay .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(20px, 6vw, 120px);
  padding-right: 24px;
}

.slider__cta-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  flex-direction: column;
  text-align: left;
  max-width: min(520px, 50vw);
  margin-left: 0;
}

.slider__title {
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.slider__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.slider__cta p {
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.nav__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav__links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.nav__links a:hover {
  color: var(--text);
}

.hero__price {
  margin: 24px 0;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.price__note {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: center;
  margin-top: 24px;
}

.hero__card {
  background: var(--card);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero__image-button {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
}

.hero__features {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  list-style: none;
  color: var(--muted);
}

.section__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.cards {
  display: grid;
  gap: 16px;
}

.vision-gallery {
  margin-top: 28px;
}

.vision-gallery h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.vision-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.vision-gallery__item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #0b0f14;
}

.vision-gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.vision-gallery__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .vision-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 6px;
}

.specs {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.specs ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.specs__link {
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(100, 116, 139, 0.6);
  text-underline-offset: 3px;
}

.specs__link:hover {
  color: var(--text);
  text-decoration-color: currentColor;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.65);
  padding: 24px;
  z-index: 1000;
}

.modal-overlay--gallery {
  background: rgba(0, 0, 0, 0.85);
  padding: 0;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  width: min(640px, 92vw);
  max-height: min(80vh, 760px);
  background: #ffffff;
  color: #111827;
  border-radius: 20px;
  padding: 18px;
  position: relative;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  overflow-y: auto;
}

.modal--gallery {
  width: 100%;
  max-height: none;
  background: transparent;
  color: inherit;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible;
}

.modal--gallery .modal__section {
  margin: 0;
  padding: 0;
}

.modal--gallery .modal__img {
  display: block;
  margin: 40px auto;
  width: auto;
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  background: #fff;
  object-fit: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
 .gallery-arrow--left {
   left: 16px;
 }
 .gallery-arrow--right {
   right: 16px;
 }
 .gallery-arrow:hover {
   background: #111;
   color: #ffd700;
 }

.modal h3 {
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  margin-top: 6px;
}

.modal__section {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  text-align: center;
}

.modal__gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: stretch;
}

.modal__section h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.modal__section p {
  color: #4b5563;
  max-width: 520px;
  margin: 0 auto;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: #111827;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
}

.modal__img {
  margin-top: 12px;
  width: 100%;
  border-radius: 14px;
}

.modal__img--small {
  max-width: 260px;
  justify-self: center;
}

.modal__img--compact {
  max-width: 360px;
  max-height: 260px;
  width: 100%;
  height: auto;
  justify-self: center;
}

.modal__img--equal {
  max-width: none;
  width: 100%;
  height: 160px;
  object-fit: cover;
  justify-self: stretch;
}

.page-light .nav__links a {
  color: #6b7280;
}

.page-light .nav__links a:hover {
  color: #111827;
}

.page-light .hero__features,
.page-light .section p,
.page-light .price__note {
  color: #6b7280;
}

.page-light .slider__track {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.page-light .slider--full .slider__track {
  border-left: none;
  border-right: none;
}

.page-light .hero__card,
.page-light .card,
.page-light .specs {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

@media (max-width: 720px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .slider__track {
    height: clamp(220px, 70vw, 360px);
  }

  .slider__overlay .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .slider__cta-inner {
    max-width: 100%;
  }

  .slider__title {
    line-height: 1.15;
  }

  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__image {
    max-height: 220px;
  }
}

@media (max-width: 600px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__card {
    padding: 18px;
  }

  .hero__features {
    font-size: 0.95rem;
  }
}