/* ==========================================================================
   Shiny Spec Valeting & Detailing
   Colours are taken from Eoin's logo: charcoal disc, white/silver script, brick red.
   Retune everything from the tokens in :root.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* From the logo */
  --c-charcoal: #252122;     /* logo disc */
  --c-charcoal-2: #2f2a2b;   /* raised surfaces on charcoal */
  --c-charcoal-3: #1b1819;   /* footer */
  --c-silver: #c9c7c8;       /* car outline / secondary text on charcoal */
  --c-red: #a82825;          /* logo red */
  --c-red-hover: #8e201e;

  /* Social brand colours (darkened where needed so white text passes AA) */
  --c-wa: #0e7a6c;
  --c-wa-hover: #0b6358;
  --c-fb: #0866ff;
  --c-ig: linear-gradient(45deg, #c13584 0%, #833ab4 60%, #5851db 100%);

  /* Light sections */
  --c-white: #ffffff;
  --c-grey: #f4f4f4;
  --c-line: #e3e3e3;
  --c-text: #1a1718;
  --c-text-2: #5a5657;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --gutter: 20px;
  --container: 1120px;
  --header-h: 64px;
  --section-pad: clamp(56px, 8vw, 96px);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-white); color: var(--c-text); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-fill { fill: currentColor; stroke: none; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid #e0524f; outline-offset: 2px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-red); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.break { overflow-wrap: anywhere; }
.placeholder-text { color: #757172; font-style: italic; }

/* ---------- Buttons ----------
   Three styles only:
   .btn-primary  red, for calling and sending (the main action)
   .btn-light    white with a coloured logo (WhatsApp, Instagram, Facebook, reviews)
   .btn-ghost    quiet, for minor actions on dark backgrounds (email)          */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 1rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s, box-shadow 0.15s, transform 0.1s, border-color 0.15s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.95rem; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .icon { width: 1.25em; height: 1.25em; }

.btn-primary {
  background: linear-gradient(180deg, #b8302c 0%, var(--c-red) 100%);
  border-color: #8e201e; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -6px rgba(168, 40, 37, 0.6);
}
.btn-primary:hover { background: linear-gradient(180deg, #a82a27 0%, #911f1d 100%); }

.btn-light {
  background: #fff; color: var(--c-text); border-color: #dcd9da;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px -6px rgba(0, 0, 0, 0.18);
}
.btn-light:hover { border-color: #b9b5b6; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 8px 18px -8px rgba(0, 0, 0, 0.25); }
.section-dark .btn-light, .hero .btn-light { border-color: #fff; }

.btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }

/* brand-coloured logos inside buttons */
.ico-wa { color: #25d366; }
.btn-light .ico-wa { color: #1faa53; }
.ico-fb { color: var(--c-fb); }
.ico-ig { color: #d62976; }
.ico-star { color: var(--c-red); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-charcoal); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1.05rem; }
.brand-sub { font-size: 0.75rem; color: var(--c-silver); }
.nav ul { display: flex; gap: 28px; }
.nav a { display: block; padding: 10px 0; font-weight: 500; text-decoration: none; color: #e6e4e5; }
.nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--c-red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 859px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-charcoal); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 4px var(--gutter) 16px; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}
@media (max-width: 419px) { .brand-sub { display: none; } .brand-name { font-size: 1.1rem; } }

/* ---------- Hero ---------- */
.hero { background: var(--c-charcoal); color: #fff; padding: 36px 0 52px; }
.hero-inner { display: grid; gap: 28px; justify-items: center; text-align: center; }
.hero-logo img { width: min(64vw, 260px); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35)); }
.hero h1 { font-size: clamp(2rem, 7.5vw, 3.4rem); font-weight: 700; max-width: 16ch; margin: 0 auto 14px; }
.hero-lede { color: #dcdadb; font-size: 1.05rem; max-width: 38ch; margin: 0 auto 26px; }
.hero-ctas { display: grid; gap: 12px; width: 100%; max-width: 420px; margin: 0 auto; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 22px; color: var(--c-silver); font-size: 0.95rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-red); }
@media (min-width: 860px) {
  .hero { padding: 72px 0 80px; }
  .hero-inner { grid-template-columns: 1.3fr 1fr; justify-items: start; text-align: left; gap: 56px; align-items: center; }
  .hero-text { order: -1; }
  .hero h1, .hero-lede { margin-left: 0; }
  .hero-ctas { display: flex; flex-wrap: wrap; max-width: none; margin: 0; }
  .hero-facts { justify-content: flex-start; }
  .hero-logo { justify-self: center; }
  .hero-logo img { width: 360px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section-grey { background: var(--c-grey); }
.section-dark { background: var(--c-charcoal); color: #fff; }
.section-head { margin-bottom: 32px; max-width: 640px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--c-text-2); font-size: 1.05rem; margin: 0; }
.section-dark .section-head p { color: #d6d4d5; }
.section-dark .placeholder-text { color: #a6a3a4; }

/* ---------- Price list ---------- */
.price-groups { display: grid; gap: 28px; }
@media (min-width: 860px) { .price-groups { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; } }
.price-group { border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; }
.price-group h3 { background: var(--c-charcoal); color: #fff; font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; padding: 14px 20px; border-bottom: 3px solid var(--c-red); }
.price-list li { padding: 18px 20px; border-top: 1px solid var(--c-line); }
.price-list li:first-child { border-top: 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 4px; }
.price-row h4 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.price { flex: none; font-weight: 700; color: var(--c-red); white-space: nowrap; }
.price-list p { margin: 0; color: var(--c-text-2); font-size: 0.95rem; }
.help-box { margin-top: 28px; padding: 22px 20px; background: var(--c-grey); border-radius: 14px; display: grid; gap: 16px; }
.help-box p { margin: 0; color: var(--c-text-2); }
.help-box strong { color: var(--c-text); }
@media (min-width: 700px) { .help-box { grid-template-columns: 1fr auto; align-items: center; padding: 24px 28px; } }

/* ---------- Our work: featured job + before/after pairs ---------- */
.job h3, .pairs-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; }
.job-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 860px) { .job-photos { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.job-photos img, .pair img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--c-charcoal-2); }
.pairs-title { margin-top: 44px; }
.pairs { display: grid; gap: 28px; }
@media (min-width: 860px) { .pairs { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair figure { position: relative; margin: 0; }
.pair p { margin: 10px 0 0; font-weight: 500; }
.tag { position: absolute; left: 8px; top: 8px; padding: 4px 9px; border-radius: 6px; background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tag-after { background: var(--c-red); }

/* ---------- Hero photo strip ---------- */
.hero-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 36px; }
.hero-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
@media (min-width: 860px) { .hero-strip { max-width: 640px; margin-top: 48px; } }

/* ---------- Follow us: Instagram + Facebook cards ---------- */
.social-cards { display: grid; gap: 20px; }
@media (min-width: 860px) { .social-cards { grid-template-columns: 1fr 1fr; align-items: start; } }
.social-card { border: 1px solid var(--c-line); border-radius: 16px; padding: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.social-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.social-head picture { flex: none; }
.social-head img { width: 56px; height: 56px; border-radius: 50%; }
.ig-card .social-head img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d6249f; }
.social-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.social-id strong { font-weight: 700; overflow-wrap: anywhere; }
.social-id span { font-size: 0.88rem; color: var(--c-text-2); }
.social-mark { width: 26px; height: 26px; margin-left: auto; flex: none; fill: currentColor; }
.ig-card .social-mark { color: #c13584; }
.fb-card .social-mark { color: var(--c-fb); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 0 -16px 16px; }
.ig-grid a { display: block; overflow: hidden; background: var(--c-charcoal-2); }
.ig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.3s; }
.ig-grid a:hover img { transform: scale(1.05); }
.fb-body { margin-bottom: 16px; }
.fb-about { margin: 0 0 12px; }
.fb-services { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-services li { padding: 6px 10px; border-radius: 999px; background: var(--c-grey); font-size: 0.88rem; display: flex; align-items: center; gap: 6px; }
.fb-services li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-red); }
.fb-body iframe { display: block; width: 100%; height: 500px; border: 0; border-radius: 8px; }

/* ---------- Floating WhatsApp (desktop) ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 45;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 18px 0 16px; border-radius: 999px;
  background: var(--c-wa); color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.wa-float:hover { background: var(--c-wa-hover); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 859px) { .wa-float { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 18, 19, 0.96); color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; padding: 64px 16px; max-width: min(92vw, 900px); }
.lightbox img { width: 100%; height: auto; max-height: 76vh; object-fit: contain; border-radius: 8px; }
.lightbox figcaption { margin-top: 12px; text-align: center; color: var(--c-silver); font-size: 0.95rem; }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.lb-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lb-next { right: 12px; top: 50%; margin-top: -24px; }
@media (max-width: 599px) {
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* ---------- About ---------- */
.about { display: grid; gap: 24px; }
@media (min-width: 860px) { .about { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; } }
.about h2 { margin-bottom: 14px; }
.about-lead { font-size: 1.1rem; color: var(--c-text-2); margin: 0; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--c-white); border-radius: 10px; border: 1px solid var(--c-line); }
.ticks .icon { color: var(--c-red); margin-top: 2px; stroke-width: 2.6; }
.ticks strong { font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 14px; margin-bottom: 24px; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review { padding: 22px; border: 1px solid var(--c-line); border-radius: 14px; }
.stars { display: flex; gap: 2px; margin-bottom: 12px; color: #c4c1c2; }
.stars .icon { width: 20px; height: 20px; }
.review p { margin: 0 0 14px; }
.review .review-by { margin: 0; font-size: 0.9rem; font-style: normal; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.contact h2 { margin-bottom: 10px; }
.contact-intro { color: #d6d4d5; font-size: 1.05rem; margin-bottom: 24px; }
.contact-buttons { display: grid; gap: 12px; margin-bottom: 32px; }
.details { margin: 0; display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.details div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.details dt { font-weight: 600; color: var(--c-silver); }
.details dd { margin: 0; min-width: 0; }
.details a { color: #fff; }

.quote-form { background: var(--c-white); color: var(--c-text); padding: 24px 20px; border-radius: 14px; }
@media (min-width: 560px) { .quote-form { padding: 32px; } }
.quote-form h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.95rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font); color: var(--c-text);
  background: #fff; border: 1.5px solid #cfcccd; border-radius: 8px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5657' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #8a8687; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(168, 40, 37, 0.18); }
.field [aria-invalid="true"] { border-color: var(--c-red); }
.field-check { display: flex; align-items: center; gap: 10px; }
.field-check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--c-red); flex: none; }
.field-check label { margin: 0; font-weight: 400; }
.form-hint { font-size: 0.88rem; color: var(--c-text-2); }
.form-error { color: var(--c-red); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-charcoal-3); color: #fff; padding: 48px 0 calc(24px + 76px); }
@media (min-width: 860px) { .site-footer { padding-bottom: 28px; } }
.footer-inner { display: grid; gap: 24px; justify-items: start; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: auto 1fr; gap: 48px; align-items: center; } .footer-links { justify-self: end; text-align: right; } }
.footer-logo { width: 96px; height: 96px; }
.footer-links { display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: #e6e4e5; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 4px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 36px; color: var(--c-silver); font-size: 0.88rem; }
.footer-base::before { content: ""; flex: 1 1 100%; height: 1px; background: rgba(255, 255, 255, 0.12); margin-bottom: 14px; }
.footer-base p { margin: 0; }
.footer-base a { color: #fff; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--c-charcoal); border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s;
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px;
  border-radius: 12px; text-decoration: none; font-size: 0.82rem; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
}
.action-bar .icon { width: 22px; height: 22px; }
.action-bar .action-bar-call { background: linear-gradient(180deg, #b8302c 0%, var(--c-red) 100%); border-color: #8e201e; }
.action-bar .action-bar-wa { background: #fff; color: var(--c-text); }
.action-bar .action-bar-wa .icon { color: #1faa53; }
.action-bar.is-hidden { transform: translateY(110%); }
@media (min-width: 860px) { .action-bar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
