html,
body {
    margin: 0;
    padding: 0;
}

body.balboa-home-v3 header,
body.balboa-home-v3 footer,
body.balboa-home-v3 #bottom-footer,
body.balboa-home-v3 .site-header,
body.balboa-home-v3 .main-header,
body.balboa-home-v3 #masthead {
    display: none !important;
}

body.balboa-home-v3 {
    background: #fff;
    overflow-x: hidden;
}

#balboa-landing-v3 {
    background: #fff;
    color: #111;
    min-height: 100vh;
    overflow: clip;
}

#balboa-landing-v3,
#balboa-landing-v3 * {
    box-sizing: border-box;
}

#balboa-landing-v3 .landing-wrap {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 42px;
}



/* --ending format init */

/* ═══════════════ HERO V3 — MINIMAL ═══════════════ */

.landing-v3-hero__minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100svh - 76px);
    padding: 3rem 0;
}

.landing-v3-hero__minimal-brand {
    margin-bottom: clamp(2.5rem, 5vw, 8rem);
    margin-top: -90px;
}

.landing-v3-hero__minimal-brand .custom-logo-link,
.landing-v3-hero__minimal-brand .custom-logo-link img {
    display: block;
    margin: 0 auto;
}

.landing-v3-hero__minimal-brand .custom-logo-link img {
    width: clamp(260px, 30vw, 480px);
    max-width: 100%;
    height: auto;
}

.landing-v3-hero__title--minimal {
    text-align: center;
    font-size: clamp(4.8rem, 9vw, 10rem);
    line-height: 0.88;
    letter-spacing: 0.04em !important;
    margin-bottom: 0.2em;
    font-weight: 500;
}

/* Subtitle already has text-align:center from base styles */

.landing-v3-hero__cta--minimal {
    margin-top: clamp(3rem, 6vw, 5rem);
}

/* Imagen custom en minimal */
.landing-v3-hero__minimal-img {
    display: block;
    margin: 0 auto;
    width: clamp(260px, 30vw, 480px);
    max-width: 300px;
    height: auto;
}

/* Botón centrado */
.landing-v3-hero__cta--minimal {
    margin-top: clamp(3rem, 6vw, 5rem);
    margin-left: auto;
    margin-right: auto;
}

/* ── Responsive ── */

/* HERO CTA real: visible solo en mobile/tablet */
@media (min-width: 1025px) {
    .landing-v3-hero__cta--minimal {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        position: absolute;
    }
}


@media (max-width: 640px) {
    .landing-v3-hero__minimal {
        min-height: calc(100svh - 40px);
        padding: 2rem 0;
    }

    .landing-v3-hero__title--minimal {
        font-size: clamp(3.4rem, 15vw, 6rem);
        line-height: 0.9;
    }

    .landing-v3-hero__minimal-brand {
        margin-bottom: 2rem;
    }

    .landing-v3-hero__cta--minimal {
        margin-top: 2.5rem;
    }
}


/* =========================================================
   HERO V3
   ========================================================= */

.landing-v3-hero {
    background: #fff;
    padding: 38px 0 110px;
    position: relative;
    z-index: 2;
    height: auto !important;
}

.landing-v3-hero--split .landing-v3-hero__split {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
    gap: clamp(48px, 6vw, 110px);
    align-items: center;
    min-height: auto;
}

.landing-v3-hero__split-copy {
    max-width: 760px;
}

.landing-v3-hero__split .landing-v3-hero__brand .custom-logo-link { min-width: 150px; width: 100%; height: auto; }

.landing-v3-hero__brand {
    display: inline-block;
    margin-bottom: 2.2rem;
}

.landing-v3-hero__brand .custom-logo-link,
.landing-v3-hero__brand .custom-logo-link img {
    display: block;
}

.landing-v3-hero__brand .custom-logo-link img {
    width: clamp(220px, 24vw, 430px);
    max-width: 100%;
    height: auto;
}

