/* ==========================================================================
   LMK Engine Rebuild: shared stylesheet
   Mobile-first. Dark, garage-workshop theme. One self-hosted display font
   (Bebas Neue, fonts/ folder). No external font requests, no cookies.
   Sections below:

   1. Reset
   2. Font faces (self-hosted)
   3. Colour palette & design tokens
   4. Base / typography
   5. Layout helpers
   6. Accessibility helpers (skip link, visually-hidden, focus rings)
   7. Buttons
   8. Hazard-stripe accent (garage caution-stripe motif)
   9. Header (call strip, logo, nav)
   10. Hero banner
   11. Footer
   12. Sections / bold overlapping cards
   13. Forms
   14. Map placeholder
   15. Tables (opening hours)
   16. Contact-method row (call / email / WhatsApp / Facebook)
   17. Notice banner (privacy page callout)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
h1, h2, h3, h4,
p, ul, ol, dl, dd,
figure {
  margin: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   2. Font faces
   Self-hosted, downloaded once at build time and served from this site's
   own domain. Visitors' browsers never talk to Google Fonts, so this
   does not introduce a third-party request or a cookie. Display font
   only (headings, hero text); body copy stays on system fonts for
   readability and to keep the page light.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/bebas-neue-v16-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   3. Colour palette & design tokens
   Brand colours are taken from the LMK logo (L / M / K letters only;
   the multicoloured "Engine Rebuild" wordmark letters are decorative and
   not meant to become a UI palette).
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --color-yellow: #fbb03b;   /* "L" */
  --color-black:  #1a1a1a;   /* "M" / logo outline colour */
  --color-red:    #b72a21;   /* "K", used as a solid fill (buttons, badges) */
  --color-red-bright: #ff6b5b; /* brighter red for text/links on dark backgrounds; #b72a21 alone fails AA on near-black */
  --color-red-dark: #8f2119;

  /* Dark workshop neutrals: a warm charcoal rather than near-black,
     so it reads as "moody workshop" rather than flat black */
  --color-bg:          #201e1c;
  --color-bg-raised:   #2a2725;
  --color-bg-raised-2: #333029;
  --color-border-dark: #4d4944;
  --color-cream:  #f2f0eb;

  /* Semantic */
  --color-text:        var(--color-cream);
  --color-text-muted:  #b8b5ae;
  --color-text-on-yellow: var(--color-black);
  --color-text-on-red:    #ffffff;
  --color-link:        var(--color-red-bright);
  --color-link-hover:  var(--color-yellow);
  --color-border:      var(--color-border-dark);
  --color-error:       #ff9184; /* passes AA on --color-bg */
  --color-success:     #7fd07a; /* passes AA on --color-bg */

  /* Type */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Bebas Neue", Impact, "Arial Narrow Bold", var(--font-body);

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;

  /* Layout */
  --content-width: 1100px;
  --radius: 6px;
  --min-tap: 44px; /* minimum tap target per WCAG 2.5.5 */
}

/* --------------------------------------------------------------------------
   4. Base / typography
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  font-weight: 400; /* Bebas Neue is a single-weight display face */
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-cream);
}

h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); margin-bottom: var(--space-3); }
h2 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: var(--space-3); }
h3 { font-size: 1.5rem; margin-bottom: var(--space-2); letter-spacing: 0.03em; }

p { margin-bottom: var(--space-3); }

a {
  color: var(--color-link);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

a:hover { color: var(--color-link-hover); }

.arrow-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-yellow);
}

.arrow-link:hover {
  color: var(--color-cream);
  text-decoration: underline;
}

.arrow-link--red {
  color: var(--color-red-bright);
}

