/* ==== ESTILOS GENERALES ==== */





/* ================= FUENTE PERSONALIZADA ================= */

@font-face {
  font-family: "Somic";
  src: url("Fonts/Somic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Somic";
  src: url("Fonts/Somic-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Somic";
  src: url("Fonts/Somic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #fff;
  background-color: #073b3a;
}

/* Color base: #073b3a */

/* ==== HEADER ==== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: #fff;
  position: relative;
}

/* Contenedor de logos */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img:first-child {
  width: 45px;
}

.logo img.logo-extra {
  width: 125px;
  height: auto;
}

/* Texto del logo */
.logo p {
  color: #073b3a;
  font-size: 0.9rem;
  margin: 0;
}

/* ==== NAV ==== */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: #073b3a;
  text-decoration: none;
  font-weight: 500;
}

/* ==== BOTÓN HAMBURGUESA ==== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 25px;
  height: 20px;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: #073b3a;
  border-radius: 3px;
}

/* ==== HERO SECTION ==== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4% 5%;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  min-height: 100vh; /* 👈 ocupa toda la altura visible */
}

.hero-content {
  position: relative;
  width: 50%;
  z-index: 3;
}

.hero-content h1 {
  font-size: clamp(44px, 5.5vw, 84px); /* 👈 tamaño grande y responsive */
  line-height: 1.05;                  /* 👈 mejor espaciado entre líneas */
  font-weight: 700;                   /* 👈 Poppins normalmente soporta hasta 900 */
  margin: 1rem 0;
  color: #ffffff;                     /* 👈 evita blanco sobre blanco */
}

.hero-content p {
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #ffffff; /* 👈 más legible sobre fondo blanco */
}

.hero-content h5 {
  font-size: 2rem;
  font-weight: 500;
  margin-top: 1.5rem;
  color: #ffffff; /* 👈 consistente con el hero en blanco */
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: #b3e0d2;
  color: #073b3a;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
}

/* ==== HERO MEDIA ==== */
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  background: url("images/Trabajando.jpg") no-repeat center center / cover;
  z-index: 0;
  opacity: 1;
}

/* ==== HERO MEDIA 2 ==== */
.hero-media2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  background: url("images/Recurso 2.png") no-repeat center center / cover;
  z-index: 1;
  opacity: 1;
}

.hero-media,
.hero-media2 {
  height: 100%;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
  header {
    padding: 1rem 2rem;
  }

  /* Logo más pequeño */
  .logo img {
    width: 40px;
  }

  .logo-extra {
    width: 45px;
  }

  /* ==== MENÚ HAMBURGUESA ==== */
  .menu-toggle {
    display: flex;   /* 👈 antes estaba none, por eso nunca aparecía */
    flex-direction: column;
    justify-content: center;
    width: 25px;
    height: 20px;
    cursor: pointer;
    gap: 5px;
    z-index: 1001; /* 👈 asegura que esté visible encima de todo */
    position: relative;
  }

  .menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #073b3a;
    border-radius: 3px;
  }

  /* ==== MENÚ DESPLEGABLE ==== */
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 80px;
    right: 30px;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1000; /* 👈 ahora el menú aparece por encima del contenido */
  }

  nav ul.active {
    display: flex;
  }

  /* HERO */
  .hero {
    flex-direction: column;
    padding: 3rem 2rem;
    background: url("images/Recurso 2.png") no-repeat center center / cover;
  }

  .hero-content {
    width: 100%;
    text-align: center;
    z-index: 2;
  }

  /* Ocultamos la imagen de personas trabajando */
  .hero-media {
    display: none;
  }

  /* Ocultamos div duplicado de curva */
  .hero-media2 {
    display: none;
  }

  .hero-content h1 {
    font-size: 4.8rem; /* si quieres fijo en móvil, lo dejamos */
  }
}


