/* ===============================================
   ONMYROUTE — DESIGN TOKENS
=============================================== */
:root {
    --omr-green: #0F4C3A;
    --omr-green-dark: #0A3527;
    --omr-yellow: #F2B705;
    --omr-asphalt: #232323;
    --omr-paper: #FBF7EF;
    --omr-grey: #6B7280;
    --omr-white: #FFFFFF;

    --font-display: 'Barlow Condensed', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

body.omr-active-site { background: var(--omr-paper); color: var(--omr-asphalt); font-family: var(--font-body); }

.omr-site-header, .omr-site-footer, .omr-hero, .omr-milestones, .omr-form-box, .omr-results, .omr-route-divider {
    font-family: var(--font-body);
    box-sizing: border-box;
}
.omr-site-header *, .omr-site-footer *, .omr-hero *, .omr-milestones *, .omr-form-box *, .omr-results * { box-sizing: border-box; }

.omr-site-header h1, .omr-site-header h2, .omr-site-header h3,
.omr-site-footer h1, .omr-site-footer h2, .omr-site-footer h3,
.omr-hero h1, .omr-hero h2, .omr-hero h3,
.omr-milestones h1, .omr-milestones h2, .omr-milestones h3,
.omr-page-header h1 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--omr-green-dark);
    margin: 0 0 0.4em;
}

.omr-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------------- Route-line signature divider ---------------- */
.omr-route-divider { display: flex; align-items: center; gap: 6px; margin: 0 auto; max-width: 1100px; padding: 0 24px; }
.omr-route-divider .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--omr-yellow); flex-shrink: 0; animation: omrPulseDot 2.4s ease-in-out infinite; }
.omr-route-divider .dot:last-child { animation-delay: 1.2s; }
.omr-route-divider .line { flex: 1; height: 2px; background-image: linear-gradient(to right, var(--omr-yellow) 0 8px, transparent 8px 16px); background-size: 16px 2px; background-repeat: repeat-x; animation: omrLineFlow 1.6s linear infinite; }

/* ---------------- Header ---------------- */
.omr-site-header {
    background: var(--omr-green);
    color: var(--omr-white);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 0 0 rgba(10,53,39,0);
    transition: box-shadow .25s ease, padding .25s ease;
}
/* JS adds this once the page scrolls, so the header gains a shadow and
 * tightens up slightly instead of always looking identical to the hero. */
.omr-site-header.is-scrolled { padding: 12px 0; box-shadow: 0 8px 24px rgba(10,53,39,.22); }
.omr-header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.omr-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--omr-white) !important; letter-spacing: 0.03em; text-transform: uppercase; }
.omr-logo:hover { color: var(--omr-yellow) !important; }
.omr-logo .pin {
    width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: var(--omr-yellow);
    transform: rotate(-45deg); flex-shrink: 0;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.omr-logo:hover .pin { transform: rotate(-45deg) scale(1.3); }

.omr-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; flex-wrap: wrap; }
.omr-nav a {
    position: relative;
    color: var(--omr-white) !important; font-family: var(--font-display); font-size: 17px;
    text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none;
    padding-bottom: 2px;
}
.omr-nav a::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 100%; height: 2px;
    background: var(--omr-yellow);
    transform: scaleX(0); transform-origin: right;
    transition: transform .25s ease;
}
.omr-nav a:hover { color: var(--omr-yellow) !important; }
.omr-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.omr-header-cta {
    background: var(--omr-yellow); color: var(--omr-asphalt) !important; padding: 8px 18px; border-radius: 4px;
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 15px; text-decoration: none;
    transition: background .15s ease, transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease;
    display: inline-block;
}
.omr-header-cta:hover { background: var(--omr-white); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,.18); }

.omr-menu-toggle { display: none; background: none; border: 2px solid var(--omr-white); color: var(--omr-white); font-size: 20px; padding: 6px 12px; border-radius: 4px; cursor: pointer; }

/* ---------------- Hero ---------------- */
.omr-hero {
    position: relative;
    padding: 88px 0 64px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
/* Soft drifting brand-colour blobs behind the hero copy — pure CSS, no images */
.omr-hero::before,
.omr-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .16;
    pointer-events: none;
}
.omr-hero::before {
    width: 420px; height: 420px;
    top: -180px; left: -120px;
    background: var(--omr-green);
    animation: omrBlobDrift 16s ease-in-out infinite;
}
.omr-hero::after {
    width: 360px; height: 360px;
    bottom: -160px; right: -100px;
    background: var(--omr-yellow);
    animation: omrBlobDrift 18s ease-in-out infinite reverse;
}
@keyframes omrBlobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, 30px) scale(1.12); }
    66%      { transform: translate(-25px, 15px) scale(0.95); }
}
/* Faint dotted "map grid" wash so the hero reads as a route surface */
.omr-hero .omr-wrap { position: relative; z-index: 1; }
.omr-hero .eyebrow {
    font-family: var(--font-mono); color: var(--omr-grey); font-size: 13px; letter-spacing: 0.12em;
    text-transform: uppercase; margin-bottom: 14px;
    opacity: 0; animation: omrFieldIn .6s ease .05s forwards;
}
.omr-hero h1 {
    font-size: clamp(38px, 6vw, 64px); line-height: 1.05; max-width: 820px; margin: 0 auto 18px;
    background: linear-gradient(100deg, var(--omr-green-dark) 0%, var(--omr-green) 45%, var(--omr-green-dark) 65%, var(--omr-green) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0; animation: omrFieldIn .7s ease .12s forwards, omrTextSheen 7s linear 1s infinite;
}
@keyframes omrTextSheen { to { background-position: -250% 0; } }
.omr-hero p.sub {
    max-width: 560px; margin: 0 auto 40px; color: var(--omr-grey); font-size: 18px;
    opacity: 0; animation: omrFieldIn .6s ease .2s forwards;
}

.omr-route-visual {
    display: flex; align-items: center; max-width: 640px; margin: 0 auto 44px; gap: 14px;
    opacity: 0; animation: omrFieldIn .6s ease .28s forwards;
}
.omr-route-visual .stop { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--omr-green-dark); }
.omr-route-visual .marker {
    position: relative;
    width: 16px; height: 16px; border-radius: 50%; background: var(--omr-green); border: 3px solid var(--omr-yellow);
}
.omr-route-visual .marker::after {
    content: '';
    position: absolute; inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--omr-green);
    opacity: .6;
    animation: omrPinPulse 2.2s ease-out infinite;
}
.omr-route-visual .stop:last-child .marker { background: var(--omr-yellow); border-color: var(--omr-green); }
.omr-route-visual .stop:last-child .marker::after { border-color: var(--omr-yellow); animation-delay: .6s; }
.omr-route-visual .track {
    flex: 1; height: 3px;
    background-image: linear-gradient(to right, var(--omr-green) 0 10px, transparent 10px 20px);
    background-size: 20px 3px; background-repeat: repeat-x;
    animation: omrLineFlow 1.4s linear infinite;
}

.omr-hero-ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; opacity: 0; animation: omrFieldIn .6s ease .36s forwards; }
.omr-btn {
    position: relative;
    display: inline-block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 17px;
    padding: 14px 28px; border-radius: 4px; cursor: pointer; border: 2px solid var(--omr-green);
    transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, background .15s ease, border-color .15s ease, color .15s ease;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
}
/* Diagonal shine sweep, shared by every button on hover */
.omr-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 45%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    transition: left .5s ease;
    z-index: 1;
    pointer-events: none;
}
.omr-btn:hover::before { left: 130%; }
.omr-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(15,76,58,.20); }
.omr-btn:active { transform: translateY(-1px) scale(.98); }
.omr-btn-primary { background: var(--omr-green); color: var(--omr-white) !important; }
.omr-btn-primary:hover { background: var(--omr-green-dark); }
.omr-btn-accent { background: var(--omr-yellow); border-color: var(--omr-yellow); color: var(--omr-asphalt) !important; }
.omr-btn-accent:hover { background: var(--omr-asphalt); border-color: var(--omr-asphalt); color: var(--omr-white) !important; box-shadow: 0 10px 22px rgba(242,183,5,.28); }
.omr-btn-outline { background: transparent; color: var(--omr-green) !important; }
.omr-btn-outline:hover { background: var(--omr-green); color: var(--omr-white) !important; }

