@font-face {
  font-family: "FuturaLTCondensed";
  src:
    url("../fonts/FuturaLT-Condensed Bold.otf") format("opentype"),
    url("../fonts/FuturaLT-Condensed.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* ===================== */
/* RESET + BASE */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "FuturaLTCondensed", Arial, sans-serif;
}

body {
  position: relative;
  height: auto;
}

/* ===================== */
/* BANNER PRINCIPAL */
/* ===================== */
.banner {
  width: 100%;
  position: relative;
}

.banner img {
  width: 105%;
  display: block;
}

.banner-text {
  position: absolute;
  top: 50%;
  right: 80px;
  /* 👈 lo mueve a la derecha */
  transform: translateY(-50%);
  text-align: right;
  /* 👈 alinea el texto a la derecha */
  color: #264172;
  padding: 20px 16px;
  text-align: center;
  right: 10%;
}

.banner-text h1 {
  font-family: "FuturaLTCondensed", Arial, sans-serif;
  font-size: 55px !important;
  line-height: 1.1;
  /* text-transform: uppercase; */
}

.banner-text h1 span {
  color: #009fe3;
  font-size: 70px !important;
}

/* SUBTEXTO AZUL */
.banner-sub {
  position: absolute;
  bottom: -15px;
  right: 0;

  max-width: 650px;
  background: #023491e3;
  color: #fff;

  padding: 18px 26px;
  border-radius: 50px 0 0 0;

  font-size: 30px;
  line-height: 1.4;
  font-weight: normal;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================== */
/* BOTÓN WHATSAPP CTA */
/* ===================== */
.cta-wsp {
  width: 50px;
  height: 50px;
  background: #25d366;
  border-radius: 50%;
  padding: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cta-wsp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hover efecto */
.cta-wsp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* ===================== */
/* SLIDER */
/* ===================== */
.slider-container {
  position: relative;
  width: 50%;
  margin: 40px auto;
}

.slider {
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

.slides {
  display: flex;
  transition: transform 0.4s ease;
}

.slides img {
  width: 105%;
  flex-shrink: 0;
  display: block;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #264172;
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  border-radius: 0;
  cursor: pointer;
  z-index: 10;
  font-family: "FuturaLTCondensed", Arial, sans-serif;
}

.prev:hover,
.next:hover {
  background: none;
  color: #009fe3;
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: -60px;
}

.next {
  right: -60px;
}

/* ===================== */
/* CIFRAS */
/* ===================== */
.cifras {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
}

.cifras h2 {
  letter-spacing: 7px;
  margin-bottom: 50px;
  font-size: 35px;
  font-weight: bold;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-item strong {
  font-size: 36px;
  color: #009fe3;
  font-weight: bold;
}

.grid-item span {
  font-size: 20px;
  color: #333;
}

.grid-item {
  position: relative;
}

.grid-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #dcdcdc;
  max-height: 80px;
  margin: auto;
}

/* ===================== */
/* CTA BANNER */
/* ===================== */
.cta-banner {
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../img/pc/Banner-inferior.jpg") center/cover no-repeat;
  padding: 80px 40px;
}

.cta-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.cta-text p {
  font-size: 40px;
  line-height: 1.2;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-contact-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-qr {
  width: 140px;
  height: 140px;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
}

.phone {
  font-size: 38px;
  font-weight: bolder;
  letter-spacing: 2px;
  color: #000;
}

.cta-sub {
  font-size: 24px;
  letter-spacing: 2px;
  font-weight: bolder;
  color: #000;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */
@media (max-width: 768px) {
  .slider-container {
    width: 60%;
  }

  .grid {
    grid-template-columns: 2fr 1.5fr;
    gap: 30px;
  }

  .grid-item:not(:last-child)::after {
    right: -10px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-text p {
    font-size: 28px;
  }

  .phone {
    font-size: 18px;
    font-weight: bolder;
    color: #000;
    white-space: nowrap;
  }

  .cta-sub {
    font-size: 18px;
    font-weight: bolder;
    color: #000;
  }

  .banner-sub {
    right: 20px;
    left: 20px;
    max-width: unset;
    font-size: 16px;
    padding: 12px 18px;
    border-radius: 20px;
  }

  .banner-text {
    left: 60%;
    right: auto;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 320px;
    /* 👈 esto es la CLAVE */
    margin: auto;
    padding: 20px;
  }

  .banner-text h1 {
    font-size: 22px !important;
    line-height: 1.05;
    /* 👉 junta las líneas */
    margin: 0;
    text-align: center !important;
  }

  .banner-text h1 span {
    font-size: 28px !important;
    margin-top: -4px;
    text-align: center !important;
  }
}

.banner-text h1 {
  font-size: 30px;
  align-content: center;
}

.banner-text h1 span {
  font-size: 15px;
  align-items: center;
}

/* Slider */
.slides img {
  width: 100%;
  margin: 0;
  display: block;
}

/* Ajuste del contenedor del slider */
.slider {
  width: 100%;
  margin: auto;
}

/* Flechas en móviles */
.prev,
.next {
  font-size: 70px;
  padding: 4px 6px;
  margin: 10px;
}

.prev {
  left: -50px;
}

.next {
  right: -50px;
}

/* Banner CTA inferior */
.cta-banner {
  padding: 40px 20px;
  background-size: cover;
}

/* Media query para resolución 1366x1024 */
@media (min-width: 1366px) and (max-height: 1024px) {
  .slider-container {
    position: relative;
    width: 50%;
    margin: 45px auto;
  }

  .slider {
    width: 100%;
  }

  .slides img {
    width: 100%;
  }
}

/* WhatsApp flotante */
.whatsapp-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-link-left {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .whatsapp-link {
    right: 30px;
    left: auto;
  }
}