.landing-v3-hero__brand-text {
    display: inline-block;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.landing-v3-hero__title {
    margin: 0;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: clamp(3.8rem, 7vw, 6.8rem);
    line-height: 0.86;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-align: center;
}

.v3-title-line {
    display: block;
    overflow: hidden;
}

.v3-title-line > span {
    display: block;
}

.landing-v3-hero__subtitle {
    margin: 1.15rem 0 0;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: clamp(1.15rem, 1.75vw, 2rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #111;
    text-align: center;
}

.landing-v3-hero__text {
    max-width: 540px;
    margin-top: 1.7rem;
}

.landing-v3-hero__text p {
    margin: 0;
    font-size: clamp(1rem, 1.05vw, 1.14rem);
    line-height: 1.85;
    color: rgba(17, 17, 17, 0.78);
}

.landing-v3-hero__cta {
    margin-top: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 172px;
    min-height: 58px;
    padding: 0 28px;
    border: 1.5px solid #111;
    border-radius: 12px;
    text-decoration: none;
    color: #111;
    background: transparent;
    font-size: 0.92rem;
    line-height: 1;
    transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.landing-v3-hero__cta:hover {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}

.landing-v3-hero__split-media {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.landing-v3-hero__figure--split {
    width: min(100%, 520px);
    margin: 0;
    background: #e8e4df;
    overflow: hidden;
    aspect-ratio: 0.9 / 1.05;
}

.landing-v3-hero__figure--split img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}



/* =========================================================
   HERO V3 EDITORIAL
   ========================================================= */

.landing-v3-hero--editorial .landing-v3-hero__editorial-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.86fr 0.96fr;
    grid-template-areas:
        "logo main right"
        "left main copy";
    gap: 42px 54px;
    align-items: start;
}

.landing-v3-hero__editorial-logo { grid-area: logo; }
.landing-v3-hero__figure--editorial-left { grid-area: left; }
.landing-v3-hero__figure--editorial-main { grid-area: main; }
.landing-v3-hero__editorial-copy { grid-area: copy; text-align:center; }
.landing-v3-hero__figure--editorial-right { grid-area: right; }

.landing-v3-hero__figure--editorial-left,
.landing-v3-hero__figure--editorial-main,
.landing-v3-hero__figure--editorial-right {
    margin: 0;
    overflow: hidden;
    background: #e8e4df;
}

.landing-v3-hero__figure--editorial-left {
    aspect-ratio: 1 / 0.94;
}

.landing-v3-hero__figure--editorial-main {
    aspect-ratio: 0.7 / 1;
}

.landing-v3-hero__figure--editorial-right {
    aspect-ratio: 0.92 / 1;
}

.landing-v3-hero__figure--editorial-left img,
.landing-v3-hero__figure--editorial-main img,
.landing-v3-hero__figure--editorial-right img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}



/*
============
Hero pegado arriba sin menu
============
*/
#landing-v3-hero .custom-logo-link img { width: 100%; max-width: 380px; height:auto; }

.landing-v3-hero--split {
    padding-top: 52px;
}

@media (max-width: 1080px) {
    .landing-v3-hero--split .landing-v3-hero__split {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .landing-v3-hero__split-copy {
        max-width: 100%;
    }

    .landing-v3-hero__split-media {
        justify-content: flex-start;
    }

    .landing-v3-hero__figure--split {
        width: 100%;
        max-width: 560px;
    }
}


/*
=======================
CSS ANTERIOR
=======================
*/
.landing-v3-about {
    background: transparent;
    padding: 60px 0 130px;
}

.landing-v3-about__head {
    margin-bottom: 70px;
}

.landing-v3-title-display {
    margin: 0;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: clamp(3.6rem, 7vw, 7rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
    color: inherit;
}

.landing-v3-title-display--light {
    color: #fff;
    text-align: center;
}
#balboa-landing-v3.theme-dark .landing-v3-think-intro, 
#balboa-landing-v3.theme-dark .landing-v3-think-intro,
.landing-v3-think-intro__copy {
    text-align: center;
}

.landing-v3-about__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 90px;
}

.landing-v3-about__col p {
    margin: 0 0 22px;
    font-size: clamp(1.08rem, 1.8vw, 1.28rem);
    line-height: 1.58;
    color: rgba(17,17,17,0.9);
}


#landing-think-intro-v3 {
    height: auto;
}

#landing-think-grid-v3 {
    display: none !important;
}

#balboa-landing-v3 .landing-v3-think-intro {
    background: transparent;
    transition: color 0.45s ease;
}

.landing-v3-think-intro {
    background: transparent;
    color: #fff;
    padding: 130px 0 90px;
}

.landing-v3-think-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    gap: clamp(3rem, 6vw, 8rem);
    align-items: center;
}

.landing-v3-think-intro__text {
    margin: 18px 0 0;
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.15;
    text-transform: uppercase;
    color: rgba(255,255,255,0.96);
}

.landing-v3-think-intro__media figure {
    margin: 0;
    overflow: hidden;
}

.landing-v3-think-intro__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.9;
    object-fit: cover;
}

.landing-v3-think-grid {
    background: transparent;
    color: #111;
    padding: 70px 0 120px;
}

.landing-v3-think-grid__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 42px 34px;
}

.landing-v3-think-card__media {
    margin-bottom: 18px;
    background: #ddd8d3;
    overflow: hidden;
}

.landing-v3-think-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 0.82 / 1;
    object-fit: cover;
    filter: grayscale(100%);
}

.landing-v3-think-card__title {
    margin: 0;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: clamp(1.25rem, 1.7vw, 2rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.landing-v3-think-card__toggle {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 6px 0 0;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: 1rem;
    line-height: 1;
    text-decoration: underline;
    cursor: pointer;
    color: #111;
}

.landing-v3-think-card__panel {
    height: 0;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-v3-think-card__panel-inner {
    padding-top: 12px;
}

.landing-v3-think-card__panel-inner p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.58;
    color: rgba(17,17,17,0.84);
}

.landing-v3-think-card__panel-inner p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(17,17,17,0.84);
}

.landing-v3-projects {
    background: transparent;
    padding: 40px 0 120px;
}

.landing-v3-projects__head,
.landing-v3-services__head,
.landing-v3-clients__head {
    margin-bottom: 50px;
}

#landing-v3-service-modal .landing-v3-modal__panel{ padding: 30px; }

#landing-services-v3,
#landing-projects-v3 { height: auto; }

/* ═══════════════ PROJECTS GRID — EDITORIAL ═══════════════ */
 
.landing-v3-projects__masonry {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(180px, auto);
    grid-auto-flow: dense;
    gap: 16px;
}
 
/* Card base — ya NO necesita clases is-sm/is-md, el span viene inline */
.landing-v3-project-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    /* Aspect ratio proporcional al span — la altura viene del grid row */
    min-height: 0;
}
 
.landing-v3-project-card__media {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
}
 
.landing-v3-project-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 6px;
}
 
.landing-v3-project-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.48) 0%,
        rgba(0, 0, 0, 0.08) 45%,
        rgba(0, 0, 0, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 6px;
}
 
.landing-v3-project-card__name {
    color: rgba(255, 255, 255, 0.95);
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: clamp(1.1rem, 1.6vw, 1.7rem);
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}
 
.landing-v3-project-card:hover .landing-v3-project-card__overlay {
    opacity: 1;
}
 
.landing-v3-project-card:hover .landing-v3-project-card__media img {
    transform: scale(1.04);
}
 
 
/* ── Responsive: colapsar el grid ── */
 
@media (max-width: 1080px) {
    .landing-v3-projects__masonry {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: minmax(160px, auto);
    }
 
    /* Items que exceden 4 cols se limitan */
    .landing-v3-project-card[style*="span 5"],
    .landing-v3-project-card[style*="span 6"] {
        grid-column: span 4 !important;
    }
}
 
@media (max-width: 780px) {
    .landing-v3-projects__masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(200px, auto);
        gap: 12px;
    }
 
    /* En 2 cols, máximo span 2 */
    .landing-v3-project-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
 
    /* Permitir que el primero sea grande en mobile */
    .landing-v3-project-card:first-child {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }
}
 
