/* Reset básico */
*{
    box-sizing: border-box;
}

/* Fondo general */
body{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: white;
}

/* Contenedor principal */
.pagina-contacto{
    min-height: 100vh;
    position: relative;
    padding: 40px 50px;
}

/* ----- BLOQUE CONTACTO ARRIBA IZQUIERDA ----- */
.contacto-info{
    position: absolute;
    top: 110px;   /* baja lo que necesites */
    left: 140px;  /* derecha lo que necesites */
    text-align: left;
}

/* Asegura que el título no tenga margen raro */
.contacto-info h1{
    margin: 0 0 18px 0;
}

.linea-contacto{
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 18px;
    color: #444;
}

.linea-contacto a{
    color: inherit;
    text-decoration: none;
}

.icono{
    width: 26px;
    height: 26px;
    margin-right: 12px;
    opacity: 0.7;
}

/* ----- FORMULARIO CENTRADO ----- */
.contacto-form{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contacto-form form{
    width: 420px;
    padding: 28px 30px;
    background-color: #fafafa;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

/* Campos */
.campo{
    margin-bottom: 16px;
}

label{
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

label span{
    font-weight: normal;
}

/* Inputs */
input,
textarea{
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #bbb;
    border-radius: 6px;
}

input:focus,
textarea:focus{
    outline: none;
    border-color: #777;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

textarea{
    resize: vertical;
    min-height: 110px;
}

/* Botón */
button{
    margin-top: 8px;
    padding: 10px 18px;
    background-color: #2b2b2b;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

button:hover{
    background-color: #1e1e1e;
}

/* ----- LOGO ABAJO DERECHA ----- */
.contacto-logo{
    position: absolute;
    right: 40px;
    bottom: 30px;
}

.contacto-logo img{
    width: 200px;
    opacity: 0.9;
}
.menu-icon span{
    display: block;
    height: 5px;
    background: grey;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}

.menu-icon:hover span{
    background: rgba(0,0,0,1);
}

.error {
  color: red;
  font-size: 0.85rem;
  display: none;
  margin-top: 4px;
}