/* =====================================================
   KIARA GUTIERREZ — PORTFOLIO
===================================================== */

:root {

    --cream: #f7f1ec;
    --cream-dark: #eee3db;
    --white: #fffdfb;

    --nude: #d9c1b6;
    --nude-light: #eadbd3;

    --pink: #d8b7b6;
    --pink-light: #ead2d0;

    --brown: #403530;
    --brown-light: #756862;

    --line: rgba(64,53,48,.16);

    --serif: "Cormorant Garamond", serif;
    --sans: "DM Sans", sans-serif;
    --display: "Italiana", serif;

    --ease: cubic-bezier(.22,.61,.36,1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background: var(--cream);
    color: var(--brown);

    font-family: var(--sans);

    overflow-x: hidden;
}


body.loading {
    overflow: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font-family: inherit;
}


::selection {
    background: var(--pink);
    color: white;
}


/* =====================================================
   PRELOADER
===================================================== */

.preloader {

    position: fixed;
    inset: 0;

    z-index: 9999;

    background: var(--cream);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    transition:
        opacity 1s var(--ease),
        visibility 1s var(--ease);
}


.preloader.hide {

    opacity: 0;
    visibility: hidden;

}


.preloader-name {

    display: flex;
    flex-direction: column;

    align-items: center;

    font-family: var(--display);

    font-size: 55px;

    letter-spacing: 5px;

    line-height: .8;

    overflow: hidden;

}


.preloader-name span {

    animation:
        loaderText
        1.1s
        var(--ease)
        forwards;

}


.preloader-name span:nth-child(2) {

    animation-delay: .1s;

    font-family: var(--sans);

    font-size: 9px;

    letter-spacing: 7px;

    margin-top: 15px;

}


@keyframes loaderText {

    from {

        transform: translateY(100%);
        opacity: 0;

    }

    to {

        transform: translateY(0);
        opacity: 1;

    }

}


.loader-line {

    width: 180px;
    height: 1px;

    background: var(--line);

    margin-top: 45px;

    overflow: hidden;

}


.loader-line div {

    width: 0;
    height: 100%;

    background: var(--brown);

    animation:
        loader
        1.8s
        ease
        forwards;

}


@keyframes loader {

    to {
        width: 100%;
    }

}


.loader-text {

    margin-top: 15px;

    font-size: 8px;

    letter-spacing: 4px;

    color: var(--brown-light);

}


/* =====================================================
   CURSOR
===================================================== */

.cursor,
.cursor-follow {

    position: fixed;

    pointer-events: none;

    border-radius: 50%;

    z-index: 10000;

}


.cursor {

    width: 7px;
    height: 7px;

    background: var(--brown);

    transform: translate(-50%,-50%);

}


.cursor-follow {

    width: 35px;
    height: 35px;

    border: 1px solid rgba(64,53,48,.5);

    transform: translate(-50%,-50%);

    transition:
        width .3s ease,
        height .3s ease,
        background .3s ease;

}


.cursor.hover {

    width: 12px;
    height: 12px;

}


.cursor-follow.hover {

    width: 60px;
    height: 60px;

    background:
        rgba(216,183,182,.15);

}


/* =====================================================
   HEADER
===================================================== */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    padding: 0 6vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 1000;

    background:
        rgba(247,241,236,.75);

    backdrop-filter: blur(16px);

    border-bottom:
        1px solid
        rgba(64,53,48,.07);

    transition:
        background .4s ease;

}


.header.scrolled {

    background:
        rgba(247,241,236,.96);

}


.logo-mark,
.footer-logo-mark {

    font-family: var(--display);

    font-size: 34px;

    line-height: 1;

    letter-spacing: -2px;

    transition:
        transform .4s var(--ease);

}


.logo-mark:hover,
.footer-logo-mark:hover {

    transform:
        rotate(-5deg)
        scale(1.08);

}


.nav {

    display: flex;

    gap: 38px;

}


.nav a {

    position: relative;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 2px;

    transition:
        color .3s ease;

}


.nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--pink);

    transition:
        width .4s var(--ease);

}


.nav a:hover {
    color: #a47e7c;
}


.nav a:hover::after {
    width: 100%;
}


.menu-btn {

    display: none;

    width: 42px;
    height: 42px;

    border:
        1px solid
        var(--line);

    background: transparent;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 6px;

    cursor: pointer;

}


.menu-btn span {

    width: 17px;
    height: 1px;

    background: var(--brown);

}


.mobile-menu {

    position: fixed;

    inset:
        90px
        0
        auto
        0;

    padding:
        35px
        7vw
        45px;

    background: var(--cream);

    z-index: 999;

    transform:
        translateY(-110%);

    transition:
        transform .6s var(--ease);

    border-bottom:
        1px solid
        var(--line);

    display: flex;

    flex-direction: column;

    gap: 25px;

}


