.lg-section {
    position: relative;
    overflow: hidden;
}
.lg-section--solid       { background: var(--lg-bg); }
.lg-section--gradient    { background: linear-gradient(180deg, var(--lg-bg-2) 0%, var(--lg-bg) 100%); }
.lg-section--gradient-rev{ background: linear-gradient(180deg, var(--lg-bg) 0%, var(--lg-bg-2) 100%); }
.lg-section--cta-dark    { background: radial-gradient(120% 90% at 50% 0%, #0a3a55 0%, #052336 55%, #031826 100%); color: rgba(255, 255, 255, 0.85); }

.lg-section--glow::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(60% 50% at 20% 0%, rgba(212, 175, 55, 0.10), transparent 60%),
        radial-gradient(50% 40% at 85% 10%, rgba(56, 189, 248, 0.06), transparent 70%);
}

.lg-section > .container,
.lg-section > .lg-section__inner { position: relative; z-index: 1; }

.lg-section--divider-top::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.6));
    transform: translateX(-50%);
    pointer-events: none;
}

.lg-section--pad      { padding: 5rem 0; }
.lg-section--pad-lg   { padding: 6rem 1rem; text-align: center; }
.lg-section--pad-hero { padding: 4rem 0; text-align: center; }

.lg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--lg-gold);
    font-size: 13px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 0 1.25rem;
}
.lg-eyebrow::before,
.lg-eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--lg-gold-tint-55);
}
.lg-eyebrow--start::after { display: none; }
.lg-eyebrow--start::before { width: 22px; }

.lg-title {
    font-family: var(--lg-font-serif);
    font-weight: 400;
    color: #ffffff;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
}
.lg-title em,
.lg-title i { font-style: italic; color: var(--lg-gold); }

.lg-title--md {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    letter-spacing: -0.005em;
    margin: 0 0 0.75rem;
}
.lg-title--hero {
    font-family: inherit;
    font-weight: 300;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.2;
    margin: 0 0 1rem;
}
.lg-title--sm {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 0.75rem;
    letter-spacing: -0.005em;
}

.lg-subtitle {
    color: var(--lg-muted-strong);
    font-size: 15px !important;
    font-weight: 300;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}
.lg-subtitle--wide    { max-width: 720px; }
.lg-subtitle.text-md { 
    font-size: 16px !important;
    font-weight: 400;
}

.lg-section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.lg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--lg-grid-min, 280px), 1fr));
    gap: var(--lg-grid-gap, 1.5rem);
    max-width: var(--lg-grid-max, 1200px);
    margin: 0 auto;
}

.lg-card {
    position: relative;
    background: linear-gradient(180deg, var(--lg-card) 0%, var(--lg-bg-2) 100%);
    border: 1px solid var(--lg-border);
    border-radius: 16px;
    padding: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.lg-card:hover {
    transform: translateY(-4px);
    border-color: var(--lg-border-hover);
    box-shadow:
        0 24px 50px -28px rgba(0, 0, 0, 0.6),
        0 10px 24px -16px rgba(212, 175, 55, 0.22);
}
.lg-card--light {
    background: var(--lg-card-light);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.5);
}
.lg-card--light:hover {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 24px 50px -24px rgba(0, 0, 0, 0.55),
        0 8px 20px -12px rgba(212, 175, 55, 0.28);
}
.lg-card-plain {
    background: var(--lg-bg);
}
.lg-card-plain h2 {
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: .5rem;
}
.lg-card-plain h3 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: .5rem;
}
.lg-card-plain p, .lg-card-plain li {
    font-size: 0.875rem;
    margin-bottom: .5rem !important;
    font-weight: 300;
}
.lg-card-plain li {
    margin-bottom: 0 !important;
}

.lg-icon-chip {
    --chip-size: 40px;
    width: var(--chip-size);
    height: var(--chip-size);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
    border: 1px solid var(--lg-gold-tint-25);
    color: var(--lg-gold);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.lg-icon-chip--sm { --chip-size: 34px; }
.lg-icon-chip--lg { --chip-size: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--lg-gold-tint-25), rgba(212, 175, 55, 0.05)); border-color: rgba(212, 175, 55, 0.35); }
.lg-icon-chip--round { --chip-size: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--lg-gold-tint-25), rgba(212, 175, 55, 0.05)); border-color: var(--lg-gold-tint-45); }
.lg-icon-chip .material-icons { font-size: 20px; }
.lg-icon-chip--sm .material-icons { font-size: 17px; }
.lg-icon-chip--lg .material-icons { font-size: 28px; }
.lg-icon-chip--round .material-icons { font-size: 15px; }

.lg-btn-gold {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 14px 32px;
    background: linear-gradient(135deg, #e6c25a 0%, #d4af37 50%, #b8932c 100%);
    color: #0a2536;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 8px 24px -8px rgba(212, 175, 55, 0.55),
        0 2px 0 rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.lg-btn-gold:hover {
    color: #0a2536;
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 14px 32px -10px rgba(212, 175, 55, 0.7),
        0 2px 0 rgba(0, 0, 0, 0.15);
}
.lg-btn-gold .material-icons { font-size: 18px; transition: transform 0.25s ease; }
.lg-btn-gold:hover .material-icons { transform: translateX(3px); }

@media (max-width: 575px) {
    .lg-section--pad-lg { padding: 4rem 1rem; }
    .lg-eyebrow::before,
    .lg-eyebrow::after { width: 18px; }
}
.lg-title-sm {
    color: var(--lg-text);
    font-family: var(--lg-font-serif);
    font-weight: 600;
    letter-spacing: .05em;
}
