/* --- Overrides finales: asegurar visibilidad del hero en móviles --- */
@media (max-width: 700px) {
  .hero {
    display: flex !important;
  }
}

/* checkpoint: 2025-10-15-landing-1 */

/* Aumentar tamaño de imágenes de áreas en escritorio (130%) */
@media (min-width: 901px) {
  .areas .area-card img {
    max-width: 260px;
    max-height: 260px;
  }
}

/* En escritorio, ajustar imagen al mismo ancho del texto debajo (ancho del contenido) */
@media (min-width: 901px) {
  .areas .area-card-content {
    max-width: 400px; /* ya definido arriba; se reafirma para claridad de layout */
  }
  .areas .area-card img {
    width: 100%;        /* ocupar el mismo ancho que el texto */
    max-width: 400px;   /* coincide con el ancho del bloque de texto */
    height: auto;       /* mantener proporción */
    max-height: none;   /* anular límite anterior para permitir el ancho completo */
  }
}
/* Importar Montserrat */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');

/* =====================
   GLOBAL STYLES & RESETS
   ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

/* =====================
   HERO, HEADER, NAVIGATION
   ===================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 7vw 18px 7vw;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__logo img {
  height: 38px;
}
.header__nav ul {
  display: flex;
  gap: 44px;
  list-style: none;
}
.header__nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1.08rem;
  transition: color 0.2s;
  padding: 6px 0;
  letter-spacing: 0.01em;
}
.header__nav a.btn-header {
  border-radius: 0;
  padding: 0;
  position: relative;
  top: -7px;
}
.header__nav a.btn-header:hover {
  background: none;
  color: inherit;
  opacity: 0.85;
}

.hero {
  background: #dfe3f1;
  position: relative;
  padding-bottom: 0;
  min-height: 480px;
  overflow: hidden;
  box-shadow: none !important;
  filter: none !important;
}
.hero__bg {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  pointer-events: none;
}
.hero__circle {
  width: 100vw;
  max-width: 100vw;
  height: auto;
  opacity: 0.72;
  display: block;
  margin: 0 auto;
  filter: none !important;
  box-shadow: none !important;
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 90px;
  padding-bottom: 40px;
}
.hero__content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero__content p {
  font-size: 1.18rem;
  color: #444;
  margin-bottom: 32px;
  font-weight: 400;
}
.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 38px;
}
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 12px 32px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  box-shadow: 0 2px 8px rgba(46,212,122,0.04);
}
.btn-green, .btn-outline {
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  padding: 8px 22px;
  height: 40px;
  min-width: 0;
}
.btn-green {
  background: url('../img/fondo-bt-quierosertalento.png') center/cover no-repeat;
  color: #fff;
  border: 1.5px solid #2ed47a;
}
.btn-green:hover {
  background: url('../img/fondo-bt-quierosertalento.png') center/cover no-repeat;
  color: #fff;
  border-color: #1fa85b;
}
.btn-outline {
  background: #fff;
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: 2px solid;
  border-radius: 999px;
  padding: 10px 32px;
  border-image: linear-gradient(90deg, #2ed47a 0%, #3bb6ff 100%);
  border-image-slice: 1;
  background-clip: padding-box;
  position: relative;
}
.btn-outline:hover {
  background: #eaf6ff;
  color: #111;
}
.logos-section {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}
.hero__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 94px;
  margin-top: 27px;
  margin-left: 0;
  margin-right: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero__logos img {
  height: 46px;
  max-width: 144px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* =====================
   SECTIONS: EXPERTOS, BIGNUMBERS, AREAS, LATAM, ENFOQUE
   ===================== */
.expertos {
  background: #f8f8f8;
  padding: 70px 7vw 40px 7vw;
  padding-top: 35px;
  margin-top: 8px;
}
.expertos__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 420px;
}
.expertos__text {
  flex: 1 1 400px;
  max-width: 500px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-right: 40px;
}
.expertos__img {
  max-width: 100%;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
}
.expertos__text h2 {
  font-size: 2rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 18px;
}
.expertos__text p {
  color: #444;
  margin-bottom: 24px;
  font-size: 1.08rem;
  text-align: justify;
}
.expertos__img img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}
.expertos__text a.btn {
  margin-bottom: 4px !important;
}

/* Bignumbers Section */
.bignumbers {
  width: 100%;
  background: url('../img/fondosps.png') center/cover no-repeat;
  padding: 48px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bignumbers__container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  justify-content: center;
}
.bignumbers__item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
  padding: 36px 32px 32px 32px;
  min-width: 280px;
  max-width: 340px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bignumbers__number {
  color: #3AC37B;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.bignumbers__desc {
  color: #222;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .bignumbers__container {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }
  .bignumbers__item {
    min-width: 220px;
    max-width: 95vw;
    padding: 28px 12px 24px 12px;
  }
  .bignumbers {
    padding: 32px 0;
  }
  .bignumbers__number {
    font-size: 2.1rem;
  }
  .bignumbers__desc {
    font-size: 1rem;
  }
}

.areas {
  background: #fff;
  padding: 60px 7vw 40px 7vw;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 45px;
}
.areas h2 {
  font-size: 2rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 36px;
}
.areas__cards {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: nowrap;
}
@media (max-width: 900px) {
  .areas__cards {
    flex-wrap: wrap;
    gap: 28px;
  }
}
.area-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(74,217,145,0.07);
  padding: 18px 8px 18px 8px;
  flex: 1 1 280px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.area-card-content {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.area-card img {
  height: auto;
  max-height: 200px;
  width: 100%;
  max-width: 200px;
  object-fit: contain;
  border: none;
  border-radius: 0;
  margin-bottom: 16px;
  display: block;
}
.area-card h3 {
  color: #222;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: left;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.area-card .btn {
  align-self: flex-start;
  margin-top: 20px;
  margin-left: 0;
}
.area-card p {
  text-align: justify;
  max-width: 400px;
  width: 100%;
}
.area-card, .latam, .latam__content .btn, .enfoque-card {
  border-radius: 999px !important;
}

.latam {
  background: #181c1f url('../img/mapa-latam.png') center center/cover no-repeat;
  color: #fff;
  padding: 70px 7vw 70px 7vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
  margin: 40px 7vw;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18), 8px 0 24px 0 rgba(0,0,0,0.10);
  position: relative;
  min-height: 420px;
  text-align: center;
  overflow: hidden;
}
.latam::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24,28,31,0.45);
  z-index: 1;
  border-radius: 0 !important;
}
.latam__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.latam__content h2 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.1;
}
.latam__content p {
  color: #e0e0e0;
  margin-bottom: 32px;
  font-size: 1.18rem;
  max-width: 700px;
}
.latam__content .btn {
  margin: 0 auto;
  font-size: 1.1rem;
  padding: 14px 38px;
  border-radius: 18px;
}
@media (max-width: 700px) {
  .latam {
    padding: 38px 4vw 38px 4vw;
    min-height: 320px;
  }
  .latam__content h2 {
    font-size: 1.5rem;
  }
  .latam__content p {
    font-size: 1rem;
  }
  .latam__content .btn {
    font-size: 1rem;
    padding: 10px 22px;
  }
}
/* Elimina la imagen lateral */
.latam__img { display: none !important; }

.enfoque {
  background: #fff;
  padding: 60px 7vw 40px 7vw;
  text-align: center;
}
.enfoque h2 {
  font-size: 2rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 36px;
}
.enfoque__cards {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.enfoque-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 8px 12px 16px 0 rgba(60,60,60,0.18);
  padding: 28px 18px 18px 18px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.enfoque-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
}
.enfoque-card h4 {
  color: #222;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.enfoque-card p {
  color: #444;
  font-size: 1rem;
}

/* =====================
   TESTIMONIOS
   ===================== */
.testimonio {
  background-image: url('../img/fondosps.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 438px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.testimonio-carousel {
  background: #fff;
  width: 100vw;
  margin: 12px 0;
  border-radius: 0;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  padding: 32px 0;
  box-sizing: border-box;
}

.testimonio-arrow {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0 32px;
  display: flex;
  align-items: center;
  transition: transform 0.2s;
}
.testimonio-arrow:active {
  transform: scale(0.95);
}

.testimonio-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.testimonio-text {
  font-size: 1.3rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #222;
  margin-bottom: 40px;
  line-height: 1.2;
}

.testimonio-persona {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.testimonio-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e0e0 60%, #f5f5f5 100%);
  display: inline-block;
}

.testimonio-nombre {
  font-weight: 700;
  font-size: 1rem;
  color: #222;
  font-family: 'Montserrat', sans-serif;
}

.testimonio-cargo {
  font-size: 0.95rem;
  color: #888;
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 900px) {
  .testimonio-text {
    font-size: 1.2rem;
  }
  .testimonio-carousel {
    padding: 16px 0;
  }
  .testimonio-arrow {
    padding: 0 8px;
  }
}

.testimonio-independiente {
  background-color: #1a237e;
  background: url('img/fondoverde.png') repeat;
  background-size: 50px 50px;
  color: #fff;
  padding: 60px 7vw 30px 7vw;
  text-align: center;
  min-height: 300px;
  position: relative;
  z-index: 99;
  opacity: 1 !important;
  filter: none !important;
}
.testimonio__content {
  max-width: 800px;
  margin: 0 auto;
}
.testimonio__content p {
  color: #222;
  font-size: 1.2rem;
  margin-bottom: 32px;
}
.testimonio__autor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.testimonio__autor img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: #eaeaea;
}
.testimonio__autor div {
  text-align: left;
}
.testimonio__autor span:first-child {
  font-weight: 600;
  color: #222;
}
.testimonio__autor span:last-child {
  color: #888;
  font-size: 0.98rem;
}

.testimonio-box {
  background: #fff;
  border: 3px solid #e53935;
  border-radius: 18px;
  padding: 32px 28px;
  max-width: 520px;
  margin: 0 auto;
  color: #222;
  box-shadow: 0 2px 12px rgba(229,57,53,0.08);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  background: none;
}
.footer__top {
  display: none;
}
.footer__container {
  display: flex;
  flex-direction: column;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  min-height: 480px;
  height: 480px;
  margin: 0;
  box-sizing: border-box;
}
.footer__bottom {
  flex: 0 1 60%;
  background: none;
  color: #222;
  border-top: none;
  text-align: left;
  padding: 32px 0 0 0;
  font-size: 0.98rem;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
}
.footer__bottom .footer__col:not(.footer__cta) {
  margin-top: 10px;
}
.footer__bottom .footer__col h5,
.footer__bottom .footer__col a,
.footer__bottom .footer__col span {
  color: #222 !important;
}
.footer__bottom .footer__content {
  margin-left: 100px;
}

