/* =========================================================
   BARLOVENTO — maqueta horizontal final
   Bootstrap 5 + Montserrat + GSAP ScrollTrigger
   Paleta estricta:
   Rich Black: #181818 | Yellow: #fff761 | Creen Blue: #004e6d
   ========================================================= */
:root {
    
  --black: #181818;
    
  --yellow: #fff761;
    
  --blue: #004e6d;
    
  --white: #fff;
    
  --ease: cubic-bezier(.22, .61, .36, 1);
    
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
    
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    background: var(--black);
}
body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, sans-serif;
    background: var(--black);
    color: var(--yellow);
    overflow-x: hidden;
}
 
a {
    text-decoration: none;
    color: inherit;
}
.preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    pointer-events: none;
    animation: preloaderOut 3.8s var(--ease) forwards;
}
@keyframes preloaderOut {
    0%, 35% {
    opacity: 1;
}
100% {
    opacity: 0;
    visibility: hidden;
}
}
.blvt-header {
    position: fixed;
    z-index: 100;
    top: clamp(18px, 3vw, 46px);
    left: clamp(18px, 3vw, 48px);
    right: clamp(18px, 3vw, 48px);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
}
.blvt-header>* {
    pointer-events: auto;
}
.logo-mark {
    display: inline-grid;
    color: var(--yellow);
    font-weight: 900;
    font-size: clamp(28px, 3.2vw, 58px);
    letter-spacing: -.13em;
    line-height: .72;
    transform: skew(-12deg) rotate(-4deg);
    text-transform: uppercase;
}
.is-index .logo-mark {
    color: var(--yellow);
}
.logo-mark.yellow {
    color: var(--yellow);
}
.menu-trigger {
    border: 0;
    background: transparent;
    width: clamp(42px, 4vw, 70px);
    display: grid;
    gap: clamp(5px, .5vw, 9px);
    padding: 0;
    cursor: pointer;
}
.menu-trigger span {
    height: clamp(4px, .45vw, 7px);
    border-radius: 99px;
    background: var(--yellow);
    display: block;
}
.panel-hero~.panel .menu-trigger span {
    background: var(--yellow);
}
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--blue);
    color: var(--yellow);
    display: grid;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
    padding: 8vw;
}
.menu-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}
.nav-overlay__brand {
    position: absolute;
    left: clamp(24px, 4vw, 72px);
    top: clamp(22px, 4vw, 64px);
}
.menu-trigger-close {
    position: absolute;
    right: clamp(22px, 4vw, 72px);
    top: clamp(22px, 4vw, 64px);
}
.nav-overlay__links {
    display: grid;
    gap: clamp(10px, 1.5vw, 26px);
}
.nav-overlay__links a, .nav-overlay__links button {
    border: 0;
    background: transparent;
    color: var(--yellow);
    font-size: clamp(48px, 9.4vw, 170px);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .82;
    text-align: left;
    text-transform: uppercase;
    display: flex;
    gap: .08em;
    align-items: center;
    transition: all ease-in-out 0.3s;
}
.nav-overlay__links a:hover, .nav-overlay__links button:hover {
    margin-left: 30px;
}
.nav-overlay__links span {
    font-size: 1.06em;
    line-height: .8;
    transform: translateY(-.03em);
}
.location-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: 100vw;
    z-index: 180;
    background: var(--black);
    color: var(--yellow);
    box-shadow: -26px 0 80px rgba(0, 0, 0, .55);
    transform: translateX(105%);
    transition: transform .55s var(--ease);
    padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 90px);
    border-left: 1px solid rgba(255, 247, 97, .18);
}
.location-open .location-drawer {
    transform: translateX(0);
}
.drawer-close {
    position: absolute;
    top: 26px;
    right: 32px;
    border: 1px solid rgba(255, 247, 97, .4);
    background: transparent;
    color: var(--yellow);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
}
.location-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1.1fr .85fr;
    gap: 4vw;
    align-items: center;
}
.location-inner h2 {
    font-size: clamp(54px, 7vw, 130px);
    font-weight: 900;
    letter-spacing: -.07em;
    line-height: .84;
}
.location-inner p {
    font-size: clamp(18px, 2vw, 34px);
    color: #fff;
}
.map-circle {
    width: min(38vw, 430px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
    box-shadow: var(--shadow);
    display: block;
}
.map-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}
.map-circle:hover img {
    transform: scale(1.08);
}
.horizontal-shell {
    position: relative;
    height: 100dvh;
}
.horizontal-track {
    height: 100%;
    display: flex;
    will-change: transform;
}
.panel {
    height: 100dvh;
    min-width: 100vw;
    position: relative;
    overflow: hidden;
    background: var(--black);
}
.panel-wide {
    min-width: 190vw;
}
.panel-hero {
    background: var(--blue);
}
.hero-media, .hero-vignette {
    position: absolute;
    inset: 0;
}
.hero-media {
    background: url('../../recursos/el-kraken-gigante-durante-la-tormenta.jpg') center/cover no-repeat;
}
.hero-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .68;
}
.hero-vignette {
    background: radial-gradient(circle at 44% 48%, rgba(0, 78, 109, .05), rgba(0, 0, 0, .45)), linear-gradient(90deg, rgba(0, 78, 109, .65), rgba(0, 0, 0, .1));
    mix-blend-mode: multiply;
}
.hero-logo {
    position: relative;
    z-index: 3;
    display: inline-grid;
    font-size: clamp(76px, 10vw, 190px);
    font-weight: 900;
    letter-spacing: -.12em;
    line-height: .72;
    transform: skew(-12deg);
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.wind-float {
    animation: windFloat 5s ease-in-out infinite;
}
@keyframes windFloat {
    0%, 100% {
    transform: translate3d(0, 0, 0) skew(-12deg);
}
50% {
    transform: translate3d(10px, -14px, 0) skew(-12deg);
}
}
.panel-bg-symbol {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 247, 97, .35);
    font-size: 70vw;
    font-weight: 900;
    line-height: .7;
    opacity: .48;
    pointer-events: none;
    width: 80vw;
    will-change: transform;
}
.works-intro {
    position: absolute;
    left: clamp(22px, 5vw, 100px);
    top: 35%;
    transform: translateY(-50%);
    z-index: 4;
    width: min(44vw, 780px);
}
.mini-label {
    text-transform: uppercase;
    letter-spacing: .32em;
    font-size: clamp(10px, .8vw, 13px);
    font-weight: 800;
    color: currentColor;
    opacity: .72;
    display: flex;
    gap: 14px;
    align-items: center;
}
.mini-label:before {
    content: "";
    width: 54px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}
