/* Self-hosted so the render path never leaves this origin.
   Google Fonts cost 961 ms of render-blocking time on mobile: a DNS lookup
   and TLS handshake to fonts.googleapis.com, then a second pair to
   fonts.gstatic.com, before a single glyph could paint.
   Generated from the Google Fonts CSS; latin and latin-ext subsets only. */
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Montserrat-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Montserrat-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Montserrat-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Montserrat-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/Montserrat-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/Montserrat-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/TitilliumWeb-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/TitilliumWeb-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/TitilliumWeb-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/TitilliumWeb-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/TitilliumWeb-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/TitilliumWeb-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Prime Euro Services
   Tokens from context/brand/prime-euro.md.
   Brand red is #ed1c24 (the logo). The old WordPress theme used #db3832,
   which is off-logo; do not reintroduce it. */

:root {
  --red: #ed1c24;
  --red-deep: #bf1b2c;
  /* WCAG AA pairings. White on --red is only 4.38:1, just under the 4.5:1
     needed for normal text, so buttons use --red-btn (6.2:1). Red text on
     the carbon hero is 3.97:1, so it uses --red-on-dark (5.7:1). The identity
     red itself is unchanged and still used for borders and accents. */
  --red-btn: #bf1b2c;
  --red-on-dark: #ff5a5f;
  --muted-ink: #6e6e6e;
  --muted-on-dark: #9a9aa2;
  --carbon: #1a1a1a;
  --ink: #262626;
  --body: #4c4c4c;
  --panel: #f4f4f5;
  --rule: #e3e3e5;
  --white: #fff;
  --display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Titillium Web', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--text);
  font-weight: 400;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--red-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }

img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 74ch; }
.section { padding-block: var(--gap); }
.muted { color: var(--muted-ink); font-size: 0.92em; }
/* On the dark footer the light-mode muted grey drops to 1.67:1. */
.site-foot .muted { color: var(--muted-on-dark); }

.skip {
  position: absolute; left: -9999px;
  background: var(--carbon); color: var(--white); padding: 0.7rem 1.1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---- header ---- */
.site-head { background: var(--carbon); position: sticky; top: 0; z-index: 50; }
.head-inner {
  display: flex; align-items: center; gap: 1.25rem;
  padding-block: 0.7rem; flex-wrap: wrap;
}
.brand img { width: 170px; height: auto; }
.nav {
  display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0;
  margin-inline-start: auto; flex-wrap: wrap;
}
.nav a {
  color: #e8e8ea; text-decoration: none; font-family: var(--display);
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em;
  text-transform: uppercase; padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current='page'] { color: var(--white); border-bottom-color: var(--red); }

/* ---- buttons ---- */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 700;
  font-size: 0.95rem; padding: 0.72em 1.35em; border-radius: 3px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--red-btn); color: var(--white); }
.btn-primary:hover { background: #a31625; color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-phone { background: var(--red-btn); color: var(--white); white-space: nowrap; }
.btn-phone:hover { background: #a31625; color: var(--white); }
@media (max-width: 640px) { .btn-phone-label { display: none; } }

/* ---- hero ---- */
.hero {
  background: var(--carbon);
  color: #dcdce0;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}
.hero h1 { color: var(--white); max-width: 20ch; }
.hero .eyebrow {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; font-size: 0.82rem; color: var(--red-on-dark); margin-bottom: 0.9rem;
}
.hero .lede { font-size: 1.12em; max-width: 60ch; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero .btn-ghost { color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--carbon); }
.hero-note { margin-top: 1rem; font-size: 0.94em; opacity: 0.8; }

.lede { font-size: 1.1em; }

/* ---- cards ---- */
.cards {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.card {
  border: 1px solid var(--rule); border-top: 3px solid var(--red);
  padding: 1.4rem; background: var(--white);
}
.card h3 { margin-bottom: 0.4em; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--red-deep); }

.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.pills a {
  display: inline-block; padding: 0.45em 0.95em; background: var(--panel);
  border: 1px solid var(--rule); border-radius: 999px; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--ink);
}
.pills a:hover { background: var(--carbon); color: var(--white); border-color: var(--carbon); }

.more { margin-top: 1.4rem; }

/* ---- testimonials ---- */
.quotes {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  margin-top: 1.5rem;
}
.quote {
  margin: 0; padding: 1.5rem; background: var(--panel);
  border-inline-start: 3px solid var(--red);
}
.quote blockquote { margin: 0; }
.quote p { font-size: 0.98em; }
.quote figcaption {
  margin-top: 0.9rem; font-family: var(--display); font-weight: 700;
  color: var(--ink); font-size: 0.92rem;
}

/* ---- gallery ---- */
.gallery {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
}
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 2px; }

/* ---- cta band ---- */
.band { background: var(--panel); border-block: 1px solid var(--rule); margin-top: var(--gap); }
.band-inner {
  display: flex; gap: 1.5rem; align-items: center; justify-content: space-between;
  flex-wrap: wrap; padding-block: clamp(1.75rem, 4vw, 2.75rem);
}
.band h2 { margin-bottom: 0.3em; }
.band p { margin: 0; }
.band-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---- blog ---- */
.post-item { padding-block: 1.5rem; border-bottom: 1px solid var(--rule); }
.post-item h2 { font-size: 1.35rem; margin-bottom: 0.25em; }
.post-item h2 a { text-decoration: none; color: var(--ink); }
.post-item h2 a:hover { color: var(--red-deep); }
.meta { font-size: 0.88em; color: var(--body); opacity: 0.8; margin-bottom: 0.5em; }

.post img { margin-block: 1.5rem; }
.post h2 { margin-top: 1.6em; }
.post ul, .post ol { padding-inline-start: 1.3rem; }
.post li { margin-bottom: 0.4em; }

/* ---- faq ---- */
.faq-item { padding-block: 1.4rem; border-bottom: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h2 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); margin-bottom: 0.5em; }

