:root {
    --xp-ink: #071d28;
    --xp-body: #425b67;
    --xp-muted: #6b818b;
    --xp-white: #ffffff;
    --xp-canvas: #f3f7ff;
    --xp-surface: #f8fbfc;
    --xp-line: #dce8ec;
    --xp-teal: #0d6485;
    --xp-teal-dark: #08445c;
    --xp-cyan: #17bad1;
    --xp-green: #00b868;
    --xp-green-dark: #008f51;
    --xp-yellow: #f7ab24;
    --xp-red: #ef3131;
    --xp-navy: #21222e;
    --xp-shadow: 0 22px 70px rgba(24, 79, 102, 0.13);
    --xp-card-shadow: 0 15px 42px rgba(24, 79, 102, 0.1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body.xp-public-page {
    margin: 0;
    overflow-x: hidden;
    background: var(--xp-white);
    color: var(--xp-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.xp-public-page *,
.xp-public-page *::before,
.xp-public-page *::after {
    box-sizing: border-box;
}

.xp-public-page img {
    display: block;
    max-width: 100%;
}

.xp-skip-link {
    position: fixed;
    top: 0;
    left: 1rem;
    z-index: 1100;
    padding: 0.8rem 1rem;
    border-radius: 0 0 0.65rem 0.65rem;
    background: var(--xp-ink);
    color: var(--xp-white);
    transform: translateY(-120%);
    transition: transform 180ms ease;
}

.xp-skip-link:focus {
    color: var(--xp-white);
    transform: translateY(0);
}

.xp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(13, 100, 133, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    transition: box-shadow 180ms ease, background 180ms ease;
}

.xp-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 32px rgba(7, 29, 40, 0.09);
}

.xp-header .navbar {
    min-height: 78px;
    padding: 0.7rem 0;
}

.xp-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    color: var(--xp-ink);
    text-decoration: none;
}

.xp-brand:hover {
    color: var(--xp-teal);
}

.xp-brand-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px 13px 13px 4px;
    background: var(--xp-yellow);
    color: var(--xp-ink);
    box-shadow: 0 8px 20px rgba(247, 171, 36, 0.28);
    font-size: 1.2rem;
}

.xp-brand-word {
    font-size: 1.42rem;
    font-weight: 900;
    letter-spacing: 0.035em;
}

.xp-header .nav-link {
    position: relative;
    margin: 0 0.38rem;
    padding: 0.72rem 0.55rem !important;
    color: #284551;
    font-size: 0.92rem;
    font-weight: 750;
}

.xp-header .nav-link::after {
    position: absolute;
    right: 0.55rem;
    bottom: 0.42rem;
    left: 0.55rem;
    height: 2px;
    border-radius: 2px;
    background: var(--xp-cyan);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.xp-header .nav-link:hover,
.xp-header .nav-link:focus {
    color: var(--xp-teal);
}

.xp-header .nav-link:hover::after,
.xp-header .nav-link:focus::after {
    transform: scaleX(1);
}

.xp-nav-cta {
    padding: 0.72rem 1.15rem;
    border: 0;
    border-radius: 12px;
    background: var(--xp-teal);
    color: var(--xp-white);
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(13, 100, 133, 0.18);
}

.xp-nav-cta:hover,
.xp-nav-cta:focus {
    background: var(--xp-teal-dark);
    color: var(--xp-white);
}

.xp-menu-button {
    border: 1px solid var(--xp-line);
    border-radius: 10px;
    box-shadow: none !important;
}

.xp-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    padding: 6rem 0 9rem;
    background:
        radial-gradient(circle at 87% 13%, rgba(23, 186, 209, 0.19), transparent 24rem),
        radial-gradient(circle at 5% 30%, rgba(247, 171, 36, 0.14), transparent 20rem),
        linear-gradient(135deg, #f8fcff 0%, #eff8fb 55%, #f3f7ff 100%);
}

.xp-hero::before {
    position: absolute;
    top: 4rem;
    right: -8rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(23, 186, 209, 0.18);
    border-radius: 50%;
    content: "";
}

.xp-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.45rem;
    padding: 0.52rem 0.75rem;
    border: 1px solid rgba(13, 100, 133, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--xp-teal);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    box-shadow: 0 7px 18px rgba(13, 100, 133, 0.07);
}

.xp-location-pill > span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--xp-yellow);
}

.xp-hero h1 {
    max-width: 700px;
    margin: 0;
    color: var(--xp-ink);
    font-size: clamp(3.15rem, 6vw, 5.65rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 0.92;
}

.xp-hero h1 span {
    color: var(--xp-teal);
}

.xp-hero-copy {
    max-width: 590px;
    margin: 1.65rem 0 0;
    color: var(--xp-body);
    font-size: 1.09rem;
    line-height: 1.75;
}

.xp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.xp-btn-primary,
.xp-btn-light,
.xp-btn-white {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.88rem 1.3rem;
    border-radius: 13px;
    font-size: 0.94rem;
    font-weight: 850;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.xp-btn-primary {
    border: 1px solid var(--xp-teal);
    background: var(--xp-teal);
    color: var(--xp-white);
    box-shadow: 0 14px 30px rgba(13, 100, 133, 0.22);
}

.xp-btn-primary:hover,
.xp-btn-primary:focus {
    background: var(--xp-teal-dark);
    color: var(--xp-white);
    transform: translateY(-2px);
}

.xp-btn-light {
    border: 1px solid var(--xp-line);
    background: rgba(255, 255, 255, 0.8);
    color: var(--xp-ink);
}

.xp-btn-light:hover,
.xp-btn-light:focus {
    border-color: rgba(13, 100, 133, 0.25);
    background: var(--xp-white);
    color: var(--xp-teal);
    transform: translateY(-2px);
}

.xp-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.15rem;
    margin-top: 2rem;
    color: #46626e;
    font-size: 0.79rem;
    font-weight: 700;
}

.xp-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.xp-trust-row i {
    color: var(--xp-green);
}

.xp-hero-visual {
    position: relative;
    min-height: 530px;
    padding: 3.2rem 2rem 2rem;
}

.xp-hero-visual::before {
    position: absolute;
    inset: 5% 4% 2% 4%;
    border-radius: 48% 52% 45% 55% / 45% 43% 57% 55%;
    background: linear-gradient(145deg, var(--xp-teal), #0b526e);
    box-shadow: 0 35px 70px rgba(13, 100, 133, 0.28);
    content: "";
    transform: rotate(-3deg);
}

.xp-hero-visual::after {
    position: absolute;
    inset: 12% 0 3% 15%;
    z-index: 0;
    background: url("images/app-city.png") center bottom / contain no-repeat;
    content: "";
    opacity: 0.17;
}

.xp-hero-orbit {
    position: absolute;
    z-index: 1;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    animation: xp-spin 35s linear infinite;
}

.xp-hero-orbit::after {
    position: absolute;
    top: 10%;
    left: 7%;
    width: 11px;
    height: 11px;
    border: 3px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background: var(--xp-yellow);
    content: "";
}

.xp-hero-orbit-one {
    inset: 8% 2% 1% 10%;
}

.xp-hero-orbit-two {
    inset: 20% 12% 10% 22%;
    animation-direction: reverse;
    animation-duration: 25s;
}

@keyframes xp-spin {
    to { transform: rotate(360deg); }
}

.xp-booking-card {
    position: relative;
    z-index: 3;
    max-width: 390px;
    margin: 0 auto;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 65px rgba(1, 39, 55, 0.33);
}

.xp-booking-top,
.xp-negotiation-head,
.xp-counter-driver {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.xp-booking-top > div,
.xp-negotiation-head > div {
    display: grid;
    gap: 0.18rem;
}

.xp-card-kicker,
.xp-booking-top small {
    color: var(--xp-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.xp-booking-top strong {
    font-size: 1.06rem;
}

.xp-avatar {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--xp-canvas);
    color: var(--xp-teal);
    font-size: 0.72rem;
    font-weight: 900;
}

.xp-ride-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.xp-ride-modes button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem;
    border: 1px solid var(--xp-line);
    border-radius: 11px;
    background: var(--xp-white);
    color: var(--xp-body);
    font-size: 0.78rem;
    font-weight: 800;
    transition: all 160ms ease;
}

.xp-ride-modes button.is-active {
    border-color: var(--xp-teal);
    background: var(--xp-teal);
    color: var(--xp-white);
    box-shadow: 0 9px 18px rgba(13, 100, 133, 0.18);
}

.xp-route-box {
    position: relative;
    display: grid;
    gap: 0.95rem;
    margin-top: 0.8rem;
    padding: 0.9rem;
    border-radius: 14px;
    background: var(--xp-surface);
}

.xp-route-box label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--xp-ink);
    font-size: 0.78rem;
    font-weight: 780;
}

.xp-route-box label > span:last-child {
    display: grid;
}

.xp-route-box small {
    margin-bottom: 0.12rem;
    color: var(--xp-muted);
    font-size: 0.65rem;
    font-weight: 650;
}

.xp-route-dot {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    border: 3px solid currentColor;
    border-radius: 50%;
    background: var(--xp-white);
}

.xp-route-dot-pickup { color: var(--xp-green); }
.xp-route-dot-dropoff { color: var(--xp-red); }

.xp-route-line {
    position: absolute;
    top: 1.28rem;
    bottom: 1.28rem;
    left: 1.27rem;
    border-left: 1px dashed #abc2cb;
}

.xp-fare-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.8rem;
    padding: 0.25rem 0.1rem;
    color: var(--xp-muted);
    font-size: 0.73rem;
    font-weight: 700;
}

