/* =========================================================
   VideoBook360 - Portal público
   Landing comercial + base compartida con páginas legales
   ========================================================= */

:root {
    --bg: #07131b;
    --bg-deep: #030a0f;
    --bg-soft: #0b1a24;
    --panel: #0d202b;
    --panel-soft: rgba(15, 34, 45, .74);
    --panel-warm: rgba(41, 31, 19, .34);
    --text: #f7f5ef;
    --muted: #aeb9c0;
    --muted-strong: #d4d9dc;
    --gold: #e6aa45;
    --gold-light: #f4cb7a;
    --gold-pale: #f8e2b8;
    --line: rgba(255, 255, 255, .11);
    --line-strong: rgba(255, 255, 255, .18);
    --shadow: 0 26px 80px rgba(0, 0, 0, .34);
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, .22);
    --radius: 22px;
    --radius-small: 14px;
    --shell: 1320px;
    --header-height: 84px;
    --font-sans: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    background: var(--bg-deep);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
    display: block;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
    font: inherit;
}

.shell {
    width: min(calc(100% - 52px), var(--shell));
    margin-inline: auto;
}

.section-space {
    padding: clamp(88px, 9vw, 132px) 0;
}

.section-kicker,
.eyebrow {
    margin: 0 0 18px;
    color: var(--gold-light);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 790px;
    margin-bottom: clamp(42px, 6vw, 72px);
}

.section-heading h2,
.portal-copy h2,
.privacy-content h2,
.final-cta h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5vw, 5rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.035em;
}

.section-heading h2 span,
.portal-copy h2 span,
.privacy-content h2 span {
    color: var(--gold-light);
}

.section-heading > p:last-child,
.section-lead {
    max-width: 690px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    line-height: 1.75;
}

