* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header-spacing {
    height: 50px; /* Ajusta este valor según sea necesario */
}

body {
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    font-weight: 600;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.icon {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover .icon {
    background-color: #2980b9;
    color: white;
}

.contact-text {
    font-size: 1rem;
}

.contact-text a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #2980b9;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 2px rgba(41, 128, 185, 0.2);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
}

.btn-submit {
    display: inline-block;
    background-color: #e63946;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.btn-submit:hover {
    background-color: #d62b39;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(230, 57, 70, 0.4); /* Color más oscuro para el hover */
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info, .contact-form {
        flex: 1 0 100%;
    }
}

/* Diseño de ubicación */

.location-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.location-title h2 {
    font-size: 2em;
    margin: 0;
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.location-info {
    text-align: center;
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
}

.location-info p {
    margin: 10px 0;
}

.location-info strong {
    color: #333;
}

.location-info ul {
    list-style-type: none; /* Elimina los puntos de la lista */
    padding: 0; /* Elimina el padding */
    margin: 0; /* Elimina el margen */
}

.location-info ul li {
    margin-bottom: 5px; /* Espacio entre los números de teléfono */
}

@media (max-width: 768px) {
    .location-section {
        padding: 30px 0;
    }

    .map-container {
        height: 350px;
    }

    .location-title h2 {
        font-size: 1.5em;
    }

    .location-info {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 300px;
    }
}

/* Aquí termina el diseño de ubicación */