/* ============================================================
   LJG Secciones Corporativas – Librería Jurídica Global
   Color palette: Crimson #C0392B · Gold #D4AF37 · Dark #1A0A0A
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600&family=Lato:wght@300;400;700&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
    --ljg-red:      #C0392B;
    --ljg-red-d:    #96281b;
    --ljg-red-l:    #e74c3c;
    --ljg-gold:     #D4AF37;
    --ljg-gold-l:   #f0d060;
    --ljg-dark:     #1A0A0A;
    --ljg-dark-2:   #2d1a1a;
    --ljg-white:    #FDFAF5;
    --ljg-gray:     #f5f0ea;
    --ljg-text:     #3a2a2a;
    --ljg-muted:    #7a6060;
    --ljg-radius:   6px;
    --ljg-shadow:   0 4px 30px rgba(192,57,43,.12);
    --ljg-trans:    0.35s cubic-bezier(.4,0,.2,1);
}

/* ── Reset helpers ────────────────────────────────────────── */
.ljg-hero, .ljg-sobre, .ljg-contacto,
.ljg-hero *, .ljg-sobre *, .ljg-contacto * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Full-width: el JS en wp_head calcula el offset real y aplica margin-left ──
   Aquí solo ponemos las reglas base que no causan conflicto.               */
.ljg-hero,
.ljg-sobre,
.ljg-contacto {
    position: relative !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.ljg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--ljg-radius);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform var(--ljg-trans), box-shadow var(--ljg-trans), background var(--ljg-trans);
}
.ljg-btn:hover { transform: translateY(-2px); }

.ljg-btn--primary {
    background: linear-gradient(135deg, var(--ljg-red), var(--ljg-red-l));
    color: #fff;
    box-shadow: 0 6px 24px rgba(192,57,43,.4);
}
.ljg-btn--primary:hover {
    background: linear-gradient(135deg, var(--ljg-red-d), var(--ljg-red));
    box-shadow: 0 10px 32px rgba(192,57,43,.55);
    color: #fff;
}
.ljg-btn--ghost {
    background: transparent;
    color: var(--ljg-gold);
    border: 2px solid var(--ljg-gold);
}
.ljg-btn--ghost:hover {
    background: var(--ljg-gold);
    color: var(--ljg-dark);
}
.ljg-btn--full { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.ljg-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ljg-dark);
    overflow: hidden;
    font-family: 'Lato', sans-serif;
}

/* Radial glow */
.ljg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%,
            rgba(192,57,43,.22) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 70%,
            rgba(212,175,55,.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Canvas particles */
#ljg-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Decorative SVGs */
.ljg-hero__decor {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: .6;
    z-index: 1;
    pointer-events: none;
}
.ljg-hero__decor--left  { left: 40px; width: 90px; }
.ljg-hero__decor--right { right: 40px; width: 60px; }

.ljg-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 120px 24px 100px;
    animation: ljg-fadeUp .9s ease both;
}

@keyframes ljg-fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Badge */
.ljg-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ljg-gold);
    font-size: .78rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: ljg-fadeUp .9s .1s ease both;
}
.ljg-hero__badge-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--ljg-gold);
    opacity: .6;
}

/* Title */
.ljg-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.12;
    color: var(--ljg-white);
    margin-bottom: 22px;
    animation: ljg-fadeUp .9s .18s ease both;
}
.ljg-hero__title em {
    font-style: italic;
    color: var(--ljg-gold);
}

/* Subtitle */
.ljg-hero__subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(253,250,245,.72);
    max-width: 560px;
    margin: 0 auto 42px;
    line-height: 1.7;
    font-weight: 300;
    animation: ljg-fadeUp .9s .26s ease both;
}

/* CTAs */
.ljg-hero__ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
    animation: ljg-fadeUp .9s .34s ease both;
}

