/* ===== CSS ESPECÍFICO PARA PÁGINA OPERACIONES ===== */
/* Solo estilos nuevos - No duplica los del CSS principal */

/* Hero Section Operaciones */
.operaciones-hero {
    position: relative;
    height: 65vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(255,107,53,0.8)), 
                url('../fotos/17.jpg'); /* Corregido de ../fotos/ a fotos/ */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><circle cx="10" cy="10" r="1" fill="rgba(255,107,53,0.2)"/><circle cx="30" cy="5" r="1" fill="rgba(255,107,53,0.1)"/><circle cx="70" cy="15" r="1" fill="rgba(255,107,53,0.15)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.operaciones-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.operaciones-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.operaciones-hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 1.2rem;
}

/* Sistema de Control Section */
.sistema-control {
    padding: 6rem 0;
    background: #f8fafc;
}

.control-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.control-text {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.control-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 20px 20px 0 0;
}

.control-highlight h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.control-highlight p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
}

.highlighted-text {
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin: 0 2px;
}

.sistema-features {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    background: #f1f5f9;
    border-color: rgba(255,107,53,0.2);
    transform: translateX(5px);
}

.feature-item .feature-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255,107,53,0.2);
}

.feature-text strong {
    display: block;
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.control-visual {
    position: relative;
}

/* ===== FIX PARA WAREHOUSE PREVIEW ===== */
.warehouse-preview {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: #f0f0f0; /* Color de respaldo */
}

.warehouse-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.2);
}

.warehouse-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

.warehouse-preview:hover img {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    z-index: 2;
    pointer-events: none; /* No bloquear clicks */
}

.status-indicators {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
}

.status-dot.active {
    animation: pulse 2s infinite;
}

/* Organización de Información Section */
.organizacion-info {
    padding: 6rem 0;
    background: white;
}

.organizacion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.organizacion-visual {
    position: relative;
}

/* ===== FIX PARA DATA VISUALIZATION ===== */
.data-visualization {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background: #f0f0f0; /* Color de respaldo */
}

.data-visualization img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

.data-visualization:hover img {
    transform: scale(1.05);
}

.data-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.8), rgba(229,90,43,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none; /* No bloquear clicks */
}

.data-visualization:hover .data-overlay {
    opacity: 1;
}

.data-elements {
    display: flex;
    gap: 2rem;
}

.data-element {
    font-size: 3rem;
    color: white;
    animation: bounceIn 0.8s ease-out;
    animation-delay: var(--delay);
    animation-fill-mode: both;
}

.organizacion-text h3 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.organizacion-text p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.data-benefits {
    display: grid;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-item:hover {
    background: #f1f5f9;
    border-color: rgba(255,107,53,0.2);
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
}

/* Estados de Supervisión Section */
.estados-supervision {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.estados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.estado-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.estado-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.estado-card:hover::before {
    transform: scaleX(1);
}

.estado-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255,107,53,0.15);
    border-color: rgba(255,107,53,0.2);
}

.estado-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.estado-card h4 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.estado-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Timeline de Seguimiento Section */
.timeline-seguimiento {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    position: relative;
    overflow: hidden;
}

.timeline-seguimiento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><circle cx="10" cy="10" r="1" fill="rgba(255,107,53,0.1)"/><circle cx="30" cy="5" r="1" fill="rgba(255,107,53,0.1)"/><circle cx="70" cy="15" r="1" fill="rgba(255,107,53,0.1)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.timeline-seguimiento .section-title {
    color: white;
    margin-bottom: 1rem;
}

.timeline-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 4rem;
    font-weight: 300;
}

.timeline-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2rem 0;
}

.timeline-step {
    min-width: 200px;
    text-align: center;
    opacity: 0.3;
    transition: all 0.6s ease;
    transform: translateY(20px);
}

.timeline-step.active {
    opacity: 1;
    transform: translateY(0);
}

.step-marker {
    position: relative;
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 20px rgba(255,107,53,0.3);
    z-index: 2;
}

