/* TAMAR WIPERS & BULBS — Public website
   Shared styles, page-specific sections and layout utilities.
   Rules retain their original cascade order. */

/* 01 — Shared layout, navigation, hero, cards and responsive rules */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font: 16px/1.65 system-ui,Arial,sans-serif;
    color: #193353;
    background: #f3f5f8;
}

a {
    color: inherit;
}

header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 5;
    border-bottom: 1px solid #e0e5eb;
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 94px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .04em;
}

.brand img {
    width: 76px;
    height: auto;
}

.brand small {
    display: block;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .1em;
    margin-top: 5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    text-decoration: none;
    font-weight: 650;
    font-size: 14px;
}

.btn {
    display: inline-block;
    background: #ffd044;
    color: #14263c;
    padding: 13px 23px;
    border-radius: 5px;
    font-weight: 800;
    text-decoration: none;
    border: 0;
}

.btn:hover {
    background: #ffdf78;
}

.outline {
    background: transparent;
    color: white;
    border: 1px solid #a7b6c9;
}

.outline:hover {
    background: #294666;
}

.hero {
    background: linear-gradient(115deg,#101d30,#193353 75%,#25496d);
    color: white;
    padding: 75px 0;
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 50px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #e6b62e;
}

h1 {
    font-size: clamp(40px,5.2vw,72px);
    line-height: 1.05;
    letter-spacing: -.045em;
    margin: 18px 0 22px;
}

h1 em {
    font-style: normal;
    color: #ffd044;
}

.hero p {
    color: #d8e1ec;
    font-size: 19px;
    max-width: 540px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-art {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    filter: drop-shadow(0 20px 20px #0005);
}

.trust {
    background: #ffd044;
}

.trust .wrap {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: 750;
    font-size: 14px;
}

.section {
    padding: 70px 0;
}

h2 {
    font-size: clamp(28px,4vw,42px);
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 10px 0 14px;
}

.intro {
    color: #536579;
    max-width: 650px;
    margin-bottom: 32px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

article {
    background: white;
    border: 1px solid #dce3eb;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 4px 15px #19335308;
}

article svg {
    width: 38px;
    height: 38px;
    color: #28537b;
}

h3 {
    font-size: 23px;
    margin: 12px 0 8px;
}

article strong {
    font-size: 14px;
}

article p {
    color: #536579;
    margin: 8px 0 20px;
}

article a {
    font-weight: 750;
    text-decoration: none;
    font-size: 14px;
}

article a span {
    color: #9a7000;
}

.about {
    background: white;
}

.visit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.shop {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.note {
    font-size: 13px;
    color: #607185;
}

footer {
    background: #101d30;
    color: #dbe3ed;
    padding: 35px 0;
}

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

footer a {
    color: white;
}

#menu {
    display: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #e6b62e;
    outline-offset: 4px;
}

section,
article {
    scroll-margin-top: 110px;
}

@media (max-width:800px) {
    .hero .wrap,
    .visit {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 45px 0;
    }

    .hero-art {
        max-width: 440px;
        margin: auto;
    }

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

    #menu {
        display: block;
        background: white;
        border: 1px solid #193353;
        border-radius: 5px;
        padding: 8px 12px;
        color: #193353;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px 28px;
        flex-direction: column;
        align-items: stretch;
    }

    nav.open {
        display: flex;
    }

    .trust .wrap {
        flex-wrap: wrap;
    }

    .section {
        padding: 45px 0;
    }
}

@media (max-width:480px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .brand img {
        width: 60px;
    }

    .brand {
        font-size: 14px;
    }

    .trust .wrap {
        display: grid;
        gap: 5px;
    }

    .hero-art {
        max-width: 300px;
    }
}

.phone {
    white-space: nowrap;
    color: #193353;
}

.status {
    font-weight: 750;
}

.status.open-now {
    color: #23703d;
}

.status.closed-now {
    color: #9b3030;
}

.contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (min-width:801px) and (max-width:1050px) {
    nav {
        gap: 12px;
    }

    .nav {
        gap: 12px;
    }

    .brand img {
        width: 60px;
    }
}

.reviews {
    background: #e8eef5;
}

.review-panel {
    background: white;
    border: 1px solid #dce3eb;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.review-panel p {
    max-width: 600px;
    color: #536579;
}

.review-panel h2 {
    margin-top: 8px;
}

.review-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.review-secondary {
    background: white;
    border: 1px solid #193353;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: #168044;
    color: white;
    border-radius: 32px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-weight: 750;
    box-shadow: 0 4px 20px #0003;
}

.whatsapp-float svg {
    width: 25px;
    height: 25px;
}

.whatsapp-float:hover {
    background: #106b38;
}

footer {
    padding-bottom: 85px;
}

@media (max-width:480px) {
    .review-panel {
        padding: 22px;
    }

    .whatsapp-float {
        bottom: 12px;
        right: 12px;
        padding: 10px 14px;
    }
}

@media (min-width:801px) and (max-width:1180px) {
    nav {
        gap: 10px;
    }

    .nav {
        gap: 10px;
    }

    nav .btn {
        padding: 10px 12px;
    }
}

nav a[href^="#"] {
    padding: 10px 9px;
    border-radius: 5px;
    transition: background-color .18s,color .18s;
    white-space: nowrap;
}

nav a[aria-current="location"],
nav a[aria-current="location"]:hover {
    background: #193353;
    color: #ffd044;
}

nav a[href^="#"]:not([aria-current]):not(.btn):hover {
    background: #e8eef5;
}

@media (min-width:801px) {
    nav {
        gap: 6px;
    }

    .nav {
        gap: 10px;
    }
}

@media (min-width:801px) and (max-width:1000px) {
    nav a[href^="#"] {
        padding: 8px 5px;
        font-size: 13px;
    }

    .brand {
        font-size: 14px;
    }

    .brand small {
        font-size: 10px;
    }

    .brand img {
        width: 50px;
    }

    .nav {
        gap: 8px;
    }
}

.hero .business-tagline {
    font-size: clamp(18px,2.2vw,25px);
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    margin: 20px 0 24px;
}

.hero .business-tagline span {
    color: #ffd044;
}

.brand-block {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.brand-block .brand {
    display: contents;
}

.brand-block .brand img {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
}

.brand-block .brand span {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
}

.header-phone {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    color: #193353;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    margin-top: 4px;
    white-space: nowrap;
}

.header-phone:hover {
    text-decoration: underline;
}

@media (max-width:600px) {
    .brand-block {
        column-gap: 8px;
    }

    .header-phone {
        font-size: 14px;
    }
}

@media (max-width:380px) {
    .brand-block {
        column-gap: 5px;
    }

    .brand-block .brand span {
        font-size: 12px;
    }

    .brand-block .brand small {
        font-size: 8px;
    }
}

nav a.free-link {
    background: #ffd044;
    color: #193353;
    font-weight: 850;
    padding: 10px 12px;
    border-radius: 5px;
    white-space: nowrap;
}

nav a.free-link:hover,
nav a.free-link[aria-current="location"] {
    background: #193353;
    color: #ffd044;
}

@media (min-width:801px) and (max-width:1100px) {
    nav a.free-link {
        padding: 8px 6px;
        font-size: 13px;
    }

    nav {
        gap: 5px;
    }
}

/* Page styles: motoring-essentials, key-cutting — original section 1 */

:where(html[data-page="motoring-essentials"], html[data-page="key-cutting"]) .key-price {
    background: #193353;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
}

:where(html[data-page="motoring-essentials"], html[data-page="key-cutting"]) .key-price p {
    color: #e0e8f2;
}

:where(html[data-page="motoring-essentials"], html[data-page="key-cutting"]) .key-price .amount {
    font-size: 36px;
    font-weight: 850;
    color: #ffd044;
    line-height: 1.2;
    margin: 12px 0;
}

:where(html[data-page="motoring-essentials"], html[data-page="key-cutting"]) .key-price .offer {
    background: #ffd044;
    color: #193353;
    border-radius: 6px;
    padding: 14px;
    margin-top: auto;
    font-weight: 800;
    font-size: 25px;
}

:where(html[data-page="motoring-essentials"], html[data-page="key-cutting"]) .key-price .offer small {
    display: block;
    font-size: 13px;
}

:where(html[data-page="motoring-essentials"], html[data-page="key-cutting"]) .key-price .offer.plain {
    background: #304d70;
    color: white;
    font-size: 16px;
}

:where(html[data-page="motoring-essentials"], html[data-page="key-cutting"]) .key-placeholder {
    border: 2px dashed #8295ae;
    border-radius: 12px;
    min-height: 260px;
    display: grid;
    place-content: center;
    text-align: center;
    color: #d8e1ec;
    padding: 25px;
}

:where(html[data-page="motoring-essentials"], html[data-page="key-cutting"]) .key-placeholder small {
    display: block;
}

/* Page styles: number-plates — original section 1 */

:where(html[data-page="number-plates"]) .hero h1 em {
    display: inline-block;
    font-size: clamp(24px,3.3vw,46px);
    white-space: nowrap;
}

@media (max-width:800px) {
    :where(html[data-page="number-plates"]) .hero h1 em {
        white-space: normal;
        font-size: clamp(25px,5vw,40px);
    }
}

:where(html[data-page="number-plates"]) .plate-heading {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    background: #fff;
    color: #111;
    border: 3px solid #111;
    border-radius: 9px;
    padding: .22em .38em;
    font-family: "Arial Narrow","Liberation Sans Narrow",Arial,sans-serif;
    font-weight: 900;
    font-size: clamp(24px,3.1vw,43px);
    letter-spacing: .045em;
    line-height: 1.15;
    white-space: nowrap;
    margin-bottom: 10px;
}

@media (max-width:380px) {
    :where(html[data-page="number-plates"]) .plate-heading {
        font-size: 21px;
    }
}

:where(html[data-page="number-plates"]) .plate-pair {
    display: inline-grid;
    grid-template-columns: minmax(0,1fr);
    width: min(100%, 470px);
    gap: 10px;
    vertical-align: top;
}

:where(html[data-page="number-plates"]) .plate-pair .plate-heading {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 12px 8px;
    font-size: clamp(22px,3.1vw,43px);
}

:where(html[data-page="number-plates"]) .plate-pair .rear-plate {
    background: #ffd044;
    color: #111;
    font-size: clamp(15px,2.1vw,29px);
    letter-spacing: .025em;
    padding: 15px 6px;
}

@media (max-width:380px) {
    :where(html[data-page="number-plates"]) .plate-pair .rear-plate {
        font-size: 15px;
    }
}

/* Shared rules — original section 2 */

.tw-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 20px 0;
    color: #193353;
}

.tw-rating small {
    flex-basis: 100%;
    color: #536274;
}

.tw-stars {
    color: #a66a00;
    font-size: 1.45rem;
    letter-spacing: 2px;
}

.review-panel>div {
    width: 100%;
    min-width: 0;
}

.tw-review-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
    margin: 20px 0;
    color: #193353;
}

.tw-review {
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tw-review blockquote {
    margin: 12px 0 16px;
    line-height: 1.6;
    color: #24364b;
    font-size: 14px;
    flex: 1;
    overflow-wrap: anywhere;
}

.tw-review small {
    display: block;
    color: #536274;
    margin-top: 4px;
}

.tw-review strong {
    font-size: 14px;
}

@media (max-width:950px) {
    .tw-review-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:560px) {
    .tw-review-grid {
        grid-template-columns: 1fr;
    }
}

/* Shared rules — original section 3 */

.mobile-promo {
    padding: 36px 0;
    background: #e8eef5;
}

.mobile-promo .promo-inner {
    background: #193353;
    color: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.mobile-promo h2 {
    color: white;
}

.promo-price {
    font-size: 36px;
    font-weight: 850;
    color: #ffd044;
    margin: 8px 0;
}

.promo-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin: 20px 0;
}

.promo-details span {
    font-weight: 650;
}

.poll {
    border-top: 1px solid #647991;
    padding-top: 18px;
    max-width: 660px;
    margin: 24px auto 0;
}

.poll-options {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
}

.poll-options button {
    width: 100%;
    min-height: 52px;
    background: #314c6c;
    color: white;
    border: 1px solid #8295ab;
    border-radius: 6px;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    padding: 8px;
}

.poll-options button:hover:not(:disabled),
.poll-options button[aria-pressed=true] {
    background: #ffd044;
    color: #193353;
}

.poll-options button:disabled {
    cursor: default;
}

.poll-count {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #ffd044;
}

.poll small,
.promo-note {
    color: #dbe3ed;
    font-size: 13px;
}

.promo-note {
    margin-bottom: 0;
}

@media (max-width:480px) {
    .mobile-promo .promo-inner {
        padding: 22px 14px;
    }

    .poll-options {
        gap: 6px;
    }

    .poll-options button {
        font-size: 13px;
    }
}

/* Shared rules — original section 4 */

.mobile-promo .promo-inner {
    position: relative;
    overflow: hidden;
    padding-top: 44px;
}

.mobile-promo .eyebrow {
    font-size: clamp(19px,2.5vw,30px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: .035em;
    color: #ffd044;
    margin: 0 120px 14px;
}

.promo-corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 155px;
    height: 155px;
    pointer-events: none;
    background: linear-gradient(135deg,#ffe05a,#ff9e19);
    clip-path: polygon(0 0,100% 0,0 100%);
}

.promo-corner span {
    position: absolute;
    top: 36px;
    left: -28px;
    width: 165px;
    transform: rotate(-45deg);
    color: #193353;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .04em;
    text-align: center;
}

@media (max-width:700px) {
    .mobile-promo .promo-inner {
        padding-top: 88px;
    }

    .mobile-promo .eyebrow {
        margin: 0 0 14px;
    }

    .promo-corner {
        width: 115px;
        height: 115px;
    }

    .promo-corner span {
        top: 25px;
        left: -34px;
        width: 145px;
        font-size: 12px;
    }
}

/* Page styles: motoring-essentials, car-key-fob-repairs, free-services, car-batteries, key-cutting, number-plates, vehicle-bulbs — original section 5 */

:where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .photo-placeholder {
    min-height: 250px;
    border: 1px dashed #9aadc3;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: #ffffff09;
}

:where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .photo-placeholder svg {
    width: 80%;
    max-width: 300px;
}

:where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .photo-placeholder small {
    opacity: .8;
}

:where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .photo-placeholder.light {
    background: #f3f5f8;
}

:where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .stats>div {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
}

:where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .stats b {
    font-size: 36px;
    line-height: 1.2;
}

:where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .brand-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 8px;
}

:where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .brand-grid b {
    background: white;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    text-align: center;
    padding: 14px 3px;
    font-size: clamp(12px,1.5vw,17px);
}

@media (max-width:600px) {
    :where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .brand-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    :where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .stats>div {
        min-width: 100px;
    }

    :where(html[data-page="motoring-essentials"], html[data-page="car-key-fob-repairs"], html[data-page="free-services"], html[data-page="car-batteries"], html[data-page="key-cutting"], html[data-page="number-plates"], html[data-page="vehicle-bulbs"]) .stats b {
        font-size: 28px;
    }
}

/* Page styles: wiper-blades — original section 5 */

:where(html[data-page="wiper-blades"]) .photo-placeholder {
    min-height: 250px;
    border: 1px dashed #9aadc3;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: #ffffff09;
}

:where(html[data-page="wiper-blades"]) .photo-placeholder svg {
    width: 80%;
    max-width: 300px;
}

:where(html[data-page="wiper-blades"]) .photo-placeholder small {
    opacity: .8;
}

:where(html[data-page="wiper-blades"]) .photo-placeholder.light {
    background: #f3f5f8;
}

:where(html[data-page="wiper-blades"]) .stats>div {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
}

:where(html[data-page="wiper-blades"]) .stats b {
    font-size: 36px;
    line-height: 1.2;
}

:where(html[data-page="wiper-blades"]) .brand-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

:where(html[data-page="wiper-blades"]) .brand-grid b {
    background: white;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    text-align: center;
    padding: 20px 5px;
    font-size: 20px;
}

@media (max-width:600px) {
    :where(html[data-page="wiper-blades"]) .brand-grid {
        grid-template-columns: repeat(2,1fr);
    }

    :where(html[data-page="wiper-blades"]) .stats>div {
        min-width: 100px;
    }

    :where(html[data-page="wiper-blades"]) .stats b {
        font-size: 28px;
    }
}

/* Page styles: index — original section 5 */

:where(html[data-page="index"]) #services .grid article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

:where(html[data-page="index"]) #services .grid article .service-cta {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding: 12px 14px;
    background: #FFD044;
    color: #193353;
    border-radius: 7px;
    font-weight: 800;
    text-decoration: none;
    transition: background .15s,color .15s;
}

:where(html[data-page="index"]) #services .grid article .service-cta span {
    color: inherit;
}

:where(html[data-page="index"]) #services .grid article .service-cta:hover,
:where(html[data-page="index"]) #services .grid article .service-cta:focus-visible {
    background: #193353;
    color: #FFD044;
}

