/* =========================
   ESTILOS GENERALES Y LAYOUT
   ========================= */
body,
html {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #000 !important;
    color: #f1f1f1;
}

.flash-container {
    position: fixed;
    top: 60px;
    left: 260px;
    right: 40px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flash-container .alert {
    margin: 0;
    border-radius: 10px;
    padding: 14px 18px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2) !important;
    border-color: rgba(220, 53, 69, 0.35) !important;
    color: #ffb3bd !important;
}

.alert-success {
    background: rgba(25, 135, 84, 0.2) !important;
    border-color: rgba(25, 135, 84, 0.35) !important;
    color: #9be7c4 !important;
}

#container,
.container,
.wrapper,
.content {
    background: #000 !important;
    border: none !important;
}

/* =========================
   SIDEBAR Y NAVEGACIÓN LATERAL
   ========================= */
.sidebar {
    width: 240px;
    background: #000000;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: none;
    z-index: 2;
    box-shadow: none;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    padding: 8px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.sidebar ul li {
    margin: 10px 0;
    width: 100%;
}

.sidebar ul li a {
    color: #f1f1f1;
    text-decoration: none;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    font-size: 1.1em;
    transition: background 0.2s, color 0.2s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background: #1f1f1f;
    color: #00bfff;
    border-left: 4px solid #00bfff;
}

.sidebar ul li a .icon {
    margin-right: 12px;
    font-size: 1.2em;
}

/* =========================
   CONTENIDO PRINCIPAL Y TOPBAR
   ========================= */
.main-content {
    margin-left: 240px;
    padding: 40px;
    min-height: 100vh;
    background: #000000;
    box-shadow: none;
    z-index: 1;
    border-left: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1,
.main-content h1 {
    font-weight: 600;
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #00bfff;
}

p {
    font-size: 1.1em;
    color: #cfcfcf;
}

.topbar {
    width: 100%;
    height: 60px;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 40px;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 18px;
    margin-right: 18px;
}

.user-photo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #00bfff;
    background: #fff;
    object-fit: cover;
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 55px;
    background: #23252b;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    overflow: hidden;
    z-index: 100;
}

.user-dropdown a {
    display: block;
    padding: 12px 18px;
    color: #f1f1f1;
    text-decoration: none;
    transition: background 0.2s;
}

.user-dropdown a:hover {
    background: #00bfff;
    color: #23252b;
}

/* =========================
   TARJETAS DE USUARIO/PROYECTO
   ========================= */
.user-deck {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.user-card {
    background: #fff;
    color: #222;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    position: relative;
    gap: 24px;
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 24px;
    border: 2px solid #eee;
    background: #f8f8f8;
}

.user-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-actions {
    margin-left: auto;
    display: flex;
    gap: 14px;
}

.btn-edit,
.btn-delete {
    padding: 7px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1em;
    color: #fff;
}

.btn-edit {
    background: #0099e5;
}

.btn-delete {
    background: #dc3545;
    color: #fff;
}

/* =========================
   BADGES Y ESTADOS
   ========================= */
.badge {
    position: absolute;
    right: 32px;
    top: 28px;
    padding: 8px 20px;
    border-radius: 14px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
}

.badge-planificacion {
    background: #6b00e5;
    color: #fff;
}

.badge-creacion {
    background: #ff9800;
    color: #fff;
}

.badge-revision {
    background: #00bfff;
    color: #fff;
}

.badge-publicacion {
    background: #28a745;
    color: #fff;
}

.badge-secondary {
    background: #bdbdbd;
    color: #fff;
}

.badge-negociacion {
    background: #ff5c5c;
    color: #fff;
}

/* Badge de status en la sidebar del proyecto */
.sidebar-badge {
    position: static;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 0;
    right: auto;
    top: auto;
    text-align: center;
}

/* =========================
   ENCABEZADO Y BÚSQUEDA
   ========================= */
.users-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 1200px;
}

.btn-primary {
    background: #0099e5;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1em;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #007acc;
}

.user-search-form {
    background: #f1f4f6;
    border-radius: 20px;
    padding: 18px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 30px;
}

.search-group {
    display: flex;
    gap: 16px;
    width: 100%;
}

.search-input {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    flex: 1;
}

.search-input i {
    color: #888;
    margin-right: 8px;
}

.search-input input {
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 0;
    width: 100%;
    font-size: 1em;
    color: #222;
}

.user-search-form select {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 10px 14px;
    min-width: 180px;
    background: #fff;
    color: #222;
}

.btn-search {
    background: #00bfff;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 1em;
    margin-left: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-search:hover {
    background: #007acc;
}

/* =========================
   MODALES Y FORMULARIOS
   ========================= */
.modal-user {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    justify-content: center;
    align-items: center;
}

/* Modal específico para proyectos */
.modal-project {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.modal-content-user {
    background: #fff;
    color: #222;
    border-radius: 18px;
    padding: 36px 38px 28px 38px;
    max-width: 420px;
    width: min(420px, 92vw);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.22) transparent;
}

.modal-content-user::-webkit-scrollbar {
    width: 8px;
}

.modal-content-user::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content-user::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-content-user::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
    background-clip: padding-box;
}

.close-modal-user {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2em;
    color: #00bfff;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
}

.close-modal-user:hover {
    color: #dc3545;
}

.user-form-modal .form-group-modal {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-form-modal label {
    font-weight: 500;
    color: #0099e5;
}

.user-form-modal input[type="text"],
.user-form-modal input[type="email"],
.user-form-modal select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: 1em;
    background: #f8f8f8;
    color: #222;
}

.user-form-modal input[type="file"] {
    margin-top: 4px;
}

.user-avatar-modal {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
    background: #f8f8f8;
}

.user-form-modal .btn-primary {
    margin-top: 10px;
    width: 100%;
    padding: 10px 0;
    font-size: 1.1em;
}

.form-row-modal {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: flex-end;
}

/* =========================
   SIDEBAR Y PROYECTOS (DETALLE)
   ========================= */
.project-card-full {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.project-card-full:hover {
    box-shadow: 0 4px 24px rgba(0, 191, 255, 0.18);
}

.project-sidebar {
    position: fixed;
    top: 0;
    right: -660px;
    width: 660px;
    height: 100vh;
    background: #fff;
    color: #222;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.project-sidebar.open {
    right: 0;
}

.sidebar-content {
    padding: 32px 28px 18px 28px;
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.close-project {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2em;
    color: #00bfff;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
    z-index: 10;
}

.close-project:hover {
    color: #dc3545;
}

@media (max-width: 900px) {
    .project-sidebar {
        width: 100vw;
        right: -100vw;
    }

    .project-sidebar.open {
        right: 0;
    }
}

.sidebar-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    position: relative;
}

.sidebar-header .user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
    background: #f8f8f8;
    display: block;
}

.sidebar-header .header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-header .header-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #00bfff;
    margin-bottom: 2px;
}

