/* ==========================================================================
   BSQC CORPORATE DESIGN SYSTEM - style.css
   Board of Standardization & Quality Control (UK)
   ========================================================================== */

/* ==========================================
   1. VARIABLES & SYSTEM TOKENS
   ========================================== */
:root {
    /* Color Palette */
    --primary: #0B1F3A;         /* Deep Navy / Midnight Blue */
    --secondary: #164A7A;       /* Professional Royal Blue */
    --accent: #C9A45C;          /* Elegant Gold / Champagne Accent */
    --accent-hover: #B59047;
    --accent-light: rgba(201, 164, 92, 0.1);
    --light: #F5F7FA;
    --white: #FFFFFF;
    --text: #18212F;
    --muted: #667085;
    --border: #E4E7EC;
    --success: #039855;
    --warning: #F38015;
    --danger: #D92D20;
    
    /* Layout Sizing & Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Shadow Depth System */
    --shadow-sm: 0 4px 12px rgba(11, 31, 58, 0.03);
    --shadow-md: 0 12px 24px rgba(11, 31, 58, 0.06);
    --shadow-lg: 0 24px 48px rgba(11, 31, 58, 0.1);
    --shadow-hover: 0 20px 32px rgba(22, 74, 122, 0.08);
    
    /* Animations */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ==========================================
   2. RESET & BASE ELEMENTS
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ==========================================
   3. TYPOGRAPHY SYSTEM
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* 40px to 64px */
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem); /* 32px to 44px */
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.35rem, 3vw, 1.85rem); /* 22px to 30px */
}

h4 {
    font-size: 1.35rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text);
}

p.lead {
    font-size: 1.15rem;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.75;
}