:where(html[data-page="index"]) #services .grid article .service-cta:focus-visible {
    outline: 3px solid #193353;
    outline-offset: 3px;
}

:where(html[data-page="index"]) #services .grid article p {
    margin-bottom: 20px;
}

/* Page styles: motoring-essentials, car-batteries, key-cutting — original section 6 */

:where(html[data-page="motoring-essentials"], html[data-page="car-batteries"], html[data-page="key-cutting"]) .battery-brands {
    grid-template-columns: repeat(8,minmax(0,1fr));
}

:where(html[data-page="motoring-essentials"], html[data-page="car-batteries"], html[data-page="key-cutting"]) .battery-brands b {
    font-size: clamp(10px,1.15vw,15px);
}

@media (max-width:800px) {
    :where(html[data-page="motoring-essentials"], html[data-page="car-batteries"], html[data-page="key-cutting"]) .battery-brands {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
}

@media (max-width:380px) {
    :where(html[data-page="motoring-essentials"], html[data-page="car-batteries"], html[data-page="key-cutting"]) .battery-brands {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

/* Page styles: motoring-essentials — original section 7 */

:where(html[data-page="motoring-essentials"]) .ess-hero {
    border: 1px solid #64768e;
    border-radius: 10px;
    padding: clamp(24px,4vw,48px);
    background: #ffffff0b;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:where(html[data-page="motoring-essentials"]) .ess-hero span {
    color: #ffd044;
    font-weight: 800;
    letter-spacing: .12em;
    font-size: 13px;
}

:where(html[data-page="motoring-essentials"]) .ess-hero strong {
    font-size: clamp(25px,3vw,40px);
    line-height: 1.2;
}

:where(html[data-page="motoring-essentials"]) .ess-hero small {
    color: #d8e1ec;
}

:where(html[data-page="motoring-essentials"]) .ess-card {
    border-top: 4px solid #ffd044;
}

:where(html[data-page="motoring-essentials"]) .ess-card p {
    margin-bottom: 0;
}

/* Layout utilities — formerly inline styles. Specificity guard preserves original priority. */

.closure-notice:not(#css-priority-a#css-priority-b#css-priority-c) {
    background: #FFD044;
    color: #193353;
    padding: 14px;
    text-align: center;
    font-weight: bold;
    font-size: 42px;
    line-height: 1.4;
}

.accent-text:not(#css-priority-a#css-priority-b#css-priority-c) {
    color: #ffd044;
}

.spacing-top-24:not(#css-priority-a#css-priority-b#css-priority-c) {
    margin-top: 24px;
}

.info-panel:not(#css-priority-a#css-priority-b#css-priority-c) {
    border-left: 4px solid #ffd044;
    background: #f3f5f8;
    padding: 24px;
}

.spacing-top-42:not(#css-priority-a#css-priority-b#css-priority-c) {
    margin-top: 42px;
}

.center-text:not(#css-priority-a#css-priority-b#css-priority-c) {
    text-align: center;
}

.flush-margin:not(#css-priority-a#css-priority-b#css-priority-c) {
    margin: 0;
}

.layout-utility-8:not(#css-priority-a#css-priority-b#css-priority-c) {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.layout-utility-9:not(#css-priority-a#css-priority-b#css-priority-c) {
    font-size: 12px;
    opacity: .8;
    margin-top: 6px;
}

.full-row:not(#css-priority-a#css-priority-b#css-priority-c) {
    flex-basis: 100%;
}

.layout-utility-11:not(#css-priority-a#css-priority-b#css-priority-c) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    flex-basis: 100%;
}

.review-star-color:not(#css-priority-a#css-priority-b#css-priority-c) {
    color: #826000;
}

.layout-utility-13:not(#css-priority-a#css-priority-b#css-priority-c) {
    grid-template-columns: 1fr;
    text-align: center;
}

.center-horizontal:not(#css-priority-a#css-priority-b#css-priority-c) {
    margin-left: auto;
    margin-right: auto;
}

.center-flex:not(#css-priority-a#css-priority-b#css-priority-c) {
    justify-content: center;
}

.layout-utility-16:not(#css-priority-a#css-priority-b#css-priority-c) {
    font-size: clamp(18px,2.65vw,30px);
    text-wrap: balance;
}

.layout-utility-17:not(#css-priority-a#css-priority-b#css-priority-c) {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.layout-utility-18:not(#css-priority-a#css-priority-b#css-priority-c) {
    font-size: 12px;
    margin-top: 8px;
}

.layout-utility-19:not(#css-priority-a#css-priority-b#css-priority-c) {
    border-left: 4px solid #ffd044;
    background: white;
    padding: 16px;
    margin: 20px 0;
}

.layout-utility-20:not(#css-priority-a#css-priority-b#css-priority-c) {
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
}

.layout-utility-21:not(#css-priority-a#css-priority-b#css-priority-c) {
    background: #f5ca32;
    color: #111;
    border: 2px solid #222;
    border-radius: 6px;
    padding: 14px;
    text-align: center;
    font-size: clamp(20px,3vw,32px);
    font-weight: 900;
    letter-spacing: 1px;
}

#poll-message {
    color: #FFD044;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}


/* ===== PUBLIC POLL RESULTS ===== */
#poll-results[hidden], #poll-voting[hidden], #result-announcement[hidden] {
    display: none;
}
#poll-results h3 {
    color: #FFD044;
    font-size: clamp(24px, 4vw, 34px);
}
.result-row {
    margin: 16px 0;
    text-align: left;
}
.result-label {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 6px;
}
.result-track {
    height: 22px;
    background: #304D70;
    border-radius: 5px;
    overflow: hidden;
}
.result-bar {
    width: 0;
    height: 100%;
    border-radius: 5px;
}
.result-bar-0 { background: #FFD044; }
.result-bar-1 { background: #D77A7A; }
.result-bar-2 { background: #A4AFBE; }
#result-total { font-weight: 700; }
.result-thanks {
    border-top: 1px solid #647991;
    padding-top: 16px;
    color: #FFD044;
    font-weight: 700;
}
#result-announcement {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* ===== PUBLIC RESULTS ANNOUNCEMENT ===== */

#result-announcement {
    background: #FFD044;
    color: #193353;
    padding: 24px;
    margin: 24px 0 10px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
}

#result-announcement::before {
    content: "SERVICE UPDATE";
    display: block;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
}
/* ===== HOMEPAGE SERVICE PHOTOGRAPHS ===== */
html[data-page="index"] #services .grid article {
    min-width: 0;
}
html[data-page="index"] #services .service-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #193353;
    border-radius: 7px;
    margin-bottom: 8px;
}

