/* Contact page styles — tioo.com/contact/ */

/* ── Header ── */
.contact-header {
    background: linear-gradient(135deg, #0f1923 0%, #162230 30%, #1a3040 60%, #0d2b3d 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-header::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 158, 173, 0.07) 0%, transparent 70%);
    top: -150px;
    right: -80px;
    pointer-events: none;
}
.contact-header-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 56px 32px 48px;
}
.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(52, 158, 173, 0.1);
    border: 1px solid rgba(52, 158, 173, 0.25);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #349EAD;
    margin-bottom: 20px;
}
.contact-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: contactPulse 2s ease-in-out infinite;
}
@keyframes contactPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.contact-header h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -1px;
}
.contact-header-sub {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    margin: 0 auto;
}

/* ── Channels strip ── */
.contact-channels {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 28px 32px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.contact-channel {
    display: flex;
    align-items: center;
    gap: 12px;
}
.contact-channel-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-channel-icon--teal { background: rgba(52, 158, 173, 0.1); color: #349EAD; }
.contact-channel-icon--blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.contact-channel-icon--green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.contact-channel strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}
.contact-channel span {
    font-size: 13px;
    color: #64748b;
}

/* ── Shared ── */
.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}
.contact-section {
    padding: 64px 0;
}

/* ── Contact Grid (form + side) ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

/* ── Form ── */
.contact-alert {
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.contact-alert strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}
.contact-alert p {
    margin: 0;
    font-size: 13px;
}
.contact-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.contact-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-form-group {
    margin-bottom: 20px;
}
.contact-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}
.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    background: #fff;
    color: #0f172a;
}
.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #349EAD;
    box-shadow: 0 0 0 3px rgba(52, 158, 173, 0.1);
}
.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: #94a3b8;
}
.contact-form-group textarea {
    resize: vertical;
    min-height: 140px;
}
.contact-submit {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #1c232d;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}
.contact-submit:hover {
    background: #2a3444;
    box-shadow: 0 4px 12px rgba(28, 35, 45, 0.2);
    transform: translateY(-1px);
}

/* ── Side panel (image + card) ── */
.contact-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-side-img {
    border-radius: 16px;
    overflow: hidden;
}
.contact-side-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.contact-side-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
}
.contact-side-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}
.contact-side-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 14px;
}
.contact-side-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #349EAD;
    text-decoration: none;
    transition: gap 0.2s;
}
.contact-side-link:hover {
    gap: 8px;
    text-decoration: none;
    color: #2B8694;
}

/* ── FAQ ── */
.contact-faq {
    padding: 64px 0;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}
.contact-faq h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 32px;
    text-align: center;
    letter-spacing: -0.5px;
}
.contact-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 48px;
    max-width: 900px;
    margin: 0 auto;
}
.contact-faq-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}
.contact-faq-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* ── Responsive: Tablet ── */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-channels { flex-wrap: wrap; gap: 24px; }
    .contact-faq-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-header-inner { padding: 44px 24px 40px; }
    .contact-header h1 { font-size: 30px; }
    .contact-container { padding: 0 24px; }
    .contact-section { padding: 48px 0; }
    .contact-side-img img { height: 220px; }
}

/* ── Responsive: Mobile ── */
@media (max-width: 640px) {
    .contact-header-inner { padding: 36px 20px 32px; }
    .contact-header h1 { font-size: 24px; letter-spacing: -0.5px; }
    .contact-header-sub { font-size: 14px; }
    .contact-pill { font-size: 12px; padding: 5px 14px; }
    .contact-channels { padding: 20px; gap: 16px; flex-direction: column; align-items: center; }
    .contact-container { padding: 0 20px; }
    .contact-section { padding: 40px 0; }
    .contact-form-row { grid-template-columns: 1fr; }
    .contact-faq { padding: 48px 0; }
    .contact-faq h2 { font-size: 22px; }
    .contact-side-img img { height: 180px; }
}