.works-intro h2 {
    font-weight: 900;
    font-size: clamp(46px, 5.8vw, 116px);
    letter-spacing: -.06em;
    line-height: .82;
    text-transform: uppercase;
}
.works-intro em {
    font-style: italic;
    font-size: .42em;
    letter-spacing: .02em;
    display: inline-block;
    transform: translateX(8vw);
}
.works-strip {
    position: absolute;
    left: 56vw;
    top: 0;
    height: 100%;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, 30vw);
    grid-template-rows: repeat(2, 42%);
    width: max-content;
    align-content: center;
    grid-auto-flow: column;
}

.social-end {
    min-height: 82dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 54px;
    padding: 80px 6vw;
    font-size: clamp(58px, 6vw, 120px);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: .84;
}
.social-end:after {
    content: "";
    position: absolute;
    inset: 0;
    height: 3vh;
    bottom: 0;
    top: inherit;
    background: linear-gradient(90deg, transparent, rgb(255 247 98), transparent);
    transform: translateX(-100%);
    animation: sweep 3.5s infinite linear;
}
.social-end .ideas-split-title span:nth-child(2) {
    font-size: xxx-large;
    line-height: .82;
    letter-spacing: -.075em;
    font-weight: 950;
    text-transform: uppercase;
    white-space: pre-wrap;
    width: 34%;
    margin: 0 auto -86px;
    text-align: right;
    padding: 10px 10px 0 0;
}
.social-floating {
    display: flex;
    gap: 16px;
    margin-top: 34px;
    position: absolute;
    right: clamp(22px, 5vw, 100px);
    top: 56%;
    transform: translateY(-50%);
    z-index: 4;
    width: min(44vw, 780px);
}
.social-floating a {
  width: 120px;
  height: 120px;
  font-size: 54px;
  border-radius: 18px;
  background: var(--yellow);
  color: #184461;
  display: grid;
  place-items: center;
  font-weight: 950;
  text-decoration: none;
  animation: socialFloat 3.2s ease-in-out infinite;
}
.social-floating a:nth-child(2) {
  animation-delay: .35s;
}

