/* =========================================================
   CONTACT PAGE
   ====================================================== */

/* HERO */
.tg-contact-hero {
    padding: 80px 0 75px;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.18), transparent 60%),
        #020617;
    color: #e5e7eb;
}

.tg-contact-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: center;
}

.tg-contact-hero-left h1 {
    font-size: 2.2rem;
    margin: 10px 0 12px;
    color: #f9fafb;
    opacity: 0;
    transform: translateY(22px);
    animation: tg-fade-up 0.6s ease forwards;
}

.tg-contact-hero-left p {
    font-size: 0.96rem;
    line-height: 1.8;
    max-width: 620px;
    opacity: 0;
    transform: translateY(24px);
    animation: tg-fade-up 0.7s ease forwards;
}

.tg-contact-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.tg-contact-hero-badges span {
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Quick contact card */

.tg-contact-hero-right {
    display: flex;
    justify-content: flex-end;
}

.tg-contact-quick-card {
    max-width: 460px;
    background: radial-gradient(circle at top left,
                rgba(250, 204, 21, 0.26),
                rgba(15, 23, 42, 1));
    border-radius: 22px;
    padding: 20px 18px 18px;
    box-shadow:
        0 28px 70px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(148, 163, 184, 0.6);
    opacity: 0;
    transform: translateY(26px);
    animation: tg-fade-up 0.7s ease forwards;
}

.tg-contact-quick-card h2 {
    margin-top: 0;
    color: #fefce8;
}

.tg-contact-quick-card p {
    font-size: 0.9rem;
    color: #e5e7eb;
}

.tg-contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 10px;
}

.tg-contact-quick-grid .item {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 14px;
    padding: 10px 8px 10px;
    text-align: left;
    font-size: 0.78rem;
}

.tg-contact-quick-grid .item i {
    font-size: 1rem;
    margin-bottom: 4px;
}

.tg-contact-quick-grid .item h3 {
    margin: 2px 0 4px;
    font-size: 0.9rem;
}

.tg-contact-quick-grid .item a {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #93c5fd;
}

.tg-contact-quick-note {
    margin-top: 6px;
    font-size: 0.8rem;
    color: #e5e7eb;
}

/* CONTACT FORM */

.tg-contact-form-section {
    padding: 80px 0 80px;
    background: #f9fafb;
}

.tg-contact-form-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 30px;
}

.tg-contact-form-card {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 26px;
    padding: 1px;
    background: linear-gradient(135deg,
                rgba(37, 99, 235, 0.7),
                rgba(34, 197, 94, 0.7));
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    opacity: 0;
    transform: translateY(26px);
    animation: tg-fade-up 0.7s ease forwards;
}

.tg-contact-form {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.97);
    padding: 26px 24px 22px;
    backdrop-filter: blur(8px);
}

.tg-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin-bottom: 16px;
}

.tg-contact-form .tg-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateY(18px);
    animation: tg-commercial-field-up 0.55s ease forwards;
}

.tg-contact-form .tg-field:nth-child(1) { animation-delay: 0.10s; }
.tg-contact-form .tg-field:nth-child(2) { animation-delay: 0.16s; }
.tg-contact-form .tg-field:nth-child(3) { animation-delay: 0.22s; }
.tg-contact-form .tg-field:nth-child(4) { animation-delay: 0.28s; }
.tg-contact-form .tg-field:nth-child(5) { animation-delay: 0.34s; }
.tg-contact-form .tg-field:nth-child(6) { animation-delay: 0.40s; }

.tg-contact-form .tg-field label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #111827;
}

.tg-contact-form .tg-field input,
.tg-contact-form .tg-field select,
.tg-contact-form .tg-field textarea {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: #f9fafb;
    padding: 9px 12px;
    font-size: 0.9rem;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease,
        transform 0.12s ease;
}

.tg-contact-form .tg-field input:focus,
.tg-contact-form .tg-field select:focus,
.tg-contact-form .tg-field textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.tg-contact-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: #4b5563;
    margin-top: 6px;
}

.tg-contact-checkbox input {
    margin-top: 3px;
}

.tg-contact-form-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148, 163, 184, 0.7);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.tg-contact-form-footer .tg-form-note {
    font-size: 0.78rem;
    color: #6b7280;
}

/* OFFICE SECTION */

.tg-contact-office {
    padding: 80px 0 80px;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 55%),
        #ffffff;
}

.tg-contact-office-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.tg-contact-office-block {
    margin-top: 18px;
    background: #f9fafb;
    border-radius: 18px;
    padding: 18px 16px 16px;
    box-shadow: 0 20px 50px rgba(148, 163, 184, 0.8);
}

.tg-contact-office-block h3,
.tg-contact-office-block h4 {
    margin: 0 0 4px;
}

.tg-contact-office-block ul {
    margin: 4px 0 0;
    padding-left: 18px;
    font-size: 0.9rem;
}

.tg-contact-office-card {
    background: #020617;
    color: #e5e7eb;
    border-radius: 20px;
    padding: 18px 18px 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 1);
    opacity: 0;
    transform: translateY(26px);
    animation: tg-fade-up 0.7s ease forwards;
}

.tg-contact-office-card h3 {
    margin-top: 0;
}

.tg-contact-office-card ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 10px;
    font-size: 0.9rem;
}

.tg-contact-office-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.tg-contact-office-card a {
    color: #bfdbfe;
    font-size: 0.9rem;
}

.tg-contact-office-highlight {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148, 163, 184, 0.7);
    font-size: 0.84rem;
}

/* CONTACT FAQ */

.tg-contact-faq {
    padding: 80px 0 85px;
    background: #f9fafb;
}

.tg-contact-faq .tg-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 30px;
}

.tg-contact-faq-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.tg-contact-faq-item {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 14px 16px 16px;
    box-shadow:
        0 22px 55px rgba(148, 163, 184, 0.9),
        0 0 0 1px rgba(209, 213, 219, 0.9);
    font-size: 0.9rem;
    line-height: 1.7;
    color: #111827;
    opacity: 0;
    transform: translateY(24px);
    animation: tg-fade-up 0.6s ease forwards;
}

.tg-contact-faq-item:nth-child(1) { animation-delay: 0.10s; }
.tg-contact-faq-item:nth-child(2) { animation-delay: 0.18s; }
.tg-contact-faq-item:nth-child(3) { animation-delay: 0.26s; }
.tg-contact-faq-item:nth-child(4) { animation-delay: 0.34s; }

.tg-contact-faq-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #22c55e, #2563eb);
}

.tg-contact-faq-item h3 {
    margin: 0 0 6px 6px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
}

.tg-contact-faq-item p {
    margin: 0 0 2px 6px;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
    .tg-contact-hero-layout {
        grid-template-columns: 1fr;
    }

    .tg-contact-hero-right {
        justify-content: flex-start;
    }

    .tg-contact-quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tg-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .tg-contact-office-layout {
        grid-template-columns: 1fr;
    }

    .tg-contact-faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tg-contact-hero {
        padding: 60px 0 60px;
    }

    .tg-contact-hero-left h1 {
        font-size: 1.8rem;
    }

    .tg-contact-quick-grid {
        grid-template-columns: 1fr;
    }

    .tg-contact-form {
        padding: 20px 16px 18px;
    }

    .tg-contact-office {
        padding: 65px 0 70px;
    }

    .tg-contact-faq {
        padding: 65px 0 70px;
    }

    .tg-contact-faq-grid {
        grid-template-columns: 1fr;
    }
}
