/* =====================================================
   Phil Brown — Futurehaus Consulting & James Brown Projects
   Stylesheet v2.0 — Brand-Compliant Rebuild | April 2026
   ===================================================== */

/* Futurehaus: Rajdhani (headings) + Inter (body) — Google Fonts */
/* JBP:        Helvetica Neue (headings) + Inter (body)          */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #1A1A1A;
  background: #F5F5F5;
}

/* === BRAND COLOUR PALETTE (exact from brand books) === */
:root {
  /* Site base */
  --bg:           #F5F5F5;
  --bg-white:     #FFFFFF;
  --text:         #1A1A1A;   /* Futurehaus Charcoal */
  --text-mid:     #333333;   /* Dark Grey */
  --text-muted:   #666666;   /* Mid Grey */
  --border:       #E8E8E8;   /* Light Grey / dividers */

  /* Futurehaus primary palette — drawn from logo gradient */
  --fh-deep:      #0B5E51;   /* Deep Teal */
  --fh-primary:   #147A6B;   /* Primary Teal */
  --fh-mid:       #1E9E8B;   /* Mid Teal */
  --fh-bright:    #2BBFAA;   /* Bright Cyan */
  --fh-aqua:      #3DD4BE;   /* Light Aqua */
  --fh-bg:        #E8F5F3;   /* Tint — card fills, callout bg */

  /* JBP primary palette — drawn from logo */
  --jbp-green:    #6EB63A;   /* JBP Green — primary action/highlight */
  --jbp-orange:   #E58124;   /* JBP Orange — accent/commercial signal */
  --jbp-grey:     #999999;   /* JBP Grey — structural/neutral */
  --jbp-dark:     #2B2B2B;   /* Charcoal — primary text, dark UI */
  --jbp-canvas:   #EDEAE5;   /* Brand Canvas — neutral shared bg, logo-safe */
  --jbp-off:      #F5F5F3;   /* Off-white — page backgrounds, card fills */
  --jbp-rule:     #E8E8E5;   /* Mid grey — rules, dividers, table rows */
}

/* === TYPOGRAPHY === */

/* Futurehaus: Rajdhani headings (architectural / geometric) */
/* Applied via .fh-theme class on <body> of FH pages, and scoped overrides */
h1, h2, h3 {
  font-family: 'Rajdhani', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

h4, h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

/* JBP: Helvetica Neue headings (direct, no-nonsense) */
.jbp-theme h1,
.jbp-theme h2,
.jbp-theme h3,
.jbp-card-heading,
.jbp-heading { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
h4 { font-size: 1rem; }

p { color: var(--text-mid); margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--text); }

/* Sentence case reminder: headings use sentence case per brand book */

/* === LAYOUT === */
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245, 245, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.nav-home-link {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li:hover > a { background: #EDEBE7; color: var(--text); }

.nav-chevron {
  width: 12px; height: 12px;
  opacity: 0.5;
  transition: transform 0.2s;
}

.nav-links > li:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.05);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  pointer-events: none;
}

.nav-links > li:hover .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.88rem;
  color: var(--text-mid);
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown a:hover { background: var(--bg); color: var(--text); }

.dropdown-label {
  display: block;
  padding: 6px 14px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.dropdown-label.fh  { color: var(--fh-primary); }
.dropdown-label.jbp { color: var(--jbp-orange); }
.dropdown-divider   { height: 1px; background: var(--border); margin: 6px 0; }

.nav-cta {
  background: var(--text) !important;
  color: #FFF !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: #333 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
}

/* === HOMEPAGE HERO === */
.hero { padding: 96px 0 80px; border-bottom: 1px solid var(--border); }

.hero-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero h1 { max-width: 760px; margin-bottom: 20px; }

.hero-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 52px;
}

.cred-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-mid);
}

.cred-pill .tick { color: var(--fh-primary); font-weight: 700; }

/* === BRAND CARDS (homepage) === */
.brand-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.brand-card {
  border-radius: 18px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 320px;
  transition: transform 0.22s, box-shadow 0.22s;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.13);
}

