/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Rotters';
    src: url('../fonts/Rotters.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #050505;
    --text-color: #FFFFFF;
    --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-mono: 'Space Mono', monospace;
    --font-signature: 'Rotters', cursive;
    --padding-global: clamp(20px, 4vw, 40px);

    /* MANIFESTO PALETTE */
    --manifesto-bg: #FAFAFA;
    --manifesto-text: #1A1A1A;

    /* Paneles independientes */
    --panel-gap: clamp(12px, 2.2vh, 24px);
    --panel-inset: clamp(10px, 2vw, 22px);
    --panel-radius: clamp(14px, 2vw, 24px);
}

body,
html {
    width: 100%;
    min-height: 100%;
    background-color: #070707;
    color: var(--text-color);
}

/* PORTFOLIO OCULTO — quitar class portfolio-is-hidden del body para volver a mostrarlo */
body.portfolio-is-hidden #portfolio,
body.portfolio-is-hidden .section-nav__item:has([data-section="portfolio"]),
body.portfolio-is-hidden #photoLightbox,
body.portfolio-is-hidden .gallery-edit-toggle,
body.portfolio-is-hidden [data-goto-portfolio] {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-bottom: var(--panel-gap);
}

/* =========================================
   PANELES INDEPENDIENTES
========================================= */

.snap-panel {
    position: relative;
    width: calc(100vw - (var(--panel-inset) * 2));
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--panel-gap);
    min-height: 100dvh;
    height: 100dvh;
    border-radius: var(--panel-radius);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 40px 120px rgba(0, 0, 0, 0.72);
    transform: translate3d(0, 0, 0) scale(0.97);
    opacity: 1;
    will-change: transform;
}

#hero.snap-panel {
    margin-top: var(--panel-gap);
}

.snap-panel.snap-panel--tall {
    height: auto;
    min-height: 100dvh;
}

/* =========================================
   SCROLL REVEAL + PARALLAX
========================================= */

.scroll-section {
    overflow: hidden;
}

.scroll-section__inner {
    width: 100%;
    will-change: transform;
}

[data-parallax-speed] {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .snap-panel {
        transform: none;
        opacity: 1;
        border-radius: 0;
        width: 100vw;
        margin: 0;
        box-shadow: none;
    }

    .scroll-section__inner {
        opacity: 1;
        transform: none;
    }
}

/* =========================================
   NAVEGACIÓN LATERAL — INDICADOR DE SECCIONES
========================================= */

.section-nav {
    position: fixed;
    right: clamp(18px, 2.2vw, 32px);
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9000;
    display: grid;
    grid-template-columns: auto 1px;
    column-gap: 14px;
    align-items: center;
    opacity: 0.28;
    pointer-events: auto;
    transition: opacity 0.45s ease;
}

.section-nav.is-expanded,
.section-nav:hover,
.section-nav:focus-within {
    opacity: 1;
}

.section-nav__track {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    width: 1px;
    height: 100%;
    min-height: 480px;
    background: rgba(255, 255, 255, 0.2);
    transition: background-color 0.4s ease;
}

.section-nav.is-expanded .section-nav__track,
.section-nav:hover .section-nav__track {
    background: rgba(255, 255, 255, 0.35);
}

.section-nav.is-theme-light .section-nav__track {
    background: rgba(26, 26, 26, 0.14);
}

.section-nav.is-theme-light.is-expanded .section-nav__track,
.section-nav.is-theme-light:hover .section-nav__track {
    background: rgba(26, 26, 26, 0.28);
}

.section-nav__progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #FFFFFF;
    transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

.section-nav.is-theme-light .section-nav__progress {
    background: #1A1A1A;
}

.section-nav__list {
    grid-column: 1;
    grid-row: 1;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    min-height: 480px;
}

.section-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.section-nav__link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    padding: 16px 2px 16px 0;
}

.section-nav__dot {
    position: absolute;
    right: calc(-14px - 0.5px);
    left: auto;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    transform: translate(50%, -50%);
    transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s ease, width 0.35s ease, height 0.35s ease;
}

.section-nav.is-expanded .section-nav__dot,
.section-nav:hover .section-nav__dot {
    width: 7px;
    height: 7px;
}

.section-nav.is-theme-light .section-nav__dot {
    border-color: rgba(26, 26, 26, 0.4);
    background: rgba(26, 26, 26, 0.08);
}

.section-nav__item.is-active .section-nav__dot {
    background: #FFFFFF;
    border-color: #FFFFFF;
    transform: translate(50%, -50%) scale(1.2);
}

.section-nav.is-theme-light .section-nav__item.is-active .section-nav__dot {
    background: #1A1A1A;
    border-color: #1A1A1A;
}

.section-nav__label {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.45);
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: color 0.35s ease, opacity 0.35s ease, max-width 0.35s ease;
}

.section-nav__item.is-active .section-nav__label {
    opacity: 0.65;
    max-width: 140px;
    color: rgba(255, 255, 255, 0.75);
}

.section-nav.is-expanded .section-nav__label,
.section-nav:hover .section-nav__label,
.section-nav:focus-within .section-nav__label {
    opacity: 1;
    max-width: 140px;
}

.section-nav.is-theme-light .section-nav__label {
    color: rgba(26, 26, 26, 0.45);
}

.section-nav.is-theme-light .section-nav__item.is-active .section-nav__label {
    color: rgba(26, 26, 26, 0.7);
}

.section-nav__item.is-active .section-nav__label,
.section-nav.is-expanded .section-nav__item.is-active .section-nav__label,
.section-nav__link:hover .section-nav__label,
.section-nav__link:focus-visible .section-nav__label {
    color: rgba(255, 255, 255, 0.95);
}

.section-nav.is-theme-light .section-nav__item.is-active .section-nav__label,
.section-nav.is-theme-light.is-expanded .section-nav__item.is-active .section-nav__label,
.section-nav.is-theme-light .section-nav__link:hover .section-nav__label,
.section-nav.is-theme-light .section-nav__link:focus-visible .section-nav__label {
    color: rgba(26, 26, 26, 0.95);
}

@media (max-width: 768px) {
    .section-nav {
        display: none;
    }
}

