.contact-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-card {
    padding: 35px;
}

.card-title {
    margin-bottom: 25px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.emergency {
    border-left: 2px solid var(--dorado);
}

.general-info {
    border-left: 2px solid var(--dorado);
}

.contact-bit {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-bit:last-child {
    margin-bottom: 0;
}

.contact-bit i {
    font-size: 1.3rem;
    width: 40px;
    color: var(--dorado);
}

.contact-bit a:hover {
    color: #84b2f6;
    text-decoration: underline;
}

.form-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    padding: 40px;
    transition: border-color 0.3s ease;
}

.form-container:hover{
    border-color: var(--dorado);
}

h2 {
    margin-bottom: 30px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form p {
    font-size: 0.9rem;
    color: #444;
}

input,
textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

input:focus,
textarea:focus {
    border-bottom-color: var(--dorado);
}

textarea {
    resize: none;
    min-height: 80px;
}

button {
    padding: 12px 32px;
    font-size: 0.95rem;
    color: #fff;
    background: #000;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: inherit;
    margin-top: 10px;
}

button:hover {
    background: var(--dorado);
}

.map-container {
    padding-top: 4rem;
    width: 100%;
    height: 550px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .form-container {
        padding: 25px;
    }
}