/* ===== AnswerDesk Shared Pages Styling (About, Contact, Terms, Privacy) ===== */

:root {
    --primary: #278b7d;
    --primary-dark: #1b665b;
    --primary-light: #5eead4;
    --accent: #278b7d;
    --dark: #162f2b;
    --dark-surface: #123e35;
    
    /* IllyVoIP Design Tokens */
    --iv-bg-base: #f4f7f0;
    --iv-bg-alt: #edf4ec;
    --iv-bg-card: #ffffff;
    --iv-ink: #162f2b;
    --iv-body: #475a52;
    --iv-muted: #6b7e76;
    --iv-teal: #278b7d;
    --iv-teal-hover: #1b665b;
    --iv-teal-light: #ebf6f2;
    --iv-teal-border: #99cfc5;
    --iv-deep: #123e35;
    --iv-deep-dark: #0d2e27;
    --iv-line: #dce7df;
    --iv-line-subtle: #e8f0ea;
    --iv-shadow: 0 4px 20px rgba(18, 62, 53, 0.05);
    --iv-shadow-hover: 0 16px 36px rgba(18, 62, 53, 0.10);

    --gray-50: #f4f7f0;
    --gray-100: #edf4ec;
    --gray-200: #dce7df;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #6b7e76;
    --gray-600: #475a52;
    --gray-700: #334155;
    --gray-800: #162f2b;
    --gray-900: #0d2e27;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(18, 62, 53, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(18, 62, 53, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(18, 62, 53, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(18, 62, 53, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--iv-deep);
    color: #dcefe7;
    font-size: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-centered .top-bar-inner,
.top-bar-inner:has(> :only-child) {
    justify-content: center !important;
    text-align: center !important;
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(244, 247, 240, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--iv-line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 34px;
    height: 34px;
}

.logo-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-name-accent {
    color: var(--primary);
}

.header-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.header-cta {
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    transition: background 0.2s, transform 0.1s;
}

.header-cta:hover {
    background: var(--primary-dark);
}

/* ===== PAGE HERO BANNER ===== */
.page-hero {
    background: linear-gradient(135deg, #123e35 0%, #162f2b 100%);
    color: white;
    padding: 60px 24px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
}

.page-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.hero-pill {
    display: inline-block;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.page-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 16px;
    color: var(--gray-300);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== MAIN CONTENT CONTAINER ===== */
.page-container {
    max-width: 1440px;
    margin: -30px auto 60px;
    padding: 0 36px;
    position: relative;
    z-index: 10;
}

.content-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    padding: 48px;
    margin-bottom: 30px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.content-card code,
.legal-content code,
.doc-section-card code {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

/* ===== LEGAL / TEXT TYPOGRAPHY ===== */
.legal-content h2, .content-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 36px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.legal-content h2:first-of-type, .content-card h2:first-of-type {
    margin-top: 0;
}

.legal-content h3, .content-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 24px;
    margin-bottom: 10px;
}

.legal-content p, .content-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul, .content-card ul {
    margin: 12px 0 20px 24px;
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
}

.legal-content li, .content-card li {
    margin-bottom: 8px;
}

/* ===== CALLOUT / NOTICE BOXES ===== */
.callout-box {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 18px 22px;
    margin: 24px 0;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.6;
}

.callout-box.warning {
    background: #fffbeb;
    border-left-color: var(--warning);
    color: #92400e;
}

.callout-box.emergency {
    background: #fef2f2;
    border-left-color: var(--danger);
    color: #991b1b;
}

.callout-box.success {
    background: #f0fdf4;
    border-left-color: var(--success);
    color: #166534;
}

.callout-title {
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== PHASE / STEP CARDS (FOR ABOUT US VETTING) ===== */
.vetting-phases {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 28px 0;
}

.phase-card {
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.phase-card:hover {
    box-shadow: var(--shadow-md);
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.phase-num {
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.phase-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.phase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 14px;
}

.phase-feature {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.phase-feature-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-800);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.phase-feature-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ===== CONTACT & ESCALATION TABS & FORMS ===== */
.contact-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 2px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-500);
    padding: 10px 18px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-btn.escalate-tab.active {
    color: #dc2626;
    border-bottom-color: #dc2626;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--gray-800);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.btn-submit.btn-danger {
    background: #dc2626;
}

.btn-submit.btn-danger:hover {
    background: #b91c1c;
}

.form-feedback {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.5;
}

.form-feedback.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Contact Cards Grid */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.contact-card {
    background: #f8fafc;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 22px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.contact-card-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.contact-card-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.contact-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    word-break: break-all;
}

.contact-card-link:hover {
    text-decoration: underline;
}

/* ===== PLATFORM GUARANTEE BAR (COMPLIANT TRUST BAR) ===== */
.guarantee-bar {
    background: #f8fafc;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.guarantee-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.guarantee-text h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.guarantee-text p {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.4;
    margin-bottom: 0;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--iv-deep);
    color: #dcefe7;
    padding: 60px 24px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-desc {
    font-size: 14px;
    color: #a3c9bd;
    line-height: 1.6;
    margin-top: 12px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #b8d5cb;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

.brand-disclaimer {
    border-top: 1px solid #1e293b;
    padding: 18px 0 12px 0;
    margin-bottom: 10px;
}

.brand-disclaimer p {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.7;
    text-align: left;
    max-width: 100%;
    margin: 0;
}

.footer-bottom {
    text-align: left;
    font-size: 12px;
    color: #475569;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 850px;
    background: #0f172a;
    color: #e2e8f0;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid #334155;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
}

.cookie-text a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--primary);
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cookie-accept:hover {
    background: var(--primary-dark);
}

.btn-cookie-essential {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cookie-essential:hover {
    background: #1e293b;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .content-card { padding: 24px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .page-title { font-size: 28px; }
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        bottom: 10px;
        width: calc(100% - 20px);
    }
    .cookie-actions {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   Dedicated FAQ Accordion & Page Styling (IllyVoIP Theme)
   ========================================================================== */

.faq-search-wrapper {
    max-width: 680px;
    margin: 0 auto 36px;
    position: relative;
}

.faq-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 2px solid var(--iv-line);
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 8px 24px rgba(18, 62, 53, 0.08);
    transition: all 0.25s ease;
}

.faq-search-box:focus-within {
    border-color: var(--iv-teal);
    box-shadow: 0 0 0 4px rgba(39, 139, 125, 0.18), 0 10px 28px rgba(18, 62, 53, 0.12);
}

.faq-search-icon {
    width: 20px;
    height: 20px;
    color: var(--iv-teal);
    flex-shrink: 0;
}

.faq-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    color: var(--iv-ink);
    background: transparent;
}

.faq-search-input::placeholder {
    color: var(--iv-muted);
}

.faq-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.faq-pill {
    background: #ffffff;
    border: 1.5px solid var(--iv-line);
    color: var(--iv-body);
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.faq-pill:hover {
    border-color: var(--iv-teal);
    color: var(--iv-ink);
    background: var(--iv-bg-alt);
}

.faq-pill.active {
    background: var(--iv-teal);
    border-color: var(--iv-teal);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(39, 139, 125, 0.25);
}

.faq-category-section {
    margin-bottom: 38px;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--iv-line);
}

.faq-category-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--iv-ink);
    margin: 0;
}

.faq-category-header .faq-badge {
    background: #ebf6f2;
    color: #164e43;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1.5px solid var(--iv-line);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(18, 62, 53, 0.03);
}

.faq-item:hover {
    border-color: var(--iv-teal-border);
}

.faq-item.active {
    border-color: var(--iv-teal);
    box-shadow: 0 6px 18px rgba(18, 62, 53, 0.08);
}

.faq-question-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--iv-ink);
    transition: color 0.2s;
}

.faq-question-btn:hover {
    color: var(--iv-teal);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--iv-teal);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer-panel {
    display: none;
    padding: 0 22px 20px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--iv-body);
    border-top: 1px solid var(--iv-line-subtle);
    padding-top: 16px;
}

.faq-item.active .faq-answer-panel {
    display: block;
    animation: fadeIn 0.25s ease;
}

.faq-answer-panel p {
    margin-bottom: 10px;
}

.faq-answer-panel p:last-child {
    margin-bottom: 0;
}

.faq-answer-panel ul {
    margin: 8px 0 12px 22px;
}

.faq-answer-panel li {
    margin-bottom: 6px;
}

.faq-cta-box {
    background: linear-gradient(135deg, #123e35 0%, #162f2b 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    margin-top: 50px;
}

.faq-cta-box h3 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.faq-cta-box p {
    color: #b8d5cb;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 24px;
}

.faq-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-faq-chat {
    background: #278b7d;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-faq-chat:hover {
    background: #1e6d62;
    transform: translateY(-2px);
}

.btn-faq-articles {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-faq-articles:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
   HIGH-CONTRAST ILLYVOIP FOOTER RULES (WCAG AAA VISIBILITY)
   ========================================================================== */
.site-footer {
    background: #123e35 !important;
    color: #ffffff !important;
    padding: 60px 0 36px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    width: 100% !important;
}

.site-footer .section-container,
.site-footer .footer-inner {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.site-footer .footer-logo .logo-name {
    color: #ffffff !important;
}

.site-footer .footer-logo .logo-name-accent {
    color: #5eead4 !important;
}

.site-footer .footer-desc {
    color: #cbe3db !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
}

.site-footer .footer-col h4 {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
    letter-spacing: 0.3px !important;
}

.site-footer .footer-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer .footer-col ul li {
    margin-bottom: 10px !important;
}

.site-footer .footer-col ul li a {
    color: #dcefe7 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

.site-footer .footer-col ul li a:hover {
    color: #5eead4 !important;
    transform: translateX(3px) !important;
}

.site-footer .footer-guarantees {
    background: #ffffff !important;
    border: 1.5px solid #dce7df !important;
    border-radius: 18px !important;
    padding: 22px 28px !important;
    margin: 32px 0 28px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.site-footer .footer-guarantee-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.site-footer .guarantee-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.site-footer .guarantee-icon-wrap img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
}

.site-footer .footer-guarantee-item strong {
    color: #123e35 !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 3px !important;
}

.site-footer .footer-guarantee-item p {
    color: #475a52 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.site-footer .brand-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding: 14px 0 8px 0 !important;
    margin-top: 18px !important;
}

.site-footer .footer-bottom > p {
    color: #8bb0a4 !important;
    font-size: 11.5px !important;
    margin-top: 8px !important;
}

.site-footer .footer-bottom .brand-disclaimer p {
    color: #9ec3b7 !important;
    font-size: 10.5px !important;
    line-height: 1.48 !important;
    margin: 0 !important;
}

/* ===== EXPERT VERIFICATION MANUAL BRIDGE CARD ===== */
.expert-doc-bridge-card {
    background: linear-gradient(135deg, #f4f7f0 0%, #ebf6f2 100%);
    border: 1.5px solid #99cfc5;
    border-radius: 20px;
    padding: 36px 40px;
    margin: 32px 0 36px;
    box-shadow: 0 8px 24px rgba(18, 62, 53, 0.05);
}

.doc-bridge-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #b9dfd5;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #123e35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.doc-bridge-title {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #162f2b !important;
    margin: 0 0 8px !important;
    line-height: 1.25 !important;
}

.doc-bridge-subtitle {
    font-size: 15px !important;
    color: #475a52 !important;
    margin: 0 0 24px !important;
    max-width: 960px;
    line-height: 1.6 !important;
}

.doc-pictoid-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.doc-pictoid-card {
    background: #ffffff;
    border: 1.5px solid #dce7df;
    border-radius: 14px;
    padding: 18px 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.doc-pictoid-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(18, 62, 53, 0.08);
    border-color: #99cfc5;
}

.doc-pictoid-icon {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 10px;
}

.doc-pictoid-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #162f2b;
    margin-bottom: 6px;
}

.doc-pictoid-desc {
    font-size: 12px;
    color: #475a52;
    line-height: 1.5;
}

.doc-link-wrap {
    padding-top: 20px;
    border-top: 1px solid rgba(18, 62, 53, 0.12);
}

.expert-full-manual-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #278b7d;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    transition: all 0.2s ease;
}

.expert-full-manual-link:hover {
    color: #1b665b;
    text-decoration-color: #1b665b;
    transform: translateX(4px);
}

.expert-full-manual-link .link-icon {
    font-size: 20px;
    text-decoration: none;
}

.expert-full-manual-link .link-arrow {
    font-size: 18px;
    font-weight: 900;
    transition: transform 0.2s ease;
}

.expert-full-manual-link:hover .link-arrow {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .doc-pictoid-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .doc-pictoid-grid {
        grid-template-columns: 1fr;
    }
    .expert-doc-bridge-card {
        padding: 24px 20px;
    }
}

/* ===== DETAILED DOCUMENTATION STYLING FOR EXPERT-VERIFICATION.HTML ===== */
.doc-section-card {
    background: #ffffff;
    border: 1px solid #dce7df;
    border-radius: 18px;
    padding: 32px 36px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(18, 62, 53, 0.04);
}

.doc-step-item {
    background: #fafcf9;
    border: 1px solid #e2ede5;
    border-left: 4px solid #278b7d;
    border-radius: 12px;
    padding: 22px 24px;
    margin: 20px 0;
}

.doc-step-num {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #278b7d;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.doc-step-header {
    font-size: 18px;
    font-weight: 800;
    color: #162f2b;
    margin-bottom: 10px;
}

.doc-level-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.doc-level-card {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 20px 18px;
}

.doc-level-card.level-1 { border-color: #94a3b8; }
.doc-level-card.level-2 { border-color: #38bdf8; }
.doc-level-card.level-3 { border-color: #278b7d; background: #f0fdf9; }
.doc-level-card.level-4 { border-color: #f59e0b; background: #fffbeb; }

.doc-level-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    background: #e2e8f0;
    color: #334155;
    margin-bottom: 8px;
}

.doc-level-card.level-3 .doc-level-tag { background: #bbf7d0; color: #166534; }
.doc-level-card.level-4 .doc-level-tag { background: #fef08a; color: #854d0e; }

.doc-outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.doc-outcome-card {
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    background: #fafafa;
}

.doc-outcome-card.outcome-approved {
    background: #f0fdf4;
    border-color: #86efac;
}

.doc-outcome-card.outcome-limited {
    background: #f0fdf9;
    border-color: #99cfc5;
}

.doc-outcome-card.outcome-info {
    background: #fffbeb;
    border-color: #fde68a;
}

.doc-outcome-card.outcome-manual {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.doc-outcome-card.outcome-rejected {
    background: #fef2f2;
    border-color: #fca5a5;
}

@media (max-width: 900px) {
    .phase-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .guarantee-bar { grid-template-columns: repeat(2, 1fr) !important; }
    .doc-pictoid-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .doc-level-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 600px) {
    .phase-grid { grid-template-columns: 1fr !important; }
    .guarantee-bar { grid-template-columns: 1fr !important; }
    .doc-pictoid-grid { grid-template-columns: 1fr !important; }
    .doc-level-grid { grid-template-columns: 1fr !important; }
    .content-card { padding: 22px 16px !important; }
    .page-container { padding: 0 12px !important; }
    .expert-doc-bridge-card { padding: 20px 16px !important; }
}

@media (max-width: 900px) {
    .site-footer .footer-guarantees {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .site-footer .footer-guarantees {
        grid-template-columns: 1fr !important;
    }
}


/* ===== RESPONSIVE FOOTER GUARANTEES UNIFIED ===== */
.site-footer .footer-guarantees {
    background: #ffffff !important;
    border: 1.5px solid #dce7df !important;
    border-radius: 18px !important;
    padding: 22px 28px !important;
    margin: 32px 0 28px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
}

.site-footer .footer-guarantee-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
}

.site-footer .guarantee-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.site-footer .guarantee-text {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.site-footer .footer-guarantee-item strong {
    color: #123e35 !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 3px !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.site-footer .footer-guarantee-item p {
    color: #475a52 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.site-footer .guarantee-icon-wrap img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
    }
    .site-footer .footer-guarantees {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 20px !important;
        padding: 20px 22px !important;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 40px 16px 38px !important;
    }
    .page-container {
        padding: 0 16px !important;
        margin: -22px auto 44px !important;
    }
    .site-footer {
        padding: 42px 0 34px 0 !important;
    }
    .site-footer .section-container,
    .site-footer .footer-inner {
        padding: 0 18px !important;
    }
    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }
    .contact-tabs {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
}

@media (max-width: 600px) {
    .site-footer .footer-guarantees {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 16px !important;
    }
    .page-container {
        padding: 0 12px !important;
    }
    .content-card {
        padding: 20px 16px !important;
    }
    .doc-section-card {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }
    .doc-step-item {
        padding: 16px 14px !important;
    }
    .contact-tabs {
        flex-direction: column !important;
        border-bottom: none !important;
        gap: 8px !important;
        padding-bottom: 0 !important;
    }
    .tab-btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 14.5px !important;
        padding: 11px 14px !important;
        margin-bottom: 0 !important;
        border: 1.5px solid var(--gray-200) !important;
        border-radius: var(--radius-md) !important;
        background: #f8fafc !important;
    }
    .tab-btn.active {
        border-color: var(--primary) !important;
        background: var(--iv-teal-light) !important;
    }
    .tab-btn.escalate-tab.active {
        border-color: #dc2626 !important;
        background: #fef2f2 !important;
    }
    .form-control {
        font-size: 16px !important;
    }
    .btn-submit {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Top-bar and cookie-banner responsiveness are managed centrally in mobile-nav.css */