/* HERO PERIMETER CONTAINER */
.hero-perimeter {
    position: relative;
    width: 100%;
    height: 100%;
    padding: var(--padding-global);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #050505;

    /* Estado inicial para revelar con JS */
    visibility: hidden;
}

.hero-perimeter.is-visible {
    visibility: visible;
}

.hero-bg {
    position: absolute;
    inset: -8%;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('../images/FOTO HERO /hero.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
}

/* ESTADO REVELADO (JS activado) */
.hero-perimeter.is-visible {
    visibility: visible;
}

/* TIPOGRAFÍAS */
.mono-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ESQUINA SUPERIOR IZQUIERDA */
.corner-top-left {
    position: absolute;
    top: 20px;
    left: 25px;
    z-index: 2;
}

.hero-private-link {
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.52);
    text-decoration: none;
    letter-spacing: 0.22em;
    font-size: 0.58rem;
    transition: color 0.35s ease, opacity 0.35s ease;
}

.hero-private-link:hover,
.hero-private-link:focus-visible {
    color: rgba(255, 255, 255, 0.92);
    outline: none;
}

/* BORDE INFERIOR AL CENTRO (Indicador Scroll animado) */
.border-bottom {
    position: absolute;
    bottom: var(--padding-global);
    left: 0;
    right: 0;
    margin-inline: auto;
    width: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-color);
    transform-origin: top;
    animation: scrollDrop 1.8s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}

@keyframes scrollDrop {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* CONTENIDO CENTRAL */
.hero-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    transform: translateY(var(--hero-scroll-y, 0px));
    opacity: var(--hero-scroll-opacity, 1);
}

.hero-perimeter.is-scroll-active .hero-center {
    transition: none;
}

#hero .corner-top-left.reveal-item,
#hero .hero-private-link.reveal-item,
#hero .border-bottom.reveal-item {
    transform: translateY(24px);
    opacity: 0;
}

#hero .corner-top-left.reveal-item.is-revealed,
#hero .hero-private-link.reveal-item.is-revealed,
#hero .border-bottom.reveal-item.is-revealed {
    transform: translateY(0);
    opacity: 1;
}

.hero-location {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 0;
}

.hero-logo {
    display: block;
    width: min(94vw, 720px);
    height: auto;
    margin: 0 auto;
    image-rendering: -webkit-optimize-contrast;
}

.hero-footer-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    /* Espacio generoso entre subtítulo y botón */
}

.hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    opacity: 1;
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(-36px);
}

.hero-cta {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    padding: 12px 30px;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.hero-cta:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    letter-spacing: 0.3em;
    /* Micro-interacción chic */
    padding: 12px 40px;
    /* Se expande ligeramente */
}

/* =========================================
   SECCIÓN 02: MANIFIESTO (Quiet Luxury)
========================================= */

.manifesto-section .scroll-section__inner,
.soma-section .scroll-section__inner {
    width: 100%;
    min-height: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.manifesto-section {
    background-color: var(--manifesto-bg);
    color: var(--manifesto-text);
    width: 100%;
    height: 100%;
    padding: 20vh var(--padding-global);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.manifesto-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    /* Respiración equilibrada entre bloques */
    max-width: 1200px;
    margin: 0 auto;
}

/* Título */
.manifesto-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    /* Peso muy fino para elegancia extrema */
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 900px;
}

/* Párrafo Contenedor */
.manifesto-content {
    max-width: 600px;
    /* Control estricto del ancho de lectura */
}

.manifesto-body {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.8;
    /* Interlineado generoso */
    font-weight: 400;
    color: #444444;
    /* Un gris un tono más bajo que el grafito principal */
}

/* Etiquetas superior e inferior (Reusando .mono-text pero ajustando kerning) */
.manifesto-label,
.manifesto-signature {
    font-size: 11px;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

/* =========================================
   SECCIÓN 04: LA MARCA (Antonio Villalobos)
========================================= */

.soma-section {
    background-color: #FAFAFA;
    color: #1A1A1A;
    width: 100%;
    height: 100%;
    padding: 18vh var(--padding-global);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.soma-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.75rem, 3.5vh, 2.75rem);
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.soma-label,
.soma-signature {
    font-size: 11px;
    letter-spacing: 0.2em;
    opacity: 0.45;
}

.soma-title {
    font-family: var(--font-sans);
    font-size: clamp(1.35rem, 3.2vw, 2.35rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #1A1A1A;
    max-width: none;
    margin: 0;
    white-space: nowrap;
}

.soma-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.soma-portrait {
    margin: 0;
    width: clamp(180px, 28vw, 240px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
}

.soma-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% 28%;
}

.soma-content {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.soma-body {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.85;
    color: #444444;
    font-weight: 400;
    text-align: center;
    width: 100%;
}

.soma-link {
    color: #1A1A1A;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.3);
    transition: opacity 0.3s ease;
}

.soma-link:hover {
    opacity: 0.6;
}

.soma-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin-top: 1rem;
}

.soma-pillar {
    padding: 2rem 1.5rem;
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 10px;
    background: #FFFFFF;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.soma-pillar:hover {
    border-color: rgba(26, 26, 26, 0.22);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.soma-pillar-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    text-align: center;
}

.soma-pillar-text {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.65;
    color: #777777;
    text-align: center;
}

@media (max-width: 768px) {
    .soma-section {
        padding: 12vh var(--padding-global);
    }

    .soma-wrapper {
        gap: 2rem;
    }

    .soma-intro {
        gap: 1.6rem;
    }

    .soma-title {
        font-size: clamp(1.05rem, 4.6vw, 1.45rem);
        max-width: none;
        line-height: 1.2;
        white-space: nowrap;
        letter-spacing: -0.01em;
    }

    .soma-portrait {
        width: clamp(168px, 42vw, 200px);
    }

    .soma-pillars {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .soma-body {
        font-size: 1rem;
        line-height: 1.75;
    }
}

/* =========================================
   ZONAS DE COBERTURA — SEO LOCAL
========================================= */

.zonas-section {
    background-color: #F4F4F4;
    color: #1A1A1A;
    width: 100%;
    height: 100%;
    padding: 16vh var(--padding-global);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.zonas-section .scroll-section__inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zonas-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    max-width: 780px;
    margin: 0 auto;
}

.zonas-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.zonas-title {
    font-family: var(--font-sans);
    font-size: clamp(1.35rem, 3.2vw, 2.2rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.25;
    max-width: 18ch;
}

.zonas-body {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
    max-width: 560px;
}

.zonas-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 1.1rem;
    margin: 0.5rem 0 0;
    padding: 0;
}

.zonas-list li {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1A1A1A;
    opacity: 0.7;
}

.zonas-note {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.6;
    color: #888888;
    margin: 0;
}

@media (max-width: 768px) {
    .zonas-section {
        padding: 12vh var(--padding-global);
    }

    .zonas-title {
        max-width: none;
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    .zonas-body {
        font-size: 0.95rem;
    }
}

/* =========================================
   SECCIÓN 05: CONTACTO
========================================= */

.contacto-section .scroll-section__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacto-section {
    position: relative;
    overflow: hidden;
    background-color: #050505;
    color: #FFFFFF;
    width: 100%;
    min-height: 100dvh;
    height: auto;
    padding: clamp(8vh, 14vh, 16vh) var(--padding-global);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacto-bg {
    position: absolute;
    inset: -40px;
    background-image:
        linear-gradient(135deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.75) 45%, rgba(5, 5, 5, 0.9) 100%),
        url('../images/FOTO HERO /hero.png');
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.45);
    z-index: 0;
}

.contacto-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    width: 100%;
    max-width: 1100px;
}

.contacto-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
    text-align: left;
    padding-right: clamp(0rem, 2vw, 2rem);
}

.contacto-label {
    font-size: 11px;
    letter-spacing: 0.25em;
    opacity: 0.45;
}

.contacto-title {
    font-family: var(--font-sans);
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: #FFFFFF;
    max-width: 420px;
}

.contacto-badge {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.04);
}

