:root {
    color-scheme: light;
    --ink-950: #1d1d1f;
    --ink-900: #2c2c2e;
    --ink-800: #3a3a3c;
    --blue-600: #c41e3a;
    --blue-500: #d6334f;
    --sky-400: #c41e3a;
    --brand: #c41e3a;
    --white: #ffffff;
    --ice: #1d1d1f;
    --mist: #6e6e73;
    --slate: #86868b;
    --border: rgba(0, 0, 0, 0.08);
    --surface: rgba(255, 255, 255, 0.88);
    --display: 'Syne', 'Plus Jakarta Sans', sans-serif;
    --body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --radius: 1.25rem;
}

.icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: -0.15em;
    color: inherit;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    position: relative;
    isolation: isolate;
    min-width: 320px;
    min-height: 100svh;
    overflow-x: hidden;
    padding: clamp(1rem, 3.5vw, 2.5rem);
    color: var(--ice);
    background:
        radial-gradient(ellipse 70% 45% at 50% -5%, rgba(196, 30, 58, 0.09), transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(29, 29, 31, 0.035), transparent 28%),
        linear-gradient(165deg, #ffffff 0%, #f5f5f7 48%, #eef0f3 100%);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: 10;
    opacity: 0.025;
    pointer-events: none;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
    color: var(--white);
    background: rgba(196, 30, 58, 0.75);
}

:focus-visible {
    outline: 2px solid var(--sky-400);
    outline-offset: 3px;
}

.route-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(196, 30, 58, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 30, 58, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at 50% 20%, black, transparent 75%);
}

.ambient {
    position: fixed;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.ambient-one {
    top: -10%;
    right: -8%;
    width: min(480px, 75vw);
    height: min(480px, 75vw);
    background: rgba(196, 30, 58, 0.07);
}

.ambient-two {
    bottom: -14%;
    left: -10%;
    width: min(400px, 65vw);
    height: min(400px, 65vw);
    background: rgba(29, 29, 31, 0.04);
}

/* —— Page shell —— */
.od-page {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    margin: 0 auto;
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.od-back {
    margin-bottom: 0.5rem;
}

.od-hero {
    display: grid;
    gap: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
    text-align: center;
    animation: od-rise 700ms var(--ease) both;
}

.od-brand {
    position: relative;
    z-index: 2;
    max-width: 34rem;
    margin: 0 auto;
}

.od-visual {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 420px);
    margin: 0.15rem auto 0;
    pointer-events: none;
}

.od-visual-glow {
    position: absolute;
    inset: 12% 8% 6%;
    border-radius: 48%;
    background: radial-gradient(ellipse at center, rgba(196, 30, 58, 0.11), transparent 68%);
    filter: blur(14px);
}

.od-scooter {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    max-height: min(34vh, 280px);
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(29, 29, 31, 0.08));
}

.brand-mark {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.od-brand h1 {
    font-family: var(--display);
    font-size: clamp(1.75rem, 4.5vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--ice);
}

.od-lead {
    margin: 0.65rem auto 0;
    max-width: 28rem;
    color: var(--mist);
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    line-height: 1.55;
}

.meta {
    margin-top: 0.85rem;
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.06em;
}

/* —— Offices —— */
.od-offices {
    display: grid;
    gap: 1rem;
    animation: od-rise 800ms var(--ease) 120ms both;
}

.office-card {
    padding: clamp(1.15rem, 3vw, 1.45rem);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.045);
    transition: border-color 200ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

.office-card:hover {
    border-color: rgba(196, 30, 58, 0.22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.office-card--hq {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    background:
        linear-gradient(135deg, rgba(196, 30, 58, 0.05), transparent 55%),
        var(--surface);
}

.office-label {
    margin-bottom: 0.25rem;
    color: var(--brand);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.office-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    color: var(--brand);
    background: rgba(196, 30, 58, 0.09);
}

.office-card--hq .office-icon {
    margin-bottom: 0;
}

.office-icon .icon {
    width: 1.15rem;
    height: 1.15rem;
}

.office-card h2 {
    margin-bottom: 0.4rem;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.office-card p {
    color: var(--mist);
    font-size: 0.92rem;
    line-height: 1.55;
}

.office-phone {
    margin-top: 0.55rem !important;
    color: var(--ice) !important;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms var(--ease), background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn .icon {
    width: 0.95rem;
    height: 0.95rem;
}

.btn-call {
    color: var(--white);
    background: var(--blue-600);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.22);
}

.btn-call:hover {
    background: var(--blue-500);
}

.btn-wa {
    color: #0b3d2e;
    background: #8ee0c0;
}

.btn-wa:hover {
    background: #7ad4b2;
}

/* —— Footer —— */
.od-footer {
    margin-top: clamp(2rem, 5vw, 2.75rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid var(--border);
    text-align: center;
    animation: od-rise 900ms var(--ease) 200ms both;
}

.qr-wrap {
    margin-bottom: 0.25rem;
}

.qr-frame {
    display: inline-grid;
    place-items: center;
    padding: 0.65rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.qr-frame img {
    display: block;
    width: min(140px, 38vw);
    height: auto;
    aspect-ratio: 1;
}

.qr-wrap p {
    color: var(--slate);
    font-size: 0.85rem;
    line-height: 1.5;
    word-break: break-word;
}

.qr-wrap strong {
    color: var(--mist);
    font-weight: 600;
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--mist);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease, gap 180ms var(--ease);
}

.home-link .icon {
    width: 0.95rem;
    height: 0.95rem;
}

.home-link:hover {
    color: var(--brand);
    gap: 0.6rem;
}

/* Shared wrappers used by city pages */
.details-wrap {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    margin: 0 auto;
}

.details-card {
    width: 100%;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 0.25rem);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(18px);
}

.brand {
    text-align: center;
    margin-bottom: 1.25rem;
}

.brand h1 {
    font-family: var(--display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand p {
    margin-top: 0.35rem;
    color: var(--mist);
    font-size: 0.95rem;
}

@keyframes od-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* —— Responsive —— */
@media (max-width: 720px) {
    .office-grid {
        grid-template-columns: 1fr;
    }

    .office-card--hq {
        grid-template-columns: 1fr;
    }

    .od-visual {
        width: min(100%, 340px);
    }

    .od-scooter {
        max-height: min(30vh, 230px);
    }
}

@media (max-width: 520px) {
    body {
        padding: 0.85rem;
    }

    .action-row .btn {
        flex: 1 1 auto;
    }

    .brand-mark {
        width: 60px;
        height: 60px;
    }

    .od-visual {
        width: min(100%, 300px);
    }

    .od-scooter {
        max-height: 200px;
    }
}

@media (max-width: 380px) {
    .od-brand h1 {
        font-size: 1.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .od-hero,
    .od-offices,
    .od-footer {
        animation: none;
    }

    .office-card,
    .btn,
    .home-link {
        transition: none;
    }

    .office-card:hover,
    .btn:hover {
        transform: none;
    }
}
