/* ========== Footer ========== */
.site-footer {
    position: relative;
    background: #0b0b12;
    color: #fff;
    overflow: hidden;
    padding-top: 80px;
}

.site-footer .container { max-width: 1340px; }

/* soft glows */
.site-footer::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 79, 255, .28), transparent 65%);
    pointer-events: none;
}

.site-footer a { transition: color .2s; }

/* ---------- CTA ---------- */
.footer-cta {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-cta h2 {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}

.footer-cta p { font-size: 19px; color: rgba(255, 255, 255, .6); }

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 10px 10px 30px;
    border-radius: 100px;
    transition: background .2s;
}

.footer-cta-btn span {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--primary);
    transition: transform .25s;
}

.footer-cta-btn svg { width: 22px; height: 22px; }

.footer-cta-btn:hover { background: var(--primary-dark); }
.footer-cta-btn:hover span { transform: rotate(-45deg); }

/* ---------- Dashed road line ---------- */
.footer-road {
    position: relative;
    height: 34px;
    margin: 56px 0 64px;
    background: #191924;
    border-top: 1px solid #262633;
    border-bottom: 1px solid #262633;
    overflow: hidden;
}

.footer-road span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 4px;
    margin-top: -2px;
    background: repeating-linear-gradient(90deg, #ffc531 0 40px, transparent 40px 80px);
    animation: road-dash 4s linear infinite;
}

@keyframes road-dash {
    to { transform: translateX(-80px); }
}

/* ---------- Main grid ---------- */
.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 56px;
}

.footer-logo {
    display: inline-block;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    color: #fff;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 22px;
    max-width: 300px;
}

/* icons (shared) */
.site-footer svg { fill: currentColor; }
.site-footer svg .stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
}

.footer-contact svg { width: 18px; height: 18px; color: #8ff0ff; flex-shrink: 0; }
.footer-contact a:hover { color: #8ff0ff; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #1b1b26;
    border: 1px solid #2a2a38;
    display: grid;
    place-items: center;
    color: #fff;
    transition: background .2s, transform .2s, border-color .2s;
}

.footer-social svg { width: 20px; height: 20px; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }

/* Columns */
.footer-col h3,
.footer-side h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 18px;
}

.footer-side h3 svg { width: 16px; height: 16px; color: var(--accent); }

.footer-col ul { list-style: none; display: grid; gap: 12px; }

.footer-col a {
    position: relative;
    font-size: 16px;
    color: rgba(255, 255, 255, .8);
}

/* sliding underline on hover */
.footer-col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1.5px;
    background: #8ff0ff;
    transition: width .25s;
}

.footer-col a:hover { color: #fff; }
.footer-col a:hover::after { width: 100%; }

/* Cities as chips */
.footer-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.footer-cities a {
    font-size: 14px;
    padding: 7px 13px;
    border-radius: 100px;
    border: 1px solid #2f2f3d;
    color: rgba(255, 255, 255, .8);
    transition: all .2s;
}

.footer-cities a:hover { border-color: #fff; color: #fff; }
.footer-cities a.active { background: #fff; border-color: #fff; color: #0b0b12; font-weight: 600; }

/* App buttons */
.footer-apps { display: flex; flex-wrap: wrap; gap: 10px; }

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 12px;
    border-radius: 12px;
    background: #1b1b26;
    border: 1px solid #2f2f3d;
    color: #fff;
    transition: border-color .2s, background .2s;
}

.app-btn svg { width: 24px; height: 24px; }
.app-btn span { display: flex; flex-direction: column; font-size: 16px; font-weight: 600; line-height: 1.15; }
.app-btn small { font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, .6); }
.app-btn:hover { border-color: #fff; background: #232331; }

/* ---------- Bottom bar ---------- */
.footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 26px;
    padding-bottom: 26px;
    border-top: 1px solid #22222e;
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
}

.made-in { margin-left: auto; }

/* Tyre "back to top" */
.back-top {
    position: relative;
    width: 54px;
    height: 54px;
    border: none;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
}

.back-top-tyre {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform .6s;
}

.t-rubber { fill: #23232f; }
.t-tread  { fill: none; stroke: #3d3d4e; stroke-width: 7; stroke-dasharray: 6 5; }
.t-rim    { fill: #ffc531; }

.back-top-arrow {
    position: relative;
    width: 20px;
    height: 20px;
    fill: none !important;
    stroke: #0b0b12;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s;
}

.back-top:hover .back-top-tyre { transform: rotate(-360deg); }
.back-top:hover .back-top-arrow { transform: translateY(-3px); }

/* ---------- Giant outlined brand ---------- */
.footer-giant {
    font-size: 19vw;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: .78;
    text-align: center;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .12);
    margin-bottom: -2.5vw;
    user-select: none;
    pointer-events: none;
}

/* ========== Responsive ========== */
/* keep the tyre button clear of the floating chat button */
@media (max-width: 1520px) {
    .footer-bottom { padding-right: 104px; }
}

@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
    .footer-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; column-gap: 40px; }
    .footer-side h3:nth-of-type(2) { grid-column: 2; grid-row: 1; }
    .footer-apps { grid-column: 2; grid-row: 2; align-self: start; }
    .footer-cta h2 { font-size: 52px; }
}

@media (max-width: 900px) {
    .site-footer { padding-top: 60px; }
    .footer-cta { flex-direction: column; align-items: flex-start; }
    .footer-cta h2 { font-size: 42px; }
    .footer-road { margin: 40px 0 44px; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 34px 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-side { display: block; }
}

@media (max-width: 560px) {
    .footer-cta h2 { font-size: 34px; }
    .footer-cta p { font-size: 16px; }
    .footer-cta-btn { font-size: 17px; padding-left: 24px; }
    .footer-cta-btn span { width: 44px; height: 44px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col a { font-size: 15px; }
    .footer-bottom { flex-wrap: wrap; font-size: 13px; padding-bottom: 90px; padding-right: 16px; }   /* room for chat button */
    .made-in { margin-left: 0; order: 3; width: 100%; }
    .footer-bottom p:first-child { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .footer-road span { animation: none; }
}