.section-heading-centered {
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.btn {
    min-height: 46px;
    padding: 12px 23px;
    border: 1px solid transparent;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
.nav-toggle:focus-visible {
    outline: 3px solid rgba(244, 203, 122, .62);
    outline-offset: 3px;
}

.btn-gold {
    color: #10100d;
    background: linear-gradient(135deg, #f7d58f, var(--gold));
    box-shadow: 0 14px 34px rgba(230, 170, 69, .18);
}

.btn-gold:hover {
    box-shadow: 0 18px 42px rgba(230, 170, 69, .28);
}

.btn-ghost,
.btn-outline {
    color: var(--gold-pale);
    border-color: rgba(244, 203, 122, .42);
    background: rgba(6, 17, 24, .36);
    backdrop-filter: blur(9px);
}

.btn-ghost:hover,
.btn-outline:hover {
    border-color: var(--gold-light);
    background: rgba(230, 170, 69, .08);
}

.btn-large {
    min-height: 56px;
    padding-inline: 29px;
    border-radius: 999px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    color: var(--gold-light);
    font-size: .95rem;
    font-weight: 800;
}

.text-link span {
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

/* ------------------------- header ------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: linear-gradient(180deg, rgba(2, 9, 13, .9), rgba(2, 9, 13, .66));
    backdrop-filter: blur(15px);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
    background: rgba(4, 13, 19, .96);
    border-color: var(--line);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .22);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand > img {
    width: 47px;
    height: 47px;
    filter: brightness(0) saturate(100%) invert(78%) sepia(56%) saturate(860%) hue-rotate(350deg) brightness(101%) contrast(91%);
}

.brand-copy {
    display: grid;
    gap: 0;
}

.brand-copy strong {
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -.035em;
}

.brand-copy small {
    color: #bbc2c6;
    font-size: .57rem;
    font-weight: 700;
    letter-spacing: .115em;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.15vw, 34px);
}

.primary-nav > a:not(.btn) {
    position: relative;
    padding-block: 29px;
    color: #edf0f1;
    font-size: .84rem;
    font-weight: 700;
}

.primary-nav > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 2px;
    border-radius: 99px;
    background: var(--gold);
    opacity: 0;
    transform: scaleX(.3);
    transition: opacity .2s ease, transform .2s ease;
}

.primary-nav > a:not(.btn):hover::after,
.primary-nav > a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-login {
    min-height: 42px;
    padding-inline: 20px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 99px;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------- hero -------------------------- */
.hero {
    position: relative;
    min-height: 920px;
    padding: calc(var(--header-height) + 88px) 0 52px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: -5;
    background: url("../images/home/hero-wedding-clean.jpg") center 35% / cover no-repeat;
    transform: scale(1.035);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        linear-gradient(90deg, rgba(3, 10, 15, .99) 0%, rgba(3, 10, 15, .93) 37%, rgba(3, 10, 15, .62) 61%, rgba(3, 10, 15, .42) 100%),
        linear-gradient(0deg, rgba(3, 10, 15, 1) 0%, rgba(3, 10, 15, .15) 48%, rgba(3, 10, 15, .54) 100%);
}

.hero-glow {
    position: absolute;
    z-index: -3;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.hero-glow-one {
    width: 520px;
    height: 520px;
    top: 100px;
    right: -140px;
    background: radial-gradient(circle, rgba(230, 170, 69, .14), transparent 68%);
}

.hero-glow-two {
    width: 420px;
    height: 420px;
    left: 35%;
    bottom: -220px;
    background: radial-gradient(circle, rgba(71, 142, 164, .13), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(430px, .78fr);
    gap: clamp(55px, 7vw, 110px);
    align-items: center;
}

.hero-copy {
    max-width: 730px;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(4rem, 6.2vw, 6.8rem);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.045em;
    text-shadow: 0 3px 28px rgba(0, 0, 0, .2);
}

.hero h1 span {
    display: inline-block;
    margin-top: 12px;
    color: var(--gold-light);
}

.hero-text {
    max-width: 690px;
    margin: 30px 0 34px;
    color: #e0e5e7;
    font-size: clamp(1.02rem, 1.25vw, 1.18rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-proof {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #cdd4d8;
    font-size: .77rem;
    font-weight: 700;
}

.hero-proof span {
    position: relative;
    padding-left: 17px;
}

.hero-proof span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .48em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 14px rgba(230, 170, 69, .7);
}

.hero-showcase {
    position: relative;
    min-height: 560px;
}

.showcase-orbit {
    position: absolute;
    inset: 5% -5% 0 0;
    display: grid;
    place-items: center;
    opacity: .45;
}

.showcase-orbit span {
    position: absolute;
    width: 82%;
    aspect-ratio: 1.35;
    border: 1px solid rgba(244, 203, 122, .18);
    border-radius: 50%;
    transform: rotate(-18deg);
}

.showcase-orbit span:nth-child(2) {
    width: 62%;
    transform: rotate(17deg);
}

.showcase-orbit span:nth-child(3) {
    width: 44%;
    border-color: rgba(255, 255, 255, .09);
    transform: rotate(-2deg);
}

.showcase-card {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .16);
    background: linear-gradient(145deg, rgba(17, 39, 51, .89), rgba(5, 17, 24, .84));
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
}

.showcase-card-main {
    width: min(410px, 87%);
    top: 28px;
    right: 8%;
    padding: 17px;
    border-radius: 28px;
    transform: rotate(2.5deg);
}

.showcase-card-topline {
    padding: 0 3px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted-strong);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d9635e;
    box-shadow: 0 0 0 4px rgba(217, 99, 94, .12);
}

.showcase-screen {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 19px;
    background:
        linear-gradient(180deg, rgba(6, 16, 22, .06), rgba(6, 16, 22, .72)),
        radial-gradient(circle at 50% 30%, #7a6756, #29353b 42%, #0b171e 100%);
}

.screen-camera {
    position: absolute;
    inset: 0;
}

.screen-person,
.screen-person::before,
.screen-person::after {
    position: absolute;
    content: "";
    display: block;
}

.screen-person {
    width: 88px;
    height: 158px;
    left: 38%;
    bottom: 33px;
    border-radius: 48% 48% 18px 18px;
    background: linear-gradient(180deg, #2b3035, #11171a);
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, .34));
}

.screen-person::before {
    width: 52px;
    height: 52px;
    left: 18px;
    top: -40px;
    border-radius: 50%;
    background: #1d2529;
}

.screen-person::after {
    width: 110px;
    height: 32px;
    left: -11px;
    top: 11px;
    border-radius: 50%;
    background: #2b3035;
}

.screen-person-secondary {
    left: 58%;
    transform: scale(.82);
    transform-origin: bottom;
    opacity: .83;
}

.screen-rec {
    position: absolute;
    left: 17px;
    bottom: 17px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    color: #fff;
    background: rgba(3, 10, 14, .72);
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.screen-rec span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e96b62;
}

.showcase-card-caption {
    padding: 16px 3px 3px;
    display: grid;
    gap: 3px;
}

.showcase-card-caption strong,
.showcase-card-360 strong,
.showcase-card-qr strong {
    font-size: .91rem;
}

.showcase-card-caption small,
.showcase-card-360 small,
.showcase-card-qr small {
    color: var(--muted);
    font-size: .7rem;
}

.showcase-card-360 {
    left: -2%;
    bottom: 55px;
    min-width: 235px;
    padding: 15px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: rotate(-4deg);
}

.showcase-card-360 > div:last-child,
.showcase-card-qr > div:last-child {
    display: grid;
    gap: 2px;
}

.orbit-icon {
    position: relative;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid rgba(244, 203, 122, .25);
    border-radius: 50%;
}

.orbit-icon::before,
.orbit-icon::after {
    content: "";
    position: absolute;
    inset: 18px -8px;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    transform: rotate(-17deg);
}

.orbit-icon::after {
    inset: 23px -5px;
    opacity: .38;
    transform: rotate(18deg);
}

.orbit-person {
    position: absolute;
    width: 12px;
    height: 24px;
    left: 20px;
    top: 18px;
    border-radius: 7px 7px 4px 4px;
    background: var(--gold-pale);
}

.orbit-person::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    left: 1.5px;
    top: -8px;
    border-radius: 50%;
    background: var(--gold-pale);
}

.showcase-card-qr {
    right: -2%;
    bottom: -2px;
    min-width: 245px;
    padding: 14px 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    transform: rotate(3deg);
}

.showcase-card-qr svg {
    width: 48px;
    height: 48px;
    padding: 7px;
    border-radius: 11px;
    fill: var(--gold-light);
    stroke: var(--gold-light);
    stroke-width: 2;
    background: rgba(244, 203, 122, .08);
}

.hero-bottom {
    margin-top: 45px;
}

.scroll-cue {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #a9b2b7;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.scroll-cue i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--gold-light);
    font-style: normal;
}

/* ----------------------- ecosystem ----------------------- */
.ecosystem-strip {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #07151e;
}

.ecosystem-grid {
    min-height: 150px;
    display: grid;
    grid-template-columns: 1.45fr repeat(4, .72fr);
    align-items: stretch;
}

.ecosystem-intro,
.ecosystem-step {
    padding: 30px 25px;
    border-right: 1px solid var(--line);
    display: flex;
    align-items: center;
}

.ecosystem-intro {
    padding-left: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.ecosystem-intro .section-kicker {
    margin-bottom: 9px;
}

.ecosystem-intro > strong {
    max-width: 360px;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.05;
}

.ecosystem-step {
    gap: 13px;
}

.ecosystem-step:last-child {
    border-right: 0;
}

.ecosystem-step > span {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.ecosystem-step > div {
    display: grid;
    gap: 1px;
}

.ecosystem-step strong {
    font-size: .86rem;
}

.ecosystem-step small {
    color: var(--muted);
    font-size: .68rem;
}

/* ---------------------- experiences ---------------------- */
.experiences {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 22%, rgba(230, 170, 69, .07), transparent 32%),
        linear-gradient(180deg, #081720, #07131b);
}

.experiences::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    left: -360px;
    bottom: 50px;
    border: 1px solid rgba(244, 203, 122, .08);
    border-radius: 50%;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.experience-card {
    position: relative;
    min-height: 680px;
    padding: clamp(32px, 4vw, 55px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(18, 40, 52, .92), rgba(8, 23, 32, .8));
    box-shadow: var(--shadow-soft);
}

.experience-card::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    top: -170px;
    right: -120px;
    border: 1px solid rgba(244, 203, 122, .12);
    border-radius: 50%;
}

.experience-360 {
    background:
        radial-gradient(circle at 90% 4%, rgba(194, 133, 50, .15), transparent 32%),
        linear-gradient(145deg, rgba(31, 31, 31, .92), rgba(12, 20, 25, .88));
}

.experience-number {
    position: absolute;
    right: 32px;
    top: 22px;
    color: rgba(255, 255, 255, .055);
    font-family: var(--font-display);
    font-size: clamp(5rem, 9vw, 8.5rem);
    font-weight: 700;
    line-height: 1;
}

.experience-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 35px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(244, 203, 122, .22);
    border-radius: 22px;
    background: rgba(244, 203, 122, .06);
}

.experience-icon svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: var(--gold-light);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.experience-icon.is-orbit svg ellipse {
    stroke-dasharray: 3 3;
}

.experience-label {
    margin: 0 0 14px;
    color: var(--gold-light);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.experience-card h3 {
    max-width: 560px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.45rem, 4vw, 4rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.035em;
}

.experience-copy {
    max-width: 610px;
    margin: 24px 0 26px;
    color: #c8d0d4;
    line-height: 1.75;
}

.feature-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    color: #e1e4e5;
    font-size: .9rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-light);
    font-weight: 800;
}

.experience-signature {
    position: absolute;
    left: clamp(32px, 4vw, 55px);
    right: clamp(32px, 4vw, 55px);
    bottom: 44px;
    padding-top: 19px;
    display: grid;
    gap: 3px;
    border-top: 1px solid var(--line);
}

.experience-signature span {
    color: #8f9ba2;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.experience-signature strong {
    color: var(--gold-pale);
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 600;
}

/* ------------------------- portal ------------------------- */
.portal-section {
    position: relative;
    overflow: hidden;
    background: #f1ede5;
    color: #15212a;
}

.portal-section::after {
    content: "";
    position: absolute;
    width: 640px;
    height: 640px;
    right: -270px;
    bottom: -310px;
    border: 1px solid rgba(164, 113, 40, .16);
    border-radius: 50%;
}

.portal-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(520px, 1.05fr);
    gap: clamp(50px, 7vw, 105px);
    align-items: center;
}

.portal-copy .section-kicker {
    color: #9b6d29;
}

.portal-copy h2 {
    color: #11212b;
}

.portal-copy .section-lead {
    color: #52616a;
}

.portal-feature-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 30px;
}

.portal-feature-grid article {
    padding-top: 17px;
    border-top: 1px solid rgba(18, 36, 47, .15);
}

.mini-icon {
    width: 31px;
    height: 31px;
    margin-bottom: 12px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #342718;
    background: #e7bc6c;
    font-weight: 800;
}

.portal-feature-grid h3 {
    margin: 0 0 7px;
    font-size: .94rem;
}

.portal-feature-grid p {
    margin: 0;
    color: #68757d;
    font-size: .82rem;
    line-height: 1.6;
}

.portal-copy .text-link {
    color: #8b5c1d;
}

.portal-visual {
    position: relative;
    padding: 42px 0 55px;
}

.portal-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(16, 36, 48, .14);
    border-radius: 24px;
    background: #f7f6f1;
    box-shadow: 0 38px 90px rgba(43, 36, 26, .18);
    transform: perspective(1500px) rotateY(-4deg) rotateX(1.5deg);
}