.contacto-card {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.contacto-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    pointer-events: none;
}

.contacto-corner--tl {
    top: 18px;
    left: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.contacto-corner--br {
    bottom: 18px;
    right: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.contacto-content {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 2rem;
}

.contacto-body {
    font-family: var(--font-sans);
    font-size: 1.02rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
    text-align: left;
}

.contacto-body strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.contacto-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contacto-step {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    text-align: left;
}

.contacto-step-label {
    font-size: 0.52rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.38);
}

.contacto-step-text {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.8);
}

.contacto-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.contacto-cta {
    display: inline-block;
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    transition: background 0.4s ease, border-color 0.4s ease, letter-spacing 0.4s ease, color 0.4s ease;
}

.contacto-cta:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    letter-spacing: 0.28em;
}

.contacto-note {
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.35);
}

.site-legal {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.85rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem 0.75rem;
    padding: 0.5rem var(--padding-global);
    font-size: 0.55rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.site-legal a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s ease;
    pointer-events: auto;
}

.site-legal a:hover {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .site-legal {
        bottom: 0.65rem;
        font-size: 0.5rem;
        letter-spacing: 0.12em;
        gap: 0.4rem 0.55rem;
    }
}

@media (max-width: 900px) {
    .contacto-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contacto-intro {
        align-items: center;
        text-align: center;
        padding-right: 0;
    }

    .contacto-title {
        max-width: none;
    }

    .contacto-steps {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .contacto-actions {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .contacto-section {
        padding: clamp(6vh, 10vh, 12vh) var(--padding-global) clamp(4.5rem, 9vh, 6.5rem);
    }

    .contacto-body {
        font-size: 1rem;
        line-height: 1.75;
    }
}

/* -------------------------------------
   ANIMACIONES ON-SCROLL (STAGGER)
------------------------------------- */

/* Estado 0: Lo que el navegador renderiza inicialmente (oculto y desplazado) */
.reveal-item {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-item--card {
    transform: translateY(48px) scale(0.96);
}

.reveal-item--card.is-revealed {
    transform: translateY(0) scale(1);
}

/* Estado 1: Inyectado por Javascript cuando el elemento entra en pantalla */
.reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================
   SECCIÓN 03: LOS PILARES (Stacked Cards)
========================================= */

.pilares-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    padding: 5vh var(--padding-global) clamp(4rem, 8vh, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    color: #FFFFFF;
}

.pilares-bg {
    position: absolute;
    top: -12%;
    left: -12%;
    right: -12%;
    bottom: -12%;
    background-image: url('../images/FOTO CONTENEDOR TARJETAS/contenedortrajetas.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: blur(12px) brightness(0.38);
    transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pilares-section .scroll-section__inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.35rem, 2.8vh, 2rem);
    height: auto;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding-bottom: clamp(1rem, 3vh, 2rem);
    text-align: center;
}

/* Al posarse sobre la oferta, el fondo se oscurece un poco más */
.pilares-section:has(.offer-cta:hover) .pilares-bg,
.pilares-section:has(.offer-complement:hover) .pilares-bg {
    filter: blur(14px) brightness(0.3);
}



/* Elevar los contenidos por encima de la capa de fondo */
.pilares-label,
.pilares-description,
.pilares-grid,
.offer-title,
.offer-services,
.offer-actions,
.offer-complement {
    position: relative;
    z-index: 10;
}

.pilares-label {
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    opacity: 0.7;
    text-align: center;
    color: #FFFFFF;
}

.pilares-description {
    font-family: var(--font-sans);
    font-size: clamp(0.98rem, 1.6vw, 1.08rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    max-width: 34rem;
    font-weight: 400;
    margin: 0;
}

.offer-title {
    font-family: var(--font-sans);
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

.offer-lead {
    max-width: 34rem;
    margin: 0;
}

.offer-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
}

.offer-services-label,
.offer-complement-label,
.offer-note {
    font-size: 0.62rem;
    letter-spacing: 0.26em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.offer-services-list {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    margin: 0;
    text-align: center;
}

.offer-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    margin: clamp(0.35rem, 1.2vh, 0.75rem) 0 0;
}

.offer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.4s ease,
                border-color 0.4s ease,
                letter-spacing 0.4s ease,
                padding 0.4s ease;
}

.offer-cta:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    letter-spacing: 0.28em;
    padding: 14px 44px;
}

.offer-note {
    text-align: center;
    margin: 0;
}

.offer-complement {
    margin: clamp(0.5rem, 1.5vh, 1rem) 0 0;
    padding: 0;
    border: none;
    max-width: 28rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.offer-complement-label {
    order: 1;
}

.offer-complement-text {
    order: 2;
    font-family: var(--font-sans);
    font-size: clamp(0.82rem, 1.2vw, 0.92rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.offer-complement-link {
    order: 3;
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    border: none;
    background: none;
    opacity: 1;
    text-shadow: none;
    animation: none;
    transition: color 0.3s ease;
}

.offer-complement-link:hover {
    color: #FFFFFF;
}

@keyframes demoPulse {
    0%,
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
    }
    50% {
        text-shadow: 0 0 14px rgba(255, 255, 255, 0.75);
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-complement-link {
        animation: none;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
    }
}

/* GRID DE PRECIOS (legacy — no usado en home actual) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    width: 100%;
    max-width: 1200px;
    margin-top: clamp(1.5rem, 3vh, 2.5rem);
    position: relative;
    z-index: 10;
}

/* TARJETA DE PRECIO — Glassmorphism Oscuro */
.pricing-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4),
                inset 0 0 30px rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Header de tarjeta */
.pricing-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-card-title {
    font-family: var(--font-sans);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    line-height: 1.2;
}

.pricing-card-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.45);
}

/* Banda Diagonal de Descuento */
.pricing-card-ribbon {
    position: absolute;
    top: 24px;
    right: -36px;
    background: #FFFFFF;
    color: #000000;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    padding: 6px 40px;
    transform: rotate(45deg);
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    text-align: center;
}

/* Contenedor de Precio y Descuento */
.pricing-card-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pricing-original-price {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
    letter-spacing: 0.1em;
}

/* Precio — Protagonista visual */
.pricing-card-price {
    font-family: var(--font-sans);
    font-size: clamp(2.8rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Lista de características */
.pricing-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Empuja el botón al fondo */
}

.pricing-card-features li {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.check-icon {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Botón CTA — Gris translúcido */
.pricing-card-cta {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-align: center;
    cursor: pointer;
    transition: background 0.4s ease,
                border-color 0.4s ease;
    margin-top: 0.5rem;
}

.pricing-card-cta:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Disclaimer / Justificación de descuento */
.pricing-disclaimer {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    text-align: right;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.2em;
    padding-right: 1rem;
}

@media (max-width: 768px) {
    .pricing-disclaimer {
        text-align: center;
        padding: 0 1.5rem;
        margin-top: 1.5rem;
        line-height: 1.6;
    }
}

/* Enlace "Ver portfolio" — Minimalista y sutil */
.portfolio-trigger {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.35s ease, letter-spacing 0.35s ease;
    cursor: pointer;
    padding: 2px 0;
}

.portfolio-trigger:hover {
    color: #FFFFFF;
    letter-spacing: 0.28em;
}

.portfolio-trigger.offer-complement-link {
    align-self: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: none;
    animation: none;
}

.portfolio-trigger.offer-complement-link:hover {
    color: #FFFFFF;
    letter-spacing: 0.2em;
    text-shadow: none;
}

/* =========================================
   PORTFOLIO — GALERÍA EDITORIAL
========================================= */

.portfolio-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 255, 255, 0.06), transparent 55%),
        linear-gradient(180deg, #0A0A0A 0%, #050505 45%, #0C0C0C 100%);
    color: #FFFFFF;
    padding: clamp(3.5rem, 7vh, 5.5rem) clamp(1.1rem, 3vw, 2rem) clamp(3rem, 6vh, 4.5rem);
}

.portfolio-section .scroll-section__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1.75rem, 3.5vh, 2.75rem);
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    height: auto;
}

.portfolio-intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    max-width: 36rem;
    margin: 0 auto;
}

