/* =========================
   VARIABLES
========================= */

:root {
    --cream: #f4f1eb;
    --warm-white: #faf9f6;
    --black: #1c1c1a;
    --brown: #756c61;
    --line: #d8d3cb;
}


/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--black);
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

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


/* =========================
   NAVEGACIÓN
========================= */

.navbar {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 28px 5%;

    color: white;
}

.logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    letter-spacing: 0.20em;
}

nav {
    display: flex;
    gap: 26px;
}

nav a {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.nav-button {
    border: 1px solid rgba(255, 255, 255, 0.8);

    padding: 12px 18px;

    font-size: 0.6rem;
    letter-spacing: 0.12em;
}

.mobile-menu-toggle {
    display: none;
}


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

.hero {
    position: relative;

    height: 100vh;
    min-height: 700px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.45)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    color: white;

    max-width: 850px;

    text-align: center;

    padding: 20px;
}

.eyebrow,
.section-label {
    font-size: 0.65rem;

    letter-spacing: 0.22em;

    margin-bottom: 25px;
}

.hero h1 {
    font-family: "Cormorant Garamond", serif;

    font-weight: 400;

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

    line-height: 0.9;

    margin-bottom: 45px;
}

.hero h1 em {
    display: block;
}

.hero-button,
.contact-button {
    display: inline-block;

    border: 1px solid white;

    padding: 17px 30px;

    font-size: 0.65rem;

    letter-spacing: 0.18em;

    transition: 0.3s;
}

.hero-button:hover {
    background: white;
    color: black;
}

.scroll {
    position: absolute;

    bottom: 35px;

    color: white;

    z-index: 2;

    font-size: 0.55rem;

    letter-spacing: 0.18em;
}


/* =========================
   INTRO
========================= */

.intro {
    min-height: 90vh;

    display: grid;

    grid-template-columns: 1fr 1fr;
}

.intro-text {
    padding: 13vw 12%;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.intro h2,
.statement h2,
.experiences h2,
.gallery h2,
.contact h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(3.5rem, 5vw, 6rem);

    font-weight: 400;

    line-height: 0.95;
}

.intro h2 em,
.statement h2 em,
.experiences h2 em,
.gallery h2 em,
.contact h2 em {
    display: block;
}

.description {
    margin-top: 35px;

    max-width: 470px;

    line-height: 1.9;

    font-size: 0.9rem;

    color: var(--brown);
}

.text-link {
    margin-top: 35px;

    font-size: 0.65rem;

    letter-spacing: 0.15em;
}

.intro-image {
    min-height: 700px;
}

.intro-image img {
    height: 100%;
}


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

.statement {
    padding: 110px 10%;

    text-align: center;

    background: var(--warm-white);
}

.statement > p {
    font-size: 0.65rem;

    letter-spacing: 0.2em;

    margin-bottom: 30px;
}

.statement h2 {
    max-width: 900px;

    margin: auto;
}


/* =========================
   EXPERIENCIAS
========================= */

.experiences {
    padding: 125px 6%;
}

.section-header {
    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 65px;

    gap: 60px;
}

.section-header h2 {
    max-width: 750px;
}

.section-description {
    max-width: 300px;

    font-size: 0.85rem;

    line-height: 1.8;

    color: var(--brown);
}


/* GRID */

.experience-grid {
    display: grid;

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

    gap: 25px;
}

.experience-card {
    position: relative;

    height: 650px;

    overflow: hidden;
}

.experience-card.large {
    grid-row: span 1;
}

.experience-card.wide {
    grid-column: span 2;

    height: 500px;
}

.experience-card img {
    height: 100%;

    transition: transform 0.8s ease;
}

.experience-card:hover img {
    transform: scale(1.05);
}

.experience-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.65)
        );
}

.card-content {
    position: absolute;

    z-index: 2;

    bottom: 45px;

    left: 45px;

    color: white;
}

.card-content p {
    font-size: 0.6rem;

    margin-bottom: 12px;

    opacity: 0.8;
}

.card-content h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 3.2rem;

    font-weight: 400;
}

.card-content span {
    display: block;

    margin-top: 8px;

    font-size: 0.7rem;
}


/* =========================
   GALERÍA
========================= */

.gallery {
    padding: 90px 6% 150px;
    background: var(--warm-white);
}

/* Asegura que el contenedor tenga espacio suficiente horizontalmente */
.gallery-heading {
    max-width: 100%; /* O aumenta el valor si tenías por ejemplo 400px o 500px */
}

