:root {
    --primary: #00d26a;
    --primary-hover: #00b85c;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --border-color: #333333;
    --border-light: #444444; /* Añadido para contrastes sutiles en tablas */
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --danger: #d9534f;
    --danger-hover: #c9302c;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    padding-top: 80px;
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

/* =========================================
   Navegación
========================================= */
.jmc-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary);
    z-index: 1000;
}

.jmc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 2px;
}

.jmc-brand span {
    color: var(--primary);
}

.jmc-nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.jmc-nav-link {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding: 8px 0;
    transition: 0.3s;
}

.jmc-nav-link:hover, .jmc-nav-link.active {
    color: var(--primary);
}

.btn-auth {
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-reg {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-reg:hover {
    background: var(--primary-hover);
}

.btn-logout {
    background: var(--danger);
    color: var(--text-main);
}

.btn-logout:hover {
    background: var(--danger-hover);
}

/* =========================================
   Hero & Slider 
========================================= */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 210, 106, 0.2) 0%, rgba(18, 18, 18, 0.9) 100%);
}

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
}

.content h1 {
    font-size: 60px;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 3px;
    color: var(--primary);
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.content p {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--text-main);
}

.btn-main {
    padding: 15px 40px;
    background: var(--primary);
    color: var(--bg-dark);
    font-weight: bold;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 210, 106, 0.3);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 30;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.carousel-btn {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    background: rgba(18, 18, 18, 0.7);
    border: 2px solid var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #121212;
    transform: scale(1.1);
}

/* =========================================
   Catálogo - Filtros y Grid
========================================= */
.filtrador-avanzado {
    background: var(--bg-card);
    padding: 25px 40px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    align-items: center;
    position: sticky;
    top: 80px;
    z-index: 900;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.search-box input {
    width: 100%;
    padding: 14px 25px;
    background: #1a1a1a;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
    background: var(--bg-dark);
    box-shadow: 0 0 10px rgba(0, 210, 106, 0.15);
}

.filter-select {
    padding: 14px 25px;
    background: #1a1a1a;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
}

.filter-select:focus, .filter-select:hover {
    border-color: var(--primary);
}

.price-input {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1a1a;
    padding: 12px 20px;
    border-radius: 30px;
    border: 2px solid var(--border-color);
}

input[type=range] {
    accent-color: var(--primary);
    width: 180px;
}

.container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 35px;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
    flex-grow: 1;
}

/* =========================================
   Catálogo - Tarjeta de Producto
========================================= */
.product-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 25px rgba(0,210,106,0.2);
}

.carousel-container {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    background: #000;
    border-bottom: 3px solid var(--primary);
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-img.active {
    opacity: 1;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
    text-transform: uppercase;
    z-index: 10;
}

.p-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.p-title {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-main);
}

.p-seller-short {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.p-price {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 26px;
}

/* =========================================
   Botones de Tarjetas (Alto Contraste)
========================================= */
.btn-group {
    display: flex;
    gap: 12px;
}

.btn-s {
    padding: 14px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    flex: 1;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--text-main);
    text-decoration: none;
}

/* Botón de Detalles */
.btn-det {
    background: #222222;
    border: 2px solid var(--border-light);
}

.btn-det:hover {
    background: #2a2a2a;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 210, 106, 0.15);
}

/* Botón de WhatsApp/Pedir */
.btn-com {
    background: var(--primary);
    color: var(--bg-dark);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-com:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 210, 106, 0.3);
}

/* =========================================
   Modal de Producto (Imponente y Estético)
========================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

/* Caja del modal ampliada */
.modal-box {
    background: var(--bg-card);
    max-width: 1100px;
    width: 100%;
    border-radius: 12px;
    border-top: 5px solid var(--primary);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

.modal-img-container {
    width: 50%;
    position: relative;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-height: 400px;
}

/* Flechas del Modal */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18, 18, 18, 0.8);
    color: var(--text-main);
    border: 2px solid var(--border-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 10;
}

.modal-nav-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.modal-details {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-details h2 {
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 28px;
    text-transform: uppercase;
}

.modal-details p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Cajas de información del producto separadas con volumen */
.seller-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.seller-box div {
    background: #141414;
    padding: 18px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    font-size: 15px;
    color: #ddd;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

.seller-box div strong {
    display: block;
    color: var(--primary);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* =========================================
   Dashboard y Tabla (Profesional)
========================================= */
.table-container {
    background: var(--bg-card);
    padding: 30px 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow-x: auto;
}

.table-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.table-header h2 {
    color: var(--primary);
    font-size: 24px;
    text-transform: uppercase;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

table th {
    background: #141414;
    color: var(--primary);
    padding: 16px 20px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--border-color);
}

table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
    color: #e0e0e0;
    font-size: 15px;
    vertical-align: middle;
}

table tr {
    transition: background 0.3s;
}

table tr:hover {
    background: rgba(0, 210, 106, 0.05);
}

table tbody tr:last-child td {
    border-bottom: none;
}

table td strong {
    color: var(--text-main);
    font-size: 16px;
}

/* =========================================
   Formularios Generales
========================================= */
.form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 40px 20px;
}

.form-box {
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 12px;
    border-top: 5px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    text-align: center;
}

.form-box.large {
    max-width: 700px; /* Agrandado para mejor visualización del form */
}

.form-box h1, .form-box h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--primary);
    text-transform: uppercase;
}

