/* ============================================
   GPS Altos de Podestá - Styles
   Mobile-first responsive design
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Colors */
    --color-primary: #1d653f;
    --color-primary-dark: #154d2f;
    --color-primary-light: #2a8a54;
    --color-secondary: #1976d2;
    --color-secondary-light: #42a5f5;
    --color-danger: #e53935;
    --color-danger-light: #ff6659;
    --color-warning: #ff9800;
    --color-success: #4caf50;
    
    /* Neutrals */
    --color-white: #ffffff;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #eeeeee;
    --color-gray-300: #e0e0e0;
    --color-gray-400: #bdbdbd;
    --color-gray-500: #9e9e9e;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #212121;
    --color-black: #1d1d1b;
    
    /* Map colors */
    --color-map-bg: #e6e6e6;
    --color-map-street: #ffffff;
    --color-map-green: #1d653f;
    --color-map-water: #6bbee2;
    --color-map-yellow: #dde82e;
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Z-index */
    --z-map: 1;
    --z-controls: 100;
    --z-panel: 200;
    --z-header: 300;
    --z-modal: 400;
    --z-toast: 500;
    
    /* Layout */
    --header-height: 56px;
    --panel-height: 280px;
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-gray-900);
    background: var(--color-gray-100);
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    -webkit-appearance: none;
}

input {
    font-family: inherit;
    -webkit-appearance: none;
}

:focus-visible {
    outline: 3px solid rgba(25, 118, 210, 0.45);
    outline-offset: 2px;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-md);
    z-index: var(--z-header);
    box-shadow: var(--shadow-md);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.1rem;
}

.header__icon {
    width: 24px;
    height: 24px;
}

.header__menu {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.header__menu:active {
    background: rgba(255,255,255,0.1);
}

.header__menu span {
    width: 20px;
    height: 2px;
    background: var(--color-white);
    border-radius: 1px;
    transition: var(--transition-base);
}

.header__menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__menu.active span:nth-child(2) {
    opacity: 0;
}

.header__menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Navigation Panel ---------- */
.nav-panel {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: var(--space-md);
    z-index: var(--z-panel);
    box-shadow: var(--shadow-lg);
    transform: translateY(0);
    transition: transform var(--transition-base);
    max-height: calc(100vh - var(--header-height) - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-panel.collapsed {
    transform: translateY(calc(-100% + 60px));
}

.nav-section {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-gray-200);
}

.nav-section:last-of-type {
    border-bottom: none;
    margin-bottom: var(--space-sm);
    padding-bottom: 0;
}

.nav-section__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.nav-section__header h2 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-700);
}

/* ---------- Badges ---------- */
.badge {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-white);
}

.badge--origin {
    background: var(--color-secondary);
}

.badge--dest {
    background: var(--color-danger);
}

.badge--small {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
}

/* ---------- Input Group ---------- */
.input-group {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-end;
}

.input-field {
    flex: 1;
    max-width: 80px;
}

.input-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-gray-500);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field input {
    width: 100%;
    padding: var(--space-sm) var(--space-sm);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-align: center;
    color: var(--color-gray-900);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-field input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(29, 101, 63, 0.1);
}

.input-field input.input-error {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.input-field input::placeholder {
    color: var(--color-gray-400);
}

.input-field--large {
    max-width: none;
}

.input-field--large input {
    padding: var(--space-md);
    font-size: 1.5rem;
}

/* ---------- Selected Tag ---------- */
.selected-tag {
    flex: 1;
    min-width: 100px;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-gray-100);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gray-600);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition-fast);
}

.selected-tag.active {
    background: rgba(25, 118, 210, 0.1);
    color: var(--color-secondary);
}

.selected-tag--dest.active {
    background: rgba(229, 57, 53, 0.1);
    color: var(--color-danger);
}

/* ---------- Quick Actions (Chips) ---------- */
.quick-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-gray-100);
    border: 1.5px solid var(--color-gray-300);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray-700);
    transition: var(--transition-fast);
}

.chip svg {
    width: 14px;
    height: 14px;
}

.chip:active {
    transform: scale(0.95);
}

