/* ==========================================================================
   ESTILOS GLOBALES - CITASCONSULAT.LAT (EJEMPLO 1)
   ========================================================================== */

:root {
    --primary-color: #0b1b3d;
    --secondary-color: #1e293b;
    --accent-gold: #c5a059;
    --accent-hover: #a3803b;
    --bg-light: #f4f6f9;
    --white: #ffffff;
    --text-color: #334155;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

header {
    background-color: var(--primary-color);
    border-bottom: 4px solid var(--accent-gold);
}

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

.logo a {
    color: var(--white);
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-gold);
}

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

nav ul li a {
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 5px;
}

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

.hero {
    background: linear-gradient(rgba(11, 27, 61, 0.9), rgba(30, 41, 59, 0.95));
    color: var(--white);
    padding: 90px 0;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 750px;
    margin: 0 auto 35px auto;
}

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

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

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

.gov-disclaimer {
    background-color: #fef3c7;
    border-left: 5px solid #d97706;
    padding: 20px;
    margin-bottom: 35px;
    border-radius: 4px;
}

.gov-disclaimer p {
    font-size: 13.5px;
    color: #92400e;
    line-height: 1.5;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-color);
    font-weight: 700;
    padding: 15px 30px;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

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

.image-wrapper {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

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

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

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

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 4px;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

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

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

.data-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.styled-list {
    list-style: none;
    margin: 20px 0;
}

.styled-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.styled-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 12px;
    top: 2px;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 15px;
}

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

textarea.form-control {
    min-height: 120px;
}

footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 50px 0 25px 0;
    border-top: 5px solid var(--accent-gold);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 35px;
    border-bottom: 1px solid #1e293b;
}

.footer-info {
    max-width: 450px;
}

.footer-info h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 18px;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 30px; }
    .header-container, .footer-container { flex-direction: column; gap: 25px; text-align: center; }
    .footer-links { justify-content: center; }
}