.window-bar {
    min-height: 54px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(15, 31, 42, .09);
    background: #fff;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d1cdc5;
}

.window-title {
    color: #718087;
    font-size: .63rem;
    font-weight: 700;
}

.window-avatar {
    justify-self: end;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #20170b;
    background: #eac16e;
    font-size: .58rem;
    font-weight: 800;
}

.window-content {
    min-height: 430px;
    display: grid;
    grid-template-columns: 128px 1fr;
}

.portal-sidebar {
    padding: 22px 13px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #10232e;
    color: #c4ccd0;
}

.sidebar-brand {
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
}

.sidebar-brand i {
    width: 16px;
    height: 16px;
    border: 4px solid var(--gold);
    border-radius: 50%;
}

.portal-sidebar > span {
    padding: 8px 9px;
    border-radius: 8px;
    font-size: .54rem;
    font-weight: 700;
}

.portal-sidebar > span.active {
    color: #fff;
    background: rgba(255, 255, 255, .09);
}

.portal-gallery {
    padding: 24px;
    background: #f6f4ef;
}

.gallery-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.gallery-top > div {
    display: grid;
}

.gallery-top small {
    color: #a07a3b;
    font-size: .48rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.gallery-top strong {
    color: #192a34;
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.gallery-top button {
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    color: #17140f;
    background: #e7b65b;
    font-size: .51rem;
    font-weight: 800;
}

.gallery-cards {
    margin-top: 19px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gallery-card {
    padding: 8px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(17, 36, 47, .08);
    border-radius: 13px;
    background: #fff;
}

.gallery-card strong {
    padding: 2px 3px 0;
    font-size: .55rem;
}

.gallery-card small {
    padding: 0 3px 4px;
    color: #839097;
    font-size: .48rem;
}

.gallery-media,
.photo-grid {
    height: 105px;
    border-radius: 9px;
    overflow: hidden;
}

.gallery-media {
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 18, 24, .08), rgba(8, 18, 24, .54)),
        linear-gradient(135deg, #9a7d68, #21313a);
}

.gallery-media span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(0, 0, 0, .22);
    font-size: .57rem;
    font-weight: 800;
}

.is-360 .gallery-media {
    background: linear-gradient(135deg, #5c4536, #171f24 68%);
}

.is-360 .gallery-media span {
    width: 48px;
    height: 48px;
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: #d9d3c8;
}

.photo-grid i {
    background: linear-gradient(135deg, #a58670, #35464d);
}

.photo-grid i:nth-child(2),
.photo-grid i:nth-child(3) {
    background: linear-gradient(135deg, #c0a48d, #58666c);
}

.gallery-card.dimmed {
    opacity: .7;
}

.portal-badge {
    position: absolute;
    z-index: 2;
    right: -18px;
    bottom: 6px;
    min-width: 250px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    color: #fff;
    background: #0d222e;
    box-shadow: 0 18px 50px rgba(21, 30, 33, .25);
}

.badge-lock {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--gold-light);
    background: rgba(230, 170, 69, .1);
    font-size: 1.3rem;
}

.portal-badge > div {
    display: grid;
    gap: 2px;
}

.portal-badge strong {
    font-size: .75rem;
}

.portal-badge small {
    color: #acb8be;
    font-size: .6rem;
}

/* ----------------------- workflow ------------------------ */
.workflow {
    background:
        radial-gradient(circle at 50% 0%, rgba(230, 170, 69, .07), transparent 36%),
        #081720;
}

.workflow-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.workflow-track::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 54px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 170, 69, .48), transparent);
}

