:root {
    --legal-cream: #f8f0dc;
    --legal-cream-strong: #f3e7cc;
    --legal-surface: #fffaf1;
    --legal-surface-deep: #eee3cc;
    --legal-ink: #2f2f2f;
    --legal-brown: #4f4f4f;
    --legal-dark: #4f4f4f;
    --legal-dark-soft: #626262;
    --legal-charcoal: #3f3f3f;
    --legal-muted: #77736c;
    --legal-gold: #d0aa57;
    --legal-gold-dark: #b88f3f;
    --legal-gold-soft: #e0c27d;
    --legal-line: #ded1b7;
    --legal-shadow: rgba(40, 40, 40, 0.16);
    --whatsapp: #25d366;
}

[x-cloak] {
    display: none !important;
}

.visitor-page {
    min-height: 100vh;
    color: var(--legal-ink);
    background:
        linear-gradient(180deg, rgba(248, 240, 220, 0.92), rgba(243, 231, 204, 0.95)),
        var(--legal-cream);
}

.legal-header {
    border-bottom: 1px solid rgba(222, 209, 183, 0.78);
    background: rgba(248, 240, 220, 0.92);
    box-shadow: 0 10px 30px rgba(40, 40, 40, 0.08);
    backdrop-filter: blur(16px);
}

.legal-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--legal-ink);
    font-family: "Figtree", Arial, sans-serif;
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    font-weight: 800;
    line-height: 1;
}

.legal-brand-mark {
    display: inline-flex;
    width: 1.7rem;
    height: 1.7rem;
    align-items: center;
    justify-content: center;
    color: var(--legal-gold);
}

.legal-brand-mark svg {
    width: 100%;
    height: 100%;
}

.legal-outline-button,
.legal-secondary-button,
.legal-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.legal-outline-button {
    border: 1px solid var(--legal-line);
    background: rgba(255, 250, 241, 0.72);
    padding: 0.6rem 1rem;
    color: var(--legal-ink);
    font-size: 0.875rem;
}

.legal-outline-button:hover,
.legal-secondary-button:hover,
.legal-primary-button:hover {
    transform: translateY(-1px);
}

.legal-primary-button {
    background: var(--legal-gold);
    box-shadow: 0 16px 34px rgba(169, 130, 49, 0.24);
    color: #252525;
    padding: 0.85rem 1.35rem;
    font-size: 0.95rem;
}

.legal-primary-button:hover {
    background: var(--legal-gold-dark);
    color: #fffaf1;
}

.legal-secondary-button {
    border: 1px solid var(--legal-line);
    background: rgba(255, 250, 241, 0.65);
    color: var(--legal-brown);
    padding: 0.85rem 1.35rem;
    font-size: 0.95rem;
}

.legal-hero.legal-hero-premium {
    position: relative;
    isolation: isolate;
    min-height: clamp(32rem, 68vh, 43rem);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(201, 165, 82, 0.38);
    background:
        linear-gradient(
            90deg,
            rgba(47, 47, 47, 0.90) 0%,
            rgba(63, 63, 63, 0.72) 43%,
            rgba(79, 79, 79, 0.28) 72%,
            rgba(79, 79, 79, 0.08) 100%
        ),
        var(--legal-hero-image) 68% center / cover no-repeat;
    color: #fffaf1;
}

.legal-hero.legal-hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 16% 16%, rgba(201, 165, 82, 0.18), transparent 27rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%);
    pointer-events: none;
}

.legal-hero-premium-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(35, 35, 35, 0.02), rgba(35, 35, 35, 0.16)),
        linear-gradient(90deg, rgba(48, 48, 48, 0.22), transparent 72%);
    pointer-events: none;
}

.legal-hero-premium-layout {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.68fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6.5rem);
    padding-top: clamp(3.5rem, 6vw, 5rem);
    padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.legal-hero-premium .legal-hero-copy {
    max-width: 46rem;
}

.legal-hero-premium .legal-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0;
    color: #e2c47c;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

.legal-hero-premium .legal-kicker::before {
    content: "";
    width: 2.6rem;
    height: 1px;
    background: linear-gradient(90deg, #d0aa57, rgba(201, 165, 82, 0.16));
}

.legal-hero-premium .legal-display {
    max-width: 45rem;
    margin-top: 1.3rem;
    color: #fffaf1;
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 9px 36px rgba(20, 20, 20, 0.34);
}

.legal-hero-premium-description {
    max-width: 39rem;
    margin-top: 1.8rem;
    color: rgba(255, 250, 241, 0.83);
    font-size: clamp(1rem, 1.5vw, 1.13rem);
    line-height: 1.85;
    text-wrap: pretty;
}

.legal-hero-premium-actions {
    display: flex;
    align-items: center;
    margin-top: 2.3rem;
}

.legal-hero-premium-button {
    position: relative;
    isolation: isolate;
    gap: 0.9rem;
    min-height: 3.3rem;
    overflow: hidden;
    border: 1px solid rgba(255, 250, 241, 0.18);
    border-radius: 0.3rem;
    background: linear-gradient(135deg, #d8ba70, #b88d35);
    box-shadow:
        0 20px 44px rgba(30, 30, 30, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
    color: #303030;
    padding: 0.98rem 1.45rem;
}

.legal-hero-premium-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    transform: translateX(-115%) skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transition: transform 650ms ease;
}

.legal-hero-premium-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #e2c780, #c49a42);
    color: #252525;
    box-shadow:
        0 26px 56px rgba(30, 30, 30, 0.39),
        inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.legal-hero-premium-button:hover::before {
    transform: translateX(115%) skewX(-20deg);
}

.legal-hero-premium-button i {
    transition: transform 220ms ease;
}

.legal-hero-premium-button:hover i {
    transform: translateX(4px);
}

.legal-hero-premium-visual {
    display: flex;
    min-height: 25rem;
    align-items: center;
    justify-content: flex-end;
}

.legal-hero-premium-frame {
    position: relative;
    width: min(100%, 22rem);
    aspect-ratio: 0.82;
    border: 1px solid rgba(255, 250, 241, 0.26);
    background:
        linear-gradient(145deg, rgba(255, 250, 241, 0.11), rgba(255, 250, 241, 0.025));
    box-shadow:
        0 32px 82px rgba(20, 20, 20, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(9px);
}

.legal-hero-premium-frame::before,
.legal-hero-premium-frame::after {
    content: "";
    position: absolute;
    width: 3.5rem;
    height: 3.5rem;
}

.legal-hero-premium-frame::before {
    top: 1rem;
    left: 1rem;
    border-top: 1px solid #d4b56c;
    border-left: 1px solid #d4b56c;
}

.legal-hero-premium-frame::after {
    right: 1rem;
    bottom: 1rem;
    border-right: 1px solid #d4b56c;
    border-bottom: 1px solid #d4b56c;
}

.legal-hero-premium-frame-line {
    position: absolute;
    top: 14%;
    bottom: 14%;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(213, 181, 104, 0.74), transparent);
}

.legal-hero-premium-frame-mark {
    position: absolute;
    inset: 50% auto auto 50%;
    display: inline-flex;
    width: 5.6rem;
    height: 5.6rem;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(213, 181, 104, 0.64);
    border-radius: 999px;
    background: rgba(63, 63, 63, 0.50);
    color: #e1c276;
    font-size: 2rem;
    box-shadow:
        0 18px 46px rgba(25, 25, 25, 0.32),
        0 0 0 0.8rem rgba(213, 181, 104, 0.06);
}

.legal-hero-premium-decoration {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(201, 165, 82, 0.16);
    border-radius: 999px;
    pointer-events: none;
}

.legal-hero-premium-decoration-one {
    width: 20rem;
    height: 20rem;
    top: -8rem;
    right: -9rem;
}

.legal-hero-premium-decoration-two {
    width: 10rem;
    height: 10rem;
    right: 17%;
    bottom: -5rem;
}


#informacion .legal-card-arrow {
    display: inline-flex;
    width: 2.7rem;
    height: 2.7rem;
    margin-top: 1.15rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 250, 241, 0.42);
    border-radius: 999px;
    color: #fffaf1;
    transition: transform 220ms ease, background-color 220ms ease;
}