/* --------------------------------------------------------------------------
   5. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

main {
  display: block;
}

section {
  padding-block: var(--space-5);
}

section.alt {
  background: var(--color-bg-raised);
}

.grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   6. Accessibility helpers
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -3rem;
  background: var(--color-yellow);
  color: var(--color-black);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  z-index: 100;
  transition: top 0.15s ease;
  font-weight: 700;
}

.skip-link:focus {
  top: var(--space-2);
}

/* Honeypot field: hidden visually via CSS (not type="hidden"), removed
   from the tab order and screen-reader tree so genuine visitors never
   encounter it. Real spam bots that parse the DOM tend to fill it in
   regardless of the CSS, which is the point. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--min-tap);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.1;
  box-shadow: 4px 4px 0 var(--color-black);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-black);
}

.btn--primary {
  background: var(--color-yellow);
  color: var(--color-text-on-yellow); /* 9.4:1 contrast */
}

.btn--primary:hover {
  background: #e89f2f;
  color: var(--color-black);
}

.btn--secondary {
  background: var(--color-red);
  color: var(--color-text-on-red); /* 6.2:1 contrast */
  box-shadow: 4px 4px 0 var(--color-yellow);
}

.btn--secondary:hover {
  background: var(--color-red-dark);
  box-shadow: 2px 2px 0 var(--color-yellow);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-cream);
  color: var(--color-cream);
  box-shadow: 4px 4px 0 var(--color-red);
}

.btn--outline:hover {
  background: var(--color-cream);
  color: var(--color-black);
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: 4px 4px 0 var(--color-border-dark);
}

.btn:disabled:hover {
  transform: none;
  box-shadow: 4px 4px 0 var(--color-border-dark);
}

/* --------------------------------------------------------------------------
   8. Hazard-stripe accent
   A diagonal caution-stripe bar, the one recurring "garage" motif used
   as a section divider and heading underline instead of images.
   -------------------------------------------------------------------------- */
.hazard-stripe {
  height: 10px;
  background: repeating-linear-gradient(
    135deg,
    var(--color-yellow) 0 20px,
    var(--color-black) 20px 40px
  );
}

.section-heading {
  display: inline-block;
  margin-bottom: var(--space-4);
}

.section-heading .hazard-stripe {
  width: 4.5rem;
  margin-bottom: var(--space-2);
}

/* --------------------------------------------------------------------------
   9. Header: logo, persistent call button, nav
   The call button sits in the header row itself (not nested inside the
   collapsible mobile nav), so tap-to-call needs zero scrolling and zero
   taps to reveal on a phone.
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--color-bg-raised);
  border-bottom: 4px solid var(--color-red);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  height: 48px;
  width: auto;
  max-width: 100%;
}

/* Persistent call button, always visible in the single header bar
   (not tucked inside the collapsible mobile nav), so tap-to-call still
   needs zero scrolling and zero taps to reveal on a phone.
   flex-shrink: 0 keeps this cluster (and the hamburger inside it) at
   full size on narrow phones; .brand shrinks instead if the row is
   tight, rather than the browser squeezing/overflowing the tap targets. */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.header-call-btn {
  position: relative;
  flex-shrink: 0;
}

.header-call-btn > summary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--min-tap);
  padding-inline: var(--space-3);
  background: var(--color-red);
  color: var(--color-text-on-red);
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.header-call-btn > summary::-webkit-details-marker,
.header-call-btn > summary::marker {
  display: none;
  content: "";
}

.header-call-btn > summary:hover {
  background: var(--color-red-dark);
}

.header-call-btn svg {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

/* Icon-only on mobile; the summary's aria-label keeps it meaningful. */
.header-call-btn__number {
  display: none;
}

@media (min-width: 900px) {
  /* Desktop nav already has its own prominent "Call / WhatsApp" button */
  .header-call-btn {
    display: none;
  }
}

/* Call / WhatsApp choice menu, shared by the mobile header button and the
   desktop nav item. Native <details>/<summary> so it works with zero JS;
   script.js just adds outside-click/Escape closing on top. */
.contact-menu__panel {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 180px;
  padding: var(--space-2);
  background: var(--color-bg-raised);
  border: 2px solid var(--color-yellow);
  border-radius: var(--radius);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.contact-menu__panel a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--min-tap);
  padding-inline: var(--space-3);
  border-radius: var(--radius);
  color: var(--color-cream);
  text-decoration: none;
  white-space: nowrap;
}