/* ================================================ ÍCONO DECORATIVO ENTRE IMÁGENES ======================================================== */
.hero-icon {
  position: absolute;
  bottom: 30px; /* 👈 aparece al fondo en pantallas grandes */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-icon img {
  width: 40px;
  height: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    padding: 3rem 2rem;
    background: url("images/Recurso 2.png") no-repeat center center / cover;
  }

  .hero-content {
    width: 100%;
    text-align: center;
    z-index: 2;
  }

  .hero-media {
    display: none;
  }

  .hero-media2 {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  /* 👇 El ícono se mueve debajo del botón CTA */
  .hero-icon {
    position: relative;  /* se comporta como parte del flujo normal */
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 2rem; /* espacio debajo del botón */
    display: flex;
    justify-content: center;
  }

  .hero-icon img {
    width: 40px;
    opacity: 1;
  }
}






/* ================================================ ESTILOS 2 PARTE ======================================================== */




/* ==== SECCIÓN SOBRE NOSOTROS ==== */
.about-section {
  background-color: #ffffff;
  padding: 6rem 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #073b3a;
  border-radius: 20px;
  padding: 3rem;
  gap: 3rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-image img {
  width: 400px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.about-text {
  color: #ffffff;
  max-width: 600px;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.btn-about {
  background-color: #b3e0d2;
  color: #073b3a;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.3s;
}

.btn-about:hover {
  background-color: #8fcfbd;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .about-image img {
    width: 100%;
    max-width: 350px;
  }
}




/* ==== SECCIÓN TABS SERVICIOS EXTENDIDOS ==== */
.about-tabs {
  background-color: #ffffff;
  padding: 6rem 8%;
  text-align: center;
}

.about-tabs h2 {
  color: #073b3a;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.tabs-container {
  background-color: #073b3a;
  border-radius: 15px;
  padding: 2rem;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ==== TABS ==== */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab {
  background-color: #0a4a49;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.tab.active {
  background-color: #b3e0d2;
  color: #073b3a;
}

/* ==== CONTENIDO ==== */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab-info {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Imagen circular */
.tab-image img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #b3e0d2;
}

.tab-text {
  max-width: 500px;
  text-align: left;
}

.tab-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.tab-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-tab {
  display: inline-block;
  background-color: #b3e0d2;
  color: #073b3a;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-tab:hover {
  background-color: #8fcfbd;
}

/* ==== ANIMACIÓN ==== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
  .tab-info {
    flex-direction: column;
    text-align: center;
  }

  .tab-text {
    text-align: center;
  }

  .tab-image img {
    width: 220px;
    height: 220px;
  }
}



/* ============================================ SECCION PARTE 3 ======================================== */


/* ==== SECCIÓN EMPRESA PRINCIPAL ==== */
.empresa-principal {
  position: relative;
  background-color: #1f6f73; /* color turquesa sólido */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 19rem 8%;
  font-family: 'Poppins', sans-serif;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.empresa-content h3 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.empresa-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.btn-empresa {
  background-color: #ffffff;
  color: #1f6f73;
  padding: 0.8rem 1.8rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-empresa:hover {
  background-color: #b3e0d2;
  color: #073b3a;
}

/* ==== SECCIÓN EMPRESA STATS ==== */
.empresa-stats {
  background-color: #ffffff;
  color: #073b3a;
  display: flex;
  justify-content: center;
  gap: 5rem;
  padding: 4rem 2rem;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.stat {
  text-align: center;
}

.stat h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat p {
  font-size: 1.1rem;
}

/* ====================================== SECCIÓN EN RE&OR FONDO AZUL ====================================== */
.empresa-section {
  background-color: #1f6f73;
  color: #ffffff;
  padding: 19rem 7%; /* antes era 6rem, ahora más alto */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.empresa-content h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.empresa-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3rem;
}

.btn-empresa {
  background-color: #2b8a8d;
  color: #ffffff;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-empresa:hover {
  background-color: #b3e0d2;
  color: #073b3a;
}

/* ==================================== SECCIÓN DE ESTADÍSTICAS ================================================= */
.empresa-stats {
  background-color: #ffffff;
  color: #073b3a;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18rem; /* antes 5rem, más espacio entre los items */
  padding: 18rem 7rem; /* antes 3rem, ahora más alto */
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.stat p {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
  .empresa-section {
    text-align: center;
    align-items: center;
    padding: 6rem 2rem; /* también más grande en móviles */
  }

  .empresa-content h1 {
    font-size: 2.3rem;
  }

  .empresa-stats {
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 1rem;
  }

  .stat h2 {
    font-size: 2.5rem;
  }
}



/* ==================================== Historia de algunos de nuestros clientes ================================================= */





/* ==== SECCIÓN CLIENTES ==== */
.clientes-section {
  background-color: #d9e4df;
  padding: 14rem 7rem;
  text-align: center;
  color: #073b3a;
}

.clientes-section h2 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

/* Contenedor principal */
.cliente-historia {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap; /* permite reorganizar elementos en pantallas pequeñas */
}

/* Línea turquesa de fondo */
.linea-fondo {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 59px;
  background-color: #073b3a;
  transform: translateY(-50%);
  z-index: 0;
  border-radius: 4px;
}

/* Círculo del logo */
.cliente-imagen {
  background-color: #073b3a;
  border-radius: 50%;
  padding: 12px;
  width: 260px;
  height: 260px;
  z-index: 2;
  flex-shrink: 0;
}

.cliente-imagen img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
  object-fit: cover;
}

/* Texto del cliente */
.cliente-info {
  background-color: transparent;
  color: #fff;
  text-align: left;
  padding-left: 2rem;
  max-width: 550px;
  z-index: 2;
}

.cliente-info h3 {
  color: #073b3a;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cliente-info p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Botón */
.btn-verde {
  background-color: #073b3a;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Línea inferior decorativa */
.linea-final {
  margin: 4rem auto 0;
  width: 50%;
  height: 7px;
  background-color: #073b3a;
  border-radius: 10px;
  position: relative;
}

.linea-final::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-color: #073b3a;
  border-radius: 50%;
}

/* ==== 🔹 RESPONSIVE ==== */
@media (max-width: 992px) {
  .clientes-section {
    padding: 8rem 3rem;
  }

  .cliente-historia {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .linea-fondo {
    display: none; /* oculta la línea en pantallas pequeñas */
  }

  .cliente-imagen {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
  }

  .cliente-info {
    padding-left: 0;
    color: #073b3a;
    text-align: center;
  }

  .cliente-info h3 {
    font-size: 1.4rem;
  }

  .cliente-info p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .clientes-section {
    padding: 6rem 2rem;
  }

  .cliente-imagen {
    width: 160px;
    height: 160px;
  }

  .cliente-info h3 {
    font-size: 1.2rem;
  }

  .cliente-info p {
    font-size: 0.9rem;
  }
}

/* ================================================== EQUIPO ================================================= */


/* ==== SECCIÓN EMPRESA CON IMAGEN ==== */
.empresa-section {
  position: relative;
  background: url("images/Equipo.jpg") no-repeat center center / cover;
  background-attachment: scroll;
  min-height: 90vh;
  display: flex;
  align-items: center;      /* centra verticalmente */
  justify-content: center;  /* centra horizontalmente */
  text-align: center;       /* centra el texto */
  padding: 6rem 8%;
  font-family: 'Poppins', sans-serif;
  color: #043b3a;
  z-index: 1;
}

.empresa-content {
  position: relative;
  z-index: 2;
  max-width: 800px; /* evita que se extienda demasiado en pantallas grandes */
}



.empresa-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 0;
}

.empresa-section .empresa-content {
  position: relative;
  z-index: 2;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
  .empresa-stats {
    flex-direction: column;
    gap: 2rem;
  }
}






/* ========================================== ENVIO MENSAJE ====================================== */




/* ==== SECCIÓN CONTACTO ==== */
.contact-section {
  position: relative;
  background: url("images/Recurso 3.png") no-repeat center center / cover;
  background-attachment: scroll;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
  font-family: "Poppins", sans-serif;
  z-index: 1;
}

/* Fondo base turquesa */
/*
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #156f73; 
  opacity: 0.95;
  z-index: 0;
}
*/

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 600px;
  width: 100%;
  text-align: left;
}

.contact-container h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

input,
select,
textarea {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1px solid #b3dcd2;
  border-radius: 15px;
  background: transparent;
  color: #ffffff;
  outline: none;
  font-family: "Poppins", sans-serif;
}

input::placeholder,
textarea::placeholder {
  color: #e0f2f1;
}

label {
  font-size: 0.8rem;
  color: #d9e4df;
}

select {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #b3dcd2;
  border-radius: 15px;
  padding: 0.6rem 0.8rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* Fondo del menú desplegable */
select option {
  background-color: #156f73; /* Fondo del menú */
  color: #ffffff;           /* Texto visible */
}

/* Opción al pasar el cursor o seleccionar */
select option:hover,
select option:checked {
  background-color: #1d8b8b;
  color: #ffffff;
}

textarea {
  resize: none;
}

.btn-enviar {
  background-color: #e0f2f1;
  color: #156f73;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-enviar:hover {
  background-color: #b3e0d2;
}

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #e0f2f1;
}



/*==========================================Pie de Pagina=================================*/




/* ==== FOOTER ==== */
.footer {
  background-color: #053b3a;
  color: #ffffff;
  padding: 3rem 5%;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

/* ==== LOGO E ÍCONOS ==== */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center; /* centramos el logo y los íconos */
  justify-content: center;
  text-align: center;
}

.footer-logo {
  width: 160px;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  justify-content: center; /* centramos los íconos horizontalmente */
  gap: 1rem;
}

.footer-social img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s;
}

.footer-social img:hover {
  transform: scale(1.1);
}


/* ==== MENÚ CENTRAL ==== */
.footer-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #b3e0d2;
}

/* ==== CONTACTO Y HORARIO ==== */
.footer-right {
  text-align: right;
}

.footer-right p {
  margin: 0.3rem 0;
}

/* ==== LÍNEA Y COPYRIGHT ==== */
.footer hr {
  border: 0;
  border-top: 1px solid #b3dcd2;
  margin: 2rem 0 1rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #d9e4df;
}

.footer-bottom a {
  color: #b3e0d2;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
}
