/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #e63946; /* Rojo corporativo */
  color: #333;
  line-height: 1.6;
}

/* ---------------- HEADER ---------------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #e63946;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
}

/* Logo + texto */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  margin-right: 10px;
}

.logo-text {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Menú */
.nav-menu {
  display: flex;
  gap: 1rem;
}

.nav-menu a {
  color: #fff;
  background-color: #000;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-menu a:hover {
  background-color: #333;
  transform: scale(1.05);
}

/* Redes sociales */
.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-left: 1rem;
}

.social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.social-icon:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* ---------------- HERO ---------------- */
.hero {
  margin-top: 80px;
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
}

.hero-title {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0 1rem;
}

/* ---------------- SECCIONES GENERALES ---------------- */
main {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.section {
  margin-bottom: 6rem;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.servicios {
  background-color: #fceeee;
}

.conocenos {
  background-color: #ffffff;
}

.contacto {
  background-color: #fff5f5;
}

/* Títulos */
.section-title {
  background-color: #e58a12;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(30, 144, 255, 0.2);
}

.section-title h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

/* Contenido */
.section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.section p {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  color: #444;
}

/* ---------------- LISTA DE SERVICIOS ---------------- */
.servicios-lista {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  list-style: none;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.servicios-lista li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.servicios-lista li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: #1e90ff;
  font-size: 1.3rem;
  font-weight: bold;
}

/* ---------------- IMÁGENES ---------------- */
.image-double {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.img-secundaria {
  width: 45%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.img-secundaria:hover {
  transform: scale(1.05);
}

.image-double-servicios {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.image-double-servicios iframe {
  flex: 1 1 500px;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ---------------- CONTACTO ---------------- */
#contacto {
  text-align: center;
}

.contact-list {
  list-style: none;
  margin-top: 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.contact-list li {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.contact-icon:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.social-icon2 {
  width: 55px;
  height: 55px;
  margin: 0.5rem;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.social-icon2:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* ---------------- BOTÓN WHATSAPP ---------------- */
.whatsapp-float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 10000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.whatsapp-float-icon {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Menú oculto en móvil, recomendable usar hamburguesa después */
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .img-secundaria {
    width: 100%;
    max-width: none;
  }

  .image-double {
    flex-direction: column;
    gap: 1rem;
  }

  .image-double-servicios iframe {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.4rem;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .whatsapp-float {
    width: 60px;
    height: 60px;
  }

  .whatsapp-float-icon {
    width: 45px;
    height: 45px;
  }
}