/* ==========================================================================
   HOJA DE ESTILOS - ASESORESCITASRELAEXT.LAT (DISEÑO 8)
   ========================================================================== */

:root {
    --graphite-gray: #374151;
    --charcoal-dark: #111827;
    --coral-orange: #ea580c;
    --coral-hover: #c2410c;
    --coral-light: #fff7ed;
    --text-main: #4b5563;
    --bg-white: #ffffff;
    --bg-alt: #f9fafb;
    --border-line: #e5e7eb;
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.65;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navegación Ágil */
header {
    background-color: var(--graphite-gray);
    color: #ffffff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--coral-orange);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #f3f4f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 12px;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--coral-orange);
    border-bottom: 2px solid var(--coral-orange);
}

/* Bloque Deslinde Gubernamental visible */
.gov-disclaimer {
    background-color: var(--coral-light);
    border-left: 4px solid var(--coral-orange);
    padding: 20px;
    margin: 25px 0;
    font-size: 0.88rem;
    color: #7c2d12;
    text-align: justify;
}

.gov-disclaimer strong {
    color: #431407;
}

/* Layout General */
main {
    padding: 30px 0 60px 0;
}

h1 {
    font-size: 2.4rem;
    color: var(--charcoal-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

h2 {
    font-size: 1.7rem;
    color: var(--graphite-gray);
    margin: 40px 0 20px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--border-line);
}

p {
    margin-bottom: 20px;
    text-align: justify;
    color: #4b5563;
}

ul, ol {
    margin-bottom: 25px;
    padding-left: 22px;
}

li {
    margin-bottom: 10px;
    color: #4b5563;
}

/* Envolturas Visuales */
.image-wrapper {
    margin: 30px 0;
    border-radius: 4px;
    overflow: hidden;
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 440px;
}

/* Tablas Corporativas Modernas */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: var(--bg-white);
}

.data-table th {
    background-color: var(--graphite-gray);
    color: #ffffff;
    font-weight: 600;
    padding: 14px;
    border: 1px solid var(--border-line);
    text-align: left;
}

.data-table td {
    padding: 14px;
    border: 1px solid var(--border-line);
    font-size: 0.96rem;
}

.data-table tr:nth-child(even) {
    background-color: var(--bg-alt);
}

/* Botones de Conversión Rápida */
.btn-primary {
    display: inline-block;
    background-color: var(--coral-orange);
    color: #ffffff;
    padding: 14px 34px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-transform: uppercase;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--coral-hover);
}

/* Módulo de Captación Slim */
.lead-form {
    background-color: var(--bg-alt);
    padding: 40px;
    border: 1px solid var(--border-line);
    max-width: 720px;
    margin: 40px auto;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--charcoal-dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-line);
    border-radius: 4px;
    font-size: 1rem;
    color: var(--charcoal-dark);
    background-color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: var(--coral-orange);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* Footer Único */
footer {
    background-color: var(--charcoal-dark);
    color: #9ca3af;
    padding: 50px 0 25px 0;
    font-size: 0.85rem;
    margin-top: 60px;
    border-top: 3px solid var(--coral-orange);
}

footer p {
    text-align: center;
    margin-bottom: 12px;
    color: #e5e7eb;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 25px;
}

.footer-links li {
    margin: 0 14px;
}

.footer-links li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--coral-orange);
}

.footer-notice {
    max-width: 950px;
    margin: 25px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #1f2937;
    text-align: center;
    line-height: 1.5;
    font-size: 0.76rem;
    color: #4b5563;
}