.xp-fare-preview strong {
    color: var(--xp-ink);
    font-size: 0.92rem;
}

.xp-booking-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding: 0.82rem 0.95rem;
    border-radius: 12px;
    background: var(--xp-yellow);
    color: var(--xp-ink);
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
}

.xp-booking-button:hover {
    background: #ffbd48;
    color: var(--xp-ink);
}

.xp-driver-chip {
    position: absolute;
    right: -0.5rem;
    bottom: 1.2rem;
    z-index: 4;
    display: flex;
    min-width: 220px;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 35px rgba(1, 39, 55, 0.24);
    animation: xp-float 4s ease-in-out infinite;
}

.xp-driver-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #def7ee;
    color: var(--xp-green-dark);
}

.xp-driver-chip > span:nth-child(2) {
    display: grid;
    flex: 1;
    font-size: 0.74rem;
}

.xp-driver-chip small {
    color: var(--xp-muted);
}

.xp-driver-chip > i {
    color: var(--xp-green);
}

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

.xp-hero-city {
    position: absolute;
    right: 0;
    bottom: -16px;
    left: 0;
    height: 145px;
    background: url("images/city-scene.png") center bottom / auto 145px repeat-x;
    opacity: 0.18;
    pointer-events: none;
}

.xp-services {
    padding: 7rem 0;
    background: var(--xp-white);
}

.xp-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.6rem;
}

.xp-eyebrow {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--xp-cyan);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.xp-section-heading h2,
.xp-app-section h2,
.xp-offer-section h2,
.xp-partner-panel h2 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.xp-section-heading > p {
    max-width: 480px;
    margin: 0;
    color: var(--xp-body);
    line-height: 1.75;
}

.xp-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.xp-service-swipe-hint {
    display: none;
}

.xp-service-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid #e2ebef;
    border-radius: 21px;
    background: var(--xp-white);
    box-shadow: 0 10px 30px rgba(13, 100, 133, 0.06);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.xp-service-card:hover {
    border-color: rgba(23, 186, 209, 0.38);
    box-shadow: var(--xp-card-shadow);
    transform: translateY(-7px);
}

.xp-service-image {
    position: relative;
    height: 188px;
    overflow: hidden;
    background: linear-gradient(145deg, #e7f5fb, #d9eef7);
}

.xp-service-image::after {
    position: absolute;
    inset: auto -15% -62% 18%;
    height: 110%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    content: "";
}

.xp-service-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.xp-service-card:hover .xp-service-image img {
    transform: scale(1.035);
}

.xp-service-content {
    position: relative;
    padding: 1.25rem 1.2rem 1.35rem;
}

.xp-service-number {
    position: absolute;
    top: -1.05rem;
    right: 1rem;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 4px solid var(--xp-white);
    border-radius: 50%;
    background: var(--xp-yellow);
    color: var(--xp-ink);
    font-size: 0.64rem;
    font-weight: 900;
}

.xp-service-content h3 {
    margin: 0 0 0.48rem;
    font-size: 1.12rem;
    font-weight: 900;
}

.xp-service-content p {
    min-height: 54px;
    margin: 0;
    color: var(--xp-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.xp-service-content a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    color: var(--xp-teal);
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.xp-app-section {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 5rem;
    background: var(--xp-teal);
    color: var(--xp-white);
}

.xp-app-section::before {
    position: absolute;
    top: -16rem;
    left: -13rem;
    width: 38rem;
    height: 38rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 6rem rgba(255, 255, 255, 0.025), 0 0 0 12rem rgba(255, 255, 255, 0.02);
}

.xp-app-section .container {
    position: relative;
    z-index: 1;
}

.xp-eyebrow-light {
    color: #7ce6f5;
}

.xp-app-intro {
    max-width: 590px;
    margin: 1.3rem 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.75;
}

.xp-app-points {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

.xp-app-points > div {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.xp-app-points > div > i {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.09);
    color: var(--xp-yellow);
    font-size: 1.1rem;
}

.xp-app-points span {
    display: grid;
}

.xp-app-points strong {
    font-size: 0.9rem;
}

.xp-app-points small {
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.76rem;
}

.xp-store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.xp-store-button {
    display: flex;
    min-width: 180px;
    align-items: center;
    gap: 0.75rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 13px;
    background: rgba(0, 0, 0, 0.14);
}

.xp-store-button > i {
    font-size: 1.45rem;
}

.xp-store-button > span {
    display: grid;
    font-size: 0.86rem;
    font-weight: 850;
}

.xp-store-button small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.62rem;
    font-weight: 600;
}

.xp-phone-stage {
    position: relative;
    display: grid;
    min-height: 620px;
    place-items: center;
}

.xp-phone-stage::before {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(23, 186, 209, 0.85), rgba(23, 186, 209, 0.08));
    content: "";
}

.xp-phone {
    position: relative;
    z-index: 2;
    width: 300px;
    padding: 11px;
    border: 2px solid #29323b;
    border-radius: 40px;
    background: #12171d;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
    transform: rotate(-4deg);
}

.xp-phone-speaker {
    position: absolute;
    top: 17px;
    left: 50%;
    z-index: 4;
    width: 75px;
    height: 17px;
    border-radius: 0 0 11px 11px;
    background: #12171d;
    transform: translateX(-50%);
}

.xp-phone-screen {
    min-height: 570px;
    overflow: hidden;
    padding: 2.1rem 1rem 1.1rem;
    border-radius: 30px;
    background: #f7fafb;
    color: var(--xp-ink);
}

.xp-phone-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xp-phone-head > div {
    display: grid;
}

.xp-phone-head small {
    color: var(--xp-muted);
    font-size: 0.65rem;
}

.xp-phone-head strong {
    font-size: 0.89rem;
}

.xp-phone-head > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--xp-white);
    color: var(--xp-teal);
    box-shadow: 0 5px 14px rgba(13, 100, 133, 0.09);
}

.xp-wallet-card {
    position: relative;
    display: grid;
    margin-top: 1rem;
    padding: 1rem;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--xp-teal), #17a3bb);
    color: var(--xp-white);
    box-shadow: 0 12px 25px rgba(13, 100, 133, 0.2);
}

.xp-wallet-card::after {
    position: absolute;
    top: -35px;
    right: -35px;
    width: 100px;
    height: 100px;
    border: 18px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    content: "";
}

.xp-wallet-card > span {
    font-size: 0.63rem;
    opacity: 0.72;
}

.xp-wallet-card > strong {
    margin-top: 0.15rem;
    font-size: 1.32rem;
}

.xp-wallet-card button {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 1;
    padding: 0.35rem 0.55rem;
    border: 0;
    border-radius: 8px;
    background: var(--xp-yellow);
    color: var(--xp-ink);
    font-size: 0.62rem;
    font-weight: 900;
}

.xp-phone-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.72rem;
}

.xp-phone-title span {
    color: var(--xp-teal);
    font-size: 0.6rem;
    font-weight: 800;
}

.xp-phone-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.xp-phone-services > span {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    color: var(--xp-body);
}

.xp-phone-services i {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 14px;
    background: #e5f5fa;
    color: var(--xp-teal);
    font-size: 1rem;
}

.xp-phone-services span:nth-child(2) i { background: #fff1dd; color: #c37700; }
.xp-phone-services span:nth-child(3) i { background: #e9f8ee; color: #168b47; }
.xp-phone-services span:nth-child(4) i { background: #f0eafa; color: #7953a6; }

.xp-phone-services small {
    font-size: 0.56rem;
    font-weight: 800;
}

.xp-phone-promo {
    position: relative;
    height: 195px;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 17px;
    background: #e8f5f8;
}

.xp-phone-promo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.xp-phone-promo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(5, 38, 52, 0.78));
    content: "";
}

.xp-phone-promo span {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    left: 0.8rem;
    z-index: 1;
    display: grid;
    color: var(--xp-white);
}

.xp-phone-promo small {
    font-size: 0.6rem;
}

.xp-phone-promo strong {
    font-size: 0.82rem;
}

.xp-phone-bubble {
    position: absolute;
    z-index: 3;
    padding: 0.72rem 0.9rem;
    border-radius: 13px;
    background: var(--xp-white);
    color: var(--xp-ink);
    font-size: 0.73rem;
    font-weight: 850;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.xp-phone-bubble i {
    margin-right: 0.38rem;
    color: var(--xp-green);
}

.xp-bubble-wallet {
    top: 24%;
    left: 2%;
    animation: xp-float 4.2s ease-in-out infinite;
}

.xp-bubble-support {
    right: 1%;
    bottom: 18%;
    animation: xp-float 5s ease-in-out 0.8s infinite;
}

.xp-promo-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.xp-promo-row article {
    position: relative;
    height: 190px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 19px;
    background: #0a4e69;
}

.xp-promo-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.xp-promo-row article::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 24%, rgba(5, 30, 41, 0.8));
    content: "";
}

