﻿:root {
    --brand: #b00a14; /* Tincknells red */
    --ink: #111; /* primary text */
    --muted: #555; /* secondary text */
    --bg: #faf9f8; /* page background */
    --card: #ffffff; /* card background */
    --accent: #ffb703; /* warm accent */
    --ok: #16a34a; /* green accent */
    --maxw: 1120px; /* content max width */
    --radius: 24px;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: Poppins,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}

a {
    color: var(--brand);
    text-decoration: none
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

/* Layout helpers */
.container {
    width: min(100% - 32px, var(--maxw));
    margin-inline: auto
}

.grid {
    display: grid;
    gap: 32px
}

.two {
    grid-template-columns: 1.05fr .95fr
}

@media (max-width:960px) {
    .two {
        grid-template-columns: 1fr
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--brand);
    color: #fff;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    box-shadow: var(--shadow);
    cursor: pointer
}

    .btn.alt {
        background: #111
    }

    .btn.ghost {
        background: #fff;
        color: #111;
        border: 1px solid #ddd
    }

.eyebrow {
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--brand);
    font-size: .78rem
}

/* Header (logo only) */
header {
    position: sticky;
    top: 0;
    z-index: 50
}

.logo-bar {
    backdrop-filter: saturate(1.2) blur(8px);
    background: rgba(255,255,255,.7);
    border-bottom: 1px solid rgba(0,0,0,.06)
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px
}

    .logo img {
        width: 400px;
        height: auto;
        border-radius: 10px;
        object-fit: contain
    }

    .logo small {
        color: #666
    }

@media (max-width: 767px) {
    .logo small {
        display: none;
    }
}




/* Hero */
hero {
    height: 75vh;
    min-height: 505px;
    width: 100%;
    position: relative;
    background-image: url('https://tincknellfuels.com/images/tincknellsweb/trucksky2.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}


.hero-text {
    z-index: 2;
    position: relative;
    text-align: left;
    margin-top: 150px;
    padding: 0 25px;
}



    .hero-text .line1 {
        color: white;
    }

    .hero-text .line2 {
        color: white;
    }

    .hero-text .line3 {
        color: white;
    }

    .hero .blob {
        position: absolute;
        inset: -10% auto auto -10%;
        width: 48vw;
        aspect-ratio: 1/1;
        z-index: -1;
        background: radial-gradient(60% 60% at 30% 30%, rgba(176,10,20,.18), transparent 70%), radial-gradient(60% 60% at 70% 70%, rgba(255,183,3,.18), transparent 70%);
        filter: blur(24px);
        border-radius: 50%;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 3.6vw + .8rem, 3.0rem);
        line-height: 1.1;
        margin: 0 0 18px
    }

.lead {
    color: var(--muted)
}

.hero-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 340px
}

    .hero-card .pic {
        background: #f3f3f3;
        display: flex; /* flex centers if needed */
        align-items: stretch; /* make child stretch full height */
        justify-content: stretch;
        padding: 0; /* remove extra padding */
    }

        .hero-card .pic img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* crop to fill space */
            display: block;
        }


    .hero-card .sect {
        padding: 28px 28px
    }













/* Quick figures */
.kpis {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 18px
}

.kpi {
    background: var(--card);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow)
}

    .kpi h3 {
        margin: 0 0 6px;
        font-size: .92rem;
        color: #333
    }

    .kpi .big {
        font-weight: 700;
        font-size: 2rem
    }

@media (max-width:900px) {
    .kpis {
        grid-template-columns: 1fr;
    }
}

/* Section dividers (waves) */
.divider {
    height: 64px;
    background: radial-gradient(100% 80% at 50% -30%, transparent 60%, rgba(0,0,0,.06) 61% 62%, transparent 63%)
}

/* Content + image split */
.split {
    padding: 24px 0 48px 0
}

    .split .imgbox {
        position: relative;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow)
    }

        .split .imgbox::after {
            content: "";
            position: absolute;
            inset: auto auto 0 0;
            width: 220px;
            height: 220px;
            background: radial-gradient(100% 100% at 50% 50%, rgba(176,10,20,.35), transparent 70%);
            filter: blur(30px)
        }

.cta .imgbox {
    --radius: 24px;
    max-width: 516.8px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    justify-self: center;
}

    .cta .imgbox img {
        width: 100%;
        height: auto;
        display: block;
    }
/* Feature icons row */
.features {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-top: 22px
}

.feature {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 16px
}

    .feature h4 {
        margin: 10px 0 6px
    }

    .feature p {
        margin: 0;
        color: var(--muted);
        font-size: .95rem
    }

@media (max-width:960px) {
    .features {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:560px) {
    .features {
        grid-template-columns: 1fr
    }
}

/* Low costs section with shape-outside */
.shape-wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center
}

@media (max-width:960px) {
    .shape-wrap {
        grid-template-columns: 1fr
    }
}
/* ============================================*/
/* Reviews carousel */
.reviews {
    padding: 10px 0;
    margin-top: 30px;
    background: #fff;
}

.reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.reviews-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 5px;
    align-items: start; /* key change */
}

    .reviews-track::-webkit-scrollbar {
        display: none;
    }

