/* ===========================
   Contact Page
   =========================== */

/* Hero banner */
.eg-contact-hero {
    background-color: #1a1a1a;
    background-image: linear-gradient(135deg, #1a1a1a 60%, #2a2008 100%);
    padding: 64px 24px 48px;
    text-align: center;
    border-bottom: 3px solid #c8a141;
}

.eg-contact-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.eg-contact-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.eg-contact-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* Outer wrapper */
.eg-contact-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

/* Info cards row */
.eg-contact-info-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0 48px;
}

.eg-contact-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border-top: 3px solid #c8a141;
    transition: transform 0.2s, box-shadow 0.2s;
}

.eg-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.eg-contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1a1a1a;
    color: #c8a141;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eg-contact-card-body h3 {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #888;
    margin-bottom: 6px;
}

.eg-contact-card-body p,
.eg-contact-card-body a {
    font-size: 0.95rem;
    color: #1a1a1a;
    line-height: 1.6;
}

.eg-contact-card-body a:hover {
    color: #c8a141;
}

.eg-contact-note {
    font-size: 0.82rem !important;
    color: #888 !important;
    margin-top: 4px;
}

.eg-contact-note a {
    color: #c8a141 !important;
    font-weight: 700;
}

/* Main section: map + form */
.eg-contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Map */
.eg-contact-map {
    border-radius: 12px;
    overflow: hidden;
    height: 520px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.eg-contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Form wrapper */
.eg-contact-form-wrap {
    background-color: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.eg-contact-form-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.eg-contact-form-sub {
    font-size: 0.92rem;
    color: #888;
    margin-bottom: 28px;
}

/* Fields */
.eg-field-group {
    margin-bottom: 20px;
}

.eg-field-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eg-field-group label span {
    color: #c8a141;
}

.eg-field-group input[type="text"],
.eg-field-group input[type="email"],
.eg-field-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 7px;
    font-size: 0.95rem;
    color: #1a1a1a;
    background-color: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    resize: vertical;
}

.eg-field-group input:focus,
.eg-field-group textarea:focus {
    outline: none;
    border-color: #c8a141;
    box-shadow: 0 0 0 3px rgba(200,161,65,0.15);
    background-color: #fff;
}

/* Consent checkbox */
.eg-field-consent {
    margin-bottom: 24px;
}

.eg-consent-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    font-size: 0.85rem !important;
    color: #555 !important;
    line-height: 1.5;
}

.eg-consent-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #c8a141;
    cursor: pointer;
}

/* Status */
.eg-form-status {
    padding: 12px 16px;
    border-radius: 7px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.eg-form-success {
    background-color: #f0faf0;
    border: 1px solid #74c374;
    color: #2a6e2a;
}

.eg-form-error {
    background-color: #fff3f3;
    border: 1px solid #e88;
    color: #a00;
}

/* Submit button */
.eg-contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #c8a141;
    color: #111;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 32px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(200,161,65,0.3);
    font-family: inherit;
    width: 100%;
    justify-content: center;
}

.eg-contact-submit:hover {
    background-color: #e0b84d;
    transform: translateY(-2px);
}

.eg-contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .eg-contact-info-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .eg-contact-main {
        grid-template-columns: 1fr;
    }

    .eg-contact-map {
        height: 300px;
    }

    .eg-contact-form-wrap {
        padding: 24px 20px;
    }

    .eg-contact-hero-title {
        font-size: 2rem;
    }

    .eg-contact-wrap {
        padding: 0 16px 60px;
    }
}

@media (max-width: 520px) {
    .eg-contact-info-row {
        grid-template-columns: 1fr;
    }
}