.mobile-menu.open {

    transform:
        translateY(0);

}


.mobile-menu-number {

    font-size: 10px;

    letter-spacing: 3px;

    color: var(--brown-light);

    margin-bottom: 10px;

}


.mobile-menu a {

    font-family: var(--serif);

    font-size: 38px;

}


/* =====================================================
   GENERAL
===================================================== */

.section {

    position: relative;

    padding:
        160px
        8vw;

}


.section-number {

    position: absolute;

    top: 70px;

    left: 8vw;

    font-size: 10px;

    letter-spacing: 3px;

    color: var(--brown-light);

}


.eyebrow {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 4px;

    color: var(--brown-light);

}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 80px;

}


.section-heading h2,
.about-left h2 {

    margin-top: 20px;

    font-family: var(--serif);

    font-size:
        clamp(
            48px,
            5.2vw,
            72px
        );

    line-height: .88;

    font-weight: 300;

}


.section-heading h2 em,
.about-left h2 em {

    display: block;

    color: #b38d8b;

    font-style: italic;

}


.heading-description {

    max-width: 210px;

    font-size: 14px;

    line-height: 1.8;

    color: var(--brown-light);

}


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

.hero {

    position: relative;

    min-height: 100vh;

    padding:
        150px
        8vw
        100px;

    display: flex;

    align-items: center;

    overflow: hidden;

}


.hero-content {

    position: relative;

    z-index: 3;

}


.hero-eyebrow {

    opacity: 0;

    animation:
        heroFade
        1s
        1.5s
        var(--ease)
        forwards;

}


@keyframes heroFade {

    to {
        opacity: 1;
    }

}


.hero-title {

    margin-top: 35px;

    overflow: visible;

}


.title-line {

    display: block;

    font-family: var(--serif);

    font-weight: 300;

    font-size:
        clamp(
            72px,
            9.3vw,
            125px
        );

    line-height: .92;

    letter-spacing: -3px;

    opacity: 0;

    transform:
        translateY(100%);

    animation:
        titleReveal
        1.2s
        var(--ease)
        forwards;

    padding-bottom: .08em;

}


.title-one {

    animation-delay: 1.1s;

}


.title-two {

    margin-left: 10vw;

    font-family: var(--display);

    color: #b38d8b;

    font-style: italic;

    animation-delay: 1.25s;

}


