/* ==================== RESETEO ==================== */
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}
.inicio-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: clamp(1rem, 5vw, 3rem);
  background-image: url(/IMG/fondoParaEmpresa.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.inicio-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content-minimal {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 900px;
}

.hero-line-left,
.hero-line-right {
  width: 3px;
  height: 200px;
  background: linear-gradient(180deg, #ff7a00, #002a55);
  border-radius: 2px;
  animation: expandLine 1s ease-out forwards;
}

@keyframes expandLine {
  from {
    height: 0;
  }
  to {
    height: 200px;
  }
}

.hero-main-content {
  text-align: center;
  color: white;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: #ff7a00;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  animation: slideInDown 0.8s ease-out;
}

.hero-main-content h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.2;
  animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.hero-main-content p {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 300;
  margin: 0 0 40px 0;
  color: rgba(255, 255, 255, 0.8);
  animation: slideInUp 0.8s ease-out 0.3s backwards;
}

.stats-vertical {
  display: flex;
  gap: 50px;
  justify-content: center;
  margin-bottom: 40px;
  animation: slideInUp 0.8s ease-out 0.4s backwards;
}

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

.stat-number {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: #ff7a00;
}

.stat-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* .cta-button {
  background: #ff7a00;
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease-out 0.5s backwards;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
} */

@media (max-width: 768px) {
  .hero-content-minimal {
    gap: 20px;
  }

  .hero-line-left,
  .hero-line-right {
    display: none;
  }

  .stats-vertical {
    gap: 40px;
  }
}
.main {
  display: flex;

  flex-direction: column;
  align-items: center;
  background: white;
  width: 100%;
  min-height: auto;
  z-index: 1;
}

/* ==================== SOBRE NOSOTROS ==================== */
.sobre-nosotros {
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem);
  background-image: url("/IMG/fondo-empresa.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.sobre-nosotros h1 {
  text-align: center;
  font-size: clamp(2rem, 7vw, 3rem);
  color: rgb(255, 255, 255);
  margin: 0 0 1.5rem 0;
}

.sobre-nosotros p {
  width: min(90%, 700px);
  margin: 0 auto;
  text-align: center;
  word-spacing: 0.25rem;
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: rgb(255, 255, 255);
  line-height: 1.7;
}

/* ==================== MISIÓN Y VISIÓN ==================== */
.mision-vision-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.Mision,
.Vision {
  width: min(90%, 450px);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.Vision h1,
.Mision h1 {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  color: rgb(46, 46, 46);
  margin: 0 0 1rem 0;
}

.Vision p,
.Mision p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: rgb(54, 54, 54);
  line-height: 1.6;
  margin: 0;
}

/* ==================== VALORES ==================== */
.valores {
  margin-top: 0;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.valores h1 {
  text-align: center;
  font-weight: 300;
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  margin: 0 0 2rem 0;
}

.valores-contenedor {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 5rem);
}

.confianza,
.responsabilidad,
.especializacion {
  display: flex;
  width: min(90%, 320px);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.confianza img,
.responsabilidad img,
.especializacion img {
  width: clamp(60px, 12vw, 90px);
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 1rem;
}

.confianza h1,
.responsabilidad h1,
.especializacion h1 {
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 200;
  margin: 0 0 0.75rem 0;
}

.confianza p,
.responsabilidad p,
.especializacion p {
  font-size: clamp(0.9rem, 3vw, 1rem);
  line-height: 1.6;
  color: rgb(54, 54, 54);
}

/* ==================== DATOS EMPRESA (2 FILAS × 3 COLUMNAS) ==================== */
.datos-empresa {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  width: 100%;
  height: auto;
  gap: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
  justify-items: center;
  align-items: start;
  background-image: url("/IMG/circuitos.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
}

.datos-empresa div {
  background-color: #ffffff;
  padding: clamp(1.25rem, 3vw, 1.5rem);
  border-radius: 0.5rem;
  width: min(90%, 280px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.datos-empresa div:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.tiempo-empresa img,
.clientes img,
.modulos img,
.desarrollo-implementacion img,
.horas img,
.certificacion img {
  width: clamp(50px, 10vw, 60px);
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
}

.datos-empresa p {
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: rgb(54, 54, 54);
  margin: 0;
  line-height: 1.5;
}

/* ==================== TRABAJA CON NOSOTROS ==================== */
.trabaja-con-nosotros {
  width: 100%;
  /* margin-top: 120px; */
  background: linear-gradient(135deg, #eef7fa 0%, #eef7fa 100%);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-sizing: border-box;
}

.trabaja-con-nosotros-contenedor {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.75rem rgba(0, 0, 0, 0.13);
}

/* Presentación */
.presentacion {
  position: relative;
  flex: 1;
  min-height: 400px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(/IMG/presentacion-img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 4vw, 2.5rem);
}

.presentacion-texto {
  max-width: 400px;
}

.presentacion-texto h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.presentacion-texto p {
  font-family: "Open Sans", sans-serif;
  font-size: clamp(1rem, 3vw, 1.1rem);
  line-height: 1.6;
  margin: 0;
}

/* Formulario */
.formulario {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 4vw, 2.5rem);
  background: #fefefe;
}

.formulario form {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1rem);
  width: 100%;
  max-width: 420px;
}

.formulario h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #000000c2;
  text-align: left;
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="tel"],
.formulario textarea {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  padding: clamp(0.75rem, 2vw, 1rem);
  border: 1.5px solid #000000;
  border-radius: 0.5rem;
  background: #f8fbfc;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

.formulario input:focus,
.formulario textarea:focus {
  border: 1.5px solid #0059ff;
  box-shadow: 0 0 0 2px #bbecff5c;
}

.formulario textarea {
  resize: vertical;
  min-height: 90px;
  max-height: 220px;
}

/* Input file */
.adjunto-label {
  background: hsla(229, 100%, 50%, 0.856);
  border: 1.3px solid #b2eff7;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: #ffffff;
  cursor: pointer;
  padding: clamp(0.75rem, 2vw, 1rem);
  transition: border 0.2s, background 0.2s, color 0.2s;
}

.adjunto-label input[type="file"] {
  display: none;
}

.adjunto-label:hover {
  border: 1.5px solid #fcb64e;
  background: #ff8513;
}

/* Botón */
.formulario button[type="submit"] {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 3vw, 1.1rem);
  font-weight: 700;
  background: #0059ff;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: clamp(0.75rem, 2vw, 1rem);
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.19s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 4px 18px #b4e2fb38;
  letter-spacing: 0.5px;
}

.formulario button[type="submit"]:hover {
  filter: brightness(1.08);
  background: #ff8513;
  box-shadow: 0 6px 26px #00000098;
  transform: translateY(-2px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .datos-empresa {
    gap: clamp(1rem, 2vw, 1.5rem);
  }

  .datos-empresa div {
    width: min(85%, 260px);
  }
}

@media (max-width: 900px) {
  .trabaja-con-nosotros-contenedor {
    flex-direction: column;
  }

  .presentacion,
  .formulario {
    width: 100%;
  }

  .presentacion {
    min-height: 300px;
    padding: clamp(1.5rem, 3vw, 2rem);
  }
}

@media (max-width: 768px) {
  .inicio-container {
    padding: clamp(1rem, 3vw, 1.5rem);
    justify-content: flex-end;
    padding-bottom: clamp(2rem, 5vw, 3rem);
  }

  .sobre-nosotros {
    padding: clamp(1.5rem, 4vw, 2.5rem);
  }

  .sobre-nosotros h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }

  .sobre-nosotros p {
    width: min(95%, 600px);
    font-size: clamp(0.95rem, 3vw, 1.1rem);
  }

  .mision-vision-contenedor {
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(1.5rem, 3vw, 2rem);
  }

  .Mision,
  .Vision {
    width: min(90%, 100%);
  }

  .valores {
    padding: clamp(1.5rem, 3vw, 2rem);
  }

  .valores-contenedor {
    gap: clamp(1rem, 3vw, 2rem);
  }

  .confianza,
  .responsabilidad,
  .especializacion {
    width: min(90%, 280px);
  }

  .datos-empresa {
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(1.5rem, 3vw, 2rem);
  }

  .datos-empresa div {
    width: min(85%, 240px);
  }

  .trabaja-con-nosotros {
    padding: clamp(1.5rem, 3vw, 2rem);
  }

  .formulario input,
  .formulario textarea {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .inicio-container-text {
    padding: 0.5rem 0.75rem;
  }

  .inicio-container-text h1 {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .inicio-container-text p {
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
  }

  .sobre-nosotros p {
    width: min(95%, 500px);
  }

  .datos-empresa {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 0.75rem;
    padding: 1rem;
  }

  .datos-empresa div {
    width: 100%;
    padding: 1rem;
  }

  .presentacion {
    min-height: 250px;
  }

  .formulario {
    padding: 1.5rem 1rem;
  }

  .formulario h1 {
    font-size: 1.3rem;
  }

  .formulario input,
  .formulario textarea,
  .adjunto-label {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .inicio-container {
    padding: 0.75rem;
  }

  .inicio-container-text {
    padding: 0.5rem 0.75rem;
    gap: 0.75rem;
  }

  .datos-empresa {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .mision-vision-contenedor {
    gap: 1rem;
  }

  .presentacion-texto,
  .formulario form {
    width: 100%;
  }
}
