.repair-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 1.25rem 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.legal-content {
    max-width: 920px;
    margin-inline: auto;
}

.legal-content h3 {
    margin-top: 1.4rem;
}

.legal-content p {
    color: var(--muted);
}

.legal-content a {
    color: var(--navy);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-views {
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
}

.cookie-consent {
    position: fixed;
    inset: auto 18px 18px auto;
    z-index: 2000;
}

.cookie-consent__panel {
    display: grid;
    gap: .75rem;
    width: min(calc(100vw - 36px), 430px);
    padding: .95rem;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 44px rgba(15, 23, 42, .16);
    backdrop-filter: blur(10px);
}

.cookie-consent__panel h2 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.cookie-consent__panel p {
    margin: .25rem 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.cookie-consent__preferences {
    display: grid;
    gap: .35rem;
    padding: .65rem;
    border-radius: 14px;
    background: #f8fafc;
}

.cookie-consent__preferences label {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--ink);
    font-size: 13px;
    font-weight: 750;
}

.cookie-consent__preferences input {
    width: 14px;
    height: 14px;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.cookie-consent__actions .btn {
    min-height: 0;
    padding: .62rem .85rem;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    box-shadow: none;
}

.cookie-consent__actions .btn-light,
.cookie-consent__actions .btn-gold {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    color: var(--ink);
}

.cookie-consent__actions .btn-gold {
    color: #7a5a00;
}

@media (max-width: 560px) {
    .cookie-consent {
        inset: auto 12px 12px;
    }

    .cookie-consent__panel {
        width: 100%;
        padding: .85rem;
    }

    .cookie-consent__actions .btn {
        flex: 1 1 auto;
    }
}

.vehicle-type-section {
    padding: clamp(44px, 6vw, 74px) 0;
    background: #fff;
}

.vehicle-type-head {
    margin: 0 auto 1.8rem;
    text-align: center;
}

.vehicle-type-head h2 {
    margin: 0 0 .45rem;
    color: var(--ink);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.vehicle-type-head p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.vehicle-type-grid {
    display: grid;
    gap: .8rem;
}

.repair-search {
    position: relative;
    max-width: 760px;
    margin: 0 auto 1.3rem;
}

.repair-search label {
    display: block;
    margin: 0 0 .45rem;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.repair-search input {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    color: var(--ink);
    font: inherit;
    font-weight: 700;
}

.repair-search__panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + .45rem);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
}

.repair-search__result,
.repair-search__empty {
    display: grid;
    gap: .25rem;
    padding: .9rem 1rem;
    color: var(--ink);
}

.repair-search__result {
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.repair-search__result:hover {
    background: #f8fafc;
}

.repair-search__result span,
.repair-search__empty span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.vehicle-type-card {
    position: relative;
    display: flex;
    min-height: 175px;
    align-items: flex-end;
    overflow: hidden;
    padding: 1.1rem;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
}

.vehicle-type-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .05), rgba(15, 23, 42, .76));
}

.vehicle-type-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.vehicle-type-card--placeholder {
    background:
        radial-gradient(circle at 22% 20%, rgba(185, 154, 46, .32), transparent 34%),
        linear-gradient(135deg, #0f172a, #1e293b);
}

.vehicle-type-card--placeholder img {
    inset: 1.5rem auto auto 1.5rem;
    width: 76px;
    height: 76px;
    object-fit: contain;
    opacity: .42;
}

.vehicle-type-card span {
    position: relative;
    z-index: 1;
    max-width: 78%;
    font-size: 18px;
    line-height: 1.12;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}

.vehicle-type-card strong {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    background: #0284c7;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.vehicle-type-card:hover img {
    transform: scale(1.045);
}

.repair-detail {
    padding: 0 0 clamp(44px, 6vw, 74px);
}

.repair-detail__grid {
    display: grid;
    gap: 1.4rem;
    align-items: start;
}

.repair-gallery,
.repair-summary,
.repair-description,
.repair-steps {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.repair-gallery {
    display: grid;
    place-items: center;
    min-height: 460px;
    padding: 1rem;
    box-shadow: 0 14px 42px rgba(15, 23, 42, .06);
}

.repair-gallery img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
}

.repair-summary {
    padding: clamp(1.1rem, 2vw, 1.65rem);
    box-shadow: 0 14px 42px rgba(15, 23, 42, .06);
}

.repair-summary h1 {
    margin: 0 0 1.1rem;
    color: var(--ink);
    font-size: clamp(26px, 2.7vw, 42px);
    line-height: 1.05;
    letter-spacing: -.04em;
    font-weight: 900;
}

.repair-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: -.4rem 0 1rem;
}

