/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    overflow-x: hidden;
}

/* Hero */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    color: white;
    overflow: hidden;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Contenido principal */
.content {
    position: relative;
    z-index: 1;
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 170px 0 100px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr; /* Definir las filas para poder ajustar el espaciado */
    gap: 20px;
    row-gap: 100px; /* Doble de espacio vertical entre filas */
    width: 100%;
    align-items: start;
}

.grid-item {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Información de contacto */
.contact-info {
    text-align: left;
}

.contact-info h2 {
    margin-bottom: 20px;
    font-size: 3em;
    font-weight: bold;
}

.contact-info p {
    margin-bottom: 40px;
    font-size: 1.2em;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-group {
    margin-bottom: 20px;
}

.contact-group h3 {
    margin-bottom: 10px;
}

/* Formulario */
.text-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    width: 100%;
}

.text-buttons label {
    font-weight: bold;
    margin-bottom: 5px;
    word-wrap: break-word;
    max-width: 100%;
}

.text-buttons input,
.text-buttons textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 30px;
}

.text-buttons textarea {
    height: 120px;
    resize: vertical;
}

.text-buttons button {
    padding: 15px 30px;
    background-color: #2058d1;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    font-size: 16px;
    align-self: left;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-top: 5px;
}

.text-buttons button:hover {
    background-color: #1949a8;
}

/* Ubicación */
.location-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.location-details .contact-group {
    margin-bottom: 40px;
}

.location-details h3 {
    font-size: 3em;
    font-weight: bold;
}

.location-details .contact-group p {
    font-size: 1.2em;
}

/* Mapa */
.map-container {
    text-align: center;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.expand-map {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #2058d1;
    color: white;
    border: none;
    cursor: pointer;
}

/* Fuente Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

.text-container p,
h2,
h3,
p,
button,
label,
input,
textarea {
    font-family: 'Montserrat', sans-serif;
}