@media (max-width: 1100px) {
  .expertos__content, .latam, .areas__cards, .enfoque__cards, .footer__content {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .latam {
    margin: 40px 0;
  }
  .hero__circle {
    width: 117vw;
    max-width: 117vw;
  }
  .hero__content h1 {
    font-size: 2.1rem;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .oportunidades-form .form-img-wrap {
    max-width: 100% !important;
    justify-content: center !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  .oportunidades-form .form-img {
    max-width: 70% !important;
    width: 70% !important;
    margin: 0 auto !important;
    display: block !important;
  }
  .area-card .btn {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
  .bignumbers__item {
    width: 90vw !important;
    min-width: 0 !important;
    max-width: 90vw !important;
    height: 180px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .expertos__text .btn {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
  }
}

/* --- AJUSTE: Unificar ancho de campos de una sola columna en desktop --- */
@media (min-width: 901px) {
  .form-fields .input-field,
  .form-fields textarea.input-field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .form-row {
    gap: 18px !important;
  }
  .form-col {
    min-width: 0 !important;
  }
  /* Forzar contenedores de cada campo a ocupar 100% del ancho en desktop */
  .form-fields > div,
  .form-fields > .form-row,
  .form-fields > .form-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .form-row .form-col {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
}
/* --- FIN AJUSTE --- */

/* --- AJUSTE: Espaciado lateral y tamaño de campos en desktop --- */
@media (min-width: 901px) {
  .form-img-wrap {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .form-fields {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .form-fields .input-field,
  .form-fields textarea.input-field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* --- FIN AJUSTE --- */

/* --- AJUSTE FINAL: Proporciones y alineación exacta de imagen y formulario en desktop --- */
@media (min-width: 901px) {
  .form-flex {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 40px !important;
    max-width: 1100px;
    margin: 0 auto 48px auto;
    width: 100%;
  }
  .form-img-wrap {
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
  }
  .form-img-wrap img.form-img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    border-radius: 16px;
    object-fit: cover;
  }
  .form-fields {
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    margin: 0 !important;
    align-items: flex-start !important;
    text-align: left !important;
    background: #fff;
    border-radius: 18px;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .form-btn-row {
    justify-content: flex-start !important;
    width: 100%;
  }
}
/* --- FIN AJUSTE FINAL --- */

/* --- AJUSTE: Reducir ancho de .form-img-wrap a 75% en desktop y ajustar imagen --- */
@media (min-width: 901px) {
  #main-content > section.form-section.form-flex > div.form-img-wrap {
    width: 75% !important;
    max-width: 75% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  #main-content > section.form-section.form-flex > div.form-img-wrap > img.form-img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
  }
}
/* --- FIN AJUSTE --- */

/* --- AJUSTE: Formulario alineado a la izquierda en desktop --- */
@media (min-width: 901px) {
  .form-flex {
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  .form-fields {
    margin-left: 0 !important;
    margin-right: auto !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .form-btn-row {
    justify-content: flex-start !important;
  }
}
/* --- FIN AJUSTE --- */

/* --- AJUSTE: Imagen form-contrata.png al 50% en todos los tamaños --- */
.form-img-wrap img.form-img[src*="form-contrata.png"] {
  width: 50% !important;
  max-width: 50% !important;
  min-width: 0 !important;
  height: auto !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
/* --- FIN AJUSTE --- */

.footer__social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
}
@media (max-width: 700px) {
  .footer__social {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* =====================
   MEDIA QUERIES
   ===================== */
@media (max-width: 900px) {
  .bignumbers__container {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }
  .bignumbers__item {
    min-width: 220px;
    max-width: 95vw;
    padding: 28px 12px 24px 12px;
  }
  .bignumbers {
    padding: 32px 0;
  }
  .bignumbers__number {
    font-size: 2.1rem;
  }
  .bignumbers__desc {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .testimonio-text {
    font-size: 1.2rem;
  }
  .testimonio-carousel {
    padding: 16px 0;
  }
  .testimonio-arrow {
    padding: 0 8px;
  }
}

@media (max-width: 700px) {
  .latam {
    padding: 38px 4vw 38px 4vw;
    min-height: 320px;
  }
  .latam__content h2 {
    font-size: 1.5rem;
  }
  .latam__content p {
    font-size: 1rem;
  }
  .latam__content .btn {
    font-size: 1rem;
    padding: 10px 22px;
  }
}

@media (max-width: 1100px) {
  .expertos__content, .latam, .areas__cards, .enfoque__cards, .footer__content {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .latam {
    margin: 40px 0;
  }
  .hero__circle {
    width: 117vw;
    max-width: 117vw;
  }
  .hero__content h1 {
    font-size: 2.1rem;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .oportunidades-form .form-img-wrap {
    max-width: 100% !important;
    justify-content: center !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  .oportunidades-form .form-img {
    max-width: 70% !important;
    width: 70% !important;
    margin: 0 auto !important;
    display: block !important;
  }
  .area-card .btn {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
  .bignumbers__item {
    width: 90vw !important;
    min-width: 0 !important;
    max-width: 90vw !important;
    height: 180px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .expertos__text .btn {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
  }
}

@media (max-width: 700px) {
  .footer__social {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

.testimonio-slide { display: none; }
.testimonio-slide.active { display: block; }
@media (max-width: 700px) {
  .footer__container {
    flex-direction: column;
    align-items: center;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  .footer__main {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
  }
  .footer-main-content {
    width: 100vw;
    padding: 0 0 16px 0 !important;
    align-items: center !important;
    text-align: center;
    gap: 12px;
  }
  .footer-main-texto h2 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    line-height: 1.2;
    text-align: center;
  }
  .footer-main-boton {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
  }
  .footer-main-boton img {
    height: 38px !important;
    max-height: 38px;
  }
  .footer__bottom {
    background: #fff;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .footer__content {
    width: 100vw;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    gap: 18px;
    padding: 0 0 12px 0 !important;
    margin: 0;
  }
  .footer__col {
    width: 100vw;
    min-width: 0;
    margin-bottom: 0;
    text-align: center;
    align-items: center;
    padding: 0;
  }
  .footer__col h5 {
    font-size: 1rem;
    margin-bottom: 6px;
    text-align: center;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .footer__menu-links a {
    font-size: 0.95rem;
    margin-bottom: 0;
    padding: 4px 0;
  }
  .footer__contacto-datos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .footer__social-col {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  .footer__social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 6px;
  }
  .footer__social img {
    height: 28px !important;
    width: 28px !important;
    min-width: 28px;
    min-height: 28px;
  }
  #scrollToTopBtn {
    position: static !important;
    display: block;
    margin: 18px auto 0 auto;
    height: 48px !important;
    width: 48px !important;
  }
  .footer__bottom span {
    display: block;
    width: 100vw;
    text-align: center;
    margin: 18px 0 0 0;
    color: #222;
    font-size: 0.95rem;
  }
}

.enfoque, .enfoque-card, .testimonio, .testimonio__content, .testimonio__autor, .footer, .footer__content, .footer__col, .footer__cta, .footer__top, .footer__bottom, .testimonio__autor img, .enfoque-card img, .latam__img img {
  border-radius: 0 !important;
}

.latam__img img {
  border-radius: 0 !important;
}

.banner-bar {
  width: 100%;
  height: 30px;
  margin-top: 25px;
  background: url('img/fondo-bt-quierosertalento.png') repeat-x center/cover;
  border-radius: 4px;
  position: relative;
  z-index: 10;
}

.testimonio-fondo {
  background: url('img/fondoverde.png') center center/cover no-repeat;
  width: 100vw;
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  border-radius: 18px;
  position: relative;
  z-index: 99;
  opacity: 1 !important;
  filter: none !important;
}
.testimonio-arrow {
  background: none;
  border: none;
  padding: 0;
  margin: 0 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: transform 0.15s;
}
.testimonio-arrow:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}
.testimonio-arrow.left {
  order: 0;
}
.testimonio-box {
  order: 1;
}
.testimonio-arrow.right {
  order: 2;
}
@media (max-width: 900px) {
  .testimonio-fondo {
    flex-direction: column;
    padding: 32px 0;
  }
  .testimonio-arrow {
    margin: 18px 0;
  }
}

.footer-main-content {
  background: #181c1f !important;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}
.footer-main-texto {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.footer-main-texto h2 {
  position: relative;
  top: -12px;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
  margin-top: 32px !important;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Ajustes para secciones que usan 100vw y márgenes negativos */
.hero__bg,
.hero__circle,
.footer,
.footer__main,
.footer__bottom,
.footer__container {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/* Ajustar paddings y márgenes para evitar desbordes */
.footer__main,
.footer__bottom,
.footer__container {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Ajustar imágenes y contenedores */
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mejorar media queries para móviles */
@media (max-width: 900px) {
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 0 0 24px 0;
    width: 100vw;
    margin: 0;
  }
  .footer__col {
    min-width: 0;
    width: 100vw;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    margin: 0;
    max-width: none;
  }
}

/* ===== MEDIA QUERIES ESPECÍFICAS PARA IPHONE 14 PRO ===== */
/* iPhone 14 Pro: 393x852px */
@media (max-width: 393px) {
  /* Header optimizado para iPhone 14 Pro */
  .header {
    padding: 20px 16px 12px 16px;
    flex-direction: column;
    gap: 16px;
  }
  
  .header__logo img {
    height: 32px;
  }
  
  .header__nav ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header__nav a {
    font-size: 0.9rem;
    padding: 4px 0;
  }
  
  .header__nav a.btn-header {
    top: 0;
  }
  
  .header__nav a.btn-header img {
    height: 32px !important;
  }
  
  /* Hero section optimizado */
  .hero {
    min-height: 380px;
    padding-bottom: 20px;
  }
  
  .hero__content {
    padding-top: 50px;
    padding-bottom: 25px;
  }
  
  .hero__content h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 16px;
    white-space: normal;
  }
  
  .hero__content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 8px;
    line-height: 1.4;
  }
  
  .hero__content p br {
    display: none;
  }
  
  .hero__buttons {
    gap: 12px;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: center;
  }
  
  .btn-green, .btn-outline {
    height: 36px;
    font-size: 0.9rem;
    padding: 6px 20px;
  }
  
  .btn-green img, .btn-outline img {
    height: 36px !important;
  }
  
  /* Logos section */
  .hero__logos {
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero__logos img {
    height: 28px;
    max-width: 70px;
  }
  
  /* Expertos section */
  .expertos {
    padding: 35px 16px 25px 16px;
  }
  
  .expertos__content {
    flex-direction: column;
    gap: 4px;
    min-height: auto;
  }
  
  .expertos__text {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    align-items: center;
  }
  
  .expertos__text h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
    text-align: center;
  }
  
  .expertos__text h2 br {
    display: none;
  }
  
  .expertos__text p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }
  
  .expertos__text p br {
    display: none;
  }
  
  .expertos__img {
    max-width: 100%;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
  }
  
  .expertos__img img {
    max-width: 100%;
    height: auto;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }
  
  /* Areas section */
  .areas {
    padding: 35px 16px 25px 16px;
    gap: 24px;
  }
  
  .areas h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .areas h2 br {
    display: none;
  }
  
  .areas__cards {
    gap: 16px;
    flex-direction: column;
  }
  
  .area-card {
    padding: 20px 16px;
    max-width: 100%;
  }
  
  .area-card-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .area-card img {
    height: auto;
    max-height: 120px;
    max-width: 120px;
    margin-bottom: 12px;
  }
  
  .area-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: center;
  }
  
  .area-card p {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
  }
  
  .area-card .btn {
    align-self: center;
    margin-top: 16px;
  }
  
  /* Latam section */
  .latam {
    padding: 35px 16px 25px 16px;
    margin: 20px 0;
    border-radius: 8px !important;
  }
  
  .latam__content h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  
  .latam__content h2 br {
    display: none;
  }
  
  .latam__content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Enfoque section */
  .enfoque {
    padding: 35px 16px 25px 16px;
  }
  
  .enfoque h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .enfoque h2 br {
    display: none;
  }
  
  .enfoque__cards {
    gap: 16px;
    flex-direction: column;
  }
  
  .enfoque-card {
    padding: 16px 12px;
    max-width: 100%;
  }
  
  .enfoque-card img {
    height: 36px;
    margin-bottom: 8px;
  }
  
  .enfoque-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  
  .enfoque-card p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  /* Testimonio section */
  .testimonio {
    padding: 25px 16px;
  }
  
  .testimonio-carousel {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }
  
  .testimonio-arrow {
    margin: 8px 0;
    order: 2;
  }
  
  .testimonio-arrow svg {
    width: 36px;
    height: 36px;
  }
  
  .testimonio-content {
    order: 1;
    width: 100%;
  }
  
  .testimonio-text {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 8px;
    margin-bottom: 16px;
  }
  
  .testimonio-persona {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  
  .testimonio-nombre {
    font-size: 0.85rem;
  }
  
  .testimonio-cargo {
    font-size: 0.75rem;
  }
  
  /* Footer optimizado */
  .footer {
    padding: 25px 16px 20px 16px;
  }
  
  .footer-main-content {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
  }
  
  .footer-main-texto h2 {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
  }
  
  .footer-main-texto h2 br {
    display: none;
  }
  
  .footer-main-boton {
    margin: 0;
    justify-content: flex-start;
    width: 100%;
  }
  
  .footer-main-boton img {
    height: 36px !important;
    max-height: 36px;
  }
  
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 16px 0;
  }
  
  .footer__col {
    min-width: 0;
    width: 100%;
    text-align: left;
  }
  
  .footer__col h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .footer__col a, .footer__col span {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .footer__social {
    gap: 12px;
  }
  
  .footer__social img {
    height: 20px;
    width: 20px;
  }
  
  /* Scroll to top button */
  #scrollToTopBtn {
    right: 16px !important;
    top: 16px !important;
    height: 50px !important;
    width: 50px !important;
  }
  
  /* Ajustar todos los contenedores principales */
  .header, .expertos, .areas, .latam, .enfoque, .testimonio, .footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Ocultar saltos de línea innecesarios */
  br {
    display: none;
  }
}

/* ===== MEDIA QUERIES PARA PANTALLAS MÁS PEQUEÑAS QUE IPHONE 14 PRO ===== */
@media (max-width: 375px) {
  .hero__content h1 {
    font-size: 1.4rem;
  }
  
  .hero__content p {
    font-size: 0.85rem;
  }
  
  .expertos__text h2,
  .areas h2,
  .latam__content h2,
  .enfoque h2 {
    font-size: 1.3rem;
  }
  
  .footer-main-texto h2 {
    font-size: 1.1rem;
  }
  
  .header__nav ul {
    gap: 12px;
  }
  
  .header__nav a {
    font-size: 0.85rem;
  }
  
  .header__nav a.btn-header img {
    height: 28px !important;
  }
  
  .btn-green img, .btn-outline img {
    height: 32px !important;
  }
  
  .hero__logos img {
    height: 24px;
    max-width: 60px;
  }
  
  .area-card img {
    max-height: 100px;
    max-width: 100px;
  }
  
  .enfoque-card img {
    height: 32px;
  }
  
  .footer-main-boton img {
    height: 32px !important;
  }
  
  .footer__social img {
    height: 18px;
    width: 18px;
  }
  
  #scrollToTopBtn {
    height: 45px !important;
    width: 45px !important;
  }
}

/* ===== MEDIA QUERIES PARA PANTALLAS MUY PEQUEÑAS ===== */
@media (max-width: 320px) {
  .header {
    padding: 16px 12px 10px 12px;
  }
  
  .hero__content {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  
  .hero__content h1 {
    font-size: 1.3rem;
  }
  
  .hero__content p {
    font-size: 0.8rem;
  }
  
  .expertos__text h2,
  .areas h2,
  .latam__content h2,
  .enfoque h2 {
    font-size: 1.2rem;
  }
  
  .footer-main-texto h2 {
    font-size: 1rem;
  }
  
  .header__nav ul {
    gap: 8px;
  }
  
  .header__nav a {
    font-size: 0.8rem;
  }
  
  .header__nav a.btn-header img {
    height: 24px !important;
  }
  
  .btn-green img, .btn-outline img {
    height: 28px !important;
  }
  
  .hero__logos img {
    height: 20px;
    max-width: 50px;
  }
  
  .area-card img {
    max-height: 80px;
    max-width: 80px;
  }
  
  .enfoque-card img {
    height: 28px;
  }
  
  .footer-main-boton img {
    height: 28px !important;
  }
  
  .footer__social img {
    height: 16px;
    width: 16px;
  }
  
  #scrollToTopBtn {
    height: 40px !important;
    width: 40px !important;
  }
}

/* ===== MEDIA QUERIES RESPONSIVE GENERAL PARA MÓVILES ===== */
@media (max-width: 600px) {
  .footer__main {
    min-height: 168px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #181c1f !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer-main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .footer-main-texto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-bottom: 0 !important;
  }
  .footer-main-texto h2 {
    position: relative;
    top: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .footer__bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    gap: 4px !important;
  }
  .footer__content {
    gap: 4px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer__col {
    margin-bottom: 2px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    width: 100%;
  }
  .footer__menu-links a:last-child {
    margin-left: 10px !important;
  }
  .footer__contacto-datos {
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .footer__social {
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .footer__bottom span {
    margin-top: 8px !important;
    font-size: 0.85rem !important;
  }
  .footer__main {
    padding-top: 15% !important;
    padding-bottom: 80% !important;
  }
  .footer__bottom {
    margin-top: 20% !important;
  }
  .footer__main,
  .footer__bottom {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .footer-main-content,
  .footer__content {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .footer-main-content {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    background: #181c1f !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    padding: 0 !important;
    gap: 12px;
  }
  .footer-main-texto {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    text-align: center;
    margin: 0;
  }
  .footer-main-boton {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    margin: 0;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
  }
  .footer__menu-links a {
    display: inline-block;
    margin: 0;
    padding: 4px 0;
    font-size: 1rem;
    white-space: nowrap;
  }
  .footer__col.footer__menu {
    align-items: center;
    text-align: center;
  }
  .footer__col.footer__menu h5 {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
  }
  .footer__contacto-datos {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
    width: 100%;
    text-align: center;
  }
  .logos-section {
    margin-bottom: 80px !important;
    padding-bottom: 0 !important;
  }
  .expertos {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .hero {
    padding-top: 0 !important;
    padding-bottom: 8px !important;
    min-height: unset !important;
  }
  .hero__content {
    padding-top: 4px !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
  }
  .hero__buttons {
    flex-direction: row !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: -8px !important;
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .mobile-menu ul li a {
    font-weight: 400 !important;
  }
  .expertos__text p,
  .area-card p {
    text-align: justify !important;
  }
  .expertos__text h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .footer__content {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .footer__content > .footer__col,
  .footer__content > .footer__menu-links,
  .footer__content > .footer__contacto-datos,
  .footer__content > .footer__social-col,
  .footer__content > .footer__social {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (min-width: 701px) {
  .footer-main-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #181c1f;
  }
  .footer-main-texto {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .footer-main-boton {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 120px 0 0;
  }
  #scrollToTopBtn {
    position: absolute !important;
    left: calc(50vw + 560px) !important;
    right: auto !important;
    top: auto !important;
    bottom: 120px !important;
    transform: translateX(-50%);
    height: 60px !important;
    width: 60px !important;
    margin: 0 !important;
    z-index: 10;
  }
}

@media (max-width: 700px) {
  .footer-main-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 0 16px 0 !important;
  }
  .footer-main-texto,
  .footer-main-boton {
    width: 100%;
    justify-content: center;
    margin: 0;
  }
  #scrollToTopBtn {
    position: static !important;
    display: block;
    margin: 18px auto 0 auto;
    height: 48px !important;
    width: 48px !important;
  }
}

@media (max-width: 600px) {
  .header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px 12px 16px !important;
    position: relative;
  }
  .header__logo {
    flex: 0 0 auto;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .menu-toggle {
    display: block !important;
    position: relative;
    z-index: 1001;
    margin-left: auto;
  }
  .header__nav {
    display: none !important;
  }
  .header__nav ul {
    gap: 44px !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
  }
  .header__nav ul li:not(:last-child) {
    margin-right: 0 !important;
  }
  .header__nav ul li:last-child {
    margin-left: 2px !important;
    position: relative;
    top: -18px !important;
  }
  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    background: #fff !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    border-radius: 0 0 12px 12px;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: opacity 0.2s;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    overflow: hidden;
  }
  .mobile-menu ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start;
    gap: 18px;
    padding: 16px 0 12px 24px !important;
    margin: 0;
  }
  .mobile-menu ul li {
    width: 100%;
    text-align: center;
  }
  .mobile-menu ul li a {
    font-size: 1.25rem;
    color: #222;
    text-decoration: none;
    font-weight: 400 !important;
    padding: 12px 0;
    display: block;
    width: 100vw;
  }
  .mobile-menu ul {
    align-items: flex-start !important;
    text-align: left !important;
    padding-left: 24px !important;
  }
  .mobile-menu ul li {
    text-align: left !important;
    width: 100%;
  }
  .mobile-menu ul li a {
    width: auto;
    padding-left: 0;
  }
  .areas h2 {
    margin-bottom: 10px;
  }
  .area-card img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .area-card h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .expertos__text h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-main-texto h2 {
    font-size: 1.60rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

/* Forzar ocultar hamburguesa en desktop y mostrar solo en mobile */
.menu-toggle {
  display: none !important;
}
@media (max-width: 600px) {
  .menu-toggle {
    display: block !important;
  }
}

@media (max-width: 600px) {
  .hero__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .logos-carousel {
    display: flex;
    position: relative;
    width: 100%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
  }
  
  .logos-slide {
    display: none;
    justify-content: center;
    align-items: center;
  }
  
  .logos-slide.active {
    display: flex;
  }
  
  .logos-slide img {
    height: 120px;
    max-width: 300px;
    width: auto;
  }
}



@media (max-width: 600px) {
  .areas {
    padding: 17px 16px 12px 16px;
  }
}

@media (max-width: 600px) {
  .expertos__text h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-main-texto h2 {
    font-size: 1.60rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .areas h2,
  .enfoque h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .areas h2 {
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .hero__content h1 {
    font-size: 1.50rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .hero__content p {
    font-size: 0.85rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

/* Logos Carousel */
.logos-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.logos-slide {
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.logos-slide.active {
  display: flex;
  opacity: 1;
}

.logos-slide img {
  height: 100px;
  max-width: 250px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.logos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.logos-arrow:hover svg path {
  stroke: #3AB1C3;
}

.logos-arrow.left {
  left: 0;
}

.logos-arrow.right {
  right: 0;
}

.logos-arrow svg {
  width: 24px;
  height: 24px;
}

.logos-arrow svg path {
  stroke: #3AC37B;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

/* Desktop: Show all logos */
@media (min-width: 601px) {
  .logos-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 94px;
  }
  
  .logos-slide {
    display: flex !important;
    opacity: 1 !important;
  }
  
  .logos-slide img {
    height: 46px;
    max-width: 144px;
  }
  
  .logos-arrow {
    display: none;
  }
} 

/* ====== CONTRATA TALENTO LANDING (solo para contrata-talento.html) ====== */
.contrata-talento-hero {
  background-size: cover !important;
  background-position: center !important;
  min-height: 442px; /* antes 340px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 83px 0 62px 0; /* antes 64px 0 48px 0 */
}
.contrata-talento-hero .hero__title {
  color: #fff;
  font-size: 3.9rem; /* antes 3rem */
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.contrata-talento-hero .hero__subtitle {
  color: #fff;
  font-size: 1.75rem; /* antes 1.35rem */
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.contrata-talento-pasos {
  background: #fff;
  padding: 48px 0 32px 0;
  text-align: center;
}
.contrata-talento-pasos .section-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  /* Eliminar width y max-width que limitan el texto */
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center;
  white-space: normal;
  line-height: 1.18;
}
@media (min-width: 901px) {
  .contrata-talento-pasos .section-title {
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: clamp(1.2rem, 4vw, 2.6rem) !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
  }
}
.contrata-talento-pasos .section-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 36px;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
}
.contrata-talento-pasos .cards-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 36px 36px 28px 36px;
  min-width: 340px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: box-shadow 0.2s;
  margin-bottom: 0;
}
.contrata-talento-card img {
  height: 110px !important;
  margin: 18px 0 10px 0 !important;
  align-self: center;
}
.contrata-talento-card p {
  font-size: 1rem;
  color: #333;
  margin-top: 0;
}
.card-header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 8px;
}
.card-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #3AC37B;
  line-height: 1;
  min-width: 38px;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  line-height: 1.18;
}
.card-desc {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 18px;
}
.card-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
}
.card-img img {
  height: 120px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Formulario buscar expertos */
.contrata-talento-form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  background: #fff;
  padding: 48px 0 32px 0;
  margin-top: 32px;
  flex-wrap: wrap;
}
.contrata-talento-form .form-img {
  width: 420px;
  max-width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.contrata-talento-form-fields {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 340px;
  max-width: 420px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 32px 28px 24px 28px;
  gap: 16px;
}
.contrata-talento-form-fields h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.contrata-talento-form-fields .input-field {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 1rem;
  box-shadow: none;
}
.contrata-talento-form-fields .btn-main {
  background: url('img/fondo-bt-quierosertalento.png') center/cover no-repeat !important;
  color: #fff;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1.1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 160px;
  box-shadow: none;
}
.contrata-talento-form-fields .btn-main:hover {
  opacity: 0.9;
}

/* Footer específico si se requiere ajuste */
.contrata-talento-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-footer .footer-col {
  flex: 1 1 180px;
  min-width: 160px;
}

@media (max-width: 900px) {
  .contrata-talento-pasos .cards-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-form {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-form .form-img {
    width: 100%;
    max-width: 340px;
    margin-bottom: 18px;
  }
  .contrata-talento-form-fields {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .contrata-talento-hero {
    min-height: 234px; /* antes 180px */
    padding: 47px 0 31px 0; /* antes 36px 0 24px 0 */
  }
  .contrata-talento-hero .hero__title {
    font-size: 2.6rem; /* antes 2rem */
  }
  .contrata-talento-hero .hero__subtitle {
    font-size: 1.2rem; /* antes 0.92rem aprox */
  }
  .contrata-talento-card {
    padding: 22px 10px 18px 10px;
    min-width: 0;
    max-width: 100%;
  }
  .contrata-talento-form {
    padding: 24px 0 16px 0;
  }
} 

.contrata-talento-cards-top {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-cards-bottom {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .contrata-talento-cards-top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-cards-bottom {
    margin-top: 18px;
  }
} 

/* Layout tipo T para cards (reutilizable) */
.cards-t-layout {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .cards-t-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 36px 36px 28px 36px;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: box-shadow 0.2s;
  margin-bottom: 0;
}
.cards-t-layout .card-1 { grid-column: 1; grid-row: 1; }
.cards-t-layout .card-2 { grid-column: 2; grid-row: 1; }
.cards-t-layout .card-3 { grid-column: 1 / span 2; grid-row: 2; justify-self: center; }
.card-header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 8px;
}
.card-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #3AC37B;
  line-height: 1;
  min-width: 38px;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  line-height: 1.18;
}
.card-desc {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 18px;
}
.card-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
}
.card-img img {
  height: 120px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}
.cards-t-layout .card-1 .card-img img,
.cards-t-layout .card-2 .card-img img {
  height: 180px;
  max-width: 330px;
}
@media (max-width: 900px) {
  .cards-t-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
  .card {
    min-width: 0;
    max-width: 100%;
    padding: 22px 10px 18px 10px;
  }
  .card-img img {
    height: 90px;
    max-width: 140px;
  }
  .cards-t-layout .card-1 .card-img img,
  .cards-t-layout .card-2 .card-img img {
    height: 135px;
    max-width: 210px;
  }
} 

.cards-t-layout .card {
  max-width: 420px;
  width: 100%;
  justify-self: unset;
}

.cards-t-layout .card-3 {
  grid-column: 1 / span 2;
  justify-self: stretch;
  max-width: 852px;
  width: 100%;
  padding: 36px 36px 28px 36px;
}
.card-3-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}
.card-3-text {
  flex: 1 1 0;
  min-width: 0;
}
.card-3-img {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}.card-3-img img {
  height: 225px;
  max-width: 390px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .cards-t-layout .card-3 {
    padding: 22px 10px 18px 10px;
  }
  .card-3-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-3-img img {
    height: 150px;
    max-width: 240px;
  }
}

.contrata-talento-form-title {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 32px auto;
  text-align: center;
}
.form-section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-section-subtitle {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 0;
  line-height: 1.3;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.form-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 48px auto;
}
.form-img-wrap {
  flex: 1 1 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.form-img {
  width: 100%;
  max-width: 540px;
  min-width: 320px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  height: 100%;
  aspect-ratio: 4/3;
}
.form-fields {
  flex: 1 1 0;
  max-width: 420px;
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  align-self: stretch;
}
@media (max-width: 900px) {
  .form-flex {
    flex-direction: column;
    gap: 24px;
    max-width: 98vw;
  }
  .form-img-wrap, .form-fields {
    max-width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .form-img {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.form-fields label {
  font-size: 1.08rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 4px;
  margin-top: 8px;
}
.input-field {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 1rem;
  box-shadow: none;
  margin-bottom: 0;
}
.form-btn-row {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.gradient-btn {
  background: url('img/fondo-bt-quierosertalento.png') center/cover no-repeat !important;
  color: #fff;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1.1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 160px;
  box-shadow: none;
}
.gradient-btn:hover {
  opacity: 0.9;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.form-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
}

.form-fields label {
  font-size: 0.98rem;
  margin-bottom: 2px;
  margin-top: 6px;
}
.input-field {
  padding: 9px 10px;
  font-size: 0.95rem;
}
.form-fields h3 {
  font-size: 1.18rem;
}
.gradient-btn {
  font-size: 1rem;
  padding: 8px 0;
  min-width: 120px;
}
.form-fields {
  padding: 22px 16px 16px 16px;
}
.form-img {
  max-width: 650px;
  min-width: 340px;
  aspect-ratio: 16/11;
}

.form-img {
  max-width: 800px;
  min-width: 400px;
  aspect-ratio: 16/10;
}

.form-img {
  max-width: 950px;
  min-width: 500px;
  aspect-ratio: 16/9;
}
.form-img {
  max-width: 1187px;
  min-width: 625px;
  aspect-ratio: 16/9;
}

@media (max-width: 600px) {
  /* Banner: El talento ideal (ajuste solicitado) */
  .contrata-talento-hero .hero__title {
    font-size: 180% !important;
  }
  /* Banner: El talento ideal */
  .contrata-talento-hero .hero__title {
    font-size: 80% !important;
    text-align: center;
    width: 100%;
    margin: 0 auto 8px auto;
    white-space: normal;
  }
  /* Banner: Complementa tus equipos... */
  .contrata-talento-pasos .section-title {
    font-size: 60% !important;
    text-align: center;
    width: 100%;
    margin: 0 auto 8px auto;
    white-space: normal;
  }
  /* Concepto debajo del título */
  .contrata-talento-pasos .section-subtitle {
    text-align: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
  }
  /* Cards de pasos en columna */
  .contrata-talento-pasos > div {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: center !important;
  }
  .contrata-talento-pasos > div > div {
    width: 95% !important;
    max-width: 420px !important;
    margin: 0 auto 0 auto !important;
  }
  /* Si hay filas anidadas, forzar columna */
  .contrata-talento-pasos > div > div > div {
    flex-direction: column !important;
  }
  /* Concepto de listo para contratar */
  .contrata-talento-form-title {
    text-align: center;
    width: 90%;
    margin: 0 auto 18px auto;
  }
  .contrata-talento-form-title .form-section-title,
  .contrata-talento-form-title .form-section-subtitle {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Foto después del concepto */
  .form-img {
    width: 80% !important;
    max-width: 80% !important;
    margin-left: 10% !important;
  }
  /* Título buscar expertos */
  .form-fields h3 {
    text-align: center !important;
    white-space: nowrap !important;
    width: 100%;
    margin: 0 auto 18px auto;
  }
  /* Formulario: etiquetas alineadas a la izquierda, campos centrados */
  .form-fields label {
    text-align: left !important;
    width: 100%;
    margin-left: 0;
  }
  .form-fields .input-field {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 90%;
  }
  .form-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
}

@media (max-width: 600px) {
  .contrata-talento-hero .hero__title {
    font-size: 8vw !important;
  }
}

@media (max-width: 600px) {
  .contrata-talento-pasos .section-title {
    font-size: 8vw !important;
  }
}

@media (max-width: 600px) {
  /* Cards de pasos en columna: fuerza todos los divs hijos directos de .contrata-talento-pasos a columna */
  .contrata-talento-pasos > div,
  .contrata-talento-pasos > div > div {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    gap: 18px !important;
  }
  .contrata-talento-pasos > div > div {
    margin: 0 auto !important;
    width: 95% !important;
    max-width: 420px !important;
  }
}

@media (max-width: 600px) {
  /* Card 3: apilar número, título y concepto verticalmente */
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin-bottom: 8px !important;
  }
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] > span {
    display: block !important;
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #2ed47a !important;
    margin-bottom: 8px !important;
    width: 100% !important;
  }
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] > div > div[style*="font-size:1.15rem"] {
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
  }
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] > div > div[style*="font-size:1rem"] {
    text-align: justify !important;
    width: 100% !important;
    margin-bottom: 18px !important;
    font-weight: 400 !important;
  }
}

@media (max-width: 600px) {
  /* Imagen de 'listo para contratar' al 75% del tamaño actual y centrada */
  .form-img-wrap .form-img {
    width: 75% !important;
    max-width: 75% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 600px) {
  /* Imagen de 'form-contrata.png' al 60% del tamaño actual y centrada */
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 60% !important;
    max-width: 60% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 600px) {
  /* Forzar tamaño de form-contrata.png al 60% y sobrescribir inline */
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 60% !important;
    max-width: 60% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 600px) {
  /* Aumentar tamaño de form-contrata.png a 180% y sobrescribir inline */
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 180% !important;
    max-width: 180% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 600px) {
  /* Imagen form-contrata.png al 180%, centrada y alineada al centro */
  .form-img-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 180% !important;
    max-width: 180% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
  }
}

@media (max-width: 600px) {
  /* Imagen form-contrata.png al 180%, centrada visualmente */
  .form-img-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    overflow: visible !important;
    position: relative !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 180% !important;
    max-width: 180% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    text-align: center !important;
    position: relative !important;
    left: 50%;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 600px) {
  /* Ajustar tamaño de .form-img-wrap a 120% y centrarlo */
  body > section.form-section.form-flex > div.form-img-wrap {
    width: 120% !important;
    max-width: 120% !important;
    min-width: 0 !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    position: relative !important;
    left: 50%;
    transform: translateX(-10%) !important;
  }
}

@media (max-width: 600px) {
  /* Imagen y contenedor al 75% y centrados */
  body > section.form-section.form-flex > div.form-img-wrap {
    width: 75% !important;
    max-width: 75% !important;
    min-width: 0 !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    position: static !important;
    left: unset;
    transform: none !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    position: static !important;
    left: unset;
    transform: none !important;
  }
}

@media (max-width: 600px) {
  /* Imagen y contenedor al 85% y centrados */
  body > section.form-section.form-flex > div.form-img-wrap {
    width: 85% !important;
    max-width: 85% !important;
    min-width: 0 !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    position: static !important;
    left: unset;
    transform: none !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    position: static !important;
    left: unset;
    transform: none !important;
  }
}

@media (max-width: 600px) {
  /* Centrar y alinear al medio el título 'Buscar expertos' */
  .form-fields h3 {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
  }
}

@media (max-width: 600px) {
  /* Forzar centrado del título 'Buscar expertos' con máxima especificidad */
  form.form-fields > h3,
  .form-fields > h3,
  section.form-section.form-flex form.form-fields > h3 {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    justify-content: unset !important;
    align-items: unset !important;
  }
}

@media (max-width: 600px) {
  /* Hacer que el formulario ocupe el 100% del ancho en responsive */
  body > section.form-section.form-flex > form.form-fields {
    max-width: 100% !important;
    width: 100% !important;
    flex: unset !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  /* Mover los títulos de las casillas del formulario un poco a la derecha */
  .form-fields label {
    padding-left: 12px !important;
  }
}

@media (max-width: 600px) {
  /* Forzar que el número de la card 3 esté encima del bloque de texto */
  body > section.contrata-talento-pasos > div:nth-child(3) > div:nth-child(2) > div > div:nth-child(1) > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  body > section.contrata-talento-pasos > div:nth-child(3) > div:nth-child(2) > div > div:nth-child(1) > div > span {
    order: 0 !important;
    margin-bottom: 8px !important;
  }
  body > section.contrata-talento-pasos > div:nth-child(3) > div:nth-child(2) > div > div:nth-child(1) > div > div {
    order: 1 !important;
  }
}

@media (max-width: 600px) {
  /* Asegurar visibilidad y centrado del botón Enviar */
  .form-btn-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
  }
  .form-btn-row .btn-main.gradient-btn {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(90deg,#2ed47a 0%,#3bb6ff 100%) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 1.18rem !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 48px !important;
    min-width: 120px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 600px) {
  /* Reducir margen superior del botón Enviar */
  .form-btn-row {
    margin-top: 8px !important;
  }
}

@media (min-width: 901px) {
  /* Centrar el bloque de imagen y formulario en desktop */
  .form-section.form-flex {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: flex-start;
    display: flex;
    gap: 44px;
  }
}

@media (min-width: 901px) {
  /* Centrar y limitar el ancho del contenido, pero la sección ocupa 100% */
  .form-section.form-flex {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    background: #fff;
  }
  .form-section.form-flex .form-flex-inner {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 44px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .form-section.form-flex .form-flex-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0 !important;
  }
}

@media (min-width: 901px) {
  .form-btn-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
  }
  .form-btn-row .btn-main.gradient-btn {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(90deg,#2ed47a 0%,#3bb6ff 100%) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 1.18rem !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 48px !important;
    min-width: 120px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 600px) {
  body.nosotros .hero {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .hero {
    display: none !important;
  }
}

@media (max-width: 700px) {
  /* Unificar fotos de equipo en nosotros.html sin borde ni filtro, centradas */
  .card-img {
    width: 100% !important;
    max-width: 320px !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 auto 12px auto !important;
    display: block !important;
    filter: none !important;
    transition: none !important;
  }
  .card-img:hover {
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
  }
  /* Alinear las filas de fotos en columna y centrar */
  .card-img-row, .card-img-row-resp {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 700px) {
  // ... existing code ...
  /* Justificar el texto del concepto en responsive */
  .concepto-sapiens {
    text-align: justify !important;
  }
  /* Bootcamp concepto: igual tamaño que section-subtitle y justificado */
  .bootcamp-concepto {
    font-size: 1.15rem !important;
    text-align: justify !important;
  }
  /* Justificar subtítulo de contrata-talento en responsive */
  .contrata-talento-subtitle {
    text-align: justify !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }
}
// ... existing code ...

@media (min-width: 901px) {
  .contrata-talento-pasos .section-title {
    white-space: nowrap !important;
    max-width: none !important;
    width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    display: block !important;
    font-size: clamp(1.2rem, 4vw, 2.6rem) !important;
  }
}

/* ===== MEDIA QUERIES ESPECÍFICAS PARA IPHONE 14 PRO ===== */
/* iPhone 14 Pro: 393x852px */
@media (max-width: 393px) {
  /* Header optimizado para iPhone 14 Pro */
  .header {
    padding: 20px 16px 12px 16px;
    flex-direction: column;
    gap: 16px;
  }
  
  .header__logo img {
    height: 32px;
  }
  
  .header__nav ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header__nav a {
    font-size: 0.9rem;
    padding: 4px 0;
  }
  
  .header__nav a.btn-header {
    top: 0;
  }
  
  .header__nav a.btn-header img {
    height: 32px !important;
  }
  
  /* Hero section optimizado */
  .hero {
    min-height: 380px;
    padding-bottom: 20px;
  }
  
  .hero__content {
    padding-top: 50px;
    padding-bottom: 25px;
  }
  
  .hero__content h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 16px;
    white-space: normal;
  }
  
  .hero__content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 8px;
    line-height: 1.4;
  }
  
  .hero__content p br {
    display: none;
  }
  
  .hero__buttons {
    gap: 12px;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: center;
  }
  
  .btn-green, .btn-outline {
    height: 36px;
    font-size: 0.9rem;
    padding: 6px 20px;
  }
  
  .btn-green img, .btn-outline img {
    height: 36px !important;
  }
  
  /* Logos section */
  .hero__logos {
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero__logos img {
    height: 28px;
    max-width: 70px;
  }
  
  /* Expertos section */
  .expertos {
    padding: 35px 16px 25px 16px;
  }
  
  .expertos__content {
    flex-direction: column;
    gap: 4px;
    min-height: auto;
  }
  
  .expertos__text {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    align-items: center;
  }
  
  .expertos__text h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
    text-align: center;
  }
  
  .expertos__text h2 br {
    display: none;
  }
  
  .expertos__text p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }
  
  .expertos__text p br {
    display: none;
  }
  
  .expertos__img {
    max-width: 100%;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
  }
  
  .expertos__img img {
    max-width: 100%;
    height: auto;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }
  
  /* Areas section */
  .areas {
    padding: 35px 16px 25px 16px;
    gap: 24px;
  }
  
  .areas h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .areas h2 br {
    display: none;
  }
  
  .areas__cards {
    gap: 16px;
    flex-direction: column;
  }
  
  .area-card {
    padding: 20px 16px;
    max-width: 100%;
  }
  
  .area-card-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .area-card img {
    height: auto;
    max-height: 120px;
    max-width: 120px;
    margin-bottom: 12px;
  }
  
  .area-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: center;
  }
  
  .area-card p {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
  }
  
  .area-card .btn {
    align-self: center;
    margin-top: 16px;
  }
  
  /* Latam section */
  .latam {
    padding: 35px 16px 25px 16px;
    margin: 20px 0;
    border-radius: 8px !important;
  }
  
  .latam__content h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  
  .latam__content h2 br {
    display: none;
  }
  
  .latam__content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Enfoque section */
  .enfoque {
    padding: 35px 16px 25px 16px;
  }
  
  .enfoque h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .enfoque h2 br {
    display: none;
  }
  
  .enfoque__cards {
    gap: 16px;
    flex-direction: column;
  }
  
  .enfoque-card {
    padding: 16px 12px;
    max-width: 100%;
  }
  
  .enfoque-card img {
    height: 36px;
    margin-bottom: 8px;
  }
  
  .enfoque-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  
  .enfoque-card p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  /* Testimonio section */
  .testimonio {
    padding: 25px 16px;
  }
  
  .testimonio-carousel {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }
  
  .testimonio-arrow {
    margin: 8px 0;
    order: 2;
  }
  
  .testimonio-arrow svg {
    width: 36px;
    height: 36px;
  }
  
  .testimonio-content {
    order: 1;
    width: 100%;
  }
  
  .testimonio-text {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 8px;
    margin-bottom: 16px;
  }
  
  .testimonio-persona {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  
  .testimonio-nombre {
    font-size: 0.85rem;
  }
  
  .testimonio-cargo {
    font-size: 0.75rem;
  }
  
  /* Footer optimizado */
  .footer {
    padding: 25px 16px 20px 16px;
  }
  
  .footer-main-content {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
  }
  
  .footer-main-texto h2 {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
  }
  
  .footer-main-texto h2 br {
    display: none;
  }
  
  .footer-main-boton {
    margin: 0;
    justify-content: flex-start;
    width: 100%;
  }
  
  .footer-main-boton img {
    height: 36px !important;
    max-height: 36px;
  }
  
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 16px 0;
  }
  
  .footer__col {
    min-width: 0;
    width: 100%;
    text-align: left;
  }
  
  .footer__col h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .footer__col a, .footer__col span {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .footer__social {
    gap: 12px;
  }
  
  .footer__social img {
    height: 20px;
    width: 20px;
  }
  
  /* Scroll to top button */
  #scrollToTopBtn {
    right: 16px !important;
    top: 16px !important;
    height: 50px !important;
    width: 50px !important;
  }
  
  /* Ajustes generales para iPhone 14 Pro */
  .hero__circle {
    width: 110vw;
    max-width: 110vw;
  }
  
  /* Asegurar que no haya desbordes horizontales */
body, html {
  overflow-x: hidden;
  width: 100%;
}

/* Mejorar experiencia táctil */
@media (max-width: 768px) {
  .header__nav a,
  .btn,
  .testimonio-arrow,
  .footer__social a {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .header__nav a.btn-header {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Mejorar scroll suave */
  html {
    scroll-behavior: smooth;
  }
  
  /* Prevenir zoom en inputs */
  input, textarea, select {
    font-size: 16px;
  }
}
  
  /* Ajustar todos los contenedores principales */
  .header, .expertos, .areas, .latam, .enfoque, .testimonio, .footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Ocultar saltos de línea innecesarios */
  br {
    display: none;
  }
}

/* ===== MEDIA QUERIES PARA PANTALLAS MÁS PEQUEÑAS QUE IPHONE 14 PRO ===== */
@media (max-width: 375px) {
  .hero__content h1 {
    font-size: 1.4rem;
  }
  
  .hero__content p {
    font-size: 0.85rem;
  }
  
  .expertos__text h2,
  .areas h2,
  .latam__content h2,
  .enfoque h2 {
    font-size: 1.3rem;
  }
  
  .footer-main-texto h2 {
    font-size: 1.1rem;
  }
  
  .header__nav ul {
    gap: 12px;
  }
  
  .header__nav a {
    font-size: 0.85rem;
  }
  
  .header__nav a.btn-header img {
    height: 28px !important;
  }
  
  .btn-green img, .btn-outline img {
    height: 32px !important;
  }
  
  .hero__logos img {
    height: 24px;
    max-width: 60px;
  }
  
  .area-card img {
    max-height: 100px;
    max-width: 100px;
  }
  
  .enfoque-card img {
    height: 32px;
  }
  
  .footer-main-boton img {
    height: 32px !important;
  }
  
  .footer__social img {
    height: 18px;
    width: 18px;
  }
  
  #scrollToTopBtn {
    height: 45px !important;
    width: 45px !important;
  }
}

/* ===== MEDIA QUERIES PARA PANTALLAS MUY PEQUEÑAS ===== */
@media (max-width: 320px) {
  .header {
    padding: 16px 12px 10px 12px;
  }
  
  .hero__content {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  
  .hero__content h1 {
    font-size: 1.3rem;
  }
  
  .hero__content p {
    font-size: 0.8rem;
  }
  
  .expertos__text h2,
  .areas h2,
  .latam__content h2,
  .enfoque h2 {
    font-size: 1.2rem;
  }
  
  .footer-main-texto h2 {
    font-size: 1rem;
  }
  
  .header__nav ul {
    gap: 8px;
  }
  
  .header__nav a {
    font-size: 0.8rem;
  }
  
  .header__nav a.btn-header img {
    height: 24px !important;
  }
  
  .btn-green img, .btn-outline img {
    height: 28px !important;
  }
  
  .hero__logos img {
    height: 20px;
    max-width: 50px;
  }
  
  .area-card img {
    max-height: 80px;
    max-width: 80px;
  }
  
  .enfoque-card img {
    height: 28px;
  }
  
  .footer-main-boton img {
    height: 28px !important;
  }
  
  .footer__social img {
    height: 16px;
    width: 16px;
  }
  
  #scrollToTopBtn {
    height: 40px !important;
    width: 40px !important;
  }
}

/* ===== MEDIA QUERIES RESPONSIVE GENERAL PARA MÓVILES ===== */
@media (max-width: 600px) {
  .footer__main {
    min-height: 168px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #181c1f !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer-main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .footer-main-texto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-bottom: 0 !important;
  }
  .footer-main-texto h2 {
    position: relative;
    top: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .footer__bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    gap: 4px !important;
  }
  .footer__content {
    gap: 4px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer__col {
    margin-bottom: 2px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    width: 100%;
  }
  .footer__menu-links a:last-child {
    margin-left: 10px !important;
  }
  .footer__contacto-datos {
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .footer__social {
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .footer__bottom span {
    margin-top: 8px !important;
    font-size: 0.85rem !important;
  }
  .footer__main {
    padding-top: 15% !important;
    padding-bottom: 80% !important;
  }
  .footer__bottom {
    margin-top: 20% !important;
  }
  .footer__main,
  .footer__bottom {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .footer-main-content,
  .footer__content {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .footer-main-content {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    background: #181c1f !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    padding: 0 !important;
    gap: 12px;
  }
  .footer-main-texto {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    text-align: center;
    margin: 0;
  }
  .footer-main-boton {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    margin: 0;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
  }
  .footer__menu-links a {
    display: inline-block;
    margin: 0;
    padding: 4px 0;
    font-size: 1rem;
    white-space: nowrap;
  }
  .footer__col.footer__menu {
    align-items: center;
    text-align: center;
  }
  .footer__col.footer__menu h5 {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
  }
  .footer__contacto-datos {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
    width: 100%;
    text-align: center;
  }
  .logos-section {
    margin-bottom: 80px !important;
    padding-bottom: 0 !important;
  }
  .expertos {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .hero {
    padding-top: 0 !important;
    padding-bottom: 8px !important;
    min-height: unset !important;
  }
  .hero__content {
    padding-top: 4px !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
  }
  .hero__buttons {
    flex-direction: row !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: -8px !important;
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .mobile-menu ul li a {
    font-weight: 400 !important;
  }
  .expertos__text p,
  .area-card p {
    text-align: justify !important;
  }
  .expertos__text h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .footer__content {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .footer__content > .footer__col,
  .footer__content > .footer__menu-links,
  .footer__content > .footer__contacto-datos,
  .footer__content > .footer__social-col,
  .footer__content > .footer__social {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (min-width: 701px) {
  .footer-main-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #181c1f;
  }
  .footer-main-texto {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .footer-main-boton {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 120px 0 0;
  }
  #scrollToTopBtn {
    position: absolute !important;
    left: calc(50vw + 560px) !important;
    right: auto !important;
    top: auto !important;
    bottom: 120px !important;
    transform: translateX(-50%);
    height: 60px !important;
    width: 60px !important;
    margin: 0 !important;
    z-index: 10;
  }
}

@media (max-width: 700px) {
  .footer-main-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 0 16px 0 !important;
  }
  .footer-main-texto,
  .footer-main-boton {
    width: 100%;
    justify-content: center;
    margin: 0;
  }
  #scrollToTopBtn {
    position: static !important;
    display: block;
    margin: 18px auto 0 auto;
    height: 48px !important;
    width: 48px !important;
  }
}

@media (max-width: 600px) {
  .header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px 12px 16px !important;
    position: relative;
  }
  .header__logo {
    flex: 0 0 auto;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .menu-toggle {
    display: block !important;
    position: relative;
    z-index: 1001;
    margin-left: auto;
  }
  .header__nav {
    display: none !important;
  }
  .header__nav ul {
    gap: 44px !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
  }
  .header__nav ul li:not(:last-child) {
    margin-right: 0 !important;
  }
  .header__nav ul li:last-child {
    margin-left: 2px !important;
    position: relative;
    top: -18px !important;
  }
  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    background: #fff !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    border-radius: 0 0 12px 12px;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: opacity 0.2s;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    overflow: hidden;
  }
  .mobile-menu ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start;
    gap: 18px;
    padding: 16px 0 12px 24px !important;
    margin: 0;
  }
  .mobile-menu ul li {
    width: 100%;
    text-align: center;
  }
  .mobile-menu ul li a {
    font-size: 1.25rem;
    color: #222;
    text-decoration: none;
    font-weight: 400 !important;
    padding: 12px 0;
    display: block;
    width: 100vw;
  }
  .mobile-menu ul {
    align-items: flex-start !important;
    text-align: left !important;
    padding-left: 24px !important;
  }
  .mobile-menu ul li {
    text-align: left !important;
    width: 100%;
  }
  .mobile-menu ul li a {
    width: auto;
    padding-left: 0;
  }
  .areas h2 {
    margin-bottom: 10px;
  }
  .area-card img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .area-card h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .expertos__text h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-main-texto h2 {
    font-size: 1.60rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

/* Forzar ocultar hamburguesa en desktop y mostrar solo en mobile */
.menu-toggle {
  display: none !important;
}
@media (max-width: 600px) {
  .menu-toggle {
    display: block !important;
  }
}

@media (max-width: 600px) {
  .hero__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .logos-carousel {
    display: flex;
    position: relative;
    width: 100%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
  }
  
  .logos-slide {
    display: none;
    justify-content: center;
    align-items: center;
  }
  
  .logos-slide.active {
    display: flex;
  }
  
  .logos-slide img {
    height: 120px;
    max-width: 300px;
    width: auto;
  }
}



@media (max-width: 600px) {
  .areas {
    padding: 17px 16px 12px 16px;
  }
}

@media (max-width: 600px) {
  .expertos__text h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-main-texto h2 {
    font-size: 1.60rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .areas h2,
  .enfoque h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .areas h2 {
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .hero__content h1 {
    font-size: 1.50rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .hero__content p {
    font-size: 0.85rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

/* Logos Carousel */
.logos-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.logos-slide {
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.logos-slide.active {
  display: flex;
  opacity: 1;
}

.logos-slide img {
  height: 100px;
  max-width: 250px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.logos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.logos-arrow:hover svg path {
  stroke: #3AB1C3;
}

.logos-arrow.left {
  left: 0;
}

.logos-arrow.right {
  right: 0;
}

.logos-arrow svg {
  width: 24px;
  height: 24px;
}

.logos-arrow svg path {
  stroke: #3AC37B;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

/* Desktop: Show all logos */
@media (min-width: 601px) {
  .logos-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 94px;
  }
  
  .logos-slide {
    display: flex !important;
    opacity: 1 !important;
  }
  
  .logos-slide img {
    height: 46px;
    max-width: 144px;
  }
  
  .logos-arrow {
    display: none;
  }
} 

/* ====== CONTRATA TALENTO LANDING (solo para contrata-talento.html) ====== */
.contrata-talento-hero {
  background-size: cover !important;
  background-position: center !important;
  min-height: 442px; /* antes 340px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 83px 0 62px 0; /* antes 64px 0 48px 0 */
}
.contrata-talento-hero .hero__title {
  color: #fff;
  font-size: 3.9rem; /* antes 3rem */
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.contrata-talento-hero .hero__subtitle {
  color: #fff;
  font-size: 1.75rem; /* antes 1.35rem */
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.contrata-talento-pasos {
  background: #fff;
  padding: 48px 0 32px 0;
  text-align: center;
}
.contrata-talento-pasos .section-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  /* Eliminar width y max-width que limitan el texto */
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center;
  white-space: normal;
  line-height: 1.18;
}
@media (min-width: 901px) {
  .contrata-talento-pasos .section-title {
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: clamp(1.2rem, 4vw, 2.6rem) !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
  }
}
.contrata-talento-pasos .section-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 36px;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
}
.contrata-talento-pasos .cards-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 36px 36px 28px 36px;
  min-width: 340px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: box-shadow 0.2s;
  margin-bottom: 0;
}
.contrata-talento-card img {
  height: 110px !important;
  margin: 18px 0 10px 0 !important;
  align-self: center;
}
.contrata-talento-card p {
  font-size: 1rem;
  color: #333;
  margin-top: 0;
}
.card-header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 8px;
}
.card-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #3AC37B;
  line-height: 1;
  min-width: 38px;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  line-height: 1.18;
}
.card-desc {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 18px;
}
.card-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
}
.card-img img {
  height: 120px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Formulario buscar expertos */
.contrata-talento-form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  background: #fff;
  padding: 48px 0 32px 0;
  margin-top: 32px;
  flex-wrap: wrap;
}
.contrata-talento-form .form-img {
  width: 420px;
  max-width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.contrata-talento-form-fields {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 340px;
  max-width: 420px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 32px 28px 24px 28px;
  gap: 16px;
}
.contrata-talento-form-fields h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.contrata-talento-form-fields .input-field {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 1rem;
  box-shadow: none;
}
.contrata-talento-form-fields .btn-main {
  background: url('img/fondo-bt-quierosertalento.png') center/cover no-repeat !important;
  color: #fff;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1.1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 160px;
  box-shadow: none;
}
.contrata-talento-form-fields .btn-main:hover {
  opacity: 0.9;
}

/* Footer específico si se requiere ajuste */
.contrata-talento-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-footer .footer-col {
  flex: 1 1 180px;
  min-width: 160px;
}

@media (max-width: 900px) {
  .contrata-talento-pasos .cards-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-form {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-form .form-img {
    width: 100%;
    max-width: 340px;
    margin-bottom: 18px;
  }
  .contrata-talento-form-fields {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .contrata-talento-hero {
    min-height: 234px; /* antes 180px */
    padding: 47px 0 31px 0; /* antes 36px 0 24px 0 */
  }
  .contrata-talento-hero .hero__title {
    font-size: 2.6rem; /* antes 2rem */
  }
  .contrata-talento-hero .hero__subtitle {
    font-size: 1.2rem; /* antes 0.92rem aprox */
  }
  .contrata-talento-card {
    padding: 22px 10px 18px 10px;
    min-width: 0;
    max-width: 100%;
  }
  .contrata-talento-form {
    padding: 24px 0 16px 0;
  }
} 

.contrata-talento-cards-top {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-cards-bottom {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .contrata-talento-cards-top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-cards-bottom {
    margin-top: 18px;
  }
} 

/* Layout tipo T para cards (reutilizable) */
.cards-t-layout {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .cards-t-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 36px 36px 28px 36px;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: box-shadow 0.2s;
  margin-bottom: 0;
}
.cards-t-layout .card-1 { grid-column: 1; grid-row: 1; }
.cards-t-layout .card-2 { grid-column: 2; grid-row: 1; }
.cards-t-layout .card-3 { grid-column: 1 / span 2; grid-row: 2; justify-self: center; }
.card-header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 8px;
}
.card-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #3AC37B;
  line-height: 1;
  min-width: 38px;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  line-height: 1.18;
}
.card-desc {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 18px;
}
.card-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
}
.card-img img {
  height: 120px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}
.cards-t-layout .card-1 .card-img img,
.cards-t-layout .card-2 .card-img img {
  height: 180px;
  max-width: 330px;
}
@media (max-width: 900px) {
  .cards-t-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
  .card {
    min-width: 0;
    max-width: 100%;
    padding: 22px 10px 18px 10px;
  }
  .card-img img {
    height: 90px;
    max-width: 140px;
  }
  .cards-t-layout .card-1 .card-img img,
  .cards-t-layout .card-2 .card-img img {
    height: 135px;
    max-width: 210px;
  }
} 

.cards-t-layout .card {
  max-width: 420px;
  width: 100%;
  justify-self: unset;
}

.cards-t-layout .card-3 {
  grid-column: 1 / span 2;
  justify-self: stretch;
  max-width: 852px;
  width: 100%;
  padding: 36px 36px 28px 36px;
}
.card-3-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}
.card-3-text {
  flex: 1 1 0;
  min-width: 0;
}
.card-3-img {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}.card-3-img img {
  height: 225px;
  max-width: 390px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .cards-t-layout .card-3 {
    padding: 22px 10px 18px 10px;
  }
  .card-3-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-3-img img {
    height: 150px;
    max-width: 240px;
  }
}

.contrata-talento-form-title {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 32px auto;
  text-align: center;
}
.form-section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-section-subtitle {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 0;
  line-height: 1.3;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.form-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 48px auto;
}
.form-img-wrap {
  flex: 1 1 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.form-img {
  width: 100%;
  max-width: 540px;
  min-width: 320px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  height: 100%;
  aspect-ratio: 4/3;
}
.form-fields {
  flex: 1 1 0;
  max-width: 420px;
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  align-self: stretch;
}
@media (max-width: 900px) {
  .form-flex {
    flex-direction: column;
    gap: 24px;
    max-width: 98vw;
  }
  .form-img-wrap, .form-fields {
    max-width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .form-img {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.form-fields label {
  font-size: 1.08rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 4px;
  margin-top: 8px;
}
.input-field {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 1rem;
  box-shadow: none;
  margin-bottom: 0;
}
.form-btn-row {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.gradient-btn {
  background: url('img/fondo-bt-quierosertalento.png') center/cover no-repeat !important;
  color: #fff;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1.1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 160px;
  box-shadow: none;
}
.gradient-btn:hover {
  opacity: 0.9;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.form-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
}

.form-fields label {
  font-size: 0.98rem;
  margin-bottom: 2px;
  margin-top: 6px;
}
.input-field {
  padding: 9px 10px;
  font-size: 0.95rem;
}
.form-fields h3 {
  font-size: 1.18rem;
}
.gradient-btn {
  font-size: 1rem;
  padding: 8px 0;
  min-width: 120px;
}
.form-fields {
  padding: 22px 16px 16px 16px;
}
.form-img {
  max-width: 650px;
  min-width: 340px;
  aspect-ratio: 16/11;
}

.form-img {
  max-width: 800px;
  min-width: 400px;
  aspect-ratio: 16/10;
}

.form-img {
  max-width: 950px;
  min-width: 500px;
  aspect-ratio: 16/9;
}
.form-img {
  max-width: 1187px;
  min-width: 625px;
  aspect-ratio: 16/9;
}

@media (max-width: 600px) {
  /* Banner: El talento ideal (ajuste solicitado) */
  .contrata-talento-hero .hero__title {
    font-size: 180% !important;
  }
  /* Banner: El talento ideal */
  .contrata-talento-hero .hero__title {
    font-size: 80% !important;
    text-align: center;
    width: 100%;
    margin: 0 auto 8px auto;
    white-space: normal;
  }
  /* Banner: Complementa tus equipos... */
  .contrata-talento-pasos .section-title {
    font-size: 60% !important;
    text-align: center;
    width: 100%;
    margin: 0 auto 8px auto;
    white-space: normal;
  }
  /* Concepto debajo del título */
  .contrata-talento-pasos .section-subtitle {
    text-align: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
  }
  /* Cards de pasos en columna */
  .contrata-talento-pasos > div {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: center !important;
  }
  .contrata-talento-pasos > div > div {
    width: 95% !important;
    max-width: 420px !important;
    margin: 0 auto 0 auto !important;
  }
  /* Si hay filas anidadas, forzar columna */
  .contrata-talento-pasos > div > div > div {
    flex-direction: column !important;
  }
  /* Concepto de listo para contratar */
  .contrata-talento-form-title {
    text-align: center;
    width: 90%;
    margin: 0 auto 18px auto;
  }
  .contrata-talento-form-title .form-section-title,
  .contrata-talento-form-title .form-section-subtitle {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Foto después del concepto */
  .form-img {
    width: 80% !important;
    max-width: 80% !important;
    margin-left: 10% !important;
  }
  /* Título buscar expertos */
  .form-fields h3 {
    text-align: center !important;
    white-space: nowrap !important;
    width: 100%;
    margin: 0 auto 18px auto;
  }
  /* Formulario: etiquetas alineadas a la izquierda, campos centrados */
  .form-fields label {
    text-align: left !important;
    width: 100%;
    margin-left: 0;
  }
  .form-fields .input-field {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 90%;
  }
  .form-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
}

@media (max-width: 600px) {
  .contrata-talento-hero .hero__title {
    font-size: 8vw !important;
  }
}

@media (max-width: 600px) {
  .contrata-talento-pasos .section-title {
    font-size: 8vw !important;
  }
}

@media (max-width: 600px) {
  /* Cards de pasos en columna: fuerza todos los divs hijos directos de .contrata-talento-pasos a columna */
  .contrata-talento-pasos > div,
  .contrata-talento-pasos > div > div {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    gap: 18px !important;
  }
  .contrata-talento-pasos > div > div {
    margin: 0 auto !important;
    width: 95% !important;
    max-width: 420px !important;
  }
}

@media (max-width: 600px) {
  /* Card 3: apilar número, título y concepto verticalmente */
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin-bottom: 8px !important;
  }
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] > span {
    display: block !important;
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #2ed47a !important;
    margin-bottom: 8px !important;
    width: 100% !important;
  }
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] > div > div[style*="font-size:1.15rem"] {
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
  }
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] > div > div[style*="font-size:1rem"] {
    text-align: justify !important;
    width: 100% !important;
    margin-bottom: 18px !important;
    font-weight: 400 !important;
  }
}

@media (max-width: 600px) {
  /* Imagen de 'listo para contratar' al 75% del tamaño actual y centrada */
  .form-img-wrap .form-img {
    width: 75% !important;
    max-width: 75% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 600px) {
  /* Imagen de 'form-contrata.png' al 60% del tamaño actual y centrada */
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 60% !important;
    max-width: 60% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 600px) {
  /* Forzar tamaño de form-contrata.png al 60% y sobrescribir inline */
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 60% !important;
    max-width: 60% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 600px) {
  /* Aumentar tamaño de form-contrata.png a 180% y sobrescribir inline */
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 180% !important;
    max-width: 180% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 600px) {
  /* Imagen form-contrata.png al 180%, centrada y alineada al centro */
  .form-img-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 180% !important;
    max-width: 180% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
  }
}

@media (max-width: 600px) {
  /* Imagen form-contrata.png al 180%, centrada visualmente */
  .form-img-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    overflow: visible !important;
    position: relative !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 180% !important;
    max-width: 180% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    text-align: center !important;
    position: relative !important;
    left: 50%;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 600px) {
  /* Ajustar tamaño de .form-img-wrap a 120% y centrarlo */
  body > section.form-section.form-flex > div.form-img-wrap {
    width: 120% !important;
    max-width: 120% !important;
    min-width: 0 !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    position: relative !important;
    left: 50%;
    transform: translateX(-10%) !important;
  }
}

@media (max-width: 600px) {
  /* Imagen y contenedor al 75% y centrados */
  body > section.form-section.form-flex > div.form-img-wrap {
    width: 75% !important;
    max-width: 75% !important;
    min-width: 0 !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    position: static !important;
    left: unset;
    transform: none !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    position: static !important;
    left: unset;
    transform: none !important;
  }
}

@media (max-width: 600px) {
  /* Imagen y contenedor al 85% y centrados */
  body > section.form-section.form-flex > div.form-img-wrap {
    width: 85% !important;
    max-width: 85% !important;
    min-width: 0 !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    position: static !important;
    left: unset;
    transform: none !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    position: static !important;
    left: unset;
    transform: none !important;
  }
}

@media (max-width: 600px) {
  /* Centrar y alinear al medio el título 'Buscar expertos' */
  .form-fields h3 {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
  }
}

@media (max-width: 600px) {
  /* Forzar centrado del título 'Buscar expertos' con máxima especificidad */
  form.form-fields > h3,
  .form-fields > h3,
  section.form-section.form-flex form.form-fields > h3 {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    justify-content: unset !important;
    align-items: unset !important;
  }
}

@media (max-width: 600px) {
  /* Hacer que el formulario ocupe el 100% del ancho en responsive */
  body > section.form-section.form-flex > form.form-fields {
    max-width: 100% !important;
    width: 100% !important;
    flex: unset !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  /* Mover los títulos de las casillas del formulario un poco a la derecha */
  .form-fields label {
    padding-left: 12px !important;
  }
}

@media (max-width: 600px) {
  /* Forzar que el número de la card 3 esté encima del bloque de texto */
  body > section.contrata-talento-pasos > div:nth-child(3) > div:nth-child(2) > div > div:nth-child(1) > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  body > section.contrata-talento-pasos > div:nth-child(3) > div:nth-child(2) > div > div:nth-child(1) > div > span {
    order: 0 !important;
    margin-bottom: 8px !important;
  }
  body > section.contrata-talento-pasos > div:nth-child(3) > div:nth-child(2) > div > div:nth-child(1) > div > div {
    order: 1 !important;
  }
}

@media (max-width: 600px) {
  /* Asegurar visibilidad y centrado del botón Enviar */
  .form-btn-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
  }
  .form-btn-row .btn-main.gradient-btn {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(90deg,#2ed47a 0%,#3bb6ff 100%) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 1.18rem !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 48px !important;
    min-width: 120px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 600px) {
  /* Reducir margen superior del botón Enviar */
  .form-btn-row {
    margin-top: 8px !important;
  }
}

@media (min-width: 901px) {
  /* Centrar el bloque de imagen y formulario en desktop */
  .form-section.form-flex {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: flex-start;
    display: flex;
    gap: 44px;
  }
}

@media (min-width: 901px) {
  /* Centrar y limitar el ancho del contenido, pero la sección ocupa 100% */
  .form-section.form-flex {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    background: #fff;
  }
  .form-section.form-flex .form-flex-inner {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 44px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .form-section.form-flex .form-flex-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0 !important;
  }
}

@media (min-width: 901px) {
  .form-btn-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
  }
  .form-btn-row .btn-main.gradient-btn {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(90deg,#2ed47a 0%,#3bb6ff 100%) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 1.18rem !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 48px !important;
    min-width: 120px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 600px) {
  body.nosotros .hero {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .hero {
    display: none !important;
  }
}

@media (max-width: 700px) {
  /* Unificar fotos de equipo en nosotros.html sin borde ni filtro, centradas */
  .card-img {
    width: 100% !important;
    max-width: 320px !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 auto 12px auto !important;
    display: block !important;
    filter: none !important;
    transition: none !important;
  }
  .card-img:hover {
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
  }
  /* Alinear las filas de fotos en columna y centrar */
  .card-img-row, .card-img-row-resp {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 700px) {
  // ... existing code ...
  /* Justificar el texto del concepto en responsive */
  .concepto-sapiens {
    text-align: justify !important;
  }
  /* Bootcamp concepto: igual tamaño que section-subtitle y justificado */
  .bootcamp-concepto {
    font-size: 1.15rem !important;
    text-align: justify !important;
  }
  /* Justificar subtítulo de contrata-talento en responsive */
  .contrata-talento-subtitle {
    text-align: justify !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }
}
// ... existing code ...

@media (min-width: 901px) {
  .contrata-talento-pasos .section-title {
    white-space: nowrap !important;
    max-width: none !important;
    width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    display: block !important;
    font-size: clamp(1.2rem, 4vw, 2.6rem) !important;
  }
}

/* ===== MEDIA QUERIES ESPECÍFICAS PARA IPHONE 14 PRO ===== */
/* iPhone 14 Pro: 393x852px */
@media (max-width: 393px) {
  /* Header optimizado para iPhone 14 Pro */
  .header {
    padding: 20px 16px 12px 16px;
    flex-direction: column;
    gap: 16px;
  }
  
  .header__logo img {
    height: 32px;
  }
  
  .header__nav ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header__nav a {
    font-size: 0.9rem;
    padding: 4px 0;
  }
  
  .header__nav a.btn-header {
    top: 0;
  }
  
  .header__nav a.btn-header img {
    height: 32px !important;
  }
  
  /* Hero section optimizado */
  .hero {
    min-height: 380px;
    padding-bottom: 20px;
  }
  
  .hero__content {
    padding-top: 50px;
    padding-bottom: 25px;
  }
  
  .hero__content h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 16px;
    white-space: normal;
  }
  
  .hero__content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 8px;
    line-height: 1.4;
  }
  
  .hero__content p br {
    display: none;
  }
  
  .hero__buttons {
    gap: 12px;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: center;
  }
  
  .btn-green, .btn-outline {
    height: 36px;
    font-size: 0.9rem;
    padding: 6px 20px;
  }
  
  .btn-green img, .btn-outline img {
    height: 36px !important;
  }
  
  /* Logos section */
  .hero__logos {
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero__logos img {
    height: 28px;
    max-width: 70px;
  }
  
  /* Expertos section */
  .expertos {
    padding: 35px 16px 25px 16px;
  }
  
  .expertos__content {
    flex-direction: column;
    gap: 4px;
    min-height: auto;
  }
  
  .expertos__text {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    align-items: center;
  }
  
  .expertos__text h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
    text-align: center;
  }
  
  .expertos__text h2 br {
    display: none;
  }
  
  .expertos__text p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }
  
  .expertos__text p br {
    display: none;
  }
  
  .expertos__img {
    max-width: 100%;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
  }
  
  .expertos__img img {
    max-width: 100%;
    height: auto;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }
  
  /* Areas section */
  .areas {
    padding: 35px 16px 25px 16px;
    gap: 24px;
  }
  
  .areas h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .areas h2 br {
    display: none;
  }
  
  .areas__cards {
    gap: 16px;
    flex-direction: column;
  }
  
  .area-card {
    padding: 20px 16px;
    max-width: 100%;
  }
  
  .area-card-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .area-card img {
    height: auto;
    max-height: 120px;
    max-width: 120px;
    margin-bottom: 12px;
  }
  
  .area-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: center;
  }
  
  .area-card p {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
  }
  
  .area-card .btn {
    align-self: center;
    margin-top: 16px;
  }
  
  /* Latam section */
  .latam {
    padding: 35px 16px 25px 16px;
    margin: 20px 0;
    border-radius: 8px !important;
  }
  
  .latam__content h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  
  .latam__content h2 br {
    display: none;
  }
  
  .latam__content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Enfoque section */
  .enfoque {
    padding: 35px 16px 25px 16px;
  }
  
  .enfoque h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .enfoque h2 br {
    display: none;
  }
  
  .enfoque__cards {
    gap: 16px;
    flex-direction: column;
  }
  
  .enfoque-card {
    padding: 16px 12px;
    max-width: 100%;
  }
  
  .enfoque-card img {
    height: 36px;
    margin-bottom: 8px;
  }
  
  .enfoque-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  
  .enfoque-card p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  /* Testimonio section */
  .testimonio {
    padding: 25px 16px;
  }
  
  .testimonio-carousel {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }
  
  .testimonio-arrow {
    margin: 8px 0;
    order: 2;
  }
  
  .testimonio-arrow svg {
    width: 36px;
    height: 36px;
  }
  
  .testimonio-content {
    order: 1;
    width: 100%;
  }
  
  .testimonio-text {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 8px;
    margin-bottom: 16px;
  }
  
  .testimonio-persona {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  
  .testimonio-nombre {
    font-size: 0.85rem;
  }
  
  .testimonio-cargo {
    font-size: 0.75rem;
  }
  
  /* Footer optimizado */
  .footer {
    padding: 25px 16px 20px 16px;
  }
  
  .footer-main-content {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
  }
  
  .footer-main-texto h2 {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
  }
  
  .footer-main-texto h2 br {
    display: none;
  }
  
  .footer-main-boton {
    margin: 0;
    justify-content: flex-start;
    width: 100%;
  }
  
  .footer-main-boton img {
    height: 36px !important;
    max-height: 36px;
  }
  
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 16px 0;
  }
  
  .footer__col {
    min-width: 0;
    width: 100%;
    text-align: left;
  }
  
  .footer__col h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .footer__col a, .footer__col span {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .footer__social {
    gap: 12px;
  }
  
  .footer__social img {
    height: 20px;
    width: 20px;
  }
  
  /* Scroll to top button */
  #scrollToTopBtn {
    right: 16px !important;
    top: 16px !important;
    height: 50px !important;
    width: 50px !important;
  }
  
  /* Ajustes generales para iPhone 14 Pro */
  .hero__circle {
    width: 110vw;
    max-width: 110vw;
  }
  
  /* Asegurar que no haya desbordes horizontales */
body, html {
  overflow-x: hidden;
  width: 100%;
}

/* Mejorar experiencia táctil */
@media (max-width: 768px) {
  .header__nav a,
  .btn,
  .testimonio-arrow,
  .footer__social a {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .header__nav a.btn-header {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Mejorar scroll suave */
  html {
    scroll-behavior: smooth;
  }
  
  /* Prevenir zoom en inputs */
  input, textarea, select {
    font-size: 16px;
  }
}
  
  /* Ajustar todos los contenedores principales */
  .header, .expertos, .areas, .latam, .enfoque, .testimonio, .footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Ocultar saltos de línea innecesarios */
  br {
    display: none;
  }
}

/* ===== MEDIA QUERIES PARA PANTALLAS MÁS PEQUEÑAS QUE IPHONE 14 PRO ===== */
@media (max-width: 375px) {
  .hero__content h1 {
    font-size: 1.4rem;
  }
  
  .hero__content p {
    font-size: 0.85rem;
  }
  
  .expertos__text h2,
  .areas h2,
  .latam__content h2,
  .enfoque h2 {
    font-size: 1.3rem;
  }
  
  .footer-main-texto h2 {
    font-size: 1.1rem;
  }
  
  .header__nav ul {
    gap: 12px;
  }
  
  .header__nav a {
    font-size: 0.85rem;
  }
  
  .header__nav a.btn-header img {
    height: 28px !important;
  }
  
  .btn-green img, .btn-outline img {
    height: 32px !important;
  }
  
  .hero__logos img {
    height: 24px;
    max-width: 60px;
  }
  
  .area-card img {
    max-height: 100px;
    max-width: 100px;
  }
  
  .enfoque-card img {
    height: 32px;
  }
  
  .footer-main-boton img {
    height: 32px !important;
  }
  
  .footer__social img {
    height: 18px;
    width: 18px;
  }
  
  #scrollToTopBtn {
    height: 45px !important;
    width: 45px !important;
  }
}

/* ===== MEDIA QUERIES PARA PANTALLAS MUY PEQUEÑAS ===== */
@media (max-width: 320px) {
  .header {
    padding: 16px 12px 10px 12px;
  }
  
  .hero__content {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  
  .hero__content h1 {
    font-size: 1.3rem;
  }
  
  .hero__content p {
    font-size: 0.8rem;
  }
  
  .expertos__text h2,
  .areas h2,
  .latam__content h2,
  .enfoque h2 {
    font-size: 1.2rem;
  }
  
  .footer-main-texto h2 {
    font-size: 1rem;
  }
  
  .header__nav ul {
    gap: 8px;
  }
  
  .header__nav a {
    font-size: 0.8rem;
  }
  
  .header__nav a.btn-header img {
    height: 24px !important;
  }
  
  .btn-green img, .btn-outline img {
    height: 28px !important;
  }
  
  .hero__logos img {
    height: 20px;
    max-width: 50px;
  }
  
  .area-card img {
    max-height: 80px;
    max-width: 80px;
  }
  
  .enfoque-card img {
    height: 28px;
  }
  
  .footer-main-boton img {
    height: 28px !important;
  }
  
  .footer__social img {
    height: 16px;
    width: 16px;
  }
  
  #scrollToTopBtn {
    height: 40px !important;
    width: 40px !important;
  }
}

/* ===== MEDIA QUERIES RESPONSIVE GENERAL PARA MÓVILES ===== */
@media (max-width: 600px) {
  .footer__main {
    min-height: 168px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #181c1f !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer-main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .footer-main-texto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-bottom: 0 !important;
  }
  .footer-main-texto h2 {
    position: relative;
    top: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .footer__bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    gap: 4px !important;
  }
  .footer__content {
    gap: 4px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer__col {
    margin-bottom: 2px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    width: 100%;
  }
  .footer__menu-links a:last-child {
    margin-left: 10px !important;
  }
  .footer__contacto-datos {
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .footer__social {
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .footer__bottom span {
    margin-top: 8px !important;
    font-size: 0.85rem !important;
  }
  .footer__main {
    padding-top: 15% !important;
    padding-bottom: 80% !important;
  }
  .footer__bottom {
    margin-top: 20% !important;
  }
  .footer__main,
  .footer__bottom {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .footer-main-content,
  .footer__content {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .footer-main-content {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    background: #181c1f !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    padding: 0 !important;
    gap: 12px;
  }
  .footer-main-texto {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    text-align: center;
    margin: 0;
  }
  .footer-main-boton {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    margin: 0;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
  }
  .footer__menu-links a {
    display: inline-block;
    margin: 0;
    padding: 4px 0;
    font-size: 1rem;
    white-space: nowrap;
  }
  .footer__col.footer__menu {
    align-items: center;
    text-align: center;
  }
  .footer__col.footer__menu h5 {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
  }
  .footer__contacto-datos {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
    width: 100%;
    text-align: center;
  }
  .logos-section {
    margin-bottom: 80px !important;
    padding-bottom: 0 !important;
  }
  .expertos {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .hero {
    padding-top: 0 !important;
    padding-bottom: 8px !important;
    min-height: unset !important;
  }
  .hero__content {
    padding-top: 4px !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
  }
  .hero__buttons {
    flex-direction: row !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: -8px !important;
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .mobile-menu ul li a {
    font-weight: 400 !important;
  }
  .expertos__text p,
  .area-card p {
    text-align: justify !important;
  }
  .expertos__text h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .footer__content {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .footer__content > .footer__col,
  .footer__content > .footer__menu-links,
  .footer__content > .footer__contacto-datos,
  .footer__content > .footer__social-col,
  .footer__content > .footer__social {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (min-width: 701px) {
  .footer-main-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #181c1f;
  }
  .footer-main-texto {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .footer-main-boton {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 120px 0 0;
  }
  #scrollToTopBtn {
    position: absolute !important;
    left: calc(50vw + 560px) !important;
    right: auto !important;
    top: auto !important;
    bottom: 120px !important;
    transform: translateX(-50%);
    height: 60px !important;
    width: 60px !important;
    margin: 0 !important;
    z-index: 10;
  }
}

@media (max-width: 700px) {
  .footer-main-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 0 16px 0 !important;
  }
  .footer-main-texto,
  .footer-main-boton {
    width: 100%;
    justify-content: center;
    margin: 0;
  }
  #scrollToTopBtn {
    position: static !important;
    display: block;
    margin: 18px auto 0 auto;
    height: 48px !important;
    width: 48px !important;
  }
}

@media (max-width: 600px) {
  .header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px 12px 16px !important;
    position: relative;
  }
  .header__logo {
    flex: 0 0 auto;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .menu-toggle {
    display: block !important;
    position: relative;
    z-index: 1001;
    margin-left: auto;
  }
  .header__nav {
    display: none !important;
  }
  .header__nav ul {
    gap: 44px !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
  }
  .header__nav ul li:not(:last-child) {
    margin-right: 0 !important;
  }
  .header__nav ul li:last-child {
    margin-left: 2px !important;
    position: relative;
    top: -18px !important;
  }
  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    background: #fff !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    border-radius: 0 0 12px 12px;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: opacity 0.2s;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    overflow: hidden;
  }
  .mobile-menu ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start;
    gap: 18px;
    padding: 16px 0 12px 24px !important;
    margin: 0;
  }
  .mobile-menu ul li {
    width: 100%;
    text-align: center;
  }
  .mobile-menu ul li a {
    font-size: 1.25rem;
    color: #222;
    text-decoration: none;
    font-weight: 400 !important;
    padding: 12px 0;
    display: block;
    width: 100vw;
  }
  .mobile-menu ul {
    align-items: flex-start !important;
    text-align: left !important;
    padding-left: 24px !important;
  }
  .mobile-menu ul li {
    text-align: left !important;
    width: 100%;
  }
  .mobile-menu ul li a {
    width: auto;
    padding-left: 0;
  }
  .areas h2 {
    margin-bottom: 10px;
  }
  .area-card img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .area-card h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .expertos__text h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-main-texto h2 {
    font-size: 1.60rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

/* Forzar ocultar hamburguesa en desktop y mostrar solo en mobile */
.menu-toggle {
  display: none !important;
}
@media (max-width: 600px) {
  .menu-toggle {
    display: block !important;
  }
}

@media (max-width: 600px) {
  .hero__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .logos-carousel {
    display: flex;
    position: relative;
    width: 100%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
  }
  
  .logos-slide {
    display: none;
    justify-content: center;
    align-items: center;
  }
  
  .logos-slide.active {
    display: flex;
  }
  
  .logos-slide img {
    height: 120px;
    max-width: 300px;
    width: auto;
  }
}



@media (max-width: 600px) {
  .areas {
    padding: 17px 16px 12px 16px;
  }
}

@media (max-width: 600px) {
  .expertos__text h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-main-texto h2 {
    font-size: 1.60rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .areas h2,
  .enfoque h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .areas h2 {
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .hero__content h1 {
    font-size: 1.50rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .hero__content p {
    font-size: 0.85rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

/* Logos Carousel */
.logos-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.logos-slide {
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.logos-slide.active {
  display: flex;
  opacity: 1;
}

.logos-slide img {
  height: 100px;
  max-width: 250px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.logos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.logos-arrow:hover svg path {
  stroke: #3AB1C3;
}

.logos-arrow.left {
  left: 0;
}

.logos-arrow.right {
  right: 0;
}

.logos-arrow svg {
  width: 24px;
  height: 24px;
}

.logos-arrow svg path {
  stroke: #3AC37B;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

/* Desktop: Show all logos */
@media (min-width: 601px) {
  .logos-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 94px;
  }
  
  .logos-slide {
    display: flex !important;
    opacity: 1 !important;
  }
  
  .logos-slide img {
    height: 46px;
    max-width: 144px;
  }
  
  .logos-arrow {
    display: none;
  }
} 

/* ====== CONTRATA TALENTO LANDING (solo para contrata-talento.html) ====== */
.contrata-talento-hero {
  background-size: cover !important;
  background-position: center !important;
  min-height: 442px; /* antes 340px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 83px 0 62px 0; /* antes 64px 0 48px 0 */
}
.contrata-talento-hero .hero__title {
  color: #fff;
  font-size: 3.9rem; /* antes 3rem */
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.contrata-talento-hero .hero__subtitle {
  color: #fff;
  font-size: 1.75rem; /* antes 1.35rem */
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.contrata-talento-pasos {
  background: #fff;
  padding: 48px 0 32px 0;
  text-align: center;
}
.contrata-talento-pasos .section-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  /* Eliminar width y max-width que limitan el texto */
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center;
  white-space: normal;
  line-height: 1.18;
}
@media (min-width: 901px) {
  .contrata-talento-pasos .section-title {
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: clamp(1.2rem, 4vw, 2.6rem) !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
  }
}
.contrata-talento-pasos .section-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 36px;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
}
.contrata-talento-pasos .cards-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 36px 36px 28px 36px;
  min-width: 340px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: box-shadow 0.2s;
  margin-bottom: 0;
}
.contrata-talento-card img {
  height: 110px !important;
  margin: 18px 0 10px 0 !important;
  align-self: center;
}
.contrata-talento-card p {
  font-size: 1rem;
  color: #333;
  margin-top: 0;
}
.card-header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 8px;
}
.card-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #3AC37B;
  line-height: 1;
  min-width: 38px;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  line-height: 1.18;
}
.card-desc {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 18px;
}
.card-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
}
.card-img img {
  height: 120px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Formulario buscar expertos */
.contrata-talento-form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  background: #fff;
  padding: 48px 0 32px 0;
  margin-top: 32px;
  flex-wrap: wrap;
}
.contrata-talento-form .form-img {
  width: 420px;
  max-width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.contrata-talento-form-fields {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 340px;
  max-width: 420px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 32px 28px 24px 28px;
  gap: 16px;
}
.contrata-talento-form-fields h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.contrata-talento-form-fields .input-field {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 1rem;
  box-shadow: none;
}
.contrata-talento-form-fields .btn-main {
  background: url('img/fondo-bt-quierosertalento.png') center/cover no-repeat !important;
  color: #fff;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1.1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 160px;
  box-shadow: none;
}
.contrata-talento-form-fields .btn-main:hover {
  opacity: 0.9;
}

/* Footer específico si se requiere ajuste */
.contrata-talento-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-footer .footer-col {
  flex: 1 1 180px;
  min-width: 160px;
}

@media (max-width: 900px) {
  .contrata-talento-pasos .cards-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-form {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-form .form-img {
    width: 100%;
    max-width: 340px;
    margin-bottom: 18px;
  }
  .contrata-talento-form-fields {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .contrata-talento-hero {
    min-height: 234px; /* antes 180px */
    padding: 47px 0 31px 0; /* antes 36px 0 24px 0 */
  }
  .contrata-talento-hero .hero__title {
    font-size: 2.6rem; /* antes 2rem */
  }
  .contrata-talento-hero .hero__subtitle {
    font-size: 1.2rem; /* antes 0.92rem aprox */
  }
  .contrata-talento-card {
    padding: 22px 10px 18px 10px;
    min-width: 0;
    max-width: 100%;
  }
  .contrata-talento-form {
    padding: 24px 0 16px 0;
  }
} 

.contrata-talento-cards-top {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-cards-bottom {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .contrata-talento-cards-top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-cards-bottom {
    margin-top: 18px;
  }
} 

/* Layout tipo T para cards (reutilizable) */
.cards-t-layout {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .cards-t-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 36px 36px 28px 36px;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: box-shadow 0.2s;
  margin-bottom: 0;
}
.cards-t-layout .card-1 { grid-column: 1; grid-row: 1; }
.cards-t-layout .card-2 { grid-column: 2; grid-row: 1; }
.cards-t-layout .card-3 { grid-column: 1 / span 2; grid-row: 2; justify-self: center; }
.card-header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 8px;
}
.card-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #3AC37B;
  line-height: 1;
  min-width: 38px;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  line-height: 1.18;
}
.card-desc {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 18px;
}
.card-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
}
.card-img img {
  height: 120px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}
.cards-t-layout .card-1 .card-img img,
.cards-t-layout .card-2 .card-img img {
  height: 180px;
  max-width: 330px;
}
@media (max-width: 900px) {
  .cards-t-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
  .card {
    min-width: 0;
    max-width: 100%;
    padding: 22px 10px 18px 10px;
  }
  .card-img img {
    height: 90px;
    max-width: 140px;
  }
  .cards-t-layout .card-1 .card-img img,
  .cards-t-layout .card-2 .card-img img {
    height: 135px;
    max-width: 210px;
  }
} 

.cards-t-layout .card {
  max-width: 420px;
  width: 100%;
  justify-self: unset;
}

.cards-t-layout .card-3 {
  grid-column: 1 / span 2;
  justify-self: stretch;
  max-width: 852px;
  width: 100%;
  padding: 36px 36px 28px 36px;
}
.card-3-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}
.card-3-text {
  flex: 1 1 0;
  min-width: 0;
}
.card-3-img {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}.card-3-img img {
  height: 225px;
  max-width: 390px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .cards-t-layout .card-3 {
    padding: 22px 10px 18px 10px;
  }
  .card-3-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-3-img img {
    height: 150px;
    max-width: 240px;
  }
}

.contrata-talento-form-title {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 32px auto;
  text-align: center;
}
.form-section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-section-subtitle {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 0;
  line-height: 1.3;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.form-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 48px auto;
}
.form-img-wrap {
  flex: 1 1 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.form-img {
  width: 100%;
  max-width: 540px;
  min-width: 320px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  height: 100%;
  aspect-ratio: 4/3;
}
.form-fields {
  flex: 1 1 0;
  max-width: 420px;
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  align-self: stretch;
}
@media (max-width: 900px) {
  .form-flex {
    flex-direction: column;
    gap: 24px;
    max-width: 98vw;
  }
  .form-img-wrap, .form-fields {
    max-width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .form-img {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.form-fields label {
  font-size: 1.08rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 4px;
  margin-top: 8px;
}
.input-field {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 1rem;
  box-shadow: none;
  margin-bottom: 0;
}
.form-btn-row {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.gradient-btn {
  background: url('img/fondo-bt-quierosertalento.png') center/cover no-repeat !important;
  color: #fff;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1.1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 160px;
  box-shadow: none;
}
.gradient-btn:hover {
  opacity: 0.9;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.form-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
}

.form-fields label {
  font-size: 0.98rem;
  margin-bottom: 2px;
  margin-top: 6px;
}
.input-field {
  padding: 9px 10px;
  font-size: 0.95rem;
}
.form-fields h3 {
  font-size: 1.18rem;
}
.gradient-btn {
  font-size: 1rem;
  padding: 8px 0;
  min-width: 120px;
}
.form-fields {
  padding: 22px 16px 16px 16px;
}
.form-img {
  max-width: 650px;
  min-width: 340px;
  aspect-ratio: 16/11;
}

.form-img {
  max-width: 800px;
  min-width: 400px;
  aspect-ratio: 16/10;
}

.form-img {
  max-width: 950px;
  min-width: 500px;
  aspect-ratio: 16/9;
}
.form-img {
  max-width: 1187px;
  min-width: 625px;
  aspect-ratio: 16/9;
}

/* --- INICIO AJUSTES RESPONSIVE CONTRATA-TALENTO --- */
@media (max-width: 600px) {
  /* Centrar y ajustar la imagen */
  .form-img-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto 18px auto !important;
    text-align: center !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
    position: static !important;
    left: unset;
    transform: none !important;
  }
  /* Centrar el título '¿Listo para contratar?' y subtítulo */
  .contrata-talento-form-title,
  .contrata-talento-form-title .form-section-title,
  .contrata-talento-form-title .form-section-subtitle {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Centrar el título 'Buscar expertos' */
  .form-fields h3 {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 18px auto !important;
    white-space: normal !important;
  }
  /* Centrar el formulario y que ocupe todo el ancho */
  body > section.form-section.form-flex > form.form-fields {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  /* Centrar los campos del formulario */
  .form-fields .input-field {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    width: 90% !important;
  }
  /* Centrar el botón enviar */
  .form-btn-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }
  .form-btn-row .btn-main.gradient-btn {
    display: inline-block !important;
    margin: 0 auto !important;
    min-width: 120px !important;
    padding: 10px 48px !important;
    border-radius: 8px !important;
    font-size: 1.18rem !important;
    font-weight: 600 !important;
    background: linear-gradient(90deg,#2ed47a 0%,#3bb6ff 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
  }
}
/* --- FIN AJUSTES RESPONSIVE CONTRATA-TALENTO --- */

@media (max-width: 600px) {
  /* Hacer que el formulario ocupe el 100% del ancho en responsive */
  body > section.form-section.form-flex > form.form-fields {
    max-width: 100% !important;
    width: 100% !important;
    flex: unset !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  /* Mover los títulos de las casillas del formulario un poco a la derecha */
  .form-fields label {
    padding-left: 12px !important;
  }
}

@media (max-width: 600px) {
  /* Forzar que el número de la card 3 esté encima del bloque de texto */
  body > section.contrata-talento-pasos > div:nth-child(3) > div:nth-child(2) > div > div:nth-child(1) > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  body > section.contrata-talento-pasos > div:nth-child(3) > div:nth-child(2) > div > div:nth-child(1) > div > span {
    order: 0 !important;
    margin-bottom: 8px !important;
  }
  body > section.contrata-talento-pasos > div:nth-child(3) > div:nth-child(2) > div > div:nth-child(1) > div > div {
    order: 1 !important;
  }
}

@media (max-width: 600px) {
  /* Asegurar visibilidad y centrado del botón Enviar */
  .form-btn-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }
  .form-btn-row .btn-main.gradient-btn {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(90deg,#2ed47a 0%,#3bb6ff 100%) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 1.18rem !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 48px !important;
    min-width: 120px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 600px) {
  /* Reducir margen superior del botón Enviar */
  .form-btn-row {
    margin-top: 8px !important;
  }
}

@media (min-width: 901px) {
  /* Centrar el bloque de imagen y formulario en desktop */
  .form-section.form-flex {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: flex-start;
    display: flex;
    gap: 44px;
  }
}

@media (min-width: 901px) {
  /* Centrar y limitar el ancho del contenido, pero la sección ocupa 100% */
  .form-section.form-flex {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    background: #fff;
  }
  .form-section.form-flex .form-flex-inner {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 44px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .form-section.form-flex .form-flex-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0 !important;
  }
}

@media (min-width: 901px) {
  .form-btn-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
  }
  .form-btn-row .btn-main.gradient-btn {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(90deg,#2ed47a 0%,#3bb6ff 100%) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 1.18rem !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 48px !important;
    min-width: 120px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 600px) {
  body.nosotros .hero {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .hero {
    display: none !important;
  }
}

@media (max-width: 700px) {
  /* Unificar fotos de equipo en nosotros.html sin borde ni filtro, centradas */
  .card-img {
    width: 100% !important;
    max-width: 320px !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 auto 12px auto !important;
    display: block !important;
    filter: none !important;
    transition: none !important;
  }
  .card-img:hover {
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
  }
  /* Alinear las filas de fotos en columna y centrar */
  .card-img-row, .card-img-row-resp {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 700px) {
  // ... existing code ...
  /* Justificar el texto del concepto en responsive */
  .concepto-sapiens {
    text-align: justify !important;
  }
  /* Bootcamp concepto: igual tamaño que section-subtitle y justificado */
  .bootcamp-concepto {
    font-size: 1.15rem !important;
    text-align: justify !important;
  }
  /* Justificar subtítulo de contrata-talento en responsive */
  .contrata-talento-subtitle {
    text-align: justify !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }
}
// ... existing code ...

@media (min-width: 901px) {
  .contrata-talento-pasos .section-title {
    white-space: nowrap !important;
    max-width: none !important;
    width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    display: block !important;
    font-size: clamp(1.2rem, 4vw, 2.6rem) !important;
  }
}

/* ===== MEDIA QUERIES ESPECÍFICAS PARA IPHONE 14 PRO ===== */
/* iPhone 14 Pro: 393x852px */
@media (max-width: 393px) {
  /* Header optimizado para iPhone 14 Pro */
  .header {
    padding: 20px 16px 12px 16px;
    flex-direction: column;
    gap: 16px;
  }
  
  .header__logo img {
    height: 32px;
  }
  
  .header__nav ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header__nav a {
    font-size: 0.9rem;
    padding: 4px 0;
  }
  
  .header__nav a.btn-header {
    top: 0;
  }
  
  .header__nav a.btn-header img {
    height: 32px !important;
  }
  
  /* Hero section optimizado */
  .hero {
    min-height: 380px;
    padding-bottom: 20px;
  }
  
  .hero__content {
    padding-top: 50px;
    padding-bottom: 25px;
  }
  
  .hero__content h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 16px;
    white-space: normal;
  }
  
  .hero__content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 8px;
    line-height: 1.4;
  }
  
  .hero__content p br {
    display: none;
  }
  
  .hero__buttons {
    gap: 12px;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: center;
  }
  
  .btn-green, .btn-outline {
    height: 36px;
    font-size: 0.9rem;
    padding: 6px 20px;
  }
  
  .btn-green img, .btn-outline img {
    height: 36px !important;
  }
  
  /* Logos section */
  .hero__logos {
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero__logos img {
    height: 28px;
    max-width: 70px;
  }
  
  /* Expertos section */
  .expertos {
    padding: 35px 16px 25px 16px;
  }
  
  .expertos__content {
    flex-direction: column;
    gap: 4px;
    min-height: auto;
  }
  
  .expertos__text {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    align-items: center;
  }
  
  .expertos__text h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
    text-align: center;
  }
  
  .expertos__text h2 br {
    display: none;
  }
  
  .expertos__text p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }
  
  .expertos__text p br {
    display: none;
  }
  
  .expertos__img {
    max-width: 100%;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
  }
  
  .expertos__img img {
    max-width: 100%;
    height: auto;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }
  
  /* Areas section */
  .areas {
    padding: 35px 16px 25px 16px;
    gap: 24px;
  }
  
  .areas h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .areas h2 br {
    display: none;
  }
  
  .areas__cards {
    gap: 16px;
    flex-direction: column;
  }
  
  .area-card {
    padding: 20px 16px;
    max-width: 100%;
  }
  
  .area-card-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .area-card img {
    height: auto;
    max-height: 120px;
    max-width: 120px;
    margin-bottom: 12px;
  }
  
  .area-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: center;
  }
  
  .area-card p {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
  }
  
  .area-card .btn {
    align-self: center;
    margin-top: 16px;
  }
  
  /* Latam section */
  .latam {
    padding: 35px 16px 25px 16px;
    margin: 20px 0;
    border-radius: 8px !important;
  }
  
  .latam__content h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  
  .latam__content h2 br {
    display: none;
  }
  
  .latam__content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Enfoque section */
  .enfoque {
    padding: 35px 16px 25px 16px;
  }
  
  .enfoque h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .enfoque h2 br {
    display: none;
  }
  
  .enfoque__cards {
    gap: 16px;
    flex-direction: column;
  }
  
  .enfoque-card {
    padding: 16px 12px;
    max-width: 100%;
  }
  
  .enfoque-card img {
    height: 36px;
    margin-bottom: 8px;
  }
  
  .enfoque-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  
  .enfoque-card p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  /* Testimonio section */
  .testimonio {
    padding: 25px 16px;
  }
  
  .testimonio-carousel {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }
  
  .testimonio-arrow {
    margin: 8px 0;
    order: 2;
  }
  
  .testimonio-arrow svg {
    width: 36px;
    height: 36px;
  }
  
  .testimonio-content {
    order: 1;
    width: 100%;
  }
  
  .testimonio-text {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 8px;
    margin-bottom: 16px;
  }
  
  .testimonio-persona {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  
  .testimonio-nombre {
    font-size: 0.85rem;
  }
  
  .testimonio-cargo {
    font-size: 0.75rem;
  }
  
  /* Footer optimizado */
  .footer {
    padding: 25px 16px 20px 16px;
  }
  
  .footer-main-content {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
  }
  
  .footer-main-texto h2 {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
  }
  
  .footer-main-texto h2 br {
    display: none;
  }
  
  .footer-main-boton {
    margin: 0;
    justify-content: flex-start;
    width: 100%;
  }
  
  .footer-main-boton img {
    height: 36px !important;
    max-height: 36px;
  }
  
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 16px 0;
  }
  
  .footer__col {
    min-width: 0;
    width: 100%;
    text-align: left;
  }
  
  .footer__col h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .footer__col a, .footer__col span {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .footer__social {
    gap: 12px;
  }
  
  .footer__social img {
    height: 20px;
    width: 20px;
  }
  
  /* Scroll to top button */
  #scrollToTopBtn {
    right: 16px !important;
    top: 16px !important;
    height: 50px !important;
    width: 50px !important;
  }
  
  /* Ajustes generales para iPhone 14 Pro */
  .hero__circle {
    width: 110vw;
    max-width: 110vw;
  }
  
  /* Asegurar que no haya desbordes horizontales */
body, html {
  overflow-x: hidden;
  width: 100%;
}

/* Mejorar experiencia táctil */
@media (max-width: 768px) {
  .header__nav a,
  .btn,
  .testimonio-arrow,
  .footer__social a {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .header__nav a.btn-header {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Mejorar scroll suave */
  html {
    scroll-behavior: smooth;
  }
  
  /* Prevenir zoom en inputs */
  input, textarea, select {
    font-size: 16px;
  }
}
  
  /* Ajustar todos los contenedores principales */
  .header, .expertos, .areas, .latam, .enfoque, .testimonio, .footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Ocultar saltos de línea innecesarios */
  br {
    display: none;
  }
}

/* ===== MEDIA QUERIES PARA PANTALLAS MÁS PEQUEÑAS QUE IPHONE 14 PRO ===== */
@media (max-width: 375px) {
  .hero__content h1 {
    font-size: 1.4rem;
  }
  
  .hero__content p {
    font-size: 0.85rem;
  }
  
  .expertos__text h2,
  .areas h2,
  .latam__content h2,
  .enfoque h2 {
    font-size: 1.3rem;
  }
  
  .footer-main-texto h2 {
    font-size: 1.1rem;
  }
  
  .header__nav ul {
    gap: 12px;
  }
  
  .header__nav a {
    font-size: 0.85rem;
  }
  
  .header__nav a.btn-header img {
    height: 28px !important;
  }
  
  .btn-green img, .btn-outline img {
    height: 32px !important;
  }
  
  .hero__logos img {
    height: 24px;
    max-width: 60px;
  }
  
  .area-card img {
    max-height: 100px;
    max-width: 100px;
  }
  
  .enfoque-card img {
    height: 32px;
  }
  
  .footer-main-boton img {
    height: 32px !important;
  }
  
  .footer__social img {
    height: 18px;
    width: 18px;
  }
  
  #scrollToTopBtn {
    height: 45px !important;
    width: 45px !important;
  }
}

/* ===== MEDIA QUERIES PARA PANTALLAS MUY PEQUEÑAS ===== */
@media (max-width: 320px) {
  .header {
    padding: 16px 12px 10px 12px;
  }
  
  .hero__content {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  
  .hero__content h1 {
    font-size: 1.3rem;
  }
  
  .hero__content p {
    font-size: 0.8rem;
  }
  
  .expertos__text h2,
  .areas h2,
  .latam__content h2,
  .enfoque h2 {
    font-size: 1.2rem;
  }
  
  .footer-main-texto h2 {
    font-size: 1rem;
  }
  
  .header__nav ul {
    gap: 8px;
  }
  
  .header__nav a {
    font-size: 0.8rem;
  }
  
  .header__nav a.btn-header img {
    height: 24px !important;
  }
  
  .btn-green img, .btn-outline img {
    height: 28px !important;
  }
  
  .hero__logos img {
    height: 20px;
    max-width: 50px;
  }
  
  .area-card img {
    max-height: 80px;
    max-width: 80px;
  }
  
  .enfoque-card img {
    height: 28px;
  }
  
  .footer-main-boton img {
    height: 28px !important;
  }
  
  .footer__social img {
    height: 16px;
    width: 16px;
  }
  
  #scrollToTopBtn {
    height: 40px !important;
    width: 40px !important;
  }
}

/* ===== MEDIA QUERIES RESPONSIVE GENERAL PARA MÓVILES ===== */
@media (max-width: 600px) {
  .footer__main {
    min-height: 168px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #181c1f !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer-main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .footer-main-texto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-bottom: 0 !important;
  }
  .footer-main-texto h2 {
    position: relative;
    top: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .footer__bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    gap: 4px !important;
  }
  .footer__content {
    gap: 4px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer__col {
    margin-bottom: 2px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    width: 100%;
  }
  .footer__menu-links a:last-child {
    margin-left: 10px !important;
  }
  .footer__contacto-datos {
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .footer__social {
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .footer__bottom span {
    margin-top: 8px !important;
    font-size: 0.85rem !important;
  }
  .footer__main {
    padding-top: 15% !important;
    padding-bottom: 80% !important;
  }
  .footer__bottom {
    margin-top: 20% !important;
  }
  .footer__main,
  .footer__bottom {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .footer-main-content,
  .footer__content {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .footer-main-content {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    background: #181c1f !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    padding: 0 !important;
    gap: 12px;
  }
  .footer-main-texto {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    text-align: center;
    margin: 0;
  }
  .footer-main-boton {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    margin: 0;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
  }
  .footer__menu-links a {
    display: inline-block;
    margin: 0;
    padding: 4px 0;
    font-size: 1rem;
    white-space: nowrap;
  }
  .footer__col.footer__menu {
    align-items: center;
    text-align: center;
  }
  .footer__col.footer__menu h5 {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
  }
  .footer__contacto-datos {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
    width: 100%;
    text-align: center;
  }
  .logos-section {
    margin-bottom: 80px !important;
    padding-bottom: 0 !important;
  }
  .expertos {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .hero {
    padding-top: 0 !important;
    padding-bottom: 8px !important;
    min-height: unset !important;
  }
  .hero__content {
    padding-top: 4px !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
  }
  .hero__buttons {
    flex-direction: row !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: -8px !important;
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .mobile-menu ul li a {
    font-weight: 400 !important;
  }
  .expertos__text p,
  .area-card p {
    text-align: justify !important;
  }
  .expertos__text h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .footer__content {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .footer__content > .footer__col,
  .footer__content > .footer__menu-links,
  .footer__content > .footer__contacto-datos,
  .footer__content > .footer__social-col,
  .footer__content > .footer__social {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (min-width: 701px) {
  .footer-main-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #181c1f;
  }
  .footer-main-texto {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .footer-main-boton {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 120px 0 0;
  }
  #scrollToTopBtn {
    position: absolute !important;
    left: calc(50vw + 560px) !important;
    right: auto !important;
    top: auto !important;
    bottom: 120px !important;
    transform: translateX(-50%);
    height: 60px !important;
    width: 60px !important;
    margin: 0 !important;
    z-index: 10;
  }
}

@media (max-width: 700px) {
  .footer-main-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 0 16px 0 !important;
  }
  .footer-main-texto,
  .footer-main-boton {
    width: 100%;
    justify-content: center;
    margin: 0;
  }
  #scrollToTopBtn {
    position: static !important;
    display: block;
    margin: 18px auto 0 auto;
    height: 48px !important;
    width: 48px !important;
  }
}

@media (max-width: 600px) {
  .header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px 12px 16px !important;
    position: relative;
  }
  .header__logo {
    flex: 0 0 auto;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .menu-toggle {
    display: block !important;
    position: relative;
    z-index: 1001;
    margin-left: auto;
  }
  .header__nav {
    display: none !important;
  }
  .header__nav ul {
    gap: 44px !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
  }
  .header__nav ul li:not(:last-child) {
    margin-right: 0 !important;
  }
  .header__nav ul li:last-child {
    margin-left: 2px !important;
    position: relative;
    top: -18px !important;
  }
  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    background: #fff !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    border-radius: 0 0 12px 12px;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: opacity 0.2s;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    overflow: hidden;
  }
  .mobile-menu ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start;
    gap: 18px;
    padding: 16px 0 12px 24px !important;
    margin: 0;
  }
  .mobile-menu ul li {
    width: 100%;
    text-align: center;
  }
  .mobile-menu ul li a {
    font-size: 1.25rem;
    color: #222;
    text-decoration: none;
    font-weight: 400 !important;
    padding: 12px 0;
    display: block;
    width: 100vw;
  }
  .mobile-menu ul {
    align-items: flex-start !important;
    text-align: left !important;
    padding-left: 24px !important;
  }
  .mobile-menu ul li {
    text-align: left !important;
    width: 100%;
  }
  .mobile-menu ul li a {
    width: auto;
    padding-left: 0;
  }
  .areas h2 {
    margin-bottom: 10px;
  }
  .area-card img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .area-card h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .expertos__text h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-main-texto h2 {
    font-size: 1.60rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

/* Forzar ocultar hamburguesa en desktop y mostrar solo en mobile */
.menu-toggle {
  display: none !important;
}
@media (max-width: 600px) {
  .menu-toggle {
    display: block !important;
  }
}

@media (max-width: 600px) {
  .hero__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .logos-carousel {
    display: flex;
    position: relative;
    width: 100%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
  }
  
  .logos-slide {
    display: none;
    justify-content: center;
    align-items: center;
  }
  
  .logos-slide.active {
    display: flex;
  }
  
  .logos-slide img {
    height: 120px;
    max-width: 300px;
    width: auto;
  }
}



@media (max-width: 600px) {
  .areas {
    padding: 17px 16px 12px 16px;
  }
}

@media (max-width: 600px) {
  .expertos__text h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-main-texto h2 {
    font-size: 1.60rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .areas h2,
  .enfoque h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .areas h2 {
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .hero__content h1 {
    font-size: 1.50rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .hero__content p {
    font-size: 0.85rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

/* Logos Carousel */
.logos-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.logos-slide {
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.logos-slide.active {
  display: flex;
  opacity: 1;
}

.logos-slide img {
  height: 100px;
  max-width: 250px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.logos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.logos-arrow:hover svg path {
  stroke: #3AB1C3;
}

.logos-arrow.left {
  left: 0;
}

.logos-arrow.right {
  right: 0;
}

.logos-arrow svg {
  width: 24px;
  height: 24px;
}

.logos-arrow svg path {
  stroke: #3AC37B;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

/* Desktop: Show all logos */
@media (min-width: 601px) {
  .logos-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 94px;
  }
  
  .logos-slide {
    display: flex !important;
    opacity: 1 !important;
  }
  
  .logos-slide img {
    height: 46px;
    max-width: 144px;
  }
  
  .logos-arrow {
    display: none;
  }
} 

/* ====== CONTRATA TALENTO LANDING (solo para contrata-talento.html) ====== */
.contrata-talento-hero {
  background-size: cover !important;
  background-position: center !important;
  min-height: 442px; /* antes 340px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 83px 0 62px 0; /* antes 64px 0 48px 0 */
}
.contrata-talento-hero .hero__title {
  color: #fff;
  font-size: 3.9rem; /* antes 3rem */
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.contrata-talento-hero .hero__subtitle {
  color: #fff;
  font-size: 1.75rem; /* antes 1.35rem */
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.contrata-talento-pasos {
  background: #fff;
  padding: 48px 0 32px 0;
  text-align: center;
}
.contrata-talento-pasos .section-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  /* Eliminar width y max-width que limitan el texto */
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center;
  white-space: normal;
  line-height: 1.18;
}
@media (min-width: 901px) {
  .contrata-talento-pasos .section-title {
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: clamp(1.2rem, 4vw, 2.6rem) !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
  }
}
.contrata-talento-pasos .section-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 36px;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
}
.contrata-talento-pasos .cards-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 36px 36px 28px 36px;
  min-width: 340px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: box-shadow 0.2s;
  margin-bottom: 0;
}
.contrata-talento-card img {
  height: 110px !important;
  margin: 18px 0 10px 0 !important;
  align-self: center;
}
.contrata-talento-card p {
  font-size: 1rem;
  color: #333;
  margin-top: 0;
}
.card-header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 8px;
}
.card-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #3AC37B;
  line-height: 1;
  min-width: 38px;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  line-height: 1.18;
}
.card-desc {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 18px;
}
.card-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
}
.card-img img {
  height: 120px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Formulario buscar expertos */
.contrata-talento-form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  background: #fff;
  padding: 48px 0 32px 0;
  margin-top: 32px;
  flex-wrap: wrap;
}
.contrata-talento-form .form-img {
  width: 420px;
  max-width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.contrata-talento-form-fields {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 340px;
  max-width: 420px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 32px 28px 24px 28px;
  gap: 16px;
}
.contrata-talento-form-fields h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.contrata-talento-form-fields .input-field {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 1rem;
  box-shadow: none;
}
.contrata-talento-form-fields .btn-main {
  background: url('img/fondo-bt-quierosertalento.png') center/cover no-repeat !important;
  color: #fff;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1.1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 160px;
  box-shadow: none;
}
.contrata-talento-form-fields .btn-main:hover {
  opacity: 0.9;
}

/* Footer específico si se requiere ajuste */
.contrata-talento-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-footer .footer-col {
  flex: 1 1 180px;
  min-width: 160px;
}

@media (max-width: 900px) {
  .contrata-talento-pasos .cards-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-form {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-form .form-img {
    width: 100%;
    max-width: 340px;
    margin-bottom: 18px;
  }
  .contrata-talento-form-fields {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .contrata-talento-hero {
    min-height: 234px; /* antes 180px */
    padding: 47px 0 31px 0; /* antes 36px 0 24px 0 */
  }
  .contrata-talento-hero .hero__title {
    font-size: 2.6rem; /* antes 2rem */
  }
  .contrata-talento-hero .hero__subtitle {
    font-size: 1.2rem; /* antes 0.92rem aprox */
  }
  .contrata-talento-card {
    padding: 22px 10px 18px 10px;
    min-width: 0;
    max-width: 100%;
  }
  .contrata-talento-form {
    padding: 24px 0 16px 0;
  }
} 

.contrata-talento-cards-top {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-cards-bottom {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .contrata-talento-cards-top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-cards-bottom {
    margin-top: 18px;
  }
} 

/* Layout tipo T para cards (reutilizable) */
.cards-t-layout {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .cards-t-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 36px 36px 28px 36px;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: box-shadow 0.2s;
  margin-bottom: 0;
}
.cards-t-layout .card-1 { grid-column: 1; grid-row: 1; }
.cards-t-layout .card-2 { grid-column: 2; grid-row: 1; }
.cards-t-layout .card-3 { grid-column: 1 / span 2; grid-row: 2; justify-self: center; }
.card-header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 8px;
}
.card-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #3AC37B;
  line-height: 1;
  min-width: 38px;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  line-height: 1.18;
}
.card-desc {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 18px;
}
.card-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
}
.card-img img {
  height: 120px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}
.cards-t-layout .card-1 .card-img img,
.cards-t-layout .card-2 .card-img img {
  height: 180px;
  max-width: 330px;
}
@media (max-width: 900px) {
  .cards-t-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
  .card {
    min-width: 0;
    max-width: 100%;
    padding: 22px 10px 18px 10px;
  }
  .card-img img {
    height: 90px;
    max-width: 140px;
  }
  .cards-t-layout .card-1 .card-img img,
  .cards-t-layout .card-2 .card-img img {
    height: 135px;
    max-width: 210px;
  }
} 

.cards-t-layout .card {
  max-width: 420px;
  width: 100%;
  justify-self: unset;
}

.cards-t-layout .card-3 {
  grid-column: 1 / span 2;
  justify-self: stretch;
  max-width: 852px;
  width: 100%;
  padding: 36px 36px 28px 36px;
}
.card-3-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}
.card-3-text {
  flex: 1 1 0;
  min-width: 0;
}
.card-3-img {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}.card-3-img img {
  height: 225px;
  max-width: 390px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .cards-t-layout .card-3 {
    padding: 22px 10px 18px 10px;
  }
  .card-3-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-3-img img {
    height: 150px;
    max-width: 240px;
  }
}

.contrata-talento-form-title {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 32px auto;
  text-align: center;
}
.form-section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-section-subtitle {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 0;
  line-height: 1.3;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.form-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 48px auto;
}
.form-img-wrap {
  flex: 1 1 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.form-img {
  width: 100%;
  max-width: 540px;
  min-width: 320px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  height: 100%;
  aspect-ratio: 4/3;
}
.form-fields {
  flex: 1 1 0;
  max-width: 420px;
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  align-self: stretch;
}
@media (max-width: 900px) {
  .form-flex {
    flex-direction: column;
    gap: 24px;
    max-width: 98vw;
  }
  .form-img-wrap, .form-fields {
    max-width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .form-img {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.form-fields label {
  font-size: 1.08rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 4px;
  margin-top: 8px;
}
.input-field {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 1rem;
  box-shadow: none;
  margin-bottom: 0;
}
.form-btn-row {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.gradient-btn {
  background: url('img/fondo-bt-quierosertalento.png') center/cover no-repeat !important;
  color: #fff;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1.1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 160px;
  box-shadow: none;
}
.gradient-btn:hover {
  opacity: 0.9;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.form-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
}

.form-fields label {
  font-size: 0.98rem;
  margin-bottom: 2px;
  margin-top: 6px;
}
.input-field {
  padding: 9px 10px;
  font-size: 0.95rem;
}
.form-fields h3 {
  font-size: 1.18rem;
}
.gradient-btn {
  font-size: 1rem;
  padding: 8px 0;
  min-width: 120px;
}
.form-fields {
  padding: 22px 16px 16px 16px;
}
.form-img {
  max-width: 650px;
  min-width: 340px;
  aspect-ratio: 16/11;
}

.form-img {
  max-width: 800px;
  min-width: 400px;
  aspect-ratio: 16/10;
}

.form-img {
  max-width: 950px;
  min-width: 500px;
  aspect-ratio: 16/9;
}
.form-img {
  max-width: 1187px;
  min-width: 625px;
  aspect-ratio: 16/9;
}

@media (max-width: 600px) {
  /* Banner: El talento ideal (ajuste solicitado) */
  .contrata-talento-hero .hero__title {
    font-size: 180% !important;
  }
  /* Banner: El talento ideal */
  .contrata-talento-hero .hero__title {
    font-size: 80% !important;
    text-align: center;
    width: 100%;
    margin: 0 auto 8px auto;
    white-space: normal;
  }
  /* Banner: Complementa tus equipos... */
  .contrata-talento-pasos .section-title {
    font-size: 60% !important;
    text-align: center;
    width: 100%;
    margin: 0 auto 8px auto;
    white-space: normal;
  }
  /* Concepto debajo del título */
  .contrata-talento-pasos .section-subtitle {
    text-align: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
  }
  /* Cards de pasos en columna */
  .contrata-talento-pasos > div {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: center !important;
  }
  .contrata-talento-pasos > div > div {
    width: 95% !important;
    max-width: 420px !important;
    margin: 0 auto 0 auto !important;
  }
  /* Si hay filas anidadas, forzar columna */
  .contrata-talento-pasos > div > div > div {
    flex-direction: column !important;
  }
  /* Concepto de listo para contratar */
  .contrata-talento-form-title {
    text-align: center;
    width: 90%;
    margin: 0 auto 18px auto;
  }
  .contrata-talento-form-title .form-section-title,
  .contrata-talento-form-title .form-section-subtitle {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Foto después del concepto */
  .form-img {
    width: 80% !important;
    max-width: 80% !important;
    margin-left: 10% !important;
  }
  /* Título buscar expertos */
  .form-fields h3 {
    text-align: center !important;
    white-space: nowrap !important;
    width: 100%;
    margin: 0 auto 18px auto;
  }
  /* Formulario: etiquetas alineadas a la izquierda, campos centrados */
  .form-fields label {
    text-align: left !important;
    width: 100%;
    margin-left: 0;
  }
  .form-fields .input-field {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 90%;
  }
  .form-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
}

@media (max-width: 600px) {
  .contrata-talento-hero .hero__title {
    font-size: 8vw !important;
  }
}

@media (max-width: 600px) {
  .contrata-talento-pasos .section-title {
    font-size: 8vw !important;
  }
}

@media (max-width: 600px) {
  /* Cards de pasos en columna: fuerza todos los divs hijos directos de .contrata-talento-pasos a columna */
  .contrata-talento-pasos > div,
  .contrata-talento-pasos > div > div {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    gap: 18px !important;
  }
  .contrata-talento-pasos > div > div {
    margin: 0 auto !important;
    width: 95% !important;
    max-width: 420px !important;
  }
}

@media (max-width: 600px) {
  /* Card 3: apilar número, título y concepto verticalmente */
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin-bottom: 8px !important;
  }
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] > span {
    display: block !important;
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #2ed47a !important;
    margin-bottom: 8px !important;
    width: 100% !important;
  }
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] > div > div[style*="font-size:1.15rem"] {
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
  }
  .contrata-talento-pasos > div > div:last-child > div[style*="gap:18px"] > div > div[style*="font-size:1rem"] {
    text-align: justify !important;
    width: 100% !important;
    margin-bottom: 18px !important;
    font-weight: 400 !important;
  }
}

@media (max-width: 600px) {
  /* Imagen de 'listo para contratar' al 75% del tamaño actual y centrada */
  .form-img-wrap .form-img {
    width: 75% !important;
    max-width: 75% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 600px) {
  /* Imagen de 'form-contrata.png' al 60% del tamaño actual y centrada */
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 60% !important;
    max-width: 60% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 600px) {
  /* Forzar tamaño de form-contrata.png al 60% y sobrescribir inline */
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 60% !important;
    max-width: 60% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 600px) {
  /* Aumentar tamaño de form-contrata.png a 180% y sobrescribir inline */
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 180% !important;
    max-width: 180% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 600px) {
  /* Imagen form-contrata.png al 180%, centrada y alineada al centro */
  .form-img-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 180% !important;
    max-width: 180% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
  }
}

@media (max-width: 600px) {
  /* Imagen form-contrata.png al 180%, centrada visualmente */
  .form-img-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    overflow: visible !important;
    position: relative !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 180% !important;
    max-width: 180% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    text-align: center !important;
    position: relative !important;
    left: 50%;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 600px) {
  /* Ajustar tamaño de .form-img-wrap a 120% y centrarlo */
  body > section.form-section.form-flex > div.form-img-wrap {
    width: 120% !important;
    max-width: 120% !important;
    min-width: 0 !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    position: relative !important;
    left: 50%;
    transform: translateX(-10%) !important;
  }
}

@media (max-width: 600px) {
  /* Centrar y ajustar la imagen */
  .form-img-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto 18px auto !important;
    text-align: center !important;
  }
  .form-img-wrap img.form-img[src*="form-contrata.png"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
    position: static !important;
    left: unset;
    transform: none !important;
  }
  /* Centrar el título '¿Listo para contratar?' y subtítulo */
  .contrata-talento-form-title,
  .contrata-talento-form-title .form-section-title,
  .contrata-talento-form-title .form-section-subtitle {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Centrar el título 'Buscar expertos' */
  .form-fields h3 {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 18px auto !important;
    white-space: normal !important;
  }
  /* Centrar el formulario y que ocupe todo el ancho */
  body > section.form-section.form-flex > form.form-fields {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  /* Centrar los campos del formulario */
  .form-fields .input-field {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    width: 90% !important;
  }
  /* Centrar el botón enviar */
  .form-btn-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }
  .form-btn-row .btn-main.gradient-btn {
    display: inline-block !important;
    margin: 0 auto !important;
    min-width: 120px !important;
    padding: 10px 48px !important;
    border-radius: 8px !important;
    font-size: 1.18rem !important;
    font-weight: 600 !important;
    background: linear-gradient(90deg,#2ed47a 0%,#3bb6ff 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
  }
}

@media (max-width: 600px) {
  body.nosotros .hero {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .hero {
    display: none !important;
  }
}

@media (max-width: 700px) {
  /* Unificar fotos de equipo en nosotros.html sin borde ni filtro, centradas */
  .card-img {
    width: 100% !important;
    max-width: 320px !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 auto 12px auto !important;
    display: block !important;
    filter: none !important;
    transition: none !important;
  }
  .card-img:hover {
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
  }
  /* Alinear las filas de fotos en columna y centrar */
  .card-img-row, .card-img-row-resp {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 700px) {
  // ... existing code ...
  /* Justificar el texto del concepto en responsive */
  .concepto-sapiens {
    text-align: justify !important;
  }
  /* Bootcamp concepto: igual tamaño que section-subtitle y justificado */
  .bootcamp-concepto {
    font-size: 1.15rem !important;
    text-align: justify !important;
  }
  /* Justificar subtítulo de contrata-talento en responsive */
  .contrata-talento-subtitle {
    text-align: justify !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }
}
// ... existing code ...

/* ===== MEDIA QUERIES RESPONSIVE GENERAL PARA MÓVILES ===== */
@media (max-width: 600px) {
  .footer__main {
    min-height: 168px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #181c1f !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer-main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .footer-main-texto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-bottom: 0 !important;
  }
  .footer-main-texto h2 {
    position: relative;
    top: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .footer__bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    gap: 4px !important;
  }
  .footer__content {
    gap: 4px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer__col {
    margin-bottom: 2px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    width: 100%;
  }
  .footer__menu-links a:last-child {
    margin-left: 10px !important;
  }
  .footer__contacto-datos {
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .footer__social {
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .footer__bottom span {
    margin-top: 8px !important;
    font-size: 0.85rem !important;
  }
  .footer__main {
    padding-top: 15% !important;
    padding-bottom: 80% !important;
  }
  .footer__bottom {
    margin-top: 20% !important;
  }
  .footer__main,
  .footer__bottom {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .footer-main-content,
  .footer__content {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .footer-main-content {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    background: #181c1f !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    padding: 0 !important;
    gap: 12px;
  }
  .footer-main-texto {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    text-align: center;
    margin: 0;
  }
  .footer-main-boton {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    margin: 0;
  }
  .footer__menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
  }
  .footer__menu-links a {
    display: inline-block;
    margin: 0;
    padding: 4px 0;
    font-size: 1rem;
    white-space: nowrap;
  }
  .footer__col.footer__menu {
    align-items: center;
    text-align: center;
  }
  .footer__col.footer__menu h5 {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
  }
  .footer__contacto-datos {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
    width: 100%;
    text-align: center;
  }
  .logos-section {
    margin-bottom: 80px !important;
    padding-bottom: 0 !important;
  }
  .expertos {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .hero {
    padding-top: 0 !important;
    padding-bottom: 8px !important;
    min-height: unset !important;
  }
  .hero__content {
    padding-top: 4px !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
  }
  .hero__buttons {
    flex-direction: row !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: -8px !important;
    margin-bottom: 2px !important;
    gap: 8px !important;
  }
  .mobile-menu ul li a {
    font-weight: 400 !important;
  }
  .expertos__text p,
  .area-card p {
    text-align: justify !important;
  }
  .expertos__text h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .footer__content {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .footer__content > .footer__col,
  .footer__content > .footer__menu-links,
  .footer__content > .footer__contacto-datos,
  .footer__content > .footer__social-col,
  .footer__content > .footer__social {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (min-width: 701px) {
  .footer-main-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #181c1f;
  }
  .footer-main-texto {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .footer-main-boton {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 120px 0 0;
  }
  #scrollToTopBtn {
    position: absolute !important;
    left: calc(50vw + 560px) !important;
    right: auto !important;
    top: auto !important;
    bottom: 120px !important;
    transform: translateX(-50%);
    height: 60px !important;
    width: 60px !important;
    margin: 0 !important;
    z-index: 10;
  }
}

@media (max-width: 700px) {
  .footer-main-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 0 16px 0 !important;
  }
  .footer-main-texto,
  .footer-main-boton {
    width: 100%;
    justify-content: center;
    margin: 0;
  }
  #scrollToTopBtn {
    position: static !important;
    display: block;
    margin: 18px auto 0 auto;
    height: 48px !important;
    width: 48px !important;
  }
}

@media (max-width: 600px) {
  .header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px 12px 16px !important;
    position: relative;
  }
  .header__logo {
    flex: 0 0 auto;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .menu-toggle {
    display: block !important;
    position: relative;
    z-index: 1001;
    margin-left: auto;
  }
  .header__nav {
    display: none !important;
  }
  .header__nav ul {
    gap: 44px !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
  }
  .header__nav ul li:not(:last-child) {
    margin-right: 0 !important;
  }
  .header__nav ul li:last-child {
    margin-left: 2px !important;
    position: relative;
    top: -18px !important;
  }
  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    background: #fff !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    border-radius: 0 0 12px 12px;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: opacity 0.2s;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    overflow: hidden;
  }
  .mobile-menu ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start;
    gap: 18px;
    padding: 16px 0 12px 24px !important;
    margin: 0;
  }
  .mobile-menu ul li {
    width: 100%;
    text-align: center;
  }
  .mobile-menu ul li a {
    font-size: 1.25rem;
    color: #222;
    text-decoration: none;
    font-weight: 400 !important;
    padding: 12px 0;
    display: block;
    width: 100vw;
  }
  .mobile-menu ul {
    align-items: flex-start !important;
    text-align: left !important;
    padding-left: 24px !important;
  }
  .mobile-menu ul li {
    text-align: left !important;
    width: 100%;
  }
  .mobile-menu ul li a {
    width: auto;
    padding-left: 0;
  }
  .areas h2 {
    margin-bottom: 10px;
  }
  .area-card img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .area-card h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .expertos__text h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-main-texto h2 {
    font-size: 1.60rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

/* Forzar ocultar hamburguesa en desktop y mostrar solo en mobile */
.menu-toggle {
  display: none !important;
}
@media (max-width: 600px) {
  .menu-toggle {
    display: block !important;
  }
}

@media (max-width: 600px) {
  .hero__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .logos-carousel {
    display: flex;
    position: relative;
    width: 100%;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
  }
  
  .logos-slide {
    display: none;
    justify-content: center;
    align-items: center;
  }
  
  .logos-slide.active {
    display: flex;
  }
  
  .logos-slide img {
    height: 120px;
    max-width: 300px;
    width: auto;
  }
}



@media (max-width: 600px) {
  .areas {
    padding: 17px 16px 12px 16px;
  }
}

@media (max-width: 600px) {
  .expertos__text h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .footer-main-texto h2 {
    font-size: 1.60rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .areas h2,
  .enfoque h2 {
    font-size: 1.40rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .areas h2 {
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .hero__content h1 {
    font-size: 1.50rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
  
  .hero__content p {
    font-size: 0.85rem;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }
}

/* Logos Carousel */
.logos-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.logos-slide {
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.logos-slide.active {
  display: flex;
  opacity: 1;
}

.logos-slide img {
  height: 100px;
  max-width: 250px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.logos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.logos-arrow:hover svg path {
  stroke: #3AB1C3;
}

.logos-arrow.left {
  left: 0;
}

.logos-arrow.right {
  right: 0;
}

.logos-arrow svg {
  width: 24px;
  height: 24px;
}

.logos-arrow svg path {
  stroke: #3AC37B;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

/* Desktop: Show all logos */
@media (min-width: 601px) {
  .logos-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 94px;
  }
  
  .logos-slide {
    display: flex !important;
    opacity: 1 !important;
  }
  
  .logos-slide img {
    height: 46px;
    max-width: 144px;
  }
  
  .logos-arrow {
    display: none;
  }
} 

/* ====== CONTRATA TALENTO LANDING (solo para contrata-talento.html) ====== */
.contrata-talento-hero {
  background-size: cover !important;
  background-position: center !important;
  min-height: 442px; /* antes 340px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 83px 0 62px 0; /* antes 64px 0 48px 0 */
}
.contrata-talento-hero .hero__title {
  color: #fff;
  font-size: 3.9rem; /* antes 3rem */
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.contrata-talento-hero .hero__subtitle {
  color: #fff;
  font-size: 1.75rem; /* antes 1.35rem */
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.contrata-talento-pasos {
  background: #fff;
  padding: 48px 0 32px 0;
  text-align: center;
}
.contrata-talento-pasos .section-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  /* Eliminar width y max-width que limitan el texto */
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center;
  white-space: normal;
  line-height: 1.18;
}
@media (min-width: 901px) {
  .contrata-talento-pasos .section-title {
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: clamp(1.2rem, 4vw, 2.6rem) !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
  }
}
.contrata-talento-pasos .section-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 36px;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
}
.contrata-talento-pasos .cards-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 36px 36px 28px 36px;
  min-width: 340px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: box-shadow 0.2s;
  margin-bottom: 0;
}
.contrata-talento-card img {
  height: 110px !important;
  margin: 18px 0 10px 0 !important;
  align-self: center;
}
.contrata-talento-card p {
  font-size: 1rem;
  color: #333;
  margin-top: 0;
}
.card-header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 8px;
}
.card-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: #3AC37B;
  line-height: 1;
  min-width: 38px;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #222;
  line-height: 1.18;
}
.card-desc {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 18px;
}
.card-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
}
.card-img img {
  height: 120px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Formulario buscar expertos */
.contrata-talento-form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  background: #fff;
  padding: 48px 0 32px 0;
  margin-top: 32px;
  flex-wrap: wrap;
}
.contrata-talento-form .form-img {
  width: 420px;
  max-width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.contrata-talento-form-fields {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 340px;
  max-width: 420px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 32px 28px 24px 28px;
  gap: 16px;
}
.contrata-talento-form-fields h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.contrata-talento-form-fields .input-field {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 1rem;
  box-shadow: none;
}
.contrata-talento-form-fields .btn-main {
  background: url('img/fondo-bt-quierosertalento.png') center/cover no-repeat !important;
  color: #fff;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1.1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 160px;
  box-shadow: none;
}
.contrata-talento-form-fields .btn-main:hover {
  opacity: 0.9;
}

/* Footer específico si se requiere ajuste */
.contrata-talento-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-footer .footer-col {
  flex: 1 1 180px;
  min-width: 160px;
}

@media (max-width: 900px) {
  .contrata-talento-pasos .cards-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-form {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-form .form-img {
    width: 100%;
    max-width: 340px;
    margin-bottom: 18px;
  }
  .contrata-talento-form-fields {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .contrata-talento-hero {
    min-height: 234px; /* antes 180px */
    padding: 47px 0 31px 0; /* antes 36px 0 24px 0 */
  }
  .contrata-talento-hero .hero__title {
    font-size: 2.6rem; /* antes 2rem */
  }
  .contrata-talento-hero .hero__subtitle {
    font-size: 1.2rem; /* antes 0.92rem aprox */
  }
  .contrata-talento-card {
    padding: 22px 10px 18px 10px;
    min-width: 0;
    max-width: 100%;
  }
  .contrata-talento-form {
    padding: 24px 0 16px 0;
  }
} 

.contrata-talento-cards-top {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contrata-talento-cards-bottom {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .contrata-talento-cards-top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .contrata-talento-cards-bottom {
    margin-top: 18px;
  }
} 

/* Layout tipo T para cards (reutilizable) */
.cards-t-layout {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 12px;
  justify-content: center;
 