:root {
  --bg: #060c12;
  --bg-deep: #04080d;
  --panel: #0a1218;
  --text: #f4f3ee;
  --muted: #a7aba9;
  --muted-2: #7c837f;
  --line: rgba(244, 243, 238, 0.14);
  --line-soft: rgba(244, 243, 238, 0.08);
  --accent: #86c92a;
  --accent-bright: #a0e53b;
  --max: 1220px;
  --transition: 260ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", "Avenir Next", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 75% 0%, rgba(134, 201, 42, .045), transparent 30%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1.4rem; color: var(--muted); }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.045em; line-height: 1.08; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(960px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent-bright);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 12, 18, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 38px;
}
.logo {
  display: block;
  margin-right: auto;
}
.logo img {
  height: 43px;
  width: auto;
  mix-blend-mode: lighten;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a, .nav-cta {
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: "";
  height: 1px;
  background: var(--accent);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
}
.nav-cta {
  border: 1px solid var(--line);
  padding: 13px 19px;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
}
.nav-cta:hover { border-color: var(--accent); background: rgba(134, 201, 42, .06); }
.mobile-toggle { display: none; }

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-inner {
  padding: clamp(92px, 15vh, 174px) 0 72px;
}
.hero h1 {
  max-width: 1080px;
  font-size: clamp(3.65rem, 9vw, 7.85rem);
  letter-spacing: -.075em;
  line-height: .95;
  margin-bottom: 36px;
}
.hero-copy {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 44px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.button {
  min-height: 52px;
  padding: 14px 25px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
  border: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .72rem;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.button:hover { border-color: var(--text); }
.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #071009;
}
.button.primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.text-link:hover { color: var(--accent-bright); }
.discipline-line {
  padding: 28px 0 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.home-welcome {
  min-height: calc(100svh - 86px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.home-welcome-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(90px, 15vh, 170px) 0 clamp(78px, 12vh, 118px);
}
.home-welcome-inner .eyebrow {
  margin-bottom: clamp(26px, 4vw, 42px);
}
.home-welcome h1 {
  color: var(--text);
  font-size: clamp(4rem, 11vw, 9.2rem);
  letter-spacing: -.085em;
  line-height: .92;
  margin-bottom: clamp(28px, 4vw, 42px);
}
.welcome-line {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  font-weight: 300;
  letter-spacing: .025em;
}
.home-service-band {
  background: #fff;
  color: #071009;
  border-top: 1px solid rgba(7, 16, 9, .08);
  border-bottom: 1px solid rgba(7, 16, 9, .08);
}
.home-service-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  padding: 0;
}
.home-service-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  color: #071009;
  font-size: clamp(.76rem, 1.05vw, .85rem);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition);
}
.home-service-links a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 0;
  bottom: 32px;
  width: 1px;
  background: rgba(7, 16, 9, .13);
}
.home-service-links a:hover {
  color: #4f8b00;
  background: rgba(134, 201, 42, .05);
}
.home-closing {
  padding-top: clamp(82px, 10vw, 126px);
}

.section {
  padding: clamp(76px, 9vw, 128px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.section-intro {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 70px;
}
.section h2, .closing h2 {
  font-size: clamp(2.35rem, 4.8vw, 4.5rem);
  letter-spacing: -.065em;
}
.lead {
  font-size: 1.08rem;
  line-height: 1.85;
  max-width: 555px;
  margin: 0 0 10px;
}
.editorial-links {
  border-top: 1px solid var(--line);
}
.editorial-links a {
  display: grid;
  grid-template-columns: 70px 1fr 52px;
  align-items: center;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--transition);
}
.editorial-links h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 7px;
}
.editorial-links p {
  margin: 0;
  max-width: 680px;
}
.arrow {
  justify-self: end;
  color: var(--muted);
  transition: transform var(--transition), color var(--transition);
}
.editorial-links a:hover .arrow, .service-index a:hover .arrow {
  transform: translateX(6px);
  color: var(--accent-bright);
}

.feature-section { background: var(--bg-deep); }
.two-column {
  display: grid;
  grid-template-columns: 1fr .94fr;
  gap: clamp(42px, 8vw, 116px);
  align-items: start;
}
.two-column .copy {
  padding-top: 53px;
}
.two-column .copy p {
  font-size: 1.04rem;
  line-height: 1.9;
}
.two-column .copy .actions { margin-top: 36px; }
.two-column .copy .text-link { margin-top: 24px; }
.systems { padding-top: 70px; padding-bottom: 76px; overflow: hidden; }
.brand-heading { text-align: center; margin-bottom: 44px; }
.brand-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 27px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.brand-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: brand-scroll 34s linear infinite;
}
.brand-marquee:hover .brand-track { animation-play-state: paused; }
.brand-set {
  display: flex;
  align-items: center;
  gap: clamp(62px, 9vw, 128px);
  padding-right: clamp(62px, 9vw, 128px);
}
.brand-set img {
  display: block;
  width: auto;
  height: clamp(30px, 4vw, 43px);
  max-width: clamp(118px, 16vw, 205px);
  object-fit: contain;
  opacity: .7;
  transition: opacity var(--transition);
}
.brand-set img[alt="Qolsys"], .brand-set[aria-hidden="true"] img:nth-child(5) { height: clamp(39px, 5vw, 52px); }
.brand-set img:hover { opacity: 1; }
@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; }
  .brand-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

