/* ==========================================================================
   MMD RUSSIA STEEL – CONTACT PAGE STYLES (css/contact.css)
   Clean corporate contact form and page styling
   ========================================================================== */

/* ─── CONTACT HERO SECTION ─────────────────────────────────────── */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #070d18 0%, #0f1c33 60%, #172a4a 100%);
    padding: 70px 0 60px;
    color: #ffffff;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 91, 181, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.12) 0%, transparent 40%);
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 16px;
}

.contact-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-breadcrumb a:hover {
    color: #ffffff;
}

.contact-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.contact-hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
    max-width: 750px;
}

/* ─── MAIN CONTACT SECTION ──────────────────────────────────────── */
.contact-main-section {
    padding: 80px 0;
    background-color: var(--rs-light-bg);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--rs-border-light);
    border-radius: var(--radius-lg);
    padding: 45px 50px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.contact-form-header {
    margin-bottom: 35px;
    text-align: center;
}

.contact-form-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--rs-text-primary);
    margin-bottom: 8px;
}

.contact-form-header p {
    font-size: 0.95rem;
    color: var(--rs-text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--rs-primary);
    font-size: 0.85rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--rs-text-primary);
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 140px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    background-color: #ffffff;
    border-color: var(--rs-primary);
    box-shadow: 0 0 0 4px var(--rs-primary-glow);
}

.btn-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--rs-primary) 0%, #004892 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px var(--rs-primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
}

.btn-contact-submit i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.btn-contact-submit:hover {
    background: linear-gradient(135deg, #006adc 0%, #004080 100%);
    box-shadow: 0 8px 26px rgba(0, 91, 181, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-contact-submit:hover i {
    transform: translateX(4px);
}

.form-feedback {
    display: none;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
}

.form-feedback.success {
    display: block;
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* ─── RESPONSIVE BREAKPOINTS ─────────────────────────────────────── */
@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 30px 24px;
    }
}

/* ─── LOCATION & MAP SECTION ────────────────────────────────────── */
.contact-map-section {
    padding: 20px 0 90px;
    background-color: var(--rs-light-bg);
}

.map-section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.map-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

.map-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rs-primary-light);
    color: var(--rs-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.map-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 700;
    color: var(--rs-text-primary);
    margin-bottom: 10px;
}

.map-header p {
    font-size: 1.05rem;
    color: var(--rs-text-secondary);
}

.map-layout-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 32px;
    align-items: stretch;
}

.location-details-card {
    background: #ffffff;
    border: 1px solid var(--rs-border-light);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.location-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rs-border-light);
    margin-bottom: 24px;
}

.loc-pin-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #005bb5, #0ea5e9);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 6px 16px rgba(0, 91, 181, 0.25);
    flex-shrink: 0;
}

.location-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rs-text-primary);
    margin-bottom: 4px;
}

.location-card-header span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rs-accent-blue);
}

.location-info-items {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-info-items li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.location-info-items li > i {
    width: 20px;
    color: var(--rs-primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.location-info-items strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rs-text-muted);
    margin-bottom: 2px;
}

.location-info-items p,
.location-info-items a {
    font-size: 0.95rem;
    color: var(--rs-text-primary);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.location-info-items a {
    text-decoration: none;
    transition: var(--transition-fast);
}

.location-info-items a:hover {
    color: var(--rs-primary);
}

.location-card-actions {
    margin-top: auto;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--rs-primary), var(--rs-accent-blue));
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(0, 91, 181, 0.25);
}

.btn-directions:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 91, 181, 0.35);
    color: #ffffff;
}

.map-embed-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--rs-border-light);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    background: #e2e8f0;
    min-height: 480px;
}

.map-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 992px) {
    .map-layout-grid {
        grid-template-columns: 1fr;
    }

    .map-embed-wrapper {
        min-height: 380px;
        position: relative;
    }

    .map-embed-wrapper iframe {
        position: static;
        min-height: 380px;
    }
}