/* Opcional: convierte el <em> en bloque para que siempre baje sin necesidad de <br> */
/*.gallery-heading h2 em {
    display: block;
}*/

.gallery-grid {
    display: grid;

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

    gap: 15px;
}

.gallery-grid img {
    height: 450px;
}

.gallery-grid img:nth-child(even) {
    margin-top: 70px;
}


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

.contact {
    min-height: 80vh;

    background: var(--black);

    color: var(--cream);

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 100px 20px;
}

.contact-content {
    max-width: 850px;
}

.contact h2 {
    margin-bottom: 35px;
}

.contact-content > p:not(.section-label) {
    max-width: 500px;

    margin: 0 auto 40px;

    line-height: 1.9;

    font-size: 0.9rem;

    color: #c7c1b8;
}

.contact-button {
    border-color: var(--cream);
}


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

footer {
    padding: 70px 6% 30px;

    background: var(--warm-white);
}

.footer-logo {
    font-family: "Cormorant Garamond", serif;

    font-size: 5rem;

    letter-spacing: 0.15em;

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

    padding-bottom: 35px;
}

.footer-info {
    display: flex;

    justify-content: space-between;

    padding: 35px 0;
}

.footer-info p,
.footer-info a,
.copyright {
    font-size: 0.65rem;

    letter-spacing: 0.08em;
}

.copyright {
    color: var(--brown);
}


/* =========================
   MÓVIL
========================= */

@media (max-width: 800px) {

    .navbar {
        padding: 25px;
        z-index: 100;
    }

    /* Ocultamos el menú de escritorio */
    nav {
        display: none;
    }

    .nav-button {
        display: none;
    }

    /* =========================
       BOTÓN MENÚ MÓVIL
    ========================= */

    .mobile-menu-toggle {
        display: block;

        position: relative;
        z-index: 102;

        border: none;
        background: transparent;

        color: white;

        font-family: "Montserrat", sans-serif;
        font-size: 1.2rem;

        cursor: pointer;

        padding: 5px;
    }

    /* =========================
       MENÚ ABIERTO
    ========================= */

    .navbar.menu-open nav {
        display: flex;

        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;

        background: var(--black);

        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 28px;

        z-index: 101;
    }

    .navbar.menu-open nav a {
        color: var(--cream);

        text-decoration: none;

        font-family: "Cormorant Garamond", serif;

        font-size: 2rem;

        font-weight: 400;

        letter-spacing: 0;
    }


    /* =========================
       RESTO DE LA WEB
    ========================= */

    .intro {
        grid-template-columns: 1fr;
    }

    .intro-text {
        padding: 120px 8%;
    }

    .intro-image {
        min-height: 500px;
    }

    .statement {
        padding: 120px 8%;
    }

    .experiences,
    .gallery {
        padding: 100px 6%;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 50px;
    }

    .experience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.experience-card {
    grid-column: span 1 !important;
    height: 420px;
}

.experience-card.wide {
    grid-column: span 1 !important;
}

.experience-text {
    padding: 20px;
}

.experience-text h3 {
    font-size: 1.6rem;
    line-height: 1.05;
}

.experience-text > p:first-of-type {
    font-size: 0.68rem;
    line-height: 1.45;
}

/* Ocultamos el texto largo en móvil */
.experience-text > p:nth-of-type(2) {
    display: none;
}

.experience-text a {
    font-size: 0.55rem;
}




   
    .card-content {
        left: 25px;
        bottom: 30px;
    }

    .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-grid > * {
    grid-column: span 1 !important;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

    .footer-info {
        flex-direction: column;
        gap: 20px;
    }

}

/* =========================
   MOMENTOS - MÓVIL
========================= */

@media (max-width: 600px) {

    .moment-card .moment-info h3 {
        font-size: 1.5rem;
        line-height: 1;
    }

    .moment-card .moment-info p {
        font-size: 0.45rem;
        letter-spacing: 0.14em;
    }

}

/* =========================
   INSTAGRAM
========================= */

.instagram-section {
    padding: 150px 6%;

}

.instagram-header {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 70px;
}

.instagram-header h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.5rem, 5vw, 6rem);
    font-weight: 400;
    line-height: 0.95;
}

.instagram-header h2 em {
    display: block;
}

