/* ============================================
   COMPACT COMPLIANCE SUPPORT PAGE STYLES
   Ultra-compact, professional design with minimal spacing
   ============================================ */

/* Page Base Styles */
.compliance-page {
    background: linear-gradient(180deg, #fdfdf5 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Ultra-Compact Hero Section */
.compliance-hero {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e392f 0%, #2a4a3f 100%);
    overflow: hidden;
    padding: 1.5rem 0;
}

.compliance-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(218, 165, 32, 0.1) 0%, transparent 50%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(218, 165, 32, 0.15);
    border: 1px solid rgba(218, 165, 32, 0.3);
    padding: 0.25rem 0.875rem;
    border-radius: 50px;
    color: #DAA520;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(10px);
}

.compliance-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #FAFAFA;
    margin-bottom: 0.4rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.compliance-hero h1 .highlight {
    background: linear-gradient(135deg, #DAA520 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(0.75rem, 1.3vw, 0.95rem);
    color: rgba(250, 250, 250, 0.9);
    margin-bottom: 0;
    line-height: 1.4;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Container - Reduced Padding */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Spacing - Minimal */
.frameworks-section,
.compliance-areas-section,
.process-section {
    padding: 1.5rem 0;
    background: #ffffff;
}

.compliance-areas-section {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

/* Section Headers - Compact */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(255, 215, 0, 0.1));
    border: 1px solid rgba(218, 165, 32, 0.3);
    padding: 0.25rem 0.875rem;
    border-radius: 50px;
    color: #B8860B;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #1e392f;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.2;
}

/* Frameworks Grid - Compact */
.frameworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.framework-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(30, 57, 47, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.framework-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #DAA520, #FFD700);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.framework-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.12);
    border-color: rgba(218, 165, 32, 0.3);
}

.framework-card:hover::before {
    transform: scaleY(1);
}

.framework-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.framework-card h3 {
    font-size: 1rem;
    color: #1e392f;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.framework-card p {
    font-size: 0.8rem;
    color: #6B6B6B;
    line-height: 1.4;
    margin: 0;
}

/* Compliance Areas Grid - Compact */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.area-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(30, 57, 47, 0.08);
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.12);
    border-color: rgba(218, 165, 32, 0.3);
}

.area-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.area-card h3 {
    font-size: 1rem;
    color: #1e392f;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.area-card p {
    font-size: 0.8rem;
    color: #6B6B6B;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.metric-badge {
    display: inline-block;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    color: #1e392f;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Process Section - Compact */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.process-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(30, 57, 47, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.process-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.12);
    border-color: rgba(218, 165, 32, 0.3);
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e392f;
    margin: 0 auto 0.5rem;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
}

.process-card h3 {
    font-size: 0.95rem;
    color: #1e392f;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.process-card p {
    font-size: 0.75rem;
    color: #6B6B6B;
    line-height: 1.4;
    margin: 0;
}

/* CTA Section - Compact */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(218, 165, 32, 0.1);
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #1e392f;
    margin-bottom: 0.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #DAA520, #FFD700);
    color: #1e392f;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #DAA520;
    color: #1e392f;
}

.cta-contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.875rem 0 0 0;
    border-top: 1px solid #e2e8f0;
}

.cta-contact-box {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.875rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-contact-box:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

.cta-contact-symbol {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.cta-info-content h4 {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-bottom: 0.125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-info-content p {
    font-size: 0.8rem;
    color: #1e392f;
    margin: 0;
    font-weight: 600;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .compliance-hero {
        min-height: 160px;
        padding: 1.25rem 0;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.75rem;
        margin-bottom: 0.4rem;
    }

    .compliance-hero h1 {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        margin-bottom: 0.3rem;
    }

    .hero-description {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .frameworks-section,
    .compliance-areas-section,
    .process-section {
        padding: 1.25rem 0;
    }

    .section-header {
        margin-bottom: 0.875rem;
    }

    .section-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.75rem;
    }

    .section-header h2 {
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    }

    /* 2 cards per row in mobile for Frameworks and Areas */
    .frameworks-grid,
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    /* Center contact boxes in mobile */
    .cta-contact-wrapper {
        justify-content: center;
        align-items: center;
    }

    .framework-card,
    .area-card,
    .process-card {
        padding: 0.875rem;
    }

    .framework-icon,
    .area-icon {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .framework-card h3,
    .area-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .framework-card p,
    .area-card p {
        font-size: 0.75rem;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .process-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .process-card p {
        font-size: 0.7rem;
    }

    .metric-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .cta-section {
        padding: 1.25rem 0;
    }

    .cta-content h2 {
        font-size: clamp(1rem, 3vw, 1.3rem);
        margin-bottom: 0.3rem;
    }

    .cta-content p {
        font-size: 0.75rem;
        margin-bottom: 0.875rem;
    }

    .cta-buttons {
        gap: 0.5rem;
        margin-bottom: 0.875rem;
        justify-content: center;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        justify-content: center;
    }

    .cta-contact-wrapper {
        gap: 0.625rem;
        padding: 0.75rem 0 0 0;
        justify-content: center;
    }

    .cta-contact-box {
        padding: 0.4rem 0.75rem;
        justify-content: center;
    }

    .cta-contact-symbol {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    .cta-info-content h4 {
        font-size: 0.6rem;
    }

    .cta-info-content p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .compliance-hero {
        min-height: 140px;
        padding: 1rem 0;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.625rem;
        margin-bottom: 0.3rem;
    }

    .compliance-hero h1 {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
        margin-bottom: 0.25rem;
    }

    .hero-description {
        font-size: 0.7rem;
    }

    .frameworks-section,
    .compliance-areas-section,
    .process-section {
        padding: 1rem 0;
    }

    .section-header {
        margin-bottom: 0.75rem;
    }

    .section-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.625rem;
    }

    .section-header h2 {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }

    /* Keep 2 cards per row for Frameworks and Areas in mobile */
    .frameworks-grid,
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    /* Process grid stays single column */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .framework-card,
    .area-card,
    .process-card {
        padding: 0.75rem;
    }

    .framework-icon,
    .area-icon {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .framework-card h3,
    .area-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .framework-card p,
    .area-card p {
        font-size: 0.7rem;
    }

    .step-number {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .process-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .process-card p {
        font-size: 0.65rem;
    }

    .metric-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }

    .cta-section {
        padding: 1rem 0;
    }

    .cta-content h2 {
        font-size: clamp(0.95rem, 4vw, 1.2rem);
        margin-bottom: 0.25rem;
    }

    .cta-content p {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.4rem;
        margin-bottom: 0.75rem;
        justify-content: center;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
        justify-content: center;
        text-align: center;
    }

    .cta-contact-wrapper {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.625rem 0 0 0;
        justify-content: center;
        align-items: center;
    }

    .cta-contact-box {
        width: 100%;
        max-width: 280px;
        padding: 0.4rem 0.625rem;
        justify-content: center;
    }

    .cta-contact-symbol {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .cta-info-content h4 {
        font-size: 0.55rem;
    }

    .cta-info-content p {
        font-size: 0.7rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .compliance-hero,
    .cta-section {
        background: #ffffff !important;
    }

    .cta-buttons,
    .cta-contact-wrapper {
        display: none;
    }
}
