body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.section-info {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 100px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-data {
    max-width: 400px;
}

.info-data h1 {
    color: #000000;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.info-data p {
    color: #000000;
    margin: 5px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.info-map {
    text-align: center;
}

.info-map h2 {
    color: #000000;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.info-map iframe {
    width: 450px;
    height: 400px;
    border-radius: 4px;
}

.section-form {
    max-width: 600px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    position: relative;
}

.section-form h2 {
    color: #000000;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
}

.section-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-form form br {
    display: none;
}

.section-form input[type="text"],
.section-form input[type="tel"],
.section-form input[type="email"],
.section-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    color: #000000;
}

.section-form textarea {
    min-height: 120px;
    resize: vertical;
}

.section-form input:focus,
.section-form textarea:focus {
    outline: none;
    border-color: #7a7a7a;
}

.section-form label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #000000;
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: justify;
}

.section-form input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.section-form button {
    background-color: #000000;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.section-form button:hover {
    background-color: #474747;
}

#mensaje-container {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -60px;
    z-index: 10;
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
}

#mensaje-container.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mensaje-container {
    transition: opacity 2s;
    opacity: 1;
}

#mensaje-container.fade-out {
    opacity: 0;
}

.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.spinner-circle {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.section-form button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

@media screen and (max-width: 768px) {
    .section-info {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
        text-align: center;
    }

    .info-map iframe {
        width: 100%;
        height: 250px;
    }

    .info-data {
        max-width: 100%;
    }
}