/* TipografÃ­a global */
body, input, textarea, button, a {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h2 {
  text-align: center;
}



body {
  background-image: url('/assets/images/bg.jpg');
  background-size: cover;         /* La imagen cubrirÃ¡ todo el fondo */
  background-position: center;    /* Centrada */
  background-repeat: no-repeat;   /* No se repetirÃ¡ */
  background-attachment: fixed;   /* Fijo al hacer scroll (opcional) */
 
}

/* Loader */
#loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: #071c77;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.1s ease;
}
#loader img {
  width: 50vw;
  max-width: 320px;
  opacity: 1;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #071c77;
  color: white;
  padding: 10px 20px;
}
.logo {
  width: 320px;
  height: auto;
}
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}
.menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.menu li a:hover {
  color: #00f9ff;
}
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}
    
/* Responsive */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    align-items: center;
  }
  .form-container {
    width: 90vw;

  }
  .menu {
    display: none;
    flex-direction: column;
    background-color: #071c77;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 20px;
    border-radius: 0 0 0 10px;
  }
  .menu.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}

    * {
    box-sizing: border-box;
}

/* Contact buttons block  */
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 15px 0;
}

.contact-buttons-pulse {
  background-color: #00f9ff;
  color: #071c77e8;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: pulse-grow 1s infinite;

}
.btn-contact:hover, .btn-contact2:hover {
  animation: pulse-grow 1s infinite;
  transform: scale(1.1);
}

/* Pulse-grow animation */
@keyframes pulse-grow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}


/* Boton Recurrente */
.btn-container {
    text-align: center; 
    margin: 40px 0;
}

.contactar-btn {
  
  margin-top: 10px;
  padding: 8px 16px;
  background: #00f9ff;
  color: #071c77e8;
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  animation: pulse 2s infinite;
  
}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}


/* Contenedor principal */
.main-container {

  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: nowrap;
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px;
}

.slider-header {
  animation: fadeSlideDown 1s ease forwards;
  background:#071c7731;;
  border-radius: 12px;
  padding: 18px;
  color: white;
  text-align: center;
  margin-bottom: 10px;
}

.slider-header h2 {
  font-size: 1.8rem;
  color: #071c77;
}

.slider-header p {
  font-size: 1.4rem;
  font-family: 'Open Sans', sans-serif;
  color:#071c77;
}

.slider-header h2::after {
  content: '';
  display: block;
  width:  10px; 
  margin: 10px auto 0;
  border-bottom: 5px solid #00f9ff;
  animation: expandLine 1.2s ease forwards;
}

@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 60%; /* Ancho exacto que prefieras */
    opacity: 1;
  }
}



/* Formulario */
.form-container {
  width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;

    gap: 15px;

  background-color:#0056b3;
  border-radius: 14px;
  padding: 15px;
  
}

.form-container h2 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 10px;
 
}
.form-container h1 {
  color: white;
  margin-bottom: 10px;
  font-weight: 10;
  font-size: 0.8rem;
  text-align: center;
  align-items: center;


}

.form-container input,
.form-container textarea,
.form-container .btn-submit {
  width: 100%;
  max-width: auto ;
  box-sizing: border-box;
  align-items: center;
}

input,
textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
}

textarea {
  min-height: 100px;
}

.btn-submit {
  background-color: #00f9ff;
  color: #071c77e8;
  border: none;
  padding: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: pulse-grow 1s infinite;
  

}

.btn-submit:hover {
  animation: pulse-grow 1s infinite;
  transform: scale(1.05);
}

.privacy-note,
.privacy-label {
  font-size: 0.8rem;
  color: #ffffffe8; 
  text-align: center;

  font-family: 'Montserrat', sans-serif;
}

.privacy-label {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.privacy-label input {
  margin: 5px 0;
}

.a {
  color: #00f9ff;
}

/* Responsive: apilar formulario y slider en pantallas pequeÃ±as */
@media (max-width: 900px) {
  .main-container {
    flex-direction: column;
    align-items: center;
  }

  .slider-wrapper,
  .form-container {
    width: 100% !important;
    max-width: 600px;
  }
}



/* Botones de contacto */
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 15px 0;
  text-decoration: none;
}
.btn-contact, .btn-contact2 {
  background-color: #00f9ff;
  color: #071c77e8;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: pulse-grow 1s infinite;

}
.btn-contact:hover, .btn-contact2:hover {
  animation: pulse-grow 1s infinite;
  transform: scale(1.1);
}

/* Pulse-grow animation */
@keyframes pulse-grow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}


/* ===== About Us Section - Optimized Spacing ===== */
.about-us {
  padding: 1rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-us__container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 1.5rem;
  align-items: center;
  background-color: #071c77e8;
  border-radius: 15px;
  padding: 20px;
}

.about-us__image {
  flex: 1 1 40%;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.about-us__image img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  object-fit: cover;
}

.about-us__content {
  flex: 1 1 40%;
  min-width: 280px;
  text-align:justify;
  padding-right: 40px;
  padding-left: 40px;
  padding-top: 10px;
  padding-bottom: 10px;

}


.about-us__title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-weight: 700;
}

.about-us__text {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.about-us__list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  color: #ffffff;
  font-weight: 500;
}

.about-us__list li {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  justify-content: center; /* Alinea horizontalmente al centro */
  align-items: center;     /* Alinea verticalmente al centro */
  gap: 2rem;              /* Espacio entre iconos */
  margin-top: 1.5rem;
  width: 100%;            /* Ocupa todo el ancho disponible */
}

