:root {
    --colour-brand: #e91e63;
    --colour-brand-dark: #c2185b;
    --colour-dark: #111827;
    --colour-dark-2: #1f2937;
    --colour-text: #1f2937;
    --colour-muted: #64748b;
    --colour-border: #e5e7eb;
    --colour-bg: #ffffff;
    --colour-tint: #f8fafc;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 18px;
    --container: 1180px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--colour-text);
    background: var(--colour-bg);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(var(--container), calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 2rem)); }
.skip-link {
    position: absolute;
    top: -50px;
    left: 1rem;
    z-index: 999;
    background: #fff;
    color: #000;
    padding: 0.75rem 1rem;
    border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(17, 24, 39, 0.94);
    color: #fff;
    backdrop-filter: saturate(150%) blur(14px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; }
.brand img { max-height: 52px; width: auto; }
.brand-fallback { display: none; color: #fff; font-size: 1.4rem; }
.primary-nav { display: flex; align-items: center; gap: 1rem; font-size: 0.95rem; }
.primary-nav a { text-decoration: none; color: #e5e7eb; font-weight: 650; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; }
.nav-phone { padding: 0.65rem 0.9rem; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; background: #fff; border-radius: 999px; }

.hero { position: relative; min-height: 680px; display: grid; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(17,24,39,0.45), rgba(17,24,39,0.2)), url('/assets/img/Velox3-Redditch.png') center/cover no-repeat; transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(233,30,99,0.36), transparent 34%), linear-gradient(90deg, rgba(17,24,39,0.92), rgba(17,24,39,0.72) 55%, rgba(17,24,39,0.50)); }
.hero-content { position: relative; z-index: 1; padding: 7rem 0; max-width: 920px; margin-left: max(calc((100% - var(--container))/2), 1rem); }
.eyebrow { color: var(--colour-brand); text-transform: uppercase; font-weight: 800; letter-spacing: 0.1em; font-size: 0.78rem; margin: 0 0 0.8rem; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 0.95; letter-spacing: -0.06em; margin: 0 0 1.3rem; max-width: 950px; }
.hero-lead { font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 800px; color: #e5e7eb; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0.8rem 1.15rem; border-radius: 999px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--colour-brand); color: #fff; }
.button-primary:hover { background: var(--colour-brand-dark); }
.button-secondary { background: #fff; color: var(--colour-brand); }
.button-secondary-dark { background: var(--colour-dark); color: #fff; }
.button-light { background: #fff; color: var(--colour-dark); }
.button.full { width: 100%; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; max-width: 980px; margin: 0; }
.hero-stats div { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 1rem; backdrop-filter: blur(12px); }
.hero-stats dt { color: #cbd5e1; font-size: 0.8rem; margin-bottom: 0.15rem; }
.hero-stats dd { margin: 0; font-weight: 800; color: #fff; }

.keyword-strip { background: #fff; border-bottom: 1px solid var(--colour-border); }
.keyword-list { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 1rem 0; }
.keyword-list span { border: 1px solid var(--colour-border); border-radius: 999px; padding: 0.35rem 0.75rem; background: var(--colour-tint); font-size: 0.9rem; color: var(--colour-muted); font-weight: 700; }

.section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.section-tint { background: var(--colour-tint); }
.section-dark { background: var(--colour-dark); color: #fff; }
.section-contact { background: linear-gradient(135deg, #f8fafc, #fff); }
.section-heading { text-align: center; max-width: 850px; margin: 0 auto 2.8rem; }
.section-heading.narrow-left { text-align: left; margin-left: 0; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.045em; margin: 0 0 1rem; color: var(--colour-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
h3 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 0.7rem; color: var(--colour-dark); }
p { margin: 0 0 1rem; }
.section-heading p, .two-col p, .card p, .article p { color: var(--colour-muted); }
.section-dark p, .section-dark li { color: #d1d5db; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.align-start { align-items: start; }
.card-grid { display: grid; gap: 1.25rem; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--colour-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06); }
.card:hover { box-shadow: var(--shadow); }
.card-icon { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; background: rgba(233,30,99,0.1); color: var(--colour-brand); font-weight: 900; margin-bottom: 1rem; }
.highlight-card { border-color: rgba(233,30,99,0.35); background: linear-gradient(135deg, #fff, #fff5f9); }
.text-link { color: var(--colour-brand); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.tick-list { padding: 0; margin: 1rem 0 0; list-style: none; display: grid; gap: 0.65rem; }
.tick-list li { position: relative; padding-left: 1.7rem; color: var(--colour-muted); }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--colour-brand); font-weight: 900; }
.tick-list.compact { gap: 0.35rem; font-size: 0.95rem; margin-bottom: 1rem; }
.tick-list.light li::before { color: #fff; }
.answer-card { border-left: 5px solid var(--colour-brand); }
.keyword-box, .price-note, .contact-card, .article-cta { border-radius: var(--radius); background: #fff; border: 1px solid var(--colour-border); padding: 1.2rem; margin-top: 1.5rem; }
.price-note { display: grid; gap: 0.25rem; }

.calculator label, .form-card label { display: block; font-weight: 800; margin: 1rem 0 0.45rem; }
.calculator select, .form-card input, .form-card select, .form-card textarea { width: 100%; min-height: 46px; border: 1px solid var(--colour-border); border-radius: 12px; padding: 0.75rem 0.9rem; font: inherit; background: #fff; color: var(--colour-text); }
.calculator input[type="range"] { width: 100%; accent-color: var(--colour-brand); }
.range-meta { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--colour-muted); }
.estimate { margin-top: 1.5rem; background: #fff0f6; border-radius: 16px; padding: 1.2rem; display: grid; gap: 0.3rem; }
.estimate strong { font-size: 2rem; color: var(--colour-brand); line-height: 1; }
.estimate small { color: var(--colour-muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--colour-border); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04); }
.comparison-table { border-collapse: collapse; width: 100%; min-width: 760px; }
.comparison-table th, .comparison-table td { text-align: left; padding: 1rem; border-bottom: 1px solid var(--colour-border); vertical-align: top; }
.comparison-table th { background: var(--colour-dark); color: #fff; }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table a { color: var(--colour-brand); font-weight: 800; text-decoration: none; }

.dark-panel { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 1.5rem; }
.dark-panel ul { margin: 0; padding-left: 1.2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 18px; background: #e5e7eb; aspect-ratio: 4 / 3; box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.center-actions { display: flex; justify-content: center; margin-top: 2rem; }
.guide-date { color: var(--colour-muted); font-size: 0.9rem; font-weight: 800; }

.faq-list { display: grid; gap: 0.8rem; }
.faq-item { background: #fff; border: 1px solid var(--colour-border); border-radius: 16px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 850; color: var(--colour-dark); }
.faq-item div { padding: 0 1.25rem 1.25rem; }

.form-card { box-shadow: var(--shadow); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 14px; padding: 1rem; margin-bottom: 1rem; }
.alert.success { background: #ecfdf5; border: 1px solid #34d399; color: #065f46; }
.alert.error { background: #fef2f2; border: 1px solid #f87171; color: #7f1d1d; }
.alert ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.article .article-summary { font-size: 1.2rem; color: var(--colour-dark); }
.article h2 { margin-top: 2.2rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.article-cta { display: grid; gap: 0.75rem; background: #fff0f6; border-color: rgba(233,30,99,0.2); }
.article-cta .button { width: fit-content; }

.site-footer { background: var(--colour-dark); color: #d1d5db; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: flex; gap: 0.75rem; align-items: center; text-decoration: none; color: #fff; margin-bottom: 1rem; }
.footer-brand img { max-height: 48px; width: auto; }
.site-footer h2 { color: #fff; font-size: 1.1rem; letter-spacing: -0.02em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: #d1d5db; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.small { font-size: 0.9rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .primary-nav { position: fixed; inset: 78px 0 auto 0; background: var(--colour-dark); padding: 1rem; display: none; flex-direction: column; align-items: stretch; border-top: 1px solid rgba(255,255,255,0.1); }
    .primary-nav.open { display: flex; }
    .nav-phone { text-align: center; }
    .hero { min-height: 620px; }
    .hero-content { margin-left: auto; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .two-col, .card-grid.two, .card-grid.three, .card-grid.four, .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .container { width: min(100% - 1.25rem, var(--container)); }
    .hero-content { padding: 4.5rem 0; }
    .hero-actions { flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-stats { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-bottom { display: block; }
}
