/* =========================================================
   POST EVENTO — RETIRO NACIONAL DE JÓVENES 2026
   Estética: Apple + Google Photos
========================================================= */


/* =========================================================
   VARIABLES LOCALES
========================================================= */

:root {
    --post-bg: #f7f3ea;
    --post-bg-soft: #fbf9f4;
    --post-surface: rgba(255, 255, 255, 0.82);
    --post-surface-solid: #ffffff;

    --post-navy: #0b1626;
    --post-navy-soft: #14243a;
    --post-blue: #1d3859;

    --post-gold: #c79b4b;
    --post-gold-soft: #e7d2a3;

    --post-text: #172033;
    --post-text-soft: #667085;
    --post-border: rgba(11, 22, 38, 0.1);

    --post-shadow-sm:
        0 10px 30px rgba(11, 22, 38, 0.08);

    --post-shadow-md:
        0 24px 70px rgba(11, 22, 38, 0.14);

    --post-shadow-lg:
        0 36px 100px rgba(11, 22, 38, 0.22);

    --post-radius-sm: 18px;
    --post-radius-md: 28px;
    --post-radius-lg: 38px;
    --post-radius-pill: 999px;

    --post-transition:
        220ms ease;
}


/* =========================================================
   BASE LOCAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at top left,
            rgba(199, 155, 75, 0.08),
            transparent 30%
        ),
        var(--post-bg);

    color: var(--post-text);
    overflow-x: hidden;
}

body.is-locked {
    overflow: hidden;
}

main {
    position: relative;
}

img,
video {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.section {
    position: relative;
    padding: 5.5rem 0;
}

.container {
    width: min(100% - 2rem, 1200px);
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--post-gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.9rem 1.35rem;
    border: 1px solid transparent;
    border-radius: var(--post-radius-pill);
    font-weight: 800;
    text-decoration: none;
    transition:
        transform var(--post-transition),
        box-shadow var(--post-transition),
        background-color var(--post-transition),
        color var(--post-transition),
        border-color var(--post-transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button--primary {
    background: var(--post-navy);
    color: #ffffff;
    box-shadow:
        0 14px 32px rgba(11, 22, 38, 0.2);
}

.button--primary:hover {
    background: var(--post-blue);
    box-shadow:
        0 18px 40px rgba(11, 22, 38, 0.26);
}

.button--secondary {
    background: transparent;
    color: var(--post-navy);
    border-color: rgba(11, 22, 38, 0.15);
}

.button--secondary:hover {
    background: var(--post-navy);
    color: #ffffff;
    border-color: var(--post-navy);
}

.section-heading {
    display: grid;
    gap: 1.4rem;
    margin-bottom: 2.8rem;
}

.section-heading h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.2rem, 7vw, 4.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.section-heading__description {
    max-width: 620px;
    margin: 0;
    color: var(--post-text-soft);
    line-height: 1.8;
}

.section-heading--light h2,
.section-heading--light .section-heading__description {
    color: #ffffff;
}


/* =========================================================
   NAVBAR
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding:
        max(0.8rem, env(safe-area-inset-top))
        0.8rem
        0;
    pointer-events: none;
}

.navbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--post-radius-pill);
    box-shadow: var(--post-shadow-sm);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    pointer-events: auto;
}

.navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--post-navy);
    text-decoration: none;
}

.navbar__brand-mark,
.footer__brand-mark {
    width: 42px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            var(--post-gold),
            #ecd59e
        );
    color: var(--post-navy);
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.navbar__brand-text,
.footer__brand span:last-child {
    display: flex;
    flex-direction: column;
}

.navbar__brand-text strong,
.footer__brand strong {
    font-size: 0.82rem;
    line-height: 1.1;
}

.navbar__brand-text small,
.footer__brand small {
    margin-top: 0.18rem;
    color: var(--post-text-soft);
    font-size: 0.65rem;
}

.navbar__toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--post-navy);
}

.navbar__toggle span {
    width: 18px;
    height: 2px;
    border-radius: 4px;
    background: #ffffff;
    transition:
        transform var(--post-transition),
        opacity var(--post-transition);
}

.navbar__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar__menu {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--post-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    backdrop-filter: blur(20px);
    transition:
        opacity var(--post-transition),
        visibility var(--post-transition),
        transform var(--post-transition);
}

.navbar__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar__menu a {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    color: var(--post-text);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar__menu a:hover {
    background: rgba(11, 22, 38, 0.06);
}

.navbar__menu .navbar__button {
    background: var(--post-navy);
    color: #ffffff;
    text-align: center;
}


/* =========================================================
   HERO VIDEO
========================================================= */