#informacion .legal-flip-card:hover .legal-card-arrow,
#informacion .legal-flip-card:focus-visible .legal-card-arrow {
    transform: translateX(4px);
    background: rgba(201, 165, 82, 0.18);
}

#informacion .legal-flip-back {
    justify-content: center;
    gap: 1.25rem;
}

#informacion .legal-flip-back > p {
    margin: 0;
}

@media (max-width: 900px) {
    .legal-hero.legal-hero-premium {
        min-height: auto;
        background-position: 64% center;
    }

    .legal-hero-premium-layout {
        grid-template-columns: 1fr;
        padding-top: 6.5rem;
        padding-bottom: 4.5rem;
    }

    .legal-hero-premium .legal-hero-copy {
        max-width: 42rem;
    }

    .legal-hero-premium-visual {
        display: none;
    }
}

@media (max-width: 640px) {
    .legal-hero.legal-hero-premium {
        background:
            linear-gradient(
                90deg,
                rgba(47, 47, 47, 0.92) 0%,
                rgba(63, 63, 63, 0.70) 62%,
                rgba(79, 79, 79, 0.24) 100%
            ),
            var(--legal-hero-image) 72% center / cover no-repeat;
    }

    .legal-hero-premium-layout {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }

    .legal-hero-premium .legal-display {
        font-size: clamp(2rem, 9.5vw, 3rem);
        line-height: 1.06;
    }

    .legal-hero-premium-description {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .legal-hero-premium-actions,
    .legal-hero-premium-button {
        width: 100%;
    }

    .legal-hero-premium-button {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-hero-premium-button,
    .legal-hero-premium-button::before,
    .legal-hero-premium-button i,
    #informacion .legal-card-arrow {
        transition: none;
    }
}
.legal-band {
    background: linear-gradient(180deg, #fbf4e5 0%, #f3e7cc 100%);
}

.legal-band .grid {
    align-items: stretch;
}

.legal-info-card,
.legal-choice-card {
    border: 1px solid var(--legal-line);
    border-radius: 0.55rem;
    background: rgba(255, 250, 241, 0.92);
    box-shadow: 0 12px 34px rgba(40, 40, 40, 0.09);
}

.legal-band .legal-info-card {
    display: flex;
    height: 100%;
    min-height: 17.5rem;
    flex-direction: column;
}

#informacion .legal-flip-card {
    min-height: 22rem;
    border: 0;
    border-radius: 1.25rem;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    perspective: 1400px;
    transition: transform 280ms ease;
}

#informacion .legal-flip-card:hover {
    transform: translateY(-6px);
}

.legal-flip-card-inner {
    position: relative;
    width: 100%;
    min-height: 22rem;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 720ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

#informacion .legal-flip-card.is-flipped .legal-flip-card-inner {
    transform: rotateY(180deg);
}

.legal-flip-face {
    position: absolute;
    inset: 0;
    display: flex;
    min-height: 22rem;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(201, 165, 82, 0.42);
    border-radius: 1.25rem;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 20px 52px rgba(40, 40, 40, 0.18);
    padding: 1.55rem;
}

.legal-flip-front {
    justify-content: space-between;
    color: #fffaf1;
    background-image:
        linear-gradient(180deg, rgba(35, 35, 35, 0.22) 0%, rgba(60, 60, 60, 0.42) 45%, rgba(50, 50, 50, 0.94) 100%),
        var(--card-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    isolation: isolate;
}

.legal-flip-front::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 36%),
        radial-gradient(circle at 85% 12%, rgba(201, 165, 82, 0.24), transparent 30%);
    content: "";
}

.legal-flip-front::after {
    position: absolute;
    inset: 0.65rem;
    border: 1px solid rgba(255, 250, 241, 0.19);
    border-radius: 0.95rem;
    content: "";
    pointer-events: none;
}

.legal-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legal-card-icon,
.legal-card-back-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 250, 241, 0.32);
    border-radius: 999px;
    background: rgba(55, 55, 55, 0.34);
    color: #e1c779;
    font-size: 1.15rem;
    backdrop-filter: blur(10px);
}

.legal-card-number {
    color: rgba(255, 250, 241, 0.7);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.legal-card-front-copy {
    position: relative;
    z-index: 1;
}

.legal-flip-front .legal-card-kicker {
    color: #e1c779 !important;
}

.legal-flip-front h3 {
    max-width: 17rem;
    margin-top: 0.8rem;
    color: #fffaf1;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.08;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
}

.legal-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
    color: rgba(255, 250, 241, 0.9);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.legal-card-action i {
    transition: transform 220ms ease;
}

#informacion .legal-flip-card:hover .legal-card-action i {
    transform: translateX(4px);
}

.legal-flip-back {
    justify-content: center;
    transform: rotateY(180deg);
    border-color: rgba(201, 165, 82, 0.75);
    background:
        radial-gradient(circle at 90% 10%, rgba(201, 165, 82, 0.18), transparent 32%),
        linear-gradient(145deg, #555555 0%, #3f3f3f 100%);
    color: #fffaf1;
}

.legal-flip-back::after {
    position: absolute;
    right: -1.2rem;
    bottom: -2.2rem;
    color: rgba(201, 165, 82, 0.08);
    font-family: "Font Awesome 6 Free";
    font-size: 8rem;
    font-weight: 900;
    content: "\f0e3";
    pointer-events: none;
}

.legal-card-back-icon {
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 1.1rem;
    background: rgba(255, 250, 241, 0.08);
}

.legal-flip-back .legal-card-kicker {
    color: #dfc16f !important;
}

.legal-flip-back h3 {
    max-width: 17rem;
    margin-top: 0.7rem;
    color: #fffaf1;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
}

.legal-flip-back p:not(.legal-card-kicker) {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    color: rgba(255, 250, 241, 0.78);
    font-size: 0.94rem;
    line-height: 1.7;
}

.legal-card-return {
    margin-top: 1.25rem;
    color: #dfc16f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#informacion .legal-flip-card:focus-visible {
    border-radius: 1.25rem;
    box-shadow: 0 0 0 4px rgba(201, 165, 82, 0.28);
}

.legal-info-card p,
.legal-choice-card li {
    color: var(--legal-muted);
    line-height: 1.75;
}

.legal-about-section {
    background: #f5ead8;
    border-block: 1px solid var(--legal-line);
}

.legal-wide-logo {
    width: min(100%, 31rem);
    border: 1px solid rgba(201, 165, 82, 0.34);
    border-radius: 0.65rem;
    box-shadow: 0 20px 50px rgba(40, 40, 40, 0.16);
}

.legal-info-card,
.legal-choice-card {
    padding: 1.45rem;
}

.legal-info-card + .legal-info-card {
    margin-top: 0;
}

.legal-card-kicker {
    color: var(--legal-gold-dark) !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-info-card p + p {
    margin-top: 1rem;
}

.legal-values-section {
    background: var(--legal-cream);
}

.legal-contact-section {
    border-top: 1px solid var(--legal-line);
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(243, 231, 204, 0.96)),
        var(--legal-cream-strong);
}

.legal-contact-copy {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
}

.legal-contact-copy p:not(.legal-card-kicker) {
    margin-top: 1rem;
    max-width: 35rem;
    color: var(--legal-muted);
    line-height: 1.8;
}

.legal-contact-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-contact-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--legal-line);
    border-radius: 0.55rem;
    background: rgba(255, 250, 241, 0.95);
    color: var(--legal-ink);
    padding: 1.1rem;
    box-shadow: 0 12px 34px rgba(40, 40, 40, 0.09);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.legal-contact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 165, 82, 0.72);
    box-shadow: 0 18px 42px rgba(40, 40, 40, 0.13);
}

