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

:root {
  /* Fresh professional palette – deep navy, soft ivory, copper accent */
  --ink: #0f1419;
  --ink-soft: #252d36;
  --muted: #5a6570;
  --ivory: #f6f4ef;
  --paper: #ffffff;
  --navy: #1a2b4a;           /* deep navy */
  --navy-mid: #243a5e;
  --copper: #b07d4a;         /* warm copper accent */
  --line: rgba(15, 20, 25, 0.09);
  --radius: 3px;
  --font: 'DM Sans', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16.5px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1140px, 90%);
  margin-inline: auto;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-solid {
  background: var(--navy);
  color: #fff;
}
.btn-solid:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.42);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-solid-light {
  background: #fff;
  color: var(--navy);
}
.btn-solid-light:hover {
  background: var(--ivory);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
}

.btn-full { width: 100%; }
.btn-icon { font-size: 0.95rem; }

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(246, 244, 239, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-mark-img {
  height: 30px;
  width: auto;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.main-nav a:not(.nav-cta) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.main-nav a:not(.nav-cta):hover { color: var(--ink); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 0.58rem 1.25rem;
  border-radius: 2px;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}
.nav-cta:hover { background: var(--navy-mid); }

/* Dropdown under "Services" */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
}
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin-left: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1.1rem;
  min-width: 220px;
  flex-direction: column;
  background: var(--ivory);
  padding: 0.5rem 0 0.8rem;
  z-index: 110;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  display: flex;
}
.dropdown a {
  padding: 0.7rem 1.3rem;
  white-space: nowrap;
}
.dropdown a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex: none;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: 2px;
  color: var(--navy);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
}
.nav-toggle-label { font-weight: 600; }
.nav-toggle.is-open { background: var(--navy); color: #fff; }
.nav-toggle:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle-bars i {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.brand { min-width: 0; }

/* ========== Photo (main banner) ========== */
.photo {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 72px;
}

.photo-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 14, 20, 0.93) 0%,
    rgba(10, 14, 20, 0.65) 38%,
    rgba(10, 14, 20, 0.3) 68%,
    rgba(10, 14, 20, 0.18) 100%
  );
}

.photo-inner {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4rem;
}

.photo-content {
  max-width: 640px;
}

.photo-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.6rem;
}

/* Open, non-squashed heading */
.photo-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.22;
  color: #fff;
  margin-bottom: 1.6rem;
  letter-spacing: 0.01em;
}

.photo-lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  margin-bottom: 2.4rem;
  line-height: 1.75;
}

.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.photo-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.1rem 0;
  background: rgba(0,0,0,0.28);
}
.photo-strip p {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.68);
  text-align: left;
}

/* ========== Sections common ========== */
.section {
  padding: 4rem 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

/* Open headings – more line-height, gentle tracking */
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-bottom: 1.15rem;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.7;
}
.section-desc + .section-desc {
  margin-top: 1rem;
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

/* ========== Services ========== */
.services {
  background: var(--paper);
  padding-top: 2rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.service-block {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2.1rem;
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.service-block:hover {
  background: rgba(26, 43, 74, 0.03);
}

.service-num {
  width: 100%;
  padding-top: 0.25rem;
}

.service-icon {
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(15, 20, 25, 0.1);
  background: var(--paper);
}

.service-body h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.service-body p {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 800px;
  line-height: 1.7;
}

/* Services + Testimonials two-column layout */
.services-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 4.5rem;
  align-items: start;
}

#services {
  scroll-margin-top: 6rem;
}

.services-main .section-intro {
  margin-bottom: 2.5rem;
}

.credentials-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.8rem;
  margin-bottom: 1.2rem;
}
.credential-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.credential-logo-wide {
  height: 120px;
}

.credentials-caption {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  padding-bottom: 2.2rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.testimonials {
  position: sticky;
  top: 100px;
}

.testimonials-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin-bottom: 1.6rem;
}

.testimonial-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
  padding: 1.5rem 1.4rem 1.4rem;
  margin-bottom: 1.1rem;
}

