/* ============================================================================
   OKR CLOUD - SISTEMA RESPONSIVE PROFESIONAL
   Mobile-First Design | Optimizado para táctil
   ============================================================================ */

/* ============================================================================
   CONFIGURACIÓN BASE - MOBILE FIRST
   ============================================================================ */

/* Mobile Base (320px+) - Estilos predeterminados */
:root {
    --touch-target: 44px;
    --spacing-mobile: 1rem;
    --font-mobile: 16px; /* Previene zoom automático en iOS */
}

/* Prevención de zoom táctil no deseado */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Optimizaciones táctiles */
*,
*::before,
*::after {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

a,
button,
input,
select,
textarea {
    touch-action: manipulation; /* Elimina delay de 300ms en móviles */
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Mejora de scroll en móviles */
.app-main,
.modal,
.overflow-auto {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

/* ============================================================================
   MOBILE (320px - 575px) - OPTIMIZACIONES BASE
   ============================================================================ */

/* Targets táctiles mínimos */
@media (max-width: 575px) {
    /* Botones y enlaces táctiles */
    .btn,
    .nav-link,
    a.card,
    button {
        min-height: var(--touch-target);
        min-width: var(--touch-target);
    }
    
    /* Inputs táctiles */
    input,
    select,
    textarea,
    .form-control,
    .form-select {
        min-height: var(--touch-target);
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    /* Espaciado reducido */
    .app-main {
        padding: var(--spacing-mobile);
    }
    
    /* Títulos responsive */
    .page-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-panel h2 {
        font-size: 1.5rem;
    }
    
    .section-heading h3 {
        font-size: 1.25rem;
    }
    
    /* Cards stack vertical */
    .okr-card-header {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .chart-wrap {
        width: 100%;
        max-width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    /* Meta grids en columna */
    .meta-grid,
    .meta-grid.two-columns {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    
    /* Hero panel vertical */
    .hero-panel {
        flex-direction: column;
        padding: 1.5rem 1rem;
    }
    
    /* Botones full-width */
    .btn:not(.btn-sm) {
        width: 100%;
    }
    
    /* Formularios */
    .form-group,
    .mb-3,
    .mb-4 {
        margin-bottom: 1rem;
    }
    
    /* Reducir padding en cards */
    .content-card,
    .okr-card,
    .kr-card-saas {
        padding: 1rem;
    }
    
    /* Topbar vertical */
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .topbar-pill {
        width: 100%;
    }
    
    /* Ocultar contenido secundario en móvil muy pequeño */
    .d-none-xs {
        display: none !important;
    }
}

/* ============================================================================
   MOBILE GRANDE (576px - 767px)
   ============================================================================ */

@media (min-width: 576px) and (max-width: 767px) {
    .app-main {
        padding: 1.25rem;
    }
    
    /* Grid de 2 columnas cuando hay espacio */
    .row.g-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Meta grid puede mostrar 2 columnas */
    .meta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Botones pueden volver a tamaño natural */
    .btn-group .btn {
        width: auto;
    }
}

/* ============================================================================
   TABLET (768px - 991px)
   ============================================================================ */

@media (min-width: 768px) and (max-width: 991px) {
    /* Sidebar oculto por defecto, mostrar con toggle */
    .app-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 1050;
        transition: left 0.3s ease;
    }
    
    .app-sidebar.mobile-active {
        left: 0;
    }
    
    /* Main ocupa todo el ancho */
    .app-shell {
        grid-template-columns: 1fr;
    }
    
    .app-main {
        padding: 1.5rem;
        padding-top: 80px; /* Espacio para botón hamburguesa */
    }
    
    /* Grids optimizados */
    .meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Cards de métricas en 2 columnas */
    .row.g-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    /* Subobjectives en 2 columnas */
    .subobjective-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Tablas responsive - scroll horizontal */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .saas-table {
        min-width: 700px;
    }
}

/* ============================================================================
   DESKTOP PEQUEÑO (992px - 1199px)
   ============================================================================ */

@media (min-width: 992px) and (max-width: 1199px) {
    .app-shell {
        grid-template-columns: 260px 1fr;
    }
    
    .app-main {
        padding: 2rem;
    }
    
    /* Meta grids en 3 columnas */
    .meta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Dashboard en 3 columnas */
    .row.g-4 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    /* Auth panel stack */
    .auth-shell {
        grid-template-columns: 1fr;
    }
    
    .auth-panel-brand {
        min-height: 400px;
    }
}

/* ============================================================================
   DESKTOP (1200px - 1439px)
   ============================================================================ */

@media (min-width: 1200px) and (max-width: 1439px) {
    .app-shell {
        grid-template-columns: 280px 1fr;
    }
    
    .app-main {
        padding: 2.5rem;
    }
    
    /* Dashboard en 4 columnas */
    .row.g-4 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    /* Meta grid en 4 columnas */
    .meta-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================================
   DESKTOP GRANDE (1440px+)
   ============================================================================ */

@media (min-width: 1440px) {
    .app-shell {
        grid-template-columns: 320px 1fr;
    }
    
    .app-main {
        padding: 3rem;
        max-width: 1800px;
        margin: 0 auto;
    }
    
    /* Máximo contenido más legible */
    .hero-panel p {
        max-width: 800px;
    }
}

/* ============================================================================
   ORIENTACIÓN - LANDSCAPE vs PORTRAIT
   ============================================================================ */

/* Landscape en móviles */
@media (max-width: 991px) and (orientation: landscape) {
    .app-sidebar {
        width: 240px;
    }
    
    .hero-panel {
        flex-direction: row;
        align-items: center;
    }
    
    .metric-surface {
        min-height: 120px;
    }
}

/* Portrait en tablets */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .okr-card-header {
        grid-template-columns: 1fr;
    }
    
    .chart-wrap {
        margin: 0 auto;
    }
}

/* ============================================================================
   TABLAS RESPONSIVE - MOBILE
   ============================================================================ */

@media (max-width: 767px) {
    /* Convertir tablas a cards en móvil */
    .table-responsive {
        overflow-x: visible;
    }
    
    .saas-table {
        border: 0;
    }
    
    .saas-table thead {
        display: none;
    }
    
    .saas-table,
    .saas-table tbody,
    .saas-table tr,
    .saas-table td {
        display: block;
        width: 100%;
    }
    
    .saas-table tr {
        margin-bottom: 1rem;
        background: white;
        border: 1px solid var(--color-border, #e5e7eb);
        border-radius: 0.75rem;
        padding: 1rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .saas-table td {
        text-align: left;
        padding: 0.75rem 0;
        border: none;
        position: relative;
        padding-left: 40%;
    }
    
    .saas-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 38%;
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
        color: var(--color-text-muted, #6b7280);
    }
    
    .saas-table td:not(:last-child) {
        border-bottom: 1px solid var(--color-border-light, #f3f4f6);
    }
}

/* ============================================================================
   NAVEGACIÓN MÓVIL
   ============================================================================ */

@media (max-width: 991px) {
    /* Mostrar botón hamburguesa */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    /* Sidebar como overlay */
    .app-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 1050;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .app-sidebar.mobile-active {
        left: 0;
    }
    
    /* Overlay oscuro */
    .mobile-overlay {
        display: block !important;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
    
    /* Prevenir scroll del body cuando sidebar está abierto */
    body.sidebar-open {
        overflow: hidden;
    }
}

/* ============================================================================
   OPTIMIZACIONES DE RENDIMIENTO
   ============================================================================ */

/* Reducir animaciones en dispositivos de bajo rendimiento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================================
   MODO OSCURO (OPCIONAL - Preparativo)
   ============================================================================ */

@media (prefers-color-scheme: dark) {
    /* Comentado - activar si se desea soporte automático de dark mode
    :root {
        --color-bg: #0f172a;
        --color-surface: #1e293b;
        --color-text: #f1f5f9;
        --color-text-muted: #94a3b8;
    }
    */
}

/* ============================================================================
   IMPRESIÓN
   ============================================================================ */

@media print {
    /* Ocultar elementos de navegación */
    .app-sidebar,
    .mobile-menu-toggle,
    .mobile-overlay,
    .topbar-pill,
    .btn,
    .nav-link,
    .filter-card {
        display: none !important;
    }
    
    /* Layout simplificado */
    .app-shell {
        grid-template-columns: 1fr !important;
    }
    
    .app-main {
        padding: 0 !important;
    }
    
    /* Colores optimizados para impresión */
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .content-card,
    .okr-card {
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    
    /* Saltos de página */
    h1,
    h2,
    h3 {
        page-break-after: avoid;
    }
    
    .okr-card,
    .hero-panel {
        page-break-inside: avoid;
    }
}

/* ============================================================================
   UTILIDADES RESPONSIVE
   ============================================================================ */

/* Mostrar/Ocultar según breakpoint */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

@media (min-width: 576px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
}

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}

@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
}

@media (min-width: 1200px) {
    .d-xl-none { display: none !important; }
    .d-xl-block { display: block !important; }
    .d-xl-flex { display: flex !important; }
}

/* ============================================================================
   FIN DEL ARCHIVO RESPONSIVE.CSS
   ============================================================================ */

}

/* ========================================
   DESKTOP - > 1200px
======================================== */
@media (min-width: 1200px) {
    .container-fluid {
        padding: var(--spacing-desktop);
    }
    
    .objetivo-card,
    .objetivo-equipo-card {
        padding: 25px;
    }
    
    .chart-container {
        height: 250px;
    }
}

/* ========================================
   TABLETS - 768px a 1199px
======================================== */
@media (min-width: 768px) and (max-width: 1199px) {
    body {
        font-size: var(--font-tablet);
    }
    
    .container-fluid {
        padding: var(--spacing-tablet);
    }
    
    /* Estadísticas en 2 columnas */
    .stat-card {
        margin-bottom: 15px;
    }
    
    /* Objetivo cards */
    .objetivo-card {
        padding: 20px;
    }
    
    .objetivo-equipo-card {
        margin-left: 15px;
        padding: 15px;
    }
    
    /* Gráficos más pequeños */
    .chart-container {
        height: 200px;
    }
    
    /* Tablas más compactas */
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px 8px !important;
    }
    
    /* Formularios en columna única */
    .row > [class*="col-md-6"],
    .row > [class*="col-md-4"] {
        margin-bottom: 15px;
    }
}

/* ========================================
   MÓVILES - < 768px
======================================== */
@media (max-width: 767px) {
    body {
        font-size: var(--font-mobile);
    }
    
    .container-fluid,
    .container {
        padding: var(--spacing-mobile);
    }
    
    /* ===== NAVBAR MÓVIL ===== */
    .navbar-brand {
        font-size: 16px;
    }
    
    .navbar-nav {
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* ===== ESTADÍSTICAS - 1 COLUMNA ===== */
    .stat-card {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    /* ===== FILTROS MÓVILES ===== */
    .card-body form .row {
        margin: 0;
    }
    
    .card-body form .col-md-10,
    .card-body form .col-md-2,
    .card-body form .col-md-3 {
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }
    
    /* ===== OBJETIVO CARDS MÓVILES ===== */
    .objetivo-card,
    .objetivo-equipo-card {
        padding: 15px;
        margin-bottom: 15px;
        border-left-width: 3px;
    }
    
    .objetivo-equipo-card {
        margin-left: 10px;
    }
    
    .objetivo-card .row,
    .objetivo-equipo-card .row {
        flex-direction: column;
    }
    
    .objetivo-card .col-md-8,
    .objetivo-card .col-md-4,
    .objetivo-equipo-card .col-md-8,
    .objetivo-equipo-card .col-md-4 {
        width: 100%;
        max-width: 100%;
    }
    
    /* Gráficos móviles */
    .chart-container {
        height: 200px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    /* ===== TÍTULOS Y TEXTO ===== */
    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    h4 {
        font-size: 16px;
    }
    
    h5, h6 {
        font-size: 14px;
    }
    
    .card-title {
        font-size: 16px;
        line-height: 1.4;
    }
    
    /* ===== TABLAS MÓVILES ===== */
    .table-responsive {
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    table {
        font-size: 13px;
    }
    
    th, td {
        padding: 8px 5px !important;
        white-space: nowrap;
    }
    
    /* Ocultar columnas no críticas en móvil */
    .hide-mobile {
        display: none !important;
    }
    
    /* Tabla modo card en móvil */
    .table-card-mobile {
        display: block;
    }
    
    .table-card-mobile thead {
        display: none;
    }
    
    .table-card-mobile tbody,
    .table-card-mobile tr {
        display: block;
        margin-bottom: 15px;
    }
    
    .table-card-mobile tr {
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 15px;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .table-card-mobile td {
        display: block;
        text-align: left !important;
        padding: 8px 0 !important;
        border: none !important;
        white-space: normal;
    }
    
    .table-card-mobile td:before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 120px;
        margin-right: 10px;
    }
    
    /* ===== FORMULARIOS MÓVILES ===== */
    .card-body form .row > div {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .form-label {
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .form-control,
    .form-select {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    /* Botones de formulario stack vertical */
    .d-grid.gap-2 button,
    .d-grid.gap-2 a {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* ===== KR ITEMS MÓVILES ===== */
    .kr-item {
        padding: 12px;
        margin-bottom: 10px;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #dee2e6;
    }
    
    .kr-item .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .kr-item .badge {
        margin-top: 8px;
        padding: 6px 12px;
    }
    
    .kr-item small {
        display: block;
        margin-top: 5px;
        font-size: 12px;
    }
    
    /* ===== PROGRESS BARS MÓVILES ===== */
    .progress {
        height: 30px !important;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .progress-bar {
        line-height: 30px;
    }
    
    /* ===== BADGES Y LABELS ===== */
    .badge {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    /* ===== BOTONES DE ACCIÓN MÓVILES ===== */
    .btn-sm {
        min-width: 40px;
        min-height: 40px;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    /* Botones apilados verticalmente */
    .btn-group-vertical-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-group-vertical-mobile .btn {
        width: 100%;
        margin: 0;
    }
    
    /* ===== ALERTAS MÓVILES ===== */
    .alert {
        font-size: 14px;
        padding: 12px 15px;
        margin-bottom: 15px;
    }
    
    /* ===== CARDS MÓVILES ===== */
    .card {
        margin-bottom: 15px;
        border-radius: 10px;
    }
    
    .card-header {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    /* ===== MODALES MÓVILES ===== */
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-content {
        border-radius: 10px;
    }
    
    /* ===== ACCORDION MÓVIL ===== */
    .accordion-button {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .accordion-body {
        padding: 15px;
        font-size: 14px;
    }
    
    /* ===== FOOTER MÓVIL ===== */
    footer {
        padding: 20px 15px;
        font-size: 13px;
    }
    
    /* ===== ESPACIO ENTRE ELEMENTOS ===== */
    .mb-4, .my-4 {
        margin-bottom: 20px !important;
    }
    
    .mt-4, .my-4 {
        margin-top: 20px !important;
    }
    
    .mb-3, .my-3 {
        margin-bottom: 15px !important;
    }
    
    .mt-3, .my-3 {
        margin-top: 15px !important;
    }
    
    /* ===== SCROLL SUAVE ===== */
    html {
        scroll-behavior: smooth;
    }
    
    /* ===== OPTIMIZACIÓN TÁCTIL ===== */
    a, button, .btn, input[type="submit"] {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }
}

/* ========================================
   MÓVILES PEQUEÑOS - < 576px
======================================== */
@media (max-width: 575px) {
    /* Padding aún más reducido */
    .container-fluid,
    .container {
        padding: 10px;
    }
    
    /* Navbar compacto */
    .navbar {
        padding: 8px 10px;
    }
    
    .navbar-brand {
        font-size: 14px;
    }
    
    /* Cards ultra compactos */
    .card-body {
        padding: 12px;
    }
    
    .objetivo-card,
    .objetivo-equipo-card {
        padding: 12px;
    }
    
    /* Estadísticas compactas */
    .stat-card {
        padding: 12px;
    }
    
    .stat-card h3 {
        font-size: 1.8rem;
    }
    
    /* Texto más pequeño */
    body {
        font-size: 13px;
    }
    
    small, .small {
        font-size: 11px;
    }
    
    /* Gráficos más pequeños */
    .chart-container {
        height: 180px;
    }
    
    /* Botones más compactos */
    .btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .btn-sm {
        padding: 6px 10px;
        min-width: 36px;
        min-height: 36px;
    }
}

/* ========================================
   LANDSCAPE MÓVIL
======================================== */
@media (max-width: 767px) and (orientation: landscape) {
    /* Reducir altura de elementos verticales */
    .stat-card {
        padding: 10px 15px;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .chart-container {
        height: 150px;
    }
    
    .navbar {
        padding: 5px 10px;
    }
}

/* ========================================
   MEJORAS DE ACCESIBILIDAD
======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modo alto contraste */
@media (prefers-contrast: high) {
    .objetivo-card,
    .objetivo-equipo-card,
    .card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* ========================================
   UTILIDADES RESPONSIVE
======================================== */

/* Mostrar solo en móvil */
.show-mobile {
    display: none !important;
}

@media (max-width: 767px) {
    .show-mobile {
        display: block !important;
    }
    
    .show-mobile-inline {
        display: inline !important;
    }
    
    .show-mobile-flex {
        display: flex !important;
    }
}

/* Ocultar en móvil */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Mostrar solo en tablet */
.show-tablet {
    display: none !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .show-tablet {
        display: block !important;
    }
}

/* Mostrar solo en desktop */
.show-desktop {
    display: none !important;
}

@media (min-width: 1200px) {
    .show-desktop {
        display: block !important;
    }
}

/* ========================================
   ANIMACIONES SUAVES
======================================== */
.objetivo-card,
.objetivo-equipo-card,
.card,
.btn {
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .objetivo-card:hover,
    .objetivo-equipo-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transform: translateY(-2px);
    }
    
    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
}

/* ========================================
   FIN DE ESTILOS RESPONSIVE
======================================== */
