/* ============================================================
   Páginas Legales — EAVicar
   ============================================================ */

#legal-page {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

/* HERO */
.legal-hero {
    background: linear-gradient(135deg, #1a2e3e 0%, #2ea3f2 100%);
    padding: 60px 20px 70px;
    text-align: center;
    color: #fff;
}
.legal-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}
.legal-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
}
.legal-hero h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.2;
    color: #fff;
}
.legal-hero-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

/* CONTENIDO */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* TARJETA INFO */
.legal-info-card {
    background: #f0f6fc;
    border-left: 4px solid #2ea3f2;
    border-radius: 0 12px 12px 0;
    padding: 20px 26px;
    margin-bottom: 48px;
}
.legal-info-card p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.legal-info-card strong {
    color: #1a2e3e;
    font-weight: 700;
}
.legal-info-card .legal-info-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2ea3f2;
    margin: 0 0 12px;
}

/* SECCIONES */
.legal-section {
    margin-bottom: 36px;
}
.legal-section h2 {
    font-size: 17px;
    font-weight: 700;
    color: #1a2e3e;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f4fc;
    display: flex;
    align-items: center;
    gap: 10px;
}
.legal-section h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #2ea3f2;
    border-radius: 2px;
    flex-shrink: 0;
}
.legal-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 10px;
}
.legal-section ul {
    margin: 8px 0 10px 0;
    padding: 0;
    list-style: none;
}
.legal-section ul li {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    padding: 4px 0 4px 20px;
    position: relative;
}
.legal-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2ea3f2;
    font-weight: 700;
    font-size: 13px;
    top: 5px;
}

/* BADGE TIPO DE COOKIE */
.legal-cookie-type {
    display: inline-block;
    background: #e8f4fc;
    color: #2ea3f2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 6px;
}

/* TABLA */
.legal-table-wrap {
    overflow-x: auto;
    margin: 12px 0 10px;
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.legal-table th {
    background: #1a2e3e;
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}
.legal-table td {
    padding: 9px 14px;
    color: #555;
    border-bottom: 1px solid #e8f4fc;
}
.legal-table tr:nth-child(even) td {
    background: #f8fbff;
}

/* ACTUALIZACIÓN */
.legal-updated {
    font-size: 13px;
    color: #999;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

@media (max-width: 768px) {
    .legal-hero { padding: 48px 20px 56px; }
    .legal-content { padding: 40px 20px 60px; }
}