@media (max-width: 480px) {
    .landing-v3-projects__masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(240px, auto);
    }
 
    .landing-v3-project-card,
    .landing-v3-project-card:first-child {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}





.landing-v3-services {
    position: relative;
    z-index: 3;
    padding: 40px 0 120px;
    background: #fff;
}

.landing-v3-services__head {
    position: relative;
    z-index: 2;
}

.landing-v3-services__buttons {
    position: relative;
    z-index: 2;
}

.landing-v3-service-pill {
    appearance: none;
    background: transparent;
    border: 1.5px solid #111;
    border-radius: 999px;
    min-height: 74px;
    padding: 0 34px;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    line-height: 1;
    cursor: pointer;
    transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}
.landing-v3-service-pill:hover span { color: white !important; }
.landing-v3-service-pill:hover {
    transform: translateY(-2px);
    background: #111;
    color: #fff;
}

.landing-v3-clients {
    background: transparent;
    padding: 20px 0 120px;
}

.landing-v3-clients__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.landing-v3-client-card {
    min-height: 250px;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
}

.landing-v3-client-card img {
    display: block;
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.landing-v3-client-card span {
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: 1.4rem;
    text-align: center;
}

.landing-v3-contact {
    background: #050505;
    color: #fff;
    padding: 120px 0;
}

.landing-v3-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 62px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1.5px solid currentColor;
    text-decoration: none;
    background: transparent;
    color: inherit;
    font-size: 0.92rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease, opacity 0.28s ease;
}

.landing-v3-button:hover {
    transform: translateY(-2px);
}

.landing-v3-button--light {
    color: #fff;
    border-color: rgba(255,255,255,0.82);
}

.landing-v3-contact__inner {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 0.9fr);
    gap: 80px;
    align-items: start;
}

.landing-v3-contact__right {
    justify-self: end;
    max-width: 420px;
    width: 100%;
}

.landing-v3-contact__brand {
    margin-bottom: 40px;
}

.landing-v3-contact__brand .custom-logo-link img {
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.landing-v3-contact__data p {
    margin: 0 0 18px;
    font-size: clamp(1.2rem, 2vw, 2rem);
    line-height: 1.35;
}

.landing-v3-contact__data a {
    color: #fff;
    text-decoration: none;
    font-size: 24px; line-height: 26px;
}

.landing-v3-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.landing-v3-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.landing-v3-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.landing-v3-modal__panel {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100vw - 40px));
    margin: 10vh auto 0;
    background: #fff;
    color: #111;
    padding: 38px 34px 34px;
}

.landing-v3-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.landing-v3-modal__title {
    margin: 0 0 16px;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
}

.landing-v3-modal__text p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.72;
    color: rgba(17,17,17,0.84);
}

@media (max-width: 1280px) {
    .landing-v3-think-grid__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .balboa-landing-v3 .landing-wrap {
        padding: 0 24px;
    }

    .landing-v3-hero--split .landing-v3-hero__split,
    .landing-v3-hero--editorial .landing-v3-hero__editorial-grid,
    .landing-v3-about__grid,
    .landing-v3-think-intro__grid,
    .landing-v3-contact__inner {
        grid-template-columns: 1fr;
    }

    .landing-v3-think-grid__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .landing-v3-clients__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .landing-v3-contact__right {
        justify-self: start;
    }
}

@media (max-width: 780px) {
    .landing-v3-think-grid__inner,
    .landing-v3-clients__grid {
        grid-template-columns: 1fr 1fr;
    }

    .landing-v3-services__buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-v3-service-pill {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 560px) {
    .landing-v3-title-display {
        font-size: clamp(2.8rem, 14vw, 4.6rem);
        line-height: 0.94;
    }

    .landing-v3-hero {
        padding: 20px 0 70px;
    }

    .landing-v3-think-grid__inner,
    .landing-v3-clients__grid {
        grid-template-columns: 1fr;
    }

    .landing-v3-about__col p,
    .landing-v3-think-card__panel-inner p,
    .landing-v3-modal__text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .landing-v3-think-intro__text {
        font-size: 1.5rem;
    }

    .landing-v3-client-card {
        min-height: 180px;
    }

    .landing-v3-contact {
        padding: 80px 0;
    }

    .landing-v3-contact__data p {
        font-size: 18px;
        line-height: 20px;
    }    
}




/* =========================================================
   V3 POLISH
   ========================================================= */

/* Aire general hero split */
.landing-v3-hero--split {
    padding: 78px 0 130px;
}

.landing-v3-hero--split .landing-v3-hero__split {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.72fr);
    gap: clamp(72px, 8vw, 150px);
    align-items: center;
}

.landing-v3-hero__split-copy {
    max-width: 640px;
    padding-top: 10px;
}

.landing-v3-hero__brand {
    margin-bottom: 2.8rem;
}

.landing-v3-hero__brand .custom-logo-link img {
    width: clamp(240px, 25vw, 420px);
}

.landing-v3-hero__title {
    font-size: clamp(4.2rem, 7.2vw, 7rem);
    line-height: 0.84;
    letter-spacing: -0.05em;
}

.landing-v3-hero__subtitle {
    margin-top: 1.25rem;
    font-size: clamp(1.2rem, 1.6vw, 2rem);
    line-height: 1.08;
}

.landing-v3-hero__text {
    margin-top: 2rem;
    max-width: 500px;
}

.landing-v3-hero__text p {
    font-size: clamp(1rem, 1.06vw, 1.14rem);
    line-height: 1.9;
    color: rgba(17, 17, 17, 0.74);
}

.landing-v3-hero__cta {
    margin-top: 2.35rem;
    min-width: 120px;
    min-height: 40px;
}

/* Imagen hero más limpia y elegante */
.landing-v3-hero__split-media {
    justify-content: flex-end;
}

.landing-v3-hero__figure--split {
    width: min(100%, 440px);
    aspect-ratio: 0.84 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
    line-height: 0;
    box-shadow: 0 18px 60px rgba(0,0,0,0.06);
}