.portfolio-label {
    font-size: 0.68rem;
    letter-spacing: 0.32em;
    color: rgba(255, 255, 255, 0.55);
}

.portfolio-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 5.2vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0;
    color: #FFFFFF;
}

.portfolio-lead {
    font-family: var(--font-sans);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
    max-width: 30rem;
}

.portfolio-chapters-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 0.85rem;
    margin-top: 0.55rem;
}

.portfolio-chapters-nav__link {
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.42);
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    background: transparent;
    transition: color 0.3s ease, background 0.3s ease;
}

.portfolio-chapters-nav__link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.portfolio-chapters-nav__link.is-active {
    color: #0A0A0A;
    background: #FFFFFF;
}

.portfolio-stage {
    position: relative;
    display: block;
}

.portfolio-chapter {
    display: none;
    flex-direction: column;
    gap: clamp(1.1rem, 2.4vh, 1.75rem);
    scroll-margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-chapter.is-active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-chapter {
        transition: none;
        transform: none;
    }
}

.portfolio-chapter__header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(0.9rem, 2vw, 1.4rem);
    align-items: end;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-chapter__index {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.4);
    padding-bottom: 0.2rem;
}

.portfolio-chapter__copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.portfolio-chapter__title {
    font-family: var(--font-sans);
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0;
    color: #FFFFFF;
}

.portfolio-chapter__text {
    font-family: var(--font-sans);
    font-size: clamp(0.88rem, 1.35vw, 0.98rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.52);
    margin: 0;
    max-width: 28rem;
}

.portfolio-chapter__grid {
    display: grid;
    gap: clamp(0.75rem, 1.4vw, 1.1rem);
}

.portfolio-chapter__grid--pair {
    grid-template-columns: 1fr 1fr;
}

.portfolio-chapter__grid--pair .portfolio-shot {
    aspect-ratio: 16 / 11;
    min-height: 220px;
}

.portfolio-chapter__grid--preboda {
    grid-template-columns: 1fr 1fr;
}

.portfolio-chapter__grid--preboda .portfolio-shot--hero {
    grid-column: 1 / -1;
}

.portfolio-chapter__grid--preboda .portfolio-shot:not(.portfolio-shot--hero) {
    aspect-ratio: 16 / 11;
    min-height: 220px;
}