.social-links a {
  color: #fefefe;
  font-size: 1.8rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  color: #00f9ff;
  transform: scale(1.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-us {
    padding: 1.5rem 1rem;
  }

  .about-us__container {
    flex-direction: column;
    text-align: center;
  }

  .about-us__image, 
  .about-us__content {
    flex: 1 1 100%;
  }

  .social-links {
    justify-content: center;
  }
}


/* SecciÃ³n servicios */

 .damage-services {
    padding:  20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

 .damage-services .section-heading {
    color:#071c77e8;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.damage-services .section-heading:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #2980b9;
    margin: 15px auto;
}

.damage-services .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin:  auto;
}

.damage-services .column {
    flex: 1 1 300px;
    max-width: 350px;
}

.service-card {
    background: rgb(255, 255, 255);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background: #101820;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #00f9ff;
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover:before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    color: #071c77e8;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    color: #00f9ff;
}
       
.service-card h3 {
    color: #071c77e8;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.service-card:hover h3 {
    color: #ffffff;
}

.service-card h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #00f9ff;
    transition: width 0.4s ease;
}
        
.service-card:hover h3:after {
    width: 100px;

}

.service-features {
    text-align: left;
    margin-bottom: 25px;
    padding-left: 20px;

}

.service-features li {
    margin-bottom: 10px;
    color: #071c77e8;
    position: relative;
    list-style: none;
    padding-left: 25px;
    transition: all 0.3s ease;
        
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00f9ff;      
    font-weight: bold;
        
}

.service-card:hover .service-features li {
    transform: translateX(5px);
    color: white;
       
}

.service-cta {
display: inline-block;
background: #071c77e8;
color: white;
padding: 12px 25px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: all 0.4s ease;
position: relative;
overflow: hidden;

}

.service-cta:hover {
background: #00f9ff;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
color: #ffffff;
        
}

.service-cta:active {
transform: translateY(1px);
            
}

/* Efecto de onda al hacer clic */
.service-cta:after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 5px;
height: 5px;
background: rgba(255,255,255,0.5);
opacity: 0;
border-radius: 100%;
transform: scale(1, 1) translate(-50%);
transform-origin: 50% 50%;
        
}

.service-cta:focus:not(:active)::after {
animation: ripple 1s ease-out;
        
}

@keyframes ripple {
0% {
transform: scale(0, 0);
opacity: 0.5;

}

100% {
transform: scale(20, 20);
opacity: 0;

}
        
}

/* Responsive */
@media (max-width: 768px) {
.damage-services .column {
flex: 1 1 100%;
            
}
            
.damage-services .section-heading {
font-size: 2rem;
            
}
        
}
       
/* BOTÃ“N EXCLUSIVO PARA HURACAN */
.huracan-container {
padding: 10px 10px;
border-radius: 14px;
max-width: 1200px;
margin: 10px auto;
color: #fff;
font-family: 'Arial', sans-serif;
position: relative;
overflow: hidden;

}

.hurricane-thermal-map {
position: relative;
height: 300px;
border-radius: 12px;
overflow: hidden;
background: #004a75;
padding: 20px;
box-sizing: border-box;
background-position: center;
background-size: cover;
background-image: url(/assets/images/Huracan.gif);
      
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);

}

.text-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
position: relative;
z-index: 2;
text-align: center;
    
}

.text-container h2 {
margin: 10px 0;
font-weight: 700;
font-size: 1.4rem;
line-height: 1.3;
    
}

#countdown {
font-size: 2.2rem;
font-weight: 900;
margin: 20px 0;
color: #00fff2;
text-shadow: 1px 1px 4px #000;
letter-spacing: 2px;
    
}

/* SecciÃ³n Equipo */

.equipo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.foto {
  position: relative;
  background-size: cover;
  background-position: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.foto:hover {
  transform: scale(1.05);
}

.foto .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 249, 255, 0.8) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 12px;
}

.foto:hover .overlay {
  opacity: 1;
  pointer-events: auto;
}

.foto .contenido {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  color: white;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.foto:hover .contenido {
  opacity: 1;
  transform: translateY(0);
}

.licencia {
  font-size: 15px;
  margin: 5px 0;
}

.contactar-btn {
  
  margin-top: 10px;
  padding: 8px 16px;
  background: #00f9ff;
  color: #071c77e8;
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  animation: pulse 2s infinite;
  
}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}


@media (max-width: 768px) {
      .navbar {
        flex-wrap: wrap;
      }
      .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #071c77;
        padding: 10px 0;
      }
      .menu.active {
        display: flex;
      }
      .hamburger {
        display: block;
      }
      .main-container, .slider-wrapper, .form-container, .about-us__container, .damage-services .row {
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 10px;
      }
      .about-us__content, .about-us__image {
        padding: 0 !important;
      }
      .damage-services .column {
        max-width: 100% !important;
      }
      .equipo {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
      }
    }


.banner-section {
  padding: 60px 20px;
}



.banner-bg-dark {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url('/assets/images/banner-sliders/house1.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 80px 20px;
  text-align: center;
}


.banner-container {
  max-width: 1200px;
  margin: 0 auto;
}

.banner-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.banner-text {
  flex: 1;
  min-width: 300px;
}

.banner-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.banner-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.banner-image {
  flex: 1;
  min-width: 300px;
}

.banner-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.boton-container {
  margin-top: 30px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .banner-text, .banner-image {
    flex: none;
    width: 100%;
  }

  .banner-text h2 {
    font-size: 1.6rem;
  }

  .banner-text p {
    font-size: 1rem;
  }
}