@keyframes socialFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.campaign-card {
    position: relative;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    min-width: 0;
}
.campaign-card img, .brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s var(--ease), filter .7s var(--ease);
}
.campaign-card:after, .brand-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .46));
    z-index: 1;
}
.campaign-card:hover img, .brand-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.2);
}
.card-copy {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 4px 14px rgba(0, 0, 0, .62);
    width: 90%}
.card-copy strong {
    display: block;
    color: #fff;
    font-size: clamp(10px, .95vw, 18px);
    font-weight: 900;
}
.card-copy span {
    display: block;
    color: var(--yellow);
    font-size: clamp(17px, 1.7vw, 36px);
    font-weight: 900;
    line-height: .9;
}
.panel-brands {
    background: var(--black);
    display: flex;
    align-items: center;
}
.brands-title {
    width: 46vw;
    min-width: 46vw;
    padding-left: clamp(24px, 5vw, 110px);
    z-index: 3;
}
.brands-title h2 {
    font-size: clamp(42px, 4.4vw, 86px);
    line-height: .82;
    letter-spacing: -.055em;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--yellow);
}
.brands-title span {
    display: block;
}
.brands-title .big {
    font-size: 1.28em;
}
.brands-strip {
    height: 78vh;
    display: grid;
    grid-template-columns: repeat(6, 24vw);
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
    padding-right: 8vw;
    align-items: stretch;
    grid-auto-flow: column;
}
.brand-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #222;
    min-width: 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}