/* ---------------- Milestones ---------------- */
.omr-milestones { padding: 60px 0; }
.omr-milestones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.omr-milestone {
    position: relative;
    background: var(--omr-white);
    border: 1px solid #E8E1D3;
    border-radius: 12px;
    padding: 28px 26px;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease;
}
/* Scroll-reveal starting state (JS adds .is-visible via IntersectionObserver;
 * degrades gracefully to fully-visible if JS is disabled, see no-js fallback below) */
.omr-milestone.omr-reveal { opacity: 0; transform: translateY(28px); }
.omr-milestone.omr-reveal.is-visible {
    opacity: 1; transform: translateY(0);
    transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
}
.omr-milestones-grid .omr-milestone:nth-child(1).is-visible { transition-delay: 0s; }
.omr-milestones-grid .omr-milestone:nth-child(2).is-visible { transition-delay: .1s; }
.omr-milestones-grid .omr-milestone:nth-child(3).is-visible { transition-delay: .2s; }
.omr-milestone::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--omr-green), var(--omr-yellow));
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
}
.omr-milestone:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 18px 34px rgba(15,76,58,.14);
}
.omr-milestone:hover::before { transform: scaleX(1); }
.omr-milestone .num {
    font-family: var(--font-mono); font-size: 14px; color: var(--omr-yellow); background: var(--omr-asphalt);
    display: inline-block; padding: 3px 9px; border-radius: 3px; margin-bottom: 14px;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s ease;
}
.omr-milestone:hover .num { transform: scale(1.12) rotate(-4deg); background: var(--omr-green); }
.omr-milestone h3 { font-size: 22px; margin-bottom: 8px; }
.omr-milestone p { color: var(--omr-grey); font-size: 15px; margin: 0; }

@media (prefers-reduced-motion: reduce) {
    .omr-milestone.omr-reveal { opacity: 1; transform: none; }
}

/* ---------------- Page header (for shortcode pages) ---------------- */
.omr-page-header { display: flex; align-items: center; gap: 10px; margin: 20px 0 30px; max-width: 700px; }
.omr-page-header .marker { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--omr-yellow); transform: rotate(-45deg); flex-shrink: 0; }
.omr-page-header h1 { margin: 0; font-size: 32px; }

/* ---------------- Forms & result cards ---------------- */
.omr-form-box {
    position: relative;
    max-width: 520px;
    margin: 20px 0;
    padding: 30px 28px 26px;
    border: 1px solid #ECE6D6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15,76,58,.05), 0 14px 34px rgba(15,76,58,.07);
    overflow: hidden;
    animation: omrFormIn .45s ease both;
}
.omr-form-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--omr-green) 0%, var(--omr-green) 60%, var(--omr-yellow) 100%);
}
.omr-form-box h3 {
    margin: 4px 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F0EBDC;
    font-size: 26px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.omr-form-box h3::before {
    content: '';
    width: 13px; height: 13px;
    border-radius: 50% 50% 50% 0;
    background: var(--omr-yellow);
    transform: rotate(-45deg);
    flex-shrink: 0;
}
.omr-form-box label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 16px 0 6px;
    font-weight: 600;
    font-size: 13px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--omr-green-dark);
}
.omr-form-box form > label:first-of-type,
.omr-form-box form > .omr-field-row:first-child label,
.omr-form-fields > label:first-of-type,
.omr-form-fields > .omr-field-row:first-child label { margin-top: 0; }
.omr-form-box input,
.omr-form-box select,
.omr-form-box textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #DEDACB;
    border-radius: 8px;
    font-size: 14.5px;
    font-family: var(--font-body);
    box-sizing: border-box;
    background: #FCFBF7;
    color: var(--omr-asphalt);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.omr-form-box select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%230F4C3A' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.omr-form-box input::placeholder,
.omr-form-box textarea::placeholder { color: #A6A08D; }
.omr-form-box input:hover,
.omr-form-box select:hover,
.omr-form-box textarea:hover { border-color: #C9C2A9; }
.omr-form-box input:focus,
.omr-form-box select:focus,
.omr-form-box textarea:focus {
    outline: none;
    border-color: var(--omr-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15,76,58,.10);
}
.omr-form-box textarea { resize: vertical; min-height: 72px; }

.omr-btn.omr-form-box, button.omr-btn { border: none; }
.omr-form-box .omr-btn {
    width: 100%;
    margin-top: 24px;
    padding: 15px 28px;
    background: var(--omr-green);
    color: var(--omr-white) !important;
    border: none;
    box-shadow: 0 4px 0 var(--omr-green-dark);
    transform: translateY(0);
    transition: background .15s ease, transform .1s ease, box-shadow .1s ease;
}
.omr-form-box .omr-btn:hover { background: var(--omr-green-dark); }
.omr-form-box .omr-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--omr-green-dark); }

@keyframes omrFormIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Two-up layout for short paired fields (Name + Phone) on wider screens */
.omr-form-box form { display: flex; flex-direction: column; }
.omr-form-fields { display: flex; flex-direction: column; min-width: 0; }
.omr-field-row { display: flex; gap: 14px; }
.omr-field-row > div { flex: 1; min-width: 0; }
@media (max-width: 520px) {
    .omr-field-row { flex-direction: column; gap: 0; }
}

/* On wide viewports there's empty space to the right of a narrow form —
 * put the live route-preview map there instead of stacking it below the
 * fields, so the map is visible the whole time the person is filling in
 * From/To rather than only after scrolling past the form. */
@media (min-width: 900px) {
    .omr-form-box { max-width: 1040px; }
    .omr-form-box form { flex-direction: row; align-items: flex-start; gap: 32px; }
    .omr-form-fields { flex: 1 1 380px; }
    .omr-form-box .omr-route-map-wrap {
        flex: 0 0 440px;
        position: sticky;
        top: 96px;
        margin: 0;
    }
    .omr-form-box .omr-route-map { height: 460px; }

    /* Login / Register and the My Account profile-edit form don't have a
     * map sidebar, so they must NOT pick up the row layout above -
     * without this override every label/input becomes its own flex item
     * on one row and the form breaks sideways on desktop widths (this was
     * the actual desktop layout bug seen on My Account > Edit Profile). */
    .omr-form-box.omr-auth-box form,
    .omr-dash-profile form { flex-direction: column; }
}

@media (min-width: 1300px) {
    .omr-form-box .omr-route-map-wrap { flex-basis: 500px; }
    .omr-form-box .omr-route-map { height: 520px; }
}

/* ---------------- Search Route page: horizontal search bar + big map ----------------
 * This page only has From/To/Search - unlike Post a Trip/Parcel it doesn't need
 * the narrow sidebar-form layout. Instead: fields sit in one row up top like a
 * modern maps app search bar, and the route preview gets the rest of the page
 * as a big, immersive map instead of a cramped 440px column. */
.omr-search-box { max-width: 640px; }
.omr-search-row { display: flex; flex-direction: column; }
.omr-search-field { min-width: 0; }
.omr-search-field label { margin: 16px 0 6px; }
.omr-search-row > .omr-search-field:first-child label,
.omr-search-row > .omr-search-field:first-child { margin-top: 0; }
.omr-search-submit { margin-top: 24px; }
.omr-search-box .omr-route-map-wrap { margin-top: 24px; }
.omr-search-box .omr-route-map { height: 320px; }

@media (min-width: 700px) {
    .omr-search-box { max-width: 900px; }
    .omr-search-row {
        flex-direction: row;
        align-items: flex-end;
        gap: 16px;
    }
    .omr-search-field { flex: 1 1 0; }
    .omr-search-field label { margin-top: 0; }
    .omr-search-submit {
        flex: 0 0 auto;
        width: auto;
        margin-top: 0;
        padding-left: 34px;
        padding-right: 34px;
        white-space: nowrap;
    }
}

@media (min-width: 900px) {
    /* Undo the generic "fields beside map" row layout further up this
     * file - this page stacks bar-on-top, big-map-below instead. Higher
     * specificity than `.omr-form-box form` so it wins regardless of
     * source order. */
    .omr-form-box.omr-search-box form { flex-direction: column; gap: 0; }
    .omr-search-box .omr-route-map-wrap {
        flex: none;
        width: 100%;
        position: static;
        top: auto;
    }
    .omr-search-box .omr-route-map { height: 480px; }
}

@media (min-width: 1180px) {
    .omr-search-box { max-width: 1120px; }
    .omr-search-box .omr-route-map { height: 560px; }
}

/* A touch more presence when the route map first finishes loading on this
 * page - a gentle scale-in on top of the existing fade, so the "big map"
 * feels like it's settling into place rather than just popping in. */