/* Stats */
.ljg-hero__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    animation: ljg-fadeUp .9s .42s ease both;
}
.ljg-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 36px;
}
.ljg-hero__stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--ljg-gold);
    line-height: 1;
}
.ljg-hero__stat-plus {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--ljg-gold);
    font-weight: 700;
    margin-left: 2px;
}
.ljg-hero__stat-label {
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(253,250,245,.55);
    margin-top: 4px;
}
.ljg-hero__stat-sep {
    width: 1px;
    height: 50px;
    background: rgba(212,175,55,.3);
}

/* Scroll hint */
.ljg-hero__scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.ljg-hero__scroll-hint span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(212,175,55,.45);
    border-radius: 12px;
    position: relative;
}
.ljg-hero__scroll-hint span::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--ljg-gold);
    border-radius: 2px;
    animation: ljg-scrollHint 1.6s ease-in-out infinite;
}
@keyframes ljg-scrollHint {
    0%   { opacity: 1; top: 7px; }
    100% { opacity: 0; top: 22px; }
}

/* ============================================================
   SOBRE NOSOTROS
   ============================================================ */
.ljg-sobre {
    position: relative;
    background: var(--ljg-gray);
    padding: 100px 0;
    font-family: 'Lato', sans-serif;
    overflow: hidden;
}

/* Slant shapes */
.ljg-section-slant {
    position: absolute;
    left: 0; right: 0;
    height: 60px;
    background: var(--ljg-dark);
    z-index: 1;
}
.ljg-section-slant--top {
    top: 0;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
}
.ljg-section-slant--bottom {
    bottom: 0;
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* Watermark */
.ljg-sobre::before {
    content: 'GLOBAL';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: 'Playfair Display', serif;
    font-size: 9rem;
    font-weight: 900;
    color: rgba(192,57,43,.04);
    letter-spacing: .3em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.ljg-sobre__inner {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* ── Visual column ── */
.ljg-sobre__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ljg-sobre__emblem-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ljg-sobre__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(192,57,43,.18);
    animation: ljg-ringPulse 6s ease-in-out infinite;
}
.ljg-sobre__ring--1 {
    width: 360px; height: 360px;
    animation-delay: 0s;
}
.ljg-sobre__ring--2 {
    width: 280px; height: 280px;
    border-color: rgba(212,175,55,.2);
    animation-delay: -3s;
}
@keyframes ljg-ringPulse {
    0%,100% { transform: scale(1);   opacity: .7; }
    50%      { transform: scale(1.04); opacity: 1; }
}

.ljg-sobre__emblem {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--ljg-dark), var(--ljg-dark-2));
    border: 3px solid rgba(212,175,55,.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 0 60px rgba(192,57,43,.18);
}
.ljg-sobre__scales {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(212,175,55,.3));
}
.ljg-sobre__emblem-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-family: 'Lato', sans-serif;
}
.ljg-sobre__emblem-text span {
    font-size: .62rem;
    letter-spacing: .2em;
    color: rgba(253,250,245,.55);
    text-transform: uppercase;
}
.ljg-sobre__emblem-main {
    font-family: 'Playfair Display', serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--ljg-gold) !important;
    letter-spacing: .12em !important;
}

/* Floating badges */
.ljg-sobre__badge {
    position: absolute;
    background: #fff;
    border-radius: 40px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--ljg-text);
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
    white-space: nowrap;
    border-left: 3px solid var(--ljg-red);
    animation: ljg-float 4s ease-in-out infinite;
}
.ljg-sobre__badge--tl {
    top: 30px; left: -20px;
    animation-delay: 0s;
}
.ljg-sobre__badge--br {
    bottom: 30px; right: -20px;
    animation-delay: -2s;
}
@keyframes ljg-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ── Content column ── */
.ljg-sobre__label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ljg-red);
    font-weight: 700;
    margin-bottom: 18px;
}
.ljg-sobre__label-bar {
    display: block;
    width: 36px; height: 2px;
    background: var(--ljg-red);
}

.ljg-sobre__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--ljg-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}
.ljg-sobre__title em {
    color: var(--ljg-red);
    font-style: italic;
}