.brand-card:nth-child(odd) {
    transform: translateY(-22px);
}
.brand-card:nth-child(even) {
    transform: translateY(22px);
}
.panel-contact {
    display: grid;
    place-items: center;
}
.contact-box {
    width: min(760px, 86vw);
    text-align: center;
}
.contact-box h2 {
    font-size: clamp(58px, 6vw, 120px);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: .84;
}
.contact-form {
    background: var(--yellow);
    color: var(--black);
    border-radius: 12px;
    padding: clamp(20px, 3vw, 38px);
    display: grid;
    gap: 10px;
    text-align: left;
}
.contact-form label {
    display: grid;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
}
.contact-form input, .contact-form textarea {
    border: 1px solid var(--black);
    border-radius: 8px;
    background: transparent;
    padding: 8px 10px;
    outline: none;
}
.btn-submit {
    margin-top: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--black);
    color: var(--yellow);
    padding: 12px 22px;
    font-weight: 900;
    text-transform: uppercase;
}
.contact-mail {
    color: #fff;
    margin-top: 18px;
}
.contact-mail a {
    font-weight: 900;
}
.socials {
    display: flex;
    gap: 18px;
    justify-content: center;
}
.socials a {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
}
.wind-in {
    filter: blur(10px);
    opacity: 0;
    transform: translateX(-90px);
}
.campaign-modal .modal-content, .reel-modal .modal-content {
    background: var(--black);
    color: var(--yellow);
    position: relative;
    overflow: hidden;
}
.modal-x {
    position: absolute;
    z-index: 8;
    top: 22px;
    right: 26px;
    border: 0;
    background: rgba(0, 0, 0, .6);
    color: var(--yellow);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
}
.campaign-modal__media {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
}
.campaign-modal__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92;
}
.campaign-modal__media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .65));
}
.play-btn {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 48px solid transparent;
    border-bottom: 48px solid transparent;
    border-left: 74px solid #fff;
    background: transparent;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35));
}
.know-more {
    position: absolute;
    z-index: 6;
    right: 0;
    top: 35%;
    writing-mode: vertical-rl;
    border: 0;
    background: rgba(24, 24, 24, .84);
    color: var(--yellow);
    font-size: clamp(16px, 1.5vw, 28px);
    font-weight: 900;
    padding: 24px 14px;
    border-radius: 12px 0 0 12px;
}
.modal-info-panel {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 43vh;
    background: rgba(24, 24, 24, .76);
    backdrop-filter: blur(14px);
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 5vw;
    align-items: center;
    padding: clamp(40px, 7vw, 110px) 12vw;
    transform: translateY(102%);
    transition: transform .45s var(--ease);
}
.modal-info-open .modal-info-panel {
    transform: translateY(0);
}
.modal-info-panel h2 {
    font-weight: 900;
    font-size: clamp(44px, 6vw, 110px);
    line-height: .82;
    letter-spacing: -.06em;
    text-transform: uppercase;
}
.modal-client {
    color: #fff;
    font-weight: 900;
    font-size: clamp(20px, 2vw, 36px);
    text-transform: uppercase;
    margin: 0;
}
.modal-info-panel p:last-child {
    color: #fff;
    font-size: clamp(16px, 1.3vw, 22px);
    line-height: 1.35;
}
.modal-chevron {
    position: absolute;
    display: none;
    z-index: 7;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    font-size: 80px;
    line-height: .3;
    color: var(--yellow);
}
/* NOSOTROS */
.is-nosotros {
    background: var(--black);
    color: var(--yellow);
}
.dark-header {
    mix-blend-mode: normal;
}
.about-horizontal {
    height: 100dvh;
}
.about-track {
    height: 100%;
    display: flex;
    will-change: transform;
}
.about-panel {
    min-width: 100vw;
    height: 100dvh;
    position: relative;
    overflow: hidden;
    background: var(--black);
    padding: clamp(80px, 9vw, 150px) clamp(26px, 5vw, 90px);
}
.about-hero-panel {
    display: grid;
    align-items: center;
    padding: 0;
}
.about-hero-image {
    height: 100%;
    width: 100vw;
    position: relative;
    overflow: hidden;
}
.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-hero-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .72));
}
.about-hero-copy {
    padding: 8vw;
    color: #fff;
    width: 50vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    right: 0;
    background: #181818;
    background: linear-gradient(270deg, rgba(24, 24, 24, 1) 50%, rgba(24, 24, 24, 0) 100%);
}
.monogram {
    position: absolute;
    left: 10vw;
    top: 33vh;
    color: var(--yellow);
    font-size: clamp(90px, 8vw, 180px);
    font-weight: 900;
    line-height: .72;
    letter-spacing: -.14em;
    transform: skew(-14deg);
    opacity: .95;
}
.about-hero-copy p {
    max-width: 780px;
    font-weight: 700;
    font-size: clamp(14px, 1vw, 18px);
    line-height: 1.45;
}
.about-hero-copy strong {
    color: var(--yellow);
}
.reel-cta {
    margin-top: 40px;
    border: 0;
    background: transparent;
    color: var(--yellow);
    font-size: clamp(34px, 4vw, 78px);
    font-weight: 900;
    display: flex;
    gap: 24px;
    align-items: center;
}
.reel-cta span {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    background: var(--yellow);
    display: inline-block;
    position: relative;
}
.reel-cta span:after {
    content: "";
    position: absolute;
    left: 25px;
    top: 13px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 16px solid var(--black);
}
.about-statement-panel {
    display: grid;
    place-items: center;
    min-width: 25vw;
}
.statement-card h1 {
    font-size: clamp(58px, 6.6vw, 140px);
    line-height: .78;
    font-weight: 900;
    letter-spacing: -.07em;
}
.about-slider-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;
    min-width: 75vw;
}
.team-title-vertical {
    position: absolute;
    left: 0;
    z-index: 3;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 900;
    font-size: clamp(50px, 5vw, 110px);
    line-height: .8;
}
.mdj-slider {
    position: relative;
    width: 75vw;
    height: 72vh;
    margin-right: 0;
}
.mdj-slide {
    position: relative;
    width: 100%;
    height: 100%}
.mdj-item {
    position: absolute;
    width: 220px;
    height: 300px;
    bottom:0%;
    left: 58%;
    transform: translateY(25%);
    border-radius: 0;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all .55s var(--ease);
    cursor: pointer;
}

.mdj-item:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
    transform: translateX(-100%);
    animation: sweep 3.5s infinite linear;
}
@keyframes sweep {
  to {
    transform: translateX(120%);
  }
}
.mdj-item:nth-child(1), .mdj-item:nth-child(2) {
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    height: 100%}
.mdj-item:nth-child(3) {
    left: 72%}