.portfolio-chapter__grid--boda {
    grid-template-columns: 1fr;
}

.portfolio-chapter__grid--solo {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}

.portfolio-shot {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #111;
    overflow: hidden;
    cursor: zoom-in;
    isolation: isolate;
    text-align: left;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.portfolio-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72) 100%);
    opacity: 0.55;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.portfolio-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.portfolio-shot:hover img,
.portfolio-shot:focus-visible img {
    transform: scale(1.1);
}

.portfolio-shot:hover::after,
.portfolio-shot:focus-visible::after {
    opacity: 0.78;
}

.portfolio-shot:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.55);
    outline-offset: 3px;
}

.portfolio-shot__meta {
    position: absolute;
    left: clamp(0.9rem, 2vw, 1.35rem);
    right: clamp(0.9rem, 2vw, 1.35rem);
    bottom: clamp(0.85rem, 1.8vw, 1.25rem);
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    transform: translateY(8px);
    opacity: 0.82;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.portfolio-shot:hover .portfolio-shot__meta,
.portfolio-shot:focus-visible .portfolio-shot__meta {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-shot__index {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.55);
}

.portfolio-shot__caption {
    font-family: var(--font-sans);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: 300;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.portfolio-shot--hero {
    aspect-ratio: 16 / 9;
    min-height: clamp(220px, 42vw, 460px);
}

.portfolio-shot--tall {
    aspect-ratio: 3 / 4;
    height: 100%;
    min-height: 420px;
}

.portfolio-shot--wide {
    aspect-ratio: 21 / 9;
    min-height: 180px;
}

.portfolio-shot--feature {
    aspect-ratio: 3 / 4;
    max-height: min(78vh, 720px);
}

/* =========================================
   GALERÍA PINTEREST (columnas balanceadas)
========================================= */
.portfolio-pinterest {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(6px, 0.6vw, 12px);
    width: 100%;
    align-items: flex-start;
}

.pinterest-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 0.6vw, 12px);
}

.pinterest-shot {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    line-height: 0;
    position: relative;
}

.pinterest-shot img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.5s ease, filter 0.5s ease;
    will-change: opacity;
}

.pinterest-shot:hover img,
.pinterest-shot:focus-visible img {
    opacity: 0.9;
}

.pinterest-shot:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.55);
    outline-offset: 2px;
}

.pinterest-shot--wide {
    flex: 1 1 100%;
    width: 100%;
}

.pinterest-shot--wide img {
    width: 100%;
    height: auto;
    max-height: clamp(320px, 46vh, 560px);
    object-fit: cover;
    object-position: center;
}

@media (max-width: 860px) {
    .portfolio-pinterest {
        display: block;
        column-count: 2;
        column-gap: clamp(4px, 1vw, 8px);
    }
    .pinterest-col { display: contents; }
    .pinterest-shot {
        margin: 0 0 clamp(4px, 1vw, 8px);
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
    }
    .pinterest-shot--wide {
        -webkit-column-span: all;
        column-span: all;
        margin-top: clamp(4px, 1vw, 8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pinterest-shot img { transition: none; }
}

/* ==========================================
   EDITOR DE GALERÍA (drag & drop + exportar)
   ========================================== */
.gallery-edit-toggle {
    position: fixed;
    bottom: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(20, 20, 20, 0.55);
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    z-index: 9998;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    opacity: 0.22;
}
.gallery-edit-toggle:hover { opacity: 1; transform: scale(1.05); }
.gallery-edit-toggle.is-active {
    opacity: 1;
    background: rgba(190, 140, 90, 0.9);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.gallery-edit-toolbar {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 120%);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 22px;
    border-radius: 14px;
    background: rgba(18, 18, 18, 0.92);
    color: #fff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    z-index: 9999;
    max-width: min(720px, 92vw);
    flex-wrap: wrap;
    justify-content: center;
    font-family: inherit;
    transition: transform 0.28s ease, opacity 0.28s ease;
    opacity: 0;
    pointer-events: none;
}
.gallery-edit-toolbar.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}
.gallery-edit-toolbar__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 180px;
}
.gallery-edit-toolbar__title {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(190, 140, 90, 1);
}
.gallery-edit-toolbar__hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
}
.gallery-edit-toolbar__balance {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-variant-numeric: tabular-nums;
}
.gallery-edit-toolbar__balance span {
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}
.gallery-edit-toolbar__balance span.is-unbalanced {
    background: rgba(220, 90, 70, 0.25);
    border-color: rgba(220, 90, 70, 0.6);
    color: #ffd6cf;
}
.gallery-edit-toolbar__count {
    background: rgba(190, 140, 90, 0.18) !important;
    border-color: rgba(190, 140, 90, 0.5) !important;
    color: rgba(255, 220, 190, 0.95) !important;
    font-weight: 600;
}
.gallery-edit-toolbar__actions {
    display: flex;
    gap: 8px;
}
.gallery-edit-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(190, 140, 90, 0.9);
    background: rgba(190, 140, 90, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}
.gallery-edit-btn:hover { transform: translateY(-1px); }
.gallery-edit-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}
.gallery-edit-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.portfolio-pinterest.is-editing .pinterest-shot {
    cursor: grab;
    outline: 1px dashed rgba(190, 140, 90, 0.55);
    outline-offset: -1px;
}
.portfolio-pinterest.is-editing .pinterest-shot:active { cursor: grabbing; }
.portfolio-pinterest.is-editing .pinterest-shot--wide {
    cursor: default;
    outline: 1px dashed rgba(255, 255, 255, 0.2);
}
.pinterest-shot.is-dragging { opacity: 0.35; }
.pinterest-shot.drop-before { box-shadow: 0 -3px 0 0 rgba(190, 140, 90, 1); }
.pinterest-shot.drop-after { box-shadow: 0 3px 0 0 rgba(190, 140, 90, 1); }
.pinterest-col.drop-empty {
    outline: 2px dashed rgba(190, 140, 90, 0.9);
    outline-offset: -6px;
    min-height: 80px;
}