.ljg-sobre__lead {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ljg-text);
    line-height: 1.65;
    margin-bottom: 16px;
}
.ljg-sobre__body {
    font-size: .97rem;
    color: var(--ljg-muted);
    line-height: 1.8;
    margin-bottom: 36px;
}

/* Pillars */
.ljg-sobre__pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
.ljg-sobre__pillar {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    padding: 18px;
    border-radius: var(--ljg-radius);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border-top: 2px solid var(--ljg-red);
    transition: transform var(--ljg-trans), box-shadow var(--ljg-trans);
}
.ljg-sobre__pillar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.ljg-sobre__pillar-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(192,57,43,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ljg-red);
}
.ljg-sobre__pillar-icon svg { width: 18px; height: 18px; }
.ljg-sobre__pillar strong {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--ljg-dark);
    margin-bottom: 4px;
}
.ljg-sobre__pillar p {
    font-size: .8rem;
    color: var(--ljg-muted);
    line-height: 1.5;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.ljg-contacto {
    background: var(--ljg-dark);
    padding: 100px 0 120px;
    font-family: 'Lato', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Gold accent line */
.ljg-contacto::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ljg-gold), transparent);
}

/* Diagonal grid texture */
.ljg-contacto::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -45deg,
            rgba(255,255,255,.012) 0px,
            rgba(255,255,255,.012) 1px,
            transparent 1px,
            transparent 30px
        );
    pointer-events: none;
    z-index: 0;
}

.ljg-contacto__header {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
    padding: 0 24px;
}
.ljg-contacto__header .ljg-sobre__label {
    color: var(--ljg-gold);
    justify-content: center;
}
.ljg-contacto__header .ljg-sobre__label-bar {
    background: var(--ljg-gold);
}

.ljg-contacto__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--ljg-white);
    margin: 12px 0 16px;
}
.ljg-contacto__subtitle {
    color: rgba(253,250,245,.6);
    font-size: .97rem;
    line-height: 1.7;
}

.ljg-contacto__grid {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

/* ── Info cards ── */
.ljg-contacto__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ljg-contacto__card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--ljg-radius);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: background var(--ljg-trans), border-color var(--ljg-trans);
}
.ljg-contacto__card:hover {
    background: rgba(192,57,43,.12);
    border-color: rgba(192,57,43,.3);
}
.ljg-contacto__card--wa .ljg-contacto__card-icon { color: #25D366; background: rgba(37,211,102,.12); }

.ljg-contacto__card-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(192,57,43,.15);
    color: var(--ljg-red-l);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ljg-contacto__card-icon svg { width: 20px; height: 20px; }

.ljg-contacto__card-label {
    display: block;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(253,250,245,.4);
    margin-bottom: 4px;
}
.ljg-contacto__card-value {
    font-size: .97rem;
    font-weight: 700;
    color: var(--ljg-white);
    text-decoration: none;
    transition: color var(--ljg-trans);
}
a.ljg-contacto__card-value:hover { color: var(--ljg-gold); }

/* Social */
.ljg-contacto__social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    color: rgba(253,250,245,.45);
    font-size: .85rem;
}
.ljg-contacto__soc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(253,250,245,.6);
    transition: background var(--ljg-trans), border-color var(--ljg-trans), color var(--ljg-trans);
    text-decoration: none;
}
.ljg-contacto__soc svg { width: 16px; height: 16px; }
.ljg-contacto__soc:hover {
    background: var(--ljg-red);
    border-color: var(--ljg-red);
    color: #fff;
}

/* ── Form ── */
.ljg-contacto__form-wrap {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 40px 40px;
    backdrop-filter: blur(6px);
}
.ljg-contacto__form-header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.ljg-contacto__form-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--ljg-white);
    margin-bottom: 6px;
}
.ljg-contacto__form-header p {
    font-size: .85rem;
    color: rgba(253,250,245,.45);
}

.ljg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ljg-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.ljg-field label {
    font-size: .78rem;
    letter-spacing: .06em;
    color: rgba(253,250,245,.55);
    text-transform: uppercase;
    font-weight: 700;
}
.ljg-field label span { color: var(--ljg-red-l); }