.closing {
  text-align: center;
  padding: clamp(95px, 12vw, 165px) 0;
}
.closing h2 {
  margin: 0 auto 48px;
  max-width: 800px;
}
.closing .button { margin: 0 auto; }
.centered { justify-content: center; }

.trustpilot-section {
  background:
    radial-gradient(circle at 84% 50%, rgba(0, 182, 122, .1), transparent 34%),
    linear-gradient(180deg, rgba(244, 243, 238, .025), transparent);
}
.trustpilot-card {
  display: grid;
  grid-template-columns: minmax(190px, .42fr) minmax(260px, .78fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(244, 243, 238, .045), rgba(244, 243, 238, .012));
  box-shadow: 0 26px 80px rgba(0, 0, 0, .18);
}
.trustpilot-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.trustpilot-mark img {
  width: clamp(150px, 18vw, 226px);
  height: auto;
}
.trustpilot-copy .eyebrow { margin-bottom: 18px; }
.trustpilot-copy h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.4rem);
  margin-bottom: 22px;
}
.trustpilot-copy p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 0;
}
.trustpilot-actions {
  justify-content: flex-end;
  min-width: 265px;
}
.trustpilot-actions .text-link { white-space: nowrap; }
.contact-review {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.contact-trustpilot-mark {
  display: inline-flex;
  margin-bottom: 16px;
}
.contact-trustpilot-mark img {
  width: 136px;
  height: auto;
}
.contact-review p {
  color: var(--muted);
  margin-bottom: 14px;
}
.contact-review .text-link {
  display: inline-flex;
  padding: 0;
  border-bottom: 0;
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: .14em;
}
.footer-trustpilot-link span {
  position: relative;
  padding-left: 19px;
}
.footer-trustpilot-link span::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-52%);
  color: #00b67a;
  font-size: .78rem;
  line-height: 1;
}

.page-hero {
  padding: clamp(90px, 13vw, 168px) 0 clamp(76px, 10vw, 126px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.45rem);
  max-width: 980px;
  letter-spacing: -.075em;
  margin-bottom: 32px;
}
.page-lead {
  max-width: 710px;
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  line-height: 1.85;
  margin-bottom: 0;
}
.page-hero .actions { margin-top: 45px; }

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.trio article {
  padding: 40px clamp(26px, 3vw, 46px) 20px 0;
}
.trio article:not(:last-child) {
  border-right: 1px solid var(--line);
  margin-right: clamp(26px, 3vw, 46px);
}
.trio h3, .scope-grid h3, .process h3 {
  font-size: 1.45rem;
  margin-bottom: 17px;
}
.trio p:last-child { margin-bottom: 0; }

.service-index { border-top: 1px solid var(--line); }
.service-index a {
  display: grid;
  grid-template-columns: 1fr 115px;
  gap: 28px;
  align-items: center;
  padding: clamp(32px, 5vw, 54px) 0;
  border-bottom: 1px solid var(--line);
}
.service-index h2 {
  font-size: clamp(2.05rem, 4vw, 3.45rem);
  margin-bottom: 10px;
}
.service-index p { margin: 0; max-width: 600px; }
.service-index .arrow {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .17em;
}

.scope-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.scope-grid article {
  padding: 40px clamp(24px, 2.6vw, 38px) 18px 0;
  min-height: 245px;
}
.scope-grid article:not(:last-child) {
  border-right: 1px solid var(--line);
  margin-right: clamp(24px, 2.6vw, 38px);
}
.scope-grid p { margin-bottom: 0; }
.renovation-hero .narrow { width: min(1020px, calc(100% - 48px)); }
.renovation-hero h1 { max-width: 1030px; }