/* ===== CENTRED FINAL ROW — HOMEPAGE SERVICE CARDS ===== */
@media (min-width: 801px) {
    html[data-page="index"] #services .grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    html[data-page="index"] #services .grid > article {
        grid-column: span 2;
    }
    html[data-page="index"] #services .grid > article:nth-child(7) {
        grid-column: 2 / span 2;
    }
    html[data-page="index"] #services .grid > article:nth-child(8) {
        grid-column: 4 / span 2;
    }
}

/* ===== HOMEPAGE MONTHLY SPECIAL ===== */
.monthly-special { background:#fff; color:#193353; border-radius:16px; overflow:hidden; min-width:0; width:100%; max-width:470px; margin:auto; box-shadow:0 12px 32px #0003; text-align:center; }
.special-heading { background:#ffd044; color:#193353; font-size:clamp(16px,2vw,23px); font-weight:900; padding:12px; letter-spacing:.035em; }
.special-photo { display:block; width:100%; aspect-ratio:16/9; object-fit:contain; background:#f3f5f8; }
.special-body { padding:16px 22px 22px; overflow-wrap:anywhere; }
.special-body h2 { font-size:clamp(23px,2.6vw,32px); margin:0 0 8px; }
.hero .special-body p { color:#193353; font-size:16px; margin:0 0 10px; }
.special-prices { display:flex; flex-wrap:wrap; justify-content:center; align-items:baseline; gap:12px; }
.special-prices del { color:#536579; font-size:18px; }
.special-prices strong { font-size:40px; line-height:1.2; font-weight:900; }
.special-body small { display:block; margin:8px 0; }
.special-link { display:block; background:#193353; color:white; padding:10px; border-radius:7px; text-decoration:none; font-weight:800; margin-top:12px; }
.special-link:hover { background:#294666; }

/* ===== MONTHLY SPECIAL — FULL WIDTH PROMOTIONAL IMAGE ===== */
.special-photo.special-photo-offer {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

/* ===== SEASONAL PROMOTION DECORATION ===== */
.special-frame { position:relative; width:100%; max-width:470px; min-width:0; margin:auto; }
.seasonal-decoration { position:absolute; top:0; right:0; transform:translate(30%,-55%); width:30%; max-width:140px; height:auto; max-height:125px; object-fit:contain; pointer-events:none; z-index:2; }
@media (max-width:800px) { .special-frame:has(.seasonal-decoration) { margin-top:30px; } }
@media (max-width:480px) { .seasonal-decoration { width:28%; transform:translate(5%,-62%); } }

/* ===== INDIVIDUAL SEASONAL DECORATION POSITIONS ===== */
/* Christmas — approved position */
.seasonal-decoration.seasonal-christmas { transform: translate(30%, -55%); }
/* Easter — raised headband */
.seasonal-decoration.seasonal-easter { transform: translate(22%, -80%); }
/* Halloween — provisional position */
.seasonal-decoration.seasonal-halloween { transform: translate(30%, -55%); }
/* Custom decoration */
.seasonal-decoration.seasonal-custom { transform: translate(30%, -55%); }

/* Mobile seasonal positions */
@media (max-width:480px) {
    .seasonal-decoration.seasonal-christmas { transform: translate(5%, -62%); }
    .seasonal-decoration.seasonal-easter { transform: translate(0%, -90%); }
    .seasonal-decoration.seasonal-halloween { transform: translate(5%, -62%); }
    .seasonal-decoration.seasonal-custom { transform: translate(5%, -62%); }
}
@media (max-width:800px) {
    .special-frame:has(.seasonal-easter) { margin-top:85px; }
}

/* ===== SERVICE PAGE PROMOTIONAL DISCLAIMER ===== */
html:not([data-page="index"]) .promo-note {
    color: #193353;
    font-size: 14px;
    font-weight: 400;
}

/* ===== STANDARDISED YELLOW TRUST BANNERS ===== */
.trust .wrap {
    font-size: 20px;
    font-weight: 800;
    padding-top: 22px;
    padding-bottom: 22px;
    text-align: center;
    align-items: center;
}

.trust .wrap > * {
    flex: 1;
    text-align: center;
}

/* Mobile adjustment */
@media (max-width: 600px) {
    .trust .wrap {
        font-size: 16px;
        padding-top: 18px;
        padding-bottom: 18px;
        gap: 12px;
    }
}

/* ===== MOBILE YELLOW BANNER ALIGNMENT ===== */
@media (max-width: 600px) {
    .trust .wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        width: 100%;
        text-align: center;
    }

    .trust .wrap > * {
        width: 100%;
        min-width: 0;
        text-align: center;
        align-items: center;
    }
}

/* ===== MOBILE SCREEN OVERFLOW FIX ===== */
@media (max-width: 800px) {
    html, body {
        max-width: 100%;
        overflow-x: clip;
    }

    .whatsapp-float {
        position: fixed;
        right: 12px;
        bottom: 12px;
        max-width: calc(100vw - 24px);
        white-space: nowrap;
        z-index: 100;
    }
}
/* ===== NEW ARRIVALS ===== */
.arrival-banner { padding: 24px 0; background: #f3f5f8; }
.arrival-inner { display: flex; align-items: center; gap: 26px; background: #193353; color: white; border-left: 6px solid #ffd044; border-radius: 12px; padding: 24px 30px; }
.arrival-inner img { width: 150px; max-width: 30%; height: 140px; object-fit: contain; background: white; border-radius: 8px; }
.arrival-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.arrival-label { color: #ffd044; text-transform: uppercase; font-weight: 850; letter-spacing: .1em; font-size: 14px; }
.arrival-copy h2 { font-size: clamp(26px,3vw,38px); margin: 6px 0; color: white; }
.arrival-copy p { margin: 8px 0 0; color: #fff; }
@media(max-width:600px) { .arrival-inner { flex-direction: column; text-align: center; gap: 14px; padding: 20px; } .arrival-inner img { width: 130px; max-width: 100%; height: 120px; } .arrival-copy { width: 100%; } }