.contact-menu__panel a:hover {
  background: var(--color-bg-raised-2);
  color: var(--color-cream);
}

.contact-menu__panel svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.contact-menu__whatsapp svg,
.icon-whatsapp {
  color: #25d366;
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--min-tap);
  height: var(--min-tap);
  flex-shrink: 0;
  background: transparent;
  border: 2px solid var(--color-yellow);
  border-radius: var(--radius);
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.nav-toggle__box {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--color-yellow);
}

.nav-toggle__box::before,
.nav-toggle__box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-yellow);
  transition: transform 0.15s ease;
}

.nav-toggle__box::before { top: -6px; }
.nav-toggle__box::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__box { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg-raised);
  border-bottom: 4px solid var(--color-yellow);
  z-index: 20;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: var(--min-tap);
  padding: var(--space-3);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-cream);
  border-top: 1px solid var(--color-border-dark);
}

.site-nav a[aria-current="page"] {
  color: var(--color-yellow);
}

.site-nav__call {
  /* Already present persistently as .header-call-btn next to the
     hamburger, so it's redundant inside the mobile dropdown itself.
     Restored at 900px+, where it becomes the only header call button
     (header-call-btn is hidden at that width). */
  display: none;
}

.site-nav__call details {
  position: relative;
}

.site-nav__call summary {
  display: flex;
  align-items: center;
  min-height: var(--min-tap);
  padding: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-yellow);
  gap: var(--space-2);
  cursor: pointer;
  list-style: none;
}

.site-nav__call summary::-webkit-details-marker,
.site-nav__call summary::marker {
  display: none;
  content: "";
}

.site-nav__call svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .site-nav__call {
    display: list-item;
  }

  .site-nav {
    display: block;
    position: static;
    border: none;
    background: transparent;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
  }

  .site-nav a {
    border-top: none;
    padding: var(--space-2) 0;
    min-height: auto;
    font-size: 1.15rem;
  }

  .site-nav__call summary {
    background: var(--color-red);
    color: var(--color-text-on-red);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
    min-height: var(--min-tap);
    font-size: 1.15rem;
    box-shadow: 3px 3px 0 var(--color-yellow);
  }

  .site-nav__call summary:hover {
    background: var(--color-red-dark);
  }
}

/* --------------------------------------------------------------------------
   10. Hero banner
   Full-bleed workshop photo with a dark overlay for text legibility, and
   a floating card overlapping the bottom edge for the "layered" look.
   -------------------------------------------------------------------------- */
.hero-banner {
  position: relative;
  background-color: var(--color-bg);
  background-image: linear-gradient(180deg, rgba(32,30,28,0.35) 0%, rgba(32,30,28,0.85) 100%), url("img/lmk-front-mobile.jpg");
  background-size: cover;
  background-position: center;
  padding-block: var(--space-6) calc(var(--space-6) + 3rem);
  color: var(--color-cream);
}

@media (min-width: 900px) {
  .hero-banner {
    background-image: linear-gradient(180deg, rgba(32,30,28,0.25) 0%, rgba(32,30,28,0.85) 100%), url("img/lmk-front.jpg");
  }
}

.hero-banner__eyebrow {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-black);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-2);
  margin-bottom: var(--space-3);
  box-shadow: 3px 3px 0 var(--color-black);
}

.hero-banner h1 {
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
  max-width: 16ch;
}

.hero-banner__lede {
  font-size: 1.15rem;
  max-width: 45ch;
  color: var(--color-cream);
}

.hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* Floating card that overlaps the hero image's bottom edge */
.hero-float {
  position: relative;
  margin-top: -3.5rem;
  z-index: 2;
}

.hero-float__card {
  background: var(--color-bg-raised);
  border: 3px solid var(--color-yellow);
  box-shadow: 8px 8px 0 var(--color-red);
  border-radius: var(--radius);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .hero-float__card {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
}

.hero-float__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-1);
}