@keyframes titleReveal {

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.hero-description {

    width: 300px;

    margin-left: 11vw;

    margin-top: 55px;

    font-size: 12px;

    line-height: 2;

    color: var(--brown-light);

    opacity: 0;

    animation:
        heroFade
        1s
        1.55s
        var(--ease)
        forwards;

}


.hero-button {

    display: inline-flex;

    align-items: center;

    gap: 35px;

    margin-left: 11vw;

    margin-top: 35px;

    padding-bottom: 10px;

    border-bottom:
        1px solid
        var(--brown);

    font-size: 10px;

    letter-spacing: 3px;

    opacity: 0;

    animation:
        heroFade
        1s
        1.7s
        var(--ease)
        forwards;

}


.hero-button i {

    font-style: normal;

    font-size: 17px;

}


.hero-number {

    position: absolute;

    top: 135px;

    right: 8vw;

    font-family: var(--serif);

    font-size: 18px;

}


.hero-side {

    position: absolute;

    right: 20px;

    bottom: 180px;

    transform:
        rotate(90deg);

    transform-origin: right;

    font-size: 8px;

    letter-spacing: 4px;

    color: var(--brown-light);

}


.hero-scroll {

    position: absolute;

    bottom: 50px;

    left: 8vw;

    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 9px;

    letter-spacing: 3px;

}


.scroll-line {

    width: 55px;

    height: 1px;

    background: var(--brown);

}


.hero-shape {

    position: absolute;

    z-index: 1;

    transition:
        transform 1.2s
        var(--ease);

}


.shape-one {

    width: 46vw;

    height: 70vh;

    right: 5vw;

    bottom: 0;

    background-image:
        linear-gradient(
            135deg,
            rgba(234,219,211,.45),
            rgba(216,184,181,.45)
        ),
        url("FotosKiara/Fotoprincipal.jpeg");

    background-size: cover;

    background-position:
        center 35%;

}


.shape-one::before {

    content: "";

    position: absolute;

    inset:
        8%
        12%;

    border:
        1px solid
        rgba(255,255,255,.6);

}


.shape-two {

    width: 160px;

    height: 160px;

    right: 12vw;

    top: 22%;

    border-radius: 50%;

    background:
        rgba(255,255,255,.45);

}


/* =====================================================
   MARQUEE
===================================================== */

.marquee-section {

    overflow: hidden;

    padding: 30px 0;

    background:
        var(--pink-light);

    border-top:
        1px solid
        var(--line);

    border-bottom:
        1px solid
        var(--line);

}


.marquee {

    display: flex;

    width: max-content;

    align-items: center;

    animation:
        marquee
        25s
        linear
        infinite;

}


.marquee span {

    font-family: var(--serif);

    font-size: 36px;

    font-weight: 300;

    padding:
        0 35px;

}


@keyframes marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =====================================================
   SOBRE MÍ
===================================================== */

.about {

    min-height: 90vh;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 10vw;

    background:
        var(--white);

}


.about-left {

    padding-top: 30px;

}


.about-right {

    max-width: 600px;

    padding-top: 30px;

    position: relative;

}


.about-big {

    max-width: 720px;

    margin-bottom: 2.5rem;

    font-family: var(--serif);

    font-size:
        clamp(
            2rem,
            3.3vw,
            4rem
        );

    line-height: 1.05;

}


.about-big em {

    color: #b38d8b;

    font-style: italic;

}


.about-right > p:not(.about-big) {

    max-width: 600px;

    margin-bottom: 1.2rem;

    font-size: .95rem;

    line-height: 1.8;

}


.about-photo {

    width: min(
        430px,
        100%
    );

    margin-top: 4rem;

    overflow: hidden;

}


.about-photo img {

    display: block;

    width: 100%;

    height: auto;

    transition:
        transform 1.2s
        var(--ease);

}


.about-photo:hover img {

    transform:
        scale(1.04);

}


.about-signature {

    position: absolute;

    right: 0;

    bottom: 0;

    font-family: var(--display);

    font-size: 8rem;

    opacity: .12;

}


/* =====================================================
   DISCIPLINES
===================================================== */

.disciplines {

    background:
        var(--cream);

}


.discipline-list {

    border-top:
        1px solid
        var(--line);

}


.discipline {

    position: relative;

    min-height: 145px;

    display: grid;

    grid-template-columns:
        70px
        1.2fr
        1fr
        50px;

    align-items: center;

    gap: 30px;

    padding:
        25px 0;

    border-bottom:
        1px solid
        var(--line);

    cursor: pointer;

    transition:
        padding .6s
        var(--ease);

}


.discipline:hover {

    padding-left: 20px;

}


.discipline-number {

    font-size: 10px;

    letter-spacing: 2px;

    color: var(--brown-light);

}


.discipline-name h3 {

    font-family: var(--serif);

    font-size:
        clamp(
            32px,
            4vw,
            55px
        );

    font-weight: 300;

    line-height: .95;

}


.discipline-name h3 em {

    color: #b38d8b;

    font-style: italic;

}


.discipline-description span {

    display: block;

    margin-bottom: 8px;

    font-size: 8px;

    letter-spacing: 2px;

    color: var(--brown-light);

}


.discipline-description p {

    max-width: 250px;

    font-size: 11px;

    line-height: 1.7;

    color: var(--brown-light);

}


.discipline-arrow {

    font-size: 25px;

    transition:
        transform .5s
        var(--ease);

}


.discipline:hover .discipline-arrow {

    transform:
        translate(5px,-5px);

}


.discipline-hover {

    position: absolute;

    width: 170px;

    height: 170px;

    border-radius: 50%;

    background:
        var(--pink-light);

    display: flex;

    align-items: center;

    justify-content: center;

    pointer-events: none;

    opacity: 0;

    transform:
        scale(.7);

    transition:
        opacity .3s ease,
        transform .5s var(--ease);

    z-index: 2;

}


.discipline:hover .discipline-hover {

    opacity: .95;

    transform:
        scale(1);

}


.discipline-hover span {

    font-size: 8px;

    letter-spacing: 3px;

}


/* =====================================================
   DISCIPLINE MODAL
===================================================== */

.discipline-modal {

    position: fixed;

    inset: 0;

    z-index: 2500;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .5s ease,
        visibility .5s ease;

}


.discipline-modal.open {

    opacity: 1;

    visibility: visible;

}


.modal-background {

    position: absolute;

    inset: 0;

    background:
        rgba(64,53,48,.45);

    backdrop-filter:
        blur(8px);

}


.modal-content {

    position: relative;

    z-index: 2;

    width: min(
        850px,
        100%
    );

    background:
        var(--cream);

    padding:
        70px 7vw;

    transform:
        translateY(40px)
        scale(.97);

    transition:
        transform .6s
        var(--ease);

}


.discipline-modal.open
.modal-content {

    transform:
        translateY(0)
        scale(1);

}


.modal-close {

    position: absolute;

    top: 25px;

    right: 30px;

    width: 40px;

    height: 40px;

    border:
        1px solid
        var(--line);

    background: transparent;

    font-size: 25px;

    cursor: pointer;

}


.modal-category {

    font-size: 9px;

    letter-spacing: 3px;

    color: var(--brown-light);

}


.modal-content h2 {

    margin-top: 15px;

    font-family: var(--serif);

    font-size:
        clamp(
            42px,
            6vw,
            72px
        );

    font-weight: 300;

    line-height: .9;

}


.modal-content h2 em {

    color: #b38d8b;

    font-style: italic;

}


.modal-line {

    width: 100%;

    height: 1px;

    background:
        var(--line);

    margin:
        40px 0;

}


.modal-details {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 30px;

}


.modal-details span {

    font-size: 8px;

    letter-spacing: 2px;

    color: var(--brown-light);

}


.modal-details p {

    margin-top: 8px;

    font-size: 12px;

    line-height: 1.6;

}


.modal-description {

    max-width: 650px;

    margin-top: 40px;

    font-size: 13px;

    line-height: 2;

    color: var(--brown-light);

}


/* =====================================================
   STATEMENT
===================================================== */

.statement {

    min-height: 80vh;

    padding:
        130px 8vw;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    background:
        var(--cream-dark);

}


.statement-small {

    font-size: 9px;

    letter-spacing: 4px;

    color: var(--brown-light);

    margin-bottom: 35px;

}


.statement-title {

    max-width: 1000px;

    font-family: var(--serif);

    font-size:
        clamp(
            55px,
            8vw,
            115px
        );

    font-weight: 300;

    line-height: .85;

}


.statement-title span {

    display: block;

    color: #b38d8b;

    font-style: italic;

}


.statement-symbol {

    margin-top: 50px;

    font-size: 20px;

    animation:
        rotateSymbol
        8s
        linear
        infinite;

}


@keyframes rotateSymbol {

    to {
        transform: rotate(360deg);
    }

}


/* =====================================================
   PORTFOLIO
===================================================== */

.portfolio {

    background:
        var(--white);

}


.portfolio-filters {

    display: flex;

    gap: 30px;

    margin-bottom: 55px;

}


.filter-btn {

    border: none;

    background: transparent;

    padding:
        0 0 10px;

    border-bottom:
        1px solid
        transparent;

    font-size: 10px;

    letter-spacing: 2px;

    color: var(--brown-light);

    cursor: pointer;

    transition:
        color .3s ease,
        border-color .3s ease;

}


.filter-btn:hover,
.filter-btn.active {

    color: var(--brown);

    border-bottom-color:
        var(--pink);

}


.portfolio-featured {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 25px;

}


.featured-card {

    min-width: 0;

}


.featured-image-wrap {

    position: relative;

    height: 600px;

    overflow: hidden;

    background:
        var(--cream-dark);

    cursor: pointer;

}


/* Las tres imágenes destacadas mantienen exactamente el mismo nivel. */
.featured-card:first-child .featured-image-wrap {
    height: 600px;
}


.featured-slideshow {

    position: absolute;

    inset: 0;

    overflow: hidden;

}


.featured-slide {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    opacity: 0;

    transform:
        scale(1.04);

    transition:
        opacity 1.2s
        var(--ease),
        transform 1.6s
        var(--ease);

}


.featured-slide.active {

    opacity: 1;

    transform:
        scale(1);

}


.featured-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(64,53,48,.35),
            transparent 45%
        );

    pointer-events: none;

}


