/* === ESTILOS PARA REPLICAR EL DISEÑO === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #e0e0e0; /* Gris claro de fondo */
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Elementos gráficos decorativos */
body::before {
    content: "";
    position: absolute;
    top: 50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #ff8c00; /* Naranja decorativo */
    z-index: -1;
}

body::after {
    content: "";
    position: absolute;
    top: 100px;
    right: 0;
    width: 50%;
    height: 80%;
    background-color: #ffd100; /* Amarillo decorativo */
    z-index: -1;
}

.decor-line {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 250px;
    height: 150px;
    z-index: -1;
}

.decor-line div {
    width: 100%;
    height: 2px;
    background-color: #1a237e; /* Azul oscuro */
    margin: 10px 0;
    transform-origin: right;
}

.decor-line div:nth-child(1) { transform: rotate(-5deg); }
.decor-line div:nth-child(2) { transform: rotate(-10deg); }
.decor-line div:nth-child(3) { transform: rotate(-15deg); }
.decor-line div:nth-child(4) { transform: rotate(-20deg); }
.decor-line div:nth-child(5) { transform: rotate(-25deg); }
.decor-line div:nth-child(6) { transform: rotate(-30deg); }

/* Encabezado */
.header {
    background-color: #1a237e; /* Azul oscuro */
    color: white;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo img {
    width: 50px;
    border-radius: 100%;
}

.nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
}

.search input {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    outline: none;
    width: 200px;
}

/* Contenedor principal */
.main-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

/* Tarjeta del formulario */
.form-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 300px;
    z-index: 1;
}

.form-card h1 {
    color: #1a237e;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 700;
}

.fila {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.col {
    flex: 1;
    min-width: 200px;
}

label {
    display: block;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

input[type="text"], textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
    outline: none;
    font-size: 1rem;
}

input:focus, textarea:focus {
    border-bottom: 2px solid #1a237e;
}

textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 100px;
    resize: vertical;
}

button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background-color: #1a237e;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0d145a;
}

button[type="reset"] {
    display: none; /* Oculto para ajustar al diseño de referencia */
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #777;
}

/* Sección de imagen y ubicación */
.content-side {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.person-img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.location-section {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.location-section h3 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.location-section iframe {
    width: 100%;
    height: 200px;
    border-radius: 4px;
    border: none;
}

/* Responsividad */
@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
        gap: 2rem;
    }

    body::after {
        width: 80%;
        height: 50%;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .search input {
        width: 100%;
        max-width: 300px;
    }
}