msos/css/pages/_faq.css

146 lines
3.3 KiB
CSS

/* ==========================================================================
FAQ page
========================================================================== */
.faq-page { font-family: 'Inter', sans-serif; }
.faq-hero {
background: linear-gradient(180deg, #F5FAFB 0%, #FFFFFF 100%);
padding: 112px 24px 40px; /* clears the fixed 80px header */
text-align: center;
}
.faq-eyebrow {
display: inline-block;
color: #2D738C;
font-weight: 600;
font-size: 14px;
letter-spacing: 0.04em;
text-transform: uppercase;
margin-bottom: 12px;
}
.faq-hero h1 {
max-width: 760px;
margin: 0 auto 16px;
font-size: 40px;
line-height: 1.15;
color: #101828;
}
.faq-lead {
max-width: 680px;
margin: 0 auto;
font-size: 18px;
line-height: 28px;
color: #475467;
}
.faq-body {
max-width: 820px;
margin: 56px auto;
padding: 0 24px;
}
.faq-cat { margin-bottom: 44px; }
.faq-cat h2 {
font-size: 22px;
color: #101828;
margin: 0 0 16px;
padding-bottom: 10px;
border-bottom: 1px solid #EAECF0;
}
.faq-q {
border: 1px solid #EAECF0;
border-radius: 12px;
margin-bottom: 12px;
background: #FFFFFF;
transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-q[open] {
border-color: #D0DEE3;
box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
}
.faq-q summary {
list-style: none;
cursor: pointer;
padding: 18px 20px;
font-weight: 600;
font-size: 16px;
color: #101828;
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
}
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after {
content: '\f078';
font-family: 'Font Awesome 6 Free';
font-weight: 900;
font-size: 13px;
color: #2D738C;
flex: 0 0 auto;
transition: transform 0.2s ease;
}
.faq-q[open] summary::after { transform: rotate(180deg); }
.faq-a {
padding: 0 20px 20px;
color: #475467;
font-size: 15px;
line-height: 26px;
}
.faq-a p { margin: 0 0 12px; }
.faq-a a {
color: #2D738C;
font-weight: 600;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 8px;
}
.faq-a a:hover { text-decoration: underline; }
.faq-contact {
max-width: 820px;
margin: 0 auto 72px;
padding: 40px 24px;
text-align: center;
background: #F5FAFB;
border: 1px solid #EAECF0;
border-radius: 16px;
}
.faq-contact h2 { font-size: 22px; color: #101828; margin: 0 0 10px; }
.faq-contact p {
max-width: 620px;
margin: 0 auto 24px;
color: #475467;
font-size: 16px;
line-height: 26px;
}
.faq-contact-actions {
display: flex;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
}
.faq-viber-btn {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 12px 22px;
border-radius: 8px;
font-weight: 600;
font-size: 15px;
text-decoration: none;
color: #FFFFFF;
background: linear-gradient(135deg, #7360F2 0%, #5B45D6 100%);
transition: opacity 0.15s ease;
}
.faq-viber-btn:hover { opacity: 0.9; }
@media (max-width: 768px) {
.faq-hero { padding: 92px 20px 32px; }
.faq-hero h1 { font-size: 30px; }
.faq-lead { font-size: 16px; }
.faq-body { margin: 40px auto; }
.faq-contact-actions .btn,
.faq-viber-btn { width: 100%; justify-content: center; text-align: center; }
}