.featured-top {

    position: absolute;

    top: 22px;

    left: 22px;

    right: 22px;

    display: flex;

    justify-content: space-between;

    color: white;

    font-size: 8px;

    letter-spacing: 2px;

}


.view-more {

    position: absolute;

    right: 25px;

    bottom: 25px;

    border:
        1px solid
        rgba(255,255,255,.65);

    background:
        rgba(255,255,255,.12);

    color: white;

    padding:
        12px 18px;

    font-size: 8px;

    letter-spacing: 2px;

    cursor: pointer;

    backdrop-filter:
        blur(8px);

    transition:
        background .4s ease,
        color .4s ease;

}


.view-more:hover {

    background:
        white;

    color:
        var(--brown);

}


.featured-caption {

    padding-top: 18px;

}


.featured-caption > span {

    font-size: .6rem;

    letter-spacing: .2em;

}


.featured-caption h3 {

    margin-top: .5rem;

    font-family: var(--serif);

    font-size: 2rem;

    font-weight: 300;

}


.featured-caption h3 em {

    font-style: italic;

    color: #b38d8b;

}


@media (max-width: 900px) {

    .portfolio-featured {

        grid-template-columns:
            1fr;

    }


    .featured-image-wrap,
    .featured-card:first-child
    .featured-image-wrap {

        height: 80vh;

        min-height: 500px;

    }

}