.xp-promo-row article:hover img {
    transform: scale(1.05);
}

.xp-promo-row article span {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1;
    display: grid;
}

.xp-promo-row small {
    color: var(--xp-yellow);
    font-size: 0.67rem;
    font-weight: 900;
    text-transform: uppercase;
}

.xp-promo-row strong {
    margin-top: 0.15rem;
    font-size: 1rem;
}

.xp-offer-section {
    padding: 7rem 0;
    background: var(--xp-canvas);
}

.xp-offer-section .col-lg-5 > p {
    max-width: 530px;
    margin: 1.35rem 0 0;
    color: var(--xp-body);
    line-height: 1.75;
}

.xp-offer-rules {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.45rem;
    color: #294b59;
    font-size: 0.84rem;
    font-weight: 750;
}

.xp-offer-rules span {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.xp-offer-rules i {
    color: var(--xp-green);
    font-size: 1rem;
}

.xp-negotiation {
    max-width: 720px;
    margin-left: auto;
    padding: 1.35rem;
    border: 1px solid var(--xp-line);
    border-radius: 25px;
    background: var(--xp-white);
    box-shadow: var(--xp-shadow);
}

.xp-negotiation-head {
    padding: 0.25rem 0.2rem 1.1rem;
    border-bottom: 1px solid var(--xp-line);
}

.xp-negotiation-head small {
    color: var(--xp-muted);
    font-size: 0.7rem;
}

.xp-negotiation-head strong {
    font-size: 0.91rem;
}

.xp-negotiation-head strong i {
    margin: 0 0.4rem;
    color: var(--xp-cyan);
}

.xp-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.38rem 0.55rem;
    border-radius: 999px;
    background: #eaf8f2;
    color: #247b56;
    font-size: 0.64rem;
    font-weight: 800;
}

.xp-live-dot i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--xp-green);
    box-shadow: 0 0 0 4px rgba(0, 184, 104, 0.12);
}

.xp-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.xp-price-grid > div {
    display: grid;
    padding: 0.85rem;
    border: 1px solid var(--xp-line);
    border-radius: 13px;
    background: var(--xp-surface);
}

.xp-price-grid small {
    color: var(--xp-muted);
    font-size: 0.63rem;
}

.xp-price-grid strong {
    margin-top: 0.2rem;
    font-size: 0.91rem;
}

.xp-price-grid .xp-price-active {
    border-color: rgba(247, 171, 36, 0.5);
    background: #fff8eb;
}

.xp-offer-editor {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: var(--xp-surface);
}

.xp-offer-editor > label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--xp-body);
    font-size: 0.7rem;
    font-weight: 800;
}

.xp-offer-input {
    display: flex;
    align-items: center;
    border: 1px solid #cddde3;
    border-radius: 12px;
    background: var(--xp-white);
    transition: box-shadow 160ms ease, border-color 160ms ease;
}

.xp-offer-input:focus-within {
    border-color: var(--xp-cyan);
    box-shadow: 0 0 0 4px rgba(23, 186, 209, 0.11);
}

.xp-offer-input span {
    padding-left: 0.85rem;
    color: var(--xp-muted);
    font-size: 0.72rem;
    font-weight: 900;
}

.xp-offer-input input {
    width: 100%;
    padding: 0.75rem 0.85rem 0.75rem 0.5rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--xp-ink);
    font-size: 1.05rem;
    font-weight: 900;
}

.xp-offer-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.xp-offer-presets button,
.xp-counter-actions button {
    border: 1px solid var(--xp-line);
    border-radius: 9px;
    background: var(--xp-white);
    color: var(--xp-body);
    font-size: 0.66rem;
    font-weight: 850;
}

.xp-offer-presets button {
    padding: 0.52rem 0.25rem;
}

.xp-offer-presets button:hover,
.xp-offer-presets button.is-selected {
    border-color: var(--xp-teal);
    background: #eaf4f7;
    color: var(--xp-teal);
}

.xp-submit-offer {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.78rem 1rem;
    border: 0;
    border-radius: 11px;
    background: var(--xp-teal);
    color: var(--xp-white);
    font-size: 0.76rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(13, 100, 133, 0.18);
}

.xp-submit-offer:hover {
    background: var(--xp-teal-dark);
}

.xp-counter-panel,
.xp-agreement-panel {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 16px;
}

.xp-counter-panel {
    border: 1px solid #f0ddba;
    background: #fffaf0;
}

.xp-counter-driver > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--xp-yellow);
    color: var(--xp-ink);
}

.xp-counter-driver > div {
    display: grid;
    flex: 1;
}

.xp-counter-driver > div strong {
    font-size: 0.77rem;
}

.xp-counter-driver small {
    color: var(--xp-muted);
    font-size: 0.64rem;
}

.xp-counter-driver small i {
    color: var(--xp-yellow);
}

.xp-counter-driver > strong {
    font-size: 0.86rem;
}

.xp-counter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.xp-counter-actions button {
    padding: 0.68rem 0.55rem;
}

.xp-counter-actions button:last-child {
    border-color: var(--xp-green);
    background: var(--xp-green);
    color: var(--xp-white);
}

.xp-agreement-panel {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid #bce9d5;
    background: #eaf9f2;
}

.xp-agreement-panel[hidden],
.xp-counter-panel[hidden] {
    display: none;
}

.xp-agreement-check {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--xp-green);
    color: var(--xp-white);
    font-size: 1.3rem;
}

.xp-agreement-panel > div {
    display: grid;
}

.xp-agreement-panel small {
    color: var(--xp-green-dark);
    font-size: 0.67rem;
    font-weight: 850;
    text-transform: uppercase;
}

.xp-agreement-panel strong {
    font-size: 1.15rem;
}

.xp-agreement-panel p {
    margin: 0.1rem 0 0;
    color: #497160;
    font-size: 0.68rem;
}

.xp-demo-note {
    margin: 0.75rem 0 0;
    color: var(--xp-muted);
    font-size: 0.64rem;
    text-align: center;
}

.xp-partner-section {
    padding: 7rem 0 5.5rem;
    background: var(--xp-white);
}

.xp-partner-panel {
    position: relative;
    overflow: hidden;
    padding: 3.5rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 95% 0, rgba(23, 186, 209, 0.32), transparent 18rem),
        var(--xp-navy);
    color: var(--xp-white);
    box-shadow: 0 30px 70px rgba(33, 34, 46, 0.2);
}

.xp-partner-panel::before {
    position: absolute;
    right: -7rem;
    bottom: -10rem;
    width: 26rem;
    height: 26rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
}

.xp-partner-panel .row {
    position: relative;
    z-index: 1;
}

.xp-partner-panel p {
    max-width: 650px;
    margin: 1.2rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}

.xp-btn-white {
    border: 0;
    background: var(--xp-white);
    color: var(--xp-ink);
}

.xp-btn-white:hover {
    background: var(--xp-yellow);
    color: var(--xp-ink);
    transform: translateY(-2px);
}

.xp-operations-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.xp-operations-card > span {
    grid-column: 1 / -1;
    margin-bottom: 0.15rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.xp-operations-card > div {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
}

.xp-operations-card i {
    color: var(--xp-yellow);
}

.xp-city-scene {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: url("images/city-scene.png") center bottom / auto 300px repeat-x, #eef5ff;
}

.xp-city-scene::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 20px;
    background: var(--xp-navy);
    content: "";
}

.xp-vehicle-lane {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 107px;
    background-repeat: repeat-x;
}

.xp-vehicle-lane-one {
    background-image: url("images/vehicles-right.png");
    animation: xp-vehicles-right 48s linear infinite;
}

.xp-vehicle-lane-two {
    background-image: url("images/vehicles-fast.png");
    animation: xp-vehicles-right 24s linear infinite;
}

.xp-vehicle-lane-three {
    background-image: url("images/vehicles-left.png");
    animation: xp-vehicles-left 18s linear infinite;
}

@keyframes xp-vehicles-right {
    from { background-position: 0 0; }
    to { background-position: 3446px 0; }
}

@keyframes xp-vehicles-left {
    from { background-position: 3446px 0; }
    to { background-position: 0 0; }
}

.xp-footer {
    padding: 3.5rem 0 1.5rem;
    background: var(--xp-navy);
    color: var(--xp-white);
}

.xp-footer-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.xp-brand-footer {
    color: var(--xp-white);
}

.xp-brand-footer:hover {
    color: var(--xp-white);
}

.xp-footer-main p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.83rem;
}

.xp-footer-main nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
}

.xp-footer-main nav a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.74rem;
    font-weight: 750;
    text-decoration: none;
}

.xp-footer-main nav a:hover {
    color: var(--xp-yellow);
}

.xp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.4rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
}

