/*
============================================================
/assets/css/contact.css
CSS เฉพาะหน้า contact.php
============================================================
*/

/* ---------------------------------------------------------
   Contact Hero
--------------------------------------------------------- */
.contact-hero {
    padding: 78px 20px 62px 20px;
    background:
        radial-gradient(circle at top left, rgba(255, 90, 95, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
    text-align: center;
}

.contact-hero-container {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);

    font-size: 14px;
    font-weight: 800;
    margin-bottom: 18px;
}

.contact-hero h1 {
    color: var(--black);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.06em;
    margin-bottom: 18px;
}

.contact-hero p {
    color: var(--text-muted);
    font-size: 18px;
}

/* ---------------------------------------------------------
   Contact Section
--------------------------------------------------------- */
.contact-section {
    background: #ffffff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px;
    align-items: start;
}

.contact-form-card {
    padding: 32px;
}

.contact-form-card h2 {
    color: var(--black);
    font-size: 28px;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.contact-alert {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;

    background: var(--primary-soft);
    color: var(--primary-color);

    font-weight: 800;
    font-size: 14px;
}

.contact-alert.active {
    display: block;
}

/* ---------------------------------------------------------
   Contact Info
--------------------------------------------------------- */
.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.info-card {
    padding: 24px;
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: var(--primary-soft);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;
    margin-bottom: 16px;
}

.info-card h3 {
    color: var(--black);
    font-size: 18px;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.info-card p {
    color: var(--text-muted);
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 58px 16px 44px 16px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .contact-form-card {
        padding: 24px;
    }
}