@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Variables */
:root {
  --dark: #333;
  --round: 5px;
  --bg: #f0eaea;
  --font: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
}

.container {
  width: 85%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header y Navegación */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(249, 145, 9, 0.679);
  color: white;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.logo {
  height: 65px;
  transition: height 0.3s ease;
  border: 3px solid black;
  border-radius: 8px;
}

header.shrink .logo {
  height: 40px;
}

header.shrink {
  padding: 2px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/*MODIFICACION*/
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav {
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-direction: row;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--dark);
}

/* Accesibilidad: foco visible global */
a:focus-visible {
  outline: 2px solid rgba(249, 145, 9, 0.85);
  outline-offset: 2px;
}

nav ul li a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
  border-radius: 6px;
}

.btn:focus-visible,
[class^="btn-"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 145, 9, 0.45);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: relative;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1101;
  font-size: 1.5rem;
}

.menu-toggle .bar {
  display: block;
  height: 3px;
  width: 30px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
  transform-origin: center;
  margin: 3px 0;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg);
}

/* Responsividad */
@media (max-width: 768px) {
  nav {
    margin: 0;
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    padding: 30px 20px;
    transition: right 0.6s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.7);
  }

  nav.show {
    right: 0;
  }

  .menu-toggle {
    display: block;
    z-index: 1101;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  body.menu-abierto {
    overflow: hidden;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.slider-container {
  position: relative;
  width: 100%;
  height: clamp(350px, 70vh, 750px);
  overflow: hidden;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 10;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.hero-description {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/*SISTEMA GLOBAL DE BOTONES*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 14px 28px;
  min-height: 48px;
  border-radius: 10px;

  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;

  border: 2px solid transparent;
  cursor: pointer;

  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
  min-height: 40px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
  min-height: 56px;
}

.btn-primary {
  background: linear-gradient(135deg, #f99109, #ff7a00);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 145, 9, 0.35);
}

.btn-secondary {
  background: #25d366;
  color: white;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* Controles del slider */
.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 15;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.slider-btn i {
  font-size: 1.2rem;
}

/* Indicadores */
.slider-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 15;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.indicator.active {
  background: rgba(249, 145, 9, 0.9);
  border-color: white;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Anuncio inferior */
.hero-announcement {
  background: linear-gradient(135deg,
      rgba(249, 145, 9, 0.9),
      rgba(249, 145, 9, 0.7));
  padding: 15px 0;
  text-align: center;
  flex-shrink: 0;
}

.announcement-text {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.announcement-text i {
  margin-right: 8px;
  color: #fff200;
}

@media (max-width: 480px) {
  .slider-container {
    height: 40vh;
    min-height: unset;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-content {
    padding: 0 15px;
  }

  .slider-controls {
    padding: 0 10px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }
}

/* Secciones */
main.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 10px;
}

section {
  margin-bottom: 30px;
  background:
    radial-gradient(circle at top right, rgba(249, 145, 9, 0.05), transparent),
    #fdfdfd;
}

section h2 {
  color: rgba(240, 161, 58, 0.679);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/*carrusel*/
.carrusel-terrenos {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  aspect-ratio: 16 / 9;
}

.carrusel-imagenes {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.activo {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 15px;
}

.slide:hover img {
  transform: scale(1.05);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
}

.slide:hover .slide-caption {
  transform: translateY(0);
}

.slide-caption h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f39c12;
}

.slide-caption p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.4;
  margin: 0;
}

/* Botones de navegación del carrusel */
.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #333;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carrusel-btn:hover {
  background: rgba(243, 156, 18, 0.9);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carrusel-btn.anterior {
  left: 20px;
}

.carrusel-btn.siguiente {
  right: 20px;
}

/* Responsive para botones */
@media (max-width: 768px) {
  .carrusel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carrusel-btn.anterior {
    left: 10px;
  }

  .carrusel-btn.siguiente {
    right: 10px;
  }
}

.slide-caption {
  padding: 1rem;
}

.slide-caption h3 {
  font-size: 1.2rem;
}

.slide-caption p {
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
}

footer p {
  margin: 0 0 20px 0;
  font-size: 1rem;
  font-weight: 400;
  color: #cccccc;
}

.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.redes-sociales a {
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
}

.redes-sociales a:hover {
  color: var(--primary);
  background: rgba(251, 159, 46, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(251, 159, 46, 0.3);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: white;
  font-size: 24px;
}

.whatsapp-float:hover {
  background-color: #20b954;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

a:hover .whatsapp-num {
  color: #25d366;
}

.scrollToHome {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #f49d32 0%, #ff6b35 100%);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 20px;
  line-height: 55px;
  text-align: center;
  cursor: pointer;
  z-index: 99999;
  display: none;
  box-shadow: 0 4px 15px rgba(244, 157, 50, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.scrollToHome:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(244, 157, 50, 0.6);
  background: linear-gradient(135deg, #ff6b35 0%, #e8890b 100%);
}

.scrollToHome:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 15px rgba(244, 157, 50, 0.4);
}

/* CALCULADORA */
.calculadora-section {
  padding: 80px 20px;
  background:
    radial-gradient(circle at top right, rgba(249, 145, 9, 0.05), transparent),
    #fdfdfd;
}

.calculadora-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 10px;
  font-weight: 700;
}

.calculadora-section p {
  text-align: center;
  color: #6b7280;
  margin-bottom: 50px;
}

/* CONTENEDOR PRINCIPAL */
.calculadora-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.calculadora-inputs .input-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.calculadora-inputs label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
}

.calculadora-inputs input,
.calculadora-inputs select {
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.calculadora-inputs input:focus,
.calculadora-inputs select:focus {
  outline: none;
  border-color: #f99109;
  box-shadow: 0 0 0 3px rgba(249, 145, 9, 0.2);
  background: #ffffff;
}

/* SLIDER PERSONALIZADO */
input[type="range"] {
  -webkit-appearance: none;
  height: 6px;
  border-radius: 5px;
  background: #e5e7eb;
  margin-top: 10px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #f99109;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

#cuota-inicial-valor {
  display: inline-block;
  margin-left: 10px;
  font-weight: bold;
  color: #f99109;
}

.btn-calcular {
  margin-top: 20px;
  padding: 14px;
  border: none;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(135deg, #f99109, #ff7a00);
  color: white;
  transition: all 0.3s ease;
}

.btn-calcular:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(249, 145, 9, 0.3);
}

.calculadora-resultados {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f1f1;
}

.calculadora-resultados h3 {
  margin: 0 0 25px 0;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #f99109;
  border-bottom: 2px solid #f99109;
  padding-bottom: 10px;
}

.resultado-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.resultado-item span:first-child {
  color: #555;
  font-weight: 500;
}

.resultado-item span:last-child {
  font-weight: 600;
  color: #111;
}

.resultado-item.total {
  margin-top: 25px;
  padding: 18px;
  background: linear-gradient(135deg, #f99109, #ffb347);
  border-radius: 14px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  box-shadow: 0 8px 20px rgba(249, 145, 9, 0.25);
}

.btn-comprar {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.btn-comprar:hover {
  background: linear-gradient(135deg, #219a52, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.btn-comprar:active {
  transform: translateY(0);
}

.btn-comprar i {
  font-size: 1.1rem;
}

/* ESTILOS PARA MODALES */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s;
}

.modal-large {
  max-width: 900px;
}

.modal-header {
  background: linear-gradient(135deg, #f99109 0%, #d87e07 100%);
  color: white;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 30px;
}

/* Estilos para modal de favoritos */
.lista-favoritos-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.2s;
}

.lista-favoritos-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.favorito-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 15px;
}

.favorito-info {
  flex: 1;
}

.favorito-info h4 {
  margin: 0 0 5px 0;
  color: #333;
}

.favorito-precio {
  color: #f99109;
  font-weight: bold;
  margin-bottom: 5px;
}

.favorito-ubicacion {
  color: #666;
  font-size: 0.9rem;
}

.favorito-acciones {
  display: flex;
  gap: 10px;
}

.btn-eliminar-favorito {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-eliminar-favorito:hover {
  background: #c0392b;
}

/* Estilos para modal de comparación */
.tabla-comparacion {
  overflow-x: auto;
}

.tabla-comparacion table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.tabla-comparacion th,
.tabla-comparacion td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.tabla-comparacion th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.comparacion-img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.comparacion-precio {
  color: #f99109;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Estilos para modal de detalles */
.detalle-contenido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.detalle-imagen img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.detalle-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detalle-precio {
  font-size: 2rem;
  font-weight: bold;
  color: #f99109;
}

.detalle-ubicacion,
.detalle-area {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 1.1rem;
}

.detalle-descripcion {
  color: #333;
  line-height: 1.6;
}

.detalle-acciones {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn-contactar,
.btn-favorito-modal {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-contactar {
  background: #25d366;
  color: white;
}

.btn-contactar:hover {
  background: #20b954;
}

.btn-favorito-modal {
  background: #f8f9fa;
  color: #e74c3c;
  border: 1px solid #e74c3c;
}

.btn-favorito-modal.active {
  background: #e74c3c;
  color: white;
}

.btn-favorito-modal:hover {
  background: #e74c3c;
  color: white;
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive para modales */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .detalle-contenido {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detalle-acciones {
    flex-direction: column;
  }

  .tabla-comparacion {
    font-size: 0.9rem;
  }

  .comparacion-img {
    width: 80px;
    height: 60px;
  }
}

/* SECCIÓN SERVICIOS MEJORADA */
.services-section {
  padding: 80px 5%;
  background:
    radial-gradient(circle at top right, rgba(249, 145, 9, 0.05), transparent),
    #fdfdfd;
  overflow: hidden;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #777;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Grid responsivo */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  padding: 3rem 2rem;
  border-radius: 24px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(249, 145, 9, 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.service-icon i {
  font-size: 28px;
  color: #f99109;
}

.service-card:hover {
  transform: translateY(-12px);
  border-color: #f99109;
  box-shadow: 0 20px 40px rgba(249, 145, 9, 0.1);
}

.service-card:hover .service-icon {
  background: #f99109;
  transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon i {
  color: #fff;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #1a1a1a;
  transition: 0.3s;
}

.service-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Animación de entrada sutil */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-grid .service-card {
  animation: cardFadeIn 0.8s ease forwards;
}

/* Efecto de luz interna al hacer hover */
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(249, 145, 9, 0.12);
  border-color: rgba(249, 145, 9, 0.2);
}

.service-icon {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.service-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #f99109, #ffb347);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.2;
  transition: opacity 0.4s ease;
}

.service-icon i {
  font-size: 2.2rem;
  background: linear-gradient(135deg, #f99109, #d87e07);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #f99109, #ffb347);
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(249, 145, 9, 0.3);
}

.service-card:hover .service-icon i {
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  transform: rotate(5deg);
}

.service-card:hover .service-icon::after {
  opacity: 0;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-card p {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Keyframes más fluidos */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-grid .service-card:nth-child(1) {
  animation-delay: 0.05s;
}

.services-grid .service-card:nth-child(2) {
  animation-delay: 0.12s;
}

.services-grid .service-card:nth-child(3) {
  animation-delay: 0.19s;
}

.services-grid .service-card:nth-child(4) {
  animation-delay: 0.26s;
}

.services-grid .service-card:nth-child(5) {
  animation-delay: 0.33s;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* SECCIÓN INFORMACIÓN EDUCATIVA */
.info-section {
  padding: 80px 0;
  background:
    radial-gradient(circle at top right, rgba(249, 145, 9, 0.05), transparent),
    #fdfdfd;
}

/*  MODAL DE COMPRA  */
.modal-compra {
  display: flex;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-compra-content {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  width: 480px;
  height: 580px;
  position: relative;
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-compra-header {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: white;
  padding: 20px 24px;
  position: relative;
  flex-shrink: 0;
}

.modal-compra-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.close-compra {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}

.close-compra:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.modal-compra-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.terreno-seleccionado {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border-left: 4px solid #2196f3;
  flex-shrink: 0;
}

.terreno-seleccionado h3 {
  color: #1976d2;
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
}

.terreno-info p {
  margin: 6px 0;
  color: #555;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.terreno-info strong {
  color: #333;
  font-weight: 500;
}

.datos-contacto-titulo {
  text-align: center;
  margin: 16px 0;
  flex-shrink: 0;
}

.datos-contacto-titulo h3 {
  color: #1976d2;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.form-compra {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  margin-bottom: 6px;
  color: #333;
  font-weight: 500;
  font-size: 13px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #fff;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group textarea {
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

.form-group[data-field="nombre"] {
  background: linear-gradient(135deg,
      rgba(52, 152, 219, 0.1),
      rgba(155, 89, 182, 0.1));
}

.form-group[data-field="email"] {
  background: linear-gradient(135deg,
      rgba(231, 76, 60, 0.1),
      rgba(230, 126, 34, 0.1));
}

.form-group[data-field="telefono"] {
  background: linear-gradient(135deg,
      rgba(46, 204, 113, 0.1),
      rgba(39, 174, 96, 0.1));
}

.form-group[data-field="tipo_pago"] {
  background: linear-gradient(135deg,
      rgba(241, 196, 15, 0.1),
      rgba(243, 156, 18, 0.1));
}

.form-group[data-field="mensaje"] {
  background: linear-gradient(135deg,
      rgba(142, 68, 173, 0.1),
      rgba(155, 89, 182, 0.1));
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.btn-cancelar,
.btn-enviar-compra {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 100px;
}

.btn-cancelar {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
}

.btn-cancelar:hover {
  background: #e0e0e0;
  color: #333;
}

.btn-enviar-compra {
  background: #2196f3;
  color: white;
}

.btn-enviar-compra:hover {
  background: #1976d2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* Animaciones */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .modal-compra-content {
    width: 90%;
    height: 85vh;
    max-width: 400px;
  }

  .modal-compra-header {
    padding: 16px 20px;
  }

  .modal-compra-header h2 {
    font-size: 18px;
  }

  .modal-compra-body {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn-cancelar,
  .btn-enviar-compra {
    width: 100%;
  }
}

/* Responsive para calculadora y favoritos */
@media (max-width: 768px) {
  .calculadora-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .favoritos-header {
    flex-direction: column;
    text-align: center;
  }

  .favoritos-actions {
    justify-content: center;
  }

  .terrenos-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .services-section,
  .info-section {
    padding: 60px 0;
  }

  .scrollToHome {
    width: 50px;
    height: 50px;
    font-size: 18px;
    line-height: 50px;
    border-radius: 18px;
    bottom: 18px;
    right: 18px;
  }
}

/* Media query para dispositivos móviles pequeños */
@media (max-width: 480px) {
  .scrollToHome {
    width: 45px;
    height: 45px;
    font-size: 16px;
    line-height: 45px;
    border-radius: 15px;
    bottom: 15px;
    right: 15px;
  }

  .scrollToHome:hover {
    transform: translateY(-2px) scale(1.03);
  }
}

/* Clases para reemplazar estilos inline */
.slide-bg-1 {
  background: url("../img/slider1.jpg") no-repeat center center/cover;
}

.slide-bg-2 {
  background-image: url("../img/slider2.jpg");
}

.slide-bg-3 {
  background-image: url("../img/slider3.jpg");
}

.scroll-to-home-visible {
  display: inline !important;
}

.btn-nav-hidden {
  display: none !important;
}

.btn-nav-visible {
  display: inline-flex !important;
}

/* Clases para modales y notificaciones */
.modal-visible {
  display: block !important;
}

.modal-flex {
  display: flex !important;
}

.modal-hidden {
  display: none !important;
}

.body-no-scroll {
  overflow: hidden !important;
}

.body-scroll {
  overflow: auto !important;
}

/* Clases para notificaciones */
.notification-success {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
  z-index: 10000;
  max-width: 400px;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  border-left: 5px solid #1e8449;
}

.notification-error {
  background: #e74c3c;
  color: white;
  padding: 15px;
  border-radius: 5px;
  margin: 20px 0;
}

.notification-info {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #3498db, #5dade2);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 10000;
  max-width: 300px;
}

/* Clases para contenido de blog */
.blog-content-whatsapp {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.blog-content-blue {
  background-color: #e3f2fd;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.blog-content-warning {
  background-color: #fff3cd;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  border-left: 4px solid #ffc107;
}

.blog-content-general {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.blog-content-green {
  background-color: #d4edda;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.blog-content-orange {
  background-color: #fff3e0;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.blog-content-light-green {
  background-color: #e8f5e8;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

/* Botones de blog */
.blog-btn-whatsapp {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.blog-btn-blue {
  display: inline-block;
  background-color: #2196f3;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.blog-btn-orange {
  display: inline-block;
  background-color: #f97109;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.blog-btn-orange-alt {
  display: inline-block;
  background-color: #ff9800;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.blog-btn-green {
  display: inline-block;
  background-color: #4caf50;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

/* Clases para contenido de éxito */
.success-content {
  text-align: center;
  padding: 40px;
}

.success-icon {
  font-size: 4rem;
  color: #27ae60;
  margin-bottom: 20px;
}

.success-title {
  color: #27ae60;
  margin-bottom: 15px;
}

.success-text {
  color: #6c757d;
  margin-bottom: 20px;
}

.success-contact {
  color: #2c3e50;
}

.success-whatsapp-link {
  color: #25d366;
}

/* Clases para contenido de búsqueda */
.search-empty {
  text-align: center;
  padding: 40px;
  color: #666;
}

.search-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

/* Clases para notificaciones de consulta */
.consultation-notification {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.consultation-icon {
  font-size: 1.5rem;
  margin-right: 10px;
}

.consultation-title {
  font-size: 1.1rem;
}

.consultation-text {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.consultation-footer {
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* NAVEGACIÓN ENTRE SECCIONES */
.section-navigation {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-height: 400px;
  overflow-y: auto;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f99109 0%, #d87e07 100%);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 600;
  min-width: 140px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(249, 145, 9, 0.3);
}

.nav-btn:hover {
  background: linear-gradient(135deg, #d87e07 0%, #b86b06 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(249, 145, 9, 0.4);
}

.nav-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(249, 145, 9, 0.3);
}

.nav-btn i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.nav-btn span {
  font-size: 13px;
  white-space: nowrap;
}

/* Responsive para navegación */
@media (max-width: 768px) {
  .section-navigation {
    bottom: 70px;
    right: 15px;
  }

  .nav-buttons {
    padding: 12px;
  }

  .nav-btn {
    padding: 10px 12px;
    min-width: 120px;
    font-size: 13px;
  }

  .nav-btn i {
    font-size: 14px;
  }

  .nav-btn span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .section-navigation {
    bottom: 60px;
    right: 10px;
  }

  .nav-buttons {
    padding: 10px;
    gap: 6px;
  }

  .nav-btn {
    padding: 8px 10px;
    min-width: 100px;
    font-size: 12px;
  }

  .nav-btn i {
    font-size: 12px;
    width: 16px;
  }

  .nav-btn span {
    font-size: 11px;
  }
}

/* Footer responsivo */
@media (max-width: 768px) {
  footer {
    padding: 30px 0;
  }

  footer p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .redes-sociales {
    gap: 15px;
  }

  .redes-sociales a {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 22px;
    bottom: 15px;
    left: 15px;
  }
}

/* Footer para móviles pequeños */
@media (max-width: 480px) {
  footer {
    padding: 25px 0;
  }

  footer p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .redes-sociales {
    gap: 12px;
    flex-wrap: wrap;
  }

  .redes-sociales a {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 12px;
    left: 12px;
  }
}

@media (max-width: 380px) {
.hero-title {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
}

.hero-description {
  font-size: clamp(0.9rem, 3.5vw, 1.1rem);
}

.hero-buttons .btn {
  padding: 10px 18px;
  font-size: 0.9rem;
}
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
  }

  header {
    padding: 8px 0;
  }

  header.shrink {
    padding: 4px 0;
  }

  .logo {
    height: 55px;
  }

  header.shrink .logo {
    height: 38px;
  }
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {

  .slider-container {
    height: 75vh;
    min-height: 500px;
  }

  .hero-content {
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    padding: 0 10px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    width: 90%;
    max-width: 300px;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .slider-controls {
    padding: 0 15px;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
  }

  .slider-indicators {
    bottom: 10px;
  }

}

/* RESPONSIVE */
/* TABLET */
@media (max-width: 1024px) {
  .calculadora-container {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .calculadora-resultados {
    margin-top: 20px;
  }
}

/* CELULAR */
@media (max-width: 600px) {
  .calculadora-section {
    padding: 60px 15px;
  }

  .calculadora-container {
    padding: 25px;
    border-radius: 18px;
  }

  .calculadora-resultados {
    padding: 25px;
  }

  .resultado-item {
    font-size: 0.9rem;
  }

  .resultado-item.total {
    font-size: 1.1rem;
  }

  .btn-calcular {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {

  section {
    margin-bottom: 50px;
  }

  .services-section,
  .info-section {
    padding: 60px 0;
  }

  .services-grid {
    gap: 1.8rem;
  }

  .service-card {
    padding: 2.5rem 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 35px;
  }
}

/* TÍTULOS UNIFICADOS */
.title,
.section h2,
h2 {
  font-size: 42px;        
  font-weight: 700;       
  text-align: center;    
  color: var(--dark);     
  margin-bottom: 50px;
}

.title::after,
.section h2::after,
h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #f49d32, #ff6b35);
  display: block;
  margin: 15px auto 0;
  border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .slider-container {
    height: auto;
    min-height: 500px;
  }

  /* Quitamos absolute en móvil */
  .hero-content {
    position: relative;
    transform: none;
    top: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 20px 40px 20px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .slider-indicators {
  position: relative;
  margin-top: 20px;

  display: flex;
  justify-content: center;   
  align-items: center;

  left: auto;
  transform: none;
}

}