.process {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.process article {
  min-height: 230px;
  padding: 39px clamp(24px, 2.8vw, 44px) 20px 0;
}
.process article:not(:last-child) {
  border-right: 1px solid var(--line);
  margin-right: clamp(24px, 2.8vw, 44px);
}
.process p { margin-bottom: 0; }

.contact-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(55px, 10vw, 132px);
}
.contact-details a {
  display: block;
  font-weight: 300;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  letter-spacing: -.035em;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--transition);
}
.contact-details a:hover { color: var(--accent-bright); }
.contact-details > p:not(.eyebrow):not(.contact-note) {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.contact-note { margin-top: 46px; max-width: 280px; }
.form { display: grid; gap: 26px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label span {
  color: var(--muted-2);
  display: block;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.form input, .form select, .form textarea {
  font: inherit;
  color: var(--text);
  width: 100%;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0 17px;
  border-radius: 0;
  transition: border-color var(--transition);
}
.form select { color: var(--text); }
.form option { color: #111; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form .submit {
  justify-self: start;
  min-width: 182px;
  cursor: pointer;
  margin-top: 16px;
  font: inherit;
  font-size: .72rem;
}
.form .submit[disabled] { opacity: .6; cursor: wait; }
.note { font-size: .86rem; color: var(--muted-2); margin: -10px 0 0; }
.hp-field { position: absolute; left: -10000px; height: 1px; overflow: hidden; }
.form-status { min-height: 24px; font-size: .92rem; color: var(--muted); }
.form-status.is-success { color: var(--accent-bright); }
.form-status.is-error { color: #e4a493; }

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(68px, 8vw, 96px);
}
.footer-main {
  display: grid;
  grid-template-columns: .95fr 1.35fr;
  gap: clamp(50px, 10vw, 140px);
  padding-bottom: 70px;
}
.footer-brand img {
  height: 45px;
  width: auto;
  mix-blend-mode: lighten;
  margin-bottom: 28px;
}
.footer-brand p {
  max-width: 345px;
  line-height: 1.8;
  margin-bottom: 0;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-label {
  color: var(--accent-bright);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin: 0 0 27px;
}
.footer-links a, .footer-links span {
  color: var(--muted);
  display: block;
  font-size: .94rem;
  margin-bottom: 14px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 27px;
}
.footer-social a { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 25px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-2);
  font-size: .78rem;
  letter-spacing: .05em;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {

  .trustpilot-card { grid-template-columns: 1fr; align-items: start; }
  .trustpilot-actions { justify-content: flex-start; min-width: 0; }
  .nav { gap: 18px; height: 78px; }
  .logo img { height: 38px; }
  .nav-cta { display: none; }
  .mobile-toggle {
    display: block;
    order: 3;
    border: 0;
    background: transparent;
    width: 42px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
  }
  .mobile-toggle span {
    display: block;
    height: 1px;
    background: var(--text);
    margin: 8px 0;
    transition: transform var(--transition), opacity var(--transition);
  }
  .mobile-toggle[aria-expanded="true"] span:first-child { transform: translateY(9px) rotate(45deg); }
  .mobile-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 78px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 28px 24px 34px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .nav-links.open { display: flex; }
  .nav-links a.active::after { bottom: -5px; }
  .hero { min-height: calc(100svh - 78px); }
  .home-welcome { min-height: calc(100svh - 78px); }
  .home-service-links a { min-height: 90px; letter-spacing: .16em; }
  .section-intro, .two-column, .contact-layout, .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .section-intro { margin-bottom: 48px; }
  .two-column .copy { padding-top: 0; }
  .trio, .scope-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .trio article:nth-child(2), .scope-grid article:nth-child(2n), .process article:nth-child(2n) {
    border-right: 0;
    margin-right: 0;
  }
  .footer-main { padding-bottom: 58px; }
}

@media (max-width: 640px) {

  .trustpilot-card { padding: 30px 24px; }
  .trustpilot-actions .button { width: 100%; }
  .trustpilot-mark img { width: 152px; }
  .container, .narrow, .renovation-hero .narrow { width: min(var(--max), calc(100% - 34px)); }
  .hero-inner { padding-top: 74px; }
  .hero h1 { font-size: clamp(2.95rem, 16vw, 4.1rem); }
  .actions .button { width: 100%; }
  .discipline-line { justify-content: flex-start; gap: 20px 34px; }
  .home-welcome-inner { padding-top: 72px; padding-bottom: 68px; }
  .home-welcome h1 { font-size: clamp(3.65rem, 20vw, 5rem); }
  .home-service-links { grid-template-columns: 1fr 1fr; }
  .home-service-links a { min-height: 72px; font-size: .7rem; }
  .home-service-links a:not(:last-child)::after { top: 22px; bottom: 22px; }
  .home-service-links a:nth-child(2n)::after { display: none; }
  .home-service-links a:not(:nth-last-child(-n+1)) { border-bottom: 1px solid rgba(7, 16, 9, .1); }
  .home-service-links a:last-child { grid-column: 1 / -1; }
  .editorial-links a {
    grid-template-columns: 42px 1fr 18px;
    gap: 14px;
    padding: 25px 0;
  }
  .service-index a {
    grid-template-columns: 1fr 28px;
    gap: 15px;
  }
  .service-index .arrow { font-size: 0; }
  .service-index .arrow::after { content: "→"; font-size: 1rem; }
  .trio, .scope-grid, .process, .field-pair, .footer-links { grid-template-columns: 1fr; }
  .trio article, .scope-grid article, .process article {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
    margin-right: 0 !important;
    min-height: auto;
    padding-bottom: 34px;
  }
  .trio article:last-child, .scope-grid article:last-child, .process article:last-child { border-bottom: 0; }
    .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 10px; }
}
