/* ============================= */
/* EXPERIENCIA v2 — CSS          */
/* ============================= */

html { overflow-anchor: none; }

/* ─── MOBILE: hero se ajusta al padding del navbar ── */
@media (max-width: 768px) {
    /* El navbar es igual que todas las demás páginas.
       El hero descuenta la altura del navbar (80px) para no
       quedar tapado, y el texto nunca queda oculto. */
    .exp-hero {
        height: calc(100vh - 80px);
        min-height: calc(100svh - 80px);
    }
}

/* ─── HERO FULLSCREEN ───────────────────────────── */

.exp-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: #0a0a0a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

/* ─── FONDO DIFUMINADO ──────────────────────────── */

.exp-bg-blur {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.exp-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.35) saturate(1.2);
    transform: scale(1.08);
    opacity: 0;
    transition: opacity 0.9s ease;
}

.exp-bg-slide.active {
    opacity: 1;
}

.exp-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 20%, rgba(10,10,10,0.65) 100%),
        linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, transparent 30%, transparent 60%, rgba(10,10,10,0.75) 100%);
}

/* ─── CARRUSEL ──────────────────────────────────── */

.exp-carousel-wrap {
    position: relative;
    width: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.exp-carousel {
    position: relative;
    width: 100%;
    height: 72vh;
    max-height: 560px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
}

.exp-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(.22,.68,0,1);
    margin-top: 20px;
}

.exp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform 0.7s ease;
}

.exp-card:hover img {
    transform: scale(1.05);
}

.exp-card-tag {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--blanco);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.exp-card[data-pos="center"] .exp-card-tag {
    opacity: 1;
}

/* ─── POSICIONES DESKTOP ────────────────────────── */

.exp-card[data-pos="center"] {
    z-index: 5;
    width: clamp(200px, 22vw, 300px);
    height: 100%;
    left: 50%;
    transform: translateX(-50%) rotateY(0deg) scale(1);
    box-shadow: 0 50px 100px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.06);
}

.exp-card[data-pos="left1"] {
    z-index: 4;
    width: clamp(160px, 18vw, 240px);
    height: 90%;
    left: calc(50% - clamp(200px, 21vw, 280px));
    transform: translateX(-50%) perspective(900px) rotateY(22deg) scale(0.9);
    opacity: 0.85;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.exp-card[data-pos="right1"] {
    z-index: 4;
    width: clamp(160px, 18vw, 240px);
    height: 90%;
    left: calc(50% + clamp(200px, 21vw, 280px));
    transform: translateX(-50%) perspective(900px) rotateY(-22deg) scale(0.9);
    opacity: 0.85;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.exp-card[data-pos="left2"] {
    z-index: 3;
    width: clamp(120px, 13vw, 180px);
    height: 75%;
    left: calc(50% - clamp(360px, 38vw, 500px));
    transform: translateX(-50%) perspective(900px) rotateY(35deg) scale(0.75);
    opacity: 0.5;
}

.exp-card[data-pos="right2"] {
    z-index: 3;
    width: clamp(120px, 13vw, 180px);
    height: 75%;
    left: calc(50% + clamp(360px, 38vw, 500px));
    transform: translateX(-50%) perspective(900px) rotateY(-35deg) scale(0.75);
    opacity: 0.5;
}

.exp-card[data-pos="left3"] {
    z-index: 2;
    width: clamp(90px, 9vw, 130px);
    height: 60%;
    left: calc(50% - clamp(490px, 51vw, 660px));
    transform: translateX(-50%) perspective(900px) rotateY(45deg) scale(0.6);
    opacity: 0.25;
}

.exp-card[data-pos="right3"] {
    z-index: 2;
    width: clamp(90px, 9vw, 130px);
    height: 60%;
    left: calc(50% + clamp(490px, 51vw, 660px));
    transform: translateX(-50%) perspective(900px) rotateY(-45deg) scale(0.6);
    opacity: 0.25;
}

.exp-card[data-pos="hidden-left"] {
    z-index: 1;
    left: calc(50% - 700px);
    width: 100px;
    height: 50%;
    transform: translateX(-50%) perspective(900px) rotateY(55deg) scale(0.5);
    opacity: 0;
    pointer-events: none;
}

.exp-card[data-pos="hidden-right"] {
    z-index: 1;
    left: calc(50% + 700px);
    width: 100px;
    height: 50%;
    transform: translateX(-50%) perspective(900px) rotateY(-55deg) scale(0.5);
    opacity: 0;
    pointer-events: none;
}

/* ─── FLECHAS ───────────────────────────────────── */

.exp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--blanco);
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.exp-arrow:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-50%) scale(1.08);
}