.hero-video {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding:
        8.5rem 0
        5rem;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #f8f3e9 0%,
            #f3ecdf 100%
        );
}

.hero-video__background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-video__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.55;
}

.hero-video__glow--one {
    top: -15%;
    right: -25%;
    width: 480px;
    height: 480px;
    background: rgba(199, 155, 75, 0.22);
}

.hero-video__glow--two {
    bottom: -18%;
    left: -22%;
    width: 420px;
    height: 420px;
    background: rgba(29, 56, 89, 0.12);
}

.hero-video__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.4rem;
}

.hero-video__heading {
    max-width: 850px;
}

.hero-video h1 {
    max-width: 900px;
    margin: 0;
    color: var(--post-navy);
    font-size: clamp(3.1rem, 12vw, 7.2rem);
    line-height: 0.91;
    letter-spacing: -0.07em;
}

.hero-video h1 span {
    display: block;
    color: var(--post-gold);
}

.hero-video__description {
    max-width: 680px;
    margin: 1.7rem 0 0;
    color: var(--post-text-soft);
    font-size: clamp(1rem, 3.6vw, 1.25rem);
    line-height: 1.75;
}

.hero-video__player {
    position: relative;
    overflow: hidden;
    border-radius: var(--post-radius-lg);
    background: #000000;
    box-shadow: var(--post-shadow-lg);
}

.hero-video__player::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: inherit;
    pointer-events: none;
}

.hero-video__player video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000000;
}

.hero-video__scroll {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--post-navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}


/* =========================================================
   AGRADECIMIENTO
========================================================= */

.thank-you {
    background: var(--post-bg-soft);
}

.thank-you__content {
    max-width: 900px;
    text-align: center;
}

.thank-you__symbol,
.closing-message__symbol {
    width: 56px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    margin: 0 auto 1.4rem;
    border: 1px solid rgba(199, 155, 75, 0.4);
    border-radius: 50%;
    color: var(--post-gold);
    font-size: 1.3rem;
}

.thank-you h2 {
    max-width: 850px;
    margin: 0 auto;
    font-size: clamp(2.5rem, 8vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.thank-you h2 span {
    display: block;
    color: var(--post-gold);
}

.thank-you__text {
    max-width: 760px;
    margin: 2rem auto 0;
    color: var(--post-text-soft);
    line-height: 1.9;
}

.thank-you__verse {
    max-width: 680px;
    margin: 2.4rem auto 0;
    padding: 1.5rem;
    border-left: 0;
    border-radius: var(--post-radius-md);
    background: #ffffff;
    box-shadow: var(--post-shadow-sm);
}

.thank-you__verse p {
    margin: 0;
    color: var(--post-navy);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.7;
}

.thank-you__verse cite {
    display: block;
    margin-top: 0.9rem;
    color: var(--post-gold);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   CATEGORÍAS DE GALERÍA
========================================================= */

.gallery-categories {
    background: var(--post-bg);
}

.gallery-categories__grid {
    display: grid;
    gap: 1rem;
}

.gallery-category {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: var(--post-radius-md);
    color: #ffffff;
    text-decoration: none;
    box-shadow: var(--post-shadow-sm);
    isolation: isolate;
    transition:
        transform 260ms ease,
        box-shadow 260ms ease;
}

.gallery-category:hover {
    transform: translateY(-6px);
    box-shadow: var(--post-shadow-md);
}

.gallery-category img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 650ms ease;
}

.gallery-category:hover img {
    transform: scale(1.045);
}

.gallery-category__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(11, 22, 38, 0.04) 15%,
            rgba(11, 22, 38, 0.84) 100%
        );
}