.testimonial-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-card strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  font-style: normal;
}

.testimonial-card span {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: normal;
}

/* ========== About ========== */
.about {
  background: var(--ivory);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 5rem;
  align-items: start;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 1.3rem;
  line-height: 1.7;
}

.about-text > p:not(.eyebrow):not(.about-lead) {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.about-list li {
  position: relative;
  padding-left: 1.45rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink-soft);
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--copper);
  border-radius: 50%;
}

.capability-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0;
  margin-bottom: 2rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #EEEBE2;
  padding: 0.6rem 1.1rem 0.6rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.badge svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.badge-water svg { color: #1f8fd1; }
.badge-waste svg { color: #4a9c4a; }
.badge-indoor svg { color: #7a5cc4; }
.badge-energy svg { color: #d98a2b; }
.badge-carbon svg { color: #3f8f4f; }

.about-side {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-accreditation {
  background: var(--paper);
  padding: 1.6rem;
  border-top: 2px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.accreditation-logo {
  width: 130px;
  height: auto;
}

.stat {
  background: var(--paper);
  padding: 1.8rem 1.7rem;
  border-top: 2px solid var(--navy);
}
.stat-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ========== Clients ========== */
.clients {
  background: var(--ivory);
  padding-top: 1.5rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.client-item {
  background: var(--paper);
  padding: 1.8rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* ========== Other Services ========== */
.other-services {
  background: var(--paper);
}

.other-services-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 700px;
}
.other-services-list li {
  position: relative;
  padding-left: 1.45rem;
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.other-services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--copper);
  border-radius: 50%;
}

/* ========== FAQ ========== */
.faq-section {
  background: var(--paper);
}

.faq-group {
  max-width: 760px;
  margin-bottom: 3rem;
}
.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.1rem;
}

.faq-item {
  border-top: 1px solid var(--line);
}
.faq-group .faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex: none;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--copper);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  padding: 0 0 1.5rem;
  max-width: 68ch;
}

/* ========== BEEC Renewals ========== */
.renewal-intro {
  background: var(--paper);
  padding-bottom: 1rem;
}
.renewal-copy {
  max-width: 760px;
}
.renewal-copy .section-desc {
  max-width: 68ch;
}
.renewal-checklist-section {
  background: var(--paper);
  padding-top: 1rem;
}
.renewal-checklist {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.renewal-checklist li {
  position: relative;
  padding-left: 2.5rem;
}
.renewal-checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.renewal-checklist li strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.renewal-checklist li span {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 0.15rem;
}
.renewal-note {
  margin-top: 2rem;
  max-width: 68ch;
  color: var(--muted);
}

/* ========== Free checklist offer ========== */
.checklist-offer {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0;
}
.offer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.offer-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}
.offer-copy p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 44ch;
}
.offer-form .form-group label {
  color: #fff;
}
.offer-form .form-group input {
  background: #fff;
}
.offer-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin: 0.2rem 0 1.3rem;
  cursor: pointer;
}
.offer-check input {
  flex: none;
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--copper);
}
.offer-form .form-note {
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}
.offer-fine {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 900px) {
  .offer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ========== Sectors ========== */
.sectors {
  background: var(--paper);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.sector-card {
  background: var(--paper);
  padding: 2rem 1.4rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-soft);
  transition: all 0.2s;
  line-height: 1.4;
}
.sector-card:hover {
  background: var(--navy);
  color: #fff;
}

/* ========== CTA Band ========== */
.cta-band {
  background: var(--navy);
  padding: 3rem 0;
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.cta-copy p {
  opacity: 0.82;
  font-size: 1.08rem;
}

.cta-actions {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
}

/* ========== Contact ========== */
.contact {
  background: var(--ivory);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-lead {
  color: var(--muted);
  margin-bottom: 2.6rem;
  line-height: 1.7;
  max-width: 380px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}

.detail-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.detail a,
.detail span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}
.detail a:hover { color: var(--navy); }

.contact-form {
  background: var(--paper);
  padding: 2.6rem;
  border: 1px solid var(--line);
}

.form-group {
  margin-bottom: 1.35rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--ivory);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 43, 74, 0.12);
}
.form-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* ========== Blog ========== */
.blog-hero {
  background: var(--navy);
  color: #fff;
  padding: 5rem 0 1rem;
}
.blog-hero .eyebrow {
  color: rgba(255,255,255,0.65);
}
.blog-hero .section-title {
  color: #fff;
  white-space: nowrap;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.blog-hero .section-desc {
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
}

.blog-list-section {
  background: var(--paper);
  padding-top: 1.5rem;
}
.post-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-bottom: 0.8rem;
}

.blog-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.9rem;
}

