/* ==========================================================================
   ESTILOS GLOBALES - CITASRELAINTER.LAT (EJEMPLO 2)
   ========================================================================== */

:root {
    --primary-dark: #1e293b;
    --emerald-consular: #0f766e;
    --emerald-light: #14b8a6;
    --bg-main: #fcfcfd;
    --white: #ffffff;
    --text-dark: #0f172a;
    --text-soft: #475569;
    --border-gray: #cbd5e1;
}

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

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease-in-out;
}

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

header {
    background-color: var(--primary-dark);
    border-bottom: 3px solid var(--emerald-consular);
}

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

.logo a {
    color: var(--white);
    font-size: 25px;
    font-weight: 700;
}

.logo span {
    color: var(--emerald-light);
}

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

nav ul li a {
    color: #94a3b8;
    font-size: 16px;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--white);
}

.hero {
    background-color: #111827;
    color: var(--white);
    padding: 100px 0;
    text-align: left;
    position: relative;
}

.hero h1 {
    font-size: 45px;
    max-width: 800px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 19px;
    color: #94a3b8;
    max-width: 700px;
    margin-bottom: 30px;
}

.main-content {
    padding: 70px 0;
}

.section-title {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-soft);
    margin-bottom: 45px;
}

.gov-disclaimer {
    background-color: #fffaf0;
    border-left: 4px solid #dd6b20;
    padding: 22px;
    margin-bottom: 40px;
}

.gov-disclaimer p {
    font-size: 14px;
    color: #c05621;
}

.btn-primary {
    display: inline-block;
    background-color: var(--emerald-consular);
    color: var(--white);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 5px;
    border: none;
}

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

.image-wrapper {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 35px;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.card h3 {
    color: var(--emerald-consular);
    margin-bottom: 15px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
}

.data-table th, 
.data-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-gray);
}

.data-table th {
    background-color: #334155;
    color: var(--white);
}

.styled-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    list-style: none;
}

.styled-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--emerald-consular);
    font-weight: bold;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
}

footer {
    background-color: #0f172a;
    color: #64748b;
    padding: 60px 0 30px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #1e293b;
    font-size: 12px;
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .footer-container { flex-direction: column; gap: 30px; }
}