.landing-v3-hero__figure--split img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Elimina “franja gris” superior de todas las imágenes */
.landing-v3-hero__figure,
.landing-v3-hero__figure--split,
.landing-v3-think-intro__media figure,
.landing-v3-think-card__media,
.landing-v3-project-card__media,
.landing-v3-client-card,
.landing-v3-modal__image {
    line-height: 0;
    background: transparent;
}

.landing-v3-hero__figure img,
.landing-v3-think-intro__media img,
.landing-v3-think-card__media img,
.landing-v3-project-card__media img,
.landing-v3-client-card img,
.landing-v3-modal__image img {
    display: block;
    vertical-align: top;
}

/* Think Tank cards */
.landing-v3-think-card__media {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: transparent;
}

.landing-v3-think-card__media img {
    border-radius: 8px;
}

.landing-v3-think-card__title {
    margin-bottom: 0.2rem;
}

.landing-v3-think-card__toggle {
    display: inline-block;
    margin-bottom: 0.65rem;
}

.landing-v3-think-card__excerpt {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.58;
    color: rgba(17,17,17,0.78);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.8em;
}

.landing-v3-think-card__media {
    border-radius: 8px;
    overflow: hidden;
}

.landing-v3-think-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 0.82 / 1.3;
    object-fit: cover;
    border-radius: 8px;
}



/* Popups generales */
.landing-v3-modal__panel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 22px 80px rgba(0,0,0,0.22);
    padding: 0;
    background: #fff;
}

.landing-v3-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 1.8rem;
    line-height: 1;
}

.landing-v3-modal__body {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}

.landing-v3-modal__image {
    min-height: 100%;
    background: #e8e4df;
}

.landing-v3-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-v3-modal__content {
    padding: 42px 38px 34px;
}

.landing-v3-modal__title {
    margin: 0 0 1rem;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: clamp(2.2rem, 3vw, 3.4rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.landing-v3-modal__text p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(17,17,17,0.84);
    white-space: pre-line;
}

/* Popup servicios */
.landing-v3-modal--service .landing-v3-modal__body {
    display: block;
}

.landing-v3-modal--service .landing-v3-modal__content {
    padding: 42px 38px 34px;
}

/* Contacto inferior */
.landing-v3-contact__socials {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.landing-v3-contact__socials a {
    width: 42px;
    height: 42px;
    border: 1.2px solid rgba(255,255,255,0.76);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.28s ease, background 0.28s ease, opacity 0.28s ease;
}

.landing-v3-contact__socials a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
}

.landing-v3-contact__socials svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 1080px) {
    .landing-v3-hero--split .landing-v3-hero__split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .landing-v3-hero__split-media {
        justify-content: flex-start;
    }

    .landing-v3-hero__figure--split {
        width: 100%;
        max-width: 520px;
    }

    .landing-v3-modal__body {
        grid-template-columns: 1fr;
    }

    .landing-v3-modal__image img {
        aspect-ratio: 4 / 3;
        height: auto;
    }
}

@media (max-width: 640px) {
    .landing-v3-hero--split {
        padding: 42px 0 90px;
    }

    .landing-v3-hero__title {
        font-size: clamp(3.2rem, 14vw, 5.2rem);
        line-height: 0.9;
    }

    .landing-v3-modal__content,
    .landing-v3-modal--service .landing-v3-modal__content {
        padding: 34px 22px 24px;
    }
}

@media screen and (max-width:480px){
    .landing-v3-modal__image img { object-position:  center top; }
    #landing-services-v3 .landing-wrap { flex-direction: column; }
}


/* =========================================================
   V3 FINAL POLISH — OVERRIDES LIMPIOS
   ========================================================= */

body.balboa-home-v3 {
    background: #fff;
}

#balboa-landing-v3 {
    background: #fff;
}

/* ===== MODALES ===== */

