/* Contact Us Page Specific Styles */

.contactus-hero {
    position: relative;
    height: 34vh;
    min-height: 200px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #9c9da1, #cacbcd);
    margin-top: 70px;
    overflow: hidden;
}

.contactus-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(159, 157, 161, 0.8), rgba(202, 203, 205, 0.6));
    z-index: -1;
}

.contactus-hero-content {
    color: white;
    text-align: left;
    padding: 65px 0 35px 0;
}

.contactus-title {
    font-family: 'Elsie', serif;
    font-size: 3.2rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.18);
}

.contactus-main-section {
    background: #fafafa;
    padding: 110px 0 80px 0;
    min-height: 30vh;
}

.contactus-card {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 12px 32px rgba(71,141,165,0.11), 0 2px 4px rgba(71,141,165,0.03);
    border-radius: 18px;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    animation: fadeInUp 0.7s;
}

/* Lado Izquierdo: Información */
.contactus-info {
    background: #fafbfc;
    padding: 45px 40px;
    border-right: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.contactus-info h2 {
    font-size: 1.25rem;
    color: #0e151b;
    margin-bottom: 27px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}
.contactus-email {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #478da5;
    background: #ebf6fb;
    border-radius: 25px;
    padding: 8px 16px;
    font-weight: 500;
}

/* Lado Derecho: Formulario */
.contactus-form-section {
    padding: 45px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contactus-form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.form-group label {
    font-size: 1rem;
    color: #222b32;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    font-family: 'DM Sans', sans-serif;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #e3e9ee;
    border-radius: 8px;
    background: #fafbfc;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    resize: none;
    transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #478da5;
    background: #f3fbfe;
}
.contactus-submit-btn {
    background: #478da5;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .2s;
    box-shadow: 0 2px 10px rgba(71,141,165,0.03);
    margin-top: 6px;
}
.contactus-submit-btn:hover {
    background: #3a7491;
    transform: translateY(-2px);
}

/* Contact Us Success */
.contactus-success {
    background: #d7f5e9;
    color: #17584a;
    border: 1.5px solid #46a982;
    border-radius: 9px;
    padding: 16px 20px;
    margin-bottom: 32px;
    font-size: 1.08rem;
    font-weight: 600;
    text-align: center;
    animation: fadeInUp 0.7s;
}

/* Responsive Design */
@media (max-width: 950px) {
    .contactus-card {
        grid-template-columns: 1fr;
    }
    .contactus-info {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        align-items: center;
        text-align: center;
    }
    .contactus-form-section {
        padding: 35px 22px;
    }
}
@media (max-width: 576px) {
    .contactus-hero-content {
        padding: 45px 0 13px 0;
    }
    .contactus-title {
        font-size: 2rem;
    }
    .contactus-card {
        max-width: 98%;
        border-radius: 11px;
    }
    .contactus-info,
    .contactus-form-section {
        padding: 22px 12px;
    }
    .contactus-form {
        max-width: 100%;
        gap: 15px;
    }
}