.mdj-item:nth-child(4) {
    left: calc(72% + 250px);
}
.mdj-copy {
    position: absolute;
    z-index: 2;
    left: clamp(30px, 4vw, 80px);
    bottom: clamp(30px, 4vw, 70px);
    color: var(--yellow);
    display: none;
}
.mdj-item:nth-child(2) .mdj-copy {
    display: block;
}
.mdj-copy p {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 900;
}
.mdj-copy h2 {
    font-size: clamp(42px, 5vw, 100px);
    font-weight: 900;
    line-height: .8;
}
.mdj-copy a {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 12px 20px;
}
.mdj-arrows {
    position: absolute;
    z-index: 5;
    left: 40px;
    bottom: 5vh;
    display: flex;
    gap: 18px;
}
.mdj-arrows button {
    width: 56px;
    height: 56px;
    border: 2px solid var(--yellow);
    background: transparent;
    color: var(--yellow);
    font-size: 42px;
    line-height: .7;
    border-radius: 8px;
}
.reel-frame {
    height: 100%;
    display: grid;
    place-items: center;
    background: #000;
}
.reel-frame video {
    width: min(1200px, 90vw);
    aspect-ratio: 16/9;
    object-fit: cover;
}
.no-gsap .horizontal-shell, .no-gsap .about-horizontal {
    height: auto;
    overflow-x: auto;
}
.no-gsap .horizontal-track, .no-gsap .about-track {
    overflow-x: auto;
}
.no-gsap .panel, .no-gsap .about-panel {
    flex: 0 0 100vw;
}
.no-gsap .panel-wide {
    flex-basis: 230vw;
}
@media (max-width: 991px) {
    .panel-wide {
    min-width: 100vw;
}
.horizontal-shell, .about-horizontal {
    height: auto;
}
.horizontal-track, .about-track {
    display: block;
    transform: none!important;
}
.panel, .about-panel {
    min-height: 100dvh;
    height: auto;
    min-width: 100%;
    padding: 90px 18px 70px;
}
.works-intro {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-bottom: 28px;
}
.works-intro h2 {
    font-size: clamp(46px, 14vw, 80px);
}
.works-strip {
    position: relative;
    left: auto;
    top: auto;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    width: 100%;
    gap: 0;
}
.campaign-card {
    aspect-ratio: 1.3;
}
.panel-brands {
    display: block;
}
.brands-title {
    width: 100%;
    min-width: 0;
    padding: 0 0 28px;
}
.brands-strip {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0;
}
.brand-card {
    aspect-ratio: 1.5;
}
.location-inner {
    grid-template-columns: 1fr;
}
.map-circle {
    width: min(80vw, 420px);
}
.modal-info-panel {
    grid-template-columns: 1fr;
    padding: 70px 28px;
}
.about-hero-panel {
    grid-template-columns: 1fr;
}
.about-hero-image {
    height: 100%;
    position: absolute;
    overflow: hidden;
    z-index: 0;
}
.about-hero-copy {
    padding: 30px;
}
.monogram {
    top: 18vh;
}
.about-slider-panel {
    display: block;
}
.team-title-vertical {
    position: relative;
    left: auto;
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 20px;
}
.mdj-slider {
    width: 100%;
    height: 60vh;
}
.mdj-item:nth-child(3) {
    left: 54%}
.mdj-item:nth-child(4) {
    left: calc(54% + 230px);
}
}
@media (max-width: 600px) {
    .nav-overlay__links a, .nav-overlay__links button {
    font-size: clamp(38px, 10vw, 78px);
}
.hero-logo {
    font-size: clamp(72px, 24vw, 120px);
}
.works-strip, .brands-strip {
    grid-template-columns: 1fr;
}
.campaign-card, .brand-card {
    aspect-ratio: 1.65;
}
.card-copy span {
    font-size: 28px;
}
.brand-card:nth-child(n) {
    transform: none;
}
.contact-form {
    padding: 18px;
}
.socials a {
    font-size: 22px;
}
.modal-info-panel h2 {
    font-size: 44px;
}
.play-btn {
    border-top-width: 30px;
    border-bottom-width: 30px;
    border-left-width: 48px;
}
.know-more {
    font-size: 16px;
}
.about-hero-copy p {
    font-size: 13px;
}
.reel-cta {
    font-size: 32px;
}
.statement-card h1 {
    font-size: 54px;
}
.mdj-copy h2 {
    font-size: 46px;
}
.mdj-item {
    width: 160px;
    height: 220px;
}
.mdj-item:nth-child(3) {
    left: 48%}
.mdj-item:nth-child(4) {
    left: calc(48% + 175px);
}
}


/* ==========================================================
   CORRECCIONES V2 — logo flotante/docking,  menú X y split text
   ========================================================== */