.instagram-link {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    border-bottom: 1px solid var(--black);
    padding-bottom: 8px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.instagram-grid a {
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.instagram-grid img {
    height: 100%;
    transition: transform 0.6s ease;
}

.instagram-grid a:hover img {
    transform: scale(1.07);
}


/* =========================
   FORMULARIO
========================= */

.contact {
    background: var(--black);
    color: var(--cream);

    padding: 140px 10%;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.contact h2 {
    margin-bottom: 30px;
}

.contact-intro > p:not(.section-label) {
    max-width: 550px;
    margin: auto;

    line-height: 1.9;
    font-size: 0.9rem;

    color: #c7c1b8;
}

.contact-form {
    max-width: 1000px;
    margin: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;

    margin-bottom: 40px;
}

.form-group label {
    font-size: 0.6rem;
    letter-spacing: 0.16em;

    margin-bottom: 12px;

    color: #bdb7ae;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    background: transparent;

    border: none;
    border-bottom: 1px solid #5f5a54;

    padding: 14px 0;

    color: var(--cream);

    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;

    outline: none;
}

.form-group textarea {
    border: 1px solid #5f5a54;
    padding: 15px;

    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #77716a;
}

.form-group select {
    color: #bdb7ae;
}

.form-group option {
    color: black;
}

.submit-button {
    background: var(--cream);
    color: var(--black);

    border: none;

    padding: 18px 35px;

    font-family: "Montserrat", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.15em;

    cursor: pointer;

    transition: 0.3s;
}

.submit-button:hover {
    background: white;
}


/* =========================
   RESPONSIVE NUEVO
========================= */

@media (max-width: 800px) {

    .instagram-section {
        padding: 100px 6%;
        background: var(--warm-white);

    }

    .instagram-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .instagram-grid a:last-child {
        display: none;
    }

    .contact {
        padding: 100px 7%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

/* =========================
   TARJETA DIGITAL / QR
========================= */

.qr-page {
    min-height: 100vh;

    background: #e9e4dc;

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

    padding: 30px 20px;
}

.digital-card {
    width: 100%;
    max-width: 480px;

    text-align: center;
}

.profile-image {
    width: 150px;
    height: 150px;

    margin: 0 auto 30px;

    border-radius: 50%;

    overflow: hidden;

    border: 1px solid #c9c1b7;
}

.profile-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.qr-small-title {
    font-size: 0.6rem;

    letter-spacing: 0.25em;

    margin-bottom: 15px;

    color: #756c61;
}

.digital-card h1 {
    font-family: "Cormorant Garamond", serif;

    font-size: 4.5rem;

    font-weight: 400;

    letter-spacing: 0.15em;

    margin-bottom: 25px;
}

.qr-description {
    max-width: 380px;

    margin: 0 auto 40px;

    font-size: 0.85rem;

    line-height: 1.8;

    color: #756c61;
}

.qr-links {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.qr-link {
    display: flex;

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

    padding: 19px 22px;

    border: 1px solid #c9c1b7;

    background: rgba(255, 255, 255, 0.25);

    font-size: 0.65rem;

    letter-spacing: 0.16em;

    transition: 0.3s;
}

.qr-link:hover {
    background: #1c1c1a;
    color: #f4f1eb;

    transform: translateY(-2px);
}

.qr-footer {
    margin-top: 40px;

    font-size: 0.55rem;

    letter-spacing: 0.18em;

    color: #756c61;
}


/* MÓVIL */

@media (max-width: 500px) {

    .qr-page {
        align-items: flex-start;

        padding-top: 60px;
    }

    .profile-image {
        width: 130px;
        height: 130px;
    }

    .digital-card h1 {
        font-size: 3.8rem;
    }

}

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

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* IMÁGENES */

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;

    opacity: 0;

    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* OSCURECER FOTO */

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.20),
            rgba(0, 0, 0, 0.45)
        );
}


/* TEXTO */

.hero-content {
    position: relative;

    z-index: 3;

    color: white;

    max-width: 850px;

    text-align: center;

    padding: 20px;
}


/* FLECHAS */

.hero-arrow {
    position: absolute;

    z-index: 4;

    top: 50%;

    transform: translateY(-50%);

    width: 55px;
    height: 55px;

    border: 1px solid rgba(255,255,255,0.7);

    background: rgba(0,0,0,0.08);

    color: white;

    font-size: 1.2rem;

    cursor: pointer;

    transition: all 0.3s ease;
}

.hero-arrow:hover {
    background: white;
    color: black;
}

.hero-prev {
    left: 35px;
}

.hero-next {
    right: 35px;
}


/* PUNTITOS */

.hero-dots {
    position: absolute;

    z-index: 4;

    bottom: 70px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 10px;
}

.hero-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 1px solid white;

    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
}


/* =========================
   MÓVIL
========================= */

@media (max-width: 800px) {

    .hero-arrow {
        width: 42px;
        height: 42px;

        font-size: 0.9rem;
    }

    .hero-prev {
        left: 15px;
    }

    .hero-next {
        right: 15px;
    }

    .hero-dots {
        bottom: 65px;
    }

}

/* =========================
   ¿QUÉ HACEMOS?
   REVEAL DE EXPERIENCIAS
========================= */

.experience-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.experience-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 1s ease;
}


/* Zoom suave de la fotografía */

.experience-card:hover > img {
    transform: scale(1.04);
}


/* Panel que aparece */

.experience-reveal {
    position: absolute;

    top: 0;
    right: 0;

    width: 48%;
    height: 100%;

    z-index: 3;

    background: rgba(28, 28, 26, 0.90);

    color: var(--cream);

    padding: 55px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transform: translateX(100%);

    transition:
        transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
}


/* Al pasar el ratón */

.experience-card:hover .experience-reveal {
    transform: translateX(0);
}


/* Número */

.experience-index {
    font-size: 0.65rem;

    letter-spacing: 0.18em;

    opacity: 0.65;
}


/* Texto */

.experience-text {
    max-width: 450px;
}

.experience-category {
    font-size: 0.58rem;

    letter-spacing: 0.18em;

    margin-bottom: 18px;

    opacity: 0.65;
}

.experience-text h3 {
    font-family: "Cormorant Garamond", serif;

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

    line-height: 0.85;

    font-weight: 400;

    margin-bottom: 30px;
}

.experience-text h3 em {
    display: block;
}


/* Línea */

.experience-divider {
    width: 70px;

    height: 1px;

    background: rgba(244, 241, 235, 0.5);

    margin-bottom: 25px;
}


/* Descripción */

.experience-text > p:not(.experience-category) {
    font-size: 0.75rem;

    line-height: 1.8;

    color: #c8c1b8;

    margin-bottom: 15px;
}


/* Enlace */

.experience-text a {
    display: inline-block;

    margin-top: 15px;

    font-size: 0.6rem;

    letter-spacing: 0.18em;

    border-bottom: 1px solid rgba(244, 241, 235, 0.6);

    padding-bottom: 8px;
}


/* =========================
   MÓVIL
========================= */

@media (max-width: 800px) {

    .experience-reveal {
        width: 100%;

        padding: 30px;

        transform: translateY(100%);
    }

    .experience-card:hover .experience-reveal {
        transform: translateY(0);
    }

    .experience-text h3 {
        font-size: 3rem;
    }

}

/* =========================================
   MOMENTOS
========================================= */

.momentos {
    padding: 150px 6% 160px;
    background: var(--warm-white);
}

.momentos .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 90px;
}