.ljg-field input,
.ljg-field select,
.ljg-field textarea {
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: var(--ljg-radius) !important;
    padding: 13px 16px !important;
    color: var(--ljg-white) !important;
    font-family: 'Lato', sans-serif !important;
    font-size: .95rem !important;
    transition: border-color var(--ljg-trans), background var(--ljg-trans) !important;
    width: 100% !important;
    outline: none !important;
}
.ljg-field input:focus,
.ljg-field select:focus,
.ljg-field textarea:focus {
    border-color: rgba(212,175,55,.6) !important;
    background: rgba(255,255,255,.09) !important;
}
.ljg-field input::placeholder,
.ljg-field textarea::placeholder {
    color: rgba(253,250,245,.28) !important;
}
.ljg-field select option {
    background: #2d1a1a;
    color: #fff;
}
.ljg-field textarea { resize: vertical; }

/* Form messages */
.ljg-form-msg {
    padding: 14px 20px;
    border-radius: var(--ljg-radius);
    font-size: .9rem;
    margin-bottom: 20px;
}
.ljg-form-msg.ljg-success {
    background: rgba(39,174,96,.15);
    border: 1px solid rgba(39,174,96,.3);
    color: #6fcf97;
}
.ljg-form-msg.ljg-error {
    background: rgba(192,57,43,.15);
    border: 1px solid rgba(192,57,43,.35);
    color: #e57373;
}

/* Spinner */
.ljg-spin {
    animation: ljg-spinAnim 1s linear infinite;
}
@keyframes ljg-spinAnim {
    to { transform: rotate(360deg); }
}

/* ============================================================
   REVEAL ANIMATION (scroll-based)
   ============================================================ */
[data-ljg-reveal] {
    opacity: 0;
    transition: opacity .7s ease, transform .7s ease;
}
[data-ljg-reveal="left"]  { transform: translateX(-40px); }
[data-ljg-reveal="right"] { transform: translateX(40px);  }
[data-ljg-reveal="up"]    { transform: translateY(30px);   }

[data-ljg-reveal].ljg-revealed {
    opacity: 1;
    transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .ljg-sobre__inner    { grid-template-columns: 1fr; gap: 60px; }
    .ljg-contacto__grid  { grid-template-columns: 1fr; }
    .ljg-hero__decor     { display: none; }
    .ljg-sobre__ring--1  { width: 280px; height: 280px; }
    .ljg-sobre__ring--2  { width: 220px; height: 220px; }
}
@media (max-width: 620px) {
    .ljg-hero__stats      { flex-direction: column; gap: 24px; }
    .ljg-hero__stat-sep   { display: none; }
    .ljg-sobre__pillars   { grid-template-columns: 1fr; }
    .ljg-form-row         { grid-template-columns: 1fr; }
    .ljg-contacto__form-wrap { padding: 28px 20px; }
    .ljg-sobre__badge     { display: none; }
}

/* ============================================================
   SECCIONES LEGALES (Términos, Seguridad, Privacidad)
   ============================================================ */
.ljg-legal {
    font-family: 'Lato', sans-serif;
    background: #FDFAF5;
    color: var(--ljg-text);
    min-height: 60vh;
}

/* ── Hero de cabecera legal ─────────────────────────────────── */
.ljg-legal__hero {
    background: linear-gradient(160deg, var(--ljg-dark) 0%, var(--ljg-dark-2) 100%);
    text-align: center;
    padding: 80px 24px 70px;
    position: relative;
    overflow: hidden;
}
.ljg-legal__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%,
        rgba(192,57,43,.18) 0%, transparent 70%);
    pointer-events: none;
}
/* Decorative diagonal lines */
.ljg-legal__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -55deg,
        rgba(255,255,255,.02) 0px,
        rgba(255,255,255,.02) 1px,
        transparent 1px,
        transparent 28px
    );
    pointer-events: none;
}

