@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand/Quicksand-Regular.woff2') format('woff2'),
       url('fonts/Quicksand/Quicksand-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Sansation';
  src: url('fonts/Sansation/Sansation-Regular.woff2') format('woff2'),
       url('fonts/Sansation/Sansation-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Sansation', sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 1000px;
  background-image: url("../media/paginaPrincipalFoto.png");
  background-size: cover;
  background-position: center;
  max-width: 1920px;
  width: 97%;
  overflow: hidden;
  padding-top: 80px;
  box-sizing: border-box;
  margin: 1rem auto 0;
  z-index: 1;
}


.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 1rem 2rem;
  border-radius: 20px;  
  z-index: 1000;
  max-width: 1920px;
  margin: 1rem auto 0; 
  width: 97%;
  box-sizing: border-box;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-buttons,
.right-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-img {
  max-height: 40px;
}

.btn.contacto,
.btn.nosotros {
  background-color: #363434;
  color: #F2F1F0;
  border: none;
  padding: 0.5rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.5rem;
}

.btn.service {
  background-color: #F2F1F0;
  color: #363434;
  border: none;
  padding: 0.5rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.5rem;
}

.hero-text {
  background-color: rgba(255, 255, 255, 0.85); 
  padding: 2rem;
  border-radius: 10px;
  margin-top: -250px;
  max-width: 500px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.hero-text h2 {
  font-size: 1.5rem;        
  margin-bottom: 1.5rem;   
  font-weight: bold;
  text-align: center;       
}

.hero-text p {
  font-size: 1.1rem;
  text-align: left;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  margin-left: 40px;   
  margin-right: 40px;  
}


.btn-planes {
  background-color: #333;
  color: white;
  border: none;
  padding: 1rem 2rem;     
  margin-top: 0.1rem;
  font-size: 1.25rem;         
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  align-self: flex-end;       
}

.servicios {
  position: relative;
  top: -150px;
  background-color: rgba(94, 94, 95, 0.9);
  color: white;
  padding: 2rem 4rem;
  border-top-left-radius: 40px;
  max-width: 1800px;
  margin: 0 auto;
  z-index: 10;
  margin-bottom: -80px;
}

.servicios-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 5rem;
}

.servicios-image {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.servicios-image img {
  max-width: 250px;
  height: auto;
  border-top-left-radius: 40px;
  align-self: flex-end;
}

.servicio-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 2.5rem;
  padding-top: 1rem;
}

.servicio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid white;
  cursor: pointer;
}

.servicio-texto {
  flex: 1;
  text-align: left;
}

.mas {
  font-size: 2rem;
  font-weight: 700;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* negro 60% */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

.form-container {
  background: #3D3D3F; 
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  border-radius: 12px;
  border: 1px solid #BFBFC0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  position: relative;
  color: #BFBFC0;
}

  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .form-row input,
  .form-row textarea {
    flex: 1;
    padding: 0.75rem;
    background-color: #BFBFC0;
    color: #5E5E5F;
    border: 1px solid #5E5E5F;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
  }

  .form-row textarea {
    resize: vertical;
  }

  .label-button {
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
  }

  .label-button label {
    font-weight: 500;
    color: #BFBFC0;
  }

  .label-button button {
    padding: 0.75rem 1.5rem;
    background-color: #5E5E5F;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
  }

  .label-button button:hover {
    background-color: #4a4a4b;
  }

  .btn-cerrar {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: #5E5E5F;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
  }

  .btn-cerrar:hover {
    color: #333;
  }

.titulo-form {
  margin-bottom: 1.5rem;
}

#mensaje-agradecimiento {
  display: none;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  color: #BFBFC0;
  text-align: center;
  margin: 0 auto;  
}

#mensaje-agradecimiento h2 {
  font-size: 2rem;  
  margin: 0 0 1rem 0;
  color: #BFBFC0;
}

#mensaje-agradecimiento p {
  font-size: 1.25rem;  
  margin: 0 0 1rem 0;
  color: #BFBFC0;
}


#mensaje-agradecimiento img {
  max-width: 200px;
  margin-top: 1rem;
}


.footer {
  background-color: #969797;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 2rem 1rem 1rem;
  color: #000;
  text-align: center;
  position: relative;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin: 1rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: #000;
  font-size: 1.2rem;
  margin-left: 150px;        
  text-align: left;
}

.footer-column p {
  color: #000;
  line-height: 1.5;
  margin-left: 150px;
  text-align: left;
}

.newsletter-container {
  display: flex;
  background-color: #5E5E5F;
  border-radius: 10px;
  padding: 0.25rem;
  align-items: center;
  max-width: 300px;
  margin: auto;
}

.newsletter-container input {
  flex: 1;
  padding: 0.5rem;
  background-color: #BFBFC0;
  border: none;
  border-radius: 8px;
  color: #5E5E5F;
  outline: none;
  font-size: 0.9rem;
}

.send-btn {
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.send-btn img {
  width: 24px;
  height: 24px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  transform: translateX(-70px); 
}

.social-icons img {
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  color: #000;
  font-size: 0.9rem;
}