#somos .legal-info-card:hover,
#filosofia .legal-info-card:hover,
#filosofia .legal-choice-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 165, 82, 0.72);
    box-shadow: 0 18px 42px rgba(40, 40, 40, 0.13);
}

.legal-contact-card-muted {
    color: rgba(45, 45, 45, 0.68);
}

.legal-contact-card-muted:hover {
    transform: none;
}

.legal-contact-icon {
    display: inline-flex;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(201, 165, 82, 0.16);
    color: var(--legal-gold-dark);
    font-size: 1.15rem;
}

.legal-contact-label {
    display: block;
    color: var(--legal-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-contact-card strong {
    display: block;
    min-width: 0;
    margin-top: 0.2rem;
    overflow-wrap: anywhere;
    font-size: 1rem;
}

.legal-choice-card ul {
    list-style: none;
    padding: 0;
}

.legal-choice-card li {
    position: relative;
    padding-left: 1.65rem;
    font-weight: 700;
}

.legal-choice-card li::before {
    position: absolute;
    left: 0;
    color: var(--legal-gold-dark);
    content: "\2713";
}

.legal-choice-card span {
    border: 1px solid rgba(201, 165, 82, 0.38);
    border-radius: 999px;
    background: rgba(201, 165, 82, 0.12);
    color: var(--legal-brown);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.38rem 0.7rem;
}

.legal-cta-section,
.legal-footer {
    background: var(--legal-cream-strong);
}

.legal-footer {
    border-top: 1px solid var(--legal-line);
}

.legal-chat-floating {
    right: 1.25rem !important;
    bottom: calc(1.25rem + var(--legal-chat-footer-offset, 0px)) !important;
    transition: bottom 260ms ease;
    will-change: bottom;
}

.legal-chat-hint {
    border: 1px solid rgba(201, 165, 82, 0.34);
    background: rgba(255, 250, 241, 0.94);
    color: var(--legal-brown);
    transition: transform 220ms ease, opacity 220ms ease;
}

.legal-chat-launcher {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.20), transparent 28%),
        linear-gradient(145deg, #2de574 0%, #25d366 48%, #18b954 100%);
    box-shadow:
        0 16px 38px rgba(37, 211, 102, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.10),
        0 0 24px rgba(37, 211, 102, 0.20);
}

.legal-chat-launcher::before,
.legal-chat-launcher::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.legal-chat-launcher::before {
    inset: -35%;
    transform: translateX(-125%) rotate(8deg);
    background:
        linear-gradient(
            115deg,
            transparent 20%,
            rgba(255, 255, 255, 0.45) 48%,
            transparent 75%
        );
    animation: legal-chat-shine 5.8s ease-in-out infinite;
}

.legal-chat-launcher::after {
    inset: -0.45rem;
    z-index: -1;
    border-radius: inherit;
    background: rgba(37, 211, 102, 0.18);
    filter: blur(10px);
    opacity: 0.72;
}

.legal-chat-launcher-icon {
    position: relative;
    z-index: 1;
    font-size: 1.7rem;
    line-height: 1;
}

.legal-chat-launcher:hover {
    background: #1fbe5c;
}

@keyframes legal-chat-shine {
    0%,
    72% {
        transform: translateX(-125%) rotate(8deg);
    }

    100% {
        transform: translateX(125%) rotate(8deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-chat-floating,
    .legal-chat-hint,
    .legal-chat-launcher,
    .legal-chat-launcher::before,
    .legal-chat-launcher-icon,
    #visitor-chat-panel {
        animation: none !important;
        transition: none !important;
    }
}

#visitor-chat-panel {
    right: 1.25rem !important;
    bottom: calc(1rem + var(--legal-chat-footer-offset, 0px)) !important;
    width: 22rem !important;
    min-width: 0 !important;
    max-width: min(22rem, calc(100vw - 1.5rem)) !important;
    height: min(34rem, calc(100dvh - 2rem - var(--legal-chat-footer-offset, 0px))) !important;
    min-height: min(24rem, calc(100dvh - 2rem - var(--legal-chat-footer-offset, 0px))) !important;
    max-height: min(34rem, calc(100dvh - 2rem - var(--legal-chat-footer-offset, 0px))) !important;
    flex: none !important;
    box-sizing: border-box;
    overflow: hidden;
    transition: bottom 260ms ease, height 260ms ease, max-height 260ms ease;
    will-change: bottom, height, max-height;
}

#visitor-chat-panel .visitor-chat-shell {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(201, 165, 82, 0.34);
    background: var(--legal-surface);
    box-shadow: 0 28px 80px rgba(45, 45, 45, 0.28);
}

#visitor-chat-panel .visitor-chat-header,
#visitor-chat-panel .visitor-chat-footer {
    flex: 0 0 auto;
}

#visitor-chat-panel .visitor-chat-header-brand {
    background:
        linear-gradient(135deg, rgba(45, 45, 45, 0.98), rgba(63, 63, 63, 0.96)),
        var(--legal-brown);
}

#visitor-chat-panel .visitor-agent-avatar,
#visitor-chat-panel .visitor-agent-avatar-mini {
    background: rgba(201, 165, 82, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 250, 241, 0.28);
}

#visitor-chat-panel .visitor-chat-step-active {
    background: var(--legal-surface);
    color: var(--legal-brown);
}

#visitor-chat-panel .visitor-chat-step-muted {
    background: rgba(255, 250, 241, 0.11);
    color: rgba(255, 250, 241, 0.72);
}

#visitor-chat-panel .visitor-chat-messages {
    flex: 1 1 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--legal-gold) var(--legal-surface-deep);
    box-sizing: border-box;
    background: linear-gradient(180deg, #fff8ec 0%, #f5ead8 62%, #f7ead7 100%);
}

#visitor-chat-panel .visitor-chat-messages::-webkit-scrollbar {
    width: 8px;
}

#visitor-chat-panel .visitor-chat-messages::-webkit-scrollbar-track {
    background: var(--legal-surface-deep);
    border-radius: 9999px;
}

#visitor-chat-panel .visitor-chat-messages::-webkit-scrollbar-thumb {
    background: var(--legal-gold);
    border-radius: 9999px;
}

#visitor-chat-panel .visitor-chat-messages-inner {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#visitor-chat-panel .visitor-chat-row {
    padding: 0.125rem 0;
}

#visitor-chat-panel .visitor-chat-bubble-wrap {
    max-width: 76%;
    min-width: 0;
    margin: 0.125rem 0;
    overflow: hidden;
}

