:root {
    --ink: #000000;
    --muted: #4b5563;
    --line: #e5e7eb;
    --brand: #FFD600;
    --brand-dark: #e6c200;
    --brand-ink: #000000;
    --brand-soft: #fffbeb;
    --bg-soft: #fafafa;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.55;
    background: #fff;
}
a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: underline; opacity: .7; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.container.narrow { max-width: 760px; }
.lead {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 18px;
}

/* Header */
.site-header {
    border-bottom: 3px solid var(--brand);
    background: var(--ink);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
}
.site-header .brand { color: #fff !important; }
.site-header nav a { color: #fff !important; }
.site-header nav a:hover { color: var(--brand) !important; opacity: 1; }
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.site-header .brand {
    font-weight: 700;
    color: var(--ink);
    font-size: 1.05rem;
}
.site-header nav {
    display: flex;
    gap: 22px;
}
.site-header nav a {
    color: var(--ink);
    font-weight: 500;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #fffdf0 0%, #ffffff 100%);
    padding: 88px 0 80px;
    border-bottom: 1px solid var(--line);
}
.hero h1 {
    margin: 0 0 14px;
    font-size: 2.6rem;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.hero .lede {
    font-size: 1.2rem;
    color: var(--muted);
    margin: 0 0 32px;
    max-width: 640px;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-trust { margin-top: 36px; }

/* Trust strip */
.trust-strip {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 22px 28px;
    font-size: .92rem;
    color: var(--muted);
}
.trust-strip li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.trust-strip li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center / contain no-repeat;
}
.trust-strip li .stars {
    color: var(--ink);
    background: var(--brand);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    font-size: .85rem;
}
.trust-strip li:has(.stars)::before { display: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, border-color .15s, transform .1s;
    font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-large { padding: 14px 28px; font-size: 1.05rem; }
.btn-primary {
    background: var(--brand);
    color: var(--brand-ink);
}
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-outline {
    background: #fff;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; text-decoration: none; }

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding-top: 50px;
    padding-bottom: 50px;
}
.feature h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}
.feature p {
    margin: 0;
    color: var(--muted);
}

/* Inner pages */
main h1 {
    margin: 28px 0 8px;
}
.muted { color: var(--muted); }
.placeholder-card {
    margin: 24px 0 60px;
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--muted);
}
.placeholder-card strong { color: var(--ink); }

/* Alerts */
.alert.error {
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c2c0;
    padding: 12px 14px;
    border-radius: 8px;
    margin: 18px 0;
}
.alert.error div + div { margin-top: 4px; }

/* Quote wizard */
.quote-page { padding-top: 48px; padding-bottom: 80px; }
.quote-page h1 { margin: 0 0 8px; font-size: 2.1rem; letter-spacing: -.01em; }
.quote-intro { margin-bottom: 30px; }
.quote-intro .trust-strip { margin-top: 18px; }

.wizard {
    margin-top: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px 0 0;
    box-shadow: 0 2px 10px rgba(15,23,42,.05);
}

/* Progress */
.wizard-progress {
    padding: 22px 32px 6px;
}
.wizard-bar {
    background: #e2e8f0;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
}
.wizard-bar span {
    display: block;
    height: 100%;
    background: var(--ink);
    width: 33%;
    border-radius: 999px;
    transition: width .25s ease;
}
.wizard-steps {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    counter-reset: step;
    font-size: .85rem;
    color: var(--muted);
}
.wizard-steps li {
    flex: 1;
    text-align: center;
    padding: 0 6px;
    counter-increment: step;
    line-height: 1.3;
}
.wizard-steps li::before {
    content: counter(step);
    display: block;
    margin: 0 auto 6px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--muted);
    text-align: center;
    font-size: .78rem;
    font-weight: 600;
}
.wizard-steps li.is-active { color: var(--ink); font-weight: 600; }
.wizard-steps li.is-active::before { background: var(--ink); color: var(--brand); }

/* Steps */
.wizard-step {
    display: none;
    padding: 30px 32px 16px;
}
.wizard-step.is-active { display: block; }
.wizard-step h2 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    letter-spacing: -.01em;
}
.wizard-step > .muted { margin: 0 0 22px; font-size: 1rem; }