.chip.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn--primary {
    flex: 1;
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--primary:active {
    background: var(--color-primary-dark);
    transform: scale(0.98);
}

.btn--secondary {
    width: 48px;
    padding: var(--space-sm);
    background: var(--color-gray-200);
    color: var(--color-gray-600);
}

.btn--secondary:active {
    background: var(--color-gray-300);
}

.btn--origin-modal,
.btn--dest-modal {
    flex: 1;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn--origin-modal {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn--dest-modal {
    background: var(--color-danger);
    color: var(--color-white);
}

.btn--origin-modal:active,
.btn--dest-modal:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* ---------- Nav Actions ---------- */
.nav-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* ---------- Route Info ---------- */
.route-info {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
    border: 1px solid var(--color-gray-200);
}

.route-info.show {
    display: flex;
}

.route-info__path {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-800);
}

.route-info__path svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.route-info__distance {
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

/* ---------- Map Container ---------- */
.map-container {
    flex: 1;
    margin-top: calc(var(--header-height) + var(--panel-height));
    position: relative;
    overflow: hidden;
    background: var(--color-map-bg);
    touch-action: pan-x pan-y pinch-zoom;
}

.map {
    position: absolute;
    width: 573px;
    height: 704px;
    background: var(--color-map-bg);
    border-radius: 30px;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* ---------- Map Controls ---------- */
.map-controls {
    position: fixed;
    bottom: calc(var(--space-lg) + var(--safe-area-bottom));
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    z-index: var(--z-controls);
}

.map-control {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-700);
    transition: var(--transition-fast);
}

.map-control svg {
    width: 24px;
    height: 24px;
}

.map-control:active {
    background: var(--color-gray-100);
    transform: scale(0.95);
}

/* ---------- Map Elements ---------- */
.map__bg {
    position: absolute;
    left: 103px;
    top: 47px;
    width: 382px;
    height: 543px;
    background: var(--color-map-street);
    clip-path: polygon(140px 0, 382px 0, 382px 543px, 237px 543px, 207px 442px, 207px 419px, 105px 473px, 0 410px, 0 221px, 40px 98px, 140px 0);
}

.manzana {
    position: absolute;
    background: var(--color-white);
    border: 2px solid var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.manzana:active {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.manzana:focus-visible {
    outline-color: rgba(25, 118, 210, 0.9);
    z-index: 110;
}

.manzana.origin {
    background: rgba(25, 118, 210, 0.3) !important;
    border-color: var(--color-secondary) !important;
    border-width: 3px;
}

.manzana.destination {
    background: rgba(229, 57, 53, 0.3) !important;
    border-color: var(--color-danger) !important;
    border-width: 3px;
}

.manzana-v {
    width: 19.42px;
    height: 35.33px;
}

.manzana-h {
    height: 18.94px;
}

/* Green areas */
.area-verde {
    position: absolute;
    background: var(--color-map-green);
    pointer-events: none;
}

.plaza {
    position: absolute;
    background: var(--color-map-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    pointer-events: none;
}

.plaza__title {
    font-size: 9px;
    font-weight: 600;
    line-height: 1.15;
}

.plaza__subtitle {
    font-size: 8px;
    line-height: 1.15;
}

/* Institutions */
.institucion {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 8px;
    line-height: 1.2;
    font-weight: 600;
    pointer-events: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.institucion--escuela {
    background: var(--color-map-water);
    border: 1px solid #5193a5;
    color: #1f5e6d;
}

.institucion--jardin {
    background: var(--color-map-yellow);
    border: 1px solid #81841a;
    color: #5e5e07;
}

.capilla {
    position: absolute;
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 600;
    line-height: 1.1;
    pointer-events: none;
}

/* Route */
.route-svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.debug-svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 49;
    display: none;
}

.route-path {
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 8 4;
    animation: dash-move 0.4s linear infinite;
}

.debug-edge {
    stroke: rgba(38, 198, 218, 0.55);
    stroke-width: 1.5;
}

.debug-node {
    fill: rgba(255, 193, 7, 0.95);
}

.debug-obstacle {
    fill: rgba(255, 82, 82, 0.15);
    stroke: rgba(255, 82, 82, 0.6);
    stroke-width: 1;
}

@keyframes dash-move {
    to {
        stroke-dashoffset: -12;
    }
}

/* Markers */
.marker {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border: 2px solid var(--color-white);
    z-index: 60;
    display: none;
}

.marker--origin {
    background: var(--color-secondary);
}

.marker--dest {
    background: var(--color-danger);
}

.marker--user {
    background: var(--color-success);
    animation: pulse-marker 2s ease-in-out infinite;
}

@keyframes pulse-marker {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
}

.marker__label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 4px;
    padding: 2px 6px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: var(--radius-sm);
}

.marker--origin .marker__label {
    background: var(--color-secondary);
}

.marker--dest .marker__label {
    background: var(--color-danger);
}

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 100%;
    max-width: 400px;
    background: var(--color-white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-lg);
    padding-bottom: calc(var(--space-lg) + var(--safe-area-bottom));
    transform: translateY(100%);
    transition: transform var(--transition-base);
    position: relative;
}

.modal-overlay.show .modal {
    transform: translateY(0);
}

.modal__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.modal__header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

.modal__subtitle {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.modal__body {
    margin-bottom: var(--space-lg);
}

.modal__actions {
    display: flex;
    gap: var(--space-sm);
}

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.modal__close:active {
    background: var(--color-gray-100);
}

.modal__close svg {
    width: 20px;
    height: 20px;
}

/* ---------- Toast ---------- */
.toast-container {
    position: fixed;
    bottom: calc(var(--space-xl) + var(--safe-area-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
}

.toast {
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-gray-900);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    animation: toast-in 0.3s ease;
}

.toast--success {
    background: var(--color-success);
}

.toast--error {
    background: var(--color-danger);
}

.toast--warning {
    background: var(--color-warning);
    color: var(--color-gray-900);
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */

/* Tablets */
@media (min-width: 768px) {
    :root {
        --header-height: 64px;
        --panel-height: 200px;
    }
    
    .nav-panel {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        gap: var(--space-lg);
        align-items: end;
        max-height: none;
        overflow: visible;
    }
    
    .nav-section {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .nav-actions {
        margin-top: 0;
        flex-direction: column;
    }
    
    .route-info {
        grid-column: 1 / -1;
        margin-top: 0;
    }
    
    .map-controls {
        bottom: var(--space-xl);
    }
    
    .modal {
        border-radius: var(--radius-xl);
        margin-bottom: var(--space-xl);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .header__menu {
        display: none;
    }
    
    .nav-panel {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 400px;
        height: calc(100vh - var(--header-height));
        display: flex;
        flex-direction: column;
        transform: none !important;
        border-radius: 0;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-section {
        border-bottom: 1px solid var(--color-gray-200);
        padding-bottom: var(--space-md);
        margin-bottom: var(--space-md);
    }
    
    .nav-actions {
        margin-top: auto;
        flex-direction: row;
    }
    
    .route-info {
        margin-top: var(--space-md);
    }
    
    .map-container {
        margin-top: var(--header-height);
        margin-left: 400px;
    }
    
    .modal {
        align-self: center;
        margin: 0;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    :root {
        --header-height: 48px;
        --panel-height: 150px;
    }
    
    .nav-panel {
        display: flex;
        flex-direction: row;
        gap: var(--space-md);
        padding: var(--space-sm) var(--space-md);
    }
    
    .nav-section {
        flex: 1;
        border: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-section__header {
        margin-bottom: var(--space-xs);
    }
    
    .quick-actions {
        display: none;
    }
    
    .nav-actions {
        flex-direction: column;
        margin: 0;
    }
}

/* Small phones */
@media (max-width: 360px) {
    .input-field {
        max-width: 65px;
    }
    
    .selected-tag {
        min-width: 80px;
        font-size: 0.75rem;
    }
    
    .chip {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --color-white: #161a1f;
        --color-gray-50: #20262d;
        --color-gray-100: #27303a;
        --color-gray-200: #36424f;
        --color-gray-300: #47566a;
        --color-gray-400: #6e7f95;
        --color-gray-500: #91a1b7;
        --color-gray-600: #b1bfd1;
        --color-gray-700: #cfdae8;
        --color-gray-800: #e4ebf5;
        --color-gray-900: #f5f8fd;
        --color-map-bg: #1b232c;
        --color-map-street: #dfe7f2;
    }
    
    .manzana {
        background: #f8fbff;
        color: #111a24;
        border-color: #0f1721;
        border-width: 2.5px;
    }

    .map__bg {
        filter: saturate(0.95) brightness(1.05);
    }

    .marker__label {
        color: #f7fbff;
    }

    .route-path {
        stroke: #59a9ff;
    }

    .institucion--escuela {
        background: #86d5f5;
        border-color: #3f7a8f;
        color: #153d48;
    }

    .institucion--jardin {
        background: #eef06b;
        border-color: #8f9130;
        color: #454708;
    }

    .capilla {
        background: #111820;
        color: #f5f9ff;
    }

    .area-verde,
    .plaza {
        background: #1f7a4c;
    }

    .selected-tag.active {
        background: rgba(89, 169, 255, 0.2);
        color: #8fc8ff;
    }

    .selected-tag--dest.active {
        background: rgba(255, 102, 89, 0.2);
        color: #ffb0a6;
    }

    #routeFrom,
    #routeTo {
        color: #f5f8fd;
    }
}

@media (prefers-contrast: more) {
    .manzana {
        border-width: 3px;
    }

    .route-path {
        stroke-width: 5;
    }

    .marker {
        width: 14px;
        height: 14px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