.omr-search-box .omr-route-map-wrap {
    animation: omrSearchMapIn .5s cubic-bezier(.22,.61,.36,1) both;
    animation-delay: .08s;
}
@keyframes omrSearchMapIn {
    from { opacity: 0; transform: scale(.98) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .omr-search-box .omr-route-map-wrap { animation: none; }
}

/* The results list can be wider than the default 700px cap now that the
 * search bar/map above it is wider too, so cards line up under it nicely. */
.omr-search-box + .omr-search-results { max-width: 900px; }
@media (min-width: 1180px) {
    .omr-search-box + .omr-search-results { max-width: 1120px; }
}

/* ---------------- Address autocomplete (From / To, works anywhere in India) ---------------- */
.omr-address-field { position: relative; }
.omr-address-field .omr-address-input { width: 100%; padding-left: 36px !important; }
.omr-address-field::after {
    content: '';
    position: absolute;
    left: 13px; top: 12.5px;
    width: 10px; height: 10px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--omr-grey);
    pointer-events: none;
    transition: background .15s ease;
}
.omr-address-field:focus-within::after { background: var(--omr-green); }
.omr-address-field[data-field="from_location"]::after { background: var(--omr-green); }
.omr-address-field[data-field="to_location"]::after { background: var(--omr-yellow); }

.omr-suggestions {
    display: none;
    position: absolute;
    z-index: 60;
    top: 100%; left: 0; right: 0;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    background: var(--omr-white);
    border: 1px solid #E3DECB;
    border-radius: 8px;
    max-height: 230px;
    overflow-y: auto;
    box-shadow: 0 10px 26px rgba(15,76,58,.16);
    animation: omrSuggestIn .16s ease both;
}
@keyframes omrSuggestIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.omr-suggestions li {
    padding: 10px 13px;
    font-size: 13px;
    font-family: var(--font-body);
    color: var(--omr-asphalt);
    cursor: pointer;
    border-bottom: 1px solid #F2EEE0;
    transition: background .1s ease, padding-left .1s ease;
}
.omr-suggestions li:last-child { border-bottom: none; }
.omr-suggestions li:hover { background: #F4F1E8; padding-left: 17px; color: var(--omr-green-dark); }

.omr-use-my-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    padding: 7px 13px;
    background: #F1F7F4;
    border: 1.5px solid #CFE3D9;
    border-radius: 20px;
    color: var(--omr-green-dark);
    font-size: 12.5px;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.omr-use-my-location::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50% 50% 50% 0;
    background: var(--omr-green);
    transform: rotate(-45deg);
    flex-shrink: 0;
}
.omr-use-my-location:hover { background: var(--omr-green); border-color: var(--omr-green); color: var(--omr-white); }
.omr-use-my-location:hover::before { background: var(--omr-white); }
.omr-use-my-location:active { transform: scale(.97); }
.omr-use-my-location.is-locating { pointer-events: none; opacity: .75; }
.omr-use-my-location.is-locating::before { animation: omrPulseDot .8s ease-in-out infinite; }
@keyframes omrPulseDot { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------------- Live route preview map (From/To pin + real road route) ---------------- */
.omr-route-map-wrap {
    position: relative;
    width: 100%;
    margin: 18px 0 6px;
    perspective: 1400px;
    animation: omrMapWrapIn .75s cubic-bezier(.22,.61,.36,1) both;
    /* Cursor-tracked "spotlight" position, driven by JS. Falls back to
     * centered/neutral values so the frame still looks intentional
     * before the first mousemove (or on touch devices, which never fire it). */
    --omr-tilt-x: 0px;
    --omr-tilt-y: 0px;
    --omr-sheen-x: 50%;
    --omr-sheen-y: 0%;
}
@keyframes omrMapWrapIn {
    from { opacity: 0; transform: perspective(1400px) rotateX(-16deg) translateY(30px) scale(.96); }
    60%  { opacity: 1; }
    to   { opacity: 1; transform: perspective(1400px) rotateX(0deg) translateY(0) scale(1); }
}
.omr-route-map, .omr-live-map {
    width: 100%;
    height: 340px;
    border-radius: 14px;
    border: 2px solid rgba(242, 183, 5, .55);
    outline: 1px solid rgba(15, 76, 58, .28);
    outline-offset: 3px;
    background: linear-gradient(100deg, #eee 30%, #f6f6f6 50%, #eee 70%);
    background-size: 200% 100%;
    animation: omrMapShimmer 1.6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 0 rgba(242, 183, 5, .35),
        0 14px 34px rgba(15, 76, 58, 0.16),
        0 34px 60px -22px rgba(0, 0, 0, .38),
        var(--omr-tilt-x, 0px) calc(var(--omr-tilt-y, 0px) + 0px) 26px rgba(15, 76, 58, .12);
    transition: box-shadow .18s ease, outline-color .18s ease;
}
.omr-route-map.omr-map-ready, .omr-live-map.omr-map-ready { animation: none; background: #eee; }
.omr-route-map-wrap:hover .omr-route-map.omr-map-ready,
.omr-live-map-outer:hover .omr-live-map.omr-map-ready {
    outline-color: rgba(242, 183, 5, .55);
}
@keyframes omrMapShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* One-time diagonal light sweep across the map the moment it's ready -
 * like glass catching the light - so the map's "reveal" feels a touch
 * more considered than tiles simply popping into view. */
.omr-map-sheen {
    position: absolute;
    inset: 0;
    z-index: 640;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.08) 52%, transparent 62%);
    background-size: 260% 260%;
    background-position: 130% -30%;
    opacity: 0;
}
.omr-map-sweep .omr-map-sheen {
    animation: omrMapSweep 1.15s cubic-bezier(.22,.61,.36,1) .1s 1 both;
}
@keyframes omrMapSweep {
    0%   { opacity: 0; background-position: 130% -30%; }
    15%  { opacity: .9; }
    70%  { opacity: .5; }
    100% { opacity: 0; background-position: -30% 130%; }
}
/* Soft cursor-tracked glow used to reinforce the tilt/depth illusion
 * without ever transforming the interactive Leaflet surface itself -
 * click/drag math stays pixel-perfect while the frame still feels alive. */
.omr-map-glow {
    position: absolute;
    inset: 0;
    z-index: 645;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
    background: radial-gradient(circle at var(--omr-sheen-x, 50%) var(--omr-sheen-y, 0%), rgba(255,255,255,.30), transparent 42%);
    mix-blend-mode: soft-light;
}
.omr-route-map-wrap:hover .omr-map-glow,
.omr-live-map-outer:hover .omr-map-glow { opacity: 1; }
@media (hover: none) { .omr-map-glow { display: none; } }

/* Subtle vignette + brand-tinted edge so the map corners read as part of
 * the card design rather than a raw tile dump - kept light so it doesn't
 * muddy the street map's own colours and labels. */
.omr-route-map-wrap {
    --omr-map-vignette: none;
}
.omr-route-map.omr-map-ready::before,
.omr-live-map.omr-map-ready::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 650;
    box-shadow: inset 0 0 40px rgba(10, 30, 22, .18);
    background: linear-gradient(180deg, rgba(15,76,58,.05), transparent 30%, transparent 70%, rgba(15,76,58,.06));
}

/* Radar-style scanning sweep while OSRM is finding the road route -
 * reads as "actively searching real roads" rather than a generic spinner. */
.omr-route-map-wrap::before,
.omr-live-map-outer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 480;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(242,183,5,.22) 45%, rgba(242,183,5,.45) 50%, rgba(242,183,5,.22) 55%, transparent 100%);
    background-size: 100% 260%;
    background-position: 0 -260%;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}
.omr-route-map-wrap.is-loading::before,
.omr-live-map-outer.is-loading::before {
    opacity: 1;
    animation: omrRadarSweep 1.6s ease-in-out infinite;
}
@keyframes omrRadarSweep {
    0%   { background-position: 0 -260%; }
    100% { background-position: 0 260%; }
}

/* Leaflet's own zoom control redrawn to match the brand instead of the
 * default grey Leaflet chrome - small "premium button" treatment: soft
 * lift on hover plus a gold focus ring instead of a flat colour swap. */