.landing-v3-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.landing-v3-modal__panel {
    width: min(920px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.landing-v3-modal__body {
    min-height: 0;
    max-height: calc(100vh - 48px);
}

.landing-v3-modal__content {
    overflow-y: auto;
    max-height: calc(100vh - 48px);
    padding: 48px 42px 38px;
    scrollbar-width: thin;
}

.landing-v3-modal__content::-webkit-scrollbar {
    width: 8px;
}

.landing-v3-modal__content::-webkit-scrollbar-thumb {
    background: rgba(17,17,17,0.18);
    border-radius: 999px;
}

.landing-v3-modal__image {
    min-height: 100%;
    background: #f4f4f4;
}

.landing-v3-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* THINK modal: más proporcionado */
.landing-v3-modal--think .landing-v3-modal__panel {
    width: min(980px, calc(100vw - 48px));
}

.landing-v3-modal--think .landing-v3-modal__body {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    align-items: stretch;
}

/* SERVICES modal: más aire */
.landing-v3-modal--service .landing-v3-modal__panel {
    width: min(860px, calc(100vw - 48px));
}

.landing-v3-modal--service .landing-v3-modal__body {
    display: block;
}

.landing-v3-modal--service .landing-v3-modal__content {
    padding: 56px 54px 46px;
}

.landing-v3-modal--service .landing-v3-modal__title {
    margin-bottom: 1.2rem;
}

.landing-v3-modal--service .landing-v3-modal__text p {
    font-size: 1.06rem;
    line-height: 1.9;
    max-width: 640px;
}

/* botón cierre mejor colocado */
.landing-v3-modal__close {
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,0.88);
    border: 0;
    cursor: pointer;
}

@media (max-width: 840px) {
    .landing-v3-modal--think .landing-v3-modal__body {
        grid-template-columns: 1fr;
    }

    .landing-v3-modal__content,
    .landing-v3-modal--service .landing-v3-modal__content {
        padding: 34px 24px 24px;
    }
}



/* ===== CLIENTES ===== */
#landing-clients-v3 { height: auto; }

.landing-v3-clients {
    padding: 20px 0 120px;
    background: #fff;
}

.landing-v3-clients__head {
    margin-bottom: 42px;
}

.landing-v3-clients__head .landing-v3-title-display {
    font-style: inherit;
}

.landing-v3-clients__grid {
    max-width: 1680px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 34px;
}

.landing-v3-client-card {
    min-height: 170px;
    padding: 24px;
    background: #f3f3f3;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-v3-client-card img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.landing-v3-client-card span {
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: 1.38rem;
    line-height: 1.15;
    text-align: center;
}

@media (max-width: 1080px) {
    .landing-v3-clients__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .landing-v3-clients__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .landing-v3-clients__grid {
        grid-template-columns: 1fr;
    }
}


/* ===== CONTACTO FINAL ===== */

#landing-contact-v3 { height: auto; min-height: 600px; }

.landing-v3-contact {
    background: #050505;
    color: #fff;
    padding: 120px 0;
}

.landing-v3-contact__inner {
    grid-template-columns: minmax(260px, 0.72fr) minmax(340px, 0.95fr);
    gap: 90px;
    align-items: start;
}

.landing-v3-contact__left {
    display: flex;
    align-items: flex-start;
    padding-top: 24px;
}

.landing-v3-contact__right {
    justify-self: end;
    max-width: 460px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 550px;
}

.landing-v3-contact__brand {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 42px;
}

.landing-v3-contact__brand .custom-logo-link { min-width: 150px; }
.landing-v3-contact__brand .custom-logo-link img {
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.landing-v3-button--light {
    min-width: 120px;
    min-height: 40px;
    padding: 0 14px;
    margin: 30px 0;
    border-radius: 12px;
    border: 1.4px solid rgba(255,255,255,0.82);
    color: #fff;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    text-transform: none;
    background: transparent;
}

.landing-v3-button--light:hover {
    background: #fff;
    color: #000 !important;
}

.landing-v3-contact__data p {
    margin: 0 0 14px;
    font-size: clamp(1.16rem, 1.7vw, 1.8rem);
    line-height: 1.35;
}
.landing-v3-contact__data p.istiny { font-size:18px; line-height: 20px; margin-top: 35px; }

@media (max-width: 1080px) {
    .landing-v3-contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .landing-v3-contact__right {
        justify-self: start;
    }

    .landing-v3-contact__brand {
        justify-content: flex-start;
    }
}


 
/* ═══════════════ VIDEO EN HERO V3 ═══════════════ */
 
.landing-v3-hero__figure video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
 
.landing-v3-hero__figure--split video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
 
.landing-v3-hero__figure--editorial-left video,
.landing-v3-hero__figure--editorial-main video,
.landing-v3-hero__figure--editorial-right video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
 
.landing-v3-think-intro__media video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.9;
    object-fit: cover;
}
 
 
/* ═══════════════ MODAL BODY LOCK ═══════════════ */
 
html.landing-v3-modal-open,
body.landing-v3-modal-open {
    overflow: hidden;
}
 
 
/* ═══════════════ THINK CARD EXCERPT — PREMIUM ═══════════════ */
 
.landing-v3-think-card__excerpt {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(17, 17, 17, 0.62);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}




/* ═══════════════ MODAL CONTACTO ═══════════════ */

.landing-v3-modal--contact .landing-v3-modal__panel {
    width: min(540px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
}

.landing-v3-modal--contact .landing-v3-modal__body {
    display: block;
}

.landing-v3-modal--contact .landing-v3-modal__content {
    padding: 42px 40px 36px;
}

.landing-v3-modal--contact .landing-v3-modal__title {
    margin-bottom: 1.8rem;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    letter-spacing: -0.03em;
}

@media (max-width: 640px) {
    .landing-v3-modal--contact .landing-v3-modal__content {
        padding: 32px 22px 24px;
    }
}


/* ═══════════════ CF7 FORM — PREMIUM STYLING ═══════════════ */

.landing-v3-contact-form .wpcf7 {
    margin: 0;
}

.landing-v3-contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.landing-v3-contact-form .wpcf7-form p {
    margin: 0 0 16px;
}

.landing-v3-contact-form .wpcf7-form p:last-of-type {
    margin-bottom: 0;
}

.wpcf7-form .wpcf7-list-item .wpcf7-list-item-label { color:  black; }

/* CF7 labels: hide text, keep inputs visible */
.landing-v3-contact-form .wpcf7-form label {
    display: block;
    font-size: 0;
    line-height: 0;
    color: transparent;
    margin: 0;
    padding: 0;
}

/* Restore size for inputs inside labels */
.landing-v3-contact-form .wpcf7-form label input,
.landing-v3-contact-form .wpcf7-form label textarea,
.landing-v3-contact-form .wpcf7-form label select {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Inputs y textarea */
.landing-v3-contact-form .wpcf7-form input[type="text"],
.landing-v3-contact-form .wpcf7-form input[type="email"],
.landing-v3-contact-form .wpcf7-form input[type="tel"],
.landing-v3-contact-form .wpcf7-form input[type="url"],
.landing-v3-contact-form .wpcf7-form textarea,
.landing-v3-contact-form .wpcf7-form select {
    width: 100%;
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #111;
    outline: none;
    transition: border-color 0.28s ease;
    -webkit-appearance: none;
    appearance: none;
}

.landing-v3-contact-form .wpcf7-form input[type="text"]::placeholder,
.landing-v3-contact-form .wpcf7-form input[type="email"]::placeholder,
.landing-v3-contact-form .wpcf7-form input[type="tel"]::placeholder,
.landing-v3-contact-form .wpcf7-form textarea::placeholder {
    color: rgba(17, 17, 17, 0.36);
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
}

.landing-v3-contact-form .wpcf7-form input:focus,
.landing-v3-contact-form .wpcf7-form textarea:focus,
.landing-v3-contact-form .wpcf7-form select:focus {
    border-bottom-color: #111;
    background: transparent;
}

.landing-v3-contact-form .wpcf7-form textarea {
    min-height: 120px;
    max-height: 180px;
    resize: vertical;
}

/* Submit button */
.landing-v3-contact-form .wpcf7-form input[type="submit"],
.landing-v3-contact-form .wpcf7-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 52px;
    padding: 0 32px;
    border: 1.5px solid #111;
    border-radius: 10px;
    background: transparent;
    color: #111;
    font-family: inherit;
    font-size: 0.88rem;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
    margin-top: 8px;
    -webkit-appearance: none;
    appearance: none;
}

.landing-v3-contact-form .wpcf7-form input[type="submit"]:hover,
.landing-v3-contact-form .wpcf7-form .wpcf7-submit:hover {
    background: #111;
    color: #fff;
    transform: translateY(-1px);
}

/* Spinner */
.landing-v3-contact-form .wpcf7-spinner {
    margin-left: 10px;
}

/* Validation */
.landing-v3-contact-form .wpcf7-not-valid-tip {
    font-size: 0.78rem;
    color: #c0392b;
    margin-top: 4px;
    padding-left: 18px;
}

.landing-v3-contact-form .wpcf7-not-valid {
    border-bottom-color: #c0392b !important;
}

.landing-v3-contact-form .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 12px 18px;
    font-size: 0.86rem;
    line-height: 1.4;
    border-radius: 0;
    border-width: 1px;
    border-color: rgba(17, 17, 17, 0.12);
}

/* Acceptance checkbox */
.landing-v3-contact-form .wpcf7-acceptance {
    font-size: 0.82rem;
    color: rgba(17, 17, 17, 0.52);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0 0 2px;
}

.landing-v3-contact-form .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #111;
}

