@font-face {
  font-family: 'Raleway';
  src: url('../ASSETS/fonts/Raleway/Raleway-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.contenido-principal {
  padding-top: 96px;
}

.whatsapp-btn {
  width: 80px;
  height: 80px;
  position: fixed;
  right: 24px;
  bottom: 8%;
  z-index: 9999;
}

.seccion-banner {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  text-align: center;
  font-family: 'Raleway';
}

.banner-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

.banner-imagen {
  width: 100%;
  height: auto;
  display: block;
}

.banner-contenido {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: white;
  max-width: 640px;
  padding: 24px;
  text-align: left;
  z-index: 2;
}

.banner-titulo {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}




.banner-descripcion {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 32px 0;
  padding-left: 0;
  line-height: 1.5;
}

.btn-standard {
  background-color: #133E82;
  color: white;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 64px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  font-family: 'Raleway';
}

.btn-standard:hover {
  background-color: #042558;
}

.especialidades-contenido {
  max-width: 1280px;
  margin: 64px auto 48px auto;
  padding: 0 24px;
}

.especialidades-titulo {
  font-size: 40px;
  font-weight: 700;
  color: #133E82;
  text-align: center;
  font-family: 'Raleway';
  margin-bottom: 16px;
  text-transform: uppercase;
}

.especialidades-subtitulo {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 16px;
  font-family: 'Raleway';
}

.especialidades-descripcion-general {
  font-size: 18px;
  font-weight: 400;
  color: #666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
  font-family: 'Raleway';
}

.especialidades-columnas {
  display: flex;
  gap: 40px;
  margin: 0 56px;
  justify-content: center;
}

.columna-calderas {
  flex: 1;
  background-color: #FEF4EF;
  padding: 40px 32px;
  border: 1px solid #D9D9D9;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.columna-aerotermia {
  flex: 1;
  background-color: #E6FFE6;
  padding: 40px 32px;
  border: 1px solid #D9D9D9;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.calderas-icono {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
}

.aerotermia-icono {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
}


.calderas-titulo {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Raleway';
  margin-bottom: 16px;
}

.aerotermia-titulo {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Raleway';
  margin-bottom: 16px;
}

.calderas-descripcion {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Raleway';
  line-height: 1.4;
  margin-bottom: 24px;
  padding: 0 16px;
  text-align: center;
}

.aerotermia-descripcion {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Raleway';
  line-height: 1.4;
  margin-bottom: 24px;
  padding: 0 16px;
  text-align: center;
}

.calderas-boton {
  background-color: #E83B39;
  margin-top: auto;
}

.calderas-boton:hover {
  background-color: #c52d2b;
}

.aerotermia-boton {
  background-color: #008000;
  margin-top: auto;
}

.aerotermia-boton:hover {
  background-color: #006400;
}

.columna-aire {
  flex: 1;
  background-color: #EEF7FF;
  padding: 40px 32px;
  border: 1px solid #D9D9D9;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.aire-icono {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
}

.aire-titulo {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Raleway';
  margin-bottom: 16px;
}

.aire-descripcion {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Raleway';
  line-height: 1.4;
  margin-bottom: 24px;
  padding: 0 16px;
  text-align: center;
}

.aire-boton {
  margin-top: auto;
}

/* Inherits from .btn-standard */

.mantenimiento-columnas {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 64px 56px;
  border-radius: 16px;
  overflow: hidden;
}

.mantenimiento-info {
  flex: 0.44;
  background-color: #FAFAFA;
  padding: 40px 32px;
  border: 1px solid #D9D9D9;
  border-radius: 20px 0 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mantenimiento-info a {
  text-decoration: none;
  text-align: center;
}

.mantenimiento-subtitulo {
  color: #133E82;
  font-family: 'Raleway';
  font-size: 16px;
  font-style: italic;
  margin-bottom: 8px;
}

.mantenimiento-titulo {
  font-family: 'Raleway';
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.mantenimiento-texto {
  font-family: 'Raleway';
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding-right: 24px;
  margin-bottom: 24px;
}

.mantenimiento-boton {
  margin-top: 15px;
  width: fit-content;
}

.mantenimiento-boton:hover {
  background-color: #042558;
}


.mantenimiento-imagen {
  flex: 1;
}

.mantenimiento-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 2px 2px 0;
}

.servicios-contenido {
  background: linear-gradient(76deg, rgba(19, 62, 130, 0.2) 4.72%, rgba(238, 247, 255, 0.2) 53.87%),
    linear-gradient(0deg, #F5F7F9, #F5F7F9);
  padding: 64px 24px;
}

.servicios-titulo {
  text-align: center;
  font-family: 'Raleway';
  font-weight: 200;
  color: #133E82;
  font-size: 40px;
  margin-bottom: 24px;
}

.servicios-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.servicio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  max-width: 4000px;
}

.servicio-item img {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}

.servicio-nombre {
  font-family: 'Raleway';
  color: #133E82;
  font-size: 24px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0;
}

.servicio-descripcion {
  font-family: 'Raleway';
  font-size: 16px;
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.6;
  max-width: 240px;
}

.marcas-contenido {
  margin: 64px 56px;
}

.marcas-titulo {
  text-align: center;
  font-family: 'Raleway';
  font-weight: 200;
  color: #133E82;
  font-size: 40px;
}

.marcas-lista {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 72px;
  margin-top: 3%;
  padding-left: 24px;
}

.marca-item img {
  width: 176px;
}

.marca-nombre {
  text-align: center;
  font-family: 'Raleway';
  color: #133E82;
  font-weight: bold;
  font-size: 16px;
  margin-top: 8px;
}

.confort-contenido {
  background: linear-gradient(76deg,
      #133E82 10%,
      #E83B39 90%);
  text-align: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.confort-info {
  margin: 0 auto;
  max-width: 704px;
  padding: 0 24px;
  text-align: center;
}

.confort-titulo {
  color: white;
  font-family: 'Raleway';
  font-size: 32px;
  margin-top: 8px;
  margin-bottom: 0;
}

.confort-descripcion {
  color: white;
  font-family: 'Raleway';
  font-size: 24px;
  margin-top: 8px;
}

.confort-boton {
  background-color: #E83B39;
  margin-top: 20px;
}

.confort-boton:hover {
  background-color: #c52d2b;
}

/* Popup de reservas */

.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.popup-contenido {
  background: #fff;
  width: 90%;
  max-width: 1000px;
  margin: 10% auto;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.cerrar {
  float: right;
  font-size: 40px;
  cursor: pointer;
}

/* Responsive */

/* Responsive para pantallas grandes */
@media screen and (max-width: 1370px) {
  .contenido-principal {
    padding-top: 110px;
  }

  .banner-contenido {
    top: 50%;
    left: 5%;
    width: 50%;
  }

  .banner-titulo {
    font-size: 23px;
  }

  .banner-descripcion {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 5%;
  }

  .servicios-lista {
    gap: 20px;
  }

  .marcas-contenido {
    margin: 55px 60px;
  }

  .marcas-lista {
    gap: 50px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .marca-item img {
    width: 140px;
  }
}

/* Tablets más grandes */
@media screen and (max-width: 926px) {

  .contenido-principal {
    padding-top: 120px;
  }

  .banner-imagen {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-bottom: 0;
  }

  .banner-contenido {
    width: 75%;
    margin-left: -5%;
    margin-bottom: 0;
  }

  .banner-titulo {
    font-size: 26px;
  }

  .banner-titulo span {
    display: block;
  }

  .banner-descripcion {
    font-size: 12px;
    margin-bottom: 15px;
    margin-right: 10%;
    line-height: 1.5;
  }

  .btn-standard {
    padding: 10px 22px;
    font-size: 14px;
  }

  .especialidades-titulo {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 26px;
  }

  .especialidades-columnas {
    flex-direction: column;
    gap: 4px;
  }

  .columna-calderas,
  .columna-aire,
  .columna-aerotermia {
    width: 100%;
    border-radius: 0;
    border: 0;
  }

  .mantenimiento-columnas {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    margin-top: 50px;
  }

  .mantenimiento-info,
  .mantenimiento-imagen {
    width: 100%;
  }

  .mantenimiento-imagen {
    order: 1;
    border: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .mantenimiento-foto {
    width: 110%;
    height: auto;
    display: block;
    border-radius: 0;
  }

  .mantenimiento-info {
    order: 2;
    border-radius: 0;
    border: 0;
    background-color: white;
    margin: 0;
    padding: 15px;
    text-align: center;
    margin-bottom: 10%;
  }

  .mantenimiento-boton {
    display: inline-block;
    margin: 0 auto;
    border-radius: 60px;
  }

  .servicios-titulo {
    font-size: 32px;
  }

  .servicios-lista {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .servicio-descripcion {
    max-width: none;
    width: 100%;
    text-align: center;
  }

  .marcas-titulo {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .marcas-lista {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    animation: deslizar 20s linear infinite alternate;
  }

}

/* Tablets medianas */
@media screen and (max-width: 767px) {

  .whatsapp-btn {
    width: 25px;
    height: 25px;
    right: 15%;
    bottom: 8%;
  }

  .contenido-principal {
    padding-top: 120px;
  }

  .banner-imagen {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-bottom: 0;
  }

  .banner-contenido {
    width: 75%;
    margin-left: -5%;
    margin-bottom: 0;
  }

  .banner-titulo {
    font-size: 24px;
  }

  .banner-titulo span {
    display: block;
  }

  .banner-descripcion {
    font-size: 12px;
    margin-bottom: 15px;
    margin-right: 10%;
    line-height: 1.5;
  }

  .btn-standard {
    padding: 8px 20px;
    font-size: 13px;
  }

  .especialidades-titulo {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 30px;
  }

  .especialidades-columnas {
    flex-direction: column;
    gap: 40px;
  }

  .columna-calderas,
  .columna-aire,
  .columna-aerotermia {
    width: 100%;
    border-radius: 0;
    border: 0;
  }

  .mantenimiento-columnas {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    margin-top: 50px;
  }

  .mantenimiento-info,
  .mantenimiento-imagen {
    width: 100%;
  }

  .mantenimiento-imagen {
    order: 1;
    border: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .mantenimiento-foto {
    width: 110%;
    height: auto;
    display: block;
    border-radius: 0;
  }

  .mantenimiento-info {
    order: 2;
    border-radius: 0;
    border: 0;
    background-color: white;
    margin: 0;
    padding: 15px;
    text-align: center;
    margin-bottom: 10%;
  }

  .mantenimiento-boton {
    display: inline-block;
    margin: 0 auto;
    border-radius: 60px;
  }

  .servicios-titulo {
    font-size: 30px;
  }

  .servicios-lista {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .servicio-descripcion {
    max-width: none;
    width: 100%;
    text-align: center;
  }

  .marcas-titulo {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .marcas-lista {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    animation: deslizar 15s linear infinite alternate;
  }

  @keyframes deslizar {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-230%);
    }
  }
}

/* Responsive para moviles y tablets pequeñas */
@media screen and (max-width: 480px) {
  .whatsapp-btn {
    width: 24px;
    height: 24px;
    right: 16%;
    bottom: 8%;
  }

  .contenido-principal {
    padding-top: 112px;
  }

  /* Sección Banner - Especializada */
  .seccion-banner {
    padding-bottom: 0;
    min-height: 400px;
  }

  .banner-imagen {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: 56% center;
    display: block;
    margin-bottom: 0%;
  }

  .banner-contenido {
    width: 100%;
    left: 0;
    margin-left: 0;
    margin-bottom: 0;
    padding: 24px;
    box-sizing: border-box;
  }

  .banner-titulo {
    font-size: 24px;
    /* Slightly smaller than section titles for better fit */
    font-weight: 800;
  }

  .banner-titulo span {
    display: block;
  }

  .banner-descripcion {
    font-size: 16px;
    /* Standard Body Text */
    line-height: 1.6;
    margin-bottom: 16px;
    margin-right: 8%;
  }

  /* Clases Globales de Jerarquía para Móvil */
  .btn-standard {
    padding: 8px 24px;
    font-size: 16px;
    border-radius: 64px;
  }

  .especialidades-titulo,
  .servicios-titulo,
  .marcas-titulo,
  .confort-titulo {
    font-size: 24px;
    /* Title Standard */
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 24px;
    padding: 0 24px;
  }

  .calderas-titulo,
  .aire-titulo,
  .aerotermia-titulo,
  .mantenimiento-titulo,
  .servicio-nombre {
    font-size: 24px;
    /* Subtitle Standard */
    font-weight: 700;
    margin-bottom: 16px;
  }

  .calderas-descripcion,
  .aerotermia-descripcion,
  .aire-descripcion,
  .mantenimiento-texto,
  .servicio-descripcion,
  .confort-descripcion {
    font-size: 16px;
    /* Body Text Standard */
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 24px;
  }

  /* Secciones con Padding Consistente */
  .especialidades-contenido,
  .servicios-contenido,
  .marcas-contenido,
  .confort-contenido {
    padding: 24px 24px;
    margin: 0;
  }

  .especialidades-columnas {
    flex-direction: column;
    gap: 32px;
    margin: 0;
    padding: 0;
  }

  .columna-calderas,
  .columna-aire,
  .columna-aerotermia {
    width: 100%;
    border-radius: 16px;
    /* Restored for better look */
    border: 1px solid #D9D9D9;
    padding: 32px 24px;
  }

  .mantenimiento-columnas {
    flex-direction: column;
    gap: 0;
    margin: 40px 0;
    padding: 0;
  }

  .mantenimiento-info,
  .mantenimiento-imagen {
    width: 100%;
  }

  .mantenimiento-imagen {
    order: 1;
    border: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .mantenimiento-foto {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
  }

  .mantenimiento-info {
    order: 2;
    border-radius: 0;
    border: 0;
    background-color: white;
    margin: 0;
    padding: 32px 24px;
    text-align: center;
  }

  .mantenimiento-boton {
    display: inline-block;
    margin: 16px auto 0 auto;
  }

  .servicios-lista {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column for better readability on small info bits */
    gap: 32px;
  }

  .servicio-item {
    padding: 0;
  }

  .marcas-lista {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    animation: deslizar 16s linear infinite alternate;
  }

  @keyframes deslizar {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-200%);
    }
  }
}
