.contact-page {
    overflow: hidden;
}

/* HERO */
.contact-hero {
    position: relative;
    padding: 90px 0 150px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 102, 0, 0.08), transparent 46%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000000, transparent 90%);
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.contact-shape-one {
    top: -180px;
    right: -160px;
    width: 480px;
    height: 480px;
    background: rgba(255, 102, 0, 0.12);
}

.contact-shape-two {
    bottom: -250px;
    left: -190px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 102, 0, 0.20);
}

.contact-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.contact-hero-inner h1 {
    margin: 18px 0 24px;
    font-size: clamp(46px, 6vw, 70px);
    line-height: 0.98;
    letter-spacing: -3px;
}

.contact-hero-inner h1 span {
    display: block;
    color: var(--primary);
}

.contact-hero-inner > p {
    max-width: 620px;
    margin: 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.8;
}

/* MAIN GRID */
.contact-main-section {
    position: relative;
    z-index: 3;
    margin-top: -80px;
    padding-bottom: 110px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: start;
}

/* INFO */
.contact-info {
    display: grid;
    gap: 20px;
}

.contact-info-card {
    position: relative;
    padding: 38px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(255, 102, 0, 0.45), transparent 34%),
        linear-gradient(145deg, #111827, #0b1220);
    border-radius: 26px;
    box-shadow: 0 35px 80px rgba(17, 24, 39, 0.28);
}

.contact-info-card::before {
    content: "";
    position: absolute;
    right: -95px;
    bottom: -95px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.contact-card-label {
    color: #ffb27f;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.contact-info-card h2 {
    position: relative;
    z-index: 2;
    margin: 14px 0 28px;
    font-size: 30px;
    line-height: 1.15;
}

.contact-info-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 20px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-info-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: var(--primary);
    border-radius: 13px;
    font-size: 18px;
}

.contact-info-item small {
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-info-item strong {
    font-size: 15px;
    word-break: break-word;
}

.contact-track-card {
    padding: 26px 30px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
}

.contact-track-card strong {
    display: block;
    font-size: 18px;
}

.contact-track-card p {
    margin: 8px 0 14px;
    color: var(--text);
    font-size: 14px;
}

/* FORM */
.contact-form-card {
    padding: 44px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.contact-form-card h2 {
    margin: 12px 0 28px;
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.1;
    letter-spacing: -1.3px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 15px 16px;
    color: #111827;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    transition: 0.2s ease;
}

.contact-field textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.12);
}

.contact-submit {
    width: 100%;
    justify-content: center;
    border: 0;
    cursor: pointer;
}

.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-alert {
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.contact-alert-success {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.contact-alert-error {
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

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

@media (max-width: 700px) {
    .contact-hero {
        padding: 70px 0 130px;
    }

    .contact-hero-inner {
        text-align: center;
    }

    .contact-hero-inner h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .contact-main-section {
        padding-bottom: 80px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 28px 22px;
    }

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

@media (max-width: 480px) {
    .contact-hero-inner h1 {
        font-size: 38px;
    }
}
