/* ==========================================================================
   BRIGHTON BOILERS. DEMONSTRATION SITE, BLACK AND FIRE-RED TRADE BRAND
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-panel: #0a0a0b;
  --bg-panel-2: #131316;
  --border-subtle: rgba(226, 19, 26, 0.16);
  --border-medium: rgba(226, 19, 26, 0.32);

  --red: #e2131a;
  --red-bright: #ff3b35;

  --text-heading: #f5f5f5;
  --text-body: #b9b9be;
  --text-muted: #85858c;
  --text-subtle: #5c5c62;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-red: 0 4px 24px rgba(226, 19, 26, 0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

p { color: var(--text-body); }
a { color: inherit; text-decoration: none; }

.container-custom {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container-custom { padding: 0 2rem; } }

.section-padding { padding: 4rem 0; }
@media (min-width: 768px) { .section-padding { padding: 5.5rem 0; } }
.section-divider { border-top: 1px solid var(--border-subtle); }

/* Top bar */
.top-bar {
  background-color: #000;
  border-bottom: 1px solid var(--border-subtle);
  padding: 9px 0;
}
.top-bar-text {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red-bright);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background-color: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header.scrolled {
  background-color: rgba(5, 5, 5, 0.98);
  border-bottom: 1px solid var(--border-medium);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 78px;
  overflow: hidden;
}
@media (min-width: 1024px) { .site-nav { height: 92px; } }

.brand-link { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; height: 58px; width: auto; }
@media (min-width: 1024px) { .brand-logo { height: 74px; } }

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #d4d4d8;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover, .nav-link:focus-visible {
  color: #fff;
  background-color: rgba(226, 19, 26, 0.12);
}

.mobile-drawer {
  border-bottom: 1px solid var(--border-subtle);
  background-color: rgba(5, 5, 5, 0.99);
}
.mobile-nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #d4d4d8;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav-link:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%);
  color: #fff;
  box-shadow: var(--shadow-red);
  border-color: var(--red);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(226, 19, 26, 0.32); }
.btn-secondary {
  background: var(--bg-panel-2);
  color: #e6e6e9;
  border: 1px solid #2a2a2f;
}
.btn-secondary:hover { border-color: var(--border-medium); background-color: #17171b; }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.8125rem; }

/* Hero */
.hero { padding: 4.5rem 0 4rem; position: relative; }
@media (min-width: 768px) { .hero { padding: 6.5rem 0 5rem; } }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.75rem;
}

.hero-h1 {
  font-size: 2.1rem;
  margin-bottom: 1.1rem;
}
@media (min-width: 640px) { .hero-h1 { font-size: 2.75rem; } }
@media (min-width: 1024px) { .hero-h1 { font-size: 3.25rem; } }

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 40rem;
}

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #d4d4d8;
}
.trust-strip i { color: var(--red-bright); }

/* Section headings */
.section-h2 {
  font-size: 1.75rem;
  margin-bottom: 1.1rem;
}
@media (min-width: 768px) { .section-h2 { font-size: 2.1rem; } }

.body-text { font-size: 1rem; line-height: 1.75; color: var(--text-body); }

/* About service list */
.service-list { list-style: none; display: grid; gap: 0.7rem; }
.service-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9375rem;
  color: #d4d4d8;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background-color: var(--red);
  transform: rotate(45deg);
}

/* Side card */
.side-card {
  background-color: var(--bg-panel-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.side-card-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.side-card-list dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.3rem;
}
.side-card-list dd {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1.25rem 0;
}
.side-card-list dd:last-of-type { margin-bottom: 0; }

/* Qualification cards */
.qual-card {
  background-color: var(--bg-panel-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s ease;
}
.qual-card:hover { border-color: var(--border-medium); }
.qual-icon { font-size: 1.5rem; color: var(--red-bright); margin-bottom: 1rem; display: block; }
.qual-title {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  text-transform: none;
}
.qual-text { font-size: 0.875rem; line-height: 1.65; color: var(--text-muted); }

/* Testimonials */
.testimonial-card {
  background-color: var(--bg-panel-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.stars { color: var(--red-bright); font-size: 0.8125rem; letter-spacing: 0.15em; margin-bottom: 0.9rem; }
.testimonial-quote { font-size: 0.9375rem; line-height: 1.7; color: #d4d4d8; margin-bottom: 1.1rem; }
.testimonial-name { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-muted); }

/* Contact cards */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  background-color: var(--bg-panel-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  transition: border-color 0.2s ease;
}
a.contact-card:hover { border-color: var(--border-medium); }
.contact-card i { font-size: 1.375rem; color: var(--red-bright); margin-bottom: 0.4rem; }
.contact-card-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-card-value { font-size: 1rem; font-weight: 600; color: #fff; }

/* Footer */
.site-footer {
  background-color: #000;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  text-align: center;
}
.footer-logo { height: 56px; width: auto; margin: 0 auto 1.25rem; display: block; }
.footer-text { max-width: 32rem; margin: 0 auto 1.75rem; font-size: 0.9375rem; color: var(--text-muted); }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: #d4d4d8;
  margin-bottom: 2.25rem;
}
.footer-contact i { color: var(--red-bright); margin-right: 0.4rem; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
}
.footer-bottom p + p { margin-top: 0.4rem; }
.footer-credit a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--red-bright); }

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
img, svg { max-width: 100%; }
h1, h2, h3, p, li { overflow-wrap: break-word; }

.btn, .nav-link, .mobile-nav-link { min-height: 44px; -webkit-tap-highlight-color: rgba(226, 19, 26, 0.18); }

@media (max-width: 767.98px) {
  .section-padding { padding: 3rem 0; }
  .qual-card, .testimonial-card, .contact-card, .side-card { padding: 1.5rem; }
  .btn-lg { width: 100%; }
}

@media (hover: none) {
  .qual-card:hover, a.contact-card:hover, .btn-primary:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