.exp-arrow-left  { left: 32px; }
.exp-arrow-right { right: 32px; }

/* ─── TEXTO HERO ────────────────────────────────── */

.exp-hero-text {
    position: relative;
    z-index: 10;
    text-align: left;
    padding: 0 0 0 clamp(32px, 8vw, 120px);
    width: 100%;
    pointer-events: none;
    margin-top: -20px;
}

.exp-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 300;
    color: var(--blanco);
    line-height: 1;
    margin: 0 0 8px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.4);
    transition: opacity 0.35s ease;
}

.exp-hero-sub {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(242,242,242,0.5);
    transition: opacity 0.35s ease;
}

/* ─── DOTS ──────────────────────────────────────── */

.exp-dots {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 18px 0 24px;
}

.exp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(242,242,242,0.22);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.exp-dot.active {
    width: 22px;
    border-radius: 999px;
    background: var(--blanco);
}

/* ─── SECCIÓN DOS MUNDOS ────────────────────────── */

.exp-mundos {
    background: var(--bg);
    padding: 100px 60px;
}

.exp-mundos-header {
    text-align: center;
    margin-bottom: 60px;
}

.exp-mundos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.exp-mundo-card {
    background: var(--blanco);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.exp-mundo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(13,13,13,0.1);
}

.exp-mundo-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.exp-mundo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform 0.5s ease;
}

.exp-mundo-card:hover .exp-mundo-img img {
    transform: scale(1.05);
}

.exp-mundo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.exp-mundo-overlay span {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
    color: var(--blanco);
}

.exp-mundo-body {
    padding: 28px;
}

.exp-mundo-body h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--negro);
    margin-bottom: 10px;
}

.exp-mundo-body p {
    font-size: 14px;
    color: var(--gris-osc);
    line-height: 1.7;
    margin-bottom: 16px;
}

.exp-link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--verde);
    text-decoration: none;
    transition: letter-spacing 0.25s ease;
}

.exp-link:hover { letter-spacing: 0.1em; }

/* ─── SECCIÓN EDITORIAL ─────────────────────────── */

.exp-editorial {
    background: var(--negro);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    align-items: center;
}

.exp-editorial-img {
    height: 100%;
    min-height: 520px;
    overflow: hidden;
}

.exp-editorial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.exp-editorial-text {
    padding: 80px 70px;
}

.exp-editorial-desc {
    font-size: 15px;
    color: rgba(242,242,242,0.6);
    line-height: 1.8;
    margin-bottom: 16px;
}

.exp-cta {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--verde-cla);
    text-decoration: none;
    transition: letter-spacing 0.25s ease;
}

.exp-cta:hover { letter-spacing: 0.12em; }

/* ─── TIPOGRAFÍA COMPARTIDA ─────────────────────── */

.exp-tag {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--verde);
    margin-bottom: 14px;
    display: block;
}

.exp-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    color: var(--negro);
    line-height: 1.05;
    margin: 0 0 24px;
}

.exp-section-title em {
    font-style: italic;
    color: var(--verde);
}

/* Editorial: fondo oscuro → textos en blanco */
.exp-editorial .exp-tag        { color: var(--verde-cla); }
.exp-editorial .exp-section-title     { color: var(--blanco); }
.exp-editorial .exp-section-title em  { color: var(--verde-cla); }

/* ─── GALERÍA ───────────────────────────────────── */

.exp-galeria {
    background: var(--bg);
    padding: 100px 60px;
}

.exp-galeria-header {
    margin-bottom: 48px;
}

.exp-galeria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.exp-gal-item {
    border-radius: 20px;
    overflow: hidden;
}

.exp-gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform 0.5s ease;
}

.exp-gal-item:hover img { transform: scale(1.06); }
.exp-gal-tall  { grid-row: 1 / 3; }
.exp-gal-wide  { grid-column: 2 / 4; }

