:root {
  --red: #e31c23;
  --red-dark: #c4161c;
  --red-soft: rgba(227, 28, 35, 0.08);
  --charcoal: #1a1a1a;
  --dark: #222222;
  --gray-900: #333333;
  --gray-700: #555555;
  --gray-500: #777777;
  --gray-300: #dddddd;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --radius: 4px;
  --container: 1200px;
  --header-height: 90px;
  --header-sticky-offset: 132px;
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Roboto", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

.container {
  width: min(100% - 30px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
}

.text-link {
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.text-link::after {
  content: "→";
}

.text-center { text-align: center; }

/* Buttons — LeadTek rectangular CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.92rem;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-transform: capitalize;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline-dark {
  border-color: var(--charcoal);
  color: var(--charcoal);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.section {
  padding: 80px 0;
}

.section--muted {
  background: var(--gray-100);
}

.section-head {
  margin-bottom: 45px;
  text-align: center;
}

.section-head .eyebrow {
  display: block;
}

.section-head--center { text-align: center; }

.section-foot {
  margin-top: 40px;
  text-align: center;
}

/* ========== Top bar ========== */
.top-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 10px 0;
  flex-wrap: wrap;
}

.top-bar a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar a:hover { color: var(--red); }

.top-bar__contacts,
.top-bar__social {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.top-bar__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.9;
}

.top-bar__label {
  color: var(--red);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-bar__social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.top-bar__social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-middle {
  border-bottom: 1px solid var(--gray-300);
}

.header-middle__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.header-info__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.header-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.header-info__icon svg {
  width: 20px;
  height: 20px;
}

.header-info__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.header-info__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.header-info__value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}

a.header-info__value:hover {
  color: var(--red);
}

.header-menu {
  background: var(--charcoal);
}

@media (min-width: 821px) {
  .header-menu .primary-nav__list > li > a {
    color: rgba(255, 255, 255, 0.92);
  }

  .header-menu .primary-nav__list > li > a:hover,
  .header-menu .primary-nav__list > li.current-menu-item > a {
    color: var(--red);
  }
}

.header-menu__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
}

.site-brand {
  display: flex;
  flex-direction: column;
  color: inherit;
  min-width: 160px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand:hover { color: inherit; }

.site-brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.site-brand__name span {
  color: var(--red);
}

.site-brand__tag {
  font-size: 0.68rem;
  color: var(--gray-500);
  max-width: 240px;
  line-height: 1.3;
  margin-top: 2px;
}

.custom-logo-link img {
  max-height: 60px;
  width: auto;
}

.primary-nav {
  flex: 1;
  min-width: 0;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.primary-nav__list > li {
  position: relative;
}

.primary-nav__list > li > a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-display);
  padding: 10px 14px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.primary-nav__list > li > a:hover,
.primary-nav__list > li.current-menu-item > a {
  color: var(--red);
}

.primary-nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
  max-height: 440px;
  overflow-y: auto;
  z-index: 50;
}

.primary-nav__list li:hover > .sub-menu,
.primary-nav__list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav__list .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 13px;
  color: var(--gray-700);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid var(--gray-100);
}

.primary-nav__list .sub-menu a:hover {
  background: var(--red-soft);
  color: var(--red);
  padding-left: 22px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--charcoal);
  transition: 0.2s ease;
}

.header-cta {
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========== Intro video band (above hero) ========== */
.intro-video-band {
  padding: 2rem 0;
  background: var(--gray-100);
}

.intro-video-band__inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.intro-video {
  display: block;
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  object-position: center;
}

/* ========== Hero slider ========== */
.hero-slider {
  position: relative;
  min-height: clamp(380px, 52vh, 560px);
  overflow: hidden;
  background: var(--charcoal);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  position: relative;
  min-height: inherit;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.is-active .hero-slide__media {
  transform: scale(1);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.38) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(380px, 52vh, 560px);
  padding-block: 3.25rem;
  color: var(--white);
  max-width: 720px;
}

.hero-slide__content .eyebrow {
  color: var(--red);
  background: rgba(255, 255, 255, 0.12);
  display: inline-block;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.hero-slide__content h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
  line-height: 1.75;
}

.hero-slide__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  background: var(--red);
  border-color: var(--red);
}

.hero-slider__arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.hero-arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.hero-arrow:hover { background: var(--red); }
.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

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

.about-teaser {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: start;
}

.about-teaser__copy h2 {
  margin-bottom: 1.25rem;
}

.about-teaser__copy p {
  color: var(--gray-700);
  margin-bottom: 1.25rem;
}

.about-teaser__cards {
  display: grid;
  gap: 20px;
}