#visitor-chat-panel .visitor-chat-bubble {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#visitor-chat-panel .visitor-chat-bubble-bot {
    border: 1px solid rgba(201, 165, 82, 0.24);
    background: rgba(255, 250, 241, 0.96);
    color: var(--legal-brown);
}

#visitor-chat-panel .visitor-chat-bubble-user {
    background: var(--legal-brown);
    color: var(--legal-surface);
}

#visitor-chat-panel .visitor-chat-caret {
    color: var(--legal-gold-dark);
}

#visitor-chat-panel .visitor-chat-footer {
    border-top: 1px solid var(--legal-line);
    background: rgba(255, 250, 241, 0.96);
}

#visitor-chat-panel .visitor-chat-input {
    border: 1px solid var(--legal-line);
    background: #fffaf1;
    color: var(--legal-ink);
}

#visitor-chat-panel .visitor-chat-input::placeholder {
    color: rgba(119, 115, 108, 0.72);
}

#visitor-chat-panel .visitor-chat-input:focus {
    border-color: var(--legal-gold);
    box-shadow: 0 0 0 3px rgba(201, 165, 82, 0.18);
}

#visitor-chat-panel .visitor-chat-send {
    background: var(--legal-gold);
    color: #252525;
}

#visitor-chat-panel .visitor-chat-send:hover {
    background: var(--legal-gold-dark);
    color: var(--legal-surface);
}

#informacion{
    scroll-margin-top: 4rem;
}

#somos{
    scroll-margin-top: 4rem;
}

#filosofia {
    scroll-margin-top: 8rem;
}

#contacto {
    scroll-margin-top: 8rem;
}

/* Scroll elegante */
html{
    scroll-behavior:smooth;
}

/* Espacio para el navbar */
#servicios,
#informacion{
    scroll-margin-top:6rem;
}

#somos{
    scroll-margin-top:7rem;
}

#filosofia{
    scroll-margin-top:9rem;
}

#contacto{
    scroll-margin-top:9rem;
}

/* Tarjetas */
.legal-info-card,
.legal-choice-card{
    transition:
        transform .45s ease,
        box-shadow .45s ease,
        border-color .45s ease;
}

/* Animación cuando llega a la sección */
.section-focus .legal-info-card,
.section-focus .legal-choice-card{

    animation:legalFocus .9s ease;

}

@keyframes legalFocus{

    0%{
        transform:translateY(18px) scale(.97);
        opacity:.6;
        border-color:#ded1b7;
        box-shadow:0 0 0 rgba(0,0,0,0);
    }

    45%{
        transform:translateY(-4px) scale(1.02);
        opacity:1;
        border-color:#d0aa57;
        box-shadow:
            0 0 0 3px rgba(201,165,82,.18),
            0 22px 55px rgba(201,165,82,.22);
    }

    100%{
        transform:translateY(0) scale(1);
        opacity:1;
        border-color:#ded1b7;
        box-shadow:
            0 12px 34px rgba(40,40,40,.09);
    }

}

@media (max-width: 767px) {
    #informacion .legal-flip-card,
    .legal-flip-card-inner,
    .legal-flip-face {
        min-height: 20.5rem;
    }

    #informacion .legal-flip-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #informacion .legal-flip-card,
    .legal-flip-card-inner,
    .legal-card-action i {
        transition: none;
    }
}

@media (max-width: 640px) {
    .legal-display {
        font-size: clamp(1.9rem, 9vw, 2.8rem);
    }

    .legal-hero-media {
        max-height: 24rem;
    }

    .legal-hero-image {
        aspect-ratio: 4 / 3;
    }

    .legal-contact-grid {
        grid-template-columns: 1fr;
    }

    .legal-chat-floating {
        right: 0.75rem !important;
        bottom: 0.75rem !important;
    }

    .legal-chat-launcher {
        width: 3.55rem !important;
        height: 3.55rem !important;
    }

    .legal-chat-launcher-icon {
        font-size: 1.45rem;
    }

    #visitor-chat-panel {
        right: 0.5rem !important;
        bottom: calc(0.75rem + var(--legal-chat-footer-offset, 0px)) !important;
        width: calc(100vw - 1rem) !important;
        max-width: calc(100vw - 1rem) !important;
        height: min(32rem, calc(100dvh - 1.5rem - var(--legal-chat-footer-offset, 0px))) !important;
        min-height: min(22rem, calc(100dvh - 1.5rem - var(--legal-chat-footer-offset, 0px))) !important;
        max-height: calc(100dvh - 1.5rem - var(--legal-chat-footer-offset, 0px)) !important;
    }
}

/* ==========================================================
   QUIÉNES SOMOS — EDITORIAL INSTITUCIONAL
   ========================================================== */

.legal-about-section.legal-about-editorial {
    position: relative;
    overflow: hidden;
    border-block: 1px solid rgba(201, 165, 82, 0.22);
    background:
        linear-gradient(
            115deg,
            #3f3f3f 0%,
            #555555 52%,
            #3b3b3b 100%
        );
    font-family: "Figtree", Arial, sans-serif;
}

/* Textura extremadamente discreta */

.legal-about-editorial::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.025) 50%,
            transparent 100%
        );
    content: "";
    pointer-events: none;
}

/* Línea vertical arquitectónica */

.legal-about-editorial::after {
    position: absolute;
    top: 0;
    left: calc(50% - 18rem);
    width: 1px;
    height: 100%;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(201, 165, 82, 0.15),
            transparent
        );
    content: "";
    pointer-events: none;
}

.legal-about-editorial-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(11rem, 0.34fr) minmax(0, 1.66fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
    padding-top: clamp(4.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}

/* Encabezado */

.legal-about-editorial-heading {
    position: relative;
    padding-top: 0.35rem;
}

.legal-about-editorial-line {
    display: block;
    width: 3.25rem;
    height: 1px;
    margin-bottom: 1.4rem;
    background:
        linear-gradient(
            90deg,
            #d4b56c,
            rgba(212, 181, 108, 0)
        );
}

.legal-about-editorial-heading .legal-card-kicker {
    margin: 0;
    color: #d8bb73 !important;
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Contenido */

.legal-about-editorial-content {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(15rem, 0.7fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: start;
}

/* Párrafo principal */

.legal-about-editorial-lead {
    margin: 0;
    color: #fffaf1;
    font-family: "Figtree", Arial, sans-serif;
    font-size: clamp(1.08rem, 1.55vw, 1.38rem);
    font-weight: 500;
    letter-spacing: -0.018em;
    line-height: 1.58;
    text-wrap: pretty;
}

/* Párrafo secundario */

.legal-about-editorial-secondary {
    position: relative;
    margin: 0;
    border-left: 1px solid rgba(212, 181, 108, 0.52);
    color: rgba(255, 250, 241, 0.68);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.8;
    padding-left: 1.6rem;
    text-wrap: pretty;
}

/* Tablet */

@media (max-width: 900px) {
    .legal-about-editorial::after {
        display: none;
    }

    .legal-about-editorial-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .legal-about-editorial-heading {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0;
    }

    .legal-about-editorial-line {
        width: 3rem;
        margin: 0;
    }

    .legal-about-editorial-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-about-editorial-secondary {
        max-width: 42rem;
    }
}

/* Celular */

@media (max-width: 640px) {
    .legal-about-editorial-inner {
        gap: 2rem;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .legal-about-editorial-content {
        gap: 1.6rem;
    }

    .legal-about-editorial-lead {
        font-size: 1.05rem;
        line-height: 1.62;
    }

    .legal-about-editorial-secondary {
        font-size: 0.95rem;
        line-height: 1.75;
        padding-left: 1.2rem;
    }
}

/* ==========================================================
   FILOSOFÍA Y VALORES — DISEÑO EDITORIAL PREMIUM
   ========================================================== */

.legal-values-section.legal-values-premium {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-top: 1px solid rgba(201, 165, 82, 0.24);
    background: #fffaf1;
    font-family: "Figtree", Arial, sans-serif;
}

/* Textura casi imperceptible */

.legal-values-premium::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            115deg,
            rgba(201, 165, 82, 0.04),
            transparent 35%
        );
    content: "";
    pointer-events: none;
}

.legal-values-shell {
    position: relative;
}

.legal-values-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
    min-height: 42rem;
}

/* ==========================================================
   COLUMNA DE FILOSOFÍA
   ========================================================== */

.legal-philosophy-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:
        clamp(4rem, 7vw, 6.5rem)
        clamp(3rem, 7vw, 6rem)
        clamp(4rem, 7vw, 6.5rem)
        0;
}