.momentos .section-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    margin-bottom: 28px;
    color: #292927;
}

.momentos h2 {
    max-width: 900px;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.025em;
    color: #20201e;
}

.momentos h2 em {
    font-style: italic;
    font-weight: 400;
}

/* =========================================
   MOSAICO MOMENTOS
========================================= */


.moments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: start;
}


/* =========================================
   TARJETAS
========================================= */

.moment-card {
    position: relative;
    height: 520px;
    overflow: hidden;
    cursor: pointer;
}


/* Efecto editorial: algunas fotos quedan
   ligeramente más arriba o más abajo */

.moment-card:nth-child(2) {
    transform: translateY(70px);
}

.moment-card:nth-child(3) {
    transform: translateY(15px);
}

.moment-card:nth-child(4) {
    transform: translateY(90px);
}

.moment-card:nth-child(5) {
    transform: translateY(-20px);
}

.moment-card:nth-child(6) {
    transform: translateY(45px);
}

.moment-card:nth-child(7) {
    transform: translateY(-5px);
}

.moment-card:nth-child(8) {
    transform: translateY(65px);
}


/* =========================================
   FOTO
========================================= */

.moment-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease;
}

.moment-card:hover > img {
    transform: scale(1.05);
}


/* =========================================
   INFORMACIÓN AL PASAR EL CURSOR
========================================= */

