/* ==============================================
   CLOSING DOCUMENTS PAGE — CLEAN & PROFESSIONAL
   ============================================== */

/* --- Base & Reset --- */
main {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #1e2b1f;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.section-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Hero Section --- */
.docs-hero {
    background: linear-gradient(165deg, #f6fbf8 0%, #edf5ec 100%);
    border-bottom: 1px solid rgba(45, 90, 45, 0.1);
    padding: 72px 0 64px;
}

.docs-hero-wrap {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.docs-hero-content {
    flex: 1 1 600px;
}

.page-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #2d5a2d;
    background: rgba(45, 90, 45, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(45, 90, 45, 0.15);
}

.docs-hero-content h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
    color: #1a3420;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.docs-hero-lead {
    font-size: 1.15rem;
    color: #2a4a2a;
    font-weight: 450;
    margin-bottom: 16px;
    max-width: 540px;
}

.docs-hero-content p {
    color: #4a5b4a;
    margin-bottom: 28px;
    font-size: 1rem;
}

/* Buttons */
.docs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.docs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    text-decoration: none;
    border: 1.5px solid transparent;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.docs-btn-primary {
    background: #1f4724;
    color: white;
    border-color: #1f4724;
    box-shadow: 0 6px 16px rgba(31, 71, 36, 0.15);
}

.docs-btn-primary:hover {
    background: #15311a;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(31, 71, 36, 0.2);
}

.docs-btn-secondary {
    background: white;
    color: #1f4724;
    border-color: #c0d6c0;
}

.docs-btn-secondary:hover {
    background: #f3f9f3;
    border-color: #1f4724;
}

/* Hero Card */
.docs-hero-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
    backdrop-filter: blur(2px);
    align-self: flex-start;
}

.docs-hero-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 18px;
    color: #1a3420;
    display: flex;
    align-items: center;
    gap: 8px;
}

.docs-hero-card h2::before {
    content: "📋";
    font-size: 1.4rem;
}

.docs-hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-hero-card li {
    padding: 10px 0;
    border-bottom: 1px solid #eaf0e6;
    font-size: 0.95rem;
    color: #2e4a2e;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.docs-hero-card li:last-child {
    border-bottom: none;
}

.docs-hero-card li::before {
    content: "✓";
    color: #1f4724;
    font-weight: 700;
    font-size: 0.9rem;
    background: #e3f1e3;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* --- General sections --- */
.docs-section {
    padding: 80px 0;
}

.docs-section h2 {
    font-size: 2rem;
    font-weight: 680;
    color: #1a3420;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.docs-section p {
    color: #3f543f;
    font-size: 1.05rem;
    max-width: 800px;
    margin-bottom: 18px;
}

.docs-section-light {
    background: #f8fbf6;
    border-top: 1px solid #e4efe4;
    border-bottom: 1px solid #e4efe4;
}

/* --- Grid cards (agreement) --- */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 24px;
}

.docs-card {
    background: white;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.docs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 34px rgba(0,0,0,0.06);
}

.docs-card h3 {
    font-size: 1.2rem;
    font-weight: 650;
    margin-bottom: 14px;
    color: #1d3821;
}

/* --- Numbered list --- */
.docs-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 16px;
}

.docs-list-item {
    display: flex;
    gap: 24px;
    align-items: baseline;
    background: white;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.02);
    border: 1px solid #eaf0e6;
}

.docs-list-item span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #b7cfb7;
    line-height: 1;
    min-width: 40px;
}

.docs-list-item h3 {
    font-size: 1.2rem;
    font-weight: 650;
    margin-bottom: 6px;
    color: #1a3420;
}

/* --- Columns --- */
.docs-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}



.docs-check-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.docs-check-list li {
    background: white;
    padding: 12px 18px;
    border-radius: 40px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d9e8d9;
}

.docs-check-list li::before {
    content: "•";
    color: #1f4724;
    font-weight: 700;
    font-size: 1.4rem;
}

/* --- FAQ --- */
.docs-faq {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.docs-faq details {
    background: white;
    border-radius: 16px;
    padding: 0;
    border: 1px solid #e0ece0;
    transition: all 0.2s;
}

.docs-faq details[open] {
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.docs-faq summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1d3821;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.docs-faq summary::-webkit-details-marker {
    display: none;
}

.docs-faq summary::after {
    content: "▾";
    font-size: 1.2rem;
    color: #557755;
    transition: transform 0.2s;
}

.docs-faq details[open] summary::after {
    transform: rotate(180deg);
}

.docs-faq p {
    padding: 0 24px 22px;
    margin: 0;
    color: #3f543f;
}

/* --- CTA block --- */
.docs-cta {
    background: #eaf4e7;
    padding: 64px 0;
}

.docs-cta-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
    background: white;
    border-radius: 28px;
    padding: 42px 48px;
    box-shadow: 0 18px 30px rgba(0,0,0,0.04);
}

.docs-cta-wrap h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    color: #1a3420;
}

.docs-cta-wrap p {
    color: #3e553e;
    max-width: 500px;
}

/* --- Responsive --- */
@media (max-width: 860px) {
    .docs-hero-wrap {
        flex-direction: column;
        gap: 28px;
    }
    .docs-hero-card {
        flex: unset;
        width: 100%;
    }
    .docs-columns {
        flex-direction: column;
        gap: 24px;
    }
    .docs-cta-wrap {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }
}

@media (max-width: 600px) {
    .docs-section {
        padding: 48px 0;
    }
    .docs-hero {
        padding: 48px 0 40px;
    }
    .docs-btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
}