@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

/* ── Reset & base ── */
:root {
  --red: #c0191a;
  --red-bright: #e53935;
  --red-dark: #8b0000;
  --dark: #0d1520;
  --dark-soft: #141d2b;
  --text: #1a1a1a;
  --text-muted: #5a5a6a;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --white: #ffffff;
  --border: #e6e8ec;
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1160px;
  --header-height: 72px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { margin: 0; font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; top: -100px; left: 16px;
  padding: 12px 20px; background: var(--red); color: var(--white); font-weight: 600; border-radius: var(--radius); z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ── Top accent stripe ── */
.top-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--red-dark) 0%, var(--red-bright) 40%, var(--red-bright) 60%, var(--red-dark) 100%);
}

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { flex-shrink: 0; }
.logo img { max-height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: flex-end; }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav a, .nav .dropdown-label {
  padding: 9px 13px; font-weight: 500; font-size: 0.9375rem; color: var(--text); border-radius: var(--radius);
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.nav a:hover, .nav .dropdown.open .dropdown-label { background: rgba(192,25,26,0.07); color: var(--red); text-decoration: none; }
.nav a.current { font-weight: 600; color: var(--red); }
.nav-phone { margin-left: 8px; padding: 9px 18px !important; background: var(--red); color: var(--white) !important; border-radius: var(--radius); font-weight: 600; transition: transform 0.2s ease !important; }
.nav-phone:hover { transform: scale(1.03); background: var(--red) !important; color: var(--white) !important; text-decoration: none !important; }

.dropdown { position: relative; display: inline-block; }
.dropdown-label { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; display: flex; align-items: center; gap: 6px; }
.dropdown-label::after { content: ''; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: 0.6; transition: transform 0.2s; }
.dropdown.open .dropdown-label::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; padding: 8px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); display: none;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 11px 14px; color: var(--text); border-radius: 8px; font-size: 0.9375rem; }
.dropdown-menu a:hover { background: rgba(192,25,26,0.07); color: var(--red); text-decoration: none; }
.dropdown-menu a.current { font-weight: 600; color: var(--red); }

.menu-toggle { display: none; padding: 10px; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: all 0.2s; }
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav.open .nav-phone { display: block; margin: 12px 0 0; }
  .menu-toggle { display: flex; }
}

/* ── Hero — home page ── */
.hero {
  background: linear-gradient(160deg, #f5f6f8 0%, #ffffff 60%);
  position: relative; overflow: hidden;
  padding: clamp(72px, 11vw, 120px) 24px clamp(80px, 12vw, 136px);
}
.hero-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px; gap: clamp(48px, 7vw, 80px);
  align-items: center; position: relative;
}
/* Home page hero has a visual image (not stat cards) — use balanced columns */
.hero-inner:has(.hero-visual) {
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red); margin: 0 0 20px;
}
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: currentColor; border-radius: 1px; }
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-weight: 700; line-height: 1.1; color: var(--text);
  margin: 0 0 22px; letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--red); }