.gallery-category__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.6rem;
}

.gallery-category__meta {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-category strong {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.gallery-category__action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.1rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--post-radius-pill);
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(14px);
}

.gallery-categories__footer {
    display: flex;
    justify-content: center;
    margin-top: 2.2rem;
}


/* =========================================================
   VENTA DE VIDEOS
========================================================= */

.video-sale {
    overflow: hidden;
    background: var(--post-navy);
    color: #ffffff;
}

.video-sale__background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.video-sale__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
}

.video-sale__shape--one {
    top: -180px;
    right: -150px;
    width: 450px;
    height: 450px;
    background: rgba(199, 155, 75, 0.18);
}

.video-sale__shape--two {
    bottom: -220px;
    left: -180px;
    width: 520px;
    height: 520px;
    background: rgba(61, 103, 146, 0.2);
}

.video-sale > .container {
    position: relative;
    z-index: 1;
}

.video-products {
    display: grid;
    gap: 1.25rem;
}

.video-product {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--post-radius-md);
    background: rgba(255, 255, 255, 0.96);
    color: var(--post-text);
    box-shadow: var(--post-shadow-md);
}

.video-product__preview {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000000;
}

.video-product__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.video-product:hover .video-product__preview img {
    transform: scale(1.035);
}

.video-product__preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(11, 22, 38, 0.62) 100%
        );
    pointer-events: none;
}

.video-product__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 68px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--post-navy);
    font-size: 1rem;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%);
    transition:
        transform var(--post-transition),
        background-color var(--post-transition);
}

.video-product__play:hover {
    background: #ffffff;
    transform:
        translate(-50%, -50%)
        scale(1.06);
}