/* Futurehaus card — white with teal top accent */
.brand-card.fh {
  background: #FFFFFF;
  color: var(--text);
  border: 1px solid var(--border);
  border-top: 4px solid var(--fh-primary);
}

/* JBP card — Brand Canvas (#EDEAE5) — logo-safe per JBP brand book */
.brand-card.jbp {
  background: var(--jbp-canvas);
  color: var(--jbp-dark);
  border: 1px solid #D8D5D0;
}

/* Logo rollover: start greyscale, pop to colour on card hover */
.brand-card .brand-card-logo {
  height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: 0 auto 32px;
  filter: grayscale(1);
  transition: filter 0.35s ease;
}

.brand-card:hover .brand-card-logo { filter: grayscale(0); }

.brand-card-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.brand-card.fh  .brand-card-tagline { color: var(--fh-primary); }
.brand-card.jbp .brand-card-tagline { color: var(--jbp-grey); }

.brand-card p {
  font-size: 0.93rem;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 28px;
}

.brand-card.fh  p { color: var(--text-mid); }
.brand-card.jbp p { color: var(--text-mid); }

.brand-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}

.brand-card-link:hover { gap: 14px; }
.brand-card.fh  .brand-card-link { color: var(--fh-primary); }
.brand-card.jbp .brand-card-link { color: var(--jbp-orange); }

/* JBP card three-colour bar accent at top */
.brand-card.jbp::before {
  content: '';
  display: block;
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, var(--jbp-green) 33%, var(--jbp-orange) 33% 66%, var(--jbp-grey) 66%);
  border-radius: 18px 18px 0 0;
  position: absolute;
  top: 0; left: 0;
}

.brand-card.jbp { position: relative; }