.legal-philosophy-panel::after {
    position: absolute;
    top: 14%;
    right: 0;
    width: 1px;
    height: 72%;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(201, 165, 82, 0.42),
            transparent
        );
    content: "";
}

.legal-values-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-values-heading-line {
    display: block;
    width: 3rem;
    height: 1px;
    flex: 0 0 auto;
    background:
        linear-gradient(
            90deg,
            var(--legal-gold),
            rgba(201, 165, 82, 0.12)
        );
}

.legal-values-heading .legal-card-kicker {
    margin: 0;
    color: var(--legal-gold-dark) !important;
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.legal-philosophy-content {
    max-width: 44rem;
    margin-top: 2.4rem;
}

.legal-philosophy-statement {
    margin: 0;
    color: var(--legal-ink);
    font-family: "Figtree", Arial, sans-serif;
    font-size: clamp(1.02rem, 1.45vw, 1.28rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.65;
    text-wrap: pretty;
}

.legal-philosophy-statement + .legal-philosophy-statement {
    position: relative;
    margin-top: 1.8rem;
    padding-top: 1.8rem;
}

.legal-philosophy-statement + .legal-philosophy-statement::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 5rem;
    height: 1px;
    background: rgba(201, 165, 82, 0.48);
    content: "";
}

.legal-philosophy-description {
    max-width: 40rem;
    margin: 2.4rem 0 0;
    color: var(--legal-muted);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.85;
    text-wrap: pretty;
}

/* ==========================================================
   COLUMNA OSCURA
   ========================================================== */

.legal-values-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(3rem, 6vw, 5rem);
    padding:
        clamp(4rem, 7vw, 6.5rem)
        0
        clamp(4rem, 7vw, 6.5rem)
        clamp(3rem, 7vw, 5.5rem);
    color: #fffaf1;
    background: #454545;
}

.legal-values-panel::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 100vw;
    background: #454545;
    content: "";
    z-index: -1;
}

.legal-values-panel .legal-values-heading .legal-card-kicker {
    color: #d9bb72 !important;
}

.legal-values-panel .legal-values-heading-line {
    background:
        linear-gradient(
            90deg,
            #d9bb72,
            rgba(217, 187, 114, 0.10)
        );
}

.legal-values-description {
    max-width: 32rem;
    margin: 1.8rem 0 0;
    color: rgba(255, 250, 241, 0.78);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    text-wrap: pretty;
}

/* Separación entre valores y elección */

.legal-choice-block {
    position: relative;
    padding-top: clamp(2.5rem, 5vw, 4rem);
    background: transparent;
}

.legal-choice-block::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgba(201, 165, 82, 0.28),
            rgba(201, 165, 82, 0.03)
        );
    content: "";
}

/* Lista refinada */

.legal-choice-list {
    margin: 1.8rem 0 0;
    list-style: none;
    padding: 0;
}

.legal-choice-list li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid rgba(255, 250, 241, 0.11);
    color: rgba(255, 250, 241, 0.84);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.5;
    padding:
        0.95rem
        0
        0.95rem
        1.7rem;
}

.legal-choice-list li:first-child {
    padding-top: 0;
}

.legal-choice-list li::before {
    position: absolute;
    top: 1.35rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border: 1px solid #d9bb72;
    transform: rotate(45deg);
    content: "";
}

.legal-choice-list li:first-child::before {
    top: 0.4rem;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 1024px) {
    .legal-values-section.legal-values-premium {
        background: #fffaf1;
    }

    .legal-values-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .legal-philosophy-panel {
        padding: 4.5rem 0;
    }

    .legal-philosophy-panel::after {
        display: none;
    }

    .legal-values-panel {
        position: relative;
        isolation: isolate;
        margin-inline: -1.5rem;
        padding: 4.5rem 1.5rem;
        background: #454545;
    }

    /* Extiende el fondo oscuro hasta los bordes de la pantalla */
    .legal-values-panel::before {
        position: absolute;
        inset: 0;
        z-index: -1;
        background: inherit;
        content: "";
    }
}
/* ==========================================================
   CELULAR
   ========================================================== */
@media (max-width: 640px) {
    .legal-philosophy-panel {
        padding: 3.5rem 0;
    }

    .legal-values-panel {
        margin-inline: -1rem;
        gap: 2.8rem;
        padding: 3.5rem 1rem;
        background: #454545;
    }

    .legal-philosophy-content {
        margin-top: 2rem;
    }

    .legal-philosophy-statement {
        font-size: 1rem;
        line-height: 1.65;
    }

    .legal-philosophy-statement + .legal-philosophy-statement {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .legal-philosophy-description {
        margin-top: 2rem;
        font-size: 0.95rem;
        line-height: 1.78;
    }

    .legal-values-description {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .legal-choice-list li {
        font-size: 0.94rem;
    }
}

/* ==========================================================
   CONTACTO — CIERRE INSTITUCIONAL PREMIUM
   ========================================================== */

.legal-contact-section.legal-contact-premium {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-top: 1px solid rgba(201, 165, 82, 0.24);
    background:
        linear-gradient(
            135deg,
            #f4e7d0 0%,
            #fffaf1 52%,
            #eee3cc 100%
        );
    font-family: "Figtree", Arial, sans-serif;
}

/* Detalle arquitectónico discreto */

.legal-contact-premium::before {
    position: absolute;
    top: -17rem;
    left: -14rem;
    z-index: -1;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(201, 165, 82, 0.11);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.legal-contact-premium::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: -1;
    width: 1px;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(201, 165, 82, 0.13),
            transparent
        );
    content: "";
    pointer-events: none;
}

.legal-contact-premium-shell {
    position: relative;
    padding-top: clamp(4.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}

.legal-contact-premium-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: clamp(2.5rem, 5vw, 4rem);
}

/* ==========================================================
   COLUMNA EDITORIAL
   ========================================================== */

.legal-contact-premium-copy {
    max-width: 43rem;
}

.legal-contact-premium-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-contact-premium-line {
    display: block;
    width: 3rem;
    height: 1px;
    flex: 0 0 auto;
    background:
        linear-gradient(
            90deg,
            var(--legal-gold),
            rgba(201, 165, 82, 0.12)
        );
}

.legal-contact-premium-heading .legal-card-kicker {
    margin: 0;
    color: var(--legal-gold-dark) !important;
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.legal-contact-premium-copy .legal-section-title {
    max-width: 40rem;
    margin-top: 1.7rem;
    color: var(--legal-ink);
    font-family: "Figtree", Arial, sans-serif;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    text-wrap: balance;
}

.legal-contact-premium-description {
    max-width: 40rem;
    margin: 1.5rem 0 0;
    color: var(--legal-muted);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.8;
    text-wrap: pretty;
}

/* ==========================================================
   PANEL OSCURO
   ========================================================== */

.legal-contact-premium-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 1fr);
    overflow: hidden;
    border: 1px solid rgba(201, 165, 82, 0.32);
    border-radius: 0.65rem;
    background:
        linear-gradient(
            145deg,
            #4f4f4f 0%,
            #3f3f3f 58%,
            #333333 100%
        );
    box-shadow:
        0 30px 75px rgba(45, 45, 45, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.legal-contact-premium-contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 1px solid rgba(255, 250, 241, 0.11);
}

/* Línea dorada superior */

.legal-contact-premium-panel::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 8rem;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            #d8bb73,
            rgba(216, 187, 115, 0)
        );
    content: "";
}