/* ---- form ---- */
.enquiry { margin-block: 1.75rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-family: var(--display); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field input, .field textarea {
  font: inherit; padding: 0.7em 0.85em; border: 1px solid #c9c9cd;
  border-radius: 3px; background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--red); }
.field textarea { resize: vertical; min-height: 8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 0.9rem; font-weight: 600; }
.form-status.ok { color: #1a7f3c; }
.form-status.err { color: var(--red-deep); }

/* ---- footer ---- */
.site-foot { background: var(--carbon); color: #b9b9bf; margin-top: var(--gap); padding-block: var(--gap) 1.5rem; }
.foot-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.site-foot a { color: #e8e8ea; }
.site-foot a:hover { color: var(--red); }
.foot-name { font-family: var(--display); font-weight: 800; color: var(--white); font-size: 1.1rem; margin-bottom: 0.3em; }
.foot-h { font-family: var(--display); font-weight: 700; color: var(--white); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 0.5em; }
.foot-legal {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid #333338; margin-top: var(--gap); padding-top: 1.25rem;
  font-size: 0.85rem;
}
.foot-legal p { margin: 0; }

/* ---- find us / maps ---- */
.find-us { margin-block: 1.5rem; }
.nap {
  font-style: normal; line-height: 1.7; margin-bottom: 1.1rem;
}
.nap-name { font-family: var(--display); font-weight: 700; color: var(--ink); }
/* Fixed aspect box so the map never causes layout shift while it loads. */
.map-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  min-height: 260px; max-height: 420px;
  border: 1px solid var(--rule); border-radius: 4px; overflow: hidden;
  background: var(--panel);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.map-actions .btn { flex: 1 1 auto; text-align: center; }
@media (min-width: 40rem) { .map-actions .btn { flex: 0 0 auto; } }

/* ---- form: validation + touch targets ---- */
.field .hint { font-weight: 400; font-size: 0.85rem; color: var(--body); }
.field input, .field textarea { min-height: 2.9rem; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red);
}
/* Only flag a field once it has actually been left in a bad state, never while
   the visitor is still mid-typing. .touched is set by enquiry.js on blur. */
.field.touched input:invalid, .field.touched textarea:invalid { border-color: var(--red-deep); }
.field-error { color: var(--red-deep); font-size: 0.85rem; font-weight: 600; min-height: 1.1em; }
.enquiry button[type="submit"] { min-height: 3rem; padding-inline: 1.6em; }
.enquiry button[aria-busy="true"] { opacity: 0.65; cursor: progress; }
.form-status:empty { display: none; }
.form-status.ok, .form-status.err {
  padding: 0.75rem 0.9rem; border-radius: 3px; border-left: 4px solid currentColor;
}
.form-status.ok { background: #eef8f1; }
.form-status.err { background: #fdeeef; }

/* ---- answer-engine blocks ---- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.facts { width: 100%; border-collapse: collapse; margin-top: 1.25rem; }
.facts th, .facts td {
  text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.facts th {
  font-family: var(--display); font-weight: 700; color: var(--ink);
  width: 40%; max-width: 14rem;
}
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
@media (max-width: 30rem) {
  .facts th, .facts td { display: block; width: auto; max-width: none; }
  .facts th { border-bottom: 0; padding-bottom: 0.15rem; }
  .facts td { padding-top: 0; }
}
.areas { margin-top: 1rem; }

/* ---- related services ---- */
.related {
  margin-top: 2.5rem; padding: 1.5rem; background: var(--panel);
  border-left: 4px solid var(--red); border-radius: 3px;
}
.related h2 { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); margin-bottom: 0.5em; }
.related ul { margin: 0.75rem 0; padding-left: 1.15rem; }
.related li { margin-bottom: 0.35rem; }
.related p:last-child { margin-bottom: 0; }