.workflow-step {
    position: relative;
    z-index: 1;
    padding: 25px 24px 30px;
    text-align: center;
}

.workflow-number {
    position: absolute;
    top: 5px;
    right: 18px;
    color: rgba(255, 255, 255, .08);
    font-family: var(--font-display);
    font-size: 2.3rem;
}

.workflow-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(230, 170, 69, .28);
    border-radius: 50%;
    color: var(--gold-light);
    background: #0c202b;
    box-shadow: 0 0 0 8px #081720;
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.workflow-step h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
}

.workflow-step p {
    margin: 0;
    color: var(--muted);
    font-size: .83rem;
    line-height: 1.7;
}

/* ----------------------- privacy ------------------------- */
.privacy-section {
    overflow: hidden;
    background: #061119;
}

.privacy-grid {
    display: grid;
    grid-template-columns: minmax(380px, .75fr) minmax(0, 1fr);
    gap: clamp(60px, 9vw, 140px);
    align-items: center;
}

.privacy-visual {
    position: relative;
    min-height: 530px;
    display: grid;
    place-items: center;
}

.privacy-ring {
    position: absolute;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(244, 203, 122, .15);
    border-radius: 50%;
}

.privacy-ring.ring-two {
    width: 270px;
    height: 270px;
    border-color: rgba(255, 255, 255, .08);
}

.privacy-lock {
    position: relative;
    z-index: 2;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(244, 203, 122, .27);
    border-radius: 42px;
    background: linear-gradient(145deg, rgba(27, 50, 62, .95), rgba(9, 25, 34, .95));
    box-shadow: 0 25px 80px rgba(0, 0, 0, .35), 0 0 70px rgba(230, 170, 69, .08);
    transform: rotate(4deg);
}