/* Fire & Security page — larger h1, flex layout gives more room */
.hero-inner--division h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.625rem);
  line-height: 1.08; margin: 0 0 20px;
}
/* Stat-card division pages (A/V, cabling, nurse-call) */
.hero-inner:has(.hero-aside) h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  margin: 0 0 20px;
}
.hero .tagline {
  font-size: clamp(1rem, 1.8vw, 1.1875rem); color: var(--text-muted);
  max-width: 52ch; margin: 0 0 36px; line-height: 1.65;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-visual img { max-width: 420px; width: 100%; }
@media (max-width: 768px) {
  .hero-inner,
  .hero-inner:has(.hero-visual),
  .hero-inner:has(.hero-aside) { grid-template-columns: 1fr; }
  .hero { padding: 40px 24px 48px; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 320px; margin: 0 auto; }
}

/* ── Hero — division pages (logo-block layout) ── */
.hero-inner--division {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; gap: clamp(40px, 6vw, 80px);
  position: relative;
}
.hero-inner--division .logo-block { flex-shrink: 0; }
.hero-inner--division .logo-block img { max-width: 320px; width: 100%; }
.hero-inner--division .hero-text { flex: 1; min-width: 0; }
@media (max-width: 700px) {
  .hero-inner--division { flex-direction: column; align-items: flex-start; }
  .hero-inner--division .logo-block img { max-width: 240px; }
}

/* ── Hero — stat card layout (nurse-call etc.) ── */
.hero-inner--stats {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px);
  align-items: center; position: relative;
}
.hero-aside { display: flex; flex-direction: column; gap: 12px; }
.hero-stat-card { background: var(--white); border: 1px solid #c2c5cc; border-radius: var(--radius-lg); padding: 22px 24px; }
.hero-stat-card .num { font-size: 2rem; font-weight: 700; color: var(--red); line-height: 1; letter-spacing: -0.03em; }
.hero-stat-card .label { font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }
@media (max-width: 768px) {
  .hero-inner--stats { grid-template-columns: 1fr; }
  .hero-aside { flex-direction: row; flex-wrap: wrap; }
  .hero-stat-card { flex: 1; min-width: 160px; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 15px 30px; font-weight: 600;
  font-size: 0.9375rem; letter-spacing: 0.01em; border-radius: var(--radius);
  transition: all 0.18s ease; cursor: pointer; line-height: 1; border: none;
}
.btn-primary, .btn-outline { padding: 13.5px 28.5px; }
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--red); color: var(--white); border: 1.5px solid var(--red);
  position: relative; overflow: hidden; z-index: 0;
  transition: color 0.28s ease;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.28s ease;
  z-index: -1;
}
.btn-primary:hover { color: var(--red); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-outline {
  background: var(--white); color: var(--red); border: 1.5px solid var(--red);
  position: relative; overflow: hidden; z-index: 0;
  transition: color 0.28s ease;
}
.btn-outline::before {
  content: ''; position: absolute; inset: 0;
  background: var(--red);
  transform: translateX(-101%);
  transition: transform 0.28s ease;
  z-index: -1;
}
.btn-outline:hover { color: var(--white); }
.btn-outline:hover::before { transform: translateX(0); }
.btn-ghost-dark { background: rgba(255,255,255,0.09); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.16); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--dark-soft);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 24px;
}
.stats-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: stretch; justify-content: center;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 28px 44px; gap: 5px;
  flex: 1; max-width: 260px;
}
.stat-num {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700; color: var(--white);
  line-height: 1; letter-spacing: -0.025em;
}
.stat-label { font-size: 0.8125rem; color: rgba(255,255,255,0.45); font-weight: 500; letter-spacing: 0.02em; text-align: center; }
.stat-div { width: 1px; background: rgba(255,255,255,0.22); align-self: stretch; margin: 20px 0; }
@media (max-width: 640px) {
  .stats-inner { flex-wrap: wrap; }
  .stat-item { min-width: 50%; padding: 24px 16px; }
  .stat-div { display: none; }
}

/* ── Section layout ── */
.section { padding: clamp(56px, 7vw, 88px) 24px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }

.section-head { margin-bottom: 48px; }
.section-head .eyebrow {
  display: block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red); margin: 0 0 10px;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 700; color: var(--text);
  margin: 0 0 6px; letter-spacing: -0.025em; line-height: 1.15;
}
.section-head h2.light { color: var(--white); }
.section-head .line { width: 44px; height: 3px; background: var(--red); border-radius: 2px; margin: 14px 0 18px; }
.section-head .lead { font-size: 1.0625rem; color: var(--text-muted); max-width: 64ch; line-height: 1.7; margin: 0; }
.section-head .lead.light { color: rgba(255,255,255,0.6); }

/* ── About (home page) ── */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 768px) { .about-layout { grid-template-columns: 1fr; gap: 36px; } }

.about-copy { max-width: 820px; }
.about-copy p { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.72; margin: 0 0 18px; }
.about-copy p:last-child { margin-bottom: 0; }

