@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;700;800&display=swap');

:root {
    --bg-main: #a1a1a1;
    --text-main: #000;
    --text-soft: #000;
    --accent: #f2f2f2;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Public Sans', sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: #a1a1a1;
    z-index: 0;
    pointer-events: none;
}
body.no-scroll {
    overflow: hidden;
}

.deco {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 2;
    width: 160px;
    max-width: 30vw;
    height: auto;
    pointer-events: none;
}
.deco_internal {
    position: fixed;
    top: 100px;
    left: 0px;
    z-index: 2;
    width: 160px;
    max-width: 30vw;
    height: auto;
    pointer-events: none;
}

.hero-slider {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #a1a1a1;
    opacity: 0;
    transform: scale(1.02);
    animation: slideShow 20s infinite ease-in-out;
    /** filter: brightness(0.55) contrast(1.1); **/
}

.hero-slider .slide-1 {
    background-image: url('../images/back_1.jpg');
    animation-delay: 0s;
}

.hero-slider .slide-2 {
    background-image: url('../images/back_2.jpg');
    animation-delay: 5s;
}

.hero-slider .slide-3 {
    background-image: url('../images/back_3.jpg');
    animation-delay: 10s;
}

.hero-slider .slide-4 {
    background-image: url('../images/back_4.jpg');
    animation-delay: 15s;
}

.page-shell {
    position: absolute;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 24px 24px 54px;
}

.content-card {
    padding: 12px;
}

h1 {
    margin: 0;
    font-size: 36px;
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 600;
    color: var(--text-main);
}

ul {
    margin-top: 20px;
    padding: 0px;
    list-style: none;
}

li, a {
    margin: 0;
    color: var(--text-soft);
    font-size: 1.03rem;
    list-style: none;
    line-height: 2;
    text-decoration: none;
}


@keyframes slideShow {
    2%, 23% {
        opacity: 1;
        transform: scale(1.02);
    }
    29%, 99% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 0;
    }
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: #000;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.menu-toggle__icon {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
    pointer-events: none;
}
.menu-backdrop,
.overlay-menu {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-18px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.menu-backdrop {
    background: rgba(0,0,0,0.76);
    z-index: 7;
}
.overlay-menu {
    z-index: 8;
    display: grid;
    place-items: center;
}
.overlay-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}
.overlay-menu li {
    margin: 1rem 0;
}
.overlay-menu a {
    color: #f8f8f8;
    font-size: clamp(1.4rem, 4vw, 2.6rem);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}
.overlay-menu a:hover,
.overlay-menu a:focus-visible {
    color: #e4e4e4;
}
body.menu-open .menu-backdrop,
body.menu-open .overlay-menu {
    pointer-events: auto;
    opacity: 1;
}
body.menu-open .overlay-menu {
    transform: translateY(0);
}
body.menu-open .page-shell,
body.menu-open .deco,
body.menu-open .hero-slider {
    filter: blur(1px) brightness(0.8);
}

.social_icons_cnt {
    float: left;
}
.social_icons {
    float: left;
}
.social_icons_item {
    float: left;
    padding-right: 6px;
}
.title_internal_page {
    float: left;
    position: absolute;
    top: 25px;
    left: 83px;
    z-index: 10;
}
.title_internal_page h1 {
    font-size: 36px;
}

.content_two_columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 40px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    align-items: start;
}

.content_two_columns > .column {
    width: 100%;
}

.column {
    display: block;
}

.column-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.coach-slider {
    width: min(100%, 520px);
    margin: 6px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coach-slider__viewport {
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    touch-action: pan-y;
}

.coach-slider__track {
    display: flex;
    transition: transform 0.45s ease;
}

.coach-slider__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.coach-slider__slide img {
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: contain;
    display: block;
    margin: 0;
    background: #000;
}

.coach-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.coach-slider__button {
    border: 0;
    background: #111;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.coach-slider__button:hover,
.coach-slider__button:focus-visible {
    background: #d6006e;
}

.coach-slider__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.coach-slider__dot {
    border: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    padding: 0;
    cursor: pointer;
}

.coach-slider__dot.is-active {
    background: #d6006e;
    transform: scale(1.15);
}

.secondary-section .column-image img:last-child {
    margin-bottom: 0;
}

.column-text p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-main);
    margin: 0;
}