.omr-route-map .leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.18) !important;
    border-radius: 9px !important;
    overflow: hidden;
}
.omr-route-map .leaflet-control-zoom a {
    background: var(--omr-white) !important;
    color: var(--omr-green-dark) !important;
    border-color: #E3DECB !important;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.omr-route-map .leaflet-control-zoom a:hover {
    background: var(--omr-green) !important;
    color: var(--omr-yellow) !important;
}
.omr-route-map .leaflet-control-zoom a:active { transform: scale(.92); }
.omr-route-map .leaflet-control-attribution { font-family: var(--font-body); font-size: 10px; background: rgba(255,255,255,.85); }

/* Small route-finding indicator over the map corner while OSRM responds */
.omr-route-map-wrap::after,
.omr-live-map-outer::after {
    content: '';
    position: absolute;
    bottom: 14px; right: 14px;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.4);
    border-top-color: var(--omr-yellow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    animation: omrSpin .7s linear infinite;
    z-index: 500;
}
.omr-route-map-wrap.is-loading::after,
.omr-live-map-outer.is-loading::after { opacity: 1; }
@keyframes omrSpin { to { transform: rotate(360deg); } }

/* "LIVE" badge for the live-tracking map - sits bottom-left, clear of
 * Leaflet's own top-left zoom control. */
.omr-route-map-badge {
    position: absolute;
    bottom: 14px; left: 14px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 76, 58, .88);
    color: var(--omr-white);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 11.5px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 20px;
    pointer-events: none;
    box-shadow: 0 6px 16px rgba(0,0,0,.22);
    backdrop-filter: blur(3px);
    animation: omrFieldIn .5s ease .3s both;
}
.omr-route-map-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--omr-yellow);
    box-shadow: 0 0 0 0 rgba(242,183,5,.6);
    animation: omrPinPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Distance / time readout for whichever route is currently selected -
 * top-right, updates live when a person taps a different route option. */
