/* ForMuseums page styles (moved out of an inline <style> block so the CSP needs no 'unsafe-inline'). */
.museum-hero {
    text-align: center; padding: 5rem 2rem 3rem; max-width: 800px; margin: 0 auto;
}
.museum-hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 620; margin-bottom: 1rem; }
.museum-hero h2 {
    font-size: clamp(1rem, 2.5vw, 1.3rem); font-weight: 400; color: var(--text-2);
    line-height: 1.6; max-width: 640px; margin: 0 auto;
}
.divider {
    width: 60px; height: 3px; margin: 0 auto;
    background: linear-gradient(90deg, var(--trail-500), var(--waypoint)); border-radius: 2px;
}
.section-heading { text-align: center; margin-bottom: 1rem; }
.section-heading h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 620; color: var(--text-1); }
.section-intro {
    color: var(--text-2); line-height: 1.7; font-size: 0.95rem; text-align: center;
    max-width: 640px; margin: 0 auto 2.5rem;
}
.museum-section { padding: 4rem 2rem; max-width: 1000px; margin: 0 auto; }
.card-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.step-num {
    width: 40px; height: 40px; border-radius: 50%; margin-bottom: 1rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,168,107,0.15); color: var(--trail-500);
    font-weight: 700; font-size: 1.1rem;
}
.benefit-card {
    text-align: center; background: var(--ink-800); border: 1px solid var(--hairline);
    border-radius: 16px; padding: 2.5rem 1.5rem; transition: transform 0.3s, border-color 0.3s;
}
.benefit-card:hover { transform: translateY(-4px); border-color: rgba(0,168,107,0.25); }
.benefit-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.5rem; }
.benefit-card p { color: var(--text-2); line-height: 1.7; font-size: 0.9rem; }
.cta-section { text-align: center; padding: 2rem 2rem 4rem; }
.btn-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 16px 2.5rem; border: none; border-radius: 14px; cursor: pointer;
    font-family: inherit; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--trail-500), var(--trail-700));
    color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s; text-decoration: none;
}
.btn-cta:hover {
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.4); color: #fff;
}
/* Modal */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--ink-800); border: 1px solid rgba(0,168,107,0.2);
    border-radius: 24px; padding: 2.5rem; max-width: 440px; width: 100%;
    position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.modal h2 { font-size: 1.5rem; font-weight: 620; margin-bottom: 0.5rem; }
.modal p { color: var(--text-2); font-size: 0.92rem; margin-bottom: 1.5rem; line-height: 1.5; }
.modal-close {
    position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px;
    border-radius: 50%; border: 1px solid var(--hairline); background: rgba(255,255,255,0.06);
    color: var(--text-2); cursor: pointer; display: flex; align-items: center;
    justify-content: center; font-size: 1.1rem; transition: background 0.2s;
}
[dir="rtl"] .modal-close { right: auto; left: 1rem; }
.modal-close:hover { background: rgba(255,255,255,0.12); }
.form-submit { width: 100%; margin-top: 0.75rem; }
.museum-success { text-align: center; padding: 1rem 0; }
.museum-success .check-icon {
    width: 56px; height: 56px; border-radius: 50%; background: rgba(0,168,107,0.15);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; color: var(--trail-500); font-size: 1.5rem;
}
@media (max-width: 640px) {
    .museum-hero { padding: 3rem 1.25rem 2rem; }
    .museum-section { padding: 3rem 1.25rem; }
    .modal { padding: 1.75rem 1.25rem; border-radius: 18px; }
    .modal-overlay { padding: 1rem; }
}

.card-grid--spaced { margin-top: 2rem; }
