/* ==========================================================================
   Deutsche Car Specialists Ltd — stylesheet
   Vanilla rebuild, UX/UI polish pass. Brand: red #c4152c, dark #1f1f1f, white.
   Class names unchanged so markup stays stable.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* brand */
  --red: #c4152c;
  --red-dark: #a01024;
  --red-tint: #fdeef0;
  --dark: #1f1f1f;
  --charcoal: #2c2c2c;

  /* neutrals (all body/muted text >= 4.5:1 on white) */
  --ink: #1a1a1a;
  --grey: #565656;          /* muted text — 7.4:1 on white */
  --grey-soft: #6f6f6f;
  --grey-line: #e7e7e7;
  --grey-bg: #f6f6f7;
  --white: #ffffff;

  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* spacing scale (4px base) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 2.5rem; --s-8: 3rem;
  --s-10: 4rem; --s-12: 6rem;

  --wrap: 1200px;
  --measure: 68ch;          /* readable line length for prose */
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-xs: 0 1px 2px rgba(16,16,16,.06);
  --shadow-sm: 0 4px 16px rgba(16,16,16,.07);
  --shadow: 0 14px 40px rgba(16,16,16,.10);
  --shadow-red: 0 10px 26px rgba(196,21,44,.30);

  --t-fast: 150ms;
  --t: 220ms;
  --ease: cubic-bezier(.22, .61, .36, 1); /* ease-out */

  /* z-index scale */
  --z-header: 50;
  --z-totop: 60;
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.14; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.7vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -.005em; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1.15em; }
strong { color: var(--ink); }
ul { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
::selection { background: var(--red); color: #fff; }

/* ---- Global focus-visible (a11y) --------------------------------------- */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- Layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(36px, 4vw, 52px) 0; }
.section--grey { background: var(--grey-bg); }
.section--dark { background: var(--dark); color: #d9d9d9; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--grey); max-width: var(--measure); }
.text-center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; transform: translateY(-2px); }
.text-center .eyebrow::after { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--red); vertical-align: middle; margin-left: 10px; transform: translateY(-2px); }
.rule { width: 60px; height: 4px; background: var(--red); border: 0; border-radius: 4px; margin: 0 0 24px; }
.text-center .rule { margin-left: auto; margin-right: auto; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .82rem;
  line-height: 1;
  padding: 16px 32px;
  min-height: 48px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease),
              transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn:active { transform: translateY(0); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--outline:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--lg { padding: 18px 44px; font-size: .9rem; min-height: 56px; }
.btn::after { content: "→"; font-size: 1.05em; transition: transform var(--t) var(--ease); }
.btn:hover::after { transform: translateX(3px); }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar { background: var(--dark); color: #cbcbcb; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #cbcbcb; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__contact a { display: inline-flex; align-items: center; }
.topbar__contact span { color: var(--red); font-weight: 700; margin-right: 6px; }
.topbar__social { display: flex; gap: 10px; align-items: center; }
.topbar__social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background var(--t) var(--ease), transform var(--t) var(--ease); }
.topbar__social a:hover { background: var(--red); transform: translateY(-1px); }
.topbar__social svg { width: 15px; height: 15px; fill: currentColor; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--grey-line);
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 82px; }
.brand { display: inline-flex; }
.brand img { height: 54px; width: auto; transition: transform var(--t) var(--ease); }
.brand:hover img { transform: scale(1.03); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 46px; height: 46px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; height: 3px; width: 26px; background: var(--ink); border-radius: 3px; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease); }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav a { font-family: var(--font-head); font-weight: 600; font-size: .94rem; color: var(--ink); padding: 10px 15px; border-radius: var(--radius); display: block; position: relative; }
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.main-nav a:hover { color: var(--red); }
.main-nav .current > a { color: var(--red); }
.main-nav .current > a::after { transform: scaleX(1); }

/* dropdown */
.has-sub { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: 5px; }
.has-sub > a::before { content: "▾"; order: 2; font-size: .7em; transition: transform var(--t) var(--ease); }
.has-sub:hover > a::before { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% - 2px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--grey-line); border-top: 3px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 8px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { padding: 11px 14px; font-weight: 500; border-radius: 6px; }
.sub-menu a:hover { background: var(--red-tint); color: var(--red-dark); }

/* ==========================================================================
   Hero (home) — diagonal red panel
   ========================================================================== */