.repair-category-tags span {
    padding: .35rem .6rem;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.repair-short {
    margin: 0 0 1rem;
    padding: .95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fafc;
}

.repair-short .eyebrow {
    margin: 0 0 .35rem;
    font-size: 11px;
    letter-spacing: .14em;
}

.repair-short p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.repair-facts {
    display: grid;
    margin: 0 0 1.15rem;
    border-radius: 12px;
    overflow: hidden;
}

.repair-facts div {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 1rem;
    padding: .62rem .75rem;
    background: #f8fafc;
    border-bottom: 4px solid #fff;
}

.repair-facts dt,
.repair-facts dd {
    margin: 0;
    font-size: 14px;
}

.repair-facts dt {
    color: var(--ink);
    font-weight: 850;
}

.repair-facts dd {
    color: var(--muted);
    text-align: right;
    font-weight: 750;
}

.repair-note {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 15px;
}

.repair-description {
    margin-top: 1.4rem;
    padding: clamp(1rem, 2vw, 1.55rem);
}

.repair-description__tab {
    display: inline-flex;
    margin: -2.5rem 0 1rem;
    padding: .6rem 1rem;
    border: 1px solid var(--ink);
    border-bottom-color: #fff;
    border-radius: 10px 10px 0 0;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.repair-description h2,
.repair-steps h2 {
    margin: 0 0 .7rem;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.15;
}

.repair-description p,
.repair-description li,
.repair-steps p {
    color: var(--muted);
}

.repair-description ul {
    margin: .5rem 0 0;
    padding-left: 1.25rem;
}

.repair-process {
    display: grid;
    gap: 1.4rem;
    align-items: start;
    margin-top: clamp(34px, 5vw, 58px);
}

.repair-steps {
    padding: 1.25rem;
}

.repair-step {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: .9rem;
    padding: .9rem 0;
}

.repair-step__dot {
    width: 18px;
    height: 18px;
    margin-top: .2rem;
    border: 2px solid #0284c7;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 6px #eff6ff;
}

.repair-step h3 {
    margin: 0 0 .25rem;
    color: var(--ink);
    font-size: 18px;
}

.repair-step p {
    margin: 0;
    font-size: 14px;
}

@media (min-width: 900px) {
    .vehicle-type-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .repair-detail__grid {
        grid-template-columns: 1fr .98fr;
    }

    .repair-process {
        grid-template-columns: .85fr 1.15fr;
    }
}

@media (max-width: 760px) {
    .vehicle-type-card {
        min-height: 170px;
    }

    .repair-gallery {
        min-height: 300px;
    }

    .repair-facts div {
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    .repair-facts dd {
        text-align: left;
    }
}

.track-hero {
    padding: clamp(34px, 5vw, 58px) 0 clamp(26px, 4vw, 44px);
    text-align: center;
}

.track-hero h1 {
    max-width: 720px;
    margin-inline: auto;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
}

.track-hero p:not(.eyebrow) {
    max-width: 520px;
    margin-inline: auto;
    font-size: 15px;
    line-height: 1.5;
}

.track-hero + .section {
    padding-top: clamp(26px, 4vw, 46px);
}

.tracker-wrap {
    display: grid;
    gap: 1.1rem;
    justify-items: center;
}

.tracker-form {
    width: min(100%, 500px);
    padding: clamp(1.05rem, 2.4vw, 1.55rem);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
    text-align: center;
}

.tracker-form h2 {
    margin: 0 0 .85rem;
    color: var(--ink);
    font-size: 21px;
}

.tracker-form .form-control {
    grid-template-columns: 140px 1fr;
    align-items: center;
    margin-bottom: .7rem;
    text-align: right;
}

.tracker-form .btn {
    min-width: 130px;
    border-radius: 4px;
    background: linear-gradient(180deg, #333, #0b0b0b);
}

.tracker-result {
    width: min(100%, 760px);
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(15, 23, 42, .06);
}

.quote-ticket {
    margin-bottom: 1rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    background: #f0fdf4;
    text-align: left;
}

.quote-ticket h3 {
    margin: 0 0 .35rem;
    color: #14532d;
    font-size: 24px;
}

.quote-ticket p {
    margin: 0 0 .9rem;
    color: #166534;
    font-weight: 700;
}

.quote-ticket strong {
    color: #052e16;
}

.rich-content {
    color: var(--muted);
    line-height: 1.65;
}

.rich-content p,
.rich-content li {
    margin: 0 0 .85rem;
}

.rich-content ul,
.rich-content ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.quote-ticket__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    align-items: center;
    margin-top: 1rem;
}

.quote-ticket__actions .btn {
    justify-content: center;
}

@media (max-width: 640px) {
    .quote-ticket__actions .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .tracker-form .form-control {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

.quote-request-shell {
    max-width: 980px;
}

.quote-request-shell .section-head {
    max-width: 760px;
    margin-bottom: 1.35rem;
}

.quote-request-shell .section-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.quote-request-shell .form-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(185, 154, 46, .12), transparent 34%),
        linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .11);
}

.quote-request-shell .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.1rem;
}

.quote-request-shell .form-grid .form-control:nth-child(7) {
    grid-column: 1 / -1;
}

.quote-request-shell .form-control label {
    display: inline-flex;
    margin-bottom: .42rem;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
}

.quote-request-shell .form-control input,
.quote-request-shell .form-control textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, .03);
}