.sidebar-header .header-client {
    font-size: 1em;
    color: #222;
    font-weight: 500;
}

.sidebar-header .header-manager {
    font-size: 0.95em;
    color: #888;
    margin-bottom: 8px;
}

.sidebar-header .header-badges {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.badge-status {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 16px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    margin-top: 8px;
    margin-bottom: 2px;
}

.badge-activo {
    background: #28a745;
}

.badge-enproceso {
    background: #ffc107;
    color: #222;
}

.badge-finalizado {
    background: #007bff;
}

.sidebar-header .header-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-icon-round {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f4f6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: #0099e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.btn-icon-round:hover {
    background: #00bfff;
    color: #fff;
}

.btn-icon-round.delete {
    background: #ffeaea;
    color: #dc3545;
}

.btn-icon-round.delete:hover {
    background: #dc3545;
    color: #fff;
}

.btn-icon-round.actions {
    background: #eaf7ff;
    color: #6b00e5;
}

.btn-icon-round.actions:hover {
    background: #6b00e5;
    color: #fff;
}

.btn-icon-round.products {
    background: #eaf7ff;
    color: #28a745;
}

.btn-icon-round.products:hover {
    background: #28a745;
    color: #fff;
}

.btn-icon-round.calendar {
    background: #eaf7ff;
    color: #ff9800;
}

.btn-icon-round.calendar:hover {
    background: #ff9800;
    color: #fff;
}

.sidebar-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
}

.tab-btn {
    background: #f1f4f6;
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 18px;
    color: #222;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn.active,
.tab-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

.sidebar-tab-content {
    display: block;
    margin-bottom: 18px;
}

.acciones-container {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.acciones-deck {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.accion-card {
    background: #fff;
    color: #222;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.accion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.accion-header strong {
    font-size: 1.1em;
}

.accion-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.95em;
    color: #555;
}

.accion-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 8px;
}

.no-acciones {
    text-align: center;
    color: #666;
    padding: 20px;
}

/* =========================
   TABLAS Y FACTURACIÓN
   ========================= */
.cyne-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cyne-table-scroll .table {
    min-width: 680px;
}

@media (max-width: 600px) {
    .cyne-table-scroll .table {
        min-width: 520px;
    }
}

#facturacion-details table {
    margin-top: 10px;
}

#facturacion-details th {
    background-color: #f2f2f2;
}

/* =========================
   UTILIDADES Y Z-INDEX
   ========================= */
.swal2-container {
    z-index: 9999 !important;
}

body.sidebar-open {
    overflow: hidden;
}

/* =========================
   NAVEGACIÓN ADMIN MÓVIL
   ========================= */
.mobile-admin-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 8px;
    gap: 8px;
    z-index: 1200;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.4);
}

.mobile-admin-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #8a8d96;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 6px;
    border-radius: 14px;
    transition: color 0.2s, background 0.2s;
}