/* =====================================================
   FULL GALLERY
===================================================== */

.portfolio-gallery-wrap {

    display: none;

    margin-top: 5rem;

}


.portfolio-gallery-wrap.active {

    display: block;

    animation:
        galleryReveal
        .8s
        var(--ease)
        both;

}


@keyframes galleryReveal {

    from {

        opacity: 0;

        transform:
            translateY(30px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.gallery-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 2rem;

    padding-bottom: 1.5rem;

    border-bottom:
        1px solid
        rgba(64,53,48,.2);

}


.gallery-category {

    font-size: .62rem;

    letter-spacing: .2em;

}


.gallery-heading h3 {

    margin-top: .5rem;

    font-family: var(--serif);

    font-size:
        clamp(
            2rem,
            4vw,
            4rem
        );

    font-weight: 300;

}


.gallery-heading p {

    font-size: .65rem;

    letter-spacing: .15em;

}


/* =====================================================
   MASONRY GALLERY
===================================================== */

.portfolio-gallery {

    column-count: 3;

    column-gap: 1.2rem;

}


.gallery-item {

    position: relative;

    display: block;

    width: 100%;

    margin:
        0 0 1.2rem;

    padding: 0;

    break-inside: avoid;

    overflow: hidden;

    background:
        var(--cream-dark);

    cursor: pointer;

    border: none;

}


.gallery-item img {

    display: block;

    width: 100%;

    height: auto;

    object-fit: initial;

    transition:
        transform 1s var(--ease),
        filter .8s ease;

}


.gallery-item::after {

    content: "VIEW";

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(64,53,48,.25);

    color: white;

    font-size: .65rem;

    letter-spacing: .3em;

    opacity: 0;

    transition:
        opacity .5s ease;

}


.gallery-item:hover::after {

    opacity: 1;

}


.gallery-item:hover img {

    transform:
        scale(1.025);

    filter:
        brightness(.85);

}


@media (max-width: 900px) {

    .portfolio-gallery {

        column-count: 2;

    }

}


@media (max-width: 550px) {

    .portfolio-gallery {

        column-count: 1;

    }

}


/* =====================================================
   DANZA — SUBSECCIONES
===================================================== */

.dance-galleries {

    display: none;

}


.dance-galleries.active {

    display: block;

    animation:
        galleryReveal
        .8s
        var(--ease)
        both;

}


.dance-category-block
+ .dance-category-block {

    margin-top: 6rem;

}


.dance-category-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 2rem;

    margin-bottom: 2.5rem;

    padding-bottom: 1.5rem;

    border-bottom:
        1px solid
        rgba(64,53,48,.2);

}


.dance-category-heading span {

    font-size: .62rem;

    letter-spacing: .2em;

}


.dance-category-heading h3 {

    margin-top: .5rem;

    font-family: var(--serif);

    font-size:
        clamp(
            2.2rem,
            4vw,
            4.2rem
        );

    font-weight: 300;

}


.dance-category-heading h3 em {

    color: #b38d8b;

    font-style: italic;

}


.dance-subgroup
+ .dance-subgroup {

    margin-top: 3.5rem;

}


.dance-subgroup-title {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 1.3rem;

}


.dance-subgroup-title h4 {

    font-family: var(--serif);

    font-size: 1.7rem;

    font-weight: 300;

}


.dance-subgroup-title h4 em {

    color: #b38d8b;

    font-style: italic;

}


.dance-subgroup-title span {

    font-size: .6rem;

    letter-spacing: .16em;

    color: var(--brown-light);

}


.dance-gallery {

    column-count: 3;

    column-gap: 1.2rem;

}


.dance-gallery .gallery-item {

    margin-bottom: 1.2rem;

}


.dance-video-block {

    margin-top: 3.5rem;

}


.dance-video {

    display: block;

    width: min(
        900px,
        100%
    );

    max-height: 70vh;

    margin-top: 1.3rem;

    background:
        var(--cream-dark);

}


@media (max-width: 900px) {

    .dance-gallery {

        column-count: 2;

    }

}


@media (max-width: 550px) {

    .dance-category-heading {

        align-items: flex-start;

        flex-direction: column;

    }


    .dance-subgroup-title {

        align-items: flex-start;

        gap: 10px;

        flex-direction: column;

    }


    .dance-gallery {

        column-count: 1;

    }

}


/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {

    position: fixed;

    inset: 0;

    z-index: 3000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        4rem 7vw;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .5s ease,
        visibility .5s ease;

}


.lightbox.open {

    opacity: 1;

    visibility: visible;

}


.lightbox-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(35,29,26,.94);

    backdrop-filter:
        blur(12px);

}