/* ========== Article ========== */
.article {
  background: var(--paper);
  padding-top: 9.5rem;
}
.article-container {
  max-width: 760px;
}
.article-back {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2rem;
}
.article-back:hover { color: var(--navy); }

.article .section-title {
  max-width: none;
}
.article-meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2.6rem;
}

.article-body p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.article-lead {
  font-family: var(--serif);
  font-size: 1.4rem !important;
  color: var(--ink) !important;
  line-height: 1.5 !important;
}
.article-body h2,
.article-body h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin: 2.4rem 0 1rem;
  letter-spacing: 0.01em;
}

.article-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong, rgba(15,20,25,0.25));
}
.btn-ghost-dark:hover {
  background: rgba(15,20,25,0.05);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  padding: 4.2rem 0 3.2rem;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-brand .brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.01em;
}
.footer-brand p {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  max-width: 300px;
  opacity: 0.65;
  line-height: 1.65;
}

.footer-cols {
  display: flex;
  gap: 4rem;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.2rem;
}
.footer-col a {
  display: block;
  font-size: 0.97rem;
  margin-bottom: 0.6rem;
  opacity: 0.72;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.35rem 0;
  font-size: 0.84rem;
  opacity: 0.45;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .blog-hero .section-title,
  .blog-hero .section-desc { white-space: normal; }
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-block {
    grid-template-columns: 110px 1fr;
    gap: 1.3rem;
  }
  .service-icon {
    max-height: 150px;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .services-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .testimonials {
    position: static;
  }
}

@media (max-width: 700px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .header-bar .brand-name { font-size: 1.1rem; }

  .photo-inner { padding: 4rem 0 2.8rem; }
  .photo-actions { flex-direction: column; }
  .photo-actions .btn { width: 100%; }

  .section { padding: 3rem 0; }
  .services { padding-top: 1.5rem; }
  .clients { padding-top: 1rem; }
  .blog-hero .section-title { white-space: normal; }
  .blog-hero .section-desc { white-space: normal; }

  .credentials-strip {
    gap: 1.6rem;
    padding-bottom: 1.6rem;
    margin-bottom: 1.6rem;
  }
  .credential-logo {
    height: 48px;
  }
  .credential-logo-wide {
    height: 84px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .service-num {
    max-width: 220px;
  }
  .service-icon {
    max-height: none;
  }

  .sector-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-hero { padding: 4.5rem 0 0.75rem; }
  .article { padding-top: 7rem; }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions { justify-content: center; }

  .footer-cols { flex-direction: column; gap: 2rem; }
  .contact-form { padding: 1.9rem; }
  .about-stats { grid-template-columns: 1fr; }
}

/* Collapse navigation into the menu button on tablets and small laptops */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    align-items: flex-start;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .main-nav a:not(.nav-cta) { font-size: 1.05rem; color: var(--ink-soft); }
  .nav-item { display: block; padding: 0; }
  .has-dropdown > a::after { display: none; }
  .dropdown {
    display: flex;
    position: static;
    min-width: 0;
    gap: 0.8rem;
    padding: 0.8rem 0 0.2rem 1.1rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .dropdown a { padding: 0; }
  .dropdown a:hover { background: none; }
}

/* Small phones: keep the business name on one line beside the Menu button */
@media (max-width: 400px) {
  .header-bar .brand-name { font-size: 0.95rem; }
  .nav-toggle { padding: 0.55rem 0.7rem; gap: 0.5rem; }
}