/* Cada canal */

.legal-contact-premium-item {
    position: relative;
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr) auto;
    min-width: 0;
    align-items: center;
    gap: 1rem;
    color: #fffaf1;
    padding: clamp(1.5rem, 3vw, 2.1rem);
}

/* Correo ocupa las dos columnas */

.legal-contact-premium-email {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(255, 250, 241, 0.11);
}

/* Cuadrícula inferior de teléfono y redes */

.legal-contact-premium-item:nth-child(2),
.legal-contact-premium-item:nth-child(4) {
    border-right: 1px solid rgba(255, 250, 241, 0.09);
}

.legal-contact-premium-item:nth-child(2),
.legal-contact-premium-item:nth-child(3) {
    border-bottom: 1px solid rgba(255, 250, 241, 0.09);
}

/* Iconos */

.legal-contact-premium-icon {
    display: inline-flex;
    width: 2.8rem;
    height: 2.8rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 187, 115, 0.34);
    border-radius: 50%;
    background: rgba(216, 187, 115, 0.07);
    color: #d8bb73;
    font-size: 1rem;
}

/* Información */

.legal-contact-premium-data {
    min-width: 0;
}

.legal-contact-premium-panel .legal-contact-label {
    display: block;
    color: rgba(255, 250, 241, 0.48);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.legal-contact-premium-data strong {
    display: block;
    min-width: 0;
    margin-top: 0.4rem;
    color: rgba(255, 250, 241, 0.92);
    font-family: "Figtree", Arial, sans-serif;
    font-size: clamp(0.92rem, 1.3vw, 1.05rem);
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

/* Flecha */

.legal-contact-premium-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(216, 187, 115, 0.78);
    font-size: 0.85rem;
    transition:
        transform 220ms ease,
        color 220ms ease;
}

/* Interacción solamente en enlaces funcionales */

.legal-contact-premium-item-active {
    transition:
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.legal-contact-premium-item-active:hover {
    background: rgba(255, 250, 241, 0.045);
    box-shadow: inset 3px 0 0 rgba(216, 187, 115, 0.72);
}

.legal-contact-premium-item-active:hover
.legal-contact-premium-arrow {
    transform: translateX(4px);
    color: #e3c982;
}

/* Redes aún no disponibles */

.legal-contact-premium-item-muted {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    color: rgba(255, 250, 241, 0.56);
}

.legal-contact-premium-item-muted
.legal-contact-premium-icon {
    border-color: rgba(255, 250, 241, 0.13);
    background: rgba(255, 250, 241, 0.025);
    color: rgba(255, 250, 241, 0.42);
}

.legal-contact-premium-item-muted
.legal-contact-premium-data strong {
    color: rgba(255, 250, 241, 0.48);
    font-weight: 500;
}

.legal-contact-premium-form {
    display: grid;
    align-content: center;
    gap: 1.2rem;
    padding: clamp(2rem, 4vw, 3rem);
    background: rgba(255, 250, 241, 0.035);
}

.legal-contact-premium-form-heading strong {
    display: block;
    margin-top: 0.4rem;
    color: rgba(255, 250, 241, 0.92);
    font-family: "Figtree", Arial, sans-serif;
    font-size: clamp(0.92rem, 1.3vw, 1.05rem);
    font-weight: 600;
    line-height: 1.45;
}

.legal-contact-premium-fields {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.legal-contact-premium-field {
    display: grid;
    gap: 0.45rem;
}

.legal-contact-premium-field span {
    color: rgba(255, 250, 241, 0.48);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.legal-contact-premium-field input {
    width: 100%;
    border: 1px solid rgba(216, 187, 115, 0.24);
    border-radius: 0.45rem;
    background: rgba(255, 250, 241, 0.06);
    color: rgba(255, 250, 241, 0.92);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    padding: 0.95rem 1rem;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.legal-contact-premium-field input:focus {
    border-color: rgba(216, 187, 115, 0.7);
    background: rgba(255, 250, 241, 0.09);
    box-shadow: 0 0 0 3px rgba(216, 187, 115, 0.16);
    outline: none;
}

.legal-contact-premium-field input:disabled {
    opacity: 0.65;
}

.legal-contact-premium-submit {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 1px solid rgba(216, 187, 115, 0.5);
    border-radius: 0.3rem;
    background:
        linear-gradient(
            135deg,
            rgba(216, 187, 115, 0.14),
            rgba(216, 187, 115, 0.06)
        );
    color: #e2c57d;
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    padding: 1rem 1.1rem;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.legal-contact-premium-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(229, 202, 132, 0.82);
    background:
        linear-gradient(
            135deg,
            rgba(216, 187, 115, 0.22),
            rgba(216, 187, 115, 0.1)
        );
    color: #fff2d2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.legal-contact-premium-submit:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.legal-contact-premium-message {
    margin: 0;
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.5;
}

.legal-contact-premium-message-success {
    color: #e3c982;
}

.legal-contact-premium-message-error {
    color: #f2b8b5;
}

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

@media (max-width: 1024px) {
    .legal-contact-premium::after {
        display: none;
    }

    .legal-contact-premium-copy {
        max-width: 40rem;
    }

    .legal-contact-premium-copy .legal-section-title {
        max-width: 38rem;
    }

    .legal-contact-premium-description {
        max-width: 38rem;
    }

    .legal-contact-premium-panel {
        grid-template-columns: 1fr;
    }

    .legal-contact-premium-contact-list {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 250, 241, 0.11);
    }
}

/* ==========================================================
   CELULAR
   ========================================================== */

@media (max-width: 640px) {
    .legal-contact-premium-shell {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .legal-contact-premium-layout {
        gap: 2.5rem;
    }

    .legal-contact-premium-copy .legal-section-title {
        margin-top: 1.4rem;
        font-size: 1.75rem;
        line-height: 1.18;
    }

    .legal-contact-premium-description {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .legal-contact-premium-panel {
        grid-template-columns: 1fr;
    }

    .legal-contact-premium-contact-list {
        grid-template-columns: 1fr;
    }

    .legal-contact-premium-item {
        grid-template-columns: 2.7rem minmax(0, 1fr) auto;
        padding: 1.4rem;
    }

    .legal-contact-premium-item:nth-child(odd),
    .legal-contact-premium-item:nth-child(even) {
        border-right: 0;
    }

    .legal-contact-premium-item:nth-child(-n + 4) {
        border-bottom: 1px solid rgba(255, 250, 241, 0.09);
    }

    .legal-contact-premium-item-muted {
        grid-template-columns: 2.7rem minmax(0, 1fr);
    }

    .legal-contact-premium-form {
        padding: 1.4rem;
    }

    .legal-contact-premium-submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-contact-premium-item-active,
    .legal-contact-premium-arrow {
        transition: none;
    }
}

/* ==========================================================
   FOOTER — CIERRE INSTITUCIONAL PREMIUM
   ========================================================== */

.legal-footer.legal-footer-premium {
    position: relative;
    overflow: hidden;
    border-top: 0;
    background:
        linear-gradient(
            115deg,
            #3f3f3f 0%,
            #4f4f4f 52%,
            #343434 100%
        );
    color: #fffaf1;
    font-family: "Figtree", Arial, sans-serif;
}

/* Línea dorada superior */

.legal-footer-premium::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 187, 115, 0.78),
            transparent
        );
    content: "";
}

/* Iluminación ambiental muy discreta */

.legal-footer-premium::after {
    position: absolute;
    top: -12rem;
    left: 50%;
    width: 25rem;
    height: 25rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(201, 165, 82, 0.055);
    filter: blur(60px);
    content: "";
    pointer-events: none;
}

.legal-footer-premium-shell {
    position: relative;
    z-index: 1;
}

.legal-footer-premium-layout {
    display: grid;
    grid-template-columns: minmax(13rem, 1fr) auto minmax(13rem, 1fr);
    align-items: center;
    gap: 2rem;
    min-height: 7.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Marca */

.legal-footer-brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.7rem;
    color: #fffaf1;
    font-family: "Figtree", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1;
    transition: color 180ms ease;
}

.legal-footer-brand:hover {
    color: #e0c37b;
}

.legal-footer-brand-mark {
    display: inline-flex;
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #d8bb73;
}

.legal-footer-brand-mark svg,
.legal-footer-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Copyright */

.legal-footer-copyright {
    text-align: center;
}

.legal-footer-copyright p {
    margin: 0;
    color: rgba(255, 250, 241, 0.52);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Crédito de desarrollo */

.legal-footer-credit {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    color: rgba(255, 250, 241, 0.46);
    font-size: 0.76rem;
    line-height: 1.5;
    white-space: nowrap;
}

.legal-footer-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-bottom: 1px solid rgba(216, 187, 115, 0.34);
    color: #d8bb73;
    font-weight: 600;
    padding-bottom: 0.12rem;
    transition:
        color 180ms ease,
        border-color 180ms ease;
}

.legal-footer-credit-link i {
    font-size: 0.58rem;
    transition: transform 180ms ease;
}

.legal-footer-credit-link:hover {
    border-color: #e4c980;
    color: #e4c980;
}

.legal-footer-credit-link:hover i {
    transform: translate(2px, -2px);
}

/* Tablet */

@media (max-width: 900px) {
    .legal-footer-premium-layout {
        grid-template-columns: 1fr auto;
    }

    .legal-footer-copyright {
        order: 3;
        grid-column: 1 / -1;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 250, 241, 0.08);
    }
}

/* Celular */

@media (max-width: 640px) {
    .legal-footer-premium-layout {
        display: flex;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .legal-footer-credit {
        flex-wrap: wrap;
        justify-content: flex-start;
        white-space: normal;
    }

    .legal-footer-copyright {
        order: initial;
        width: 100%;
        border-top: 1px solid rgba(255, 250, 241, 0.08);
        padding-top: 1.25rem;
        text-align: left;
    }

    .legal-footer-copyright p {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-footer-brand,
    .legal-footer-credit-link,
    .legal-footer-credit-link i {
        transition: none;
    }
}

/* ==========================================================
   HEADER PREMIUM COMPLETO
   ========================================================== */

[x-cloak] {
    display: none !important;
}

.legal-header.legal-header-premium {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;

    overflow: visible;

    border-bottom: 1px solid rgba(216, 187, 115, 0.22);

    background:
        linear-gradient(
            90deg,
            rgba(63, 63, 63, 0.97) 0%,
            rgba(79, 79, 79, 0.96) 50%,
            rgba(63, 63, 63, 0.97) 100%
        );

    box-shadow:
        0 14px 40px rgba(35, 35, 35, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    font-family: "Figtree", Arial, sans-serif;
}

/* Línea dorada superior */

.legal-header-premium::before {
    position: absolute;
    top: 0;
    left: 50%;

    width: min(100%, 72rem);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 187, 115, 0.65),
            transparent
        );

    content: "";
    pointer-events: none;
}

/* ==========================================================
   CONTENEDOR PRINCIPAL
   ========================================================== */

.legal-header-inner {
    display: flex;
    min-height: 4.25rem;

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

    gap: 2rem;
}

/* ==========================================================
   MARCA
   ========================================================== */

.legal-header-brand {
    display: inline-flex;
    flex: 0 0 auto;

    align-items: center;
    gap: 0.72rem;

    color: #fffaf1 !important;

    font-family: "Figtree", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1;

    text-decoration: none;

    transition: color 180ms ease;
}

.legal-header-brand:hover {
    color: #e4ca83 !important;
}

.legal-header-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 4rem;
    height: 4rem;
    flex: 0 0 auto;

    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.legal-header-brand-mark svg,
.legal-header-brand-mark img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.legal-header-brand-name {
    white-space: nowrap;
}

/* ==========================================================
   NAVEGACIÓN DE ESCRITORIO
   ========================================================== */

.legal-header-nav {
    display: flex;

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

    gap: clamp(0.5rem, 1.35vw, 1.15rem);
}

.legal-header-link {
    position: relative;

    display: inline-flex;
    min-height: 2.55rem;

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

    padding: 0.7rem 0.2rem;

    color: rgba(255, 250, 241, 0.72) !important;

    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.012em;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    opacity: 1 !important;
    visibility: visible !important;

    transition: color 180ms ease;
}

.legal-header-link::after {
    position: absolute;
    right: 50%;
    bottom: 0.25rem;
    left: 50%;

    height: 1px;

    background: #d8bb73;

    content: "";

    transition:
        right 220ms ease,
        left 220ms ease;
}

.legal-header-link:hover,
.legal-header-link.is-active {
    color: #fffaf1 !important;
}

.legal-header-link:hover::after,
.legal-header-link.is-active::after {
    right: 0.15rem;
    left: 0.15rem;
}

.legal-header-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.legal-header-dropdown .legal-header-link {
    gap: 0.35rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.legal-header-dropdown .legal-header-link i {
    font-size: 0.58rem;
}

.legal-header-dropdown-menu {
    position: fixed;
    top: 4.25rem;
    right: 0;
    left: 0;
    z-index: 60;
    display: flex;
    width: 100%;
    max-height: calc(100vh - 4.25rem);
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0.35rem;
    overflow-y: auto;
    padding: 0.85rem max(1rem, calc((100vw - 72rem) / 2 + 1rem));
    border-top: 1px solid rgba(255, 250, 241, 0.07);
    border-bottom: 1px solid rgba(216, 187, 115, 0.22);
    border-radius: 0;
    background: rgba(63, 63, 63, 0.98);
    box-shadow: 0 18px 36px rgba(35, 35, 35, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.legal-header-dropdown-item {
    display: inline-flex;
    min-height: 2.55rem;
    max-width: 18rem;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(255, 250, 241, 0.08);
    border-radius: 0.3rem;
    background: transparent;
    color: rgba(255, 250, 241, 0.8);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.77rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

.legal-header-dropdown-item:hover {
    border-color: rgba(216, 187, 115, 0.36);
    background: rgba(216, 187, 115, 0.1);
    color: #e4ca83;
}

.legal-header-dropdown-empty {
    width: 100%;
    padding: 0.85rem 0.95rem;
    color: rgba(255, 250, 241, 0.66);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.77rem;
    font-weight: 600;
    text-align: center;
}

/* ==========================================================
   BOTÓN INGRESAR
   ========================================================== */

.legal-header-login {
    display: inline-flex;
    min-height: 2.55rem;

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

    gap: 0.6rem;

    margin-left: 0.35rem;
    padding: 0.7rem 1rem;

    border: 1px solid rgba(216, 187, 115, 0.5);
    border-radius: 0.3rem;

    background:
        linear-gradient(
            135deg,
            rgba(216, 187, 115, 0.14),
            rgba(216, 187, 115, 0.06)
        );

    color: #e2c57d !important;

    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 8px 22px rgba(30, 30, 30, 0.14);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.legal-header-login i {
    font-size: 0.64rem;

    transition: transform 180ms ease;
}

.legal-header-login:hover {
    transform: translateY(-1px);

    border-color: rgba(229, 202, 132, 0.82);

    background:
        linear-gradient(
            135deg,
            rgba(216, 187, 115, 0.22),
            rgba(216, 187, 115, 0.1)
        );

    color: #fff2d2 !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 12px 26px rgba(30, 30, 30, 0.2);
}

.legal-header-login:hover i {
    transform: translateX(3px);
}

/* ==========================================================
   BOTÓN HAMBURGUESA
   OCULTO EN COMPUTADOR
   ========================================================== */

.legal-header-menu-button {
    display: none;

    width: 2.6rem;
    height: 2.6rem;

    flex: 0 0 auto;
    flex-direction: column;

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

    gap: 0.28rem;

    border: 1px solid rgba(216, 187, 115, 0.38);
    border-radius: 0.3rem;

    background: rgba(216, 187, 115, 0.07);

    color: #fffaf1;

    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);

    transition:
        border-color 180ms ease,
        background-color 180ms ease;
}

.legal-header-menu-button:hover {
    border-color: rgba(216, 187, 115, 0.7);
    background: rgba(216, 187, 115, 0.13);
}

.legal-header-menu-button span {
    display: block;

    width: 1.05rem;
    height: 1px;

    background: #e2c57d;

    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.legal-header-menu-button span:first-child.is-open {
    transform: translateY(0.29rem) rotate(45deg);
}

.legal-header-menu-button span:nth-child(2).is-open {
    opacity: 0;
}

.legal-header-menu-button span:last-child.is-open {
    transform: translateY(-0.29rem) rotate(-45deg);
}

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

.legal-header-mobile {
    display: none;

    border-top: 1px solid rgba(255, 250, 241, 0.07);
    border-bottom: 1px solid rgba(216, 187, 115, 0.2);

    background: rgba(63, 63, 63, 0.99);

    box-shadow:
        0 18px 36px rgba(35, 35, 35, 0.24);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.legal-header-mobile-nav {
    display: grid;
    grid-template-columns: 1fr;

    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.legal-header-mobile-link,
.legal-header-mobile-login {
    display: flex;
    min-height: 3.1rem;

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

    padding: 0.8rem 0;

    border-bottom: 1px solid rgba(255, 250, 241, 0.07);

    color: rgba(255, 250, 241, 0.78) !important;

    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.3;

    text-decoration: none;

    transition:
        color 180ms ease,
        padding-left 180ms ease;
}

button.legal-header-mobile-link {
    width: 100%;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    background: transparent;
    cursor: pointer;
}

.legal-header-mobile-link:hover,
.legal-header-mobile-link.is-active {
    padding-left: 0.35rem;

    color: #e4ca83 !important;
}

.legal-header-mobile-login {
    border-bottom: 0;

    color: #e4ca83 !important;
}

.legal-header-mobile-login:hover {
    color: #fff2d2 !important;
}

.legal-header-mobile-login i {
    font-size: 0.68rem;
}

.legal-header-mobile-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.2rem 0.65rem;
    padding: 0.15rem 0 0.45rem 0.85rem;
    border-bottom: 1px solid rgba(255, 250, 241, 0.07);
}

.legal-header-mobile-service {
    padding: 0.62rem 0;
    border: 0;
    background: transparent;
    color: rgba(255, 250, 241, 0.72);
    font-family: "Figtree", Arial, sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.legal-header-mobile-service:hover {
    color: #e4ca83;
}

.legal-header-mobile-empty {
    padding: 0.62rem 0;
    color: rgba(255, 250, 241, 0.62);
    font-size: 0.82rem;
}

.legal-services-card {
    gap: 0;
}

.legal-service-requirement {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.42rem 0;
    border-top: 1px solid var(--legal-line);
    color: var(--legal-muted);
    line-height: 1.55;
}

.legal-service-requirement-marker {
    width: 0.42rem;
    height: 0.42rem;
    flex: 0 0 0.42rem;
    border: 1px solid var(--legal-gold-dark);
    transform: rotate(45deg) translateY(-0.08rem);
}

.legal-service-requirement.is-heading {
    padding-top: 0.65rem;
    color: var(--legal-ink);
    font-weight: 800;
}

.legal-service-requirement-text {
    flex: 1 1 auto;
}

/* ==========================================================
   POSICIÓN DE LAS SECCIONES
   ========================================================== */

#servicios,
#informacion,
#somos,
#filosofia,
#contacto {
    scroll-margin-top: 5rem;
}

/* ==========================================================
   TABLET Y CELULAR
   ========================================================== */

@media (max-width: 767px) {
    .legal-header-inner {
        min-height: 4rem;
        gap: 1rem;
    }

    /* Ocultar navegación de escritorio */
    .legal-header-nav {
        display: none;
    }

    /* Mostrar hamburguesa solamente en móvil */
    .legal-header-menu-button {
        display: inline-flex;
    }

    /* Permitir que Alpine controle x-show */
    .legal-header-mobile[style*="display: none"] {
        display: none !important;
    }

    .legal-header-mobile:not([style*="display: none"]) {
        display: block;
    }

    .legal-header-brand {
        font-size: 0.94rem;
    }

    .legal-header-brand-mark {
        width: 1.95rem;
        height: 1.95rem;
    }

    .legal-header-brand-mark svg,
    .legal-header-brand-mark img {
        width: 2.2rem;
        height: 2.2rem;
    }
}

/* Pantallas pequeñas */

@media (max-width: 390px) {
    .legal-header-brand {
        gap: 0.58rem;

        font-size: 0.86rem;
    }

    .legal-header-brand-mark {
        width: 2.3rem;
        height: 2.3rem;
    }

    .legal-header-menu-button {
        width: 2.45rem;
        height: 2.45rem;
    }
}

/* Reducción de movimiento */

@media (prefers-reduced-motion: reduce) {
    .legal-header-brand,
    .legal-header-link,
    .legal-header-link::after,
    .legal-header-login,
    .legal-header-login i,
    .legal-header-menu-button,
    .legal-header-menu-button span,
    .legal-header-mobile-link,
    .legal-header-mobile-login {
        transition: none;
    }
}
.legal-contact-whatsapp-submit {
background: #25D366;
border-color: #25D366;
color: #fff;
}

.legal-contact-whatsapp-submit:hover {
background: #1ebe5d;
border-color: #1ebe5d;
}
.legal-contact-premium-item strong {
font-size: 0.85rem;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}