.lightbox-content {

    position: relative;

    z-index: 2;

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    pointer-events: none;

}


.lightbox-image-wrap {

    width: 100%;

    height:
        calc(
            100vh - 150px
        );

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


.lightbox-image-wrap img {

    max-width: 88vw;

    max-height:
        calc(
            100vh - 170px
        );

    width: auto;

    height: auto;

    object-fit: contain;

    opacity: 0;

    transform:
        scale(.94)
        translateX(25px);

    transition:
        opacity .55s var(--ease),
        transform .65s var(--ease);

}


.lightbox-image-wrap img.show {

    opacity: 1;

    transform:
        scale(1)
        translateX(0);

}


.lightbox-info {

    position: absolute;

    left: 0;

    bottom: 5px;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: white;

    pointer-events: none;

}


.lightbox-info span {

    font-size: 8px;

    letter-spacing: 3px;

    opacity: .7;

}


.lightbox-info h3 {

    font-family: var(--serif);

    font-size: 22px;

    font-weight: 300;

}


.lightbox-counter {

    font-size: 9px;

    letter-spacing: 2px;

    opacity: .7;

}


.lightbox-close,
.lightbox-prev,
.lightbox-next {

    position: absolute;

    z-index: 5;

    border: none;

    background: transparent;

    color: white;

    cursor: pointer;

}


.lightbox-close {

    top: 30px;

    right: 35px;

    font-size: 35px;

    font-weight: 300;

}


.lightbox-prev,
.lightbox-next {

    top: 50%;

    transform:
        translateY(-50%);

    width: 55px;

    height: 55px;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 50%;

    font-size: 18px;

    transition:
        background .3s ease,
        color .3s ease;

}


.lightbox-prev {

    left: 25px;

}


.lightbox-next {

    right: 25px;

}


.lightbox-close:hover {

    transform:
        rotate(90deg);

}


.lightbox-prev:hover,
.lightbox-next:hover {

    background: white;

    color:
        var(--brown);

}


@media (max-width: 700px) {

    .lightbox {

        padding:
            3rem 1rem;

    }


    .lightbox-content {

        justify-content:
            center;

    }


    .lightbox-image-wrap {

        height:
            calc(
                100vh - 120px
            );

    }


    .lightbox-image-wrap img {

        max-width: 92vw;

        max-height:
            calc(
                100vh - 150px
            );

    }


    .lightbox-prev,
    .lightbox-next {

        width: 42px;

        height: 42px;

        background:
            rgba(255,255,255,.08);

    }


    .lightbox-prev {

        left: 8px;

    }


    .lightbox-next {

        right: 8px;

    }


    .lightbox-info h3 {

        font-size: 17px;

    }

}


/* =====================================================
   CONTACT
===================================================== */

.contact {

    min-height: 90vh;

    display: flex;

    align-items: center;

    background:
        var(--cream);

}


.contact-content {

    max-width: 900px;

    margin-left: 12vw;

}


.contact-content h2 {

    margin-top: 25px;

    font-family: var(--serif);

    font-size:
        clamp(
            60px,
            8vw,
            115px
        );

    font-weight: 300;

    line-height: .83;

}


.contact-content h2 span {

    display: block;

    margin-left: 10vw;

    color: #b38d8b;

    font-style: italic;

}


.contact-description {

    margin-top: 45px;

    font-size: 13px;

    line-height: 1.9;

    color: var(--brown-light);

}


.contact-email {

    display: inline-flex;

    align-items: center;

    gap: 25px;

    margin-top: 35px;

    padding-bottom: 12px;

    border-bottom:
        1px solid
        var(--brown);

    font-size: 11px;

    letter-spacing: 2px;

}


.contact-email span {

    font-size: 18px;

}


.social-links {

    display: flex;

    gap: 35px;

    margin-top: 45px;

}


.social-links a {

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.social-links a:hover {

    color: #a47e7c;

}


/* =====================================================
   FOOTER
===================================================== */

footer {

    padding:
        35px 8vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid
        var(--line);

    background:
        var(--cream);

}


footer p,
footer > a:last-child {

    font-size: 8px;

    letter-spacing: 2px;

    color: var(--brown-light);

}


@media (max-width: 800px) {

    .nav {

        display: none;

    }


    .menu-btn {

        display: flex;

    }


    .section {

        padding:
            120px 7vw;

    }


    .section-number {

        top: 50px;

        left: 7vw;

    }


    .section-heading {

        flex-direction: column;

        align-items: flex-start;

        gap: 30px;

        margin-bottom: 55px;

    }


    .about {

        grid-template-columns:
            1fr;

        gap: 60px;

    }


    .about-photo {

        width: 100%;

    }


    .about-big {

        font-size: 27px;

    }


    .discipline {

        grid-template-columns:
            40px
            1fr
            40px;

    }


    .discipline-description {

        display: none;

    }


    .discipline-hover {

        display: none;

    }


    .modal-details {

        grid-template-columns:
            1fr;

    }


    .contact-content {

        margin-left: 0;

    }


    footer {

        flex-direction: column;

        gap: 20px;

    }

}


@media (max-width: 600px) {

    .hero {

        padding:
            130px 7vw
            90px;

    }


    .hero-shape.shape-one {

        width: 75vw;

        height: 55vh;

        right: -10vw;

        opacity: .45;

    }


    .hero-description {

        width: 250px;

        margin-left: 4vw;

    }


    .hero-button {

        margin-left: 4vw;

    }


    .title-line {

        font-size:
            clamp(
                65px,
                18vw,
                100px
            );

        letter-spacing: -2px;

    }


    .title-two {

        margin-left: 6vw;

    }


    .portfolio-filters {

        gap: 18px;

        flex-wrap: wrap;

    }


    .contact-content h2 {

        font-size:
            clamp(
                55px,
                17vw,
                90px
            );

    }


    .contact-content h2 span {

        margin-left: 5vw;

    }


    .contact-email {

        font-size: 8px;

        letter-spacing: 1px;

    }

}

/* =========================================================
   AJUSTES SOLICITADOS
========================================================= */

/* Títulos generales un poco más chicos.
   El título principal del inicio no se modifica. */
.section-heading h2 {
    font-size: clamp(42px, 4.6vw, 64px);
}

/* Sobre mí */
.about-left h2 {
    font-size: clamp(42px, 4.6vw, 64px);
}

.about-big {
    font-size: clamp(1.65rem, 2.6vw, 3.1rem);
}

.about-photo {
    width: min(360px, 78%);
    cursor: pointer;
}

/* Disciplinas */
.discipline-name h3 {
    font-size: clamp(30px, 3.5vw, 48px);
}

/* Statement */
.statement-title {
    font-size: clamp(50px, 6.8vw, 96px);
}

/* Portfolio */
.featured-caption h3 {
    font-size: 1.8rem;
}

.gallery-heading h3 {
    font-size: clamp(1.8rem, 3.4vw, 3.5rem);
}

/* Contacto: todo el bloque centrado */
.contact-content {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.contact-content h2 {
    font-size: clamp(48px, 6vw, 86px);
}

.contact-content h2 span {
    margin-left: 0;
}

.contact-description {
    margin-top: 40px;
    font-size: 18px;
    line-height: 1.8;
}

.contact-email {
    margin-top: 38px;
    font-size: 14px;
    letter-spacing: 2px;
}

.social-links {
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.social-links a {
    font-size: 13px;
}

/* Danza: no mostrar el encabezado genérico de Beauty */
#portfolioGalleryWrap.dance-view .gallery-heading {
    display: none;
}

@media (max-width: 900px) {

    .section-heading h2,
    .about-left h2 {
        font-size: clamp(38px, 8vw, 58px);
    }

    .about-photo {
        width: min(360px, 82%);
    }

    .statement-title {
        font-size: clamp(44px, 10vw, 72px);
    }

    .contact-content {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-content h2 {
        font-size: clamp(44px, 11vw, 72px);
    }

    .contact-description {
        font-size: 16px;
    }

    .contact-email {
        font-size: 11px;
    }

}

@media (max-width: 550px) {

    .contact-content h2 {
        font-size: clamp(40px, 13vw, 62px);
    }

    .contact-description {
        font-size: 15px;
    }

    .contact-email {
        font-size: 9px;
        letter-spacing: 1px;
    }

}


/* =========================================================
   REDES DEL HEADER
========================================================= */

.header-socials {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-left: auto;
    margin-right: 0;
}

.header-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--brown);
    transition: opacity .3s ease, transform .3s ease;
}

.header-socials a:hover {
    opacity: .55;
    transform: translateY(-2px);
}

.header-socials svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-socials svg circle:last-child {
    fill: currentColor;
    stroke: none;
}

/* Ajuste final del header: mantiene el logo separado de la navegación. */
.header {
    justify-content: flex-start;
    gap: 48px;
}

.nav {
    flex-shrink: 0;
}

/* El cursor personalizado queda desactivado, pero el cursor normal permanece. */
.cursor,
.cursor-follow {
    display: none !important;
}

/* =========================================================
   FORMULARIO DE CONTACTO
========================================================= */

.contact-form-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 35px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--brown);
    background: transparent;
    color: var(--brown);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color .3s ease, opacity .3s ease;
}