.ljg-legal__hero-icon {
    position: relative;
    z-index: 1;
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(212,175,55,.35);
    background: rgba(212,175,55,.08);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: var(--ljg-gold);
}
.ljg-legal__hero-icon svg { width: 38px; height: 38px; }

.ljg-legal__hero-badge {
    position: relative; z-index: 1;
    display: inline-block;
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ljg-gold);
    border: 1px solid rgba(212,175,55,.3);
    border-radius: 30px;
    padding: 5px 18px;
    margin-bottom: 18px;
}

.ljg-legal__hero-title {
    position: relative; z-index: 1;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--ljg-white);
    margin-bottom: 14px;
}

.ljg-legal__hero-sub {
    position: relative; z-index: 1;
    font-size: .9rem;
    color: rgba(253,250,245,.55);
    letter-spacing: .04em;
}
.ljg-legal__hero-sub strong { color: var(--ljg-gold); }

/* ── Layout: TOC + Content ──────────────────────────────────── */
.ljg-legal__body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 50px;
    align-items: start;
}

/* ── Table of Contents ────────────────────────────────────────── */
.ljg-legal__toc {
    position: sticky;
    top: 90px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(192,57,43,.12);
    border-top: 3px solid var(--ljg-red);
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.ljg-legal__toc h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--ljg-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.ljg-legal__toc ol {
    list-style: none;
    padding: 0; margin: 0;
    counter-reset: toc;
}
.ljg-legal__toc ol li {
    counter-increment: toc;
    margin-bottom: 8px;
}
.ljg-legal__toc ol li a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .82rem;
    color: var(--ljg-muted);
    text-decoration: none;
    line-height: 1.4;
    padding: 6px 8px;
    border-radius: 5px;
    transition: background var(--ljg-trans), color var(--ljg-trans);
}
.ljg-legal__toc ol li a::before {
    content: counter(toc, decimal-leading-zero);
    flex-shrink: 0;
    font-size: .7rem;
    font-weight: 700;
    color: var(--ljg-red);
    opacity: .7;
    margin-top: 1px;
}
.ljg-legal__toc ol li a:hover {
    background: rgba(192,57,43,.06);
    color: var(--ljg-red);
}

/* ── Content area ─────────────────────────────────────────────── */
.ljg-legal__content {
    min-width: 0;
}

/* Sections */
.ljg-legal__section {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,.07);
}
.ljg-legal__section:last-child { border-bottom: none; }

.ljg-legal__section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--ljg-dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.3;
}
.ljg-legal__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ljg-red), var(--ljg-red-l));
    color: #fff;
    font-size: .75rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: .02em;
}

.ljg-legal__section p {
    font-size: .97rem;
    line-height: 1.85;
    color: var(--ljg-text);
    margin-bottom: 14px;
}
.ljg-legal__section p:last-child { margin-bottom: 0; }
.ljg-legal__section em { color: var(--ljg-muted); font-style: italic; }

.ljg-legal__section ul,
.ljg-legal__section ol {
    padding-left: 0;
    margin: 12px 0 18px;
    list-style: none;
}
.ljg-legal__section ul li,
.ljg-legal__section ol li {
    position: relative;
    padding: 7px 0 7px 26px;
    font-size: .95rem;
    line-height: 1.65;
    color: var(--ljg-text);
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.ljg-legal__section ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 16px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ljg-red);
    opacity: .7;
}
.ljg-legal__section ol {
    counter-reset: legal-ol;
}
.ljg-legal__section ol li {
    counter-increment: legal-ol;
}
.ljg-legal__section ol li::before {
    content: counter(legal-ol) '.';
    position: absolute;
    left: 0; top: 7px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--ljg-red);
}