.about-pillars { display: flex; flex-direction: column; gap: 14px; }
.pillar {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px; background: var(--white);
  border: 1px solid #c2c5cc; border-radius: var(--radius-lg);
  transition: border-color 0.2s;
}
.pillar:hover { border-color: #a0a4ab; }
.pillar-icon {
  flex-shrink: 0; width: 42px; height: 42px;
  background: rgba(192,25,26,0.08); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar-text h4 { margin: 0 0 4px; font-size: 0.9375rem; font-weight: 700; color: var(--text); }
.pillar-text p { margin: 0; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* ── Divisions grid (home page) ── */
.divisions-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 768px) { .divisions-grid { grid-template-columns: 1fr; } }

.division-card {
  background: var(--white); border: 1px solid #c2c5cc;
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.division-card:hover { border-color: #a0a4ab; transform: translateY(-2px); }
.division-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.division-card-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(192,25,26,0.08); border-radius: 13px;
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.division-card-icon svg { width: 24px; height: 24px; }
.division-card h3 { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.division-card ul {
  list-style: none; padding: 0; margin: 0 0 28px; flex: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.division-card ul li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9375rem; color: var(--text-muted); line-height: 1.4;
  padding: 8px 12px; background: var(--bg-alt); border-radius: 8px;
}
.division-card ul li::before {
  content: ''; flex-shrink: 0; width: 5px; height: 5px;
  background: var(--red); border-radius: 50%; opacity: 0.7;
}
.division-card .btn { align-self: flex-start; padding: 11px 22px; font-size: 0.875rem; }

/* ── Products band (home page) ── */
.products-band {
  background: var(--dark); padding: clamp(64px, 9vw, 96px) 24px;
  text-align: center; position: relative; overflow: hidden;
}
.products-band::before {
  content: ''; position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(192,25,26,0.6) 0%, rgba(192,25,26,0.18) 45%, transparent 70%);
  pointer-events: none;
}
.products-band-inner { position: relative; max-width: 680px; margin: 0 auto; }
.products-band .eyebrow {
  display: block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: #ff7373; margin: 0 0 14px;
}
.products-band h2 {
  font-size: clamp(1.875rem, 4vw, 2.625rem); font-weight: 700;
  color: var(--white); margin: 0 0 14px; letter-spacing: -0.025em; line-height: 1.2;
}
.products-band p { margin: 0 0 36px; color: rgba(255,255,255,0.65); font-size: 1.0625rem; }
.products-band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }

.cta-tel {
  color: rgba(255,255,255,0.8); font-weight: 600; font-size: 1.125rem;
  text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.15s;
}
.cta-tel::before { content: ''; display: block; width: 1px; height: 22px; background: rgba(255,255,255,0.2); }
.cta-tel:hover { color: var(--white); text-decoration: none; }

/* ── Contact (home page) ── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; gap: 48px; } }

.contact-info h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 6px; color: var(--text); }
.contact-info .contact-sub { font-size: 0.9375rem; color: var(--text-muted); margin: 0 0 32px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.contact-detail:first-of-type { border-top: 1px solid var(--border); }
.contact-detail-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  background: rgba(192,25,26,0.08); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.contact-detail-icon svg { width: 17px; height: 17px; }
.contact-detail-body { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.contact-detail-body strong { display: block; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.contact-detail-body a { color: var(--red); font-size: 0.9rem; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.8125rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.form-field input, .form-field textarea, .form-field select {
  padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 0.9375rem; color: var(--text);
  background: var(--bg); transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,25,26,0.1);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #aaa; }
.form-field textarea { resize: vertical; min-height: 130px; }

/* ── Contact page ── */
.contact-section { padding: clamp(56px, 7vw, 88px) 24px; }
.contact-section-inner { max-width: var(--max-width); margin: 0 auto; }

.contact-page-layout {
  display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start;
}
@media (max-width: 960px) { .contact-page-layout { grid-template-columns: 1fr; gap: 48px; } }

.contact-info { display: flex; flex-direction: column; gap: 12px; }

.info-card {
  background: var(--white); border: 1px solid #c2c5cc;
  border-radius: var(--radius-lg); padding: 24px 26px;
  display: flex; gap: 18px; align-items: flex-start;
}
.info-card-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  background: rgba(192,25,26,0.08); border-radius: 11px;
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.info-card-icon svg { width: 20px; height: 20px; }
.info-card-body { flex: 1; }
.info-card-body h4 {
  margin: 0 0 6px; font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted);
}
.info-card-body p { margin: 0 0 2px; font-size: 0.9375rem; color: var(--text); line-height: 1.5; }
.info-card-body a { font-size: 1rem; font-weight: 600; color: var(--red); display: block; margin-top: 2px; }
.info-card-body a:hover { text-decoration: underline; }

.hours-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.hours-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.hours-row .day { color: var(--text-muted); }
.hours-row .time { font-weight: 600; color: var(--text); }
.hours-row .time.closed { color: var(--text-muted); font-weight: 400; }

.form-card {
  background: var(--white); border: 1px solid #c2c5cc;
  border-radius: var(--radius-lg); padding: 40px 44px;
}
@media (max-width: 600px) { .form-card { padding: 28px 20px; } }
.form-card-head { margin-bottom: 28px; }
.form-card-head h2 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 0 0 6px; letter-spacing: -0.02em; }
.form-card-head p { font-size: 0.9375rem; color: var(--text-muted); margin: 0; }

.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.form-note { font-size: 0.8125rem; color: var(--text-muted); }

.map-section { padding: 0 24px clamp(56px, 7vw, 88px); }
.map-section-inner { max-width: var(--max-width); margin: 0 auto; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #c2c5cc; height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── Footer ── */
.footer { background: #f5f6f8; color: var(--text); padding: 60px 24px 0; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1.75fr 1.1fr 1fr 1fr; gap: 48px;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand img { max-height: 44px; width: auto; opacity: 1; margin-bottom: 16px; }
.footer-brand .tagline-text { font-size: 0.875rem; color: rgba(0,0,0,0.5); line-height: 1.7; max-width: 26ch; margin: 0 0 20px; }
.footer h4 { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 16px; color: rgba(0,0,0,0.4); }
.footer p { margin: 0 0 8px; font-size: 0.9rem; color: rgba(0,0,0,0.65); }
.footer a { display: block; font-size: 0.9rem; color: rgba(0,0,0,0.6); margin-bottom: 8px; }
.footer a:hover { color: var(--text); text-decoration: none; }
.footer strong { color: rgba(0,0,0,0.85); font-weight: 600; }
.footer-call-btn {
  display: inline-block !important; width: fit-content; padding: 12px 22px;
  background: var(--red); color: var(--white) !important;
  border-radius: var(--radius); font-weight: 600; font-size: 0.9rem;
  margin-bottom: 0 !important; transition: transform 0.2s ease;
}
.footer-call-btn:hover { transform: scale(1.03); }
.footer-legal {
  max-width: var(--max-width); margin: 44px auto 0;
  padding: 20px 0 24px; border-top: 1px solid rgba(0,0,0,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: rgba(0,0,0,0.35);
}
.footer-legal a { display: inline; font-size: 0.8rem; color: rgba(0,0,0,0.4); margin: 0; }
.footer-legal a:hover { color: rgba(0,0,0,0.65); }
.footer-legal-links { display: flex; gap: 20px; }

/* ── What We Do (fire-security page) ── */

/* ── Cabling page — tagline band ── */
.tagline-band {
  background: var(--dark-soft); padding: clamp(40px, 5vw, 56px) 24px;
}
.tagline-band-inner {
  max-width: 800px; margin: 0 auto; text-align: center;
}
.tagline-band-inner p {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem); color: rgba(255,255,255,0.9);
  line-height: 1.5; margin: 0; font-weight: 500; letter-spacing: -0.01em;
}
.tagline-band-inner span { color: var(--red-bright); font-weight: 600; }

/* ── Cabling page — product copy ── */
.product-copy { margin: 0 0 48px; }
.product-copy p { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.72; margin: 0 0 18px; }
.product-copy p:last-child { margin-bottom: 0; }

/* ── Cabling page — BDA/DAS section ── */
.bdadas-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 768px) { .bdadas-layout { grid-template-columns: 1fr; gap: 40px; } }

.bdadas-copy p { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.72; margin: 0 0 18px; }
.bdadas-copy p:last-child { margin-bottom: 0; }

.bdadas-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(192,25,26,0.08); color: var(--red);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px; margin: 0 0 16px;
}

/* ── Cabling page — markets grid ── */
.markets-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
}
@media (max-width: 900px) { .markets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .markets-grid { grid-template-columns: 1fr; } }