.omr-route-summary-badge {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 500;
    background: rgba(255,255,255,.96);
    color: var(--omr-green-dark);
    font-family: var(--font-body);
    padding: 9px 15px 8px;
    border-radius: 12px;
    border-top: 2px solid var(--omr-yellow);
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    display: none;
    flex-direction: column;
    gap: 1px;
    line-height: 1.3;
    max-width: 190px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
}
.omr-route-summary-badge.is-visible { display: flex; opacity: 1; transform: translateY(0); }
.omr-route-summary-badge strong {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: .02em;
    color: var(--omr-green-dark);
}
.omr-route-summary-badge span {
    font-size: 11px;
    color: var(--omr-grey);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* White casing under the selected route so it reads clearly against a
 * busy satellite photo instead of blending into the terrain. */
.omr-route-line-halo { filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }

/* Custom From/To pin markers drawn on the Leaflet map */
.omr-pin {
    position: relative;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    transform-origin: 50% 100%;
    animation: omrPinDrop .5s cubic-bezier(.34,1.56,.64,1) both;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,.28));
}
.omr-pin svg { width: 100%; height: 100%; display: block; }
.omr-pin-from { animation-delay: 0s; }
.omr-pin-to { animation-delay: .12s; }
@keyframes omrPinDrop {
    0%   { opacity: 0; transform: translateY(-26px) scale(.5); }
    65%  { opacity: 1; transform: translateY(3px) scale(1.08); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* Soft ground-contact shadow that "lands" with the pin, instead of the
 * pin looking like it's floating over the satellite photo. */
.omr-pin::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 1px;
    width: 14px; height: 5px;
    margin-left: -7px;
    background: radial-gradient(ellipse, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 72%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transform: scale(.3);
    animation: omrPinShadowIn .5s cubic-bezier(.34,1.56,.64,1) .18s both;
}
.omr-pin-to::after { animation-delay: .30s; }
@keyframes omrPinShadowIn { to { opacity: 1; transform: scale(1); } }
.omr-pin-pulse {
    position: absolute;
    left: 50%; top: 68%;
    width: 10px; height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: currentColor;
    opacity: .55;
    animation: omrPinPulse 1.8s ease-out infinite;
}
@keyframes omrPinPulse {
    0%   { transform: scale(.4); opacity: .55; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* Live nav-puck that travels the actual drawn route on a loop, like a
 * live-navigation location marker - gives the preview real motion
 * instead of a static line once a road route is found. */
.omr-vehicle-marker { pointer-events: none; }
.omr-vehicle-marker svg { width: 34px; height: 34px; display: block; overflow: visible; }
.omr-vehicle-halo {
    fill: rgba(15,76,58,.28);
    transform-origin: 17px 17px;
    animation: omrVehicleHalo 1.6s ease-out infinite;
}
@keyframes omrVehicleHalo {
    0%   { transform: scale(.55); opacity: .9; }
    100% { transform: scale(1.15); opacity: 0; }
}
.omr-vehicle-rotate {
    transform-origin: 17px 17px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}

/* Small "N" compass rose in the map corner - purely decorative, but it
 * reads as a real navigation surface, and gives a quick confirming
 * spin whenever the chosen route changes. */
.omr-compass {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 500;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 32% 28%, #fffef8, #f3ede0 70%);
    border-radius: 50%;
    border: 1px solid rgba(242, 183, 5, .55);
    box-shadow: 0 6px 14px rgba(0,0,0,.22), inset 0 0 0 3px rgba(255,255,255,.6);
    pointer-events: none;
    animation: omrFieldIn .5s ease .18s both;
}
.omr-compass svg { width: 26px; height: 26px; }
.omr-compass-needle { transform-origin: 20px 20px; }
.omr-compass-rose { transform-origin: 20px 20px; opacity: .55; }
@keyframes omrCompassSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.omr-compass span {
    position: absolute;
    bottom: -1px;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    color: var(--omr-green-dark);
    letter-spacing: .04em;
}

/* "LIVE" variant of the map badge for the vehicle-tracking view - same
 * shape/language as the satellite-view chip so both map types feel like
 * one consistent product, just with an urgent red dot instead of gold. */
.omr-live-badge { background: rgba(15, 76, 58, .9); }
.omr-live-badge .dot { background: #E8503A; box-shadow: 0 0 0 0 rgba(232, 80, 58, .6); animation: omrPinPulse 1.3s ease-in-out infinite; }

/* Real road route lines (OSRM). The selected route draws itself in via
 * JS (stroke-dashoffset), then this "flowing lane markings" animation
 * takes over permanently to show direction of travel. Alternate,
 * non-selected routes stay static and muted so they read as options
 * rather than competing lines. */
.omr-route-line { filter: drop-shadow(0 2px 3px rgba(0,0,0,.18)); cursor: default; }
.omr-route-line-flow.omr-route-flow-active {
    stroke-dasharray: 14 9;
    animation: omrLineFlow 1.1s linear infinite;
}
.omr-route-line-alt { cursor: pointer; transition: opacity .15s ease; }
.omr-route-line-alt:hover { opacity: .9 !important; }
.omr-route-line-fallback { animation: omrLineFlow 1s linear infinite; }
@keyframes omrLineFlow { to { stroke-dashoffset: -23; } }

.omr-route-fade-init { opacity: 0 !important; transition: none; }
.omr-route-fade-in { opacity: .55 !important; transition: opacity .45s ease; }

/* ---------------- Route choice cards ("Eriyur → Salem has 2 ways" etc.) ---------------- */
.omr-route-options {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .3s ease, margin .35s ease;
}
.omr-route-options.is-visible {
    max-height: 320px;
    opacity: 1;
    margin-top: 12px;
}
.omr-route-options-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 13px;
    color: var(--omr-green-dark);
    margin-bottom: 8px;
}
.omr-route-options-list { display: flex; flex-direction: column; gap: 8px; }
.omr-route-option { animation-delay: 0s; }
.omr-route-option:nth-child(2) { animation-delay: .07s; }
.omr-route-option:nth-child(3) { animation-delay: .14s; }
.omr-route-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: var(--omr-white);
    border: 1.5px solid #E3DECB;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-family: var(--font-body);
    color: var(--omr-asphalt);
    transition: border-color .15s ease, background .15s ease, transform .1s ease, box-shadow .15s ease;
    animation: omrFormIn .3s ease both;
}
.omr-route-option:hover { border-color: var(--omr-green); transform: translateX(2px); }
.omr-route-option:active { transform: scale(.99); }
.omr-route-option {
    position: relative;
    border-left: 3px solid transparent;
}
.omr-route-option.is-active {
    border-color: var(--omr-green);
    border-left-color: var(--omr-yellow);
    background: #F1F7F4;
    box-shadow: 0 4px 14px rgba(15,76,58,.12);
}
.omr-route-option-via {
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.omr-route-option.is-active .omr-route-option-via { color: var(--omr-green-dark); }
.omr-route-option-meta {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--omr-grey);
}
.omr-route-option.is-active .omr-route-option-meta { color: var(--omr-green); }
.omr-route-option-badge {
    flex-shrink: 0;
    background: var(--omr-yellow);
    color: var(--omr-asphalt);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Chip shown on a posted trip/parcel card once a route has been chosen */
.omr-route-via-chip {
    display: inline-block;
    background: #F1F7F4;
    border: 1px solid #CFE3D9;
    color: var(--omr-green-dark);
    font-size: 12.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin: 2px 0 6px;
}

.omr-notice { color: #555; background: #eef; padding: 10px; border-radius: 6px; }
.omr-error { color: #a00; background: #fee; padding: 10px; border-radius: 6px; }
.omr-success { color: #060; background: #efe; padding: 10px; border-radius: 6px; }

.omr-results { margin-top: 30px; max-width: 700px; }
.omr-card-list { display: flex; flex-direction: column; gap: 14px; }
.omr-card {
    position: relative;
    border: 1px solid #E8E1D3;
    border-radius: 10px;
    padding: 16px 20px 16px 24px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15,76,58,.04);
    overflow: hidden;
    transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease, border-color .22s ease;
    animation: omrCardIn .4s cubic-bezier(.22,.61,.36,1) both;
}
.omr-card-list .omr-card:nth-child(1) { animation-delay: .02s; }
.omr-card-list .omr-card:nth-child(2) { animation-delay: .07s; }
.omr-card-list .omr-card:nth-child(3) { animation-delay: .12s; }
.omr-card-list .omr-card:nth-child(4) { animation-delay: .17s; }
.omr-card-list .omr-card:nth-child(5) { animation-delay: .22s; }
.omr-card-list .omr-card:nth-child(n+6) { animation-delay: .26s; }
@keyframes omrCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.omr-card::before {
    content: '';
    position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, var(--omr-green), var(--omr-yellow));
    transform: scaleY(0); transform-origin: top;
    transition: transform .25s ease;
}
.omr-card:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 26px rgba(15,76,58,.12);
    border-color: #DCE9E1;
}
.omr-card:hover::before { transform: scaleY(1); }
.omr-card strong { font-size: 16px; color: var(--omr-green); }
.omr-card p { margin: 4px 0; font-size: 14px; }
.omr-notes { font-style: italic; color: #666; }
.omr-contact { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
    .omr-card { animation: none; }
}

/* ---------------- Generic scroll-reveal utility -----------------
 * JS (see script.js) tags eligible elements with .omr-reveal on load,
 * then adds .is-visible via IntersectionObserver as each one enters
 * the viewport. Written generically so it isn't tied to one section. */
.omr-reveal { opacity: 0; transform: translateY(24px); }
.omr-reveal.is-visible {
    opacity: 1; transform: translateY(0);
    transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
}
.omr-footer-top .omr-footer-col:nth-child(2).is-visible { transition-delay: .08s; }
.omr-footer-top .omr-footer-col:nth-child(3).is-visible { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
    .omr-reveal { opacity: 1; transform: none; }
}

/* ---------------- Footer ---------------- */
.omr-site-footer { background: var(--omr-green-dark); color: #D9E4DC; margin-top: 60px; position: relative; overflow: hidden; }
.omr-site-footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--omr-yellow), var(--omr-green), var(--omr-yellow));
    background-size: 200% 100%;
    animation: omrTextSheen 6s linear infinite;
}
.omr-footer-top { padding: 50px 0 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.omr-footer-brand .omr-logo { color: var(--omr-white) !important; margin-bottom: 12px; }
.omr-footer-brand p { color: #A9BDB1; font-size: 14px; max-width: 320px; }
.omr-footer-col h4 { color: var(--omr-white); font-size: 16px; margin-bottom: 14px; }
.omr-footer-col ul { list-style: none; padding: 0; margin: 0; }
.omr-footer-col li { margin-bottom: 10px; }
.omr-footer-col a { color: #D9E4DC !important; font-size: 14px; text-decoration: none; position: relative; transition: color .15s ease, padding-left .15s ease; }
.omr-footer-col a:hover { color: var(--omr-yellow) !important; padding-left: 6px; }

.omr-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--font-mono); font-size: 12px; color: #93A79A; }

/* ---------------- Responsive ---------------- */
@media (max-width: 782px) {
    .omr-nav { display: none; width: 100%; order: 3; }
    .omr-nav.is-open { display: block; }
    .omr-nav ul { flex-direction: column; gap: 14px; padding: 16px 0; }
    .omr-menu-toggle { display: block; }
    .omr-milestones-grid { grid-template-columns: 1fr; }
    .omr-footer-top { grid-template-columns: 1fr; }
    .omr-route-visual .stop span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}

/* ---------------- Role selection (signup) ---------------- */
.omr-role-choice { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.omr-role-option { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #ddd; border-radius: 8px; padding: 12px; cursor: pointer; font-weight: normal !important; margin: 0 !important; text-transform: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease; }
.omr-role-option:hover { border-color: var(--omr-green); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15,76,58,.10); }
.omr-role-option:has(input:checked) { border-color: var(--omr-green); background: #F4F9F5; box-shadow: 0 0 0 3px rgba(15,76,58,.08); }
.omr-role-option input[type="radio"] { margin-top: 4px; width: auto; }
.omr-role-option strong { display: block; font-family: var(--font-body); font-size: 14px; }
.omr-role-option small { display: block; color: var(--omr-grey); font-size: 12.5px; margin-top: 2px; }

/* ===============================================
   ONMYROUTE — LOGIN / REGISTER (animated, modern split-panel)
=============================================== */
.omr-auth-wrap {
    max-width: 940px;
    margin: 48px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(15, 76, 58, 0.12);
    animation: omrAuthCardIn .65s cubic-bezier(.16,1,.3,1) both, omrAuthGlow 6s ease-in-out .65s infinite;
}
@keyframes omrAuthCardIn {
    from { opacity: 0; transform: translateY(26px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes omrAuthGlow {
    0%, 100% { box-shadow: 0 10px 40px rgba(15, 76, 58, 0.12); }
    50%      { box-shadow: 0 14px 54px rgba(15, 76, 58, 0.20), 0 0 0 1px rgba(242,183,5,.06); }
}
@media (min-width: 760px) {
    .omr-auth-wrap { grid-template-columns: 0.85fr 1.15fr; padding: 0; }
}
.omr-auth-side {
    background: linear-gradient(160deg, var(--omr-green) 0%, var(--omr-green-dark) 55%, var(--omr-green) 100%);
    background-size: 220% 220%;
    animation: omrAuthGradientShift 14s ease-in-out infinite;
    color: var(--omr-white);
    padding: 40px 34px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
@keyframes omrAuthGradientShift {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}
.omr-auth-side::after {
    content: "";
    position: absolute;
    right: -60px; bottom: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(242, 183, 5, 0.12);
    animation: omrBlobFloat 9s ease-in-out infinite;
}
.omr-auth-side::before {
    content: "";
    position: absolute;
    left: -50px; top: -50px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    animation: omrBlobFloat 11s ease-in-out infinite reverse;
}
@keyframes omrBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(14px, -18px) scale(1.08); }
}
.omr-auth-side-inner { position: relative; z-index: 1; animation: omrFieldIn .6s ease .25s both; }
.omr-auth-pin {
    display: block;
    width: 20px; height: 20px;
    border-radius: 50% 50% 50% 0;
    background: var(--omr-yellow);
    transform: rotate(-45deg);
    margin-bottom: 22px;
    animation: omrPinPulse 2.4s ease-in-out infinite;
}
@keyframes omrPinPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(242,183,5,.45); }
    50%      { box-shadow: 0 0 0 8px rgba(242,183,5,0); }
}
.omr-auth-side h2 { color: var(--omr-white); font-size: 30px; margin-bottom: 12px; }
.omr-auth-side p { color: rgba(255,255,255,0.82); font-size: 15px; line-height: 1.5; margin: 0; }
.omr-auth-box { margin: 0; border-radius: 0; box-shadow: none; max-width: none; padding: 40px 34px; }
.omr-auth-box::before { display: none; }
.omr-auth-footer-links { margin-top: 18px; font-size: 14px; line-height: 1.8; }
.omr-auth-footer-links a { position: relative; }
.omr-auth-footer-links a::after {
    content: '';
    position: absolute; left: 0; bottom: -1px;
    width: 100%; height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}
.omr-auth-footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Staggered fade-up entrance for each field in the login / register form */
@keyframes omrFieldIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.omr-auth-box h3 { animation: omrFieldIn .5s ease both; }
.omr-auth-box > .omr-success,
.omr-auth-box > .omr-error,
.omr-auth-box > .omr-notice { animation: omrFieldIn .45s ease both; }
.omr-auth-box form > * { animation: omrFieldIn .5s ease both; }
.omr-auth-box form > *:nth-child(1)  { animation-delay: .02s; }
.omr-auth-box form > *:nth-child(2)  { animation-delay: .06s; }
.omr-auth-box form > *:nth-child(3)  { animation-delay: .10s; }
.omr-auth-box form > *:nth-child(4)  { animation-delay: .14s; }
.omr-auth-box form > *:nth-child(5)  { animation-delay: .18s; }
.omr-auth-box form > *:nth-child(6)  { animation-delay: .22s; }
.omr-auth-box form > *:nth-child(7)  { animation-delay: .26s; }
.omr-auth-box form > *:nth-child(8)  { animation-delay: .30s; }
.omr-auth-box form > *:nth-child(9)  { animation-delay: .34s; }
.omr-auth-box form > *:nth-child(10) { animation-delay: .38s; }
.omr-auth-box form > *:nth-child(11) { animation-delay: .42s; }
.omr-auth-box form > *:nth-child(12) { animation-delay: .46s; }
.omr-auth-box form > *:nth-child(13) { animation-delay: .50s; }
.omr-auth-box form > *:nth-child(14) { animation-delay: .54s; }
.omr-auth-box form > *:nth-child(15) { animation-delay: .58s; }
.omr-auth-box form > *:nth-child(16) { animation-delay: .62s; }
.omr-auth-box .omr-auth-footer-links { animation: omrFieldIn .5s ease .5s both; }

/* Livelier focus state just for the auth forms */
.omr-auth-box input:focus,
.omr-auth-box select:focus,
.omr-auth-box textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(15,76,58,.12), 0 6px 14px rgba(15,76,58,.10);
}

/* Trendy shine-sweep on the primary submit button */
.omr-auth-box .omr-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--omr-green) 0%, var(--omr-green-dark) 100%);
}
.omr-auth-box .omr-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.omr-auth-box .omr-btn:hover::before { left: 130%; }

/* ---------------- Password field: show/hide eye toggle ---------------- */
.omr-password-field { position: relative; }
.omr-password-field input { padding-right: 44px !important; }
.omr-password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--omr-grey);
    padding: 0;
    border-radius: 6px;
}
.omr-password-toggle:hover { color: var(--omr-green); background: #F4F1E8; transform: translateY(-50%) scale(1.08); }
.omr-password-toggle svg { width: 20px; height: 20px; display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(1); transition: opacity .18s ease, transform .18s ease; }
.omr-password-toggle .omr-eye-on { opacity: 1; }
.omr-password-toggle .omr-eye-off { opacity: 0; transform: translate(-50%,-50%) scale(.5) rotate(-15deg); }
.omr-password-toggle.is-visible .omr-eye-on { opacity: 0; transform: translate(-50%,-50%) scale(.5) rotate(15deg); }
.omr-password-toggle.is-visible .omr-eye-off { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0); }

/* ---------------- Password strength meter (register) ---------------- */
.omr-password-strength { display: none; margin-top: 8px; height: 5px; border-radius: 3px; background: #ECE6D6; overflow: hidden; }
.omr-password-strength.is-active { display: block; }
.omr-password-strength-bar { height: 100%; width: 0%; border-radius: 3px; background: #C0392B; transition: width .2s ease, background .2s ease; }
.omr-password-strength-label { display: none; margin: 5px 0 0; font-size: 12px; color: var(--omr-grey); text-transform: none; letter-spacing: normal; }
.omr-password-strength-label.is-active { display: block; }

/* ---------------- Checkbox row (Remember me, Agree to terms) ---------------- */
.omr-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    color: var(--omr-asphalt);
}
.omr-checkbox-row input[type="checkbox"] { width: auto; margin: 0; accent-color: var(--omr-green); cursor: pointer; transition: transform .12s ease; }
.omr-checkbox-row input[type="checkbox"]:hover { transform: scale(1.15); }
.omr-checkbox-row label { margin: 0 !important; padding: 0; font-weight: normal !important; text-transform: none !important; letter-spacing: normal !important; cursor: pointer; }

/* Honeypot - invisible to people, catches simple spam bots that fill every field */
.omr-hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }

/* Submit button loading state, so a slow connection can't be double-clicked into a duplicate signup/login */
.omr-form-box .omr-btn.is-loading { opacity: .85; cursor: default; pointer-events: none; }
.omr-btn-spinner {
    display: inline-block;
    width: 15px; height: 15px;
    margin-right: 8px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -3px;
    animation: omrSpin .6s linear infinite;
}
@keyframes omrSpin { to { transform: rotate(360deg); } }

/* ---------------- Avatar upload (register + dashboard) ---------------- */
.omr-avatar-upload-label { display: flex; align-items: center; gap: 14px; cursor: pointer; margin-bottom: 18px !important; text-transform: none; font-weight: normal !important; }
.omr-avatar-preview-wrap { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.omr-avatar-preview { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--omr-yellow); display: block; }
.omr-avatar-edit-badge { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--omr-green); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--omr-white); animation: omrPinPulse 2.4s ease-in-out infinite; }
.omr-avatar-preview-wrap:hover .omr-avatar-preview { transform: scale(1.05); }
.omr-avatar-preview { transition: transform .18s ease; }
.omr-avatar-input { display: none; }
.omr-avatar-upload-text { font-size: 13.5px; color: var(--omr-grey); }