.moment-overlay {
    position: absolute;
    inset: 0;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    color: var(--cream);

    background:
        linear-gradient(
            to bottom,
            rgba(28, 28, 26, 0.05),
            rgba(28, 28, 26, 0.90)
        );

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

    transition:
        opacity 0.45s ease,
        transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
}


/* Al pasar el ratón */

.moment-card:hover .moment-overlay {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   NÚMERO
========================================= */

.moment-number {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    opacity: 0.7;
}


/* =========================================
   INFORMACIÓN
========================================= */

.moment-info {
    max-width: 300px;
}

.moment-info p {
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
    opacity: 0.7;
}

.moment-info h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: 18px;
}

.moment-info span {
    display: block;
    font-size: 0.7rem;
    line-height: 1.8;
    color: #d0c9c0;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 800px) {

    .moments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .moment-card:nth-child(n) {
        transform: none;
    }

    .moment-card:nth-child(2),
    .moment-card:nth-child(4),
    .moment-card:nth-child(6),
    .moment-card:nth-child(8) {
        transform: translateY(40px);
    }
}


/* =========================================
   MÓVIL
========================================= */

@media (max-width: 600px) {

    .moments-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .moment-card,
    .moment-card:nth-child(n) {
        height: 480px;
        transform: none;
    }

    .moment-overlay {
        opacity: 1;
        transform: translateY(62%);
    }

    .moment-card:active .moment-overlay {
        transform: translateY(0);
    }

}

/* =========================================
   TESTIMONIOS
========================================= */

.testimonios {
    padding: 160px 6% 180px;
}

.testimonios-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 80px;
    margin-bottom: 100px;
}

.testimonios-header > div {
    max-width: 850px;
}

.testimonios .section-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    margin-bottom: 28px;
    color: #292927;
}

.testimonios h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.025em;
    color: #20201e;
}

.testimonios h2 em {
    font-style: italic;
}

.testimonios-intro {
    max-width: 310px;
    margin: 0 0 5px;
    font-size: 0.75rem;
    line-height: 1.8;
    color: #77736d;
}


/* =========================================
   GRID
========================================= */

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: start;
}


/* =========================================
   TARJETAS
========================================= */

.testimonio-card {
    position: relative;
    cursor: pointer;
}

.testimonio-card:nth-child(2) {
    margin-top: 70px;
}

.testimonio-card:nth-child(3) {
    margin-top: 20px;
}

.testimonio-card:nth-child(4) {
    margin-top: 90px;
}

.testimonio-card:nth-child(5) {
    margin-top: 35px;
}


/* =========================================
   FOTO
========================================= */

.testimonio-photo {
    position: relative;
    height: 430px;
    overflow: hidden;
}

.testimonio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition:
        transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

.testimonio-card:hover .testimonio-photo img {
    transform: scale(1.05);
}


/* =========================================
   OVERLAY
========================================= */

.testimonio-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 25px;

    background:
        linear-gradient(
            to top,
            rgba(20,20,18,0.75),
            rgba(20,20,18,0)
        );

    opacity: 0;

    transition:
        opacity 0.45s ease;
}

.testimonio-overlay span {
    color: var(--cream);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
}

.testimonio-card:hover .testimonio-overlay {
    opacity: 1;
}


/* =========================================
   TEXTO DEBAJO DE LA FOTO
========================================= */

.testimonio-preview {
    padding: 25px 5px 0;
}

.testimonio-quote {
    margin: 0 0 25px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 1.45rem;
    line-height: 1.05;
    font-style: italic;

    color: #292927;
}