.secondary-section .column-text h3 {
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.content_internal_page_top {
    float: left;
    position: relative;
    width: 100%;
}
.content_internal_page_bottom {
    float: left;
    position: relative;
    width: 100%;
    background: #e3e3e3;
}
.content_internal_page_footer {
    float: left;
    position: relative;
    width: 100%;
    background: #161615;
    color: #f9f5ea;
    text-align: center;
    padding: 30px 0px 50px 0px;
    font-size: 14px;
}
.content_internal_page_footer a{
    color: #e6bb4b;
    text-decoration: underline;
}
.deco_internal_2 {
    margin-top: -250px;
    max-width: 180px;
}

.portada_cv {
    position: relative;
    width: 100%;
    height: 1000px;
    background-image: url(../images/back_1.jpg);
    background-position: top right;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}
.portada_fotos {
    position: relative;
    width: 100%;
    height: 1000px;
    background-image: url(../images/back_2.jpg);
    background-position: top right;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}
.portada_coach {
    position: relative;
    width: 100%;
    height: 1000px;
    background-image: url(../images/back_3.jpg);
    background-position: top right;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}.video_reel_cnt {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.video_reel_cnt .video-reel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
}
.video_reel_cnt iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}.portada_podcast {
    position: relative;
    width: 100%;
    height: 1000px;
    background-image: url(../images/back_4.jpg);
    background-position: top right;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}
.portada_video {
    position: relative;
    width: 100%;
    height: 1000px;
    background-image: url(../images/back_5.jpg);
    background-position: top right;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}
.section_title {
    float: left;
    width: 100%;
    font-size: 50px;
    padding: 20px;
    margin-top: 28px;
    text-align: center;
}
.section_subtitle {
    float: left;
    width: 100%;
    font-size: 30px;
    padding: 30px;
    margin-top: 28px;
    text-align: center;
    font-weight: bold;
}

.button_download {
    margin-top: 30px;
}

.button_download a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.button_download a:hover,
.button_download a:focus-visible {
    background: #d6006e;
    color: #fff;
    transform: translateY(-1px);
}

    .works-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
        padding: 20px 40px 60px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .work-card {
        background: #000000;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .work-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
    }

    .work-card img {
        width: 100%;
        height: auto;
        display: block;
    }

    .work-card-content {
        padding: 18px;
    }

    .work-card-title {
        margin: 0 0 10px;
        font-size: 1rem;
        font-weight: 700;
        color: #FFFFFF;
    }

    .work-card-content li {
        color: #FFFFFF;
    }

    .work-card-content a {
        color: #FFFFFF;
    }

    .work-card-description {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
        color: #FFFFFF;
    }

    .work-card-link {
        display: block;
        color: inherit;
        text-decoration: none;
    }

    .lightbox {
        position: fixed;
        inset: 0;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 24px;
        background: rgba(0, 0, 0, 0.92);
        z-index: 9999;
        overflow: auto;
    }

    .lightbox.open {
        display: flex;
    }

    .lightbox-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 1100px;
    }

    .lightbox-image {
        width: 100%;
        max-width: 100%;
        max-height: calc(85vh - 140px);
        object-fit: contain;
        border-radius: 20px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    }

    .lightbox-caption {
        margin: 18px 0 0;
        color: #f0f0f0;
        max-width: 900px;
        text-align: center;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .lightbox-close,
    .lightbox-nav {
        position: absolute;
        border: none;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        width: 44px;
        height: 44px;
        border-radius: 999px;
        font-size: 1.5rem;
        cursor: pointer;
        display: grid;
        place-items: center;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
    }

    .lightbox-nav {
        top: 50%;
        transform: translateY(-50%);
        width: 46px;
        height: 46px;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }

    @media (max-width: 768px) {
        .coach-slider {
            width: 100%;
            max-width: 100%;
            margin: 0;
        }

        .coach-slider__viewport {
            border-radius: 14px;
        }

        .coach-slider__slide img {
            max-height: none;
            min-height: 280px;
            object-fit: cover;
        }

        .coach-slider__controls {
            gap: 8px;
        }

        .coach-slider__button {
            width: 34px;
            height: 34px;
        }

        .lightbox-close,
        .lightbox-nav {
            width: 36px;
            height: 36px;
            font-size: 1.2rem;
        }

        .lightbox-prev {
            left: 12px;
        }

        .lightbox-next {
            right: 12px;
        }
    }

    @media (max-width: 1024px) {
        .works-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 768px) {
        .works-grid {
            grid-template-columns: 1fr;
            padding: 20px;
        }

        .section_title {
            font-size: 40px;
        }

        .content_two_columns {
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 20px;
        }

        .portada_cv, .portada_fotos, .portada_coach, .portada_podcast, .portada_video {
            height: 51vh;
            min-height: 56vh;
            top: 73px;
        }

        .title_internal_page h1 {
            font-size: 26px;
        }

        .content_internal_page_footer {
            font-size: 12px;
        }
        .content_internal_page_footer a{
            font-size: 12px;
        }
        .secondary-section img {
            max-width: 80%;
        }
        .h1_index {
            max-width: 100px;
        }
    }

    li, a {
        font-size: 16px;
        line-height: 1.4;
    }

    .page-shell {
        padding: 8px;
    }
    
/* Contenedor principal: le da un margen y limpia el flujo */
.video_reel_cnt {
    width: 100%;
    margin: 0 auto;
}

/* El truco de la proporción 16:9 */
.video-reel-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Esto calcula la proporción 16:9 exacta */
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

/* Forzamos al iframe a ocupar todo el espacio adaptativo */
.video-reel-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