.form-box p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="number"], 
input[type="tel"], 
select, 
textarea {
    width: 100%;
    padding: 16px;
    background: #141414;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

input:focus, 
select:focus, 
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 210, 106, 0.15);
}

button[type="submit"] {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.form-link {
    display: block;
    margin-top: 25px;
    color: var(--primary);
    font-size: 15px;
}

.form-link:hover {
    text-decoration: underline;
}

.file-upload-wrapper {
    background: #141414;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    transition: 0.3s;
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: rgba(0, 210, 106, 0.05);
}

.file-upload-wrapper label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
}

input[type="file"] {
    color: var(--text-main);
    font-size: 14px;
    width: 100%;
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    background: var(--border-color);
    color: var(--text-main);
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 15px;
    transition: 0.3s;
}

input[type="file"]::file-selector-button:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* =========================================
   Nosotros - Equipo (Grid de 4 columnas)
========================================= */
.team-title {
    font-size: 36px;
    margin: 60px 0 40px;
    color: var(--primary);
    text-align: center;
    text-transform: uppercase;
}

.team-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 en simultáneo */
    gap: 30px;
    padding: 0 5% 40px;
    max-width: 1500px;
    margin: 0 auto;
}

.member-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.member-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,210,106,0.15);
}

.member-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-bottom: 20px;
}

.member-card h3 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 20px;
}

.member-card p {
    font-size: 15px;
    color: var(--text-muted);
}

/* =========================================
   Secciones Informativas y Misión
========================================= */
.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 10% 80px;
    flex-grow: 1;
}

.about-card {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 15px;
    border-top: 5px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    max-width: 1000px;
    width: 100%;
}

.about-card h1 {
    font-size: 40px;
    margin-bottom: 25px;
    color: var(--primary);
}

.about-card p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #e0e0e0;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.info-cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    padding: 80px 10%;
    background: var(--bg-dark);
    max-width: 1500px;
    margin: 0 auto;
    flex-grow: 1;
}

.info-card {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    border-top: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,210,106,0.15);
}

.icon-card {
    font-size: 55px;
    margin-bottom: 25px;
}

.info-card h3 {
    color: var(--text-main);
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.info-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.mission-section {
    padding: 80px 10%;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.mission-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.mission-text {
    flex: 1;
    min-width: 320px;
}

.mission-text h2 {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.2;
}

.mission-text p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-stats {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.stat-box {
    background: var(--bg-dark);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    flex: 1;
    min-width: 150px;
    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--text-main);
}

.stat-box h4 {
    font-size: 45px;
    color: var(--text-main);
    margin-bottom: 10px;
}

.stat-box span {
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.cta-section {
    background: var(--primary);
    padding: 80px 10%;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    color: var(--bg-dark);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* =========================================
   Página de Contacto
========================================= */
.contact-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    border-bottom: 1px solid var(--border-color);
}

.contact-header h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 60px auto;
    gap: 40px;
    padding: 0 20px;
    flex-grow: 1;
}

.contact-info-panel {
    flex: 1;
    min-width: 320px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-info-panel h2 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 210, 106, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text-main);
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.social-panel {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.social-panel h4 {
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    transition: 0.3s;
    background: #333;
}

.social-btn.facebook:hover {
    background: #1877F2;
    transform: translateY(-3px);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-3px);
}

.contact-form-panel {
    flex: 1.5;
    min-width: 320px;
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 12px;
    border-top: 5px solid var(--primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.contact-form-panel h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 28px;
}

/* =========================================
   Footer Global
========================================= */
.footer-global {
    background: #0a0a0a;
    padding: 60px 20px 25px;
    color: var(--text-muted);
    border-top: 2px solid var(--primary);
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
}

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* =========================================
   Media Queries (Responsive Design)
========================================= */
@media (max-width: 1200px) {
    .team-grid-horizontal {
        grid-template-columns: repeat(2, 1fr); /* 2 en tablet grande */
    }
}

@media (max-width: 950px) {
    .jmc-navbar {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .jmc-nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modal-box {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-img-container {
        width: 100%;
        min-height: 350px;
    }
    
    .modal-details {
        width: 100%;
        padding: 30px;
    }
}

@media (max-width: 800px) {
    .filtrador-avanzado {
        grid-template-columns: 1fr;
    }
    
    .team-grid-horizontal {
        grid-template-columns: 1fr; /* 1 en móviles */
    }
}