.testimonio-person {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.testimonio-person strong {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.testimonio-person span {
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    color: #8a857d;
}


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

.testimonio-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 40px;

    background: rgba(25, 25, 23, 0.92);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.testimonio-card.active .testimonio-modal {
    opacity: 1;
    visibility: visible;
}

.testimonio-modal-content {
    position: relative;

    width: min(760px, 90vw);

    padding: 80px 70px;

    background: var(--warm-white);

    text-align: center;
}

.modal-label {
    display: block;

    margin-bottom: 35px;

    font-size: 0.6rem;
    letter-spacing: 0.25em;

    color: #77736d;
}

.modal-quote {
    margin: 0 auto 45px;

    max-width: 650px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.98;
    font-style: italic;

    color: #20201e;
}

.modal-name {
    margin: 0;

    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* =========================================
   BOTÓN CERRAR
========================================= */

.testimonio-close {
    position: absolute;

    top: 25px;
    right: 30px;

    z-index: 10;

    border: none;
    background: none;

    color: var(--cream);

    font-size: 2rem;
    font-weight: 200;

    cursor: pointer;

    line-height: 1;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .testimonios-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 80px;
    }

    .testimonio-card:nth-child(2),
    .testimonio-card:nth-child(3),
    .testimonio-card:nth-child(4),
    .testimonio-card:nth-child(5) {
        margin-top: 0;
    }

    .testimonio-card:nth-child(2) {
        margin-top: 50px;
    }

    .testimonio-card:nth-child(4) {
        margin-top: 50px;
    }

}


/* =========================================
   MÓVIL
========================================= */

/* =========================================
   RESEÑAS - MÓVIL
========================================= */

@media (max-width: 700px) {

    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .testimonio-card {
        margin-top: 0;
    }

    .testimonio-card:nth-child(2),
    .testimonio-card:nth-child(4) {
        margin-top: 0;
    }

    .testimonio-photo {
        height: 300px;
    }

}


/* =========================================
   MÓVIL PEQUEÑO
========================================= */

@media (max-width: 480px) {

    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .testimonio-card:nth-child(2),
    .testimonio-card:nth-child(4) {
        margin-top: 0;
    }

    .testimonio-photo {
        height: 450px;
    }

}

/* =========================================
   FORMULARIO CONTACTO - NUEVO DISEÑO
========================================= */

.contact-form {
    max-width: 900px;
    margin: 0 auto;
}


/* FILAS */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}


/* CAMPOS */

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 45px;
}

.form-group.full {
    width: 100%;
}


/* LABEL */

.form-group label,
.calendar-header-text label {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
    color: #bdb7ae;
}


/* INPUTS Y SELECT */

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    background: transparent;

    border: none;

    border-bottom: 1px solid #5f5a54;

    padding: 14px 0;

    color: var(--cream);

    font-family: "Montserrat", sans-serif;

    font-size: 0.85rem;

    outline: none;

    border-radius: 0;

}


.form-group input::placeholder,
.form-group textarea::placeholder {

    color: #77716a;

}


.form-group select {

    color: #bdb7ae;

    cursor: pointer;

}


.form-group option {

    color: black;

}


/* =========================================
   CALENDARIO
========================================= */

.calendar-section {

    margin-top: 25px;

    margin-bottom: 55px;

}


.calendar-header-text {

    margin-bottom: 25px;

}


.calendar-header-text p {

    margin-top: 8px;

    color: #77716a;

    font-size: 0.7rem;

}


/* CAJA CALENDARIO */
.calendar {
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid #4f4b46;
    padding: 25px;
}


/* CABECERA */

.calendar-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 30px;
}

.calendar-top h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    min-width: 170px;
    text-align: center;
}

.calendar-arrow {
    width: auto;
    height: auto;
    padding: 4px 6px;
    border: none;
    background: transparent;
    color: #bdb7ae;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.calendar-arrow:hover {
    background: transparent;
    color: var(--cream);
    opacity: 1;
}

#calendar-prev:hover {
    transform: translateX(-2px);
}

#calendar-next:hover {
    transform: translateX(2px);
}


/* DÍAS DE LA SEMANA */

.calendar-weekdays {

    display: grid;

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

    text-align: center;

    margin-bottom: 12px;

}


.calendar-weekdays span {

    font-size: 0.55rem;

    letter-spacing: 0.1em;

    color: #77716a;

}


/* DÍAS */

.calendar-days {

    display: grid;

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

    gap: 7px;

}


.calendar-day {
    aspect-ratio: 1;
    border: none;
    background: transparent;
    color: var(--cream);
    font-family: "Montserrat", sans-serif;
    font-size: 0.65rem;
    cursor: pointer;
    transition: 0.25s;
}


.calendar-day:hover {

    background: #3b3935;

}


.calendar-day.other-month {

    color: #55514c;

    cursor: default;

}


.calendar-day.today {

    border: 1px solid #77716a;

}


/* FECHA SELECCIONADA */

.calendar-day.selected {

    background: var(--cream);

    color: var(--black);

}


/* FECHAS ELEGIDAS */

.selected-dates {

    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid #4f4b46;

}


.selected-label {

    display: block;

    font-size: 0.55rem;

    letter-spacing: 0.15em;

    color: #77716a;

    margin-bottom: 12px;

}