.pinterest-shot__delete {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.82);
    color: #fff;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    user-select: none;
    -webkit-user-select: none;
}
.portfolio-pinterest.is-editing .pinterest-shot { position: relative; }
.portfolio-pinterest.is-editing .pinterest-shot:hover .pinterest-shot__delete,
.portfolio-pinterest.is-editing .pinterest-shot__delete:hover {
    opacity: 1;
    transform: scale(1);
}
.pinterest-shot__delete:hover {
    background: rgba(220, 60, 50, 0.95);
    border-color: #fff;
}

.portfolio-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding-top: 0.35rem;
}

.portfolio-cta-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.portfolio-cta-btn,
.offer-portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.85rem 1.55rem;
    transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.portfolio-cta-btn:hover,
.offer-portfolio-link:hover {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.offer-portfolio-link {
    margin-top: 0.35rem;
    position: relative;
    z-index: 10;
}

/* Lightbox */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.photo-lightbox[hidden] {
    display: none;
}

.photo-lightbox.is-open[hidden] {
    display: flex;
}

.photo-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 3, 3, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.photo-lightbox__stage {
    position: relative;
    z-index: 1;
    margin: 0;
    width: min(92vw, 1080px);
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-lightbox.is-open .photo-lightbox__stage {
    transform: translateY(0) scale(1);
}

.photo-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(86vh - 4rem);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.photo-lightbox__img.is-ready {
    opacity: 1;
}

.photo-lightbox__caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    max-width: 720px;
    padding: 0 0.25rem;
}

.photo-lightbox__counter {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.45);
}

.photo-lightbox__title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
}

.photo-lightbox__close,
.photo-lightbox__nav {
    position: absolute;
    z-index: 2;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.photo-lightbox__close {
    top: 1.1rem;
    right: 1.25rem;
    font-size: 2rem;
    font-weight: 200;
    line-height: 1;
    padding: 0.35rem 0.55rem;
}

.photo-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.6rem;
    font-weight: 200;
    line-height: 1;
    padding: 0.5rem 0.75rem;
}

.photo-lightbox__nav--prev { left: clamp(0.35rem, 2vw, 1.5rem); }
.photo-lightbox__nav--next { right: clamp(0.35rem, 2vw, 1.5rem); }

.photo-lightbox__close:hover,
.photo-lightbox__nav:hover {
    color: #FFFFFF;
}

.photo-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.08);
}

@media (max-width: 860px) {
    .portfolio-chapter__grid--pair,
    .portfolio-chapter__grid--preboda {
        grid-template-columns: 1fr;
    }

    .portfolio-chapter__grid--pair .portfolio-shot,
    .portfolio-chapter__grid--preboda .portfolio-shot:not(.portfolio-shot--hero) {
        min-height: 0;
        aspect-ratio: 16 / 11;
    }

    .portfolio-chapter__grid--solo {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
        width: 100%;
    }

    .portfolio-shot--tall {
        min-height: 0;
        aspect-ratio: 3 / 4;
        max-height: 68vh;
    }

    .portfolio-shot--hero {
        aspect-ratio: 4 / 3;
        min-height: 240px;
    }

    .portfolio-shot--wide {
        aspect-ratio: 16 / 9;
    }

    .portfolio-shot--feature {
        max-height: none;
        aspect-ratio: 3 / 4;
    }

    .photo-lightbox__nav {
        font-size: 2rem;
        top: auto;
        bottom: 1.1rem;
        transform: none;
    }

    .photo-lightbox__nav:hover {
        transform: scale(1.06);
    }

    .photo-lightbox__nav--prev { left: 1rem; }
    .photo-lightbox__nav--next { right: 1rem; }

    .photo-lightbox__caption {
        padding-bottom: 3.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-shot img,
    .portfolio-shot__meta,
    .portfolio-shot::after,
    .photo-lightbox,
    .photo-lightbox__stage,
    .photo-lightbox__img {
        transition: none;
    }

    .portfolio-shot img {
        transform: none;
    }
}

/* =========================================
   MODAL PORTFOLIO LIGHTBOX
========================================= */

/* Capa base fullscreen — oculta por defecto */
.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Estado oculto */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estado visible */
.portfolio-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop oscuro con desenfoque */
.portfolio-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 0;
}

/* Contenedor visual del modal */
.portfolio-modal-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 3rem 2.5rem;

    /* Estética Glassmorphism coherente con las tarjetas */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);

    /* Animación de entrada */
    transform: translateY(30px) scale(0.97);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-modal.is-open .portfolio-modal-container {
    transform: translateY(0) scale(1);
}

/* Scrollbar estilizado del contenedor */
.portfolio-modal-container::-webkit-scrollbar {
    width: 4px;
}
.portfolio-modal-container::-webkit-scrollbar-track {
    background: transparent;
}
.portfolio-modal-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Botón cerrar "×" */
.portfolio-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.8rem;
    font-weight: 200;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
    padding: 4px 8px;
    z-index: 5;
}

.portfolio-modal-close:hover {
    color: #FFFFFF;
    transform: scale(1.15);
}

/* Etiqueta superior */
.portfolio-modal-label {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.4);
}

/* Título dinámico */
.portfolio-modal-title {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Galería de contenido */
.portfolio-modal-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 0;
}

/* Placeholder temporal */
.portfolio-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 2rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.portfolio-placeholder-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.portfolio-placeholder-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* Bloquear scroll del body cuando el modal está abierto */
body.modal-open {
    overflow: hidden;
}

/* Preview de dispositivo — iframe con marco de móvil */
.portfolio-preview-device {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.portfolio-device-frame {
    --phone-w: 390;
    --phone-h: 620;
    --phone-scale: 0.62;
    position: relative;
    width: calc(var(--phone-w) * 1px * var(--phone-scale));
    height: calc(var(--phone-h) * 1px * var(--phone-scale));
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    background: #000000;
}

.portfolio-device-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A0A0A;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.55rem;
    letter-spacing: 0.22em;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.portfolio-device-frame.is-ready .portfolio-device-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.portfolio-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--phone-w) * 1px);
    height: calc(var(--phone-h) * 1px);
    border: none;
    background: #000000;
    opacity: 0;
    transform: scale(var(--phone-scale));
    transform-origin: top left;
    transition: opacity 0.45s ease;
}