.omr-dash-profile-top { display: flex; align-items: flex-start; gap: 16px; }
.omr-dash-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--omr-yellow); flex-shrink: 0; }
.omr-verified-badge { color: #060; font-size: 12.5px; font-weight: 600; background: #efe; padding: 2px 8px; border-radius: 10px; }
.omr-pending-badge  { color: #996800; font-size: 12.5px; font-weight: 600; background: #fff3cd; padding: 2px 8px; border-radius: 10px; margin-left: 4px; }
.omr-rejected-badge { color: #a00; font-size: 12.5px; font-weight: 600; background: #fde; padding: 2px 8px; border-radius: 10px; margin-left: 4px; }
.omr-field-hint { font-size: 12.5px; color: #666; margin: 2px 0 10px; }
.omr-profile-edit-toggle {
    margin: 20px 0 4px;
    padding-top: 18px;
    border-top: 1px solid #F0EBDC;
}
.omr-profile-edit-toggle summary {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--omr-green);
    font-size: 15px;
    padding: 4px 0;
    transition: color .15s ease;
}
.omr-profile-edit-toggle summary::-webkit-details-marker { display: none; }
.omr-profile-edit-toggle summary::after {
    content: '';
    width: 8px; height: 8px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .2s ease;
    flex-shrink: 0;
}
.omr-profile-edit-toggle:hover summary { color: var(--omr-green-dark); }
.omr-profile-edit-toggle[open] summary::after { transform: rotate(45deg); }
.omr-profile-edit-form {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
    max-width: 460px;
    animation: omrFormIn .35s ease both;
}
.omr-profile-edit-form > .omr-avatar-upload-label,
.omr-profile-edit-form .omr-profile-edit-grid > div {
    animation: omrFieldIn .4s ease both;
}
.omr-profile-edit-form .omr-profile-edit-grid > div:nth-child(2) { animation-delay: .05s; }
.omr-profile-edit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px 16px;
}
@media (min-width: 480px) {
    .omr-profile-edit-grid:not(.is-single) { grid-template-columns: 1fr 1fr; }
}
.omr-profile-save-btn {
    width: auto !important;
    align-self: flex-start;
    padding: 13px 32px !important;
    margin-top: 22px !important;
}

/* ---------------- Vehicle number toggle field ---------------- */
.omr-vehicle-number-field { margin-top: 4px; }

/* ---------------- Star ratings ---------------- */
.omr-stars { color: var(--omr-yellow); letter-spacing: 2px; font-size: 15px; }
.omr-rating-count { color: var(--omr-grey); font-size: 12.5px; }
.omr-owner-strip { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.omr-owner-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid #ddd; }
.omr-owner-strip .omr-vehicle-no { display: block; font-size: 12px; color: var(--omr-grey); font-family: var(--font-mono); }

.omr-review-widget { margin-top: 10px; }
.omr-review-toggle { padding: 6px 14px; font-size: 12px; }
.omr-review-form { margin-top: 10px; background: #FAF8F1; border-radius: 8px; padding: 12px; }
.omr-star-input { font-size: 24px; letter-spacing: 4px; cursor: pointer; color: #ccc; margin-bottom: 8px; }
.omr-star-input .omr-star-pick.is-filled { color: var(--omr-yellow); }
.omr-review-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #ddd; border-radius: 6px; padding: 8px; font-family: var(--font-body); margin-bottom: 8px; }
.omr-review-form .omr-btn { padding: 6px 16px; font-size: 12px; margin: 0; }
.omr-review-msg { font-size: 12.5px; margin: 8px 0 0; }
.omr-review-done { font-size: 12.5px; color: var(--omr-green); margin-top: 8px; }

/* ---------------- Live location tracking ---------------- */
.omr-track-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.omr-track-controls .omr-btn { padding: 6px 14px; font-size: 12px; margin: 0; }
.omr-track-status { font-size: 12.5px; color: var(--omr-green); font-weight: 600; }

.omr-view-live-btn { display: inline-block; padding: 6px 14px; font-size: 12px; margin: 8px 0 0; }
.omr-live-map-outer {
    position: relative;
    margin-top: 10px;
    perspective: 1400px;
    animation: omrMapWrapIn .75s cubic-bezier(.22,.61,.36,1) both;
    --omr-tilt-x: 0px;
    --omr-tilt-y: 0px;
    --omr-sheen-x: 50%;
    --omr-sheen-y: 0%;
}
.omr-live-map { width: 100%; height: 260px; border-radius: 12px; z-index: 0; overflow: hidden; }
.omr-live-stopped { margin-top: 8px; font-size: 13px; }

/* ===============================================
   ONMYROUTE — LANGUAGE SWITCH (EN / TA)
=============================================== */
.omr-lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.02em;
}
.omr-lang-switch a {
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none;
    padding: 2px 4px;
}
.omr-lang-switch a.is-active {
    color: var(--omr-yellow) !important;
    font-weight: 700;
}
.omr-lang-switch a:hover { color: var(--omr-white) !important; }
.omr-lang-sep { color: rgba(255, 255, 255, 0.35); }

/* Proper Tamil script needs a Tamil-aware font, not the Latin display font. */
body.omr-lang-ta .omr-site-header,
body.omr-lang-ta .omr-site-footer,
body.omr-lang-ta .omr-hero,
body.omr-lang-ta .omr-milestones,
body.omr-lang-ta .omr-form-box,
body.omr-lang-ta .omr-results,
body.omr-lang-ta .omr-auth-side {
    font-family: 'Noto Sans Tamil', var(--font-body);
}
body.omr-lang-ta .omr-site-header h1, body.omr-lang-ta .omr-site-header h2, body.omr-lang-ta .omr-site-header h3,
body.omr-lang-ta .omr-site-footer h1, body.omr-lang-ta .omr-site-footer h2, body.omr-lang-ta .omr-site-footer h3,
body.omr-lang-ta .omr-hero h1, body.omr-lang-ta .omr-hero h2, body.omr-lang-ta .omr-hero h3,
body.omr-lang-ta .omr-milestones h1, body.omr-lang-ta .omr-milestones h2, body.omr-lang-ta .omr-milestones h3,
body.omr-lang-ta .omr-form-box h3 {
    font-family: 'Noto Sans Tamil', var(--font-display);
    text-transform: none; /* Tamil script has no concept of uppercase */
}
body.omr-lang-ta .omr-nav a,
body.omr-lang-ta .omr-header-cta {
    text-transform: none;
    font-family: 'Noto Sans Tamil', var(--font-body);
}

/* ===============================================
   ONMYROUTE — HIDE THEME PAGE TITLE ON OUR OWN PAGES
   (fallback for themes/builders that don't go through the_title())
=============================================== */
body.omr-page .entry-title,
body.omr-page .page-title,
body.omr-page .entry-header,
body.omr-page h1.entry-title,
body.omr-page .wp-block-post-title,
body.omr-page .page-header,
body.omr-page .ast-page-title-bar,
body.omr-page .elementor-widget-theme-post-title {
    display: none !important;
}

/* ===============================================
   ONMYROUTE — HIDE THEME'S OWN SITE HEADER ON OUR PAGES
   The plugin prints its own header (.omr-site-header, the green bar
   with the OnMyRoute logo/nav) via wp_body_open so it works with any
   theme. But the active theme still prints its own header too (its
   site title/logo, e.g. #site-header.site-header below) - since we
   don't want both, hide the theme's header, just on our own pages.
   Covers the common header markup used by most free WP themes
   (Astra, GeneratePress, OceanWP, Twenty Twenty(-One/Two/Three), etc).
   If your theme uses a different header ID/class, add its selector
   to this list the same way.
=============================================== */
body.omr-page #site-header,
body.omr-page header.site-header,
body.omr-page .site-header,
body.omr-page #masthead,
body.omr-page header#masthead,
body.omr-page .site-branding {
    display: none !important;
}


/* ===============================================
   ONMYROUTE — OTP (EMAIL VERIFICATION CODE) STEP
=============================================== */
.omr-otp-step {
    text-align: center;
    animation: omrFormIn .5s ease both;
}
.omr-otp-icon {
    width: 56px; height: 56px; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; border-radius: 50%;
    background: rgba(15,76,58,.08); color: var(--omr-green);
    animation: omrOtpIconPop .5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes omrOtpIconPop {
    0% { transform: scale(.4); opacity: 0; }
    70% { transform: scale(1.12); opacity: 1; }
    100% { transform: scale(1); }
}
.omr-otp-step h3 { margin: 0 0 6px; }
.omr-otp-subtext { color: var(--omr-grey); font-size: 14.5px; margin: 0 0 18px; }
.omr-otp-error { animation: omrOtpShake .45s ease; }
@keyframes omrOtpShake {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-8px); }
    40%, 60% { transform: translateX(8px); }
}

.omr-otp-boxes {
    display: flex; justify-content: center; gap: 10px;
    margin: 0 0 22px;
}
.omr-otp-box {
    width: 46px; height: 56px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 24px; font-weight: 600;
    color: var(--omr-asphalt);
    background: var(--omr-white);
    border: 2px solid #E4DCC5;
    border-radius: 10px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.omr-otp-box:focus {
    outline: none;
    border-color: var(--omr-green);
    box-shadow: 0 0 0 4px rgba(15,76,58,.12);
    transform: translateY(-2px);
}
.omr-otp-box.is-filled { border-color: var(--omr-green); background: rgba(15,76,58,.04); }
.omr-otp-box.is-shaking { animation: omrOtpShake .45s ease; border-color: #a00; }
.omr-otp-step.is-verified .omr-otp-box { border-color: var(--omr-green); background: rgba(15,76,58,.08); }

.omr-otp-submit { width: 100%; }
.omr-otp-resend-form { margin-top: 14px; }
.omr-otp-resend-btn {
    background: none; border: none; cursor: pointer;
    color: var(--omr-green); font-weight: 600; font-size: 14px;
    padding: 6px 10px; border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}
.omr-otp-resend-btn:hover:not(:disabled) { background: rgba(15,76,58,.08); }
.omr-otp-resend-btn:disabled { color: var(--omr-grey); cursor: default; opacity: .8; }
.omr-otp-resend-timer { font-family: var(--font-mono); margin-left: 4px; }

@media (max-width: 420px) {
    .omr-otp-box { width: 38px; height: 48px; font-size: 20px; }
    .omr-otp-boxes { gap: 7px; }
}

/* ===============================================
   ONMYROUTE v2 — PREMIUM MASS UPGRADE
=============================================== */
:root {
    --omr-green: #0B3D2E;
    --omr-green-mid: #0F4C3A;
    --omr-green-dark: #072820;
    --omr-yellow: #F5C518;
    --omr-yellow-soft: #FFE9A0;
    --omr-asphalt: #1A1A1A;
    --omr-paper: #F7F4EC;
    --omr-card: #FFFFFF;
    --omr-grey: #5C6570;
    --omr-border: rgba(15, 76, 58, 0.12);
    --omr-shadow: 0 12px 40px rgba(7, 40, 32, 0.10);
    --omr-shadow-lg: 0 24px 60px rgba(7, 40, 32, 0.14);
    --omr-radius: 16px;
    --omr-radius-sm: 10px;
}

body.omr-active-site {
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(242, 183, 5, 0.08), transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 0%, rgba(15, 76, 58, 0.06), transparent 45%),
        var(--omr-paper);
    color: var(--omr-asphalt);
}

/* ---- Section titles ---- */
.omr-section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--omr-green-dark);
    margin: 0 0 8px;
}
.omr-section-sub {
    text-align: center;
    color: var(--omr-grey);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 40px;
}

/* ---- Stats strip ---- */
.omr-stats {
    padding: 0 0 10px;
    margin-top: -28px;
    position: relative;
    z-index: 2;
}
.omr-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.omr-stat-card {
    background: var(--omr-card);
    border: 1px solid var(--omr-border);
    border-radius: var(--omr-radius);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--omr-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.omr-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--omr-shadow-lg);
}
.omr-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--omr-green-mid);
    line-height: 1.1;
    letter-spacing: 0.02em;
}
.omr-stat-label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--omr-grey);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---- Features grid ---- */
.omr-features {
    padding: 56px 0 72px;
}
.omr-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.omr-feature-card {
    background: var(--omr-card);
    border: 1px solid var(--omr-border);
    border-radius: var(--omr-radius);
    padding: 28px 22px;
    box-shadow: var(--omr-shadow);
    transition: transform .22s ease, border-color .22s ease;
}
.omr-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 183, 5, 0.45);
}
.omr-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--omr-green-mid), var(--omr-green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.omr-feature-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--omr-green-dark);
    margin: 0 0 8px;
}
.omr-feature-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--omr-grey);
}

