/* A&A Car Detailing – black & yellow, matching the flyer */
:root {
  --bg: #0a0a0a;
  --panel: #131313;
  --panel-2: #1b1b1b;
  --line: #2a2a2a;
  --text: #ececec;
  --muted: #a6a6a6;
  --yellow: #f7c21b;
  --accent: #f7c21b;   /* yellow used as a text colour; darker on light sections */
  --soft: #cfcfcf;
  --error: #ff8a80;
  --radius: 10px;
  --head: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--head); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.45rem; }
h3 a { color: inherit; text-decoration: none; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--panel); }
/* Light sections: same components, re-themed by swapping the colour variables */
.section-light { --bg: #ffffff; --panel: #f4f4f1; --panel-2: #ffffff; --line: #e2e2dc; --text: #121212; --muted: #555; --soft: #333; --accent: #8a6400; --error: #c0392b; background: var(--bg); color: var(--text); }
.section-light .text-yellow { color: inherit; background: linear-gradient(transparent 60%, var(--yellow) 60%); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.section-light input, .section-light select, .section-light textarea { color-scheme: light; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.eyebrow { display: inline-block; font: 700 .95rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.text-yellow { color: var(--yellow); }
.note { color: var(--muted); margin-top: 2rem; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--yellow); color: #111; padding: .5rem 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; background: var(--yellow); color: #111; font: 700 1.05rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; border: 2px solid var(--yellow); border-radius: 4px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: transparent; color: var(--accent); }
.btn-outline { background: transparent; color: var(--text); border-color: #555; }
.btn-outline:hover { border-color: var(--yellow); }
.btn-dark { background: #111; color: var(--yellow); border-color: #111; }
.btn-dark:hover { background: transparent; color: #111; }
.btn-sm { padding: .6em 1em; font-size: .95rem; }
.btn-block { width: 100%; margin-top: .75rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-block; line-height: 0; }
.logo-svg { height: 60px; width: auto; }
.site-footer .logo-svg { height: 110px; margin-bottom: .5rem; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font: 600 1.1rem var(--head); text-transform: uppercase; letter-spacing: .06em; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current], .site-nav a.is-active { color: var(--yellow); }

/* Services dropdown */
.has-dropdown { position: relative; display: flex; align-items: center; }
.dropdown-toggle { background: none; border: 0; color: var(--text); padding: .3rem; cursor: pointer; display: grid; place-items: center; }
.dropdown-toggle .icon { transition: transform .2s; }
.has-dropdown.open .dropdown-toggle .icon { transform: rotate(180deg); }
.dropdown { display: none; }
.site-nav .dropdown a { display: flex; align-items: center; gap: .4rem; padding: .6rem 1.25rem; color: var(--text); font: 500 1rem var(--body); text-transform: none; letter-spacing: 0; }
.site-nav .dropdown a:hover, .site-nav .dropdown a[aria-current] { color: var(--yellow); background: var(--panel-2); }
.site-nav .dropdown .dropdown-all { color: var(--yellow); font: 700 1rem var(--head); text-transform: uppercase; letter-spacing: .06em; border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .8rem; }
@media (min-width: 961px) {
  .dropdown { position: absolute; top: calc(100% + 22px); left: -1.25rem; min-width: 280px; padding: .5rem 0; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
  .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; } /* keeps hover alive across the gap */
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.closed .dropdown { display: none; }
}
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.7rem; cursor: pointer; padding: .25rem; }
.nav-book { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-book { display: inline-flex; margin: 0 .75rem 0 auto; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.25rem; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; }
  .has-dropdown { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .site-nav .has-dropdown > a { flex: 1; border-bottom: 0; }
  .dropdown-toggle { padding: .6rem; }
  .has-dropdown.open .dropdown { display: block; width: 100%; padding: 0 0 .75rem .75rem; }
  .site-nav .dropdown a { padding: .55rem 0; border-bottom: 0; color: var(--muted); }
  .site-nav .dropdown a:hover, .site-nav .dropdown a[aria-current] { background: none; }
  .site-nav .dropdown .dropdown-all { border-top: 0; margin-top: 0; padding-top: .55rem; }
}

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0; background: radial-gradient(ellipse at 80% 40%, rgba(247, 194, 27, .08), transparent 60%), var(--bg); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.5rem 0 2rem; font-weight: 600; }
.hero-ticks li { display: flex; align-items: center; gap: .4em; }
.hero-ticks .icon { color: var(--yellow); }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius); position: relative; z-index: 1; }
.hero-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--yellow); border-radius: var(--radius); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-right: 18px; }
}

/* Trust bar */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: #d4a500; }
.trust div { background: var(--yellow); color: #111; display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.4rem 1rem; font: 700 1.15rem var(--head); text-transform: uppercase; letter-spacing: .06em; }
.trust .icon { color: #111; width: 1.8rem; height: 1.8rem; }

/* Cards */
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card-cta { border-color: var(--yellow); background: repeating-linear-gradient(115deg, rgba(247, 194, 27, .07) 0 12px, transparent 12px 28px), var(--panel); justify-content: center; }
.addon-ask { text-decoration: none; color: inherit; border-color: var(--yellow); }
.addon-ask:hover { background: var(--panel); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.section-alt .card { background: var(--panel-2); }
.card:hover { border-color: var(--yellow); transform: translateY(-4px); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body > p { color: var(--muted); margin: 0; }
.card-link { margin-top: auto; padding-top: .75rem; font: 700 1rem var(--head); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.card.featured { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }

/* Packages */
.package .checklist { margin: .5rem 0 1rem; }
.package .btn { margin-top: auto; }
.badge { align-self: flex-start; background: var(--yellow); color: #111; font: 700 .85rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em; padding: .35rem .6rem; border-radius: 3px; }
.prices { list-style: none; padding: .75rem 0; margin: .5rem 0 .25rem; display: grid; gap: .35rem; border-block: 1px solid var(--line); }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: var(--muted); }
.prices strong { font: italic 800 1.6rem/1 var(--head); color: var(--text); }
.addon .addon-price { font: italic 800 1.35rem/1 var(--head); color: var(--yellow); margin: 0 0 .4rem; }
.from { margin: .25rem 0 0; color: var(--muted); }
.from strong { font: italic 800 1.8rem/1 var(--head); color: var(--accent); }
.addon { display: flex; gap: 1rem; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.addon > .icon { color: #111; background: var(--yellow); border-radius: 50%; padding: 4px; width: 1.7rem; height: 1.7rem; }
.addon h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.addon p { margin: 0; color: var(--muted); }

/* Features */
.features { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.feature { border-left: 3px solid var(--yellow); padding-left: 1.5rem; }
.feature > .icon { width: 2.4rem; height: 2.4rem; color: var(--accent); margin-bottom: 1rem; }
.feature p { color: var(--muted); margin: 0; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; padding: 1.5rem; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: var(--radius); }
.steps li::before { content: "0" counter(step); display: block; font: italic 800 2.4rem/1 var(--head); color: var(--accent); margin-bottom: .5rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--muted); }
.steps-stack { grid-template-columns: 1fr; }
.steps-stack li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: start; }
.steps-stack li::before { grid-row: span 2; margin: 0; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon { color: #111; background: var(--yellow); border-radius: 50%; padding: 3px; margin-top: .2em; }

/* Inner page hero */
.page-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); border-bottom: 4px solid var(--yellow);
  background: linear-gradient(100deg, var(--bg) 55%, transparent 55.2%), repeating-linear-gradient(115deg, rgba(247, 194, 27, .14) 0 14px, transparent 14px 34px), var(--bg); }
.page-hero .lead { margin-bottom: 1.75rem; }
.breadcrumb { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
@media (max-width: 700px) { .page-hero { background: var(--bg); } }

/* Service detail */
.detail { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.prose h2 { font-size: clamp(1.8rem, 3.5vw, 2.3rem); margin-top: 2.75rem; }
.prose h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose p { color: var(--soft); max-width: 70ch; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 1.5rem; }
@media (max-width: 960px) {
  .detail { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.box img { border-radius: 6px; margin-bottom: 1.25rem; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.box p { color: var(--muted); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.link-list a:hover { color: var(--accent); }

/* FAQ */
details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; }
.section-alt details { background: var(--panel-2); }
summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--muted); }

/* Two columns */
.two-col { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }

/* CTA */
.cta { background: var(--yellow); color: #111; padding: clamp(40px, 6vw, 64px) 0; }
.cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta h2 { margin: 0; }
.cta p { margin: .4rem 0 0; font-weight: 500; }

/* Contact */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; color: var(--muted); text-decoration: none; }
a.contact-item:hover { border-color: var(--yellow); }
.contact-item > .icon { color: var(--accent); width: 1.8rem; height: 1.8rem; }
.contact-item strong { display: block; color: var(--text); font: 700 1.25rem var(--head); text-transform: uppercase; letter-spacing: .04em; }
.form-box h2 { font-size: 2rem; }
.contact-item > div { flex: 1; }

/* Find us (home) */
.areas { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.areas li { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; color: var(--text); }
.find-us p { display: flex; gap: .6rem; align-items: center; color: var(--text); margin: 0 0 .75rem; }
.find-us p .icon, .contact-item .link-text { color: var(--accent); }
.find-us .hours { margin: 1rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* Opening hours list (footer + contact) */
.hours { list-style: none; padding: 0; margin: .3rem 0 0; display: grid; gap: .4rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; }
.hours li span:last-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.footer-hours-title { margin-top: 1.75rem; }
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; margin-bottom: .35rem; }
input, select, textarea { width: 100%; padding: .8rem 1rem; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; color: var(--text); font: inherit; color-scheme: dark; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--yellow); outline-offset: 0; border-color: transparent; }
[aria-invalid="true"] { border-color: #ff6b5e; }
#postcode { text-transform: uppercase; }
#postcode::placeholder { text-transform: none; }
p.error { color: var(--error); font-size: .92rem; margin: .3rem 0 0; }
.alert { padding: 1rem 1.25rem; border-radius: 6px; margin-bottom: 1.5rem; }
.alert-success { background: rgba(76, 175, 80, .14); border: 1px solid #4caf50; }
.alert-error { background: rgba(244, 67, 54, .12); border: 1px solid #f44336; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { --muted: #dcdcdc; background: #050505; border-top: 4px solid var(--yellow); padding: 4rem 0 0; color: var(--muted); font-size: .98rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.6fr 1.2fr 1fr 1.2fr; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 1.25rem; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a:not(.logo) { color: #fff; text-decoration: none; }
.site-footer a:not(.logo):hover { color: var(--yellow); }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-contact .icon { color: var(--yellow); }
.footer-tagline { font: italic 700 1.15rem var(--head); color: var(--yellow); text-transform: uppercase; }
.footer-bottom { margin-top: 3rem; border-top: 1px solid var(--line); padding: 1.25rem 80px 1.5rem 0; /* right gap keeps links clear of the WhatsApp button */ display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; font-size: .9rem; }

/* Gallery */
.gallery-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-item { display: block; border-radius: 8px; overflow: hidden; background: var(--panel); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.ba { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.ba-label { display: inline-block; font-size: 1.15rem; padding: .4rem .9rem; border-radius: 4px; background: #333; color: #fff; }
.ba-after { background: var(--yellow); color: #111; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #eee; text-align: center; padding: .75rem 1rem; }
.lightbox-close { position: fixed; top: 10px; right: 16px; background: none; border: 0; color: #fff; font-size: 2.75rem; line-height: 1; cursor: pointer; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; padding: 1.25rem; background: #161616; color: var(--text); border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0, 0, 0, .6); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-bottom a, .footer-bottom .link-button { color: #fff; }
.form-note { font-size: .9rem; color: var(--muted); margin: .75rem 0 0; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }
.wa-float .icon { width: 32px; height: 32px; }

/* WhatsApp logo in brand green wherever it links to WhatsApp */
a[href*="wa.me"] .icon { color: #25d366; }
a.wa-float .icon { color: #fff; }
a.addon-ask > .icon { background: #25d366; color: #fff; padding: 5px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
  .card:hover, .gallery-item:hover img { transform: none; }
}