.portfolio-device-frame.is-ready .portfolio-iframe {
    opacity: 1;
}

.portfolio-device-caption {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.3);
}

.portfolio-preview-desc {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    max-width: 420px;
    margin: 0;
}

/* Bloque "Próximamente" para Foto y Vídeo */
.portfolio-coming-soon {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 3.5rem 2rem;
    text-align: center;
}

.portfolio-coming-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.portfolio-coming-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    max-width: 460px;
}

.portfolio-coming-cta {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 10px 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.portfolio-coming-cta:hover {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .portfolio-modal-container {
        width: 95%;
        padding: 1.35rem 1rem 1.15rem;
        max-height: 90vh;
        gap: 0.35rem;
    }
    .portfolio-modal-gallery {
        grid-template-columns: 1fr;
    }
    .portfolio-modal-title {
        margin-bottom: 0.75rem;
        font-size: 1.35rem;
    }
    .portfolio-preview-desc {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 92%;
    }
    .portfolio-preview-device {
        gap: 0.65rem;
    }
    .portfolio-device-frame {
        --phone-w: 390;
        --phone-h: 600;
        --phone-scale: 0.58;
        border-radius: 18px;
        border-width: 2px;
    }
}

@media (max-width: 380px) {
    .portfolio-device-frame {
        --phone-scale: 0.52;
    }
}

/* CONTENEDOR DE CADA PILAR */
.pilar-column {
    perspective: 800px;
}

/* PILA DE TARJETAS */
.card-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

/* TARJETA BASE COMPARTIDA */
.stacked-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tarjeta 1: Frontal (Protagonista) */
.card-front {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 3;
    overflow: hidden;
    /* Asegurar que el video no se salga de las esquinas redondeadas */
}

/* --- TARJETA CON VÍDEO (Digital Invite) --- */
.video-card {
    background-color: #FAFAFA;
    /* Fondo claro profundo */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.85;
    /* Ligera fusión visual */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente oscuro suave fijo como base */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
    transition: opacity 0.5s ease 0s;
}

.col-1:hover .video-overlay,
.col-2:hover .video-overlay,
.col-3:hover .video-overlay,
.col-1.is-active .video-overlay,
.col-2.is-active .video-overlay,
.col-3.is-active .video-overlay {
    opacity: 0;
    transition: opacity 0.6s ease 0.6s;
}

/* Póster img estático sobre el vídeo/fondo */
.video-poster-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.6s ease 0s;
}

.col-1:hover .video-poster-img,
.col-1.is-active .video-poster-img {
    opacity: 0;
    transition: opacity 0.6s ease 0.6s;
    /* Sólo la tarjeta 1 tiene vídeo de fondo, la 2 y 3 no deben desaparecer su foto estática */
}

.video-card .card-inner {
    position: relative;
    z-index: 3;
    /* Por encima del vídeo y overlay */
}

.video-card .card-number,
.video-card .card-title {
    color: #FFFFFF;
    /* Texto claro para contrastar con el degradado oscuro de base */
}

.video-card .card-desc {
    color: rgba(255, 255, 255, 0.85);
}

/* Glassmorphism para el texto sobre el vídeo/póster */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    /* Cristal puro: apenas un toque de luz blanca */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 88%;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Reflejo fino de cristal */
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Flex interno para organizar títulos interlineado */
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    text-align: center;
}

/* CONTENIDO INTERNO DE LA TARJETA PRINCIPAL */
.card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: clamp(1.2rem, 2.5vw, 2.5rem);
}

.video-card .card-inner {
    justify-content: center;
    /* Centramos verticalmente en la tarjeta de vídeo */
}

.video-card .interactive-text {
    transition: opacity 0.5s ease 0s, transform 0.5s ease 0s;
    /* Vuelta inmediata al quitar el hover */
    width: 100%;
}

.col-1:hover .interactive-text,
.col-2:hover .interactive-text,
.col-3:hover .interactive-text,
.col-1.is-active .interactive-text,
.col-2.is-active .interactive-text,
.col-3.is-active .interactive-text {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
    /* 0.6s de retardo antes de desaparecer */
    pointer-events: none;
}

.card-number {
    font-size: 11px;
    letter-spacing: 0.15em;
    opacity: 0.4;
}

.card-title {
    font-family: var(--font-sans);
    font-size: clamp(1.4rem, 2.8vw, 2.5rem);
    /* Título sólido pero sin devorar el cristal en Desktop */
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #1A1A1A;
}

.card-desc {
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 0.95vw, 0.85rem);
    /* Texto un pelín más comedido */
    line-height: 1.6;
    font-weight: 400;
    color: #888888;
}

/* -----------------------------------------------
   EFECTO HOVER
----------------------------------------------- */

/* --- TODAS LAS COLUMNAS (Video Cards): Crecer para maximizar envolvente vertical --- */
.col-1:hover .video-card,
.col-2:hover .video-card,
.col-3:hover .video-card,
.col-1.is-active .video-card,
.col-2.is-active .video-card,
.col-3.is-active .video-card {
    transform: translateY(-10px) scale(1.06);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* =========================================
   SECCIÓN 05: INVITACIONES DIGITALES SHOWCASE
========================================= */

.showcase-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    padding: 15vh var(--padding-global);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0A0A0A;
    color: #FFFFFF;
    overflow: hidden;
}

.showcase-wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr; /* Más peso al texto, menos al visual */
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.showcase-text {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente respecto al teléfono */
    align-items: flex-start;
    gap: 1.8rem;
    padding-right: 3rem;
}

.showcase-label {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3em;
}

.showcase-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.showcase-description {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    width: 100%; /* Ocupa todo el ancho disponible de su columna */
    margin-bottom: 0.5rem;
}

.showcase-actions {
    display: flex;
    gap: 1rem;
    width: 100%; /* Iguala al ancho del párrafo */
}

.showcase-cta {
    flex: 1; /* Ambos botones toman el mismo ancho */
    display: inline-block;
    padding: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
    border-radius: 2px;
    text-align: center;
}