.review-card {
    scroll-snap-align: start;
    background: #fff; /* same as testi-card */
    border: 1px solid #eee; /* same as testi-card */
    border-radius: var(--radius); /* same as testi-card */
    box-shadow: var(--shadow); /* same as testi-card */
    padding: 28px; /* match testi-card padding */
    display: grid;
    gap: 10px;
}

.review-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.0;
    height: 35px;
}

.review-text {
    color: var(--muted);
    margin: 0;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    color: #666;
    font-size: .92rem;
}

.reviews .readmore .details {
    display: none;
}

.reviews .readmore .read-less {
    display: none;
}

.reviews .readmore.is-open .details {
    display: inline;
}

.reviews .readmore.is-open .read-more {
    display: none;
}

.reviews .readmore.is-open .read-less {
    display: inline;
}

/* Optional: link styling consistent with your site */
.reviews .readmore a {
    text-decoration: underline;
}

.meta-pill {
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff;
}

.meta-text {
    padding: 0; /* no pill padding */
    border: 0; /* no borders */
    background: transparent;
    border-radius: 0;
}

.stars-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

/* star "badges" styled to match your .badge look */
.star-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 4px 12px; /* consistent padding */
    line-height: 1.2; /* fixed */
}

    .star-badge .label {
        font-size: 0.9rem;
        font-weight: 600;
        white-space: nowrap; /* stops wrapping */
    }

    .star-badge .stars {
        font-size: 1rem; /* force same star size */
        letter-spacing: 2px;
        color: var(--brand);
        line-height: 1; /* prevents misalignment */
    }

/* dots */
.reviews-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
}

    .dot[aria-selected="true"] {
        background: var(--brand);
    }

/* arrow buttons on small screens */
.reviews-btn {
    padding: 10px 14px;
}

/* 2-up on large screens if you want the track to show 2 cards at once */
@media (min-width: 980px) {
    .reviews-track {
        grid-auto-columns: 50%;
    }
}

/* ============================================*/
.shape-figure {
    float: left;
    width: 360px;
    height: 360px;
    shape-outside: circle();
    clip-path: circle();
    margin: 0 24px 12px 0;
    background: url('https://tincknellfuels.com/images/ASHP/piggyASHP.png') center/cover no-repeat
}

/* Grant + CTA */
.cta {
    background: linear-gradient(180deg,#fff,#f8f8f8);
    padding: 56px 0
}

    .cta .card {
        background: #fff;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 28px
    }

/* Quote form */
.quote {
    padding: 56px 0
}

.pill {
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 14px 16px;
    background: #fff
}

.house-types {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 12px;
    margin: 14px 0 24px
}

.house {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: .2s box-shadow
}

    .house input {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer
    }

    .house:has(input:checked) {
        box-shadow: 0 0 0 3px var(--brand) inset
    }

@media (max-width:960px) {
    .house-types {
        grid-template-columns: repeat(3,1fr)
    }
}

@media (max-width:640px) {
    .house-types {
        grid-template-columns: repeat(2,1fr)
    }
}

.testimonials {
    padding: 56px 0;
    background: #fff
}

.testi-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    text-align: center
}

.stars {
    font-size: 28px;
    line-height: 1;
    letter-spacing: 2px;
    margin: 6px 0 10px;
    color: var(--brand);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    border: 1px solid #eee
}

/* Trusted Trader */
.trusted {
    padding: 56px 0
}

    .trusted .card {
        display: grid;
        grid-template-columns: .8fr 1.2fr;
        gap: 28px;
        background: #fff;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        overflow: hidden
    }

        .trusted .card .pic {
            background: #f6f6f6
        }

@media (max-width:960px) {
    .trusted .card {
        grid-template-columns: 1fr
    }
}

@media (max-width: 500px) {
    .shape-figure {
        float: none;
        shape-outside: none;
        clip-path: none; /* stop clipping */
        display: block;
        width: clamp(180px, 75vw, 320px);
        aspect-ratio: 1 / 1; /* keep it square */
        height: auto;
        margin: 0 auto 16px; /* center above text */
        border-radius: 50%; /* still looks circular */
        background-position: center;
        background-size: cover;
    }

    /* Make sure all content starts below it */
    .shape-wrap > div > *:not(.shape-figure) {
        clear: both;
    }

    .bar-bottom a {
        font-size: 0.8rem;
    }

    .bar-bottom .btn {
        padding: 7px 9px;
    }
}

@media (max-width: 519px) {
    .hero-card {
        grid-template-columns: 1fr; /* stack content */
        min-height: unset; /* let text size the card naturally */
    }

        .hero-card .pic {
            display: none; /* hide the image block */
        }
}
/* Footer */
footer {
    padding: 24px 0 64px;
    color: #777;
    font-size: .9rem
}

.cta-bottom {
    display: flex;
    justify-content: right;
    gap: 12px;
    flex-wrap: wrap
}

/* Simple icon (house, £, etc.) */
.icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    background: #111;
    color: #fff;
    font-weight: 700;
    background-color: var(--brand);
}

/* Shape overlays behind headings */
.marker {
    position: relative;
    display: inline-block
}

    .marker::after {
        content: "";
        position: absolute;
        inset: auto 0 -3px 0;
        height: 12px;
        background: linear-gradient(90deg, rgba(255,183,3,.4), rgba(176,10,20,.35));
        border-radius: 8px;
        z-index: -1
    }
