/* ============================================================
   Easy4 · Página de contacto. Se carga DESPUÉS de portada.css y reutiliza sus variables y botones.
   ============================================================ */
.contacto { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: grid; align-items: center; }
.contacto .fondo { position: absolute; inset: 0; z-index: -1; }
.contacto .fondo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.contacto .fondo::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8, 11, 16, .92) 0%, rgba(8, 11, 16, .78) 45%, rgba(8, 11, 16, .6) 100%),
                linear-gradient(180deg, rgba(8, 11, 16, .5) 0%, rgba(8, 11, 16, 0) 30%, rgba(8, 11, 16, 0) 70%, var(--fondo) 100%); }
.contacto .rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 6vw, 96px);
                     align-items: center; padding: 130px 0 80px; }
.contacto h1 { font: 800 clamp(2.3rem, 4.8vw, 4rem)/1 var(--h); letter-spacing: -.045em; margin: 0 0 20px; text-wrap: balance; }
.contacto .entradilla { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(244, 241, 235, .88); max-width: 28em; margin: 0 0 28px; }
.checks { list-style: none; margin: 0; padding: 0; max-width: 30em; }
.checks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--linea); color: rgba(244, 241, 235, .86); font-size: .98rem; line-height: 1.45; }
.checks li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px;
                     border-left: 2px solid var(--senal); border-bottom: 2px solid var(--senal); transform: rotate(-45deg); }

.tarjeta { padding: clamp(24px, 3vw, 38px); border-radius: 28px; background: rgba(10, 14, 20, .62);
           border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .85);
           -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
.tarjeta h2 { font: 800 1.7rem/1.1 var(--h); letter-spacing: -.03em; margin: 0 0 18px; }

.campo { display: block; margin: 0 0 16px; }
.campo > span { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 7px; }
.campo small { font-weight: 400; color: var(--apagado); }
.campo input, .campo select, .campo textarea {
    width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; font: 500 1rem/1.4 var(--b); color: var(--texto);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); transition: border-color .2s, background .2s;
}
.campo textarea { resize: vertical; min-height: 110px; }
.campo select { appearance: none; -webkit-appearance: none; padding-right: 42px;
    background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23A9B0BC' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.campo select option { background: #0E131A; color: var(--texto); }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(169, 176, 188, .7); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--senal); background-color: rgba(255, 255, 255, .09);
                                                                  box-shadow: 0 0 0 3px rgba(255, 184, 28, .25); }

.legal { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 20px; font-size: .88rem; color: var(--apagado); line-height: 1.45; cursor: pointer; }
.legal input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--senal); }
.legal a { color: var(--texto); text-underline-offset: 3px; }
.enviar { width: 100%; }
.enviar:disabled { opacity: .55; cursor: progress; box-shadow: none; }
.nota { margin: 12px 0 0; font-size: .88rem; color: var(--apagado); text-align: center; min-height: 1.4em; }

.aviso { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; font-size: .94rem; color: #FFD6D1;
         background: rgba(224, 72, 56, .16); border: 1px solid rgba(224, 72, 56, .5); }

/* campo trampa: fuera de la pantalla, para que solo lo rellenen los robots */
.trampa { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.exito { text-align: center; padding: 18px 0 8px; }
.exito svg { width: 64px; height: 64px; margin: 0 auto 18px; fill: none; stroke: var(--abierto); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.exito h2 { margin-bottom: 10px; }
.exito p { margin: 0 0 24px; color: var(--apagado); }

@media (max-width: 980px) {
    .contacto .rejilla { grid-template-columns: 1fr; padding: 108px 0 56px; }
    .contacto .intro .checks { display: none; }
}
@media (max-width: 760px) {
    .contacto { min-height: 0; }
}