.hero { position: relative; background: var(--dark) url("../img/hero.jpg") center/cover no-repeat; color: #fff; overflow: hidden; }
.hero__overlay { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(160,16,36,.96) 0%, rgba(196,21,44,.88) 30%, rgba(31,31,31,.55) 52%, rgba(31,31,31,.06) 72%, rgba(31,31,31,0) 100%); }
.hero .wrap { position: relative; z-index: 2; min-height: clamp(420px, 56vh, 560px); display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: #fff; max-width: 16ch; text-transform: uppercase; text-shadow: 0 2px 20px rgba(0,0,0,.28); animation: rise .6s var(--ease) both; }
.hero p { max-width: 46ch; font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: rgba(255,255,255,.94); margin-bottom: 30px; animation: rise .6s var(--ease) .08s both; }
.hero .btn { animation: rise .6s var(--ease) .16s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* page banner (interior pages) */
.page-banner { background: var(--dark) url("../img/hero.jpg") center 35%/cover no-repeat; color: #fff; position: relative; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(160,16,36,.95), rgba(31,31,31,.72) 70%); }
.page-banner .wrap { position: relative; z-index: 2; padding: clamp(48px, 6vw, 76px) clamp(20px, 4vw, 32px); }
.page-banner h1 { color: #fff; margin: 0; text-transform: uppercase; }
.breadcrumbs { font-size: .85rem; color: rgba(255,255,255,.88); margin-top: 12px; }
.breadcrumbs a { color: rgba(255,255,255,.88); }
.breadcrumbs a:hover { color: #fff; }

/* ==========================================================================
   About / split content
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split__media { position: relative; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__media::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 96px; height: 96px; border-left: 5px solid var(--red); border-bottom: 5px solid var(--red); border-radius: 0; z-index: -1; }
.split--reverse .split__media { order: 2; }
.split--reverse .split__media::after { left: auto; right: -14px; border-left: 0; border-right: 5px solid var(--red); }
.split__body h3 { color: var(--red); }

/* ==========================================================================
   Brand strip
   ========================================================================== */
.brands { border-top: 4px solid var(--red); background: #fff; }
.brands__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: center; }
.brands__grid a { padding: 18px 12px; display: flex; justify-content: center; align-items: center; border-radius: var(--radius); filter: grayscale(1); opacity: .55; transition: filter var(--t) var(--ease), opacity var(--t) var(--ease), transform var(--t) var(--ease), background var(--t) var(--ease); }
.brands__grid a:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); background: var(--grey-bg); }
.brands__grid img { max-height: 58px; width: auto; }

/* ==========================================================================
   Services grid / feature cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 26px); }
.card {
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,31,31,.32), transparent 55%); opacity: 0; transition: opacity var(--t) var(--ease); }
.card:hover .card__media::after { opacity: 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; color: var(--grey); flex: 1; margin-bottom: 16px; }
.card__link { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.card__link::after { content: "→"; transition: transform var(--t) var(--ease); }
.card:hover .card__link::after { transform: translateX(4px); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quote-band { border-top: 4px solid var(--red); }
.quote { background: #fff; border: 1px solid var(--grey-line); border-left: 4px solid var(--red); border-radius: 0; padding: 32px 36px; box-shadow: var(--shadow-sm); position: relative; }
.quote__mark { font-family: Georgia, serif; font-size: 3rem; line-height: 0; color: var(--red); opacity: .3; }
.quote p { font-style: italic; font-size: 1.05rem; color: #444; }
.quote cite { font-style: normal; font-weight: 700; font-family: var(--font-head); color: var(--ink); display: block; margin-top: 10px; }
.stars { color: #f5a623; letter-spacing: 3px; margin-bottom: 10px; font-size: 1.05rem; }

.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 26px); }

.click-testi { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.click-testi a { font-family: var(--font-head); font-weight: 800; line-height: 1.12; color: var(--ink); padding: 28px 36px; border: 2px dashed var(--grey-line); border-radius: 0; transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.click-testi a:hover { border-color: var(--red); transform: translateY(-3px); }
.click-testi a:hover .l2, .click-testi a:hover .l3 { color: var(--red); }
.click-testi .l1 { font-size: 1.5rem; color: var(--red); }
.click-testi .l2, .click-testi .l3 { font-size: 1.5rem; transition: color var(--t) var(--ease); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--dark); border-top: 4px solid var(--red); text-align: center; padding: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(196,21,44,.28), transparent 65%); }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 22px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.info-block { margin-bottom: 26px; }
.info-block h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--red); margin-bottom: 8px; }
.info-block p { color: var(--grey); }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-top: 8px; }

/* ---- Forms -------------------------------------------------------------- */
.appt-form { background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.appt-form h3 { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 15px; border: 1.5px solid var(--grey-line); border-radius: var(--radius);
  background: var(--grey-bg);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--grey-soft); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(196,21,44,.12); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--grey); margin-top: 4px; }
.form-success { display: none; background: #e9f7ee; border: 1px solid #b6e0c2; color: #15703a; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 500; }
.form-success.show { display: block; animation: rise .35s var(--ease) both; }

/* ==========================================================================
   Article / prose pages
   ========================================================================== */
.prose { max-width: var(--measure); }
.split__body.prose { max-width: none; }
.prose h2 { margin-top: 0; }
.prose h3 { color: var(--red); margin-top: 1.7em; }
.prose ul { padding-left: 1.3em; }
.prose ul li::marker { color: var(--red); }
.prose--narrow { margin-left: auto; margin-right: auto; }

/* news */
.post-list { display: grid; gap: 24px; max-width: var(--measure); margin: 0 auto; }
.post { border: 1px solid var(--grey-line); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow-xs); transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.post:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.post time { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-weight: 700; font-family: var(--font-head); }
.post h2 { margin: 8px 0 12px; font-size: 1.5rem; }
.post p { color: var(--grey); margin-bottom: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark); color: #9c9c9c; padding: clamp(52px, 6vw, 80px) 0 0; border-top: 3px solid var(--red); position: relative; z-index: 65; }
.site-footer a { color: #c6c6c6; transition: color var(--t-fast) var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 20px; }
.footer-brand p { color: #9c9c9c; font-size: .95rem; line-height: 1.75; max-width: 40ch; margin-bottom: 0; }
.footer-logo { height: 50px; margin-bottom: 22px; filter: brightness(0) invert(1); opacity: .95; }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background var(--t) var(--ease), transform var(--t) var(--ease); }
.footer-social a:hover { background: var(--red); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: .95rem; }

.footer-contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .95rem; color: #9c9c9c; line-height: 1.5; }
.footer-contact-list svg { width: 18px; height: 18px; fill: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: #c6c6c6; }
.pay-cards { margin-top: 24px; max-width: 200px; opacity: .85; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: .82rem; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; color: #8a8a8a; }
.footer-legal a { margin-left: 22px; }
.footer-legal a:first-child { margin-left: 0; }

/* back-to-top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: var(--z-totop);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); font-size: 1.2rem;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), background var(--t) var(--ease);
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .split__media::after { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 1rem; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--grey-line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .main-nav.open { max-height: 70vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .main-nav li { border-bottom: 1px solid var(--grey-bg); }
  .main-nav a { padding: 15px 24px; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav .current > a { box-shadow: inset 4px 0 0 var(--red); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 8px 18px; }
  .has-sub.open > .sub-menu { display: flex; }
  .has-sub > a { justify-content: space-between; }
  .has-sub > a::before { order: 0; }
  .testi-grid { grid-template-columns: 1fr; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .topbar { font-size: .8rem; }
  .topbar__contact { gap: 14px; }
}

/* ---- Motion preferences (a11y) ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   Gravity Forms (WordPress) — inherit the site's enquiry-form styling.
   GF version markup varies; adjust selectors if your form differs.
   ========================================================================== */
.gform_wrapper { background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.gform_wrapper .gform_fields { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gform_wrapper .gfield { margin: 0; }
.gform_wrapper .gfield--type-textarea, .gform_wrapper li.gfield.gf_left_half + li.gfield.gfield--type-textarea { grid-column: 1 / -1; }
.gform_wrapper .gfield_label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; color: var(--ink); }
.gform_wrapper .gfield_required { color: var(--red); }
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 15px; border: 1.5px solid var(--grey-line); border-radius: var(--radius); background: var(--grey-bg);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.gform_wrapper input:focus, .gform_wrapper textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(196,21,44,.12); }
.gform_wrapper textarea { min-height: 130px; resize: vertical; }
.gform_wrapper .gform_footer { padding-top: 10px; margin: 0; }
.gform_wrapper .gform_footer input[type="submit"], .gform_wrapper .gform_button {
  display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; line-height: 1;
  padding: 18px 44px; min-height: 56px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid var(--red); background: var(--red); color: #fff;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.gform_wrapper .gform_footer input[type="submit"]:hover, .gform_wrapper .gform_button:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.gform_wrapper .gfield_description.validation_message, .gform_wrapper .validation_error { color: var(--red); font-size: .9rem; }
@media (max-width: 540px) { .gform_wrapper .gform_fields { grid-template-columns: 1fr; } }

/* Google reviews placeholder (static preview; replaced by the Trustindex widget in WordPress) */
.reviews-placeholder { text-align: center; color: var(--grey); border: 2px dashed var(--grey-line); border-radius: var(--radius-lg); padding: 48px 24px; background: #fff; }
.reviews-placeholder code { background: var(--grey-bg); padding: 2px 8px; border-radius: 4px; font-size: .9em; color: var(--red-dark); }