.mobile-admin-btn i {
    font-size: 1.25rem;
}

.mobile-admin-btn.active {
    color: #00bfff;
    background: rgba(0, 191, 255, 0.12);
}

.mobile-admin-btn:not(.active):hover {
    color: #cdd0d8;
}

.topbar-left {
    display: none;
    align-items: center;
}

.topbar-logo {
    display: inline-flex;
    align-items: center;
}

.topbar-logo img {
    height: 36px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #f1f1f1;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    margin-right: 16px;
}

.mobile-menu-toggle:focus {
    outline: none;
}

.admin-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(18, 18, 20, 0.98);
    color: #f1f1f1;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 18px rgba(0, 0, 0, 0.45);
}

.admin-mobile-drawer.open {
    right: 0;
}

.admin-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.admin-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.admin-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.drawer-user-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 191, 255, 0.55);
    background: #fff;
}

.drawer-close {
    background: none;
    border: none;
    color: #f1f1f1;
    font-size: 1.6rem;
    cursor: pointer;
}

.admin-drawer-links,
.admin-drawer-footer,
.admin-drawer-contacts {
    display: flex;
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
}

.drawer-link,
.drawer-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.drawer-link i,
.drawer-contact i {
    font-size: 1.1rem;
}

.drawer-link.active {
    color: #00bfff;
}

.drawer-link.logout {
    color: #ff6b81;
}

.admin-drawer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 24px;
}

.admin-drawer-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.55);
    padding: 0 24px 12px;
}

.drawer-contact {
    font-weight: 500;
    color: rgba(241, 241, 241, 0.85);
}

.drawer-contact:hover,
.drawer-link:hover {
    color: #00bfff;
}

@media (max-width: 992px) {
    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
        padding: 80px 20px 120px;
        width: 100%;
        box-sizing: border-box;
        align-items: stretch;
    }

    .topbar {
        background: rgba(0, 0, 0, 0.92);
        padding: 0 20px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
        justify-content: space-between;
    }

    .user-menu {
        margin: 0;
    }

    .topbar-left {
        display: flex;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .user-menu {
        margin-left: 8px;
    }

    .admin-mobile-drawer {
        width: min(320px, 82vw);
    }

    .flash-container {
        left: 20px;
        right: 20px;
        top: 80px;
    }

    .mobile-admin-nav {
        display: flex;
    }

    body,
    html {
        padding-bottom: 100px;
    }

    .users-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .user-search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .user-search-form select {
        min-width: 0;
        width: 100%;
    }

    .search-group {
        flex-direction: column;
        gap: 12px;
    }

    .user-deck {
        gap: 16px;
        margin-top: 18px;
    }

    .user-card {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 16px;
        min-width: 0;
    }

    .user-avatar {
        width: 52px;
        height: 52px;
        margin-right: 0;
        flex: 0 0 auto;
    }

    .user-info {
        flex: 1 1 auto;
        min-width: 0;
        gap: 4px;
    }

    .user-card .badge {
        position: static;
        align-self: flex-start;
        margin: 0;
        padding: 6px 12px;
        border-radius: 12px;
        font-size: 0.9em;
    }

    .user-card > .badge {
        margin-left: auto;
    }

    .project-card-full .user-info {
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: 10px;
        row-gap: 6px;
        align-items: start;
    }

    .project-card-full .user-info > strong {
        grid-column: 1;
        grid-row: 1;
    }

    .project-card-full .user-info > .badge {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        margin: 0;
    }

    .project-card-full .user-info > div {
        grid-column: 1 / -1;
        font-size: 0.95em;
        line-height: 1.25;
    }

    .user-actions {
        flex-basis: 100%;
        width: 100%;
        justify-content: flex-end;
        margin-top: 6px;
    }

    .project-sidebar {
        width: 100vw;
        right: -100vw;
    }

    .sidebar-content {
        padding: 22px 18px 16px 18px;
    }

    .sidebar-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sidebar-header .header-actions {
        flex-wrap: wrap;
    }

    .sidebar-tabs {
        gap: 6px;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 0.95rem;
    }
}

/* Ocultar avatar de usuario en móviles */
@media (max-width: 992px) {
    .user-photo {
        display: none;
    }
}

@media (max-width: 600px) {
    .users-header .btn-primary {
        width: 100%;
    }
}

/* ================== Contacto (desde) ================== */
#contacto {
    padding: 5rem 0;
    background: #2d3133;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: #fff;
    transition: color 0.3s ease;
    text-decoration: none;
}

.contact-item a:hover {
    color: #ffcc00;
}

.contact-icon {
    font-size: 2rem;
}

.icon-whatsapp {
    color: #25D366;
}

.icon-email {
    color: #D44638;
}

.icon-address {
    color: #4285F4;
}

.icon-instagram {
    color: #C13584;
}

.icon-youtube {
    color: #FF0000;
}