/* ─── ANIMACIONES ───────────────────────────────── */

.cn-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(.22,.68,0,1),
                transform 0.65s cubic-bezier(.22,.68,0,1);
}

.cn-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE 900px ──────────────────────────── */

@media (max-width: 900px) {
    .exp-mundos {
        padding: 70px 28px;
    }

    .exp-mundos-grid {
        grid-template-columns: 1fr;
    }

    .exp-editorial {
        grid-template-columns: 1fr;
    }

    .exp-editorial-img {
        min-height: 320px;
        height: 320px;
    }

    .exp-editorial-text {
        padding: 48px 28px;
    }

    .exp-galeria {
        padding: 70px 20px;
    }

    .exp-galeria-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .exp-gal-tall  { grid-row: auto; }
    .exp-gal-wide  { grid-column: auto; }
}

/* ─── RESPONSIVE 768px (MÓVIL) ──────────────────── */

@media (max-width: 768px) {

    /* Hero */
    .exp-hero {
        min-height: 100svh;
    }

    /* Carrusel móvil: solo card central grande + dos laterales visibles */
    .exp-carousel {
        height: 65vh;
        min-height: 320px;
    }

    /* Card central más ancha en móvil */
    .exp-card[data-pos="center"] {
        width: 62vw;
        max-width: 260px;
    }

    /* Cards laterales más pegadas y visibles */
    .exp-card[data-pos="left1"] {
        width: 28vw;
        max-width: 120px;
        left: calc(50% - 48vw);
        transform: translateX(-50%) perspective(600px) rotateY(30deg) scale(0.88);
        opacity: 0.65;
    }

    .exp-card[data-pos="right1"] {
        width: 28vw;
        max-width: 120px;
        left: calc(50% + 48vw);
        transform: translateX(-50%) perspective(600px) rotateY(-30deg) scale(0.88);
        opacity: 0.65;
    }

    /* Ocultar cards más alejadas */
    .exp-card[data-pos="left2"],
    .exp-card[data-pos="right2"],
    .exp-card[data-pos="left3"],
    .exp-card[data-pos="right3"] {
        opacity: 0;
        pointer-events: none;
    }

    /* Flechas */
    .exp-arrow {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .exp-arrow-left  { left: 10px; }
    .exp-arrow-right { right: 10px; }

    /* Texto hero centrado en móvil */
    .exp-hero-text {
        padding: 0 24px;
        text-align: center;
        margin-top: -10px;
    }

    /* Dos mundos */
    .exp-mundos {
        padding: 60px 16px;
    }

    .exp-mundos-header {
        margin-bottom: 36px;
    }

    .exp-mundos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .exp-mundo-img {
        height: 200px;
    }

    .exp-mundo-body {
        padding: 20px 16px;
    }

    /* Editorial */
     .exp-editorial {
        grid-template-columns: 1fr;
    }

    .exp-editorial-img {
        height: 420px;
        min-height: 420px;
    }

    .exp-editorial-text {
        padding: 40px 20px;
    }

    /* Galería */
    .exp-galeria {
        padding: 60px 16px;
    }

    .exp-galeria-header {
        margin-bottom: 24px;
    }

    .exp-galeria-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px;
        gap: 10px;
    }

    .exp-gal-tall  { grid-row: 1 / 3; }
    .exp-gal-wide  { grid-column: 1 / 3; grid-row: auto; height: 160px; }

    /* CTA cn-cta */
    .cn-cta {
        padding: 80px 20px;
    }

    .cn-cta-inner h2 {
        font-size: clamp(52px, 15vw, 80px);
    }
}

/* ─── RESPONSIVE 480px (MÓVIL PEQUEÑO) ─────────── */

@media (max-width: 480px) {
    .exp-card[data-pos="center"] {
        width: 68vw;
    }

    .exp-card[data-pos="left1"],
    .exp-card[data-pos="right1"] {
        width: 22vw;
    }

    .exp-card[data-pos="left1"] {
        left: calc(50% - 47vw);
    }

    .exp-card[data-pos="right1"] {
        left: calc(50% + 47vw);
    }

    .exp-galeria-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .exp-gal-tall  { grid-row: auto; height: 220px; }
    .exp-gal-wide  { grid-column: auto; height: 220px; }

    .exp-gal-item { height: 220px; }
}