/* When JS is disabled, show all steps */
.no-js .wizard-step { display: block; border-top: 1px solid var(--line); }

/* Type grid */
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 8px 0 8px;
}
.type-card {
    position: relative;
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 30px 14px 22px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: #fff;
}
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card .type-icon { line-height: 0; }
.type-card .type-icon img,
.type-card .type-icon svg { display: block; width: 96px; height: 96px; }
.type-card .type-label {
    font-weight: 600;
    font-size: 1.05rem;
}
.type-card:hover {
    border-color: var(--ink);
    background: var(--bg-soft);
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.type-card:has(input:checked) {
    border-color: var(--ink);
    background: var(--brand-soft);
}
.type-card:has(input:checked) .type-icon { color: var(--ink); }
.type-grid.shake { animation: shake .35s; }
@keyframes shake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* Quick-pick number buttons */
.pick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    margin: 8px 0 8px;
}
.pick-btn {
    border: 2px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 22px 12px;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
}
.pick-btn:hover {
    border-color: var(--ink);
    background: var(--bg-soft);
    transform: translateY(-1px);
}
.pick-btn.is-selected {
    background: var(--brand);
    color: var(--brand-ink);
    border-color: var(--ink);
}

/* Steppers */
.stepper-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 18px 0 8px;
}
.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.stepper label {
    font-weight: 500;
    flex: 1;
}
.stepper-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.step-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.step-btn:hover { background: var(--bg-soft); }
.stepper-controls input[type=number] {
    width: 56px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 7px 4px;
    font-size: 1rem;
    -moz-appearance: textfield;
}
.stepper-controls input[type=number]::-webkit-outer-spin-button,
.stepper-controls input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Field (postcode step) */
.wizard .field { margin: 18px 0 8px; }
.wizard .field label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}
.wizard .field input[type=text] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 1.1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.wizard .field input[type=text]:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(255, 214, 0, .35);
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(255, 214, 0, .35);
}

/* Wizard nav */
.wizard-nav {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 0;
    padding: 10px 14px;
    font-size: 1rem;
    cursor: pointer;
}
.btn-ghost:hover { color: var(--ink); }

/* Quote result */
.quote-result {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px;
    text-align: center;
    margin-top: 24px;
    box-shadow: 0 2px 6px rgba(15,23,42,.04);
}
.quote-result h1 { margin: 4px 0 8px; }
.quote-result .small { font-size: .85rem; }
.quote-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ink);
    margin: 14px 0 6px;
    letter-spacing: -.02em;
}
.quote-price::before {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: var(--brand);
    border-radius: 2px;
    margin: 0 auto 16px;
}
.quote-breakdown {
    list-style: none;
    padding: 0;
    margin: 26px auto 28px;
    max-width: 380px;
    text-align: left;
    border-top: 1px solid var(--line);
}
.quote-breakdown li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
}
.quote-breakdown li.total {
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 0;
    padding-top: 14px;
}
.quote-slots {
    margin: 28px auto 22px;
    max-width: 480px;
    text-align: left;
}
.quote-slots h2 {
    font-size: 1rem;
    margin: 0 0 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
    text-align: center;
}
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}
.slot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.slot-card:hover {
    border-color: var(--ink);
    background: var(--brand-soft);
    text-decoration: none;
    transform: translateY(-1px);
}
.slot-card.is-selected {
    border-color: var(--ink);
    background: var(--brand);
    color: var(--ink);
    box-shadow: 0 0 0 3px rgba(255, 214, 0, .35);
}
.slot-card.is-selected .slot-date,
.slot-card.is-selected .slot-time { color: var(--ink); }
.see-all-times {
    display: block;
    margin-top: 12px;
    padding: 14px 16px;
    width: 100%;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}