/* ---- Hero polish ---- */
.omr-hero {
    padding: 72px 0 88px;
    position: relative;
    overflow: hidden;
}
.omr-hero h1 {
    font-size: clamp(40px, 7vw, 64px);
    line-height: 1.05;
    margin-bottom: 18px;
}
.omr-hero p.sub {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
}
.omr-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

/* ---- Buttons mass ---- */
.omr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 26px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    line-height: 1.2;
}
.omr-btn:hover { transform: translateY(-2px); }
.omr-btn-primary {
    background: var(--omr-green-mid);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(15, 76, 58, 0.28);
}
.omr-btn-primary:hover {
    background: var(--omr-green-dark);
    box-shadow: 0 12px 28px rgba(15, 76, 58, 0.35);
}
.omr-btn-accent {
    background: var(--omr-yellow);
    color: var(--omr-asphalt) !important;
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.35);
}
.omr-btn-accent:hover {
    background: #ffd54a;
}
.omr-btn-outline {
    background: transparent;
    border-color: var(--omr-green-mid);
    color: var(--omr-green-mid) !important;
}
.omr-btn-outline:hover {
    background: var(--omr-green-mid);
    color: #fff !important;
}

/* ---- Forms premium ---- */
.omr-form-box {
    background: var(--omr-card);
    border: 1px solid var(--omr-border);
    border-radius: var(--omr-radius);
    box-shadow: var(--omr-shadow-lg);
    padding: 32px;
    margin: 32px auto;
    max-width: 1100px;
}
.omr-form-box h3 {
    font-family: var(--font-display);
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--omr-green-dark);
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--omr-yellow);
    display: inline-block;
}
.omr-form-box label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--omr-green-dark);
    margin: 14px 0 6px;
}
.omr-form-box input[type="text"],
.omr-form-box input[type="tel"],
.omr-form-box input[type="email"],
.omr-form-box input[type="password"],
.omr-form-box input[type="date"],
.omr-form-box input[type="time"],
.omr-form-box input[type="number"],
.omr-form-box select,
.omr-form-box textarea,
.omr-address-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--omr-border);
    border-radius: var(--omr-radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    background: #FAFAF7;
    color: var(--omr-asphalt);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    box-sizing: border-box;
}
.omr-form-box input:focus,
.omr-form-box select:focus,
.omr-form-box textarea:focus,
.omr-address-input:focus {
    outline: none;
    border-color: var(--omr-green-mid);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.12);
}
.omr-field-hint {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--omr-grey);
}
.omr-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---- Result cards ---- */
.omr-card-list {
    display: grid;
    gap: 16px;
}
.omr-card {
    background: var(--omr-card);
    border: 1px solid var(--omr-border);
    border-radius: var(--omr-radius);
    padding: 22px 24px;
    box-shadow: var(--omr-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative;
    overflow: hidden;
}
.omr-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--omr-yellow), var(--omr-green-mid));
}
.omr-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--omr-shadow-lg);
}
.omr-card > strong {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--omr-green-dark);
    margin-bottom: 10px;
}
.omr-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin: 8px 0 12px;
}
.omr-meta-item {
    font-size: 13.5px;
    color: var(--omr-grey);
    background: #F3F1EA;
    padding: 5px 10px;
    border-radius: 6px;
}
.omr-meta-item strong { color: var(--omr-asphalt); }
.omr-meta-weight {
    background: rgba(245, 197, 24, 0.22);
    color: var(--omr-green-dark);
}