.step-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2rem;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
    line-height: 1.3;
}

.step-content p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}

.step-visual {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

/* Visuales específicos para cada paso */
.train-unit {
    width: 40px;
    height: 20px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 4px;
    position: relative;
    animation: trainMove 2s ease-in-out infinite;
}

.train-unit::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.identification-process {
    position: relative;
    width: 50px;
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 2px;
    height: 100%;
    background: #ff6b35;
    animation: scanMove 2s ease-in-out infinite;
}

.priority-indicator {
    position: relative;
    width: 40px;
    height: 40px;
    border: 3px solid #ff6b35;
    border-radius: 50%;
}

.priority-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.tracking-path {
    position: relative;
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.path-progress {
    position: absolute;
    top: 0;
    left: -100%;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    animation: progressMove 2s ease-in-out infinite;
}

.completion-check {
    font-size: 2rem;
    animation: checkBounce 2s ease-in-out infinite;
}

.timeline-connector {
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    transition: opacity 0.6s ease;
}

.timeline-connector.active {
    opacity: 1;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    position: relative;
}

.connector-arrow {
    font-size: 1.5rem;
    margin-left: 0.5rem;
    animation: arrowPulse 1s ease-in-out infinite;
}

.timeline-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.timeline-btn {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(255,107,53,0.3);
}

.timeline-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #cc4d24);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,107,53,0.4);
}

/* Reportes Section */
.reportes-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.reportes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.reportes-text {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.reportes-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 20px 20px 0 0;
}

.reportes-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.reportes-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.reporte-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.reporte-item:hover {
    background: #f1f5f9;
    border-color: rgba(255,107,53,0.2);
    transform: translateX(5px);
}

.reporte-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255,107,53,0.2);
}

.reporte-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
}

.cta-reportes {
    margin-top: 2rem;
}

.btn-cta {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(255,107,53,0.3);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #e55a2b, #cc4d24);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,107,53,0.4);
}

.reportes-visual {
    position: relative;
}

/* ===== FIX PARA TRAIN YARD IMAGE ===== */
.train-yard-image {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: #f0f0f0; /* Color de respaldo */
}

.train-yard-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.2);
}

.train-yard-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

.train-yard-image:hover img {
    transform: scale(1.05);
}

.yard-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    pointer-events: none; /* No bloquear clicks */
}

.report-preview {
    background: rgba(255,255,255,0.95);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    pointer-events: auto;
}

.preview-header {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.preview-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Final Section */
.cta-final-operaciones {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final-operaciones::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><circle cx="10" cy="10" r="1" fill="rgba(255,107,53,0.1)"/><circle cx="30" cy="5" r="1" fill="rgba(255,107,53,0.1)"/><circle cx="70" cy="15" r="1" fill="rgba(255,107,53,0.1)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.cta-final-operaciones .cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-final-operaciones h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-final-operaciones p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-cta.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-cta.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes trainMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

@keyframes scanMove {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

@keyframes progressMove {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

@keyframes checkBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .control-content,
    .organizacion-content,
    .reportes-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-connector {
        transform: rotate(90deg);
        min-height: 60px;
        min-width: auto;
    }
    
    .timeline-step {
        min-width: auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .estados-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .operaciones-hero {
        height: 55vh;
        margin-top: 70px;
    }
    
    .operaciones-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .feature-badge {
        justify-content: center;
        width: 100%;
        max-width: 250px;
    }
    
    .control-text,
    .reportes-text {
        padding: 2rem;
    }
    
    .warehouse-preview,
    .data-visualization,
    .train-yard-image {
        height: 300px;
    }
    
    .preview-overlay,
    .yard-overlay {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .report-preview {
        padding: 1rem;
    }
    
    .timeline-controls {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .timeline-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-final-operaciones h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
    
    .estados-grid {
        grid-template-columns: 1fr;
    }
    
    .estado-card {
        padding: 2rem 1.5rem;
    }
}