:root {
    --primary: #1a1a1a;
    --secondary: #dc3545;
    --accent: #c41e3a;
    --light-bg: #fbfbfd;
    --border: #d2d2d7;
    --text: #1d1d1f;
    --text-muted: #6e6e73;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 400;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link:hover {
    color: var(--accent) !important;
    background: rgba(0, 122, 255, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

.btn-admin {
    margin-left: 1rem;
    padding: 0.6rem 1.8rem !important;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 980px;
    background: var(--accent);
    color: var(--white) !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 122, 255, 0.4);
    background: #0051d5;
}

.btn-admin::after {
    display: none;
}

/* Hero */
.hero {
    padding: 6rem 0 5rem;
    text-align: center;   
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.5;
}

/* Verificación */
.verificacion-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 2rem;
}

.verificacion-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.verificacion-box:hover {
    box-shadow: var(--shadow-md);
}

.verificacion-box h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.info-section {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
}

.info-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.info-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

.info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-section li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.info-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.form-control {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
    outline: none;
    background: var(--white);
}

.form-label {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: var(--accent);
    border: none;
    border-radius: 12px;
    padding: 1rem 3rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    background: #0051d5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.btn-outline-secondary {
    border: 1.5px solid var(--border);
    color: var(--text);
    background: var(--white);
    border-radius: 12px;
    padding: 0.85rem 2rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-secondary:hover {
    background: var(--light-bg);
    border-color: var(--text);
    color: var(--text);
    transform: translateY(-1px);
}

.btn-danger {
    background: #ff3b30;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #d62c21;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.btn-success {
    background: var(--secondary);
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #28a745;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

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

footer h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

/* Dashboard */
.dashboard {
    padding: 3rem 0;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.table {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--primary);
    border: none;
    padding: 1rem;
    font-size: 0.95rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

.card {
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
}

.card-header h5 {
    margin: 0;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.25rem;
}

.card-body {
    padding: 2rem;
}

/* Admin Sidebar */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    width: 260px;
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 2rem 0;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.admin-sidebar h6 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.admin-sidebar a:hover {
    background: var(--light-bg);
    color: var(--accent);
    border-left-color: var(--accent);
}

.admin-sidebar a.active {
    background: rgba(220, 53, 69, 0.08);
    color: var(--accent);
    font-weight: 600;
    border-left-color: var(--accent);
}

.admin-sidebar a i {
    margin-right: 0.75rem;
    width: 20px;
}

.admin-content {
    flex: 1;
    padding: 2rem;
    background: var(--light-bg);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .verificacion-box {
        padding: 2rem 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 2.5rem;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/login-bg.jpg');
    background-size: auto;
    background-position: center;
    background-attachment: fixed;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 100%;
}

.login-box h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Contacto */
.contact-section {
    padding: 4rem 0;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-info {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    color: var(--accent);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-info-item strong {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    color: var(--text-muted);
    margin: 0;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    height: 450px;
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.btn-primary {
    background: var(--accent); /* Ya está en rojo */
}

    .btn-primary:hover {
        background: #a01828; /* Rojo más oscuro */
    }

.btn-outline-secondary:hover {
    background: var(--light-bg);
    border-color: var(--text);
}