.is-index .header-logo-static {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.floating-logo {
    
  position: fixed;
    
  z-index: 150;
    
  left: 50vw;
    
  top: 50vh;
    
  display: inline-grid;
    
  grid-template-rows: auto auto;
    
  color: var(--yellow);
    
  text-decoration: none;
    
  font-weight: 900;
    
  font-size: clamp(82px, 13vw, 232px);
    
  letter-spacing: -.13em;
    
  line-height: .72;
    
  text-transform: uppercase;
    
  transform: skew(-12deg);
    
  transform-origin: center center;
    
  pointer-events: auto;
    
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .32));
    
  will-change: left, top, transform, filter;
    
}
.floating-logo__part {
    
  display: block;
    
  will-change: transform, opacity, filter;
    
  opacity: 0;
    
}
.floating-logo__part--barlo {
    transform: translate3d(-70vw, 0, 0);
}
.floating-logo__part--vento {
    transform: translate3d(70vw, 0, 0);
}
.logo-intro-ready .floating-logo__part {
    
  opacity: 1;
    
  transform: translate3d(0, 0, 0);
    
  filter: blur(0);
    
  transition: transform 1.05s var(--ease), opacity .85s var(--ease), filter .85s var(--ease);
    
}
.floating-logo.is-docked {
    
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .24));
    
}
body.menu-open .floating-logo {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease);
}
.hero-logo-space {
    width: min(60vw, 900px);
    height: clamp(190px, 34vw, 430px);
}
body.menu-open .blvt-header {
    z-index: 260;
}
.menu-trigger {
    position: relative;
    z-index: 270;
    transition: transform .25s var(--ease);
}
.menu-trigger span {
    transition: transform .25s var(--ease), opacity .2s var(--ease), background-color .25s var(--ease);
}
body.menu-open .blvt-header .menu-trigger span:nth-child(1) {
    transform: translateY(calc(clamp(5px, .5vw, 9px) + clamp(4px, .45vw, 7px))) rotate(45deg);
}
body.menu-open .blvt-header .menu-trigger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
body.menu-open .blvt-header .menu-trigger span:nth-child(3) {
    transform: translateY(calc((clamp(5px, .5vw, 9px) + clamp(4px, .45vw, 7px)) * -1)) rotate(-45deg);
}
.menu-trigger-close {
    display: none!important;
}
.ideas-split-title {
    display: grid;
    gap: .03em;
    overflow: visible;
}
.ideas-split-title span {
    display: block;
    will-change: transform, opacity, filter;
}
.ideas-split-title .ideas-right {
    text-align: right;
}
.ideas-split-title .ideas-em {
    font-style: italic;
    font-size: .42em;
    letter-spacing: .02em;
    line-height: .86;
    transform: none;
    margin-right: clamp(10px, 5vw, 90px);
}
.works-intro h2.ideas-split-title {
    font-weight: 900;
    font-size: clamp(46px, 5.8vw, 116px);
    letter-spacing: -.06em;
    line-height: .82;
    text-transform: uppercase;
}
.works-intro h2.ideas-split-title em {
    transform: none;
}
@media (max-width:991px) {
    
  .floating-logo {
    font-size: clamp(62px, 18vw, 150px);
}
  .is-index .header-logo-static {
    display: none;
}
  .hero-logo-space {
    height: 35vh;
}
  .ideas-split-title .ideas-right {
    text-align: left;
}
  .ideas-split-title .ideas-em {
    margin-right: 0;
    margin-left: clamp(50px, 18vw, 180px);
}
}
@media (max-width:600px) {
    
  .floating-logo {
    font-size: clamp(64px, 23vw, 112px);
}
  .hero-logo-space {
    height: 32vh;
}
  .works-intro h2.ideas-split-title {
    font-size: clamp(40px, 13vw, 68px);
}
}
/* Compatibilidad: evita multiplicaciones no soportadas en calc() para formar la X del menú */
body.menu-open .blvt-header .menu-trigger span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}
body.menu-open .blvt-header .menu-trigger span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}
@media (max-width:600px) {
    body.menu-open .blvt-header .menu-trigger span: nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
body.menu-open .blvt-header .menu-trigger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
}