.contact-form-button span {
    font-size: 18px;
}

.contact-form-button:hover {
    color: #a47e7c;
}

.contact-socials {
    justify-content: center;
    align-items: center;
}

.contact-socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-socials a span {
    font-size: 14px;
}

.contact-form-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s var(--ease);
}

.contact-form-modal.open {
    opacity: 1;
    visibility: visible;
}

.contact-form-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(64,53,48,.35);
    backdrop-filter: blur(8px);
}

.contact-form-panel {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 55px 60px;
    background: var(--cream);
    border: 1px solid var(--line);
    box-shadow: 0 25px 80px rgba(64,53,48,.15);
    transform: translateY(25px);
    transition: transform .5s var(--ease);
}

.contact-form-modal.open .contact-form-panel {
    transform: translateY(0);
}

.contact-form-close {
    position: absolute;
    top: 18px;
    right: 22px;
    border: 0;
    background: transparent;
    color: var(--brown);
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.contact-form-panel h2 {
    margin-top: 20px;
    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 300;
    line-height: .88;
}

.contact-form-panel h2 span {
    display: inline;
    color: #b38d8b;
    font-style: italic;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
    margin-top: 40px;
}

.contact-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-grid label.full {
    grid-column: 1 / -1;
}

.contact-form-grid label > span {
    font-size: 9px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    color: var(--brown-light);
}

.contact-form-grid input,
.contact-form-grid textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    outline: none;
    padding: 10px 0;
    background: transparent;
    color: var(--brown);
    font-family: var(--sans);
    font-size: 13px;
    resize: vertical;
    transition: border-color .3s ease;
}