.landing-v3-contact-form .wpcf7-acceptance a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Select dropdown */
.landing-v3-contact-form .wpcf7-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ═══════════════ MODAL SOBRE BALBOA ═══════════════ */

.landing-v3-modal--about .landing-v3-modal__panel {
    width: min(860px, calc(100vw - 48px));
}

.landing-v3-modal--about .landing-v3-modal__body {
    display: block;
}

.landing-v3-modal--about .landing-v3-modal__content {
    padding: 56px 54px 46px;
}

.landing-v3-modal--about .landing-v3-modal__title {
    margin-bottom: 1.6rem;
    font-size: clamp(2.6rem, 4vw, 4rem);
}

.landing-v3-about-modal-text p {
    margin: 0 0 1.2rem;
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(17, 17, 17, 0.84);
}

.landing-v3-about-modal-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .landing-v3-modal--about .landing-v3-modal__content {
        padding: 38px 24px 28px;
    }
}


/* ═══════════════ HERO MINIMAL — CARTEL GIGANTE ═══════════════ */

.landing-v3-hero--minimal {
    padding: 0;
}

.landing-v3-hero__minimal {
    min-height: 100svh;
    padding: 2rem 0;
}

.landing-v3-hero__title--minimal {
    font-size: clamp(5.5rem, 11vw, 14rem);
    line-height: 0.85;
    letter-spacing: -0.02em !important;
}

.landing-v3-hero__minimal-brand {
    margin-top: 0;
    margin-bottom: clamp(2rem, 4vw, 5rem);
}

@media (max-width: 640px) {
    .landing-v3-hero__title--minimal {
        font-size: clamp(3.8rem, 17vw, 7rem);
        line-height: 0.88;
    }
}



/* ═══════════════ VIDEO EN PROJECT CARDS ═══════════════ */

.landing-v3-project-card__media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.6s ease;
}

.landing-v3-project-card:hover .landing-v3-project-card__media video {
    transform: scale(1.04);
}


/* ═══════════════ PROJECT MODAL — SCROLL TEXTO ═══════════════ */

.landing-v3-modal--project .landing-v3-modal__body {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    align-items: stretch;
    max-height: calc(100vh - 48px);
}

.landing-v3-modal--project .landing-v3-modal__image {
    position: relative;
    overflow: hidden;
}

.landing-v3-modal--project .landing-v3-modal__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-v3-modal--project .landing-v3-modal__content {
    overflow-y: auto;
    max-height: calc(100vh - 48px);
    scrollbar-width: thin;
}

.landing-v3-modal--project .landing-v3-modal__content::-webkit-scrollbar {
    width: 6px;
}

.landing-v3-modal--project .landing-v3-modal__content::-webkit-scrollbar-thumb {
    background: rgba(17, 17, 17, 0.14);
    border-radius: 999px;
}

@media (max-width: 840px) {
    .landing-v3-modal--project .landing-v3-modal__body {
        grid-template-columns: 1fr;
    }

    .landing-v3-modal--project .landing-v3-modal__image {
        position: relative;
    }

    .landing-v3-modal--project .landing-v3-modal__image img {
        position: relative;
        aspect-ratio: 4 / 3;
        height: auto;
    }
}


/* ═══════════════ FIX SCROLL CHROME MOBILE — PROJECT MODAL ═══════════════ */

.landing-v3-modal--project .landing-v3-modal__panel,
.landing-v3-modal--project .landing-v3-modal__body,
.landing-v3-modal--project .landing-v3-modal__content {
    min-height: 0;
}

.landing-v3-modal--project .landing-v3-modal__content {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

@media (max-width: 840px) {
    .landing-v3-modal--project .landing-v3-modal__panel {
        max-height: calc(100dvh - 24px);
    }

    .landing-v3-modal--project .landing-v3-modal__body {
        max-height: calc(100dvh + 50px);
        overflow: hidden;
    }

    .landing-v3-modal__text p { margin-bottom: 40px; }
    .landing-v3-modal--project .landing-v3-modal__content {
        /*max-height: none;*/
        flex: 1 1 auto;
    }
}
#footer-legal { background: #000; width:100%; height:auto;}
.copyr-foot { width: 100%; display: block; text-align: center; padding:  10px; }
.copyr-foot a { color: white; text-decoration: none; font-size: 12px; line-height: 14px;  }


/* ═══════════════ THINK SHEET ═══════════════ */

.landing-v3-sheet__lead {
    display: none;
}

.landing-v3-sheet {
    position: fixed;
    inset: 0;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.landing-v3-sheet.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.landing-v3-sheet__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.landing-v3-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: min(1560px, calc(100vw - 24px));
    max-height: 100dvh;
    background: #fff;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.16);
}

.landing-v3-sheet.is-open .landing-v3-sheet__panel {
    max-width: 1170px;
    top: 10px;
    transform: translateY(0);
}

.landing-v3-sheet__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(17,17,17,0.06);
    font-size: 1.8rem;
    cursor: pointer;
}

