@media (max-width: 768px) and (orientation: portrait) {
  .wtf-faq {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0.5rem;
    list-style: none;
  }

  .wtf-faq h3 {
    font-size: 1rem;
    font-weight: bold;
  }

  .wtf-faq p {
    margin: 0;
    color: #1e001e;
    font-size: 0.75rem;
  }

  .wtf-mobile-slide .fragment {
    padding: 1rem;
  }
  /* GENERAL SLIDE MOBILE */
  .main .slide {
    margin-top: 20vh;
  }
  /* D1 LOGO */
  .main #d1 .fragment h2.claim {
    font-size: 2.75rem;
    max-width: 93%;
  }
  /* D2 LOGO */
  .main #d2 .fragment {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
    max-width: 93%;
    min-height: 0rem;
  }

  .main #d2 .fragment h2.claim2 {
    font-size: 3.25rem;
    line-height: 1em;
  }

  .main #d2 .fragment2 {
    position: absolute;
    top: 25%;
    left: 50%;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    word-break: keep-all;
    min-width: 100%;
  }

  .main #d2 .fragment .claim2 .groupWords45 {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* ---- SLIDE D4 (ABOUT SECTION) ---- */
  .main #d4 .fragment {
    width: 100%;
    max-width: 93%;
    height: fit-content;
  }

  .main #d4 .fragment p {
    font-weight: 400;
    font-size: 1.5rem;
    padding: 1rem;
    line-height: 1.25;
  }

  .main #d4 .fragment p span {
    line-height: 1.3;
  }

  /* ---- SLIDE D6 (PROJECTS/VIDEOS) ---- */
  .main #d6 .fragment {
    width: 100%;
    max-width: 93%;
    height: fit-content;
    padding-bottom: 1rem;
  }

  .main #d6 .fragment .campaign {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.25rem;
  }
  .main #d6 .fragment .agency {
    font-size: 1rem;
    font-style: italic;
  }

  .video-list {
    padding: 0rem 1rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: scroll;
    max-height: 95%;
    margin: 0rem;
    max-height: 75vh;
    scroll-behavior: smooth;
  }
  .video-list::-webkit-scrollbar {
    display: none;
  }
  .video-list {
    scrollbar-width: none;
  }

  .video-items {
    padding-top: 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
  }

  .video-work {
    flex: 0 0 auto;
    padding-top: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0px;
  }

  .video-list h2 {
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  .video-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-bottom: 1rem;
  }

  .video-dots .dot {
    width: 10px;
    height: 10px;
    background: rgb(255, 255, 255);
    opacity: 0.8;
    border-radius: 50%;
    transition: opacity 0.3s;
  }

  .video-dots .dot.active {
    opacity: 1;
    background: #1e001e;
  }

  .main #d6 .fragment .video-card {
    float: none;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 0;
  }
  .main #d6 .fragment .video-card .video-title {
    font-size: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
  }

  .scroll-buttons {
    display: block;
    position: absolute;
    bottom: 50%;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 99;
    padding-right: 0.25rem;
  }

  .scroll-buttons > button > img {
    width: 20px;
    height: 20px;
  }

  .main #d6 .fragment .campaign {
    margin-bottom: 0.15rem;
  }
  .main #d6 .fragment .agency {
    margin-bottom: 0.5rem;
  }
  .main #d6 .fragment .video-card .video-thumb {
    width: 100%;
    height: 200px;
  }

  /* ---- SLIDE D7 (VIDEO SECTION) ---- */

  /*

*/
  .main #d7 .fragment {
    width: 100%;
    height: fit-content;
    max-height: none;
    padding: 1rem;
    min-height: 0rem;
  }

  .main #d7 .fragment .content-wrapper {
    padding: 1rem;
    height: fit-content;
    max-height: 85vh;
    margin: auto;
    max-width: none;
  }
  .main #d7 .fragment p {
    max-width: none;
    font-size: 1.25rem;
    line-height: 1.1;
  }

  .clients-box h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
  }
  /* Contenedor a 2 columnas alineadas */
  .main #d7 .fragment .clients {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    padding: 0rem;
    margin: 0rem;
    margin-top: 1rem;
    width: 100%;
  }
  .clients-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .main #d7 .fragment .clients .clients-left-column,
  .main #d7 .fragment .clients .clients-right-column {
    gap: 16px;
  }

  /* Tamaño de logo más grande */
  .main #d7 .fragment .clients .logo-cell {
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .wanted > .wantedContent {
    display: block;
  }
  .wanted {
    font-size: 8rem;
  }
  .wanted > .wantedContent {
    position: fixed;
    top: 15rem;
    opacity: 1;
    mix-blend-mode: multiply;
  }
  /* ---- SLIDE D8 (TEAM PROFILES) ---- */
  .main #d8 .fragment {
    font-weight: 400;
    font-size: 1.5rem;
    width: 100%;
    height: fit-content;
    font-weight: 400;
    font-size: 1.5rem;
    max-width: 93%;
    padding: 1rem 0rem 1rem 0rem;
    max-height: none;
    margin: 0rem;
    overflow: hidden;
  }
  .main #d8 .fragment .content-wrapper {
    width: 100%;
    height: fit-content;
    font-weight: 400;
    font-size: 1.5rem;
    max-height: none;
    overflow: hidden;
    padding: 0rem;
  }

  .main #d8 .fragment .content-wrapper p {
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin: 0rem auto 0.5rem auto;
    line-height: 1.25;
  }
  .profiles-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: 0rem;
    gap: 0rem;
    height: 40vh;
  }
  /* Horizontal scrollbar styling for profiles list */
  .profiles-list::-webkit-scrollbar,
  .profiles-list::-webkit-scrollbar-track,
  .profiles-list::-webkit-scrollbar-thumb {
    display: none;
  }

  .main #d8 .fragment .content-wrapper .profiles-list .profile-item {
    width: fit-content;
    display: flex;
    max-width: 50vw;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    gap: 1rem;
    margin: 0rem 0.5rem 0rem 0.75rem;
    flex-shrink: 0;
  }
  .main
    #d8
    .fragment
    .content-wrapper
    .profiles-list
    .profile-item
    h4.profile-name {
    font-size: 2rem;
  }
  .main
    #d8
    .fragment
    .content-wrapper
    .profiles-list
    .profile-item
    .profile-position {
    font-size: 1rem;
    padding: 0rem;
    margin-top: 0px;
  }

  .main
    #d8
    .fragment
    .content-wrapper
    .profiles-list
    .profile-item
    figure.profile-image {
    max-width: none;
    aspect-ratio: 1/1;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
  }
  .profiles-list .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ---- SLIDE D9 (CONTACT) ---- */

  .main #d9 .fragment {
    width: 100%;
    max-width: 93%;
    margin: 0rem;
    height: 70vh;
  }
  .main #d9 .fragment .subscribe h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  .main #d9 .fragment .subscribe h2 {
    font-size: 2.5rem;
  }
  .main #d9 .fragment .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 30vh;
  }
  .main #d9 .fragment .contact .iso {
    float: left;
    width: 5.25rem;
    height: 6rem;
    position: relative;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }
  .main #d9 .fragment .contact .content {
    float: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .main #d9 .fragment .contact .content h2 {
    text-align: center;
    line-height: 1.5;
  }
  /* ---- SLIDE D10 (FINAL MESSAGE) ---- */
  .main #d10.slide {
    margin-bottom: 0;
  }
  .main #d10 .fragment {
    width: 80%;
    padding: 1.25rem;
    min-height: 0rem;
    max-width: none;
    height: fit-content;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-11deg);
  }
  .main #d10 .fragment h2 {
    font-size: 2.5rem;
  }

  /* ---- SLIDE D11 (VIDEO SECTION) ---- */
  .main #d11.slide {
    margin-bottom: 0;
  }
  .main #d11 .fragment {
    padding: 0rem;
    margin: 0rem;
    color: #1e001e;
    box-sizing: border-box;
    width: 100%;
    max-width: 93%;
  }
  .text-box {
    width: 95%;
  }
  .main #d11 .fragment > div p {
    font-size: 2.25rem;
    font-family: "PP Editorial New";
    font-weight: 400;
  }

  /* ---- SLIDE D13 (QUOTE WITH VIDEO) ---- */
  .main #d13 .fragment {
    width: 100%;
    font-weight: 400;
    font-size: 1.25rem;
    max-width: 93%;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    max-height: none;
  }
  .d13-responsive {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: max-content min-content max-content;
    gap: 1rem;
  }
  .d13-texts {
    display: contents;
  }

  .d13-video {
    margin: 0 auto;

    grid-row: 2;
    width: 100%;
    object-fit: contain;
    max-width: 70vw;
    height: auto;
    justify-content: center;
  }

  .main #d13 .fragment .quote-1 {
    width: 100%;
    text-align: center;
    grid-row: 1;
    padding-top: 0rem;
  }
  .main #d13 .fragment .quote-2 {
    grid-row: 3;
    text-align: center;
    width: 100%;
  }
  .video-overlay p {
    font-size: 1rem;
  }
  /* ---- SLIDE D14 (SNEAK IN SECTION) ---- */
  .main #d14 .fragment {
    width: 100%;
    height: 70vh;
    font-size: 2rem;
    max-width: 93%;
    padding: 1rem;
    min-height: 0rem;
  }
  .main #d14 .fragment .content-wrapper,
  .main #d14 .fragment .text-content,
  .main #d14 .fragment .quote-1,
  .main #d14 .fragment .quote-2,
  .main #d14 .fragment .quote-3 {
    width: 100%;
  }
  .main #d14 .fragment .quote-3 {
    padding-top: 2rem;
    background-color: transparent;
    text-decoration: none;
  }

  .sneakIn-p {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: #ffe696;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  /* Línea base siempre visible */
  .sneakIn-p::before,
  .sneakIn-p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
  }

  .sneakIn-p::before {
    width: 100%;
    background-color: rgba(255, 230, 150, 1); /* línea base más tenue */
  }

  .sneakIn-p::after {
    width: 0%;
    background-color: #ffe696; /* línea activa */
    transition: width 0.4s ease;
  }

  /* Hover: línea “se llena” */
  .sneakIn-p:hover {
    color: #321e3c;
    background-color: transparent;
  }

  .sneakIn-p:hover::after {
    width: 100%;
    background-color: #321e3c;
  }

  /* ---- SLIDE D15 (STATISTICS) ---- */
  .main #d15 .fragment {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    width: 100%;
    max-width: 93%;
    padding: 1rem;
    font-size: 3rem;
    font-weight: 200;
    height: 88vh;
    min-height: 0rem;
  }

  .main #d15 .fragment > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
  }

  .main #d15 .number {
    line-height: 1;
    font-size: 6rem;
  }
  .number-text {
    font-size: 2rem;
  }
  .d15-title {
    font-size: 1.25rem;
    line-height: 1;
    top: 4px;
    left: 0px;
    transition: opacity 0.25s ease;
    color: #1e001e;
    max-width: none;
    width: 100%;
  }
  .crimes {
    position: absolute;
    inset: 0;
    flex-direction: column; /* apila "Crimes" y "Of The Year" */
    align-items: center; /* centra horizontalmente */
    justify-content: center; /* centra verticalmente */
    margin: auto;
    pointer-events: none;
    font-family: "PP Editorial New";
    font-weight: 400;
    font-size: 8rem;
    gap: 0;
    line-height: 1;
    align-items: center;
    text-align: center;
    letter-spacing: -1px;
    color: #ff644b;
    mix-blend-mode: multiply;
    white-space: normal; /* permite el salto */
    word-spacing: 9999px;
  }
  .crimes p:last-child {
    white-space: normal;
  }

  /* ---- SLIDE D16 & D17 (ADDITIONAL CONTENT) ---- */
  .main #d16 .fragment {
    width: 100%;
    max-width: 93%;
    padding: 0.5rem;
  }
  .d16-text {
    font-size: 3.25rem;
    letter-spacing: -2px;
  }
  .d16-text span {
    margin-top: 1rem;
    font-size: 2rem;
  }
  .main #d17 .fragment {
    width: 100%;
    max-width: 93%;
    padding: 4rem 0.5rem;
    font-size: 3.5rem;
    height: fit-content;
    min-height: 0rem;
  }
  .main #d18 .fragment {
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 0rem 1rem 1rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  #d18.wtf-mobile-slide {
    display: block !important;
  }
  /* Evita que se vea el modal en mobile */
  #wtfModal {
    display: none !important;
  }
  /* Mostrar SOLO en mobile/tablet */
  .wtf-mobile-slide {
    display: block !important;
  }
  /* Ocultar el modal */
  #wtfModal {
    display: none !important;
  }

  .wtf-mobile-slide .fragment {
    background: #ffe696;
    color: #1e001e;
    width: 90vw;
    margin: auto;
    padding: 1rem 1rem 1rem 1rem;
    box-sizing: border-box;
    max-width: 900px;
    border-radius: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .wtf-mobile__title {
    font-family: "PP Neue Montreal", arial, sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
  }

  .wtf-mobile__content {
    font-family: "PP Neue Montreal", arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.3;
    overflow-x: scroll;
    overflow-y: hidden;
    max-height: auto;
    max-width: 100%;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .wtf-mobile__content::-webkit-scrollbar,
  .wtf-mobile__content::-webkit-scrollbar-track,
  .wtf-mobile__content::-webkit-scrollbar-thumb {
    display: none;
  }

  .wtf-faq {
    display: grid;
    grid-auto-flow: column; /* llena columnas una tras otra */
    grid-template-rows: repeat(
      3,
      minmax(0, max-content)
    ); /* 3 preguntas por slide */
    grid-auto-columns: 80%;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    padding-bottom: 0.5rem;
  }

  .wtf-faq li {
    flex-shrink: 0;
    max-width: 65vw;
    padding-right: 1rem;
  }

  .wtf-faq h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }

  .wtf-faq p {
    margin: 0;
    color: #1e001e;
  }
}