/* Alert banner */
.ljg-legal__alert {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(192,57,43,.06);
    border-left: 4px solid var(--ljg-red);
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin-bottom: 36px;
    color: var(--ljg-text);
}
.ljg-legal__alert--green {
    background: rgba(39,174,96,.07);
    border-left-color: #27ae60;
}
.ljg-legal__alert--blue {
    background: rgba(41,128,185,.07);
    border-left-color: #2980b9;
}
.ljg-legal__alert svg {
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: var(--ljg-red);
    margin-top: 2px;
}
.ljg-legal__alert--green svg { color: #27ae60; }
.ljg-legal__alert--blue  svg { color: #2980b9; }
.ljg-legal__alert p { margin: 0; font-size: .93rem; line-height: 1.7; }

/* Highlight box */
.ljg-legal__highlight {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(212,175,55,.08);
    border: 1px solid rgba(212,175,55,.25);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
}
.ljg-legal__highlight svg {
    flex-shrink: 0;
    width: 20px; height: 20px;
    color: var(--ljg-gold);
    margin-top: 2px;
}
.ljg-legal__highlight p { margin: 0; font-size: .92rem; line-height: 1.65; }

/* Contact box */
.ljg-legal__contact-box {
    background: var(--ljg-gray);
    border: 1px solid rgba(192,57,43,.12);
    border-radius: 8px;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: .93rem;
    line-height: 1.6;
}
.ljg-legal__contact-box div { color: var(--ljg-text); }
.ljg-legal__contact-box a {
    color: var(--ljg-red);
    text-decoration: none;
    font-weight: 700;
}
.ljg-legal__contact-box a:hover { text-decoration: underline; }

/* Table */
.ljg-legal__table-wrap {
    overflow-x: auto;
    margin: 16px 0 20px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.08);
}
.ljg-legal__table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.ljg-legal__table thead tr {
    background: linear-gradient(135deg, var(--ljg-dark), var(--ljg-dark-2));
    color: #fff;
}
.ljg-legal__table thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    letter-spacing: .04em;
    font-size: .8rem;
    text-transform: uppercase;
}
.ljg-legal__table tbody tr {
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: background var(--ljg-trans);
}
.ljg-legal__table tbody tr:nth-child(even) { background: rgba(0,0,0,.025); }
.ljg-legal__table tbody tr:hover { background: rgba(192,57,43,.04); }
.ljg-legal__table tbody td { padding: 12px 16px; color: var(--ljg-text); line-height: 1.5; }

/* Security badges */
.ljg-legal__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    justify-content: center;
}
.ljg-legal__badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(39,174,96,.2);
    border-radius: 8px;
    padding: 14px 20px;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.ljg-legal__badge-item svg {
    flex-shrink: 0;
    width: 28px; height: 28px;
    color: #27ae60;
}
.ljg-legal__badge-item span {
    font-size: .85rem;
    font-weight: 700;
    color: var(--ljg-dark);
    line-height: 1.3;
}
.ljg-legal__badge-item small {
    display: block;
    font-weight: 400;
    font-size: .75rem;
    color: var(--ljg-muted);
}

/* Rights grid */
.ljg-legal__rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 24px;
}
.ljg-legal__right {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-top: 3px solid var(--ljg-red);
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    transition: box-shadow var(--ljg-trans), transform var(--ljg-trans);
}
.ljg-legal__right:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    transform: translateY(-3px);
}
.ljg-legal__right svg {
    width: 28px; height: 28px;
    color: var(--ljg-red);
    margin-bottom: 10px;
}
.ljg-legal__right strong {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--ljg-dark);
    margin-bottom: 6px;
}
.ljg-legal__right p {
    font-size: .78rem !important;
    color: var(--ljg-muted) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* ── Responsive legal ───────────────────────────────────────── */
@media (max-width: 900px) {
    .ljg-legal__body { grid-template-columns: 1fr; gap: 30px; }
    .ljg-legal__toc  { position: static; }
    .ljg-legal__rights-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 580px) {
    .ljg-legal__rights-grid { grid-template-columns: 1fr; }
    .ljg-legal__badges { flex-direction: column; }
    .ljg-legal__badge-item { max-width: 100%; }
    .ljg-legal__hero { padding: 60px 20px 50px; }
    .ljg-legal__section h2 { font-size: 1.2rem; }
}