.landing-v3-sheet__content {
    overflow-y: auto;
    max-height: 98dvh;
    padding: 34px 34px 34px;
    -webkit-overflow-scrolling: touch;
}

.landing-v3-sheet__head {
    display: none;
    margin-bottom: 24px;
}

.landing-v3-sheet__title {
    margin: 0;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.95;
    color: #111;
}

.landing-v3-think-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 42px 15px;
}

.landing-v3-think-list__item {
    display: block;
    padding: 0;
    border: 0;
}

.landing-v3-think-list__media {
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 8px;
}

.landing-v3-think-list__media img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(100%);
    object-position: top;
}

.landing-v3-think-list__name {
    margin: 0 0 6px;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: clamp(1.25rem, 1.7vw, 2rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #111;
}

.landing-v3-think-list__more {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0 0 10px;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: 1rem;
    line-height: 1;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
    color: #111;
}
.landing-v3-think-list__more {
    margin-bottom: 12px;
}
.landing-v3-think-list__excerpt {
    max-width: 24ch;
}

.landing-v3-think-list__excerpt {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.58;
    color: rgba(17,17,17,0.78);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-v3-think-list {
    align-items: start;
}

.landing-v3-think-list__item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.landing-v3-think-list__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.landing-v3-think-list__brandblock {
    display: flex;
    align-items: baseline;
    justify-content: center;
    min-height: 100%;
    padding: 8px 6px 4px 6px;
    color: black;
}

.landing-v3-think-list__brandblock-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    color: #111;
    opacity: 0.92;
}

.landing-v3-think-list__brandblock-inner span {
    display: block;
    font-family: "PlayfairDisplay Regular", Georgia, serif;
    font-size: clamp(2.6rem, 10.4vw, 5.2rem);
    line-height: 0.86;
    letter-spacing: -0.05em;
}

.landing-v3-think-list__brandblock-inner span + span {
    margin-top: 0.15em;
}


.landing-v3-sheet__panel {
    z-index: 2;
}

.landing-v3-sheet__close {
    z-index: 20;
}
.landing-v3-sheet__overlay {
    z-index: 1;
}

.landing-v3-sheet__content {
    position: relative;
    z-index: 3;
}

@media (max-width: 1280px) {
    .landing-v3-think-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .landing-v3-think-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .landing-v3-think-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .landing-v3-think-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .landing-v3-think-list__brandblock {
        grid-column: 1 / -1;
        min-height: 120px;
        padding-top: 12px;
    }

    .landing-v3-think-list__brandblock-inner {
        align-items: center;
        text-align: center;
    }

    .landing-v3-think-list__brandblock-inner span {
        font-size: clamp(2.4rem, 9vw, 4.6rem);
    }
}

@media (max-width: 560px) {
    .landing-v3-think-list__brandblock {
        min-height: 90px;
        padding-bottom: 8px;
    }
}

/* ═══════════════ CURSOR CTA DESKTOP ═══════════════ */

.landing-v3-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.landing-v3-cursor.is-visible {
    opacity: 1;
}

.landing-v3-cursor__pill {
    transform: translate(-50%, -50%);
    min-width: 132px;
    height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

.landing-v3-cursor__pill span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
}

@media (pointer: coarse), (max-width: 1024px) {
    .landing-v3-cursor {
        display: none !important;
    }
}

@media (min-width: 1025px) {
    .landing-v3-think-mobile-trigger {
        display: none !important;
    }
}
@media (pointer: fine) and (min-width: 1025px) {
    .js-v3-project-open,
    .js-v3-project-open *,
    .js-v3-about-open,
    .js-v3-about-open *,
    .js-v3-think-panel-open,
    .js-v3-think-panel-open * {
        cursor: none !important;
    }
}


/* =========================================================
   THINK TANK / THEME SWITCH FIX FINAL
   ========================================================= */

/* El fondo general debe poder heredar el color del theme */
#balboa-landing-v3,
#balboa-landing-v3 .landing-v3-about,
#balboa-landing-v3 .landing-v3-projects,
#balboa-landing-v3 .landing-v3-services,
#balboa-landing-v3 .landing-v3-clients {
    background: transparent !important;
}

/* Contacto sigue negro siempre */
#balboa-landing-v3 .landing-v3-contact {
    background: #050505 !important;
}

/* Tema oscuro real mientras Think Tank está activo */
#balboa-landing-v3.theme-dark {
    background: #050505 !important;
    color: #fff !important;
}

/* Tema claro real */
#balboa-landing-v3.theme-light {
    background: #fff !important;
    color: #111 !important;
}

/* Think Tank: mismo tamaño siempre, solo cambia color */
#balboa-landing-v3 .landing-v3-think-intro .landing-v3-title-display,
#balboa-landing-v3 .landing-v3-projects .landing-v3-title-display {
    font-size: clamp(3.6rem, 7vw, 5rem) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.045em !important;
}

/* En oscuro: Think Tank blanco */
#balboa-landing-v3.theme-dark .landing-v3-think-intro,
#balboa-landing-v3.theme-dark .landing-v3-think-intro * {
    color: #fff !important;
}

#balboa-landing-v3.theme-dark .landing-v3-projects,
#balboa-landing-v3.theme-dark .landing-v3-services,
#balboa-landing-v3.theme-dark .landing-v3-clients {
    color: #fff;
}

#balboa-landing-v3.theme-dark .landing-v3-projects .landing-v3-title-display,
#balboa-landing-v3.theme-dark .landing-v3-services .landing-v3-title-display,
#balboa-landing-v3.theme-dark .landing-v3-clients .landing-v3-title-display {
    color: #fff;
}