.video-product__duration {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: 0.45rem 0.75rem;
    border-radius: var(--post-radius-pill);
    background: rgba(11, 22, 38, 0.66);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.video-product__content {
    padding: 1.5rem;
}

.video-product__eyebrow {
    margin: 0 0 0.55rem;
    color: var(--post-gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.video-product h3 {
    margin: 0;
    color: var(--post-navy);
    font-size: clamp(1.65rem, 5vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.video-product__content > p:not(.video-product__eyebrow) {
    margin: 1rem 0 0;
    color: var(--post-text-soft);
    line-height: 1.75;
}

.video-product__price {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--post-border);
}

.video-product__price span {
    color: var(--post-text-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.video-product__price strong {
    color: var(--post-navy);
    font-size: 1.35rem;
}

.video-product__button {
    width: 100%;
    margin-top: 1.2rem;
}


/* =========================================================
   FORMULARIO DE COMPRA
========================================================= */

.purchase-request {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--post-radius-lg);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.purchase-request__intro {
    padding: 0.4rem;
}

.purchase-request__intro h3 {
    margin: 0;
    font-size: clamp(2rem, 7vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.purchase-request__intro > p:not(.eyebrow) {
    margin: 1.2rem 0 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.purchase-request__privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1.6rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
}

.purchase-request__privacy span {
    flex: 0 0 auto;
}

.purchase-request__privacy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    line-height: 1.65;
}

.purchase-form {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: var(--post-radius-md);
    background: #ffffff;
    color: var(--post-text);
}

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-field label {
    color: var(--post-navy);
    font-size: 0.78rem;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(11, 22, 38, 0.13);
    border-radius: 16px;
    outline: none;
    background: #fbfbfc;
    color: var(--post-text);
    transition:
        border-color var(--post-transition),
        box-shadow var(--post-transition),
        background-color var(--post-transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(199, 155, 75, 0.9);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(199, 155, 75, 0.12);
}

.form-field input.is-invalid,
.form-field select.is-invalid {
    border-color: #bf3f45;
}

.form-field__error {
    min-height: 1em;
    color: #bf3f45;
    font-size: 0.7rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.2rem;
    color: var(--post-text-soft);
    font-size: 0.76rem;
    line-height: 1.55;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 0.12rem;
    accent-color: var(--post-navy);
}

.purchase-form__status {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font-size: 0.82rem;
    line-height: 1.55;
}

.purchase-form__status.is-error {
    background: rgba(191, 63, 69, 0.09);
    color: #8f2429;
}

.purchase-form__status.is-success {
    background: rgba(46, 125, 83, 0.1);
    color: #23643f;
}

.purchase-form__submit {
    width: 100%;
    border: 0;
}

.purchase-form__loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: post-spin 800ms linear infinite;
}

@keyframes post-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   COMPARTIR FOTOS
========================================================= */

.share-photos {
    background: var(--post-bg-soft);
}

.share-photos__content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.share-photos__visual {
    position: relative;
    min-height: 480px;
}

.share-photos__photo {
    position: absolute;
    overflow: hidden;
    border: 8px solid #ffffff;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--post-shadow-md);
}

.share-photos__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share-photos__photo--one {
    top: 0;
    left: 3%;
    width: 58%;
    height: 68%;
    transform: rotate(-4deg);
}

.share-photos__photo--two {
    top: 16%;
    right: 0;
    width: 52%;
    height: 62%;
    transform: rotate(4deg);
}

.share-photos__photo--three {
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 48%;
    transform: rotate(-1deg);
}

.share-photos__text h2 {
    margin: 0;
    font-size: clamp(2.6rem, 9vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.share-photos__text > p:not(.eyebrow) {
    max-width: 620px;
    margin: 1.5rem 0 0;
    color: var(--post-text-soft);
    line-height: 1.85;
}

.share-photos__note {
    padding-left: 1rem;
    border-left: 3px solid var(--post-gold);
    font-weight: 700;
}

.share-photos__text .button {
    margin-top: 1.8rem;
}


/* =========================================================
   CIERRE
========================================================= */

.closing-message {
    background:
        linear-gradient(
            150deg,
            var(--post-navy),
            var(--post-navy-soft)
        );
    color: #ffffff;
    text-align: center;
}

.closing-message__content {
    max-width: 850px;
}

.closing-message h2 {
    margin: 0;
    font-size: clamp(2.5rem, 9vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.closing-message p {
    max-width: 680px;
    margin: 1.5rem auto 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding:
        2rem 0
        max(2rem, env(safe-area-inset-bottom));
    background: #070f1c;
    color: #ffffff;
}

.footer__content {
    display: grid;
    gap: 1.8rem;
}

.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    width: fit-content;
    color: #ffffff;
    text-decoration: none;
}

.footer__brand small {
    color: rgba(255, 255, 255, 0.55);
}

.footer__navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.3rem;
}

.footer__navigation a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.footer__navigation a:hover {
    color: #ffffff;
}

.footer__copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.72rem;
}


/* =========================================================
   MODALES
========================================================= */

.video-modal,
.request-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--post-transition),
        visibility var(--post-transition);
}

.video-modal.is-open,
.request-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.video-modal__backdrop,
.request-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 15, 0.82);
    backdrop-filter: blur(12px);
}

.video-modal__dialog,
.request-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    max-height: calc(100svh - 2rem);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--post-radius-md);
    background: #ffffff;
    box-shadow: var(--post-shadow-lg);
    transform: translateY(14px) scale(0.985);
    transition: transform var(--post-transition);
}

.video-modal.is-open .video-modal__dialog,
.request-modal.is-open .request-modal__dialog {
    transform: translateY(0) scale(1);
}

.video-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
}

.video-modal__eyebrow {
    margin: 0 0 0.25rem;
    color: var(--post-gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.video-modal__header h2 {
    margin: 0;
    font-size: 1.45rem;
}

.video-modal__close,
.request-modal__close {
    width: 42px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(11, 22, 38, 0.07);
    color: var(--post-navy);
    font-size: 1.6rem;
}

.video-modal__player {
    background: #000000;
}

.video-modal__player video {
    width: 100%;
    max-height: 68svh;
    background: #000000;
}

.video-modal__footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
}

.video-modal__footer p {
    margin: 0;
    color: var(--post-text-soft);
    font-size: 0.82rem;
}

.request-modal__dialog {
    width: min(100%, 520px);
    padding: 2rem 1.4rem;
    text-align: center;
}

.request-modal__close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
}

.request-modal__icon {
    width: 66px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: rgba(46, 125, 83, 0.12);
    color: #23643f;
    font-size: 1.6rem;
    font-weight: 900;
}

.request-modal__dialog h2 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.request-modal__dialog p {
    margin: 1rem auto 0;
    color: var(--post-text-soft);
    line-height: 1.7;
}

.request-modal__actions {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}


/* =========================================================
   MENSAJE SIN JAVASCRIPT
========================================================= */

.noscript-message {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 3000;
    padding: 1rem;
    border-radius: 16px;
    background: #8f2429;
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1.5;
    box-shadow: var(--post-shadow-md);
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 700px) {

    .container {
        width: min(100% - 3rem, 1200px);
    }

    .section {
        padding: 7rem 0;
    }

    .navbar__menu {
        right: 1.5rem;
        left: auto;
        width: min(360px, calc(100vw - 3rem));
    }

    .gallery-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-category--featured {
        grid-column: span 2;
        min-height: 560px;
    }

    .video-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .purchase-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-field--full {
        grid-column: 1 / -1;
    }

    .video-modal__footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer__content {
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    .footer__navigation {
        justify-content: center;
    }
}


/* =========================================================
   ESCRITORIO
========================================================= */

@media (min-width: 980px) {

    .site-header {
        padding-top: 1rem;
    }

    .navbar {
        min-height: 72px;
        padding: 0.7rem 0.8rem 0.7rem 1rem;
    }

    .navbar__toggle {
        display: none;
    }

    .navbar__menu {
        position: static;
        width: auto;
        display: flex;
        align-items: center;
        gap: 0.2rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        backdrop-filter: none;
    }

    .navbar__menu a {
        padding: 0.75rem 0.9rem;
    }

    .navbar__menu .navbar__button {
        margin-left: 0.4rem;
        padding-inline: 1.2rem;
        border-radius: var(--post-radius-pill);
    }

    .hero-video {
        padding-top: 10rem;
    }

    .hero-video__content {
        gap: 3.2rem;
    }

    .hero-video__player {
        border-radius: 44px;
    }

    .section-heading {
        grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
        align-items: end;
    }

    .gallery-categories__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-auto-rows: 285px;
        gap: 1.25rem;
    }

    .gallery-category {
        min-height: unset;
    }

    .gallery-category:nth-child(1),
    .gallery-category:nth-child(2),
    .gallery-category:nth-child(3),
    .gallery-category:nth-child(4) {
        grid-column: span 6;
        grid-row: span 1;
    }

    .gallery-category__content {
        padding: 2rem;
    }


    .purchase-request {
        grid-template-columns:
            minmax(0, 0.8fr)
            minmax(0, 1.2fr);
        gap: 3rem;
        padding: 2rem;
    }

    .purchase-request__intro {
        padding: 1rem;
    }

    .purchase-form {
        padding: 1.5rem;
    }

    .share-photos__content {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 0.9fr);
        gap: 5rem;
    }

    .share-photos__visual {
        min-height: 620px;
    }
}


/* =========================================================
   ACCESIBILIDAD Y MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .gallery-category:hover img,
    .video-product:hover .video-product__preview img {
        transform: none;
    }
}