@media (max-width: 1199.98px) {
    .xp-hero {
        min-height: 680px;
        padding-top: 4.7rem;
    }

    .xp-hero h1 {
        font-size: clamp(3.1rem, 5.8vw, 4.85rem);
    }

    .xp-hero-visual {
        min-height: 500px;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .xp-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .xp-footer-main {
        grid-template-columns: auto 1fr;
    }

    .xp-footer-main nav {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .xp-header .navbar-collapse {
        margin-top: 0.7rem;
        padding: 0.7rem;
        border: 1px solid var(--xp-line);
        border-radius: 14px;
        background: var(--xp-white);
        box-shadow: var(--xp-card-shadow);
    }

    .xp-header .nav-link {
        margin: 0;
        padding: 0.72rem 0.8rem !important;
    }

    .xp-header .nav-link::after {
        display: none;
    }

    .xp-nav-cta {
        width: 100%;
        margin-top: 0.35rem;
    }

    .xp-hero {
        padding-top: 4rem;
    }

    .xp-hero h1 {
        font-size: clamp(3.6rem, 10vw, 5.5rem);
    }

    .xp-hero-copy {
        max-width: 680px;
    }

    .xp-hero-visual {
        max-width: 620px;
        margin: 0 auto;
    }

    .xp-driver-chip {
        right: 1rem;
    }

    .xp-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xp-phone-stage {
        min-height: 600px;
    }

    .xp-promo-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .xp-negotiation {
        max-width: none;
        margin-left: 0;
    }

    .xp-partner-panel {
        padding: 2.7rem;
    }
}

@media (max-width: 767.98px) {
    .xp-header .navbar {
        min-height: 70px;
    }

    .xp-brand-mark {
        width: 38px;
        height: 38px;
    }

    .xp-brand-word {
        font-size: 1.25rem;
    }

    .xp-hero {
        padding: 3.5rem 0 7rem;
    }

    .xp-hero h1 {
        font-size: clamp(3.05rem, 14vw, 4.6rem);
    }

    .xp-hero-copy {
        font-size: 1rem;
    }

    .xp-hero-visual {
        min-height: 500px;
        padding-top: 3.5rem;
    }

    .xp-booking-card {
        max-width: 365px;
    }

    .xp-services,
    .xp-app-section,
    .xp-offer-section,
    .xp-partner-section {
        padding-top: 5.2rem;
        padding-bottom: 5.2rem;
    }

    .xp-section-heading {
        display: grid;
        margin-bottom: 2rem;
    }

    .xp-section-heading > p {
        max-width: none;
    }

    .xp-service-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: -0.55rem 0 0.85rem;
        color: var(--xp-teal);
        font-size: 0.72rem;
        font-weight: 850;
    }

    .xp-service-swipe-hint i {
        display: grid;
        width: 34px;
        height: 28px;
        place-items: center;
        border-radius: 999px;
        background: #e6f4f8;
        animation: xp-swipe-hint 1.8s ease-in-out infinite;
    }

    .xp-service-grid {
        display: flex;
        gap: 0.8rem;
        margin-right: -12px;
        margin-left: -12px;
        padding: 0.35rem 12px 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-left: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .xp-service-grid::-webkit-scrollbar {
        display: none;
    }

    .xp-service-grid:focus-visible {
        border-radius: 18px;
        outline: 3px solid rgba(23, 186, 209, 0.3);
        outline-offset: 3px;
    }

    /* Mobile service card: image above content while the rail swipes horizontally. */
    .xp-service-card {
        display: flex;
        flex: 0 0 min(84vw, 340px);
        height: 500px;
        min-height: 500px;
        max-height: 500px;
        flex-direction: column;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .xp-service-card:hover {
        transform: none;
    }

    .xp-service-image {
        height: 240px;
        min-height: 240px;
        flex: 0 0 240px;
    }

    .xp-service-content {
        display: flex;
        min-width: 0;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
        overflow: hidden;
        padding: 1.55rem 1.45rem 1.45rem;
    }

    .xp-service-content a {
        margin-top: auto;
    }

    .xp-promo-row {
        grid-template-columns: 1fr;
    }

    .xp-promo-row article {
        height: 215px;
    }

    .xp-partner-panel {
        padding: 2.1rem;
        border-radius: 22px;
    }

    .xp-city-scene {
        height: 235px;
        background-size: auto 235px;
    }

    .xp-footer-main {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .xp-footer-main nav {
        grid-column: auto;
    }
}

@keyframes xp-swipe-hint {
    0%, 100% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
}

@media (max-width: 575.98px) {
    .xp-location-pill {
        font-size: 0.65rem;
    }

    .xp-hero-actions {
        display: grid;
    }

    .xp-btn-primary,
    .xp-btn-light {
        width: 100%;
    }

    .xp-trust-row {
        display: grid;
    }

    .xp-hero-visual {
        min-height: 460px;
        margin-right: -0.25rem;
        margin-left: -0.25rem;
        padding: 2.8rem 0.7rem 1rem;
    }

    .xp-hero-visual::before {
        inset: 6% 0 2%;
    }

    .xp-booking-card {
        width: calc(100% - 1rem);
        padding: 1rem;
        border-radius: 20px;
    }

    .xp-driver-chip {
        right: 0;
        bottom: 0.2rem;
        min-width: 205px;
    }

    .xp-service-grid {
        grid-template-columns: 1fr;
    }

    .xp-service-number {
        top: -1.15rem;
        right: 1.15rem;
        width: 42px;
        height: 42px;
        border-width: 4px;
    }

    .xp-service-content p {
        display: -webkit-box;
        min-height: auto;
        overflow: hidden;
        padding-right: 0.25rem;
        font-size: 0.77rem;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .xp-phone-stage {
        min-height: 570px;
    }

    .xp-phone-stage::before {
        width: 390px;
        height: 390px;
    }

    .xp-phone {
        width: 270px;
    }

    .xp-phone-screen {
        min-height: 520px;
    }

    .xp-bubble-wallet {
        top: 18%;
        left: -0.5rem;
    }

    .xp-bubble-support {
        right: -0.5rem;
        bottom: 15%;
    }

    .xp-price-grid {
        grid-template-columns: 1fr;
    }

    .xp-price-grid > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .xp-offer-presets {
        grid-template-columns: repeat(2, 1fr);
    }

    .xp-counter-driver {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .xp-counter-driver > div {
        min-width: calc(100% - 60px);
    }

    .xp-counter-driver > strong {
        margin-left: 56px;
    }

    .xp-counter-actions {
        grid-template-columns: 1fr;
    }

    .xp-negotiation-head {
        align-items: flex-start;
    }

    .xp-live-dot {
        white-space: nowrap;
    }

    .xp-partner-panel {
        margin-right: -0.25rem;
        margin-left: -0.25rem;
        padding: 1.65rem;
    }

    .xp-operations-card {
        grid-template-columns: 1fr;
    }

    .xp-operations-card > span {
        grid-column: auto;
    }

    .xp-footer-main nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .xp-footer-bottom {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .xp-hero-orbit,
    .xp-driver-chip,
    .xp-phone-bubble,
    .xp-service-swipe-hint i,
    .xp-vehicle-lane {
        animation: none !important;
    }

    .xp-service-card,
    .xp-service-image img,
    .xp-promo-row img,
    .xp-btn-primary,
    .xp-btn-light,
    .xp-btn-white {
        transition: none !important;
    }
}

/* XPEEDIFY_HOME_PRIMARY_ACTIONS_V1_START */

/* =========================================================
   ANIMATED OPENING HERO
   ========================================================= */

.xp-city-hero {
    position: relative;
    min-height: clamp(590px, 76vh, 780px);
    height: auto;
    display: flex;
    align-items: stretch;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(247, 251, 255, .98) 0%,
            rgba(247, 251, 255, .93) 36%,
            rgba(238, 247, 255, .54) 62%,
            rgba(238, 247, 255, .10) 100%
        ),
        url("images/city-scene.png") center bottom / auto 430px repeat-x,
        #eef5ff;
}

.xp-city-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(64, 199, 235, .22),
            transparent 32%
        ),
        radial-gradient(
            circle at 14% 18%,
            rgba(255, 185, 40, .10),
            transparent 26%
        );
    content: "";
    pointer-events: none;
}

.xp-city-hero::after {
    height: 22px;
    z-index: 4;
}

.xp-city-hero-container {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 5.5rem;
    padding-bottom: 12rem;
}

.xp-city-hero-content {
    width: min(680px, 100%);
}

.xp-city-hero-location {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.3rem;
    padding: .65rem .95rem;
    border: 1px solid rgba(13, 100, 133, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 12px 36px rgba(10, 50, 70, .07);
    color: var(--xp-blue);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.xp-city-hero-dot {
    width: 5px;
    height: 5px;
    display: inline-block;
    border-radius: 50%;
    background: var(--xp-yellow);
}

.xp-city-hero-kicker {
    margin: 0 0 .7rem;
    color: var(--xp-blue);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.xp-city-hero h1 {
    max-width: 650px;
    margin: 0;
    color: var(--xp-navy);
    font-size: clamp(4rem, 6.4vw, 7rem);
    font-weight: 950;
    line-height: .88;
    letter-spacing: -.07em;
}

.xp-city-hero h1 span {
    color: var(--xp-blue);
}

.xp-city-hero-copy {
    max-width: 610px;
    margin: 1.8rem 0 0;
    color: rgba(8, 42, 58, .74);
    font-size: clamp(1rem, 1.3vw, 1.17rem);
    line-height: 1.8;
}

.xp-city-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.8rem;
}

.xp-city-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.65rem;
    color: rgba(8, 42, 58, .74);
    font-size: .76rem;
    font-weight: 800;
}

.xp-city-hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.xp-city-hero-proof i {
    color: #08ad70;
}

.xp-city-hero .xp-vehicle-lane {
    z-index: 3;
    bottom: 17px;
}


/* =========================================================
   FOUR PRIMARY ACTIONS
   ========================================================= */

.xp-primary-actions {
    position: relative;
    padding: clamp(4.4rem, 7vw, 7rem) 0;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(65, 190, 229, .08),
            transparent 36%
        ),
        #ffffff;
}

.xp-primary-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
    align-items: end;
    gap: 3rem;
    margin-bottom: 2.2rem;
}

.xp-primary-heading h2 {
    margin: .45rem 0 0;
    color: var(--xp-navy);
    font-size: clamp(2.8rem, 4.6vw, 5rem);
    font-weight: 950;
    line-height: .94;
    letter-spacing: -.06em;
}

.xp-primary-heading > p {
    margin: 0;
    color: rgba(8, 42, 58, .62);
    font-size: 1rem;
    line-height: 1.75;
}

.xp-primary-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.xp-primary-action-card {
    min-width: 0;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    padding: 1.55rem;
    border: 1px solid rgba(9, 72, 99, .10);
    border-radius: 28px;
    background: #f8fbfd;
    box-shadow: 0 22px 60px rgba(11, 58, 78, .07);
    color: var(--xp-navy);
    text-decoration: none;
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.xp-primary-action-card:hover,
.xp-primary-action-card:focus-visible {
    color: var(--xp-navy);
    border-color: rgba(13, 100, 133, .25);
    box-shadow: 0 32px 80px rgba(11, 58, 78, .14);
    transform: translateY(-7px);
}

.xp-primary-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.xp-primary-number {
    color: rgba(8, 42, 58, .32);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.xp-primary-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(11, 58, 78, .08);
    color: var(--xp-blue);
    font-size: 1.45rem;
}

.xp-primary-card-copy {
    margin-top: 3rem;
}

.xp-primary-label {
    color: var(--xp-blue);
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .15em;
}

.xp-primary-card-copy h3 {
    margin: .4rem 0 .7rem;
    color: var(--xp-navy);
    font-size: clamp(2.15rem, 3vw, 3.25rem);
    font-weight: 950;
    letter-spacing: -.055em;
}

.xp-primary-card-copy > p {
    min-height: 52px;
    margin: 0;
    color: rgba(8, 42, 58, .62);
    font-size: .9rem;
    line-height: 1.65;
}

.xp-primary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1.25rem;
}

.xp-primary-tags span {
    display: inline-flex;
    padding: .42rem .62rem;
    border: 1px solid rgba(13, 100, 133, .10);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: rgba(8, 42, 58, .69);
    font-size: .67rem;
    font-weight: 800;
}

.xp-primary-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--xp-navy);
    font-size: .82rem;
    font-weight: 900;
}

.xp-primary-open i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--xp-navy);
    color: #ffffff;
    transition: transform .25s ease;
}