/* === ABOUT STRIP (homepage) === */
.about-strip {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 52px;
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-strip h2 { margin-bottom: 16px; }
.about-strip p  { font-size: 0.95rem; }

.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cred-block {
  padding: 18px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.cred-block strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.cred-block span { font-size: 0.81rem; color: var(--text-muted); line-height: 1.45; }

/* === KICKER / OVERLINE === */
.kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.kicker-fh      { color: var(--fh-primary); background: var(--fh-bg); }
.kicker-jbp     { color: var(--jbp-orange); background: #FBF0E4; }
.kicker-green   { color: var(--jbp-green);  background: #EDF6E0; }
.kicker-neutral { color: var(--text-muted); background: #EDEBE7; }

/* === FUTUREHAUS PAGE HERO === */
/* Primary usage per brand book: colour on dark (Deep Teal → Mid Teal gradient) */
.page-hero { padding: 72px 0 64px; }

.page-hero.fh-hero {
  background: linear-gradient(140deg, var(--fh-deep) 0%, var(--fh-mid) 100%);
}

/* JBP hero: logo sits inline above text at a solid size */
.hero-brand-logo {
  display: block;
  height: 88px;
  width: auto;
  max-width: 100%;
  margin-bottom: 28px;
}

/* === FH HERO: two-column layout — text left, tall logo right === */
.fh-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}

/* FH logo: tall, right-column, white-on-transparent PNG — no filter needed */
.page-hero.fh-hero .hero-brand-logo {
  height: 220px;
  width: auto;
  max-width: none;
  margin: 0;
  display: block;
  flex-shrink: 0;
}
/* JBP hero: colour logo on Brand Canvas — no filter needed */

/* JBP page hero — Brand Canvas background (logo-safe, charcoal text) */
.page-hero.jbp-hero {
  background: var(--jbp-canvas);
  border-bottom: 3px solid var(--jbp-rule);
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  margin-bottom: 20px;
}

/* FH hero: white/light text */
.page-hero.fh-hero .breadcrumb,
.page-hero.fh-hero .breadcrumb a { color: rgba(255,255,255,0.5); }
.page-hero.fh-hero .breadcrumb span { color: rgba(255,255,255,0.85); }
.page-hero.fh-hero .breadcrumb a:hover { color: rgba(255,255,255,0.9); }

.page-hero.fh-hero h1     { color: #FFFFFF; max-width: 680px; margin: 12px 0 18px; }
.page-hero.fh-hero .hero-intro { color: rgba(255,255,255,0.78); }

/* JBP hero: charcoal text, orange accent */
.page-hero.jbp-hero .breadcrumb,
.page-hero.jbp-hero .breadcrumb a { color: var(--jbp-grey); }
.page-hero.jbp-hero .breadcrumb span { color: var(--jbp-dark); }
.page-hero.jbp-hero h1  { color: var(--jbp-dark); max-width: 680px; margin: 12px 0 18px; }
.page-hero.jbp-hero .hero-intro { color: var(--text-mid); font-size: 1.05rem; }

/* FH kicker in hero */
.page-hero.fh-hero .kicker-fh {
  color: var(--fh-bright);
  background: rgba(43, 191, 170, 0.15);
}

/* JBP kicker in hero */
.page-hero.jbp-hero .kicker-jbp {
  color: var(--jbp-orange);
  background: rgba(229, 129, 36, 0.12);
}

.hero-intro {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0;
  line-height: 1.65;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
}

.service-card.fh-card:hover  { border-color: var(--fh-primary); }
.service-card.jbp-card:hover { border-color: var(--jbp-orange); }

.service-icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.service-card p  { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* JBP service card: Helvetica Neue heading */
.service-card.jbp-card h3 { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* === ABOUT PAGE LAYOUT === */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.about-body h2  { margin-bottom: 20px; }
.about-body h3  { margin: 36px 0 12px; }
.about-body p   { font-size: 0.96rem; }

.about-sidebar {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.sidebar-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cred-list { list-style: none; }

.cred-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cred-list li:last-child { border-bottom: none; }
.cred-list li strong { display: block; font-size: 0.85rem; color: var(--text); margin-bottom: 2px; }
.cred-list li span   { color: var(--text-muted); }

/* JBP sidebar accents */
.jbp-theme .sidebar-card { border-top: 3px solid var(--jbp-green); }
.jbp-theme .sidebar-card h4 { color: var(--jbp-grey); }

/* === CERTIFICATION LOGOS === */
.cert-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.cert-logos img {
  height: 64px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.cert-logos img:hover { opacity: 1; }

/* === INLINE CALLOUT === */
.callout {
  padding: 20px 24px;
  border-radius: 10px;
  border-left: 3px solid;
  font-size: 0.9rem;
  margin: 28px 0;
  line-height: 1.6;
}

.callout.fh-callout  {
  background: var(--fh-bg);
  border-color: var(--fh-primary);
  color: var(--fh-deep);
}

.callout.jbp-callout {
  background: #FBF0E4;
  border-color: var(--jbp-orange);
  color: #7A3D10;
}

/* === FH PAGE SECTIONS — teal accent styling === */
.fh-theme .about-body h3 { color: var(--fh-primary); }
.fh-theme .sidebar-card  { border-top: 3px solid var(--fh-primary); }

/* === WHY PASSIVHAUS — specific components === */
.principles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.principle-item {
  padding: 24px;
  background: var(--fh-bg);
  border-radius: 12px;
  border-left: 3px solid var(--fh-primary);
}

.principle-item h4 { color: var(--fh-deep); margin-bottom: 6px; }
.principle-item p  { font-size: 0.87rem; margin: 0; }

.myth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.myth-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.myth-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.myth-label.myth { color: #B91C1C; }
.myth-label.fact { color: var(--fh-primary); }
.myth-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.myth-card p  { font-size: 0.87rem; color: var(--text-muted); margin: 0; }

/* === CONTACT PAGE === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px;
}

.contact-form-card h2 { margin-bottom: 8px; }
.contact-form-card > p { margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  appearance: none; -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--fh-primary);
  background: #FFFFFF;
}

.form-group textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--text);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 6px;
}

.form-submit:hover { background: #333; }

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

.info-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.info-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-card p { font-size: 0.9rem; margin: 0; }

/* === CTA SECTION === */
.cta-section { padding: 72px 0; }

.cta-block {
  border-radius: 20px;
  padding: 68px 64px;
  text-align: center;
  color: #FFFFFF;
}

/* FH CTA — brand gradient */
.cta-block.fh-cta {
  background: linear-gradient(135deg, var(--fh-deep) 0%, var(--fh-mid) 100%);
}

/* JBP CTA — charcoal with orange top bar */
.cta-block.jbp-cta {
  background: var(--jbp-dark);
  border-top: 4px solid var(--jbp-orange);
}

.cta-block h2 { color: #FFFFFF; margin-bottom: 14px; }
.cta-block p  { color: rgba(255,255,255,0.68); font-size: 1.05rem; max-width: 480px; margin: 0 auto 32px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.btn-white  { background: #FFFFFF; color: var(--text); }
.btn-teal   { background: var(--fh-primary); color: #FFFFFF; }
.btn-dark   { background: var(--text); color: #FFFFFF; }
.btn-orange { background: var(--jbp-orange); color: #FFFFFF; }
.btn-green  { background: var(--jbp-green);  color: #FFFFFF; }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #FFFFFF;
}

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* === SERVICE DETAIL ROWS (services pages) === */
.service-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.service-row:last-of-type { border-bottom: 1px solid var(--border); }

.service-row-label h2 { font-size: 1.45rem; }

.service-row-body h4  { margin-bottom: 10px; }
.service-row-body ul  {
  color: var(--text-muted);
  font-size: 0.93rem;
  padding-left: 20px;
  line-height: 1.9;
}

/* === FOOTER === */
footer {
  background: #1A1A1A;
  color: rgba(255,255,255,0.45);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: 'Rajdhani', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.footer-brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fh-bright);
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 0.86rem;
  margin-top: 4px;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h4 {
  color: rgba(255,255,255,0.88);
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul  { list-style: none; }
.footer-col li  { margin-bottom: 9px; }

.footer-col a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.42);
  transition: color 0.15s;
}

.footer-col a:hover { color: rgba(255,255,255,0.88); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-bottom a { color: rgba(255,255,255,0.32); transition: color 0.15s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* JBP footer accent: orange top-border on JBP column header */
.footer-col.jbp-col h4::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--jbp-orange);
  margin-top: 6px;
}

/* FH footer accent */
.footer-col.fh-col h4::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fh-mid);
  margin-top: 6px;
}

/* === DIVIDER === */
.divider { height: 1px; background: var(--border); }

/* === RESPONSIVE === */

@media (max-width: 900px) {
  .about-layout       { grid-template-columns: 1fr; }
  .about-sidebar      { position: static; }
  .contact-layout     { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .about-strip-inner  { grid-template-columns: 1fr; gap: 32px; }
  .cta-block          { padding: 52px 40px; }
  .service-row        { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 20px;
    gap: 4px;
    z-index: 300;
  }

  .nav-links.mobile-open .nav-dropdown {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none;
    background: #EDEBE7;
    border: none;
    padding: 4px 8px;
    margin-top: 4px;
    min-width: unset;
  }

  .nav-links.mobile-open > li > a { padding: 11px 14px; }

  .hero           { padding: 60px 0 56px; }
  .section        { padding: 56px 0; }
  .brand-cards    { grid-template-columns: 1fr; }
  .brand-card     { padding: 32px 28px; min-height: unset; }
  .about-strip    { padding: 36px 24px; }
  .cred-grid      { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom  { flex-direction: column; gap: 10px; text-align: center; }
  .cta-block      { padding: 48px 24px; }
  .form-row       { grid-template-columns: 1fr; }
  .contact-form-card { padding: 32px 24px; }
  .btn-group      { flex-direction: column; align-items: flex-start; }
  .page-hero      { padding: 52px 0 44px; }
  .fh-hero-inner  { grid-template-columns: 1fr; gap: 24px; }
  .page-hero.fh-hero .hero-brand-logo { height: 80px; margin-bottom: 16px; }
}