/* LOGO DOCKING FIX V3 */
@media (max-width:991px) {
    
  .floating-logo {
    
    font-size: clamp(66px, 18vw, 150px);
    
  }
}
@media (max-width: 600px) {
    
  .floating-logo {
    
    font-size: clamp(58px, 22vw, 112px);
    
  }
}


/* ==========================================================
   LOGO INTRO + DOCKING FIX V4
   Control robusto sin depender de GSAP ScrollTrigger.
   BARLO entra desde izquierda,  VENTO desde derecha.
   El wrapper se mueve del centro a la esquina superior izquierda
   usando variables CSS actualizadas con requestAnimationFrame.
   ========================================================== */

.is-index .header-logo-static {
    
  visibility: hidden !important;
    
  opacity: 0 !important;
    
  pointer-events: none !important;
    
}

.floating-logo {
    
  position: fixed !important;
    
  z-index: 180 !important;
    
  left: var(--logo-left,  50vw) !important;
    
  top: var(--logo-top,  50vh) !important;
    
  display: inline-grid !important;
    
  grid-template-rows: auto auto !important;
    
  color: var(--yellow) !important;
    
  text-decoration: none !important;
    
  font-family: 'Montserrat',  Arial,  sans-serif !important;
    
  font-weight: 900 !important;
    
  font-size: clamp(82px, 13vw, 232px) !important;
    
  letter-spacing: -.13em !important;
    
  line-height: .72 !important;
    
  text-transform: uppercase !important;
    
  transform: 
    translate3d(var(--logo-translate-x,  -50%),  var(--logo-translate-y,  -50%),  0)
    skew(-12deg)
    scale(var(--logo-scale,  1)) !important;
    
  transform-origin: top left !important;
    
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .32)) !important;
    
  pointer-events: auto !important;
    
  will-change: left,  top,  transform,  filter !important;
    
}

.floating-logo__part {
    
  display: block !important;
    
  opacity: 0;
    
  will-change: transform,  opacity,  filter;
    
}

.floating-logo__part--barlo {
    
  animation:  logoBarloWindIn 1.25s cubic-bezier(.22, .61, .36, 1) .28s forwards;
    
}

.floating-logo__part--vento {
    
  animation:  logoVentoWindIn 1.25s cubic-bezier(.22, .61, .36, 1) .38s forwards;
    
}

@keyframes logoBarloWindIn {
    
  0% {
    
    opacity: 0;
    
    transform: translate3d(-72vw,  0,  0);
    
    filter: blur(16px);
    
  }
  70% {
    
    opacity: 1;
    
    filter: blur(2px);
    
  }
  100% {
    
    opacity: 1;
    
    transform: translate3d(0,  0,  0);
    
    filter: blur(0);
    
  }
}

@keyframes logoVentoWindIn {
    
  0% {
    
    opacity: 0;
    
    transform: translate3d(72vw,  0,  0);
    
    filter: blur(16px);
    
  }
  70% {
    
    opacity: 1;
    
    filter: blur(2px);
    
  }
  100% {
    
    opacity: 1;
    
    transform: translate3d(0,  0,  0);
    
    filter: blur(0);
    
  }
}

body.logo-docked .floating-logo {
    
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .24)) !important;
    
}

body.menu-open .floating-logo {
    
  opacity: 0 !important;
    
  pointer-events: none !important;
    
  transition: opacity .2s cubic-bezier(.22, .61, .36, 1);
    
}

@media (max-width: 991px) {
    
  .floating-logo {
    
    font-size: clamp(66px, 18vw, 150px) !important;
    
  }
  .menu-trigger {
    position: absolute;
    right: 0;
    }
}

@media (max-width: 600px) {
    
  .floating-logo {
    
    font-size: clamp(58px, 22vw, 112px) !important;
    
  }
}


/* ==========================================================
   RESPONSIVE FIX — mobile/tablet vertical flow
   El problema era que ScrollTrigger seguía pinneando el track en < 992px
   y los elementos quedaban con opacity:0 / transform de animaciones desktop.
   Esta capa corrige layout + visibilidad en responsive.
   ========================================================== */
