/* Panorámica */
@media (min-width: 2401px) {
  /* Estilos específicos para pantallas panorámicas mayores a 2400px */

  .us__presentation {
    padding: 200px 0 220px;
  }

  .us__presentation__header__title {
    font-size: 68px;
    max-width: 900px;
    letter-spacing: -1.8px;
  }

  .us__presentation__article__content {
    column-gap: 4rem;
    padding: 180px 0 220px;
  }

  .us__presentation__article__content p {
    font-size: 24px;
    max-width: 680px;
  }

  .us__presentation__article__content .us__presentation__article__img {
    height: 720px;
  }

  .us__presentation__logo__background-img {
    scale: 2.6;
    opacity: 0.03;
    clip-path: inset(0 100% 0 0);
  }
}

/* Escritorios grandes */
@media (max-width: 2400px) {
  /* Estilos específicos para pantallas de escritorio entre 1367px y 2400px */

  .us__presentation {
    padding: 150px 0 160px;
  }

  .us__presentation__header__content {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }

  .us__presentation__header__title {
    font-size: 56px;
    max-width: 700px;
  }

  .us__presentation__article__content {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    padding: 140px 0 160px;
  }

  .us__presentation__article__content p {
    font-size: 21px;
    max-width: 560px;
  }

  .us__presentation__article__content .us__presentation__article__img {
    height: 400px;
    object-fit: cover;
  }

  .us__presentation__logo__background-img {
    scale: 2;
    opacity: 0.035;
    clip-path: inset(0 100% 0 0);
  }
}

@media (max-width: 1450px) {
  .team__carousel {
      --inner-fullw: calc( 100vw - (var(--inner-pad) * 2 ) );
      --inner-figw: 25vw;
  }
}

/* Laptops estándar */
@media (max-width: 1366px) {
  /* Estilos específicos para laptops hasta 1366px */

  .us__presentation {
    padding: 120px 0 130px;
  }

  .us__presentation__header__content {
    grid-template-columns: .6fr 1fr;
    column-gap: 2.5rem;
    align-items: start;
  }

  .us__presentation__header__title {
    font-size: 46px;
    max-width: 560px;
  }

  .us__presentation__article__content {
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 2.5rem;
    padding: 120px 0;
  }

  .us__presentation__article__content p {
    font-size: 19px;
    max-width: 520px;
  }

  .us__presentation__article__content .us__presentation__article__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .us__presentation__logo__background-img {
    scale: 1.8;
    opacity: 0.04;
    clip-path: inset(0 100% 0 0); /* recorta un poco a la derecha para que no tape texto */
  }
}

@media (max-width: 1024px) {
  .team__carousel {
    height: auto;
    width: auto;
    margin: 0;
    padding: 0 var(--inner-pad);
    flex-wrap: wrap;
    gap: 3rem 2rem;
  }

  .team__carousel > .team__carousel__figure  {
    width: 100%;
    max-width: 100%;
    height: auto;
    flex: 0 0 calc( ( 100% / 2 ) - ( 2rem / 2 ) );
    margin: 0;
  }



  .expertise {
    margin: 0;
    padding: calc(var(--inner-pad) * 3) 0 calc(var(--inner-pad) * 2);
  }


  .expertise__header_v2 {
    --inner-padd: 42px;
    grid-template-columns: 1fr 1fr;
  }

  .expertise__header_v2 > * {
      padding: 0 var(--inner-padd);
      border-left: 1px solid #D6D6D6;
  }

  .expertise__header_v2 > :first-child {
      border-left: none;
      padding-left: 0;
  }

  .expertise__header_v2 > :nth-child(2) {
      padding-right: 0;
  }

  .expertise__header_v2 > :last-child {
      padding: var(--inner-padd) 0;
      margin-top: var(--inner-padd);
      border-left: none;
      border-top: 1px solid #D6D6D6
  }

  .expertise__header_v2 .expertise__header__claim {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}

/* Móviles grandes */
@media (max-width: 768px) {

  .us__presentation {
    padding: 100px 0;
  }

  .us__presentation__header__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .us__presentation__header__img {
    width: 42px;
    height: 42px;
  }

  .us__presentation__header__title {
    order: 1;
    font-size: 34px;
    letter-spacing: -1px;
    max-width: 90%;
  }

  .us__presentation__article__container {
    padding: 0;
  }

  .us__presentation__article__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
  }

  .us__presentation__article__content p {
    font-size: 17px;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .us__presentation__article__content .us__presentation__article__img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .us__presentation__logo__background-img {
    opacity: 0.05;
    scale: 1.4;
    clip-path: inset(0);
  }



  .page-template-page-nosotros .success-stories {
    padding: calc(var(--inner-pad) * 1) 0;
  }



  .testimonials {
    padding: calc(var(--inner-pad) * 4) var(--inner-pad) calc(var(--inner-pad) * 2);
  }

  .testimonials__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: var(--inner-pad);
    justify-items: flex-start;
  }

  .testimonials__figure {
    width: 120px;
    height: auto;
  }

  .testimonials__carousel {
    padding-top: 0;
  }


  .expertise__header_v2 {
    --inner-padd: 30px;
    grid-template-columns: 1fr 1fr;
  }

}

/* Móviles muy pequeños */
@media (max-width: 575px) {

  .us__presentation {
    padding: 80px 0;
  }

  .us__presentation__header__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .us__presentation__header__content__left {
    gap: 1rem;
  }

  .us__presentation__header__img {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .us__presentation__header__text {
    font-size: 14px;
    margin-top: 6px;
  }

  .us__presentation__header__title {
    font-size: 28px;
    letter-spacing: -0.8px;
    max-width: 100%;
  }

  .us__presentation__article__content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .us__presentation__article__content p {
    font-size: 16px;
    max-width: 100%;
  }

  .us__presentation__article__content .us__presentation__article__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .us__presentation__logo__background-img {
    opacity: 0.06;
    scale: 1.2;
    clip-path: inset(0); /* muestra el logo completo */
  }


  .team__carousel > .team__carousel__figure  {
    flex: 0 0 auto;
  }


  .expertise__header_v2 {
    --inner-padd: 30px;
    grid-template-columns: 1fr;
  }

  .expertise__header_v2 > * {
    padding: var(--inner-padd) 0 0;
    border: 0 none;
    border-top: 1px solid #D6D6D6;
    margin-top: var(--inner-padd);
  }

  .expertise__header_v2 > :first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }

  .expertise__header_v2 > :last-child {
    padding-bottom: 0;
  }

  .expertise__header_v2 .expertise__header__claim {
    grid-column-start: 1;
    grid-column-end: 1;
  }
}
