.contenedor {
  display: flex;
  justify-content: center;
  /* centra horizontalmente */
  align-items: center;
  /* centra verticalmente */
  height: 100vh;
  /* ocupa todo el alto de la pantalla */
  background-color: #fafafa;
}

body {
  margin: 0px !important;
}

.caja {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.footer {
  background-color: #333333;
  color: white;
  padding: 40px 20px 10px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  gap: 30px;
}

.footer-info,
.footer-contact {
  flex: 1 1 300px;
}

.footer-info h3 {
  margin-top: 0;
  color: #00b4d8;
}

.footer a {
  color: #00b4d8;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25d366;
  color: white !important;
  padding: 8px 16px;
  border-radius: 20px;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-section {
  background-color: #333;
  /* tono intermedio del footer */
  color: white;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(rgba(9, 9, 9, 0.9), rgba(9, 9, 9, 0.8)),
  url("images/prensa.jpg");
  background-attachment: fixed;
}



.contact-section h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.contact-buttons {
  display: relative;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.whatsapp-btn,
.call-btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  margin: 10px;
  font-size: 1.5rem;
  width: 20%;
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}

.call-btn {
  background-color: rgb(248, 249, 250); /* gris oscuro neutro */
  color: #1C1C1C;
}

.call-btn:hover {
  background-color: #0093b1;
  transform: scale(1.05);
}

.newspapers-section {
  background-color: #FAFAFA;
  text-align: center;
  padding: 60px 20px;
}

.newspapers-section h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 10px;
}

.newspapers-section p {
  color: #6A6A6A;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.newspapers-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.newspaper-item {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.newspaper-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.newspaper-item img {
  max-width: 120px;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s;
}

.newspaper-item img:hover {
  filter: grayscale(0%);
}

.experience-section {
  background-color: #FAFAFA;
  padding: 80px 20px;
}

.experience-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}

.experience-text {
  flex: 1 1 500px;
}

.experience-text h2 {
  color: #333333;
  font-size: 2rem;
  margin-bottom: 20px;
}

.experience-text p {
  color: #6A6A6A;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.experience-image {
  flex: 1 1 400px;
  text-align: center;
}

.experience-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.experience-image img:hover {
  transform: scale(1.03);
}

.hero-section-principal {
  background: url("images/profesionales-fondo.jpg") no-repeat center center/cover;
  height: 100%;
}

.hero-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Para móviles */
@media (max-width: 768px) {
  .hero-section-principal {
    background: url("images/profesionales-fondo-mobile.jpg") no-repeat center center/cover;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(0, 40, 85, 0.6);*/
  /* azul oscuro semitransparente */
  background: rgba(9, 9, 9, 0.3);
  z-index: 1;
}



.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-left: 7px;
  padding-right: 7epx;
  
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f1f1f1;
  line-height: 1.6;
}

.hero-btn {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
  font-size: 1.5rem;
  margin: 10px;
  width: 20%;

}

#hero-btn-wsp{
  background-color: #333;
}

#hero-btn-wsp:hover{
  background-color: #1ebe5d;
  transform: scale(1.05);
}

.hero-btn:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

.testimonios {
  background-color: #f8f9fa;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.testimonios h2 {
  font-size: 2rem;
  color: #002855;
  margin-bottom: 40px;
}

.carousel {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.testimonial img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  color: #444;
  margin-bottom: 15px;
}

.testimonial h4 {
  font-size: 1.2rem;
  color: #002855;
  margin-bottom: 5px;
}

.testimonial span {
  font-size: 0.9rem;
  color: #777;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-buttons button {
  background-color: rgba(0, 40, 85, 0.8);
  border: none;
  color: white;
  font-size: 2rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  pointer-events: all;
  transition: background-color 0.3s;
}

.carousel-buttons button:hover {
  background-color: #002855;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial p {
    font-size: 1rem;
  }
}


/* ===== SECCIÓN SERVICIO ===== */
.servicio {
  background-color: #f8f9fa;
  padding: 80px 20px;
}

.servicio-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}

.servicio-texto {
  flex: 1 1 500px;
  text-align: left;
}

.servicio-texto h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.servicio-texto p {
  font-size: 1.1rem;
  color: #6A6A6A;
  line-height: 1.7;
}

.servicio-imagen {
  flex: 1 1 400px;
  text-align: center;
}

.servicio-imagen img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .servicio-container {
    flex-direction: column-reverse;
  }

  .servicio-texto {
    text-align: center;
  }
}

/* ===== SECCIÓN PASOS ===== */
.pasos {
  background-color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.pasos h2 {
  font-size: 2rem;
  color: #333333;
  margin-bottom: 20px;
}

.pasos .intro {
  font-size: 1.1rem;
  color: #6A6A6A;
  max-width: 700px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.pasos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.paso {
  background-color: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  flex: 1 1 300px;
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paso:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.paso-icono {
  font-size: 2.5rem;
  color: #002855;
  margin-bottom: 15px;
 
}

.paso-icono img{
   width: 100px !important;
  height: 100px !important;
}

.paso h3 {
  color: #002855;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.paso p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .pasos-container {
    flex-direction: column;
    align-items: center;
  }

  .paso {
    max-width: 90%;
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}



body {
  font-family: "Poppins", sans-serif;
  background: #f5f5f5;
}

/* === NAVBAR === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1rem 2rem;
  position: relative;
  top: 0;
  z-index: 100;
  background-color: transparent;
  padding-left: 5%;
  padding-right: 5%;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #25D366;
}

/* === Menú hamburguesa === */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #ffffff;
  margin-bottom: 5px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 50px;
    margin-top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out;
  }

  .nav-links.active {
    transform: translateY(0);
    background-color: #333333;
  }

  .hamburger {
    display: flex;
  }



  .call-btn,
  .hero-btn {
    display: inline-block;
    color: #1C1C1C;
    padding: 14px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 1.5rem;
    margin: 10px;
    width: 60% !important;
  }

  .hero-btn{
    color: white;
  }

  .whatsapp-btn-footer{
    display: inline-block;
  background-color: #25D366;
  color: white !important;
  padding: 14px 20px !important;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
  font-size: 1.5rem;
  margin: 10px;
  width: 51% !important;

}

.experience-image {
  flex: 1 1 250px;
  text-align: center;
}

}



/* Animación del ícono */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}



.whatsapp-btn-footer{
    display: inline-block;
  background-color: #25D366;
  color: white !important;
  padding: 14px 30px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
  font-size: 1.5rem;
  margin: 10px;
  width: 28%;

}

 .img-whatsapp {
    height: 18px !important;
    width: 18px !important;
    margin-right: 3%;
  }


  /*Preguntas frecuentes*/
  .faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  
}

.faq-section h2 {
  text-align: center;
  font-size: 1.9rem;
  color: #222;
  margin-bottom: 10px;
}

.faq-section .intro {
  font-size: 1.1rem;
    color: #6A6A6A;
    line-height: 1.7;
}


.faq-container details {
  background: #FAFAFA;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  transition: background 0.3s ease;
}

.faq-container details[open] {
  background: #f8f9fa;
  border-color: #002855;
}

.faq-container summary {
  cursor: pointer;
  font-weight: 600;
  color: #002855;
  font-size: 1.15rem;
  outline: none;
}

.faq-container p {
  margin-top: 10px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