.privacy-lock svg {
    width: 78px;
    fill: none;
    stroke: var(--gold-light);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.privacy-chip {
    position: absolute;
    z-index: 3;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #dbe0e2;
    background: rgba(12, 30, 40, .88);
    box-shadow: var(--shadow-soft);
    font-size: .68rem;
    font-weight: 700;
}

.chip-one {
    top: 100px;
    left: 3%;
}

.chip-two {
    right: 2%;
    top: 185px;
}

.chip-three {
    left: 12%;
    bottom: 95px;
}

.privacy-content .section-lead {
    max-width: 700px;
}

.privacy-points {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.privacy-points > div {
    padding: 17px 18px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .025);
}

.privacy-points strong {
    color: #f2f3f2;
    font-size: .82rem;
}

.privacy-points span {
    color: #9eabb2;
    font-size: .72rem;
    line-height: 1.5;
}

/* ----------------------- occasions ----------------------- */
.occasions {
    background: #0a1a24;
}

.occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.occasion-card {
    min-height: 290px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        linear-gradient(180deg, transparent, rgba(5, 14, 20, .84)),
        radial-gradient(circle at 70% 15%, rgba(230, 170, 69, .12), transparent 34%),
        #102631;
    transition: transform .22s ease, border-color .22s ease;
}

.occasion-card:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 203, 122, .28);
}

.occasion-card > span {
    margin-bottom: auto;
    color: rgba(244, 203, 122, .55);
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.occasion-card h3 {
    margin: 0 0 9px;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
}

.occasion-card p {
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.65;
}

/* -------------------------- faq -------------------------- */
.faq-section {
    background: #07131b;
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(320px, .7fr) minmax(0, 1fr);
    gap: clamp(60px, 8vw, 120px);
    align-items: start;
}

.faq-grid .section-heading {
    position: sticky;
    top: calc(var(--header-height) + 35px);
    margin-bottom: 0;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    position: relative;
    padding: 25px 48px 25px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 22px;
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--gold-light);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 740px;
    margin: -6px 50px 26px 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.75;
}

/* ----------------------- final cta ----------------------- */
.final-cta {
    padding: 92px 0;
    border-top: 1px solid rgba(244, 203, 122, .13);
    border-bottom: 1px solid rgba(244, 203, 122, .13);
    background:
        radial-gradient(circle at 85% 50%, rgba(230, 170, 69, .14), transparent 32%),
        linear-gradient(120deg, #132a35, #07141c 70%);
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
}

.final-cta h2 {
    font-size: clamp(3rem, 5vw, 5.2rem);
}

.final-cta p:last-child {
    max-width: 650px;
    margin: 16px 0 0;
    color: #b8c2c7;
}

.final-cta-actions {
    flex: 0 0 auto;
    display: grid;
    gap: 11px;
    min-width: 255px;
}

/* ------------------------- footer ------------------------- */
.site-footer {
    padding: 58px 0 64px;
    background: #030b10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.1fr .85fr 1fr 1fr;
    gap: clamp(35px, 5vw, 70px);
}

.footer-grid h2 {
    margin: 3px 0 16px;
    color: #f0f1ef;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) > a {
    display: block;
    margin-block: 9px;
    color: #96a2a9;
    font-size: .78rem;
}

.footer-grid > div:not(.footer-brand) > a:hover {
    color: var(--gold-light);
}

.footer-brand > p {
    max-width: 440px;
    margin: 18px 0 0;
    color: #849199;
    font-size: .76rem;
    line-height: 1.65;
}

.footer-brand .footer-copyright {
    margin-top: 11px;
    color: #626e75;
    font-size: .68rem;
}

.footer-access {
    margin-top: 18px !important;
    color: var(--gold-light) !important;
    font-weight: 800;
}

/* ------------------------- reveal ------------------------- */
.reveal {
    opacity: 1;
    transform: none;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.experience-grid .reveal:nth-child(2),
.portal-feature-grid .reveal:nth-child(2),
.workflow-track .reveal:nth-child(2),
.occasion-grid .reveal:nth-child(2) {
    transition-delay: .08s;
}

.workflow-track .reveal:nth-child(3),
.occasion-grid .reveal:nth-child(3) {
    transition-delay: .14s;
}

.workflow-track .reveal:nth-child(4),
.occasion-grid .reveal:nth-child(4) {
    transition-delay: .2s;
}

/* ---------------------- responsive ----------------------- */
@media (max-width: 1180px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 430px;
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(3.8rem, 6.5vw, 5.9rem);
    }

    .showcase-card-main {
        right: 0;
    }

    .showcase-card-qr {
        right: -4%;
    }

    .ecosystem-grid {
        grid-template-columns: 1.35fr repeat(4, .8fr);
    }

    .ecosystem-intro,
    .ecosystem-step {
        padding-inline: 18px;
    }

    .ecosystem-intro {
        padding-left: 0;
    }

    .portal-grid {
        grid-template-columns: .85fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 1100px) {
    :root {
        --header-height: 76px;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-height));
        padding: 14px 26px 26px;
        display: none;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid var(--line);
        background: rgba(4, 14, 20, .985);
        box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
    }

    .primary-nav.open {
        display: flex;
    }

    .primary-nav > a:not(.btn) {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        font-size: .9rem;
    }

    .primary-nav > a:not(.btn)::after {
        display: none;
    }

    .nav-login {
        margin-top: 14px;
    }

    .hero {
        min-height: 870px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 380px;
    }

    .showcase-screen {
        min-height: 290px;
    }

    .showcase-card-360 {
        left: -4%;
    }

    .ecosystem-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ecosystem-intro {
        grid-column: 1 / -1;
        padding: 28px 0 18px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .ecosystem-step {
        padding-block: 22px;
    }

    .portal-grid,
    .privacy-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .portal-copy {
        max-width: 840px;
    }

    .portal-visual {
        max-width: 800px;
        width: 100%;
        margin-inline: auto;
    }

    .privacy-visual {
        order: 2;
        max-width: 650px;
        width: 100%;
        margin-inline: auto;
    }

    .privacy-content {
        order: 1;
    }

    .faq-grid .section-heading {
        position: static;
    }

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

    .final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .final-cta-actions {
        width: min(100%, 520px);
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-grid > div:last-child {
        grid-column: 2 / 4;
    }
}

@media (max-width: 860px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 70px);
    }

    .hero-image {
        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(3, 10, 15, .45) 0%, rgba(3, 10, 15, .73) 32%, rgba(3, 10, 15, .98) 69%, #030a0f 100%),
            linear-gradient(90deg, rgba(3, 10, 15, .75), rgba(3, 10, 15, .26));
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-copy {
        padding-top: 270px;
    }

    .hero h1 {
        font-size: clamp(3.75rem, 11vw, 6rem);
    }

    .hero-showcase {
        min-height: 500px;
        max-width: 600px;
        width: 100%;
        margin-inline: auto;
    }

    .showcase-card-main {
        right: 9%;
        width: min(400px, 78%);
    }

    .showcase-card-360 {
        left: 3%;
    }

    .showcase-card-qr {
        right: 1%;
    }

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

    .experience-card {
        min-height: 640px;
    }

    .workflow-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .workflow-track::before {
        display: none;
    }

    .workflow-step {
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255, 255, 255, .018);
    }

    .workflow-icon {
        box-shadow: none;
    }
}