.xp-primary-action-card:hover .xp-primary-open i {
    transform: rotate(45deg);
}

.xp-primary-ride {
    background:
        linear-gradient(
            150deg,
            rgba(39, 181, 223, .12),
            rgba(255, 255, 255, .98) 48%
        );
}

.xp-primary-send {
    background:
        linear-gradient(
            150deg,
            rgba(255, 183, 35, .14),
            rgba(255, 255, 255, .98) 48%
        );
}

.xp-primary-order {
    background:
        linear-gradient(
            150deg,
            rgba(8, 173, 112, .12),
            rgba(255, 255, 255, .98) 48%
        );
}

.xp-primary-book {
    background:
        linear-gradient(
            150deg,
            rgba(13, 100, 133, .10),
            rgba(255, 255, 255, .98) 48%
        );
}


/* =========================================================
   BALANCED FOOTER
   ========================================================= */

.xp-footer-main {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.xp-footer-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
}

.xp-footer-identity p {
    margin: 0;
}

.xp-footer-main nav {
    justify-content: flex-end;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199.98px) {

    .xp-primary-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xp-primary-action-card {
        min-height: 330px;
    }
}

@media (max-width: 991.98px) {

    .xp-city-hero {
        min-height: 650px;
        background:
            linear-gradient(
                180deg,
                rgba(247, 251, 255, .98) 0%,
                rgba(247, 251, 255, .90) 52%,
                rgba(238, 247, 255, .18) 100%
            ),
            url("images/city-scene.png") center bottom / auto 320px repeat-x,
            #eef5ff;
    }

    .xp-city-hero-container {
        align-items: flex-start;
        padding-top: 4rem;
        padding-bottom: 12rem;
    }

    .xp-city-hero h1 {
        font-size: clamp(3.7rem, 10vw, 6rem);
    }

    .xp-primary-heading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {

    .xp-city-hero {
        min-height: 610px;
        background:
            linear-gradient(
                180deg,
                rgba(247, 251, 255, 1) 0%,
                rgba(247, 251, 255, .93) 52%,
                rgba(238, 247, 255, .14) 100%
            ),
            url("images/city-scene.png") center bottom / auto 245px repeat-x,
            #eef5ff;
    }

    .xp-city-hero-container {
        padding-top: 2.5rem;
        padding-bottom: 10rem;
    }

    .xp-city-hero-location {
        gap: .4rem;
        margin-bottom: 1rem;
        padding: .55rem .7rem;
        font-size: .61rem;
    }

    .xp-city-hero h1 {
        font-size: clamp(3.15rem, 16vw, 4.55rem);
        line-height: .9;
    }

    .xp-city-hero-copy {
        margin-top: 1.2rem;
        font-size: .91rem;
        line-height: 1.65;
    }

    .xp-city-hero-actions {
        gap: .6rem;
        margin-top: 1.25rem;
    }

    .xp-city-hero-actions .btn {
        flex: 1 1 150px;
    }

    .xp-city-hero-proof {
        gap: .7rem 1rem;
        margin-top: 1.15rem;
        font-size: .66rem;
    }

    .xp-city-hero .xp-vehicle-lane {
        bottom: 17px;
        height: 90px;
    }

    .xp-primary-actions {
        padding: 3.8rem 0;
    }

    .xp-primary-heading {
        margin-bottom: 1.5rem;
    }

    .xp-primary-heading h2 {
        font-size: 2.75rem;
    }

    .xp-primary-heading > p {
        font-size: .88rem;
    }

    .xp-primary-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .xp-primary-action-card {
        min-height: 295px;
        padding: 1rem;
        border-radius: 20px;
    }

    .xp-primary-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 1.05rem;
    }

    .xp-primary-card-copy {
        margin-top: 1.7rem;
    }

    .xp-primary-card-copy h3 {
        font-size: 1.8rem;
    }

    .xp-primary-card-copy > p {
        min-height: 0;
        font-size: .75rem;
        line-height: 1.5;
    }

    .xp-primary-tags {
        gap: .3rem;
        margin-top: .85rem;
    }

    .xp-primary-tags span {
        padding: .32rem .46rem;
        font-size: .58rem;
    }

    .xp-primary-open {
        padding-top: 1rem;
        font-size: .68rem;
    }

    .xp-primary-open i {
        width: 31px;
        height: 31px;
    }

    /*
       TWO EQUAL, CENTERED MOBILE FOOTER HALVES
    */

    .xp-footer {
        padding-top: 2.6rem;
    }

    .xp-footer-main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 1rem;
        text-align: center;
    }

    .xp-footer-identity {
        min-width: 0;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
    }

    .xp-brand-footer {
        justify-content: center;
    }

    .xp-footer-identity p {
        font-size: .72rem;
        line-height: 1.55;
    }

    .xp-footer-main nav {
        min-width: 0;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-content: start;
        gap: .62rem;
        text-align: center;
    }

    .xp-footer-main nav a {
        margin: 0;
        font-size: .71rem;
        text-align: center;
    }

    .xp-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .35rem;
        text-align: center;
    }
}

/* XPEEDIFY_HOME_PRIMARY_ACTIONS_V1_END */

/* XPEEDIFY_COMPACT_HERO_V2_START */

.xp-city-hero-content {
    width: min(560px, 100%);
}

.xp-city-hero-container {
    padding-top: 3rem;
    padding-bottom: 10.5rem;
}

.xp-city-hero h1 {
    font-size: clamp(3.7rem, 5.5vw, 5.9rem);
}

.xp-city-hero-copy {
    margin-top: .9rem;
}

.xp-city-hero-actions {
    margin-top: 1.15rem;
}

.xp-city-hero-proof {
    margin-top: .95rem;
}

@media (max-width: 575.98px) {

    .xp-city-hero-container {
        padding-top: 1.6rem;
        padding-bottom: 9.25rem;
    }

    .xp-city-hero h1 {
        font-size: clamp(2.85rem, 13vw, 3.75rem);
    }

    .xp-city-hero-copy {
        margin-top: .65rem;
    }

    .xp-city-hero-actions {
        margin-top: .9rem;
    }

    .xp-city-hero-proof {
        margin-top: .8rem;
    }
}