@media (min-width: 640px) {
  .hero-float__item:not(:first-child) {
    border-left: 2px solid var(--color-border-dark);
    padding-left: var(--space-4);
  }
}

.hero-float__item svg {
  width: 2rem;
  height: 2rem;
  flex: none;
  color: var(--color-yellow);
}

.hero-float__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--color-cream);
}

.hero-float__item span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-bg-raised);
  color: var(--color-text-muted);
  margin-top: var(--space-6);
  border-top: 4px solid var(--color-red);
}

.site-footer :focus-visible {
  outline-color: var(--color-yellow);
}

.site-footer a {
  color: var(--color-cream);
}

.site-footer a:hover {
  color: var(--color-yellow);
}

.site-footer__inner {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-5);
}

.site-footer__heading {
  color: var(--color-yellow);
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

.site-footer__col--logo {
  display: flex;
  align-items: center;
  padding-right: var(--space-5);
}

.site-footer__logo {
  width: 100%;
  max-width: 170px;
  height: auto;
}

.footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
}

.footer-info-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding-block: var(--space-1);
}

.footer-info-list svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--color-yellow);
}

.details-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.details-row svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--color-yellow);
}

.hours-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-1);
}

.hours-list li svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--color-yellow);
}

.hours-list__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  max-width: 185px;
  flex: 1;
}

.footer-contact-icons {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.footer-contact-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--min-tap);
  height: var(--min-tap);
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius);
}

.footer-contact-icons a:hover {
  border-color: var(--color-yellow);
}

.footer-contact-icons svg {
  width: 1.4rem;
  height: 1.4rem;
}

.footer-contact-icons img {
  width: 1.9rem;
  height: 1.9rem;
  object-fit: contain;
}

.site-footer__legal {
  border-top: 1px solid var(--color-border-dark);
  padding-block: var(--space-3);
  font-size: 0.8rem;
}

.site-footer__legal p {
  margin-bottom: var(--space-1);
}

@media (min-width: 640px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr 1fr;
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   12. Sections / bold overlapping cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-bg-raised);
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: 6px 6px 0 var(--color-yellow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--color-yellow);
}

.card:nth-child(3n+2) {
  box-shadow: 6px 6px 0 var(--color-red);
}

.card:nth-child(3n+2):hover {
  box-shadow: 8px 8px 0 var(--color-red);
}

.card h3 {
  color: var(--color-yellow);
}

.card:nth-child(3n+2) h3 {
  color: var(--color-red-bright);
}

/* Full service list: plain sentence-style titles read better than
   short punchy labels in all-caps display type, and a consistent
   single accent color reads as one calm list instead of alternating
   red/yellow "randomness" across 8 items. */
.service-list .card,
.service-list .card:nth-child(3n+2) {
  box-shadow: 6px 6px 0 var(--color-yellow);
}

.service-list .card:hover,
.service-list .card:nth-child(3n+2):hover {
  box-shadow: 8px 8px 0 var(--color-yellow);
}

.service-list .card h3,
.service-list .card:nth-child(3n+2) h3 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-cream);
}

.card-grid--single-color .card,
.card-grid--single-color .card:nth-child(3n+2) {
  box-shadow: 6px 6px 0 var(--color-yellow);
}

.card-grid--single-color .card:hover,
.card-grid--single-color .card:nth-child(3n+2):hover {
  box-shadow: 8px 8px 0 var(--color-yellow);
}

.card-grid--single-color .card h3,
.card-grid--single-color .card:nth-child(3n+2) h3 {
  color: var(--color-yellow);
}

.trust-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding-block: var(--space-2);
}

.trust-list svg {
  flex: none;
  width: 1.6em;
  height: 1.6em;
  color: var(--color-black);
  background: var(--color-yellow);
  border-radius: 50%;
  padding: 0.3em;
}