.market-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}
.market-card:hover { border-color: #a0a4ab; transform: translateY(-2px); }
.market-card-img {
  width: 100%; height: 180px; object-fit: cover; display: block;
}
.market-card-body {
  padding: 16px 18px;
}
.market-card-body h4 {
  font-size: 0.9375rem; font-weight: 700; margin: 0; color: var(--text); line-height: 1.3;
}

/* ── Cabling page intro layout ── */
.intro-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 768px) { .intro-layout { grid-template-columns: 1fr; gap: 36px; } }

.intro-copy p { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.72; margin: 0 0 18px; }
.intro-copy p:last-child { margin-bottom: 0; }

.intro-services {
  display: flex; flex-direction: column; gap: 10px; padding-top: 44px;
}
@media (max-width: 768px) { .intro-services { padding-top: 0; } }

.intro-service-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--white);
  border: 1px solid #c2c5cc; border-radius: var(--radius);
  transition: border-color 0.2s;
}
.intro-service-item:hover { border-color: #a0a4ab; }
.intro-service-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  background: rgba(192,25,26,0.08); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.intro-service-icon svg { width: 17px; height: 17px; }
.intro-service-text { font-size: 0.9375rem; font-weight: 500; color: var(--text); line-height: 1.3; }

.what-we-do-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
@media (max-width: 768px) { .what-we-do-layout { grid-template-columns: 1fr; gap: 36px; } }

.what-we-do-copy p { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.72; margin: 0 0 18px; }
.what-we-do-copy p:last-child { margin-bottom: 0; }

.what-we-do-points {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.what-we-do-points li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--white); border: 1px solid #c2c5cc;
  border-radius: var(--radius); transition: border-color 0.2s;
}
.what-we-do-points li:hover { border-color: #a0a4ab; }
.point-icon {
  flex-shrink: 0; width: 38px; height: 38px;
  background: rgba(192,25,26,0.08); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.point-icon svg { width: 19px; height: 19px; }
.point-text { font-size: 0.9375rem; font-weight: 500; color: var(--text); line-height: 1.4; }

/* ── Service groups (fire-security page) ── */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }

.service-group {
  background: var(--white); border: 1px solid #c2c5cc;
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color 0.2s;
}
.service-group:hover { border-color: #a0a4ab; }
.service-group-header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.service-group-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(192,25,26,0.08); border-radius: 11px;
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.service-group-icon svg { width: 22px; height: 22px; }
.service-group h3 { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--text); }
.service-group > p { margin: 0 0 24px; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; padding-left: 60px; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; background: var(--bg-alt);
  border: 1px solid transparent; border-radius: var(--radius);
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.card:hover { border-color: rgba(192,25,26,0.22); background: rgba(192,25,26,0.04); transform: translateY(-1px); }
.card-icon { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.card-icon svg { width: 100%; height: 100%; }
.card h4 { margin: 0; font-size: 0.875rem; font-weight: 600; line-height: 1.3; color: var(--text); }

/* ── Products grid (fire-security page) ── */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin: 0 0 40px;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }

.product-cat {
  background: var(--white); border: 1px solid #c2c5cc;
  border-radius: var(--radius-lg); padding: 24px 22px;
  transition: border-color 0.2s;
}
.product-cat:hover { border-color: #a0a4ab; }
.product-cat h4 {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--red); margin: 0 0 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.product-cat ul { margin: 0; padding: 0; list-style: none; }
.product-cat ul li {
  font-size: 0.9375rem; color: var(--text-muted); line-height: 1.5;
  padding: 6px 0; border-bottom: 1px solid var(--bg-alt);
  display: flex; align-items: center; gap: 8px;
}
.product-cat ul li::before {
  content: ''; flex-shrink: 0; width: 5px; height: 5px;
  background: var(--red); border-radius: 50%; opacity: 0.6;
}
.product-cat ul li:last-child { border-bottom: none; }
.products-cta { text-align: center; }

/* ── CTA band (division pages) ── */
.cta-band {
  background: var(--dark); padding: clamp(64px, 9vw, 96px) 24px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(192,25,26,0.6) 0%, rgba(192,25,26,0.18) 45%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-band .eyebrow {
  display: block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #ff7373; margin: 0 0 14px;
}
.cta-band h2 {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 700; color: var(--white); margin: 0 0 14px;
  letter-spacing: -0.025em;
}
.cta-band p { margin: 0 0 36px; color: rgba(255,255,255,0.65); font-size: 1.0625rem; }
.cta-band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ── Service cards (nurse-call / other division pages) ── */
.services-intro { display: flex; align-items: flex-start; gap: 32px; margin-bottom: 48px; }
@media (max-width: 768px) { .services-intro { flex-direction: column; gap: 24px; } }
.services-intro-images { display: flex; flex-direction: row; gap: 10px; flex-shrink: 0; }
.services-intro-images img { width: 260px; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.service-card {
  background: var(--white); border: 1px solid #c2c5cc;
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color 0.2s; display: flex; flex-direction: column;
}
.service-card:hover { border-color: #a0a4ab; }
.service-card-icon {
  width: 48px; height: 48px; background: rgba(192,25,26,0.08); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--red); margin-bottom: 18px;
}
.service-card-icon svg { width: 22px; height: 22px; }
.service-card h3 { margin: 0 0 12px; font-size: 1.125rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.service-card p { margin: 0; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

/* ── Brands grid (division pages) ── */
.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .brands-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Page hero (contact, products, legal) ── */
.page-hero {
  background: linear-gradient(160deg, #f5f6f8 0%, #ffffff 60%);
  padding: clamp(48px, 7vw, 80px) 24px clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; }
/* Eyebrow used inside page-hero (class="eyebrow" or class="page-eyebrow") */
.page-hero .eyebrow, .page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red); margin: 0 0 16px;
}
.page-hero .eyebrow::before, .page-eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px; background: currentColor; border-radius: 1px;
}
.page-hero p:not(.eyebrow) {
  font-size: clamp(1rem, 1.8vw, 1.125rem); color: var(--text-muted);
  max-width: 52ch; margin: 0; line-height: 1.65;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; color: var(--text-muted); margin: 0 0 20px;
}
.breadcrumb a { color: var(--text-muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--red); text-decoration: none; }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--red); font-weight: 600; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.1;
  color: var(--text); margin: 0 0 14px; letter-spacing: -0.03em;
}
.page-hero h1 .accent { color: var(--red); }
.page-hero .lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-muted); max-width: 60ch; line-height: 1.7; margin: 0;
}

.division-block {
  padding: clamp(56px, 7vw, 88px) 24px;
  border-bottom: 1px solid var(--border);
}
.division-block:last-of-type { border-bottom: none; }
.division-block.alt { background: var(--bg-alt); }
.division-inner { max-width: var(--max-width); margin: 0 auto; }

.division-header { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.division-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  background: rgba(192,25,26,0.08); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.division-icon svg { width: 28px; height: 28px; }
.division-header-text { flex: 1; }
.division-eyebrow {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--red); display: block; margin-bottom: 4px;
}
.division-header-text h2 {
  margin: 0; font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; color: var(--text); letter-spacing: -0.025em;
}
.division-header-text p { margin: 6px 0 0; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

.brand-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px;
}
@media (max-width: 600px) { .brand-grid { grid-template-columns: 1fr 1fr; } }

.brand-card {
  background: var(--white); border: 1px solid #c2c5cc;
  border-radius: var(--radius-lg); padding: 28px 20px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none; min-height: 140px;
}
.brand-card:hover { border-color: #a0a4ab; transform: translateY(-2px); text-decoration: none; }
.brand-card-logo {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; width: 100%;
}
.brand-card-logo img { max-height: 44px; max-width: 130px; width: auto; height: auto; object-fit: contain; display: none; }
.brand-card-logo img.logo-wide { max-height: 32px; max-width: 140px; }
.brand-card-logo img.logo-lg { max-height: 60px; max-width: 150px; }
.brand-card-logo img.loaded { display: block; }
.brand-card-name { font-size: 0.875rem; font-weight: 700; color: var(--text); line-height: 1.3; display: none; }
.brand-card-arrow { display: none; }

/* Nurse-call simple brand cards (img direct child) */
.brand-card > img { max-height: 40px; max-width: 120px; width: auto; object-fit: contain; display: none; }
.brand-card > img.loaded { display: block; }
.brand-card > .brand-card-name { display: none; }

/* ── A/V page — experiences grid ── */
.experiences-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 48px;
}
@media (max-width: 768px) { .experiences-grid { grid-template-columns: 1fr; gap: 24px; } }

.experience-card {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #c2c5cc;
  transition: border-color 0.2s, transform 0.2s;
}
.experience-card:hover { border-color: #a0a4ab; transform: translateY(-3px); }
.experience-card-img {
  width: 100%; height: 240px; object-fit: cover; display: block;
}
.experience-card-body { padding: 24px 28px; background: var(--white); }
.experience-card-body h3 { margin: 0 0 10px; font-size: 1.125rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.experience-card-body p { margin: 0; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; }

/* ── Legal pages ── */
.legal-hero { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 64px 24px 48px; }
.legal-hero-inner { max-width: 1160px; margin: 0 auto; }
.legal-hero .eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--text); margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.15; }
.legal-hero .meta { font-size: 0.9rem; color: var(--text-muted); }

.legal-body { max-width: 1160px; margin: 0 auto; padding: 56px 24px 80px; }
.legal-body h2 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin: 48px 0 12px; letter-spacing: -0.01em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--text-muted); margin: 0 0 16px; line-height: 1.75; }
.legal-body ul { color: var(--text-muted); margin: 0 0 16px; padding-left: 20px; line-height: 1.75; }
.legal-body ul li { margin-bottom: 6px; }
.legal-body a { color: var(--red); }
.legal-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Thank you page ── */
.thankyou-section {
  min-height: calc(100vh - var(--header-height) - 280px);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 24px; background: var(--bg);
}
.thankyou-inner { max-width: 560px; width: 100%; text-align: center; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes circlePop {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes drawCheck {
  from { stroke-dashoffset: 60; }
  to   { stroke-dashoffset: 0; }
}

.thankyou-icon {
  width: 72px; height: 72px; background: rgba(192,25,26,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; color: var(--red);
  animation: circlePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
.thankyou-icon svg { width: 36px; height: 36px; }
.thankyou-icon svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck 0.5s ease-out 0.55s both; }
.thankyou-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: 12px;
  animation: fadeUp 0.5s ease-out 0.75s both;
}
.thankyou-inner h1 {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--text);
  margin: 0 0 16px; letter-spacing: -0.02em; line-height: 1.15;
  animation: fadeUp 0.5s ease-out 0.9s both;
}
.thankyou-inner p {
  font-size: 1.0625rem; color: var(--text-muted);
  line-height: 1.7; margin: 0 0 36px;
  animation: fadeUp 0.5s ease-out 1.05s both;
}
.thankyou-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.5s ease-out 1.2s both;
}