/* XPEEDIFY_COMPACT_HERO_V2_END */

/* =========================================================
   XPEEDIFY VIEWPORT / HORIZONTAL OVERFLOW FIX
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.xp-public-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.xp-header,
#main-content,
.xp-city-hero,
.xp-primary-actions,
.xp-app-section,
.xp-offer-section,
.xp-partner-section,
.xp-footer {
    width: 100%;
    max-width: 100%;
}

.xp-city-hero {
    overflow-x: hidden;
}

.xp-city-hero-container,
.xp-city-hero-content,
.xp-primary-heading,
.xp-primary-action-grid,
.xp-primary-action-card,
.xp-app-section .container,
.xp-offer-section .container,
.xp-partner-section .container,
.xp-footer .container,
.xp-footer-main,
.xp-footer-main > *,
.xp-negotiation,
.xp-operations-card {
    min-width: 0;
    max-width: 100%;
}

.xp-city-hero h1,
.xp-city-hero-copy {
    max-width: 100%;
}

.xp-primary-tags {
    max-width: 100%;
}

.xp-primary-tags span {
    max-width: 100%;
    white-space: normal;
}

@media (max-width: 575.98px) {

    /*
       This old negative margin can physically push
       the homepage wider than the viewport.
    */
    .xp-partner-panel {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
    }

    /*
       Do not allow this status badge to force
       the negotiation card wider than the phone.
    */
    .xp-live-dot {
        max-width: 100%;
        white-space: normal !important;
    }

    .xp-city-hero-content {
        width: 100%;
    }

    .xp-city-hero h1 {
        max-width: 100%;
        overflow-wrap: normal;
    }

    .xp-city-hero-actions {
        width: 100%;
        max-width: 100%;
    }

    .xp-city-hero-actions .btn {
        min-width: 0;
    }

    .xp-primary-action-grid {
        width: 100%;
        max-width: 100%;
    }

    .xp-primary-action-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .xp-primary-card-copy,
    .xp-primary-open {
        min-width: 0;
        max-width: 100%;
    }

    .xp-footer-main {
        width: 100%;
        max-width: 100%;
    }

    .xp-footer-identity,
    .xp-footer-main nav {
        min-width: 0;
        max-width: 100%;
    }
}

/* XPEEDIFY_VIEWPORT_OVERFLOW_FIX_END */

/* =========================================================
   XPEEDIFY REAL SERVICE CARD VISUAL TEST V2
   CSS ONLY — NO BLADE CHANGES
   ========================================================= */

.xp-primary-action-card {
    overflow: hidden;
}

.xp-primary-action-card::before {
    content: "";
    width: 100%;
    display: block;
    flex: 0 0 auto;
    aspect-ratio: 4 / 3;
    margin: .9rem 0 1.2rem;
    border-radius: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    box-shadow:
        inset 0 0 0 1px rgba(6,43,59,.05),
        0 12px 30px rgba(6,43,59,.06);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.xp-primary-ride::before {
    background-image:
        url("/assets/pages/home/service-cards/ride-skyblue.png");
}

.xp-primary-send::before {
    background-image:
        url("/assets/pages/home/service-cards/send-skyblue.png");
}

.xp-primary-order::before {
    background-image:
        url("/assets/pages/home/service-cards/order-skyblue.png");
}

.xp-primary-book::before {
    background-image:
        url("/assets/pages/home/service-cards/book-skyblue.png");
}

.xp-primary-action-card:hover::before {
    transform: scale(1.018);

    box-shadow:
        inset 0 0 0 1px rgba(6,43,59,.04),
        0 16px 36px rgba(6,43,59,.10);
}

/*
   Existing card heading used to start much lower because
   there was no image. Bring the copy closer to the image.
*/
.xp-primary-card-copy {
    margin-top: .35rem !important;
}

@media (max-width: 1199.98px) {

    .xp-primary-action-card {
        min-height: 0 !important;
    }
}

@media (max-width: 575.98px) {

    .xp-primary-action-card::before {
        aspect-ratio: 4 / 3;
        margin: .55rem 0 .75rem;
        border-radius: 14px;
    }

    .xp-primary-card-copy {
        margin-top: .1rem !important;
    }
}

/* XPEEDIFY_REAL_SERVICE_CARD_VISUAL_TEST_V2_END */

/* =========================================================
   XPEEDIFY — STICKY NAV + PREMIUM SERVICE CARD SPARKLE
   ========================================================= */


/* ---------------------------------------------------------
   STICKY TOP NAV
   --------------------------------------------------------- */

.xp-header {
    position: sticky;
    top: 0;
    z-index: 1050;

    width: 100%;

    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(11, 93, 145, .08);

    box-shadow:
        0 8px 28px rgba(5, 45, 72, .055);

    transition:
        background-color .25s ease,
        box-shadow .25s ease;
}


/* Keep anchored sections visible below sticky navigation */
#services,
#app,
#ride-offer,
#partners {
    scroll-margin-top: 95px;
}


/* ---------------------------------------------------------
   SERVICE CARD PREMIUM SPARKLE
   --------------------------------------------------------- */

.xp-primary-action-card {
    position: relative;

    box-shadow:
        0 12px 30px rgba(8, 62, 96, .07),
        0 0 0 1px rgba(18, 137, 198, .05);

    animation:
        xp-service-card-sparkle 4.8s ease-in-out infinite;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


/* Give each card slightly different sparkle timing */
.xp-primary-ride {
    animation-delay: 0s;
}

.xp-primary-send {
    animation-delay: .65s;
}

.xp-primary-order {
    animation-delay: 1.3s;
}

.xp-primary-book {
    animation-delay: 1.95s;
}


/* Slight premium lift on hover */
.xp-primary-action-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 44px rgba(8, 62, 96, .13),
        0 0 0 1px rgba(23, 153, 215, .18),
        0 0 18px rgba(0, 159, 227, .12),
        0 0 30px rgba(255, 190, 35, .08);
}


/* Main sparkle pulse */
@keyframes xp-service-card-sparkle {

    0%,
    100% {
        box-shadow:
            0 12px 30px rgba(8, 62, 96, .07),
            0 0 0 1px rgba(18, 137, 198, .06),
            0 0 0 rgba(0, 170, 230, 0),
            0 0 0 rgba(255, 190, 35, 0);
    }

    25% {
        box-shadow:
            0 14px 34px rgba(8, 62, 96, .08),
            0 0 0 1px rgba(18, 137, 198, .12),
            -7px -4px 17px rgba(0, 174, 235, .10),
            8px 7px 18px rgba(255, 188, 30, .055);
    }

    50% {
        box-shadow:
            0 16px 38px rgba(8, 62, 96, .09),
            0 0 0 1px rgba(40, 177, 226, .16),
            8px -5px 20px rgba(0, 174, 235, .10),
            -6px 8px 19px rgba(255, 188, 30, .065);
    }

    75% {
        box-shadow:
            0 14px 34px rgba(8, 62, 96, .08),
            0 0 0 1px rgba(18, 137, 198, .11),
            -5px 7px 17px rgba(0, 174, 235, .085),
            7px -4px 18px rgba(255, 188, 30, .05);
    }
}


/* Keep the 3D picture itself calm */
.xp-primary-action-card::before {
    box-shadow:
        inset 0 0 0 1px rgba(6, 43, 59, .035),
        0 10px 24px rgba(6, 43, 59, .045);
}


/* Mobile: lighter effect */
@media (max-width: 575.98px) {

    .xp-header {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .xp-primary-action-card {
        animation-duration: 5.8s;
    }

    .xp-primary-action-card:hover {
        transform: translateY(-2px);
    }
}


/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .xp-primary-action-card {
        animation: none !important;
    }

    .xp-primary-action-card:hover {
        transform: none;
    }
}

/* XPEEDIFY_STICKY_NAV_SPARKLE_END */

/* =========================================================
   XPEEDIFY — TRUE FIXED TOP NAV
   ========================================================= */

:root {
    --xp-fixed-header-height: 78px;
}

/*
   FIXED means attached directly to the browser viewport.
   It will no longer move with the page.
*/
.xp-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;

    width: 100% !important;
    z-index: 9999 !important;

    background: rgba(255, 255, 255, .94) !important;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(11, 93, 145, .08);

    box-shadow:
        0 8px 28px rgba(5, 45, 72, .08);
}

/*
   Because a fixed header leaves normal document flow,
   reserve its original space so the hero is not hidden.
*/
body {
    padding-top: var(--xp-fixed-header-height);
}

/*
   Anchored sections must stop below the fixed nav.
*/
#launch,
#services,
#app,
#ride-offer,
#partners {
    scroll-margin-top: calc(var(--xp-fixed-header-height) + 16px);
}


@media (max-width: 991.98px) {

    :root {
        --xp-fixed-header-height: 72px;
    }
}