.vm-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.vm-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.vm-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.vm-card h3,
.vm-card p,
.vm-card .text-link {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.vm-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.vm-card p {
  font-size: 0.92rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.vm-card .text-link {
  color: var(--white);
  font-size: 0.88rem;
}

.vm-card .text-link:hover {
  color: var(--red);
}

.split-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.split-card,
.info-card,
.office-card,
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.about-layout,
.contact-layout,
.service-detail,
.project-detail {
  display: grid;
  gap: 2rem;
}

.about-layout { grid-template-columns: 1.4fr 0.6fr; }
.contact-layout { grid-template-columns: 0.95fr 1.05fr; }
.service-detail { grid-template-columns: 1.2fr 0.8fr; }
.project-detail { grid-template-columns: 1.3fr 0.7fr; }

.prose > * + * { margin-top: 1rem; }

/* ========== About — ISO certifications ========== */
.section-certificates__intro {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section-certificates__intro p:last-child {
  margin-bottom: 0;
  color: var(--gray-700);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-card__media {
  display: block;
  background: #f3efe6;
  border-bottom: 1px solid var(--gray-300);
}

.cert-card__media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.cert-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.cert-card__body h3 {
  margin-bottom: 0.25rem;
}

.cert-card__label {
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.cert-card__body p {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.cert-card__meta {
  margin-bottom: 0;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 1.5rem;
  background: rgba(10, 10, 10, 0.88);
}

.cert-lightbox.is-open {
  display: grid;
}

.cert-lightbox img {
  max-width: min(920px, 100%);
  max-height: 90vh;
  width: auto;
  height: auto;
  box-shadow: var(--shadow-lg);
}

.cert-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--charcoal);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.cert-lightbox__caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
}

body.cert-lightbox-open {
  overflow: hidden;
}

/* ========== Services — LeadTek What We Do (homepage) ========== */
.section-services {
  padding-top: 110px;
  padding-bottom: 120px;
  background: var(--gray-100);
}

.section-services .service-grid--leadtek {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.section-services .service-grid__title {
  background-color: #d9e9e9;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 50px 40px;
  border: 1px solid #ececec;
}

.section-services .service-grid__title-inner {
  text-align: center;
}

.section-services .section-subtitle {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.section-services .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.875rem);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
}

.section-services .service-item {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 280px;
  padding: 40px 40px 50px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #ececec;
}

.section-services .service-item__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background-size: cover;
  background-position: center;
  transform: translate3d(-100%, 0, 0);
  will-change: transform;
  transition: transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.section-services .service-item__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 0.35s ease;
}

.section-services .service-item__icon {
  display: none;
}

.section-services .service-item__title {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color 0.3s linear;
}

.section-services .service-item__title a {
  color: inherit;
  text-decoration: none;
}

.section-services .service-item__title a:hover {
  color: var(--red);
}

.section-services .service-item__content {
  position: relative;
  z-index: 1;
}

.section-services .service-item__content p,
.section-services .service-item__subtitle {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
  color: var(--gray-500);
  transition: color 0.3s linear;
}

.section-services .service-item:hover .service-item__img {
  transform: translate3d(0, 0, 0);
}

.section-services .service-item:hover .service-item__img::after {
  background-color: rgba(0, 0, 0, 0.6);
}

.section-services .service-item:hover .service-item__title,
.section-services .service-item:hover .service-item__title a {
  color: var(--white);
}

.section-services .service-item:hover .service-item__title a:hover {
  color: var(--red);
}

.section-services .service-item:hover .service-item__content p,
.section-services .service-item:hover .service-item__subtitle {
  color: var(--white);
}

.section-services .service-grid__empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--gray-500);
  border: 1px solid #ececec;
  background: var(--white);
}

/* Scroll reveal (LeadTek wow fadeInUp equivalent) */
.wl-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.wl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Services — archive photo tiles ========== */
.service-grid--archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.service-card__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  height: 100%;
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: 4px 4px 0 0;
}

.service-card__media img,
.service-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__media img,
.service-card:hover .service-card__placeholder {
  transform: scale(1.05);
}

.service-card__placeholder {
  background: linear-gradient(135deg, #2a2a2a, #555);
}

.service-card__icon {
  position: absolute;
  left: 20px;
  bottom: -26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(227, 28, 35, 0.35);
  z-index: 2;
  border: 3px solid var(--white);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__body {
  flex: 1;
  padding: 38px 22px 24px;
  display: flex;
  flex-direction: column;
}

.service-card__body h3 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

.service-card__body p {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.service-card__more {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--red);
  font-family: var(--font-display);
  margin-top: auto;
}

.service-card__more:hover {
  color: var(--red-dark);
}

.service-hero {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.service-hero__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
}

.service-hero__icon svg { width: 36px; height: 36px; }

.service-detail__features {
  background: var(--gray-100);
  padding: 28px;
  border-radius: var(--radius);
  border-top: 3px solid var(--red);
}

.service-detail__features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.service-detail__features li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-300);
}

.service-detail__features li::before {
  content: "▸";
  color: var(--red);
  margin-right: 0.5rem;
}

/* ========== Projects ========== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-grid--home {
  grid-template-columns: repeat(2, 1fr);
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card__link { color: inherit; display: block; }

.project-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:hover .project-card__media img { transform: scale(1.05); }

.project-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #e31c23);
}

.project-card__body { padding: 1.15rem 1.25rem 1.35rem; }
.project-card__location { color: var(--red); font-weight: 600; font-size: 0.88rem; }
.project-card__systems { color: var(--gray-500); font-size: 0.9rem; }

.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.filter-btn {
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px 18px;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-700);
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.project-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.meta-row {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-300);
}

.meta-row span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}

/* ========== Why ========== */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.why-grid__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-card {
  min-height: 110px;
  display: flex;
  align-items: flex-end;
  border-top: 3px solid var(--red);
  background: var(--white);
}