.text-muted-custom {
    color: var(--muted);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

.eyebrow {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin-bottom: 1.5rem;
}

.main_logo{
    max-width: 130px;
    height: auto;
}

.accent-line.center {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   4. LAYOUT & SPACING
   ========================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section.bg-light {
    background-color: var(--light);
}

.section.bg-navy {
    background-color: var(--primary);
    color: var(--white);
}

.section.bg-navy h2, 
.section.bg-navy h3,
.section.bg-navy p.lead {
    color: var(--white);
}

.bg-navy{
    background-color: var(--primary);
}

/* ==========================================
   5. BUTTONS SYSTEM
   ========================================== */
.btn-custom {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-custom i {
    transition: var(--transition);
}

.btn-custom:hover i {
    transform: translateX(4px);
}

.btn-custom-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-custom-primary:hover {
    background-color: var(--accent-hover);
    color: var(--primary);
}

.btn-custom-secondary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-custom-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-custom-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-custom-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-custom-outline-navy {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-custom-outline-navy:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ==========================================
   6. HEADER & RESPONSIVE NAV
   ========================================== */
.top-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-header-info {
    display: flex;
    gap: 24px;
}

.top-header-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-header-info i {
    color: var(--accent);
}

.top-header-links {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.top-header-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.top-header-links a:hover {
    color: var(--accent);
}

.navbar-custom {
    background-color: var(--white);
    padding: 16px 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.navbar-custom.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: var(--shadow-md);
    padding: 12px 0;
    border-bottom: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar-brand-custom {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: var(--primary);
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.nav-link-custom {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 12px;
    position: relative;
    transition: var(--transition);
}

/* .nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
} */

.nav-link-custom:hover {
    color: var(--secondary);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link-custom.active {
    color: var(--secondary);
}

/* ==========================================
   7. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    background-color: var(--primary);
    padding: 140px 0 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.95) 0%, rgba(11, 31, 58, 0.7) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-weight: 850;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================
   8. TRUST / INFRASTRUCTURE BAR
   ========================================== */
.trust-bar {
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.trust-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent);
    padding: 30px;
    transition: var(--transition);
    height: 100%;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.trust-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.trust-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* ==========================================
   9. CORPORATE CARDS & COMPONENTS
   ========================================= */
.premium-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(22, 74, 122, 0.2);
}

.premium-card-icon {
    font-size: 2.25rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.premium-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.premium-card p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.card-link i {
    transition: var(--transition);
}

.card-link:hover {
    color: var(--accent);
}

.card-link:hover i {
    transform: translateX(4px);
}

/* ==========================================
   10. TIMELINE / PROCESS COMPONENT
   ========================================== */
.process-timeline {
    position: relative;
    padding: 20px 0;
}

.process-step-row {
    position: relative;
    padding-bottom: 40px;
}

.process-step-row::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--border);
}

.process-step-row:last-child::before {
    display: none;
}

.process-step-number {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
}

.process-step-content {
    padding-left: 20px;
    padding-top: 5px;
}

.process-step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.process-step-content p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Horizontal Timeline for Desktop */
@media (min-width: 992px) {
    .horizontal-timeline {
        display: flex;
        justify-content: space-between;
        position: relative;
        margin-top: 40px;
    }
    
    .horizontal-timeline::before {
        content: '';
        position: absolute;
        top: 25px;
        left: 5%;
        right: 5%;
        height: 2px;
        background-color: var(--border);
        z-index: 1;
    }
    
    .timeline-step {
        width: 15%;
        position: relative;
        z-index: 2;
        text-align: center;
    }
    
    .timeline-badge {
        width: 50px;
        height: 50px;
        background-color: var(--primary);
        border: 3px solid var(--border);
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px auto;
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 1.1rem;
        transition: var(--transition);
    }
    
    .timeline-step:hover .timeline-badge {
        background-color: var(--accent);
        color: var(--primary);
        border-color: var(--accent-light);
        transform: scale(1.1);
    }
    
    .timeline-title {
        font-family: var(--font-heading);
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--primary);
        line-height: 1.3;
    }
}

/* ==========================================
   11. DATA TABLES & SCHEMES
   ========================================== */
.table-responsive-custom {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.table-custom {
    width: 100%;
    margin-bottom: 0;
    vertical-align: middle;
    background-color: var(--white);
}

.table-custom th {
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05rem;
    padding: 16px 24px;
    border: none;
}

.table-custom td {
    padding: 16px 24px;
    color: var(--text);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.table-custom tbody tr:last-child td {
    border-bottom: none;
}

.table-custom tbody tr:nth-child(even) {
    background-color: var(--light);
}

/* ==========================================
   12. ACCORDION / FAQ COMPONENT
   ========================================== */
.accordion-custom-item {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-custom-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    cursor: pointer;
    outline: none;
}

.accordion-custom-icon {
    font-size: 1rem;
    color: var(--accent);
    transition: var(--transition);
}

.accordion-custom-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
}

.accordion-custom-content {
    padding-bottom: 24px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.accordion-custom-item.active {
    border-color: rgba(22, 74, 122, 0.3);
    box-shadow: var(--shadow-md);
}

.accordion-custom-item.active .accordion-custom-icon {
    transform: rotate(180deg);
}

.accordion-custom-item.active .accordion-custom-body {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================
   13. FORM CONTROLS
   ========================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label-custom {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control-custom {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background-color: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-control-custom:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(22, 74, 122, 0.1);
}

.form-control-custom::placeholder {
    color: rgba(102, 112, 133, 0.5);
}

textarea.form-control-custom {
    min-height: 120px;
    resize: vertical;
}

.form-check-label-custom {
    font-size: 0.9rem;
    color: var(--muted);
    cursor: pointer;
}

/* ==========================================
   14. FOOTER SECTION
   ========================================== */
.footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
    font-size: 0.9rem;
    border-top: 5px solid var(--accent);
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-brand .brand-title {
    color: var(--white);
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.footer-disclosure {
    font-size: 0.75rem;
    line-height: 1.5;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

/* ==========================================
   15. MOCK DIRECTORY SIMULATOR (VERIFY)
   ========================================== */
.verify-search-container {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.verify-result-box {
    margin-top: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: none; /* Shown via JS */
}

.verify-result-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.status-active {
    background-color: #ECFDF3;
    color: var(--success);
}

.status-suspended {
    background-color: #FEF6EE;
    color: var(--warning);
}

.status-withdrawn {
    background-color: #FEF3F2;
    color: var(--danger);
}

/* ==========================================
   16. BREADCRUMBS
   ========================================== */
.page-hero {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 50px 0;
    position: relative;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 1;
}

.page-hero-container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.breadcrumb-custom {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.breadcrumb-custom-item {
    display: flex;
    align-items: center;
}

.breadcrumb-custom-item a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-custom-item a:hover {
    color: var(--accent);
}

.breadcrumb-custom-item + .breadcrumb-custom-item::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-custom-item.active {
    color: var(--accent);
}

/* ==========================================
   17. SECTORS GRID
   ========================================== */
.sector-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.sector-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.sector-card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-light);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.sector-card:hover .sector-card-icon {
    background-color: var(--primary);
    color: var(--white);
}

.sector-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.sector-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* ==========================================
   18. PAGE LOADING OVERLAY
   ========================================== */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.loader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
}

.loader-logo .brand-title {
    font-size: 2.2rem;
}

.loader-line {
    width: 120px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    animation: loadingAnim 1.2s infinite ease-in-out;
}

@keyframes loadingAnim {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}

/* ==========================================
   20. LEGAL PAGES (PREMIUM LAYOUT)
   ========================================== */
.legal-hero {
    background-color: var(--primary);
    padding: 160px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
}

.legal-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.legal-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-left: 3px solid var(--accent);
    margin-top: 1.5rem;
}

.legal-content-wrapper {
    padding: 80px 0;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 2rem;
}

.legal-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid var(--border);
}

.legal-sidebar-nav li {
    margin-bottom: 0;
}

.legal-sidebar-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
    margin-left: -2px;
}

.legal-sidebar-nav a:hover,
.legal-sidebar-nav a.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: var(--light);
}

.legal-section {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h2 i {
    color: var(--accent);
    font-size: 1.25rem;
}

.legal-section p, 
.legal-section ul, 
.legal-section li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 800px;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

.minimal-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    margin: 2rem 0;
}

.minimal-table th {
    text-align: left;
    padding: 1rem 0.5rem;
    border-bottom: 2px solid var(--border);
    color: var(--primary);
    font-weight: 700;
}

.minimal-table td {
    padding: 1.25rem 0.5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.minimal-table tr:last-child td {
    border-bottom: none;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.right-card {
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

.right-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    color: var(--accent);
}
