.contact-page {
    background: #ffffff;
}

.contact-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.contact-hero-section {
    width: 100%;
    padding: 0;
    margin: 0;
    background: #ffffff;
}

.contact-hero-image-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: #f8fafc;
}

.contact-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.contact-main-section {
    padding: 54px 0 80px;
    background: #ffffff;
}

.contact-main-card {
    padding: 44px 48px 52px;
    border: 1px solid #111827;
    background: #f8fafc;
}

.contact-section-heading {
    margin-bottom: 44px;
    text-align: center;
}

.contact-section-heading span {
    display: inline-block;
    margin-bottom: 10px;
    color: #fb5b05;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-section-heading h1 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.12;
}

.contact-section-heading p {
    margin: 0 auto;
    max-width: 760px;
    color: #111827;
    font-size: 1.2rem;
    line-height: 1.6;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: start;
}

.contact-info-panel h2,
.contact-form-panel h2 {
    margin: 0 0 28px;
    color: #111827;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.2;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-info-icon {
    width: 30px;
    height: 30px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fb5b05;
    background: #ffedd5;
    border-radius: 14px;
    font-size: 1.25rem;
}

.contact-info-item h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
}

.contact-info-item p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.3;
}

.contact-info-item a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-info-item span {
    color: #64748b;
    font-size: 0.85rem;
}

.contact-emergency-box {
    margin-top: 34px;
    padding: 30px;
    border: 1px solid #fecaca;
    border-radius: 16px;
    background: #fff1f1;
}

.contact-emergency-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-emergency-header i {
    color: #dc2626;
    font-size: 1.25rem;
}

.contact-emergency-header h3 {
    margin: 0;
    color: #991b1b;
    font-size: 1.05rem;
    font-weight: 900;
}

.contact-emergency-list p {
    margin: 0 0 16px;
    color: #111827;
    font-size: 0.94rem;
    line-height: 1.5;
}

.contact-emergency-list p:last-child {
    margin-bottom: 0;
}

.contact-emergency-list strong {
    display: block;
    color: #111827;
    font-weight: 900;
}

.contact-emergency-list span {
    display: block;
    color: #475569;
}

.contact-emergency-list a {
    color: #dc2626;
    font-weight: 800;
    text-decoration: none;
}

.contact-emergency-list a:hover {
    text-decoration: underline;
}

.contact-map-box {
    width: 100%;
    height: 250px;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid #fecaca;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(127, 29, 29, 0.08);
}

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

.contact-form-panel {
    padding: 36px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 900;
}

.contact-form-group label span {
    color: #dc2626;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-size: 0.94rem;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: #fb5b05;
    box-shadow: 0 0 0 3px rgba(251, 91, 5, 0.14);
}

.contact-form-group input.is-invalid,
.contact-form-group select.is-invalid,
.contact-form-group textarea.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

.contact-error-message {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #dc2626;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

.contact-form-group textarea {
    min-height: 145px;
    resize: vertical;
}

.contact-recaptcha-form-group {
    margin-top: 6px;
    margin-bottom: 22px;
}

.contact-recaptcha-form-group .g-recaptcha {
    transform-origin: left top;
}

#recaptcha_error {
    display: block;
    margin-top: 6px;
}

.contact-interest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -4px 0 20px;
}

.contact-interest-list span {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0f172a;
    border: 1px solid #67e8f9;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
}

.contact-submit-btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    background: #fb5b05;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 900;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.contact-submit-btn:hover {
    background: #ef1111;
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(239, 17, 17, 0.22);
}

.contact-submit-btn:disabled,
.contact-submit-btn.is-submitting {
    cursor: not-allowed;
    opacity: 0.75;
    transform: none;
    box-shadow: none;
}

.contact-submit-btn:disabled:hover,
.contact-submit-btn.is-submitting:hover {
    background: #fb5b05;
    transform: none;
    box-shadow: none;
}

.contact-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.58);
}

.contact-popup-box {
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 34px 28px 28px;
    text-align: center;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.contact-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.contact-popup-icon {
    margin-bottom: 16px;
    color: #fb5b05;
    font-size: 46px;
}

.contact-popup-icon-success {
    color: #16a34a;
}

.contact-popup-icon-error {
    color: #dc2626;
}

.contact-popup-box h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 24px;
    font-weight: 900;
}

.contact-popup-box p {
    margin: 0 0 24px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
}

.contact-popup-btn {
    width: 100%;
    max-width: 180px;
    padding: 12px 22px;
    border: 0;
    border-radius: 10px;
    background: #fb5b05;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.contact-popup-btn:hover {
    background: #ef1111;
}

@media (max-width: 991px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-image {
        height: 390px;
    }

    .contact-main-card {
        padding: 38px 28px 42px;
    }

    .contact-map-box {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .contact-container {
        width: min(100% - 24px, 1180px);
    }

    .contact-hero-section {
        padding: 0;
    }

    .contact-hero-image {
        height: 300px;
    }

    .contact-main-section {
        padding: 38px 0 60px;
    }

    .contact-main-card {
        padding: 30px 18px 34px;
    }

    .contact-content-grid {
        gap: 36px;
    }

    .contact-form-panel {
        padding: 26px 18px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info-item {
        gap: 14px;
    }

    .contact-emergency-box {
        padding: 22px 18px;
    }

    .contact-map-box {
        height: 260px;
        margin-top: 20px;
    }

    .contact-popup-box {
        max-width: 360px;
        padding: 32px 22px 24px;
    }

    .contact-popup-box h3 {
        font-size: 21px;
    }

    .contact-popup-box p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contact-hero-image {
        height: 240px;
    }

    .contact-section-heading h1 {
        font-size: 2rem;
    }

    .contact-info-item {
        flex-direction: column;
    }

    .contact-interest-list span {
        width: 100%;
        justify-content: center;
    }

    .contact-map-box {
        height: 230px;
    }
}

@media (max-width: 380px) {
    .contact-recaptcha-form-group {
        min-height: 92px;
    }

    .contact-recaptcha-form-group .g-recaptcha {
        transform: scale(0.9);
    }
}