/* ════════════════════════════════════════════════════════════════
   index.css — ORDENADO Y LIMPIO
   ────────────────────────────────────────────────────────────────
   1.  Variables & Root
   2.  Hero Slider (slider, controles, indicadores, contenido, anuncio)
   3.  Terrenos Disponibles (cards, botones, footer)
   4.  Video Reel
   5.  Servicios
   6.  Calculadora de Financiamiento (inputs, slider, resultados)
   7.  Guía para Compradores
   8.  Modal Compra
   9.  Animaciones
════════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════════
   1. VARIABLES & ROOT
════════════════════════════════════════════════════════════════ */
:root {
  /* COLORES */
  --color-primary: #f99109;
  --color-secondary: #ffb347;
  --color-text: #1a1a1a;
  --color-white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #f99109, #ffb347);

  /* TEXTOS */
  --hero-description-color: #e5e7eb;

  /* OVERLAY */
  --hero-overlay: linear-gradient(135deg,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.6));

  /* CALCULADORA */
  --calc-results-padding: 30px;
}
index.css
/* ════════════════════════════════════════════════════════════════
   2. HERO SLIDER
════════════════════════════════════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
}

.slider-container {
  position: relative;
  width: 100%;
  min-height: 490px;
  height: clamp(490px, 80vh, 850px);
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  color: #fff;

  padding:
    clamp(90px, 10vh, 120px)
    clamp(15px, 4vw, 60px)
    clamp(80px, 10vh, 120px);
}

.hero-text {
  max-width: 650px;
  margin: 0;
  text-align: left;
}

.hero-title {
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6);
}

.hero-description {
  margin: 0 0 2rem 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  max-width: 550px;
  margin-left: 0;
  margin-right: 0;
  color: var(--hero-description-color);
}

.hero-description strong {
  color: var(--color-primary);
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  right: 60px;
  bottom: 35px;

  display: flex;
  gap: 12px;

  z-index: 12;
}

.stat-card {
  width: clamp(130px, 12vw, 160px);
  padding: 14px 10px;

  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);

  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  border-radius: 14px;
  text-align: center;
}

.stat-number {
  display: block;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: var(--text-stat-label);
  color: rgba(255, 255, 255, .85);
}

.hero-buttons .btn {
  flex: 1;
  max-width: 260px;
  min-width: 200px;
}

.btn-secondary i {
  margin-right: 8px;
}

.slider-controls {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(15px, 2vw, 20px);
  pointer-events: none;
}

.slider-btn {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, .25),
      rgba(255, 255, 255, .12));
  border: 2px solid rgba(255, 255, 255, .25);
  color: #fff;
  width: clamp(42px, 5vw, 50px);
  height: clamp(42px, 5vw, 50px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, .15),
    inset 0 1px 0 rgba(255, 255, 255, .25);
  pointer-events: auto;
}

.slider-btn:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, .35),
      rgba(255, 255, 255, .18));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .35);
}

.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 15;
  justify-content: center;
}

.indicator {
  width: 35px;
  height: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.indicator.active {
  background: #f99109;
  width: 55px;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-announcement {
  background: linear-gradient(135deg,
      rgba(249, 145, 9, 0.9),
      rgba(249, 145, 9, 0.7));
  padding: 10px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0px;
  z-index: 25;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

.hero-announcement::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transform: skewX(-25deg);
  animation: shine 5s infinite;
}

.announcement-link {
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease;
}

.announcement-link:hover {
  transform: scale(1.01);
}

.announcement-text {
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.announcement-text strong {
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge {
  background: #f99109;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;

}

.cta {
  background: white;
  color: #f99109;
  padding: 5px 15px;
  border-radius: 50px;
  margin-left: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
}

.announcement-link:hover .cta {
  background: #2d2d2d;
  color: white;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ════════════════════════════════════════════════════════════════
   HERO SLIDER RESPONSIVE
════════════════════════════════════════════════════════════════ */