@media (max-width: 575.98px) {

    :root {
        --xp-fixed-header-height: 68px;
    }

    .xp-header {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

/* XPEEDIFY_TRUE_FIXED_NAV_END */

/* =========================================================
   XPEEDIFY — ONE CARD SERVICE SLIDER
   ========================================================= */

.xp-primary-action-grid {
    display: flex !important;
    grid-template-columns: none !important;

    width: min(760px, 100%);
    max-width: 100%;

    margin-left: auto;
    margin-right: auto;

    gap: 0 !important;

    overflow-x: auto;
    overflow-y: visible;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.xp-primary-action-grid::-webkit-scrollbar {
    display: none;
}

.xp-primary-action-card {
    flex: 0 0 100% !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    scroll-snap-align: center;
    scroll-snap-stop: always;

    box-sizing: border-box;
}


/* Make the single card feel intentional, not stretched */

.xp-primary-action-card {
    padding: 1.5rem;
}

.xp-primary-action-card::before {
    width: 100%;
    aspect-ratio: 16 / 10;

    margin-top: 0;
    margin-bottom: 1.25rem;

    background-size: cover;
    background-position: center;

    border-radius: 22px;
}


/* Slider navigation */

.xp-service-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: .75rem;

    margin-top: 1.35rem;
}

.xp-service-slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 1px solid rgba(14, 111, 165, .12);
    border-radius: 50%;

    background: #fff;

    color: #086fa5;

    box-shadow:
        0 8px 22px rgba(4, 54, 84, .08);

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.xp-service-slider-arrow:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(4, 54, 84, .13);
}


.xp-service-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: .45rem;
}

.xp-service-slider-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: rgba(6, 91, 139, .20);

    transition:
        width .25s ease,
        background-color .25s ease,
        transform .25s ease;
}

.xp-service-slider-dot.is-active {
    width: 26px;

    background: #0b88c8;
}


/* Tablet */

@media (max-width: 991.98px) {

    .xp-primary-action-grid {
        width: min(680px, 100%);
    }
}


/* Phone */

@media (max-width: 575.98px) {

    .xp-primary-action-grid {
        width: 100%;
    }

    .xp-primary-action-card {
        padding: 1rem;
    }

    .xp-primary-action-card::before {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
        margin-bottom: .85rem;
    }

    .xp-service-slider-controls {
        margin-top: 1rem;
    }

    .xp-service-slider-arrow {
        width: 38px;
        height: 38px;
    }
}

/* XPEEDIFY_ONE_CARD_SERVICE_SLIDER_END */

/* =========================================================
   XPEEDIFY — RESPONSIVE SERVICE SLIDER V2
   Desktop/tablet = 2 cards
   Small phone = 1 card
   ========================================================= */


/* ---------------------------------------------------------
   DESKTOP + TABLET
   --------------------------------------------------------- */

@media (min-width: 768px) {

    .xp-primary-action-grid {
        width: min(1120px, 100%) !important;
        max-width: 100% !important;

        gap: 1.25rem !important;

        overflow-x: auto;
        scroll-padding-inline: 0;
    }

    .xp-primary-action-card {
        flex: 0 0 calc((100% - 1.25rem) / 2) !important;

        width: calc((100% - 1.25rem) / 2) !important;
        min-width: calc((100% - 1.25rem) / 2) !important;
        max-width: calc((100% - 1.25rem) / 2) !important;

        scroll-snap-align: start;
    }


    /*
       Slightly reduce image height now that two
       premium cards share the available width.
    */

    .xp-primary-action-card::before {
        aspect-ratio: 4 / 3 !important;
    }


    /* ---------------------------------------------
       SERVICE SUB-LABELS / TAGS
       Car · Boda · Bajaj
       Food · Grocery etc.
       --------------------------------------------- */

    .xp-primary-tags {
        display: flex;
        flex-wrap: wrap;
        gap: .55rem;

        margin-top: 1rem;
    }

    .xp-primary-tags span {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-height: 34px;

        padding: .48rem .8rem;

        font-size: .82rem !important;
        line-height: 1.15;
        font-weight: 750;

        letter-spacing: .01em;

        border-radius: 999px;
    }
}


/* ---------------------------------------------------------
   LARGE DESKTOP
   --------------------------------------------------------- */

@media (min-width: 1200px) {

    .xp-primary-action-grid {
        width: min(1160px, 100%) !important;
        gap: 1.5rem !important;
    }

    .xp-primary-action-card {
        flex-basis: calc((100% - 1.5rem) / 2) !important;

        width: calc((100% - 1.5rem) / 2) !important;
        min-width: calc((100% - 1.5rem) / 2) !important;
        max-width: calc((100% - 1.5rem) / 2) !important;

        padding: 1.6rem;
    }

    .xp-primary-tags span {
        min-height: 36px;

        padding: .52rem .9rem;

        font-size: .88rem !important;
    }
}


/* ---------------------------------------------------------
   SMALL PHONE
   Keep one card per slide
   --------------------------------------------------------- */

@media (max-width: 767.98px) {

    .xp-primary-action-grid {
        width: 100% !important;
        gap: 0 !important;
    }

    .xp-primary-action-card {
        flex: 0 0 100% !important;

        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        scroll-snap-align: center;
    }


    /*
       Still improve readability on mobile,
       but don't make chips too large.
    */

    .xp-primary-tags {
        display: flex;
        flex-wrap: wrap;

        gap: .4rem;

        margin-top: .75rem;
    }

    .xp-primary-tags span {
        padding: .42rem .68rem;

        font-size: .76rem !important;
        font-weight: 750;
        line-height: 1.15;
    }
}

/* XPEEDIFY_RESPONSIVE_SERVICE_SLIDER_V2_END */

/* =========================================================
   XPEEDIFY — SKYBLUE CARD ART FINAL FIT
   Image touches top + left + right card edges
   ========================================================= */

.xp-primary-action-card {
    overflow: hidden !important;
}

/*
   Desktop/tablet cards currently have internal padding.
   Pull only the artwork outward while leaving the service
   title, tags and actions comfortably padded.
*/
@media (min-width: 1200px) {

    .xp-primary-action-card::before {
        width: calc(100% + 3.2rem) !important;

        margin-top: -1.6rem !important;
        margin-right: -1.6rem !important;
        margin-bottom: 1.25rem !important;
        margin-left: -1.6rem !important;

        border-radius: 0 !important;

        background-size: cover !important;
        background-position: center center !important;

        box-shadow: none !important;
    }
}


/* Medium/tablet two-card layout */

@media (min-width: 768px) and (max-width: 1199.98px) {

    .xp-primary-action-card::before {
        width: calc(100% + 3rem) !important;

        margin-top: -1.5rem !important;
        margin-right: -1.5rem !important;
        margin-bottom: 1.15rem !important;
        margin-left: -1.5rem !important;

        border-radius: 0 !important;

        background-size: cover !important;
        background-position: center center !important;

        box-shadow: none !important;
    }
}


/* Phone remains one card but artwork also fills its header */

@media (max-width: 767.98px) {

    .xp-primary-action-card::before {
        width: calc(100% + 2rem) !important;

        margin-top: -1rem !important;
        margin-right: -1rem !important;
        margin-bottom: .9rem !important;
        margin-left: -1rem !important;

        border-radius: 0 !important;

        background-size: cover !important;
        background-position: center center !important;

        box-shadow: none !important;
    }
}

/* XPEEDIFY_SKYBLUE_CARD_ART_FINAL_FIT_END */

/* =========================================================
   XPEEDIFY — APPROVED SKY-BLUE LOGO
   ========================================================= */

.xp-brand-approved {
    display: inline-flex !important;
    align-items: center;
    width: 232px;
    height: 54px;
    overflow: hidden;
    flex: 0 0 auto;
}

.xp-approved-logo {
    display: block;
    width: 232px;
    height: 54px;

    background-image:
        url("/assets/brand/xpeedify-logo.png");

    /*
       The source PNG has large white margins.
       Enlarging the background crops those margins
       without altering the approved artwork.
    */
    background-size: 330px auto;
    background-repeat: no-repeat;
    background-position: center 52%;
}

@media (max-width: 575.98px) {

    .xp-brand-approved {
        width: 184px;
        height: 46px;
    }

    .xp-approved-logo {
        width: 184px;
        height: 46px;

        background-size: 270px auto;
        background-position: center 52%;
    }
}

/* XPEEDIFY_APPROVED_SKYBLUE_LOGO_END */

/* =========================================================
   XPEEDIFY — APPROVED LOGO PROPORTION V2
   ========================================================= */


/* --------------------------
   TOP NAV
   -------------------------- */