@media (max-width: 720px) {
    :root {
        --header-height: 70px;
    }

    .shell {
        width: min(calc(100% - 30px), var(--shell));
    }

    .header-inner {
        min-height: var(--header-height);
    }

    .brand > img {
        width: 40px;
        height: 40px;
    }

    .brand-copy strong {
        font-size: 1.08rem;
    }

    .brand-copy small {
        font-size: .47rem;
    }

    .section-space {
        padding: 82px 0;
    }

    .section-heading h2,
    .portal-copy h2,
    .privacy-content h2,
    .final-cta h2 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .hero {
        padding-top: var(--header-height);
        padding-bottom: 38px;
    }

    .hero-copy {
        padding-top: 330px;
    }

    .hero h1 {
        font-size: clamp(3.65rem, 16vw, 5.35rem);
    }

    .hero-text {
        margin-top: 23px;
        font-size: .98rem;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-proof {
        display: grid;
        gap: 8px;
    }

    .hero-showcase {
        min-height: 450px;
    }

    .showcase-card-main {
        top: 5px;
        right: 3%;
        width: 82%;
    }

    .showcase-screen {
        min-height: 250px;
    }

    .showcase-card-360 {
        left: 0;
        bottom: 46px;
        min-width: 208px;
    }

    .showcase-card-qr {
        right: 0;
        min-width: 208px;
    }

    .hero-bottom {
        margin-top: 15px;
    }

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

    .ecosystem-step:nth-child(3) {
        border-right: 0;
    }

    .ecosystem-step:nth-child(2),
    .ecosystem-step:nth-child(3) {
        border-bottom: 1px solid var(--line);
    }

    .experience-card {
        min-height: 690px;
        padding: 31px 26px;
        border-radius: 22px;
    }

    .experience-card h3 {
        font-size: clamp(2.4rem, 11vw, 3.5rem);
    }

    .experience-signature {
        left: 26px;
        right: 26px;
        bottom: 32px;
    }

    .portal-feature-grid,
    .privacy-points {
        grid-template-columns: 1fr;
    }

    .portal-visual {
        padding-bottom: 80px;
    }

    .portal-window {
        transform: none;
    }

    .window-content {
        grid-template-columns: 82px 1fr;
        min-height: 355px;
    }

    .portal-sidebar {
        padding-inline: 8px;
    }

    .sidebar-brand {
        font-size: 0;
        justify-content: center;
    }

    .sidebar-brand i {
        width: 20px;
        height: 20px;
    }

    .portal-sidebar > span {
        padding: 8px 4px;
        text-align: center;
        font-size: .43rem;
    }

    .portal-gallery {
        padding: 16px 13px;
    }

    .gallery-cards {
        gap: 7px;
    }

    .gallery-media,
    .photo-grid {
        height: 78px;
    }

    .portal-badge {
        right: 10px;
        left: 10px;
        bottom: 12px;
        min-width: 0;
    }

    .workflow-track {
        grid-template-columns: 1fr;
    }

    .privacy-visual {
        min-height: 440px;
    }

    .privacy-ring {
        width: 330px;
        height: 330px;
    }

    .privacy-ring.ring-two {
        width: 225px;
        height: 225px;
    }

    .chip-one {
        left: 0;
    }

    .chip-two {
        right: 0;
    }

    .chip-three {
        left: 4%;
    }

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

    .occasion-card {
        min-height: 230px;
    }

    .faq-list summary {
        font-size: 1.2rem;
    }

    .final-cta-actions {
        grid-template-columns: 1fr;
        width: 100%;
    }

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

    .footer-brand,
    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .brand-copy small {
        display: none;
    }

    .hero-copy {
        padding-top: 285px;
    }

    .hero h1 {
        font-size: 3.45rem;
    }

    .hero-showcase {
        min-height: 420px;
    }

    .showcase-card-main {
        width: 88%;
        right: 1%;
    }

    .showcase-card-360,
    .showcase-card-qr {
        min-width: 190px;
        padding: 12px;
    }

    .showcase-card-360 {
        bottom: 42px;
    }

    .showcase-card-qr {
        bottom: -9px;
    }

    .orbit-icon {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
    }

    .orbit-person {
        left: 16px;
        top: 15px;
    }

    .ecosystem-step {
        min-height: 86px;
        padding: 17px 11px;
    }

    .ecosystem-step > span {
        font-size: 1.25rem;
    }

    .ecosystem-step small {
        font-size: .61rem;
    }

    .experience-card {
        min-height: 745px;
    }

    .experience-number {
        right: 17px;
    }

    .window-bar {
        grid-template-columns: 1fr 1fr;
    }

    .window-title {
        display: none;
    }

    .gallery-card:nth-child(4) {
        display: none;
    }

    .gallery-cards {
        grid-template-columns: 1fr 1fr;
    }

    .privacy-chip {
        font-size: .59rem;
    }

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

    .footer-brand,
    .footer-grid > div:last-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* ===================== PÁGINAS LEGALES ===================== */

.legal-page {
    background: radial-gradient(circle at 82% 8%, rgba(238, 178, 79, .08), transparent 28%), var(--bg-deep)
}

.legal-page .site-header {
    position: fixed
}

.legal-header-actions {
    display: flex;
    align-items: center;
    gap: 22px
}

.legal-back-link {
    color: var(--muted);
    font-weight: 650;
    transition: color .2s ease
}

.legal-back-link:hover {
    color: var(--gold-light)
}

.legal-main {
    min-height: 100vh;
    padding-top: 84px
}

.legal-hero {
    padding: 88px 0 64px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(120deg, rgba(8, 26, 37, .96), rgba(3, 11, 17, .78)), url("../images/home/hero-wedding-clean.jpg") center 42%/cover no-repeat
}

.legal-hero h1 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -.05em
}

.legal-intro {
    max-width: 760px;
    margin: 24px 0 0;
    color: #e1e5e8;
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.65
}

.legal-updated {
    margin: 20px 0 0;
    color: var(--gold-light);
    font-size: .88rem;
    font-weight: 700
}

.legal-content {
    padding: 64px 0 88px;
    background: radial-gradient(circle at 0 10%, rgba(238, 178, 79, .045), transparent 30%), #07131b
}

.legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 42px;
    align-items: start
}

