/* ==========================================================================
   CONTACT PAGE STYLE - VIET THAI (STANDARDIZED CARD MAP & GRID)
   ========================================================================== */

/* --- Page Header Section --- */
.contact-header-section {
    padding: 8.5rem 0 2rem;
    /* Clear space below navigation */
    background: #ffffff;
}

.contact-header-content {
    width: 100%;
}

.contact-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.contact-main-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--fg);
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--muted-fg);
    line-height: 1.5;
}

/* --- Map Card Section (12 columns inside container) --- */
.contact-map-section {
    padding: 1rem 0 2.5rem;
    background: #ffffff;
}

.contact-map-card {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    border: 1.5px solid var(--border);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

@media (min-width: 768px) {
    .contact-map-card {
        height: 520px;
    }
}

.contact-map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- Contact Details Grid (Normal spacing below Map) --- */
.contact-details-section {
    padding: 0 0 5rem;
    background: #ffffff;
}

.contact-grid-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 992px) {
    .contact-grid-premium {
        grid-template-columns: 5fr 7fr;
    }
}

/* --- Left Column: Info Group --- */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card-premium {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.contact-card-premium:hover {
    border-color: rgba(17, 115, 212, 0.25);
    box-shadow: 0 10px 25px rgba(17, 115, 212, 0.06);
    transform: translateY(-2px);
}

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 10px;
    background: rgba(17, 115, 212, 0.06);
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-card-details h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fg);
    margin: 0;
}

.contact-card-details p {
    font-size: 0.9rem;
    color: var(--muted-fg);
    margin: 0;
    line-height: 1.4;
}

.contact-card-details a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-card-details a:hover {
    color: var(--primary);
}

.highlight-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary) !important;
}

/* --- Sample Request CTA Box --- */
.sample-request-cta-box {
    background: #ffffff;
    border: 1.5px dashed rgba(17, 115, 212, 0.3);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.sample-request-cta-box:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(17, 115, 212, 0.06);
    transform: translateY(-2px);
}

.sample-cta-icon {
    font-size: 2rem;
    color: var(--primary);
}

.sample-request-cta-box h3 {
    font-size: 1.1rem;
    color: var(--fg);
    margin: 0;
}

.sample-request-cta-box p {
    font-size: 0.85rem;
    color: var(--muted-fg);
    line-height: 1.4;
    margin: 0;
    max-width: 300px;
}

.btn-sample-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(17, 115, 212, 0.12);
}

.btn-sample-cta:hover {
    background: var(--primary-hover);
}

/* --- Right Column: Premium Form Card --- */
.contact-form-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.contact-form-title {
    font-size: 1.35rem;
    color: var(--fg);
    margin-bottom: 0.35rem;
}

.contact-form-desc {
    font-size: 0.9rem;
    color: var(--muted-fg);
    margin-bottom: 1.75rem;
}

/* --- Form Fields --- */
.premium-field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .premium-field-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.premium-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.premium-field.full-width {
    grid-column: 1 / -1;
}

.premium-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--fg);
}

.premium-field .form-required {
    color: #ef4444;
}

.premium-input,
.premium-textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.9rem;
    color: var(--fg);
    outline: none;
    transition: all 0.2s ease;
}

.premium-input::placeholder,
.premium-textarea::placeholder {
    color: #cbd5e1;
}

.premium-input:focus,
.premium-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(17, 115, 212, 0.1);
}

.premium-input.is-invalid,
.premium-textarea.is-invalid {
    border-color: #ef4444;
    background-color: #fff5f5;
}

/* --- Recaptcha Container --- */
.recaptcha-wrapper {
    margin-bottom: 1.25rem;
}

/* --- Submit Button --- */
.btn-premium-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(17, 115, 212, 0.12);
}

.btn-premium-submit:hover {
    background: var(--primary-hover);
}

/* --- Alert Messages --- */
.alert-success-premium {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.85rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.alert-error-premium {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 0.85rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.alert-error-premium ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
}