.contact-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    padding: 80px 10%;
    overflow: hidden;
    background: url("../foundry3.png") center/cover no-repeat;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.84), rgba(0,0,0,0.55));
}

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

.contact-hero-content span {
    display: inline-block;
    margin-bottom: 12px;
    color: #ff8c00;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-hero-content h1 {
    margin: 0 0 18px;
    font-size: 46px;
    line-height: 1.16;
}

.contact-hero-content p {
    line-height: 1.7;
    opacity: 0.86;
}

.contact-main {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
    padding: 85px 10%;
    background: #0b1c24;
}

.contact-info > p,
.contact-form-wrap > p,
.unit-section > p {
    line-height: 1.7;
    opacity: 0.78;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    margin-top: 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.055);
}

.contact-card i {
    color: #ff8c00;
    font-size: 22px;
    margin-top: 4px;
}

.contact-card h3 {
    margin: 0 0 8px;
}

.contact-card a {
    display: block;
    color: #00c6ff;
    text-decoration: none;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
}

.contact-form-wrap {
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
}

.contact-form-wrap .contact-form {
    margin: 24px 0 0;
}

.contact-success {
    background: linear-gradient(45deg,#00ffcc,#00cc99);
    color: #000;
    padding: 14px;
    border-radius: 8px;
    margin-top: 18px;
    font-weight: 700;
}

.unit-section {
    padding: 85px 10%;
    text-align: center;
    background: #071a24;
}

.unit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 34px;
}

.unit-card {
    padding: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.055);
}

.unit-card p {
    min-height: 52px;
    line-height: 1.6;
    opacity: 0.8;
}

.unit-card .btn-primary {
    display: inline-block;
    margin-top: 14px;
}

@media(max-width: 768px) {
    .contact-hero {
        min-height: 500px;
        padding: 64px 16px;
        text-align: center;
    }

    .contact-hero-overlay {
        background: rgba(0,0,0,0.72);
    }

    .contact-hero-content h1 {
        font-size: 30px;
        line-height: 1.18;
    }

    .contact-hero-content .hero-buttons {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-main,
    .unit-section {
        padding: 58px 16px;
    }

    .contact-main,
    .unit-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 18px;
    }

    .contact-form-wrap {
        padding: 22px 16px;
    }

    .unit-card {
        padding: 22px;
    }
}


/* ===== LIGHT PREMIUM CONTACT PAGE ===== */
.contact-page {
    background: #f5fafc;
    color: #173243;
}

.contact-hero {
    background-color: #dff1f7;
}

.contact-hero-overlay {
    background:
        linear-gradient(90deg, rgba(7,42,58,0.74), rgba(7,42,58,0.38), rgba(255,255,255,0.14)),
        linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(245,250,252,0.78) 100%);
}

.contact-hero-content {
    color: #ffffff;
    text-shadow: 0 14px 30px rgba(4, 24, 34, 0.34);
}

.contact-hero-content span {
    color: #ffd46a;
}

.contact-hero-content p {
    color: rgba(255,255,255,0.92);
    opacity: 1;
}

.contact-main,
.unit-section {
    color: #173243;
    background:
        linear-gradient(135deg, #ffffff 0%, #edf8fc 52%, #fff6e7 100%);
}

.unit-section {
    border-top: 1px solid rgba(24, 92, 120, 0.1);
}

.contact-info > p,
.contact-form-wrap > p,
.unit-section > p,
.unit-card p {
    color: #617786;
    opacity: 1;
}

.contact-card,
.contact-form-wrap,
.unit-card {
    color: #173243;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,252,254,0.96));
    border-color: rgba(26, 122, 160, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.92),
        0 18px 42px rgba(25, 74, 96, 0.13);
}

.contact-card i {
    color: #1678b8;
}

.contact-card a {
    color: #1678b8;
}

.contact-card a:hover {
    color: #d88916;
}

.contact-form-wrap .contact-form {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.contact-success {
    color: #173243;
    background: linear-gradient(135deg, #76dff0, #c9f5ef);
}

@media(max-width: 768px) {
    .contact-hero-overlay {
        background:
            linear-gradient(180deg, rgba(7,42,58,0.56), rgba(7,42,58,0.42), rgba(245,250,252,0.68));
    }
}