/* ── VENTANA PARTIDA / TABLET GRANDE (hasta 980px) ── */
@media (max-width: 980px) {

  .slider-container {
    height: auto;
    min-height: unset;
  }

  .hero-content {
    position: relative;
    height: auto;
    min-height: unset;
    padding: clamp(90px, 12vw, 120px) clamp(20px, 5vw, 40px) clamp(50px, 8vw, 80px);
    align-items: flex-start;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

.hero-title {
  margin-bottom: 1rem;
  line-height: 1.1;
}

  .hero-description {
    max-width: 100%;
    margin: 0 auto 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: min(100%, 300px);
    min-width: unset;
    max-width: 300px;
  }

  .hero-stats {
    position: static;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(6px, 2vw, 12px);
  }

  .stat-card {
    width: clamp(90px, 22vw, 140px);
    padding: clamp(10px, 2vw, 14px) clamp(8px, 1.5vw, 12px);
  }

  .slider-btn {
    width: clamp(36px, 5vw, 46px);
    height: clamp(36px, 5vw, 46px);
  }

  .slider-indicators {
    position: relative;
    bottom: auto;
    margin-top: -10px;
    margin-bottom: 14px;
  }

  .hero-announcement .container {
    padding-inline: clamp(10px, 4vw, 20px);
  }

  .cta {
    margin-left: 0;
  }

  .announcement-text {
    gap: 8px;
    line-height: 1.5;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── MÓVIL MUY PEQUEÑO: stat-cards en 2 columnas ── */
@media (max-width: 400px) {
  .stat-card {
    width: calc(50% - 8px);
    max-width: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   3. TERRENOS DISPONIBLES
════════════════════════════════════════════════════════════════ */
#terrenos-disponibles {
  padding: 80px 0;
  background-color: transparent;
}

#terrenos-disponibles h2 {
  margin-bottom: 15px;
  color: #1a1a1a;
}

.terreno-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid #f0f0f0;
  margin-bottom: 30px;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.terreno-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--terreno-card-shadow-hover);
}

.terreno-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  min-width: 400px;
  align-self: stretch;
}

.terreno-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.terreno-info {
  flex: 1 1 auto;
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.terreno-info,
.terreno-info h3,
.terreno-info p,
.terreno-detalles li,
.precio {
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: normal;
}

.terreno-info h3 {
  color: #1a1a1a;
  margin: 0 0 10px 0;
}

.terreno-info p {
  margin: 6px 0;
  color: #f3a530;
  line-height: 1.5;
}

.precio {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 15px 0;
}

.terreno-detalles {
  list-style: none;
  padding: 0;
  margin: 10px 0 15px;
  width: 100%;
  display: block;
  text-align: left;
}

.terreno-detalles li {
  position: relative;
  padding-left: 26px;
  margin: 6px 0;
  color: #666;
}

.terreno-detalles li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #f99109;
  font-weight: bold;
  font-size: 0.9rem;
}

