/* BB Multitrades — Bridgend. Veteran-owned handyman & trades. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Barlow:wght@400;500;600&display=swap');

:root {
  --ink: #14161a;
  --ink-soft: #2a2d33;
  --paper: #f5f3ef;
  --paper-dim: #e9e5dd;
  --red: #b31f24;
  --red-deep: #7d1418;
  --steel: #7d8590;
  --steel-light: #c7cdd4;
  --gold: #b8862b;
  --line: rgba(20,22,26,0.12);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Barlow', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display {
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1rem; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.95rem 1.8rem;
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
}
.btn-dark:hover { background: #000; border-color: #000; }

/* Union Jack accent strip */
.flag-strip {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--ink) 33% 66%, var(--steel) 66% 100%);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--red);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.brand-text .bb {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.brand-text .bb span { color: var(--red); }
.brand-text .sub {
  display: block;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-top: 0.15rem;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.main-nav a {
  text-decoration: none;
  color: #eceff2;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
}
.main-nav a:hover { border-bottom-color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
  padding: 5.5rem 0;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 18% 25%, rgba(179,31,36,0.28), transparent 55%),
    linear-gradient(135deg, #1d2028 0%, #14161a 65%);
}
.hero-backdrop::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -18%;
  width: 65%;
  height: 150%;
  background: repeating-linear-gradient(135deg, rgba(179,31,36,0.14) 0 16px, transparent 16px 34px);
  transform: skewX(-10deg);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(179,31,36,0.9);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  font-weight: 700;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-sub {
  margin-top: 1.3rem;
  max-width: 34rem;
  font-size: 1.1rem;
  color: #e6e3dc;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}
.hero-badge-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.5));
}
.hero-stats {
  width: 100%;
  border-top: 2px solid var(--red);
  padding-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  text-align: center;
}
.hero-stat .num {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}
.hero-stat .num span { color: var(--red); }
.hero-stat .lab {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-top: 0.3rem;
}

