/* ════════════════════════════════════════
   estilos.css — Documentos Seminuevos MX
   ════════════════════════════════════════ */

/* ── RESET GENERAL ── */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
}

/* ── HEADER ── */

header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('fondo.png');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

header h1 {
    font-size: 60px;
    margin-bottom: 10px;
}

header p {
    font-size: 20px;
    color: #ccc;
}

/* ── NAV ── */

nav {
    background: #111;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 99;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover {
    color: #00bfff;
}

/* ── SECCIONES ── */

section {
    padding: 60px 10%;
}

section.fondo-blanco {
    background: white;
}

section h2 {
    text-align: center;
    font-size: 35px;
    margin-bottom: 20px;
}

section p.intro {
    text-align: center;
    color: #555;
    margin-bottom: 25px;
    font-size: 15px;
}

/* ── LISTA DE DOCUMENTOS ── */

ul.docs-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

ul.docs-list li {
    background: white;
    padding: 14px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

ul.docs-list li::before {
    content: "✔";
    color: #00bfff;
    font-weight: bold;
}

/* ── TABLA ── */

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

table th {
    background: black;
    color: white;
    padding: 15px;
    text-align: left;
}

table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

table tr:last-child td {
    border-bottom: none;
}

/* ── FORMULARIOS ── */

.form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 700px;
    margin: 20px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-card label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 6px;
    color: #333;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: 0.3s;
    outline: none;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: #00bfff;
}

/* ── MENSAJES DE ERROR INLINE ── */

.error {
    display: none;
    color: #e53e3e;
    font-size: 12px;
    margin-top: 5px;
}

.error.visible {
    display: block;
}

/* ── BOTÓN ── */

.btn {
    background: black;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 22px;
    width: 100%;
    transition: 0.3s;
}

.btn:hover {
    background: #222;
}

/* ── RESUMEN ── */

.resumen {
    display: none;
    background: #e6f9f0;
    border: 1.5px solid #38a169;
    border-radius: 12px;
    padding: 20px 25px;
    max-width: 700px;
    margin: 15px auto;
}

.resumen h3 {
    color: #276749;
    margin-bottom: 10px;
}

.resumen p {
    font-size: 14px;
    margin: 4px 0;
    color: #2d3748;
}

/* ── FOOTER ── */

footer {
    background: black;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

footer p {
    margin: 4px 0;
}

footer p:last-child {
    color: #aaa;
    font-size: 13px;
    margin-top: 8px;
}