.contact-form-grid input:focus,
.contact-form-grid textarea:focus {
    border-color: var(--brown);
}

.contact-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    margin-top: 38px;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--brown);
    background: transparent;
    color: var(--brown);
    font-size: 10px;
    letter-spacing: 2px;
    cursor: pointer;
}

.contact-form-submit span {
    font-size: 16px;
}

.contact-form-note {
    margin-top: 18px;
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--brown-light);
}

.contact-form-note.success {
    color: #6e7770;
}

.contact-form-note.error {
    color: #a47e7c;
}

@media (max-width: 800px) {
    .header {
        gap: 0;
    }

    .header-socials {
        margin-right: 18px;
    }

    .contact-form-panel {
        padding: 50px 30px 40px;
    }
}

@media (max-width: 550px) {
    .header-socials {
        gap: 8px;
        margin-right: 12px;
    }

    .header-socials a {
        width: 22px;
        height: 22px;
    }

    .contact-form-button {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .contact-form-panel {
        padding: 45px 22px 30px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 30px;
    }

    .contact-form-grid label.full {
        grid-column: auto;
    }

    .contact-form-panel h2 {
        font-size: clamp(38px, 12vw, 56px);
    }
}




/* =========================================================
   PROTECCIÓN DE IMÁGENES — CAPA TRANSPARENTE
========================================================= */

.image-protection-layer {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: fill !important;
    opacity: 0 !important;
    transform: none !important;
    z-index: 20 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
    -webkit-touch-callout: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.about-photo,
.featured-slideshow,
.gallery-item {
    position: relative !important;
}

.lightbox-image-wrap {
    position: relative;
}

.lightbox-protected-image {
    position: relative;
    display: inline-block;
    line-height: 0;
    max-width: 88vw;
    max-height: calc(100vh - 170px);
}

.lightbox-protected-image > #lightboxImage {
    display: block;
}

/* En el lightbox la capa ocupa únicamente el área real de la foto. */
.lightbox-image-wrap .image-protection-layer {
    inset: 0 !important;
}

/* El video conserva su formato vertical original. */
.dance-video {
    display: block;
    width: min(900px, 100%);
    height: auto;
    max-height: 70vh;
    aspect-ratio: auto;
    margin-top: 1.3rem;
    background: var(--cream-dark);
    object-fit: contain;
    object-position: center;
}

@media (max-width: 700px) {
    .dance-video {
        width: 100%;
        height: auto;
        max-height: 70vh;
        aspect-ratio: auto;
    }
}


/* =========================================================
   AJUSTE FINAL — IMÁGENES DESTACADAS
========================================================= */
.featured-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.featured-image-wrap,
.featured-slideshow {
    height: 600px;
}

@media (max-width: 900px) {
    .featured-image-wrap,
    .featured-card:first-child .featured-image-wrap,
    .featured-slideshow {
        height: 80vh;
        min-height: 500px;
    }
}