/* ===== Section basics ===== */
section { padding: 5.5rem 0; }
.section-tag {
  display: inline-block;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.section-head {
  max-width: 42rem;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.05;
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 1rem; }
.on-dark { background: var(--ink); color: #fff; }
.on-dark .section-head p { color: var(--steel-light); }
.on-dark h2, .on-dark h3 { color: #fff; }

/* ===== Services — grouped capability lists ===== */
.svc-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.svc-group {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  padding: 2rem 1.8rem;
}
.svc-group h3 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.svc-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.svc-group li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.94rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.svc-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--red);
}
.svc-group-dark { background: var(--ink); border-top-color: var(--red); color: #fff; }
.svc-group-dark h3 { color: #fff; }
.svc-group-dark li { color: var(--steel-light); }
.svc-group-accent { background: var(--red); border-top-color: var(--ink); color: #fff; }
.svc-group-accent h3 { color: #fff; }
.svc-group-accent li { color: rgba(255,255,255,0.9); }
.svc-group-accent li::before { background: #fff; }
.svc-note {
  margin-top: 2.5rem;
  padding: 1.6rem 2rem;
  border: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.svc-note p { margin: 0; font-size: 1rem; color: var(--ink-soft); }

/* ===== Why us — offset trust band ===== */
.trust {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.trust-media { position: relative; min-height: 480px; }
.trust-media img { width: 100%; height: 100%; object-fit: cover; }
.trust-media .medal {
  position: absolute;
  bottom: -1px;
  right: -1px;
  background: var(--red);
  color: #fff;
  padding: 1.1rem 1.4rem;
  font-family: 'Oswald', Arial, sans-serif;
  max-width: 15rem;
  border-top-left-radius: var(--radius);
}
.trust-media .medal strong { display: block; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }
.trust-media .medal span { display: block; font-size: 0.78rem; margin-top: 0.3rem; color: rgba(255,255,255,0.85); font-family: 'Barlow', Arial, sans-serif; text-transform: none; letter-spacing: normal; }
.trust-copy {
  background: var(--ink);
  color: #fff;
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trust-copy .section-tag { color: var(--red); }
.trust-copy h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 1.3rem; color: #fff; }
.trust-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1.1rem; }
.trust-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: #e6e3dc;
}
.trust-list li::before {
  content: '';
  flex-shrink: 0;
  width: 9px; height: 9px;
  margin-top: 0.45rem;
  background: var(--red);
}

/* ===== Work strip ===== */
.work-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.work-strip figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 3/4; }
.work-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work-strip figure:hover img { transform: scale(1.06); }
.work-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  color: #fff; padding: 1.6rem 1rem 0.9rem;
  font-family: 'Oswald', Arial, sans-serif; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.05em;
}
.work-strip figure:nth-child(2) { margin-top: 2.2rem; }
.work-strip figure:nth-child(4) { margin-top: 2.2rem; }

/* ===== Reviews ===== */
.reviews-band { background: var(--paper-dim); }
.review-top {
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.review-score .num { font-family: 'Oswald', Arial, sans-serif; font-size: 3.2rem; font-weight: 700; color: var(--red); line-height: 1; }
.review-score .lab { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-top: 0.3rem; }
.review-cta-note {
  background: #fff;
  border: 1px dashed var(--line);
  padding: 1.4rem 1.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 40rem;
}
.testimonial-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.testimonial-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: testimonial-scroll 48s linear infinite;
}
.testimonial-track-dup {
  display: contents;
}
.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track {
  animation-play-state: paused;
}
@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-track { animation: none; }
  .testimonial-marquee { overflow-x: auto; }
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  margin: 0;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  flex: 0 0 300px;
  width: 300px;
}
.testimonial p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.testimonial footer {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.testimonial footer span {
  color: var(--steel);
  text-transform: none;
  font-family: 'Barlow', Arial, sans-serif;
  letter-spacing: normal;
  font-size: 0.82rem;
}
/* ===== Recent-work gallery ===== */
.gallery-band { background: var(--ink); color: #fff; padding: 5.5rem 0 0; }
.gallery-band h2, .gallery-band h3 { color: #fff; }
.gallery-band .section-tag { color: var(--red); }
.gallery-band .section-head p { color: var(--steel-light); }
.gallery-marquee {
  overflow: hidden;
  margin-top: 3rem;
  padding-bottom: 5.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.gallery-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: gallery-scroll 65s linear infinite;
}
.gallery-track-dup { display: contents; }
.gallery-marquee:hover .gallery-track,
.gallery-marquee:focus-within .gallery-track {
  animation-play-state: paused;
}
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
  .gallery-marquee { overflow-x: auto; }
}
.gallery-item {
  margin: 0;
  flex: 0 0 220px;
  width: 220px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Area served ===== */
.area-band { background: var(--ink); color: #fff; }
.area-band h2, .area-band h3 { color: #fff; }
.area-band .section-tag { color: var(--red); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.area-list { display: flex; flex-wrap: wrap; gap: 0.6rem 0.8rem; padding: 0; margin: 1.6rem 0 0; list-style: none; }
.area-list li {
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.5rem 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 2.5rem;
}
.contact-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-row:first-child { border-top: none; padding-top: 0; }
.contact-row .ico { width: 20px; flex-shrink: 0; margin-top: 0.2rem; color: var(--red); }
.contact-row a, .contact-row span { text-decoration: none; font-size: 1rem; color: var(--ink); }
.contact-row .lab { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); margin-bottom: 0.15rem; }
.social-row { display: flex; gap: 0.8rem; margin-top: 1.8rem; }
.social-row a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.social-row a:hover { background: var(--red); border-color: var(--red); color: #fff; }

form.enquiry { display: grid; gap: 1rem; }
.enquiry label { display: block; font-family: 'Oswald', Arial, sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 1rem;
  border-radius: var(--radius);
}
.enquiry textarea { resize: vertical; min-height: 100px; }
.enquiry .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.enquiry .note { font-size: 0.82rem; color: var(--steel); }
.enquiry-status { font-size: 0.9rem; padding: 0; }
.enquiry-status:empty { display: none; }
.enquiry-status.is-ok { padding: 0.85rem 1rem; background: #e8f5e9; color: #1b5e20; }
.enquiry-status.is-error { padding: 0.85rem 1rem; background: #fdeaea; color: #a11; }
.enquiry-status.is-sending { color: var(--steel); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cfd3d8; padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .bb { font-family: 'Oswald', Arial, sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
.footer-brand .bb span { color: var(--red); }
.footer-brand p { margin-top: 0.9rem; font-size: 0.9rem; max-width: 24rem; color: var(--steel-light); }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.site-footer a { color: var(--steel-light); text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding: 1.4rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.8rem; color: var(--steel); }

/* ===== Cookie banner ===== */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; background: #fff; color: #1a1a1a; border-top: 1px solid #ddd; padding: .9rem 1.2rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; box-shadow: 0 -2px 10px rgba(0,0,0,.08); }
.cookie-banner p { margin: 0; font-size: .85rem; max-width: 60ch; }
.cookie-banner button { padding: .5rem 1.1rem; border-radius: .4rem; border: none; background: #1a1a1a; color: #fff; cursor: pointer; font-size: .85rem; flex-shrink: 0; }
.cookie-banner.is-hidden { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-badge-img { max-width: 220px; }
  .svc-groups { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust-copy { padding: 3rem 1.5rem; }
  .trust-media { min-height: 320px; }
  .work-strip { grid-template-columns: repeat(2, 1fr); }
  .work-strip figure:nth-child(2), .work-strip figure:nth-child(4) { margin-top: 0; }
  .area-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial { width: 260px; }
  .gallery-item { flex-basis: 180px; width: 180px; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .header-phone { display: none; }
  .header-cta .btn { display: none; }
  .brand-text .sub { display: none; }
  .brand-text .bb { font-size: 1.15rem; }
  .brand-mark { width: 34px; height: 34px; }
  .site-header .container { padding-top: 0.7rem; padding-bottom: 0.7rem; }
  .hero-inner { padding-left: 0.5rem; padding-right: 0.5rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .hero-badge { font-size: 0.66rem; }
  .svc-groups { grid-template-columns: 1fr; }
  .svc-note { flex-direction: column; align-items: flex-start; text-align: left; }
  .testimonial { width: 240px; }
  .gallery-band { padding-top: 3.5rem; }
  .gallery-marquee { margin-top: 2rem; padding-bottom: 3.5rem; }
  .gallery-item { flex-basis: 150px; width: 150px; }
  .footer-grid { grid-template-columns: 1fr; }
  .enquiry .row-2 { grid-template-columns: 1fr; }
}

/* ===== Mobile nav drawer ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--ink);
  color: #fff;
  padding: 5.5rem 1.5rem 2rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}
.mobile-nav .btn { margin-top: 1.6rem; }