.card-actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.terrenos-footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* — Terrenos: Responsive — */
@media (max-width: 768px) {
  .terreno-card {
    flex-direction: column;
  }

  .terreno-img {
    width: 100%;
    min-width: 100%;
    height: 240px;
    align-self: auto;
  }

  .terreno-info {
    padding: 20px 25px;
  }

  .card-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  #terrenos-disponibles {
    padding: 50px 15px;
  }

  .terreno-card {
    width: calc(100% + 80px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 30px;
  }

  .terreno-img {
    height: 200px;
  }

  .terreno-info h3,
  .terreno-info p,
  .terreno-detalles li,
  .precio {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .card-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
  }

  .btn-comprar,
  .btn-ubicacion {
    white-space: nowrap;
    min-width: 160px;
    justify-content: center;
  }

  .card-actions .btn-comprar,
  .card-actions .btn-ubicacion {
    white-space: nowrap;
  }

  .terrenos-footer {
    flex-direction: column;
    align-items: center;
  }

  .btn-ver-todos {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ════════════════════════════════════════════════════════════════
   4. VIDEO REEL
════════════════════════════════════════════════════════════════ */
.reel-clean {
  background: #ffffff;
  border-radius: 20px;
  padding: 80px 0;
  margin: 100px auto;
  width: min(94%, 1020px); 
  box-shadow: var(--shadow-soft);
  border: 1px solid #f0f0f0;
  text-align: center;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.reel-clean:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.reel-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.reel-content {
  max-width: none;
  width: 100%;
}

.reel-title {
  margin-bottom: 16px;
  color: #1a1a1a;
  line-height: 1.2;
}

.reel-desc {
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.reel-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.reel-benefits li {
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.reel-benefits li:hover {
  transform: translateX(5px);
  background: rgba(0, 0, 0, 0.06);
}

.reel-video {
  display: flex;
  justify-content: center;
}

.reel-video-mobile {
  display: none;
}

.reel-video-desktop {
  display: flex;
}

.reel-video video {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  border-radius: 25px;
  object-fit: cover;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
}

.reel-video video:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.reel-cta .btn.btn-secondary {
  white-space: nowrap;
  word-break: normal;
  display: inline-flex;
  width: auto;
}

/* — Video Reel: Responsive — */
@media (max-width: 1024px) {
  .reel-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .reel-content {
    margin: 0 auto;
  }

  .reel-video-desktop {
    display: none;
  }

  .reel-video-mobile {
    display: flex;
    justify-content: center;
    margin: 24px 0 28px;
  }

  .reel-benefits li {
    text-align: left;
  }

  .reel-video video {
    max-width: 240px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .reel-clean {
    max-width: 650px;
    padding: 60px 40px;
    margin: 80px auto;
  }
}

@media (max-width: 768px) {
  .reel-clean {
    max-width: 500px;
    padding: 40px 20px;
    margin: 60px auto;
  }
}

@media (max-width: 600px) {
  .reel-video video {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .reel-clean {
    width: calc(100% + 50px);
    max-width: 390px;
    margin: 50px auto;
    padding: 40px 18px;
  }

  .reel-video video {
    max-width: 200px;
  }
}

@media (max-width: 380px) {
  .reel-clean {
    width: calc(100% + 28px);
    max-width: 355px;
    padding: 35px 16px;
  }
}

/* ════════════════════════════════════════════════════════════════
   4.1 VIDEO REEL SLIDER
════════════════════════════════════════════════════════════════ */
.reels-section {
  width: 100%;
  position: relative;
}
.reels-slider {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  overflow: hidden;
}
.reel-slide {
  grid-column: 1;
  grid-row: 1;
  width: 100%;

  display: flex;
  align-items: stretch;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(25px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}
.reel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

/* ── Controles ─────────────────────────────────────────────── */
.reels-controls {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

/* ── Flechas laterales ─────────────────────────────────────── */
.reels-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #1a1a1a;
  color: #ffffff;
  cursor: pointer;
  pointer-events: auto;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.reels-slider-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: var(--primary-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.reels-prev {
  left: 10px;
}
.reels-next {
  right: 10px;
}

/* ── Indicadores ───────────────────────────────────────────── */
.reels-indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.reels-indicator {
  width: 9px;
  height: 9px;
  display: block;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.reels-indicator:hover {
  transform: scale(1.15);
}

.reels-indicator.active {
  width: 24px;
  border-radius: 10px;
  background: var(--primary-color);
}

/* ════════════════════════════════════════════════════════════════
   5. SERVICIOS
════════════════════════════════════════════════════════════════ */
.services-section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.service-card {
  perspective: 1200px;
  cursor: pointer;
  height: 300px;
  animation: fadeUp 0.8s ease forwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.service-card-front,
.service-card-back {
  position: absolute;
  inset: 0;
  border-radius: 26px;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.service-card-front {
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-normal);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(249, 145, 9, 0.3);
}

.service-icon i {
  font-size: 2rem;
  color: #fff;
}

.service-card h3 {
  color: #222;
  text-align: center;
  max-width: 85%;
  margin: 0 auto;
}

.service-card-back {
  background: var(--gradient-primary);
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: 0 20px 50px rgba(249, 145, 9, 0.3);
}

.service-card-back p {
  line-height: 1.6;
}

/* — Servicios: Responsive — */
@media (min-width: 768px) {
  .service-card:hover .service-card-inner {
    transform: rotateY(180deg);
  }
}

@media (max-width: 767px) {
  .service-card {
    height: 300px;
  }

  .service-card.flipped .service-card-inner {
    transform: rotateY(180deg);
  }

  .service-card-front::after {
    content: "👆 Toca para más info";
    position: absolute;
    bottom: 12px;
    font-size: 0.7rem;
    color: #f99109;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 50px;
    opacity: 0.8;
    pointer-events: none;
  }

  .service-card.flipped .service-card-front::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding-inline: 8px;
  }

  .service-card {
    width: calc(100% + 50px);
    max-width: 390px;
    margin-left: calc(-50px / 2);
    margin-right: calc(-50px / 2);
    height: 300px;
  }
}

/* ════════════════════════════════════════════════════════════════
   6. CALCULADORA DE FINANCIAMIENTO
════════════════════════════════════════════════════════════════ */
.calculadora-section {
  padding: 80px 20px;
}

.calculadora-section h2 {
  text-align: center;
  margin-bottom: 10px;
  color: rgba(240, 161, 58, 0.679);
}

.calculadora-section h2 i {
  margin-right: 10px;
}

.calculadora-section>.container>p {
  text-align: center;
  color: #6b7280;
  margin-bottom: 50px;
}

.calculadora-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.calculadora-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calculadora-inputs label {
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}

.currency-tag {
  background: #fef3c7;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

.input-help {
  color: #9ca3af;
  margin-top: 2px;
}

.calculadora-inputs input[type="number"],
.calculadora-inputs select {
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.25s ease;
  background: #f9fafb;
  width: 100%;
  color: #111827;
}

.calculadora-inputs input:focus,
.calculadora-inputs select:focus {
  outline: none;
  border-color: #f99109;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(249, 145, 9, 0.15);
}

.calculadora-inputs input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-wrapper i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  font-size: 0.9rem;
}

.slider-group {
  background: #f9fafb;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

input[type="range"] {
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  margin: 10px 0;
  --progress: 25%;
  background: linear-gradient(
    to right,
    #f99109 0%,
    #f99109 var(--progress),
    #e5e7eb var(--progress),
    #e5e7eb 100%
  );
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f99109;
  border: 3px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(249, 145, 9, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: -7px;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(249, 145, 9, 0.5);
}

input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
}

input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: #f99109;
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f99109;
  border: 3px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(249, 145, 9, 0.4);
}

.slider-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.slider-min,
.slider-max {
  color: #9ca3af;
  font-weight: 500;
}

.output-highlight {
  color: #f99109;
  font-weight: 700;
  background: #fff7ed;
  padding: 4px 12px;
  border-radius: 8px;
}

.btn-actualizar-calculo {
  width: 100%;
}

.btn-actualizar-calculo i {
  transition: transform 0.3s;
}

.btn-actualizar-calculo:hover i {
  transform: rotate(180deg);
}

.calculadora-resultados {
  background: linear-gradient(145deg, #ffffff 0%, #faf8f5 100%);
  border-radius: 20px;
  padding: var(--calc-results-padding);
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}

.calculadora-resultados::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f99109, #ffb347);
}

.calculadora-resultados h3 {
  margin: 0 0 30px 0;
  text-align: center;
  color: #e07b1f;
}

.resultado-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.resultado-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s;
}

.resultado-label {
  color: #4b5563;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.resultado-label i {
  color: #f99109;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.resultado-valor {
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.resultado-item.destacado {
  background: #fff7ed;
  margin: 8px -12px;
  padding: 18px 12px;
  border-radius: 12px;
  border: 1px solid #fed7aa;
}

.resultado-item.destacado .resultado-valor {
  color: #c2410c;
}

.resultado-item.total {
  margin-top: 24px;
  padding: 22px;
  background: linear-gradient(135deg, #f99109 0%, #ffb347 100%);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(249, 145, 9, 0.25);
  border: none;
  color: #ffffff;
}

.resultado-item.total .resultado-label {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.resultado-item.total .resultado-valor {
  color: #ffffff;
  font-weight: 800;
}

.resultado-nota {
  margin-top: 20px;
  text-align: center;
  color: #9ca3af;
  line-height: 1.4;
}

.resultado-nota i {
  color: #f99109;
  margin-right: 4px;
}

.resultado-actualizado {
  animation: pulse-result 0.4s ease;
}

/* — Calculadora: Responsive — */
@media (max-width: 1024px) {
  .calculadora-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .calculadora-resultados {
    order: 2;
  }

  .calculadora-inputs {
    order: 1;
  }
}

@media (max-width: 768px) {
  .calculadora-section {
    padding: 60px 15px;
  }

  .calculadora-container {
    padding: 30px 20px;
    border-radius: 20px;
    gap: 30px;
  }

  .slider-group {
    padding: 16px;
  }

  .calculadora-resultados {
    padding: 30px 20px;
  }

  .resultado-item {
    padding: 14px 0;
  }

  .resultado-item.total {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .calculadora-section {
    padding-inline: 6px;
  }

  .calculadora-container {
    width: calc(100% + 50px);
    max-width: 390px;
    margin-left: calc(-50px / 2);
    margin-right: calc(-50px / 2);
    padding: 24px 16px;
    border-radius: 20px;
  }

  .resultado-label {
    gap: 6px;
  }

  .resultado-valor {
    font-size: 0.95rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   7. GUÍA PARA COMPRADORES
════════════════════════════════════════════════════════════════ */
.info-section {
  padding: 80px 0;
}

.guia-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 20px 10px;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.guia-card {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-normal);
  position: relative;
  cursor: pointer;
}

.guia-card:hover {
  transform: translateY(-5px);
}

.guia-img-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
  border-radius: 15px;
  overflow: hidden;
}

.guia-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  display: block;
}

.guia-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #1a1a1a;
}

.guia-card p {
  color: #666;
  line-height: 1.4;
  font-size: 0.95rem;
}

/* — Guía: Responsive — */
@media (min-width: 769px) {
  .guia-img-wrap::after {
    content: "🔍 Click para ampliar";
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(249, 145, 9, 0.95);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
  }

  .guia-card:hover .guia-img-wrap::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .guia-card:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
  }
}

@media (max-width: 768px) {
  .guia-scroll {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 15px;
  }

  .guia-card {
    padding: 18px;
  }

  .guia-card h3 {
    font-size: 1.15rem;
  }

  .guia-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .info-section {
    padding: 50px 12px;
  }

  .guia-scroll {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0;
    margin: 0 auto;
  }

  .guia-card {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    padding: 32px 24px;
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    text-align: center;
  }

  .guia-card img {
    border-radius: 18px;
  }

  .guia-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .guia-card p {
    font-size: 0.98rem;
    max-width: 95%;
    margin: 0 auto;
    color: #555;
  }

  .guia-img-wrap::after {
    content: "👆 Toca para ampliar";
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(249, 145, 9, 0.95);
    color: #fff;
    padding: 9px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
  }
}

@media (max-width: 380px) {
  .guia-card {
    max-width: 360px;
    padding: 28px 20px;
  }

  .guia-card h3 {
    font-size: 1.2rem;
  }

  .guia-card p {
    font-size: 0.95rem;
  }
}