.see-all-times:hover {
    background: var(--brand-soft);
    border-color: var(--ink);
    border-style: solid;
    text-decoration: none;
}
.slot-date {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 2px;
}
.slot-time {
    font-size: 1.1rem;
    font-weight: 600;
}

.quote-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Booking summary banner */
.booking-page h1 { margin: 28px 0 14px; }
.booking-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: var(--ink);
    color: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0 0 18px;
    flex-wrap: wrap;
}
.booking-summary .muted { color: #cbd5e1; }
.booking-summary .small { font-size: .85rem; }
.booking-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
}

/* Invalid field highlight */
.wizard input.invalid {
    border-color: #b3261e;
    box-shadow: 0 0 0 3px rgba(179,38,30,.12);
}

/* Calendar */
.calendar {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    margin: 14px 0;
}
.cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cal-title {
    font-weight: 600;
    font-size: 1.05rem;
}
.cal-nav {
    border: 1px solid var(--line);
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cal-nav:hover:not(:disabled) { background: var(--bg-soft); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }

.cal-weekdays, .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-weekdays {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
}
.cal-day {
    aspect-ratio: 1 / 1;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 8px;
    font-size: .95rem;
    font-family: inherit;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background .12s, border-color .12s;
    position: relative;
}
.cal-day.empty { visibility: hidden; cursor: default; }
.cal-day.past, .cal-day.future { color: #cbd5e1; cursor: not-allowed; }
.cal-day:not(.has-slots):not(.empty):not(.past):not(.future) {
    color: #94a3b8;
    cursor: not-allowed;
}
.cal-day.has-slots {
    background: var(--bg-soft);
    border-color: var(--line);
    font-weight: 500;
}
.cal-day.has-slots::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--brand);
}
.cal-day.has-slots:hover { background: var(--brand-soft); border-color: var(--ink); }
.cal-day.is-selected {
    background: var(--ink);
    color: var(--brand);
    border-color: var(--ink);
}
.cal-day.is-selected::after { background: var(--brand); }

.cal-slots { margin: 14px 0 4px; min-height: 24px; }
.cal-slots .small { margin: 0 0 8px; }
.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 8px;
}
.time-btn {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 10px 6px;
    font-size: .95rem;
    font-family: inherit;
    cursor: pointer;
    color: var(--ink);
    transition: background .12s, border-color .12s;
}
.time-btn:hover { border-color: var(--ink); background: var(--brand-soft); }
.time-btn.is-selected {
    background: var(--brand);
    color: var(--ink);
    border-color: var(--ink);
    font-weight: 600;
}

.cal-chosen {
    margin: 14px 0 4px;
    padding: 12px 16px;
    border: 1px solid var(--ink);
    background: var(--brand-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cal-chosen strong { color: var(--ink); }
.btn-link {
    background: none;
    border: 0;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    text-decoration: underline;
}
.btn-link:hover { opacity: .7; }

/* Reassurance line on result/success states */
.reassure {
    margin-top: 14px;
    font-size: .92rem;
}
.reassure-large {
    color: var(--ink);
    font-size: 1.05rem;
    margin: 4px 0 18px;
}
.success-badge {
    margin: 0 auto 12px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footnote under wizard */
.footnote.muted {
    margin: 18px 0 8px;
    text-align: center;
    font-size: .9rem;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 48px 0 24px;
    color: var(--muted);
    margin-top: 60px;
    background: #fafbfc;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.footer-brand {
    font-weight: 700;
    color: var(--ink);
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.footer-col h4 {
    margin: 0 0 10px;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .95rem;
}
.footer-col ul li { padding: 3px 0; }
.footer-col p { margin: 0; }
.footer-bottom {
    padding-top: 20px;
    text-align: center;
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