.xp-brand-approved {
    width: 198px !important;
    height: 46px !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.xp-approved-logo {
    width: 198px !important;
    height: 46px !important;

    display: block;

    background-image:
        url("/assets/brand/xpeedify-logo.png");

    background-repeat: no-repeat;

    /*
       Crops the large white space in the original PNG
       while keeping the logo's actual shape proportional.
    */
    background-size: 286px auto !important;
    background-position: center 52% !important;
}


/* --------------------------
   FOOTER
   -------------------------- */

.xp-footer-approved-brand {
    width: 212px !important;
    height: 50px !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 0 !important;

    overflow: hidden;

    border-radius: 12px;

    background: rgba(255, 255, 255, .98);
}

.xp-footer-approved-logo {
    display: block;

    width: 212px;
    height: 50px;

    background-image:
        url("/assets/brand/xpeedify-logo.png");

    background-repeat: no-repeat;
    background-size: 300px auto;
    background-position: center 52%;
}


/* --------------------------
   MOBILE
   -------------------------- */

@media (max-width: 575.98px) {

    .xp-brand-approved {
        width: 166px !important;
        height: 40px !important;
    }

    .xp-approved-logo {
        width: 166px !important;
        height: 40px !important;

        background-size: 242px auto !important;
    }

    .xp-footer-approved-brand {
        width: 184px !important;
        height: 44px !important;
    }

    .xp-footer-approved-logo {
        width: 184px;
        height: 44px;

        background-size: 265px auto;
    }
}

/* XPEEDIFY_APPROVED_LOGO_PROPORTION_V2_END */

/* =========================================================
   XPEEDIFY — FULL WORDMARK VISIBILITY FIX
   Prevent final Y from being cropped
   ========================================================= */

/* Homepage navigation */
.xp-brand-approved {
    width: 202px !important;
    height: 46px !important;
}

.xp-approved-logo {
    width: 202px !important;
    height: 46px !important;

    /* Zoom out enough to expose complete XPEEDIFY */
    background-size: 238px auto !important;
    background-position: center center !important;
}


/* Homepage footer */
.xp-footer-approved-brand {
    width: 216px !important;
    height: 50px !important;
}

.xp-footer-approved-logo {
    width: 216px !important;
    height: 50px !important;

    background-size: 252px auto !important;
    background-position: center center !important;
}


@media (max-width: 575.98px) {

    .xp-brand-approved {
        width: 172px !important;
        height: 40px !important;
    }

    .xp-approved-logo {
        width: 172px !important;
        height: 40px !important;

        background-size: 200px auto !important;
        background-position: center center !important;
    }

    .xp-footer-approved-brand {
        width: 188px !important;
        height: 44px !important;
    }

    .xp-footer-approved-logo {
        width: 188px !important;
        height: 44px !important;

        background-size: 218px auto !important;
        background-position: center center !important;
    }
}

/* XPEEDIFY_FULL_WORDMARK_VISIBILITY_FIX_END */

/* XPEEDIFY TRANSPARENT LOGO CLEANUP */

.xp-brand-approved,
.xp-footer-approved-brand {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.xp-footer-approved-brand {
    padding: 0 !important;
    border-radius: 0 !important;
}

.xp-approved-logo,
.xp-footer-approved-logo {
    background-color: transparent !important;
}

/* XPEEDIFY_TRANSPARENT_LOGO_CLEANUP_END */

/* =========================================================
   XPEEDIFY — FINAL LOGO NO-CROP FIX
   Entire transparent wordmark must remain visible
   ========================================================= */

/* NAV */
.xp-brand-approved {
    width: 216px !important;
    height: 48px !important;
    overflow: visible !important;
}

.xp-approved-logo {
    display: block !important;

    width: 216px !important;
    height: 48px !important;

    background-image:
        url("/assets/brand/xpeedify-logo.png") !important;

    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;

    background-color: transparent !important;
}


/* FOOTER */
.xp-footer-approved-brand {
    width: 226px !important;
    height: 52px !important;

    overflow: visible !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.xp-footer-approved-logo {
    display: block !important;

    width: 226px !important;
    height: 52px !important;

    background-image:
        url("/assets/brand/xpeedify-logo.png") !important;

    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;

    background-color: transparent !important;
}


/* MOBILE */
@media (max-width: 575.98px) {

    .xp-brand-approved {
        width: 178px !important;
        height: 40px !important;
    }

    .xp-approved-logo {
        width: 178px !important;
        height: 40px !important;

        background-size: contain !important;
    }

    .xp-footer-approved-brand {
        width: 190px !important;
        height: 44px !important;
    }

    .xp-footer-approved-logo {
        width: 190px !important;
        height: 44px !important;

        background-size: contain !important;
    }
}

/* XPEEDIFY_FINAL_LOGO_NO_CROP_END */

/* =========================================================
   XPEEDIFY — VISUALLY ENLARGE APPROVED LOGO
   Keeps full XPEEDIFY width including final Y
   ========================================================= */


/* -----------------------------
   MAIN NAV
   ----------------------------- */

.xp-brand-approved {
    width: 250px !important;
    height: 60px !important;

    overflow: hidden !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.xp-approved-logo {
    width: 250px !important;
    height: 60px !important;

    display: block !important;

    background-image:
        url("/assets/brand/xpeedify-logo.png") !important;

    /*
       Width exactly matches container:
       left/right logo edges cannot be cropped.
       Extra transparent space above/below is allowed
       outside the visible 60px area.
    */
    background-size: 250px auto !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;

    background-color: transparent !important;
}


/* -----------------------------
   FOOTER
   ----------------------------- */

.xp-footer-approved-brand {
    width: 270px !important;
    height: 66px !important;

    padding: 0 !important;

    overflow: hidden !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.xp-footer-approved-logo {
    width: 270px !important;
    height: 66px !important;

    display: block !important;

    background-image:
        url("/assets/brand/xpeedify-logo.png") !important;

    background-size: 270px auto !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;

    background-color: transparent !important;
}


/* -----------------------------
   PHONE
   Still bigger than before
   ----------------------------- */

@media (max-width: 575.98px) {

    .xp-brand-approved {
        width: 218px !important;
        height: 54px !important;
    }

    .xp-approved-logo {
        width: 218px !important;
        height: 54px !important;

        background-size: 218px auto !important;
    }

    .xp-footer-approved-brand {
        width: 230px !important;
        height: 58px !important;
    }

    .xp-footer-approved-logo {
        width: 230px !important;
        height: 58px !important;

        background-size: 230px auto !important;
    }
}

/* XPEEDIFY_VISUAL_LOGO_ENLARGE_END */

/* =========================================================
   XPEEDIFY — LOGO SIZE FINE TUNE
   Slight reduction only
   ========================================================= */

.xp-brand-approved {
    width: 232px !important;
    height: 56px !important;
}

.xp-approved-logo {
    width: 232px !important;
    height: 56px !important;
    background-size: 232px auto !important;
}

.xp-footer-approved-brand {
    width: 252px !important;
    height: 62px !important;
}

.xp-footer-approved-logo {
    width: 252px !important;
    height: 62px !important;
    background-size: 252px auto !important;
}

@media (max-width: 575.98px) {

    .xp-brand-approved {
        width: 202px !important;
        height: 50px !important;
    }

    .xp-approved-logo {
        width: 202px !important;
        height: 50px !important;
        background-size: 202px auto !important;
    }

    .xp-footer-approved-brand {
        width: 216px !important;
        height: 54px !important;
    }

    .xp-footer-approved-logo {
        width: 216px !important;
        height: 54px !important;
        background-size: 216px auto !important;
    }
}

/* XPEEDIFY_LOGO_SIZE_FINE_TUNE_END */

/* =========================================================
   XPEEDIFY — LOGO FINAL FINE TUNE
   Slight reduction from previous size
   ========================================================= */

.xp-brand-approved {
    width: 224px !important;
    height: 54px !important;
}

.xp-approved-logo {
    width: 224px !important;
    height: 54px !important;
    background-size: 224px auto !important;
}

.xp-footer-approved-brand {
    width: 242px !important;
    height: 59px !important;
}

.xp-footer-approved-logo {
    width: 242px !important;
    height: 59px !important;
    background-size: 242px auto !important;
}

@media (max-width: 575.98px) {

    .xp-brand-approved {
        width: 194px !important;
        height: 48px !important;
    }

    .xp-approved-logo {
        width: 194px !important;
        height: 48px !important;
        background-size: 194px auto !important;
    }

    .xp-footer-approved-brand {
        width: 208px !important;
        height: 52px !important;
    }

    .xp-footer-approved-logo {
        width: 208px !important;
        height: 52px !important;
        background-size: 208px auto !important;
    }
}

/* XPEEDIFY_LOGO_FINAL_FINE_TUNE_END */

/* =========================================================
   XPEEDIFY — LOGO FINE TUNE V3
   Nav + footer slightly smaller
   ========================================================= */


/* MAIN NAV */

.xp-brand-approved {
    width: 214px !important;
    height: 52px !important;
}

.xp-approved-logo {
    width: 214px !important;
    height: 52px !important;

    background-size: 214px auto !important;
    background-position: center center !important;
}


/* FOOTER */

.xp-footer-approved-brand {
    width: 230px !important;
    height: 56px !important;
}

.xp-footer-approved-logo {
    width: 230px !important;
    height: 56px !important;

    background-size: 230px auto !important;
    background-position: center center !important;
}


/* PHONE */

@media (max-width: 575.98px) {

    .xp-brand-approved {
        width: 184px !important;
        height: 46px !important;
    }

    .xp-approved-logo {
        width: 184px !important;
        height: 46px !important;

        background-size: 184px auto !important;
    }

    .xp-footer-approved-brand {
        width: 198px !important;
        height: 50px !important;
    }

    .xp-footer-approved-logo {
        width: 198px !important;
        height: 50px !important;

        background-size: 198px auto !important;
    }
}

/* XPEEDIFY_LOGO_FINE_TUNE_V3_END */