.legal-index {
    position: sticky;
    top: 112px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(13, 29, 39, .84);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
    backdrop-filter: blur(12px)
}

.legal-index>strong {
    display: block;
    margin-bottom: 14px;
    color: var(--gold-light);
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase
}

.legal-index nav {
    display: grid
}

.legal-index a {
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.25;
    transition: color .2s ease, padding-left .2s ease
}

.legal-index a:last-child {
    border-bottom: 0
}

.legal-index a:hover {
    padding-left: 4px;
    color: var(--gold-light)
}

.legal-document {
    min-width: 0;
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(18, 36, 48, .92), rgba(10, 24, 33, .9));
    box-shadow: var(--shadow)
}

.legal-document section {
    scroll-margin-top: 118px;
    padding: 0 0 34px;
    margin: 0 0 34px;
    border-bottom: 1px solid rgba(255, 255, 255, .09)
}

.legal-document section:last-of-type {
    margin-bottom: 0
}

.legal-document h2 {
    margin: 0 0 18px;
    color: var(--gold-light);
    font-size: clamp(1.25rem, 2.1vw, 1.7rem);
    line-height: 1.25;
    letter-spacing: -.02em
}

.legal-document p,
.legal-document li,
.legal-data dd {
    color: #d5dadd;
    font-size: 1rem;
    line-height: 1.72
}

.legal-document p {
    margin: 0 0 16px
}

.legal-document ul {
    margin: 10px 0 20px;
    padding-left: 22px
}

.legal-document li {
    padding-left: 6px;
    margin-bottom: 9px
}

.legal-document li::marker {
    color: var(--gold)
}

.legal-notice {
    margin-bottom: 38px;
    padding: 20px 22px;
    border: 1px solid rgba(238, 178, 79, .35);
    border-radius: 14px;
    background: rgba(238, 178, 79, .08)
}

.legal-notice strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-light)
}

.legal-notice p {
    margin: 0;
    color: #eef0f1
}

.legal-data {
    display: grid;
    margin: 26px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px
}

.legal-data>div {
    display: grid;
    grid-template-columns: minmax(170px, .7fr) minmax(0, 1.8fr);
    gap: 18px;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.legal-data>div:last-child {
    border-bottom: 0
}

.legal-data dt {
    color: #fff;
    font-weight: 750
}

.legal-data dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere
}