.cta-banner {
  background: var(--color-bg-raised);
  background-image: repeating-linear-gradient(135deg, rgba(251,176,59,0.06) 0 20px, transparent 20px 40px);
  color: var(--color-cream);
  text-align: center;
  padding-block: var(--space-5);
  border-block: 4px solid var(--color-yellow);
}

.cta-banner h2 {
  color: var(--color-cream);
}

.cta-banner :focus-visible {
  outline-color: var(--color-yellow);
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.field {
  margin-bottom: var(--space-4);
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.hint {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  min-height: var(--min-tap);
  padding: var(--space-2) var(--space-3);
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius);
  background: var(--color-bg-raised-2);
  color: var(--color-text);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--color-yellow);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--color-error);
}

.field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.field--checkbox input {
  width: 1.25rem;
  height: 1.25rem;
  min-width: var(--min-tap);
  min-height: var(--min-tap);
  flex: none;
  accent-color: var(--color-red);
}

.field--checkbox label {
  font-weight: 400;
  padding-top: var(--space-1);
}

.form-status {
  border: 2px solid var(--color-error);
  background: var(--color-bg-raised);
  color: var(--color-error);
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-top: var(--space-4);
}

.form-status[hidden] {
  display: none;
}

.form-status ul {
  margin-top: var(--space-2);
  padding-left: var(--space-4);
  list-style: disc;
}

.form-status a {
  color: var(--color-error);
}

/* --------------------------------------------------------------------------
   14. Map embed
   The Google Maps iframe sets Google's own cookies, so it isn't loaded
   until the visitor accepts via the cookie banner (see script.js).
   -------------------------------------------------------------------------- */
.map-embed {
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.map-embed__notice {
  padding: var(--space-5) var(--space-3);
  text-align: center;
  background: var(--color-bg-raised);
  color: var(--color-text-muted);
}

.map-embed__notice p {
  margin-bottom: var(--space-3);
}

/* --------------------------------------------------------------------------
   14b. Cookie consent banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--color-bg-raised);
  border-top: 4px solid var(--color-yellow);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
}

.cookie-banner p {
  flex: 1 1 260px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: var(--space-2);
}

.cookie-settings-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-cream);
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}

.cookie-settings-link:hover {
  color: var(--color-yellow);
}


/* --------------------------------------------------------------------------
   17. Legal content (privacy page prose)
   The global reset strips list-style from every ul/ol (fixes the nav
   losing bullets), but plain content lists inside the privacy notice
   still need visible bullets and spacing to stay readable/scannable.
   -------------------------------------------------------------------------- */
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--space-3);
}

.legal-content li {
  margin-bottom: var(--space-1);
}

/* --------------------------------------------------------------------------
   18. Notice banner (privacy page "this is a template" callout)
   -------------------------------------------------------------------------- */
.enquiry-box {
  background: var(--color-bg-raised);
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.notice-banner {
  background: var(--color-bg-raised);
  border: 2px solid var(--color-yellow);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   20. Gallery grid & lightbox
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid--preview { grid-template-columns: repeat(3, 1fr); }
}

.gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid var(--color-border-dark);
  box-shadow: 4px 4px 0 var(--color-red);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.gallery-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-red);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: min(100%, 1100px);
  max-height: 85vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--min-tap);
  height: var(--min-tap);
  background: var(--color-bg-raised);
  border: 2px solid var(--color-yellow);
  border-radius: var(--radius);
  color: var(--color-cream);
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--color-yellow);
  color: var(--color-black);
}

.lightbox__close svg,
.lightbox__nav svg {
  width: 1.4rem;
  height: 1.4rem;
}

.lightbox__close {
  top: var(--space-3);
  right: var(--space-3);
}

.lightbox__nav--prev { left: var(--space-3); }
.lightbox__nav--next { right: var(--space-3); }

@media (min-width: 640px) {
  .lightbox__nav--prev { left: var(--space-4); }
  .lightbox__nav--next { right: var(--space-4); }
}
