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

/* Header Sticky Glassmorphism */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.header .logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header .logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(214, 28, 28, 0.4));
}

.header .logo-text h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    margin: 0;
}

.header nav {
    /* flex-wrap: wrap; */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: visible;
    overflow-x: hidden;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
    padding: 0.2rem 0;
}

.header nav a {
    color: var(--gray-light);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.header nav a:hover,
.header nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.header .auth-link {
    color: var(--white) !important;
    background: var(--red) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px var(--red-glow);
}

.header .auth-link:hover {
    background: var(--red-hover) !important;
    transform: translateY(-1px);
}

/* Footer Modernizado */
.footer {
    background: var(--black-intense);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--red);
    margin-top: 0.4rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--red);
    padding-left: 4px;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.footer-info-item .icon {
    color: var(--red);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-map-placeholder {
    width: 100%;
    height: 140px;
    background: var(--gray-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-light);
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem;
    transition: border-color 0.3s ease;
}

.footer-map-placeholder:hover {
    border-color: var(--red);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray-light);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--gray-light);
}

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

/* Sidebar Admin (Preservada) */
.sidebar {
    width: 250px;
    min-height: 100vh;
    background: var(--black-intense);
    border-right: 1px solid var(--border);
    padding: 2rem 1rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
}
.sidebar .logo { text-align: center; margin-bottom: 2rem; }
.sidebar .logo img { width: 120px; margin: 0 auto; }
.sidebar a {
    display: block;
    padding: .75rem 1rem;
    color: var(--gray-light);
    border-radius: var(--radius-sm);
    margin-bottom: .25rem;
    transition: background .3s, color .3s;
    font-weight: 500;
}
.sidebar a:hover, .sidebar a.active { background: var(--gray-dark); color: var(--white); }
.sidebar .logout { margin-top: 2rem; color: var(--error); }
.sidebar .logout:hover { background: var(--error); color: var(--white); }
.admin-layout { display: flex; min-height: 100vh; }
.admin-content { flex: 1; padding: 2rem; }