.legal-data a,
.legal-inline-link {
    color: var(--gold-light);
    text-decoration: underline;
    text-decoration-color: rgba(245, 202, 120, .45);
    text-underline-offset: 4px
}

.legal-data a:hover,
.legal-inline-link:hover {
    text-decoration-color: var(--gold-light)
}

.legal-closing {
    margin-top: 38px;
    padding: 20px 22px;
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, .035)
}

.legal-closing p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem
}

@media(max-width:980px) {
    .legal-layout {
        grid-template-columns: 1fr
    }

    .legal-index {
        position: static
    }

    .legal-index nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 24px
    }
}

@media(max-width:720px) {
    .legal-main {
        padding-top: 70px
    }

    .legal-header-actions {
        gap: 10px
    }

    .legal-back-link {
        display: none
    }

    .legal-header-actions .btn {
        min-height: 40px;
        padding: 9px 15px
    }

    .legal-hero {
        padding: 64px 0 46px;
        background-position: 63% center
    }

    .legal-content {
        padding: 30px 0 56px
    }

    .legal-index {
        padding: 18px
    }

    .legal-index nav {
        grid-template-columns: 1fr
    }

    .legal-document {
        padding: 22px 18px
    }

    .legal-data>div {
        grid-template-columns: 1fr;
        gap: 5px
    }

    .legal-document p,
    .legal-document li,
    .legal-data dd {
        font-size: .95rem;
        line-height: 1.65
    }
}

@media(max-width:430px) {
    .legal-page .brand-copy small {
        display: none
    }

    .legal-page .brand-copy strong {
        font-size: 1rem
    }

    .legal-page .brand>img {
        width: 37px;
        height: 37px
    }

    .legal-hero h1 {
        font-size: 2.65rem
    }
}


/* ===================== PRIVACIDAD ========================== */

.legal-hero-privacy {
    background:
        linear-gradient(120deg, rgba(8, 26, 37, .97), rgba(3, 11, 17, .76)),
        url("../images/home/hero-wedding-clean.jpg") center 48% / cover no-repeat;
}

.privacy-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 26px 0 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
}

.privacy-summary>div {
    padding: 19px 20px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .025);
}

.privacy-summary>div:nth-child(2n) {
    border-right: 0;
}

.privacy-summary>div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.privacy-summary strong {
    display: block;
    margin-bottom: 7px;
    color: var(--gold-light);
    font-size: .92rem;
}

.privacy-summary p {
    margin: 0;
    color: #d7dcdf;
    font-size: .93rem;
    line-height: 1.55;
}

.retention-table {
    display: grid;
    margin: 24px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
}

.retention-table>div {
    display: grid;
    grid-template-columns: minmax(190px, .75fr) minmax(0, 1.7fr);
    gap: 20px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.retention-table>div:last-child {
    border-bottom: 0;
}

.retention-table strong {
    color: #fff;
}

.retention-table span {
    color: #d5dadd;
    line-height: 1.6;
}

.legal-document strong {
    color: #fff;
}

@media (max-width: 720px) {
    .privacy-summary {
        grid-template-columns: 1fr;
    }

    .privacy-summary>div,
    .privacy-summary>div:nth-child(2n),
    .privacy-summary>div:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .privacy-summary>div:last-child {
        border-bottom: 0;
    }

    .retention-table>div {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}


/* ===================== COOKIES ============================= */

.legal-hero-cookies {
    background: linear-gradient(120deg, rgba(8, 26, 37, .97), rgba(3, 11, 17, .78)), url("../images/home/hero-wedding-clean.jpg") center 50%/cover no-repeat
}

.legal-notice-success {
    border-color: rgba(92, 196, 146, .38);
    background: rgba(42, 126, 88, .13)
}

.legal-notice-success strong {
    color: #92e0b8
}

.cookie-table-wrap {
    margin: 26px 0;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px
}

.cookie-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse
}

.cookie-table th,
.cookie-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.cookie-table th:last-child,
.cookie-table td:last-child {
    border-right: 0
}

.cookie-table tbody tr:last-child td {
    border-bottom: 0
}

.cookie-table th {
    color: var(--gold-light);
    background: rgba(255, 255, 255, .035);
    font-size: .88rem
}

.cookie-table td {
    color: #d5dadd;
    font-size: .92rem;
    line-height: 1.55
}

.cookie-table code {
    color: #fff;
    font-size: .9rem;
    overflow-wrap: anywhere
}

.cookie-name-note {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.35
}

.cookie-warning {
    margin: 24px 0 8px;
    padding: 20px 22px;
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    background: rgba(238, 178, 79, .08)
}

.cookie-warning strong {
    display: block;
    margin-bottom: 7px;
    color: var(--gold-light)
}

.cookie-warning p {
    margin: 0;
    color: #e7e9ea
}

.legal-document code {
    padding: 2px 6px;
    border-radius: 5px;
    color: #fff;
    background: rgba(255, 255, 255, .07)
}

@media(max-width:720px) {
    .cookie-table-wrap {
        margin-inline: -4px
    }

    .cookie-warning {
        padding: 18px
    }
}


/* ===== Ajustes del layout público común ===== */
.public-page main {
    min-height: 1px;
}

.legal-page .site-header {
    position: fixed;
}