/* ---- Status badges ---- */
.omr-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
}
.omr-badge-active {
    background: rgba(15, 76, 58, 0.12);
    color: var(--omr-green-mid);
}
.omr-badge-expired {
    background: rgba(120, 120, 120, 0.15);
    color: #666;
}
.omr-badge-completed {
    background: rgba(34, 120, 80, 0.12);
    color: #1a6b45;
}
.omr-badge-full {
    background: rgba(200, 80, 40, 0.12);
    color: #a03a1a;
}

/* ---- Milestones polish ---- */
.omr-milestones {
    padding: 48px 0 24px;
}
.omr-milestone {
    background: var(--omr-card);
    border: 1px solid var(--omr-border);
    border-radius: var(--omr-radius);
    padding: 28px 22px;
    box-shadow: var(--omr-shadow);
    position: relative;
    overflow: hidden;
}
.omr-milestone .num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: rgba(15, 76, 58, 0.12);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}
.omr-milestone h3 {
    font-family: var(--font-display);
    font-size: 20px;
    text-transform: uppercase;
    color: var(--omr-green-dark);
    margin: 0 0 8px;
}
.omr-milestone p {
    margin: 0;
    color: var(--omr-grey);
    font-size: 14.5px;
    line-height: 1.55;
}

/* ---- Notices ---- */
.omr-notice, .omr-success, .omr-error {
    border-radius: var(--omr-radius-sm);
    padding: 14px 18px;
    font-size: 14.5px;
    margin: 12px 0;
}
.omr-success {
    background: rgba(15, 76, 58, 0.1);
    border: 1px solid rgba(15, 76, 58, 0.25);
    color: var(--omr-green-dark);
}
.omr-error {
    background: rgba(180, 40, 40, 0.08);
    border: 1px solid rgba(180, 40, 40, 0.25);
    color: #8b1a1a;
}
.omr-notice {
    background: #F3F1EA;
    border: 1px solid var(--omr-border);
    color: var(--omr-grey);
}

/* ---- Owner strip ---- */
.omr-owner-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 10px;
    padding: 10px 12px;
    background: #F7F5EF;
    border-radius: var(--omr-radius-sm);
}
.omr-owner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--omr-yellow);
}
.omr-contact {
    font-weight: 600;
    color: var(--omr-green-dark);
    margin: 10px 0 0;
}
.omr-matches {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 2px dashed var(--omr-border);
}
.omr-matches h4 {
    font-family: var(--font-display);
    font-size: 22px;
    text-transform: uppercase;
    color: var(--omr-green-dark);
    margin: 0 0 16px;
}

/* ---- Header stronger ---- */
.omr-site-header {
    background: linear-gradient(180deg, var(--omr-green-dark) 0%, var(--omr-green-mid) 100%);
    backdrop-filter: blur(8px);
}
.omr-site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(7, 40, 32, 0.25);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .omr-features-grid { grid-template-columns: 1fr 1fr; }
    .omr-stats-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
    .omr-features-grid { grid-template-columns: 1fr; }
    .omr-stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .omr-field-row { grid-template-columns: 1fr; }
    .omr-form-box { padding: 22px 16px; margin: 20px 12px; }
    .omr-stat-num { font-size: 30px; }
    .omr-hero { padding: 48px 0 64px; }
}