#selected-dates-list {

    font-size: 0.75rem;

    line-height: 1.8;

    color: var(--cream);

}


/* PERSONAS */

.people-field {

    max-width: 400px;

}


/* TEXTAREA */

.form-group textarea {

    border: 1px solid #5f5a54;

    padding: 18px;

    resize: vertical;

    min-height: 180px;

}


.form-group textarea:focus {

    border-color: #9b948b;

}


/* MENSAJE */

.form-note {

    max-width: 600px;

    margin: 10px auto 35px;

    text-align: center;

}


.form-note p {

    font-family: "Cormorant Garamond", serif;

    font-size: 1.35rem;

    line-height: 1.4;

    color: #c7c1b8;

}


/* BOTÓN */

.submit-button {

    display: block;

    margin: 0 auto;

}


/* =========================================
   INSTAGRAM EXTRA
========================================= */

.contact-extra {

    display: none;

}


/* =========================================
   MÓVIL
========================================= */

/* =========================================
   FORMULARIO - MÓVIL
========================================= */

@media (max-width: 900px) {

    .contact {
    background: var(--black);
    color: var(--cream);
    padding: 140px 10%;
    display: block;
}

    .contact-intro {
        width: 100%;
        max-width: 100%;
        margin: 0 0 70px;
        text-align: left;
    }

    .contact-intro h2 {
        font-size: 3.4rem;
        line-height: 0.92;
        margin-bottom: 25px;
    }

    .contact-intro > p:not(.section-label) {
        max-width: 100%;
        font-size: 0.8rem;
        line-height: 1.7;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        width: 100%;
        min-width: 0;
        margin-bottom: 32px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .calendar-section {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 40px;
    }

    .calendar {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================
   SÍGUENOS DE CERCA - INSTAGRAM
========================================= */

.instagram {
    padding: 140px 0;
}

.instagram-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 55px;
}

.instagram-handle {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    transition: opacity 0.3s ease;
}

.instagram-handle:hover {
    opacity: 0.55;
}


/* MOSAICO */

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.instagram-post {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none;
    background: #252421;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

.instagram-post:hover img {
    transform: scale(1.06);
}


/* OVERLAY */

.instagram-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: rgba(28, 28, 26, 0.72);

    color: var(--cream);

    opacity: 0;

    transition: opacity 0.35s ease;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay span {
    font-size: 0.55rem;
    letter-spacing: 0.16em;
}

.instagram-overlay strong {
    font-size: 1rem;
    font-weight: 400;
}


/* PARTE INFERIOR */

.instagram-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 35px;
    padding-top: 30px;

    border-top: 1px solid #4f4b46;
}

.instagram-bottom p {
    max-width: 420px;
    margin: 0;

    color: #77716a;

    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    line-height: 1.4;
}

.instagram-button {
    color: var(--cream);
    text-decoration: none;

    font-size: 0.6rem;
    letter-spacing: 0.16em;

    border-bottom: 1px solid #77716a;
    padding-bottom: 8px;

    transition:
        opacity 0.3s ease,
        border-color 0.3s ease;
}

.instagram-button:hover {
    opacity: 0.6;
    border-color: var(--cream);
}


/* TABLET */

@media (max-width: 900px) {

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .instagram-post:nth-child(4),
    .instagram-post:nth-child(5) {
        display: none;
    }

}


/* MÓVIL */

@media (max-width: 600px) {

    .instagram {
        padding: 50px 0;
    }

    .instagram-header {
        display: block;
        margin-bottom: 35px;
    }

    .instagram-handle {
        display: inline-block;
        margin-top: 20px;
    }

    /* INSTAGRAM: 2 + 2 + 1 */
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .instagram-post {
        display: block;
    }

    .instagram-bottom {
        display: block;
        margin-top: 25px;
        padding-top: 25px;
    }

    .instagram-bottom p {
        margin-bottom: 25px;
        font-size: 1.15rem;
    }

}


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

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-links a {
    color: #282725;
    text-decoration: none;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.5;
}
/* =========================================
   MOMENTOS - SOLO MÓVIL
========================================= */

@media (max-width: 600px) {

    .moments-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .moment-card,
    .moment-card:nth-child(n) {
        height: 320px !important;
        margin-top: 0 !important;
        transform: none !important;
    }

}

/* =========================================
   FORMULARIO - MÓVIL
========================================= */

@media (max-width: 700px) {

    .contact {
        padding: 80px 24px;
        text-align: left;
    }

    .contact-intro {
        max-width: 100%;
        margin: 0 0 55px;
        text-align: left;
    }

    .contact-intro h2 {
        font-size: 3.2rem;
        line-height: 0.95;
        margin-bottom: 25px;
    }

    .contact-intro > p:not(.section-label) {
        font-size: 0.8rem;
        line-height: 1.7;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        width: 100%;
        margin-bottom: 32px;
    }

    .form-group.full {
        width: 100%;
    }

    .form-group label,
    .calendar-header-text label {
        font-size: 0.55rem;
        margin-bottom: 10px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        font-size: 0.8rem;
    }

    /* CALENDARIO */

    .calendar-section {
        margin-top: 10px;
        margin-bottom: 40px;
    }

    .calendar-header-text {
        margin-bottom: 20px;
    }

    .calendar-header-text p {
        font-size: 0.65rem;
        line-height: 1.5;
    }

    .calendar {
        width: 100%;
        max-width: none;
        padding: 18px;
    }

    .calendar-top {
        gap: 10px;
        margin-bottom: 20px;
    }

    .calendar-top h3 {
        min-width: 0;
        font-size: 1.2rem;
    }

    .calendar-arrow {
        font-size: 0.75rem;
    }

    .calendar-days {
        gap: 2px;
    }

    .calendar-day {
        font-size: 0.6rem;
    }

    .selected-dates {
        margin-top: 20px;
        padding-top: 18px;
    }

    /* PERSONAS */

    .people-field {
        max-width: none;
        width: 100%;
    }

    /* TEXTO */

    .form-group textarea {
        min-height: 150px;
    }

    /* NOTA */

    .form-note {
        max-width: 100%;
        margin: 5px 0 30px;
        text-align: center;
    }

    .form-note p {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    /* BOTÓN */

    .submit-button {
        width: 100%;
        padding: 17px 20px;
    }
}

/* =========================================
   EXPERIENCIAS — MÓVIL
========================================= */

@media (max-width: 800px) {

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .experience-card,
    .experience-card.wide {
        grid-column: span 1 !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .experience-card > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* TÍTULO */
    .experience-text h3 {
        font-size: 2rem;
        line-height: 0.95;
        margin: 0;
    }

    /* Ocultamos el contenido secundario inicialmente */
    .experience-divider,
    .experience-text > p,
    .experience-text a {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    /* Capa de texto */
    .experience-reveal {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 22px;
        display: flex;
        align-items: flex-end;
        background: linear-gradient(
            to top,
            rgba(28, 28, 26, 0.75),
            rgba(28, 28, 26, 0.05)
        );
        transform: none;
        transition: background 0.35s ease;
    }

    .experience-text {
        max-width: 100%;
    }

    /* Cuando se toca */
    .experience-card.active .experience-reveal {
        background: rgba(28, 28, 26, 0.92);
        align-items: center;
    }

    .experience-card.active .experience-text {
        width: 100%;
    }

    .experience-card.active .experience-text h3 {
        font-size: 2rem;
        margin-bottom: 18px;
    }

    .experience-card.active .experience-divider,
    .experience-card.active .experience-text > p,
    .experience-card.active .experience-text a {
        opacity: 1;
    }

    .experience-text > p:first-of-type {
        font-size: 0.72rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .experience-text > p:nth-of-type(2) {
        font-size: 0.68rem;
        line-height: 1.5;
    }

    .experience-text a {
        display: inline-block;
        font-size: 0.55rem;
        letter-spacing: 0.15em;
        margin-top: 12px;
    }

}

/* =========================================
   EXPERIENCIAS — MÓVIL LIMPIO
========================================= */

@media (max-width: 800px) {

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .experience-card,
    .experience-card.wide {
        grid-column: span 1 !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        cursor: default;
    }

    .experience-card > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Oscurecemos ligeramente la foto para que el título destaque */
    .experience-card::after {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.05)
        );
    }

    /* Capa del título */
    .experience-reveal {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        transform: none !important;
    }

    .experience-text {
        max-width: 100%;
        text-align: center;
    }

    /* Solo título */
    .experience-text h3 {
        font-size: 2rem;
        line-height: 0.95;
        margin: 0;
    }

    /* Quitamos completamente el resto */
    .experience-divider,
    .experience-text > p,
    .experience-text a {
        display: none !important;
    }

    .experience-card.proposals-card .experience-text {
        transform: translateX(-20px);
    }
}
