html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #000000, #000000, #ff6f01a3, #bebebe);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.256), rgba(36, 36, 36, 0)),
    url("./Background/Respaldo.jpg") center/cover no-repeat;
}

.hero video {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(-50%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  font-family: Arial, sans-serif;
}

.imagenes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.imagenes img {
  max-width: 500px;
  height: auto;
}

.btn-saber-mas {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0465FF;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.btn-saber-mas:hover {
  background-color: #0056b3;
}

@media (max-width: 992px) {
  .imagenes img {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .imagenes img {
    max-width: 150px;
  }

  .btn-saber-mas {
    font-size: 16px;
    padding: 10px 24px;
  }
}

@media (max-width: 400px) {
  .imagenes img {
    max-width: 120px;
  }
}

/* ================= ¿QUÉ HACEMOS? ================= */
.que-hacemos {
  padding: 100px 20px;
  text-align: center;
}

.que-hacemos h2 {
  font-family: 'Lilita One', cursive;
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #ffffff;
}

.que-hacemos p {
  font-family: 'Open Sans', sans-serif;
  font-size: 35px;
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto;
  color: #fffdfd;
}

@media (max-width: 768px) {
  .que-hacemos h2 {
    font-size: 36px;
  }

  .que-hacemos p {
    font-size: 20px;
  }
}

/* ================= SERVICIOS ================= */
.servicios {
  padding: 50px 20px;
  text-align: center;
  background: transparent;
  color: #fff;
}

.servicios h2 {
  font-family: 'Lilita One', cursive;
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 30px;
}

.servicios ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px auto;
  max-width: 900px;
}

.servicios ul li {
  font-family: 'Open Sans', sans-serif;
  font-size: 35px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;
  text-align: center;
}

.servicios ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
  font-size: 30px;
}

.servicios .extra {
  font-family: 'Open Sans', sans-serif;
  font-size: 30px;
  font-weight: bold;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .servicios h2 {
    font-size: 38px;
  }

  .servicios ul li {
    font-size: 20px;
  }

  .servicios .extra {
    font-size: 22px;
  }
}

/* ================= GALERÍA ================= */
.galeria {
  padding: 80px 20px 40px 20px;
  text-align: center;
  color: #fff;
}

.galeria h2 {
  font-family: 'Lilita One', cursive;
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 50px;
}

.swiper {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 15px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  padding: 20px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
}

.swiper-pagination {
  margin-top: 20px;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: #0465FF;
  opacity: 1;
}

/* ================= VIDEOS ================= */
.videos {
  text-align: center;
  padding: 50px 0;
}

.videos h2 {
  font-family: 'Lilita One', cursive;
  font-size: 52px;
  margin-bottom: 30px;
  color: #fff;
}

.videos .swiper {
  width: 100%;
  padding-bottom: 60px;
}

.videos .swiper-slide {
  width: 250px;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.videos .swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* ================= CONTACTO ================= */
.contacto {
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.contacto h2 {
  font-family: 'Lilita One', cursive;
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 40px;
}

.contacto-box {
  background: #000000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 40px;
  border-radius: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.contacto-box p {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  margin: 0;
  color: #fff;
  flex: 1;
  text-align: center;
}

.btn-contacto {
  display: inline-block;
  padding: 15px 35px;
  background-color: #f68b2c;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.btn-contacto:hover {
  background-color: #d87310;
}

@media (max-width: 768px) {
  .contacto-box {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .btn-contacto {
    width: auto;
    max-width: 90%;
  }
}

@media (max-width: 460px) {
  .contacto-box {
    padding: 20px 15px;
    gap: 15px;
  }

  .contacto-box p {
    font-size: 18px;
  }

  .btn-contacto {
    font-size: 18px;
    padding: 12px 25px;
    border-radius: 25px;
  }
}

/* ================= FOOTER ================= */
.footer {
  background-color: #000000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  flex-wrap: wrap;
  font-family: 'Open Sans', sans-serif;
}

.footer p {
  margin: 0;
  font-size: 16px;
}

.right-footer {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons i {
  font-size: 28px;
  color: #fff;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icons i:hover {
  transform: scale(1.2);
  color: #f39c12;
}

@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .right-footer {
    flex-direction: column;
    gap: 10px;
  }
}

.phone-link {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: #f39c12;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    bottom 0.3s ease,
    opacity 0.3s ease;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
  background-color: #20ba5a;
}

/* Cuando aparece el footer */
.whatsapp-float.hide {
  bottom: 100px;
  opacity: 0;
  pointer-events: none;
}

/* ESTRELLAS*/
.why-choose-us {
  text-align: center;
  padding: 50px 20px;
  max-width: 600px;
  margin: auto;
}

.why-choose-us h2 {
  font-family: 'Lilita One', cursive;
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #fff;
  text-transform: uppercase;
}

.feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.label {
  font-family: 'Open Sans', sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #fff;
}

.stars {
  font-size: 1.8rem;
}

.star.filled {
  color: #FFD700;
  /* dorado */
}

.star.empty {
  color: #ccc;
  /* gris */
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .why-choose-us h2 {
    font-size: 40px;
  }

  .label {
    font-size: 28px;
  }

  .stars {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .feature {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .why-choose-us h2 {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .label {
    font-size: 20px;
  }

  .stars {
    font-size: 1.2rem;
  }
}

/* Fondo difuminado detrás del banner */
.cookie-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Caja del banner */
.cookie-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 24px 28px;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.4s ease;
}

/* Texto */
.cookie-box p {
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
}

/* Botón */
.cookie-box button {
  background: #00aaff;
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cookie-box button:hover {
  background: #0093e0;
  transform: scale(1.05);
}

/* Oculto inicialmente */
.hidden {
  display: none;
}

/* Animación suave */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 🧩 Responsive (se adapta en pantallas pequeñas) */
@media (max-width: 480px) {
  .cookie-box {
    padding: 18px;
    font-size: 0.9rem;
  }

  .cookie-box button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }
}