/* Pero mantenemos overlays e imágenes como están */
#balboa-landing-v3.theme-dark .landing-v3-project-card__overlay,
#balboa-landing-v3.theme-dark .landing-v3-project-card__overlay * {
    color: inherit;
}

/* En claro todo vuelve a negro */
#balboa-landing-v3.theme-light .landing-v3-think-intro,
#balboa-landing-v3.theme-light .landing-v3-think-intro *,
#balboa-landing-v3.theme-light .landing-v3-projects,
#balboa-landing-v3.theme-light .landing-v3-projects *,
#balboa-landing-v3.theme-light .landing-v3-services,
#balboa-landing-v3.theme-light .landing-v3-services *,
#balboa-landing-v3.theme-light .landing-v3-clients,
#balboa-landing-v3.theme-light .landing-v3-clients * {
    color: #111;
}

/* Botón móvil Think Tank */
#balboa-landing-v3.theme-dark .landing-v3-think-intro .landing-v3-button--light {
    color: #fff !important;
    border-color: rgba(255,255,255,0.82) !important;
}

#balboa-landing-v3.theme-light .landing-v3-think-intro .landing-v3-button--light {
    color: #111 !important;
    border-color: rgba(17,17,17,0.82) !important;
}

/* =========================================================
   FIX PROYECTOS HOVER + TRANSICIÓN SUAVE THEME
   ========================================================= */

/* El nombre del proyecto debe seguir blanco siempre sobre overlay */
.landing-v3-project-card__name,
#balboa-landing-v3.theme-dark .landing-v3-project-card__name,
#balboa-landing-v3.theme-light .landing-v3-project-card__name,
#balboa-landing-v3.theme-dark .landing-v3-project-card:hover .landing-v3-project-card__name,
#balboa-landing-v3.theme-light .landing-v3-project-card:hover .landing-v3-project-card__name {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* La overlay también mantiene su color propio */
.landing-v3-project-card__overlay,
.landing-v3-project-card__overlay * {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Transición global más suave */
#balboa-landing-v3 {
    transition:
        background-color 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.55s ease;
}

#balboa-landing-v3 .landing-v3-think-intro,
#balboa-landing-v3 .landing-v3-projects,
#balboa-landing-v3 .landing-v3-services,
#balboa-landing-v3 .landing-v3-clients,
#balboa-landing-v3 .landing-v3-title-display,
#balboa-landing-v3 .landing-v3-think-intro__text,
#balboa-landing-v3 .landing-v3-button--light {
    transition:
        background-color 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.45s ease,
        border-color 0.45s ease;
}

/* El bloque Think Tank no debe pegar saltos visuales */
#landing-think-intro-v3 {
    position: relative;
    z-index: 2;
}

/* Mantener negro completo mientras theme-dark está activo */
#balboa-landing-v3.theme-dark,
#balboa-landing-v3.theme-dark .landing-v3-think-intro,
#balboa-landing-v3.theme-dark .landing-v3-projects {
    background-color: #050505 !important;
}

/* Mantener claro completo al volver */
#balboa-landing-v3.theme-light,
#balboa-landing-v3.theme-light .landing-v3-think-intro,
#balboa-landing-v3.theme-light .landing-v3-projects {
    background-color: #fff !important;
}


/* =========================================================
   SUAVIZADO EXTRA CAMBIO TEMA
   ========================================================= */

#balboa-landing-v3,
#balboa-landing-v3::before,
#balboa-landing-v3 .landing-v3-think-intro,
#balboa-landing-v3 .landing-v3-projects,
#balboa-landing-v3 .landing-v3-services,
#balboa-landing-v3 .landing-v3-clients {
    transition:
        background-color 0.95s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.45s ease,
        border-color 0.45s ease;
}

#balboa-landing-v3 .landing-v3-title-display,
#balboa-landing-v3 .landing-v3-think-intro__text,
#balboa-landing-v3 .landing-v3-button--light {
    transition:
        color 0.45s ease,
        border-color 0.45s ease,
        background-color 0.45s ease;
}


.landing-v3-project-card__overlay,
.landing-v3-project-card__overlay * ,
.landing-v3-project-card__name {
    color: #fff !important;
}

/* ═══════════════ HERO SCROLL INDICATOR ═══════════════ */

#exploremore {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 8;
    pointer-events: none;
    opacity: 0.82;
    animation: exploremore-fade-in 1.6s ease 0.5s both;
}

#exploremore .exploremore-arrow {
    display: block;
    overflow: visible;
}

#exploremore .exploremore-shadow {
    fill: rgba(17, 17, 17, 0.18);
    filter: blur(3px);
    transform-origin: center;
    animation: exploremore-shadow 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

#exploremore .exploremore-chevron path {
    stroke: #111;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

#exploremore .exploremore-chevron--top {
    animation: exploremore-chevron-top 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

#exploremore .exploremore-chevron--bottom {
    animation: exploremore-chevron-bottom 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes exploremore-fade-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
    to {
        opacity: 0.82;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes exploremore-chevron-top {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.42;
    }
    30% {
        transform: translateY(2px);
        opacity: 0.78;
    }
    55% {
        transform: translateY(5px);
        opacity: 1;
    }
}

@keyframes exploremore-chevron-bottom {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.72;
    }
    30% {
        transform: translateY(2px);
        opacity: 0.92;
    }
    55% {
        transform: translateY(5px);
        opacity: 1;
    }
}

@keyframes exploremore-shadow {
    0%, 100% {
        transform: scaleX(0.82);
        opacity: 0.12;
    }
    55% {
        transform: scaleX(1);
        opacity: 0.22;
    }
}

@media (max-width: 640px) {
    #exploremore {
        bottom: 16px;
        opacity: 0.72;
    }

    #exploremore .exploremore-arrow {
        width: 44px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #exploremore,
    #exploremore .exploremore-shadow,
    #exploremore .exploremore-chevron--top,
    #exploremore .exploremore-chevron--bottom {
        animation: none !important;
    }
}