.why-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

/* ========== Clients ========== */
.client-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.client-marquee__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.client-logo {
  min-width: 180px;
  height: 88px;
  display: grid;
  place-items: center;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-500);
  font-weight: 700;
  font-family: var(--font-display);
}

.client-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== CTA / Get In Touch ========== */
.section-cta {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.9);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227, 28, 35, 0.25), transparent 50%);
  pointer-events: none;
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-strip h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-strip p { margin: 0; opacity: 0.85; max-width: 50ch; }
.cta-strip__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.contact-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-teaser h2 {
  color: var(--white);
}

.contact-teaser p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-teaser .contact-form label span {
  color: var(--white);
}

.contact-teaser .contact-form input,
.contact-teaser .contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.contact-teaser .contact-form input::placeholder,
.contact-teaser .contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* ========== Page hero ========== */
.page-hero {
  padding: 70px 0 50px;
  background: var(--charcoal);
  color: var(--white);
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--red);
}

.page-hero--compact { padding: 55px 0 40px; }

.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--red); }

.page-hero__lead {
  max-width: 62ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.page-hero--service {
  background: linear-gradient(135deg, #1a1a1a, #333);
}

/* ========== Contact form ========== */
.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form label span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--charcoal);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1rem;
}

.form-feedback {
  margin-top: 0.75rem;
  font-weight: 600;
}

.form-feedback.is-success { color: #047857; }
.form-feedback.is-error { color: #b91c1c; }

.office-card__note {
  font-size: 0.88rem;
  color: var(--gray-500);
  font-style: italic;
}

/* ========== Footer ========== */
.site-footer {
  background: #111111;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu a,
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-menu a:hover,
.site-footer a:hover { color: var(--red); }

.footer-menu li + li { margin-top: 0.45rem; }

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 16px 0;
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.footer-bottom__emails {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  white-space: nowrap;
}

.footer-bottom__email-sep {
  opacity: 0.55;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  z-index: 120;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  color: var(--white);
  transform: scale(1.05);
}

.whatsapp-float svg { width: 30px; height: 30px; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .service-grid--archive,
  .project-grid,
  .footer-grid,
  .why-grid,
  .about-teaser,
  .about-layout,
  .contact-layout,
  .service-detail,
  .project-detail,
  .contact-teaser {
    grid-template-columns: 1fr 1fr;
  }

  .section-services .service-grid--leadtek {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-services .service-grid__title,
  .section-services .service-item {
    padding: 40px 30px 50px;
  }

  .section-services .service-item__title {
    font-size: 1.25rem;
  }

  .header-info {
    display: none;
  }

  .header-cta { display: none; }
}

@media (max-width: 820px) {
  :root {
    --header-sticky-offset: 76px;
  }

  .nav-toggle { display: block; }

  .header-menu {
    background: transparent;
    border: 0;
  }

  .header-menu__inner {
    min-height: 0;
    padding: 0;
  }

  .primary-nav {
    position: fixed;
    inset: calc(var(--header-sticky-offset) + 36px) 15px auto 15px;
    flex: none;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-top: 3px solid var(--red);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.2s ease;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 120;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav__list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-top: 0;
    padding-left: 0.5rem;
    max-height: none;
  }

  .service-grid--archive,
  .project-grid,
  .project-grid--home,
  .footer-grid,
  .why-grid__cards,
  .split-cards,
  .cert-grid,
  .form-grid,
  .project-gallery,
  .contact-teaser {
    grid-template-columns: 1fr;
  }

  .section-services {
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .section-services .service-grid__title {
    place-items: start;
    padding: 50px 30px;
  }

  .about-teaser,
  .about-layout,
  .contact-layout,
  .service-detail,
  .project-detail,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-arrow { display: none; }

  .top-bar__social { display: none; }

  .intro-video {
    max-height: 240px;
  }

  .hero-slider,
  .hero-slide__content {
    min-height: clamp(320px, 44vh, 360px);
  }

  .hero-slide__content {
    padding-block: 2.5rem;
  }

  .hero-slide__content h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 0.75rem;
  }

  .hero-slide__text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-slide__actions {
    margin-top: 1.25rem;
  }

  .hero-slider__dots {
    bottom: 1.25rem;
  }
}

@media (max-width: 768px) {
  .section-services .service-grid--leadtek {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto !important;
  }

  .hero-slide,
  .hero-dot,
  .service-card,
  .project-card {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .section-services .service-item__img {
    transform: translate3d(-100%, 0, 0);
    will-change: transform;
    transition: transform 0.35s ease !important;
  }

  .section-services .service-item:hover .service-item__img {
    transform: translate3d(0, 0, 0);
  }

  .section-services .service-item__img::after {
    transition: background-color 0.2s ease !important;
  }
}