.showcase-cta:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.showcase-visual {
    position: relative;
    width: 100%;
    max-width: 345px; 
    margin: 0 auto;
    aspect-ratio: 9/16;
    max-height: 80vh;
    border-radius: 16px; /* Bordes un poco más curvos como un móvil real */
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 5px solid rgba(255,255,255,0.15); /* 5px de ancho simulando marco de móvil */
}

.showcase-visual-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%, transparent 100%);
    pointer-events: none;
}

/* --- VARIANTE LIGHT (Foto Editorial) --- */
.showcase-section--light {
    background-color: #FAFAFA;
    color: #1A1A1A;
}

/* Grid invertido: foto izq (estrecha) + texto der (ancho) */
.showcase-section--light .showcase-wrapper {
    grid-template-columns: 2fr 3fr;
}

.showcase-title--dark {
    color: #1A1A1A;
}

.showcase-description--dark {
    color: #555555;
}

.showcase-label--dark,
.showcase-section--light .showcase-label {
    color: rgba(0, 0, 0, 0.4);
}

.showcase-cta--dark {
    border-color: rgba(0, 0, 0, 0.25);
    color: #1A1A1A;
}

.showcase-cta--dark:hover {
    background: #1A1A1A;
    color: #FFFFFF;
    border-color: #1A1A1A;
}

/* Visual tipo foto (no móvil, más cuadrado/editorial) */
.showcase-visual--photo {
    max-width: 480px;
    aspect-ratio: 3/4;
    border-radius: 6px;
    border: none;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.showcase-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   SECCIÓN 06: VIDEO SHOWCASE (Aéreo + Documental)
========================================= */

.showcase-video-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.showcase-video-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 700px;
}

.video-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    width: 100%;
}

.video-service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111111;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.video-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.video-service-card-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.video-service-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-service-card:hover .video-service-card-visual img {
    transform: scale(1.05);
}

.video-service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6) 100%);
}

.video-service-card-content {
    padding: 2rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.video-service-card-number {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

.video-service-card-title {
    font-family: var(--font-sans);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

.video-service-card-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.video-service-card .showcase-cta {
    align-self: flex-start;
}

/* =========================================
   RESPONSIVE SHOWCASE (Tablet)
========================================= */
@media (max-width: 992px) {
    .showcase-wrapper,
    .showcase-wrapper--reversed {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        direction: ltr; /* Resetear inversión en móvil */
    }
    .showcase-text {
        align-items: center;
        padding-right: 0;
    }
    .showcase-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    .showcase-visual--photo {
        max-width: 350px;
        margin: 0 auto;
    }
    .video-cards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 2rem auto 0;
    }
}

/* -----------------------------------------------
   RESPONSIVE: 1 COLUMNA EN MOBILE
----------------------------------------------- */

@media (max-width: 768px) {

    /* --- REDUCCIONES GLOBALES --- */
    :root {
        --padding-global: clamp(15px, 4vw, 20px);
    }

    /* --- HERO --- */
    .hero-location {
        margin-top: 1rem;
        margin-bottom: 0.4rem;
    }

    .hero-title {
        margin-bottom: 1.1rem;
    }

    .hero-logo {
        width: min(88vw, 420px);
    }

    .hero-footer-stack {
        gap: 2.75rem;
    }

    .corner-top-left,
    .hero-private-link {
        top: 20px;
    }

    .corner-top-left {
        left: 20px;
    }

    .hero-private-link {
        right: 20px;
    }

    .border-bottom {
        bottom: 25px;
        /* Sube la barra de scroll y el texto un pelín */
    }

    /* --- MANIFIESTO --- */
    .manifesto-section {
        padding: 10vh var(--padding-global);
    }

    .manifesto-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .manifesto-body {
        font-size: 1rem;
        line-height: 1.6;
    }

    .manifesto-wrapper {
        gap: 2rem;
    }

    /* --- NUESTRA PROPUESTA (TARJETAS) --- */
    .pilares-section {
        padding: 5vh var(--padding-global) clamp(5rem, 12vh, 8rem);
        gap: 1.5rem;
    }

    .pilares-section .scroll-section__inner {
        padding-bottom: clamp(2rem, 5vh, 3rem);
    }

    .pilares-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .offer-title {
        font-size: clamp(1.85rem, 8vw, 2.6rem);
    }

    .offer-cta {
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 14px 24px;
    }

    .offer-complement {
        margin-top: 0.35rem;
        max-width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: clamp(2rem, 5vh, 3rem);
        max-width: 450px;
    }

    .pricing-card-price {
        font-size: 2.5rem;
    }
}

/* -----------------------------------------------
   RESPONSIVE EXTRA PEQUEÑO (iPhone SE, etc.)
----------------------------------------------- */
@media (max-width: 480px) {

    .corner-top-left,
    .hero-private-link,
    .border-bottom .mono-text {
        font-size: 0.55rem;
        /* Miniaturas elegantes pero sin ser ilegibles */
    }

    .hero-subtitle {
        font-size: 0.70rem;
        transform: translateY(-4px);
        margin-top: 0.2rem;
    }
}

/* =========================================
   BOTÓN FLOTANTE WHATSAPP + TOOLTIP
========================================= */

.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.whatsapp-container.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* TOOLTIP / MINI TARJETA */
.whatsapp-tooltip {
    background: #FFFFFF;
    color: #1A1A1A;
    padding: 16px 20px;
    border-radius: 12px;
    max-width: 260px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Flechita que conecta el tooltip con el botón */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 22px;
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    border-radius: 2px;
    transform: rotate(45deg);
    box-shadow: 4px 4px 8px rgba(0,0,0,0.05);
}

.whatsapp-tooltip-text {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.5;
    color: #333333;
    margin: 0;
}

.whatsapp-tooltip-cta {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: #25D366;
    font-weight: 700;
}

/* Mostrar tooltip al hover/tap del CONTENEDOR */
.whatsapp-container:hover .whatsapp-tooltip,
.whatsapp-container.tooltip-active .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* BOTÓN CIRCULAR */
.whatsapp-float {
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #FFFFFF;
    animation: wa-pulse 2.5s infinite;
    flex-shrink: 0;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

@keyframes wa-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-container {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    .whatsapp-tooltip {
        max-width: 220px;
        padding: 14px 16px;
    }
}