/* Contact section + FAQ header, matching the refreshed page style */

/* ---------- Shared section header look (FAQ) ---------- */
.faq-section .faq-title {
    font-size: clamp(26px, 3.4vw, 40px) !important;
    font-weight: 800 !important;
    color: #0d253f !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
    line-height: 1.35 !important;
    margin: 0 0 12px !important;
}

.faq-section .faq-title::before,
.faq-section .faq-title::after {
    display: none !important;
}

[data-theme="dark"] .faq-section .faq-title {
    color: #f1f5f9 !important;
}

.faq-section .faq-subtitle {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: 18px !important;
    color: #4b6070 !important;
    max-width: 640px;
    margin: 0 auto 36px !important;
}

[data-theme="dark"] .faq-section .faq-subtitle {
    color: #a5b4c3 !important;
}

/* ---------- Contact ---------- */
.ct-section {
    --ct-teal: #0f766e;
    --ct-teal-soft: #e6f5f3;
    --ct-ink: #0d253f;
    --ct-muted: #4b6070;
    --ct-card: #ffffff;
    --ct-line: rgba(15, 118, 110, 0.16);
    --ct-field: #f7fbfb;
    padding: 80px 0 !important;
    background: transparent !important;
    color: var(--ct-ink);
}

[data-theme="dark"] .ct-section {
    --ct-teal: #2dd4bf;
    --ct-teal-soft: rgba(45, 212, 191, 0.12);
    --ct-ink: #f1f5f9;
    --ct-muted: #a5b4c3;
    --ct-card: #132f4c;
    --ct-line: rgba(148, 163, 184, 0.2);
    --ct-field: #0f2740;
}

.ct-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ct-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    margin-bottom: 40px;
}

.ct-badge {
    display: inline-flex;
    background: var(--ct-teal-soft);
    color: var(--ct-teal);
    font-size: 15px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 999px;
}

.ct-title {
    margin: 0;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.35;
    color: var(--ct-ink);
}

.ct-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
    align-items: stretch;
}

/* Details panel */
.ct-info {
    background: #0d253f;
    color: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[data-theme="dark"] .ct-info {
    background: #0b1f35;
    border: 1px solid var(--ct-line);
}

.ct-info h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.ct-info > p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #b8c7d6;
}

.ct-channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.ct-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease;
}

.ct-channel:hover {
    background: rgba(255, 255, 255, 0.12);
}

.ct-channel-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
}

.ct-channel-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ct-channel-label {
    font-size: 13px;
    color: #b8c7d6;
}

.ct-channel-value {
    font-size: 16px;
    font-weight: 700;
    text-align: start;
}

.ct-socials {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
}

.ct-socials a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ct-socials a:hover {
    background: #0f766e;
    border-color: #0f766e;
}

/* Form card */
.ct-form {
    background: var(--ct-card);
    border: 1px solid var(--ct-line);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 !important;
}

.ct-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-field label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ct-ink);
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--ct-line);
    background: var(--ct-field);
    color: var(--ct-ink);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ct-field textarea {
    resize: vertical;
    min-height: 130px;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #7b8d9b;
}

.ct-field input:focus,
.ct-field textarea:focus {
    outline: none;
    border-color: var(--ct-teal);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.ct-submit {
    min-height: 52px;
    border: none;
    border-radius: 12px;
    background: #0f766e;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.ct-submit:hover {
    background: #0b5f58;
}

.ct-submit:focus-visible,
.ct-channel:focus-visible,
.ct-socials a:focus-visible {
    outline: 3px solid #2dd4bf;
    outline-offset: 2px;
}

#contact-form-status {
    min-height: 20px;
    font-size: 14px;
    text-align: center;
    color: var(--ct-muted);
}

#contact-form-status.success {
    color: #0f766e;
}

#contact-form-status.error {
    color: #b42318;
}

[data-theme="dark"] #contact-form-status.success {
    color: #2dd4bf;
}

[data-theme="dark"] #contact-form-status.error {
    color: #fca5a5;
}

@media (max-width: 860px) {
    .ct-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .ct-section {
        padding: 48px 0 !important;
    }

    .ct-container {
        padding: 0 16px;
    }

    .ct-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .ct-info,
    .ct-form {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-channel,
    .ct-socials a,
    .ct-field input,
    .ct-field textarea,
    .ct-submit {
        transition: none;
    }
}

/* Badge above the FAQ title (reuses the contact badge look) */
.faq-head-badge {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.faq-head-badge .ct-badge {
    background: #e6f5f3;
    color: #0f766e;
}

[data-theme="dark"] .faq-head-badge .ct-badge {
    background: rgba(45, 212, 191, 0.12);
    color: #2dd4bf;
}

/* Old contact styles centered everything; align text to the reading edge */
.ct-info,
.ct-form,
.ct-field label {
    text-align: start;
}