/* QUERY FOR LITTLE BROWSERS */
@media screen and (max-width: 768px) and (max-height: 700px) {
  .main #d6 .fragment .video-card .video-thumb {
    width: 100%;
    height: 150px;
  }
  /* Grids de logos: 4 cols, logos más grandes */
  .main #d7 .fragment .content-wrapper .clients .clients-left-column,
  .main #d7 .fragment .content-wrapper .clients .clients-right-column {
    gap: 12px;
  }

  /* Tamaño de logo más grande */
  .main #d7 .fragment .content-wrapper .clients .logo-cell {
    height: 30px;
  }

  .wtf-faq {
    grid-template-rows: repeat(2, minmax(0, max-content));
  }
}
@media screen and (max-width: 768px) and (max-height: 600px) {
  .main #d2 .fragment h2.claim2 {
    font-size: 3rem;
  }
  .text-box {
    width: 95%;
  }
  .main #d11 .fragment > div p {
    width: 100%;
    font-size: 2rem;
  }
  .main #d4 .fragment p {
    font-size: 1.25rem;
  }
  .main #d6 .fragment {
    overflow-x: hidden;
  }
  .main #d6 .fragment .campaign {
    font-size: 0.85rem;
  }
  .main #d6 .fragment .agency {
    font-size: 0.85rem;
  }
  .main #d6 .fragment .video-card .video-title {
    font-size: 0.75rem;
  }
  .main #d7 .fragment p {
    font-size: 1rem;
  }
  .main #d7 .fragment {
    padding: 0.5rem;
  }
  .main #d7 .fragment .content-wrapper {
    padding: 0.75rem;
  }
  .main #d7 .fragment .content-wrapper p {
    font-size: 1rem;
  }
  .main #d7 .fragment .content-wrapper .clients {
    margin-top: 0.5rem;
  }
  .main #d7 .fragment .content-wrapper .clients h4 {
    font-size: 0.5rem;
  }
  .clients-box {
    gap: 6px;
  }
  .clients-box h4 {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
  }
  .main #d7 .fragment .clients .clients-left-column,
  .main #d7 .fragment .clients .clients-right-column {
    gap: 14px;
  }

  /* Tamaño de logo más grande */
  .main #d7 .fragment .clients .logo-cell {
    height: 18px;
  }
  .main
    #d8
    .fragment
    .content-wrapper
    .profiles-list
    .profile-item
    figure.profile-image {
    width: 6rem;
  }

  .main #d9 .fragment .subscribe h1 {
    font-size: 2rem;
  }
  .main #d9 .fragment .subscribe h2 {
    font-size: 1.75rem;
  }

  .main #d9 .fragment .contact .iso {
    width: 3rem;
    height: 2rem;
  }

  .main #d9 .fragment .contact .content h2 {
    font-size: 1rem;
  }

  .main #d10 .fragment h2 {
    font-size: 1.5rem;
  }

  .main #d13 .fragment {
    font-size: 1rem;
    min-height: 0rem;
    padding: 0.5rem;
    height: fit-content;
    min-height: 80vh;
  }
  .d13-responsive {
    margin: auto;
    gap: 1rem;
  }
  .d13-video {
    width: 90%;
    height: fit-content;
    margin: 0 auto;
  }
  /* ---- SLIDE D14 (SNEAK IN SECTION) ---- */
  .main #d14 .fragment {
    height: 70vh;
    font-size: 1.5rem;
    min-height: 0rem;
  }
  .main #d15 .fragment {
    font-size: 2.5rem;
    height: 75vh;
    min-height: 0rem;
  }

  .main #d15 .number {
    font-size: 4rem;
  }
  .crimes {
    font-size: 4rem;
  }
  .d16-text {
    font-size: 2.25rem;
  }
  .d16-text span {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 768px) and (max-height: 450px) {
  .main #d2 .fragment h2.claim2 {
    font-size: 2rem;
  }

  .main #d11 .fragment > div p {
    font-size: 1.75rem;
  }
  .main #d4 .fragment p {
    font-size: 1.5rem;
  }
  .main #d13 .fragment {
    font-size: 1rem;
    min-height: 0rem;
    padding: 0.5rem;
    height: fit-content;
  }
  .d13-responsive {
    gap: 0.75rem;
  }
  .d13-video {
    width: 70%;
    height: fit-content;
    margin: 0 auto;
  }
}