@media (max-width: 991px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body.is-responsive-flow .horizontal-shell,
  body.is-responsive-flow .about-horizontal {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.is-responsive-flow .horizontal-track,
  body.is-responsive-flow .about-track {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    will-change: auto !important;
  }

  body.is-responsive-flow .panel,
  body.is-responsive-flow .about-panel {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    min-height: 100svh;
    overflow: visible !important;
    padding: 96px 18px 72px;
  }

  body.is-responsive-flow .panel-wide {
    min-width: 100% !important;
  }

  body.is-responsive-flow .panel-hero {
    min-height: 100svh;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.is-responsive-flow .hero-media,
  body.is-responsive-flow .hero-vignette {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  body.is-responsive-flow .hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.is-responsive-flow .works-intro {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    transform: none;
    margin: 0 0 28px;
    z-index: 3;
  }

  body.is-responsive-flow .panel-bg-symbol {
    position: absolute;
    right: -12vw;
    left: auto;
    top: 8vh;
    width: auto;
    font-size: 82vw;
    opacity: .18;
  }

  body.is-responsive-flow .works-strip {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-template-rows: none;
    gap: 0;
    align-content: start;
  }

  body.is-responsive-flow .campaign-card {
    aspect-ratio: 1.12;
    min-height: 150px;
  }

  body.is-responsive-flow .panel-brands {
    display: block !important;
    min-height: auto !important;
  }

  body.is-responsive-flow .brands-title {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 0 26px !important;
  }

  body.is-responsive-flow .brands-title h2 {
    font-size: clamp(38px, 12vw, 68px);
  }

  body.is-responsive-flow .brands-strip {
    width: 100% !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-template-rows: none;
    gap: 10px;
    padding: 0 !important;
  }

  body.is-responsive-flow .brand-card {
    aspect-ratio: 1.38;
    transform: none !important;
  }

  body.is-responsive-flow .panel-contact {
    min-height: auto;
    padding-top: 110px;
  }

  body.is-responsive-flow .contact-box {
    width: 100%;
  }

  body.is-responsive-flow .about-hero-panel {
    min-height: 100svh;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.is-responsive-flow .about-hero-image {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
  }

  body.is-responsive-flow .about-hero-copy {
    position: relative !important;
    right: auto !important;
    width: 100% !important;
    min-height: 100svh;
    padding: 110px 24px 70px !important;
    background: linear-gradient(90deg, rgba(24,24,24,.80), rgba(24,24,24,.95));
    z-index: 2;
  }

  body.is-responsive-flow .about-statement-panel,
  body.is-responsive-flow .about-slider-panel {
    min-width: 100% !important;
  }

  body.is-responsive-flow .team-title-vertical {
    position: relative !important;
    left: auto !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
    margin-bottom: 24px;
  }

  body.is-responsive-flow .mdj-slider {
    width: 100% !important;
    height: min(62svh, 560px) !important;
  }

  body.is-responsive-flow .social-end {
    position: relative;
    min-height: 70svh;
    display: block;
    padding: 110px 18px 80px;
  }

  body.is-responsive-flow .social-floating {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    justify-content: center;
  }

  body.is-responsive-flow .mobile-reveal {
    opacity: 0 !important;
    transform: translate3d(0, 28px, 0) !important;
    filter: blur(9px) !important;
    transition: opacity .72s var(--ease), transform .72s var(--ease), filter .72s var(--ease);
  }

  body.is-responsive-flow .mobile-reveal.mobile-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    filter: blur(0) !important;
  }
}

@media (max-width: 600px) {
  body.is-responsive-flow .works-strip,
  body.is-responsive-flow .brands-strip {
    grid-template-columns: 1fr;
  }

  body.is-responsive-flow .panel,
  body.is-responsive-flow .about-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.is-responsive-flow .works-intro h2,
  body.is-responsive-flow .brands-title h2,
  body.is-responsive-flow .contact-box h2 {
    font-size: clamp(40px, 13vw, 64px) !important;
  }

  body.is-responsive-flow .campaign-card,
  body.is-responsive-flow .brand-card {
    aspect-ratio: 1.55;
  }
  body.is-responsive-flow .about-hero-copy {
        bottom: 0;
        top: 25%;
        width: 100% !important;
        height: 50vh;
        background: linear-gradient(180deg, rgb(24 24 24 / 0%) 10%, rgb(24 24 24) 50%);
    }
    .about-statement-panel {
        min-height: 25svh !important;
    }
    .mdj-item {
        transform: translateY(54%);
    }
    body.is-responsive-flow .social-floating {
        top: 40px !important;
    }
    .social-end .ideas-split-title span:nth-child(2) {
        width: 100%;
        margin: 0 auto;
    }
}