.quote-request-shell .form-control input:focus,
.quote-request-shell .form-control textarea:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, .06);
}

.quote-request-shell .actions {
    margin-top: 1.2rem;
}

.quote-request-shell .actions .btn {
    min-width: 180px;
    justify-content: center;
}

@media (max-width: 720px) {
    .quote-request-shell .form-grid {
        grid-template-columns: 1fr;
    }

    .quote-request-shell .form-grid .form-control:nth-child(7) {
        grid-column: auto;
    }

    .quote-request-shell .actions .btn {
        width: 100%;
    }
}

.repairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
    align-items: stretch;
}

.repair-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
}

.repair-card__media {
    display: grid;
    place-items: center;
    min-height: 190px;
    padding: 1rem;
    background: linear-gradient(145deg, #f8fafc, #fff);
    border-bottom: 1px solid var(--line);
}

.repair-card__media img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.repair-card__body {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 1.1rem 1.15rem .8rem;
    flex: 1;
}

.repair-card__body .eyebrow {
    margin: 0;
    font-size: 11px;
    letter-spacing: .14em;
}

.repair-card__body h3 {
    margin: 0;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.2;
}

.repair-card__body p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.repair-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    padding: 0 1.15rem .9rem;
}

.repair-card__chips span {
    padding: .32rem .62rem;
    border-radius: 999px;
    background: #f4faf7;
    color: #25664f;
    font-size: 12px;
    font-weight: 800;
}

.repair-card__actions {
    display: grid;
    gap: .55rem;
    margin-top: auto;
    padding: 0 1.15rem 1.15rem;
}

.repair-card__actions .btn {
    width: 100%;
}

@media (min-width: 1200px) {
    .repairs-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .repairs-grid {
        grid-template-columns: 1fr;
    }
}

.repair-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
    align-items: stretch;
}

.repair-type-card {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    min-height: 100%;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
}

.repair-type-card__media {
    display: grid;
    place-items: center;
    height: 150px;
    padding: .85rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
}

.repair-type-card__media img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 126px;
    object-fit: contain;
}

.repair-type-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .55rem;
    padding: 1rem 1rem .7rem;
}

.repair-type-card .eyebrow {
    margin: 0;
    font-size: 11px;
    letter-spacing: .14em;
}

.repair-type-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.2;
}

.repair-type-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.repair-type-card__body p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.repair-type-card__actions {
    margin-top: auto;
    padding: 0 1rem 1rem;
}

.repair-type-card__actions .btn {
    justify-content: center;
    width: 100%;
    min-height: 42px;
}

@media (min-width: 1200px) {
    .repair-type-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .repair-type-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact catalogue cards with equal-height content and aligned actions. */
.site-main .repairs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.05rem;
    align-items: stretch;
}

.site-main .repairs-grid > .repair-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
}

.site-main .repair-card__media {
    display: grid;
    place-items: center;
    min-height: 0;
    height: 150px;
    padding: .8rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
}

.site-main .repair-card__media img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 126px;
    object-fit: contain;
}

.site-main .repair-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: .45rem;
    padding: 1rem 1rem .7rem;
}

.site-main .repair-card__body h3 {
    min-height: 3.1em;
    font-size: 17px;
    line-height: 1.22;
}

.site-main .repair-card__body p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 14px;
}

.site-main .repair-card__chips {
    min-height: 66px;
    padding: 0 1rem .85rem;
}

.site-main .repair-card__chips span {
    font-size: 11px;
}

.site-main .repair-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    margin-top: auto;
    padding: 0 1rem 1rem;
}

.site-main .repair-card__actions .btn {
    justify-content: center;
    width: 100%;
    min-height: 42px;
}

@media (max-width: 1100px) {
    .site-main .repairs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .site-main .repairs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .site-main .repairs-grid {
        grid-template-columns: 1fr;
    }

    .site-main .repair-card__body h3,
    .site-main .repair-card__chips {
        min-height: 0;
    }
}
