:root {
    --bg: #0b0c0e;
    --bg-2: #111316;
    --panel: #15181c;
    --line: #23272d;
    --line-2: #2e333a;
    --text: #f4f4f2;
    --muted: #8d939b;
    --accent: #f5b301;
    --accent-2: #ffd257;
    --ink: #161100;
    --wa: #25d366;
    --display: "Archivo", "Arial Narrow", sans-serif;
    --body: "Inter", system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.display {
    font-family: var(--display);
    font-stretch: 125%;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

/* ---------- Navbar ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 12, 14, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--bg) 0 34%, transparent 35%),
        repeating-conic-gradient(var(--accent) 0 10deg, #3a3000 10deg 20deg);
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 14px;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(900px 500px at 85% 40%, rgba(245, 179, 1, 0.10), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    min-height: 640px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(245, 179, 1, 0.35);
    background: rgba(245, 179, 1, 0.06);
    padding: 6px 14px;
    border-radius: 999px;
}

.pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

h1 {
    margin-top: 24px;
    font-size: clamp(44px, 6.4vw, 84px);
    line-height: 0.92;
}

h1 .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text);
}

h1 .gold {
    color: var(--accent);
}

.hero-text {
    margin-top: 26px;
    max-width: 520px;
    font-size: 18px;
    color: var(--muted);
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    padding: 15px 24px;
    border-radius: 999px;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

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

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

.btn-gold {
    background: var(--accent);
    color: var(--ink);
}

.btn-gold:hover {
    background: var(--accent-2);
}

.btn-wa {
    background: var(--wa);
    color: #04260f;
}

.btn-ghost {
    border: 1px solid var(--line-2);
}

.btn-ghost:hover {
    border-color: var(--accent);
}

/* CSS tyre */
.tyre-stage {
    position: relative;
    display: grid;
    place-items: center;
}

.tyre {
    position: relative;
    width: min(460px, 80vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 57%, #0c0c0c 57.5% 59%, transparent 59.5%),
        repeating-conic-gradient(#1b1d20 0 4deg, #0e0f11 4deg 8deg);
    box-shadow:
        inset 0 0 0 10px #101113,
        inset 0 0 40px rgba(0, 0, 0, 0.9),
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px #24272b;
}

.tyre::before {
    /* sidewall */
    content: "";
    position: absolute;
    inset: 13%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #2a2d31, #121315 70%);
    box-shadow: inset 0 0 0 2px #2c3035;
}

.rim {
    position: absolute;
    inset: 24%;
    border-radius: 50%;
    background:
        radial-gradient(circle, #d9dde2 0 10%, #8f969e 10.5% 13%, transparent 13.5%),
        repeating-conic-gradient(from 10deg, #c6ccd2 0 14deg, #2a2e33 14deg 36deg),
        radial-gradient(circle, #9aa1a9, #4d5359);
    -webkit-mask: radial-gradient(circle, #000 0 70%, transparent 70.5%);
    mask: radial-gradient(circle, #000 0 70%, transparent 70.5%);
    box-shadow: 0 0 0 6px #b9bfc5;
}

.rim-lip {
    position: absolute;
    inset: 23%;
    border-radius: 50%;
    border: 7px solid #c9ced3;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.6), 0 0 22px rgba(0, 0, 0, 0.8);
}

.size-tag {
    position: absolute;
    right: 0;
    bottom: 10%;
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.size-tag small {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.size-tag strong {
    font-family: var(--display);
    font-stretch: 125%;
    font-size: 24px;
    color: var(--accent);
}

/* ---------- Highlights strip ---------- */
.strip {
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}

.strip .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.strip-item {
    padding: 28px 20px;
    border-left: 1px solid var(--line);
}

.strip-item:first-child {
    border-left: none;
    padding-left: 0;
}

.strip-item b {
    display: block;
    font-family: var(--display);
    font-stretch: 125%;
    font-size: 26px;
    color: var(--text);
}

.strip-item span {
    font-size: 14px;
    color: var(--muted);
}

/* ---------- Sections ---------- */
section {
    padding: 100px 0;
    border-bottom: 1px solid var(--line);
}

.head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 48px;
}

.kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

h2 {
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 0.95;
}

.head p {
    max-width: 380px;
    color: var(--muted);
}

/* ---------- Services ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}

.service {
    background: var(--panel);
    padding: 34px 30px;
    transition: background 0.25s;
}

.service:hover {
    background: #1a1e23;
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(245, 179, 1, 0.1);
    color: var(--accent);
    margin-bottom: 22px;
}

.icon svg {
    width: 24px;
    height: 24px;
}

.service h3 {
    font-family: var(--display);
    font-stretch: 112%;
    font-weight: 700;
    font-size: 21px;
    margin-bottom: 8px;
}

.service p {
    color: var(--muted);
    font-size: 15px;
}

/* ---------- Tyre size explainer ---------- */
.sizer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.code {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--display);
    font-stretch: 125%;
    font-weight: 800;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
}

.code span {
    background: var(--panel);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    padding: 14px 18px;
}

.code .hl {
    color: var(--accent);
    border-color: rgba(245, 179, 1, 0.4);
}

.legend {
    margin-top: 26px;
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
}

.legend b {
    color: var(--text);
    font-weight: 600;
}

.sizer-card {
    background:
        radial-gradient(500px 240px at 100% 0%, rgba(245, 179, 1, 0.14), transparent 70%),
        var(--panel);
    border: 1px solid var(--line-2);
    border-radius: 24px;
    padding: 40px;
}

.sizer-card h3 {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 14px;
}

.sizer-card p {
    color: var(--muted);
    margin-bottom: 28px;
}

/* ---------- Brands ---------- */
.brands {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.brand-tile {
    height: 96px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    font-family: var(--display);
    font-stretch: 125%;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.06em;
    color: #c3c7cc;
    transition: border-color 0.2s, color 0.2s;
}

.brand-tile:hover {
    border-color: var(--accent);
    color: var(--text);
}

/* ---------- Process ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}

.step {
    border-top: 2px solid var(--line-2);
    padding-top: 22px;
}

.step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-family: var(--display);
    font-stretch: 125%;
    font-weight: 800;
    font-size: 15px;
    color: var(--accent);
    margin-bottom: 10px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.step p {
    color: var(--muted);
    font-size: 15px;
}

/* ---------- Photos ---------- */
.gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 12px;
}

.photo {
    border-radius: 18px;
    border: 1px dashed #3a3f46;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent),
        var(--panel);
    display: grid;
    place-items: center;
    color: #5e646c;
    font-size: 13px;
    text-align: center;
    padding: 12px;
}

.photo.tall {
    grid-row: span 2;
}

/* ---------- Visit ---------- */
.visit {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.info {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 34px;
}

.row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.row span:first-child {
    color: var(--muted);
}

.row .off {
    color: #ff6b5e;
}

.row:last-of-type {
    border-bottom: none;
}

.addr {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.addr strong {
    display: block;
    font-size: 18px;
}

.addr span {
    color: var(--muted);
}

.map {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
    border-radius: 20px;
    filter: grayscale(1) invert(0.92) contrast(0.9);
}

/* ---------- Final CTA ---------- */
.cta-band {
    border-bottom: none;
    text-align: center;
    background:
        radial-gradient(700px 300px at 50% 0%, rgba(245, 179, 1, 0.14), transparent 70%),
        var(--bg);
}

.cta-band h2 {
    margin-bottom: 18px;
}

.cta-band p {
    color: var(--muted);
    margin-bottom: 34px;
}

.cta-band .buttons {
    justify-content: center;
    margin-top: 0;
}

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid var(--line);
    padding: 30px 0 40px;
    color: var(--muted);
    font-size: 14px;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Phone ---------- */
.callbar {
    display: none;
}

@media (max-width: 900px) {

    .hero .wrap,
    .sizer,
    .visit {
        grid-template-columns: 1fr;
    }

    .hero .wrap {
        min-height: auto;
        padding-top: 48px;
    }

    .tyre-stage {
        order: -1;
    }

    .tyre {
        width: min(320px, 78vw);
    }

    .size-tag {
        right: 4%;
    }

    .services,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .brands {
        grid-template-columns: repeat(3, 1fr);
    }

    .strip .wrap {
        grid-template-columns: 1fr 1fr;
    }

    .strip-item:nth-child(3) {
        border-left: none;
        padding-left: 0;
    }

    .head {
        flex-direction: column;
        align-items: start;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 160px 160px;
    }

    .photo.tall {
        grid-column: span 2;
        grid-row: auto;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    body {
        padding-bottom: 66px;
    }

    section {
        padding: 72px 0;
    }

    .services,
    .steps {
        grid-template-columns: 1fr;
    }

    .brands {
        grid-template-columns: 1fr 1fr;
    }

    .nav-cta {
        display: none;
    }

    .callbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 8px;
        background: rgba(11, 12, 14, 0.92);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--line);
    }

    .callbar a {
        text-align: center;
        padding: 14px 0;
        border-radius: 999px;
        font-weight: 600;
    }

    .callbar .c {
        background: var(--accent);
        color: var(--ink);
    }

    .callbar .w {
        background: var(--wa);
        color: #04260f;
    }
}

/* ---------- Light mode: follows the device setting ---------- */
@media (prefers-color-scheme: light) {
    :root {
        --bg: #f6f5f2;
        --bg-2: #efeee9;
        --panel: #ffffff;
        --line: #e3e1db;
        --line-2: #d4d1ca;
        --text: #121314;
        --muted: #5f646b;
        --accent: #c98f00;
        --accent-2: #e0a800;
    }

    /* things that used fixed dark colors */
    .nav {
        background: rgba(246, 245, 242, 0.85);
    }

    .service:hover {
        background: #faf9f6;
    }

    .brand-tile {
        color: #3a3f45;
    }

    .photo {
        border-color: #cfccc5;
        color: #9a9890;
    }

    .map {
        filter: none;
    }

    .callbar {
        background: rgba(246, 245, 242, 0.92);
    }

    .brand-mark {
        background:
            radial-gradient(circle, var(--bg) 0 34%, transparent 35%),
            repeating-conic-gradient(var(--accent) 0 10deg, #f1dc9c 10deg 20deg);
    }

    .tyre,
    .rim,
    .rim-lip {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    }
}

/* real photos in the gallery */
img.photo {
    width: 100%;
    height: 100%;
    object-fit: cover;

    border: none;
    padding: 0;
}

.photo {
    overflow: hidden;
    padding: 0;
    border: none;           
    min-height: 0;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* ---------- Logo in the navbar ---------- */
.brand-logo {
    height: 36px;
    width: 36px;
    display: block;
}