:root {
  --primary-color: #dc0000;
  --dark-color: #2f2f2f;
  --secondary-color: #565969;
  --grey-color: #f5f5f5;
  --white-color: #ffffff;
  --title-fonts: "Barlow", system-ui, sans-serif;
  --body-fonts: "Barlow", system-ui, sans-serif;
  --container: 1300px;
  --ease-theme: 0.5s ease-in-out;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-fonts);
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  color: var(--secondary-color);
  background: var(--white-color);
  overflow-x: hidden;
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--ease-theme);
}

a:hover {
  color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-fonts);
  color: var(--dark-color);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

p {
  margin: 0 0 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

/* —— Top bar (Arch header strip) —— */
.top-bar {
  background: var(--dark-color);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  padding: 0.5rem 0;
  line-height: 1.6;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.top-bar a {
  color: inherit;
}

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

.top-bar__phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.top-bar__phones-icon {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1;
}

.top-bar__phone-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.top-bar__sep {
  opacity: 0.55;
  user-select: none;
  padding-inline: 0.1rem;
}

.top-bar__email a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
}

.top-bar__email a span {
  word-break: break-all;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white-color);
  box-shadow: 0 4px 30px rgba(0, 33, 85, 0.08);
  transition: box-shadow var(--ease-theme);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 40px rgba(0, 33, 85, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  min-height: 88px;
}

.logo-link img {
  height: clamp(46px, 9vw, 62px);
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background: var(--dark-color);
  border-radius: 1px;
  transition: transform 0.35s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: var(--title-fonts);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: capitalize;
  color: var(--dark-color);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--primary-color);
}

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

  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 88vw);
    background: var(--white-color);
    padding: 100px 1.25rem 2rem;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 999;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--grey-color);
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 33, 85, 0.45);
    z-index: 998;
  }
}

/* —— Arch hero: split panel + image (no full-bleed overlay) —— */
.arch-hero--split {
  position: relative;
  overflow: hidden;
}

.arch-hero__split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: min(88vh, 820px);
}

.arch-hero__panel {
  background: #f7f7f7;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 6vw, 4rem);
}

.arch-hero__panel-inner {
  width: 100%;
  max-width: 620px;
}

.arch-hero__copy {
  transition:
    opacity 0.42s ease,
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.arch-hero__copy.arch-hero__copy--hold {
  transition: none;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.arch-hero__panel-inner.is-hero-copy-out .arch-hero__copy {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

@keyframes arch-hero-line-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.arch-hero__panel-inner.is-hero-copy-in .arch-hero__tag {
  animation: arch-hero-line-reveal 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.06s;
}

.arch-hero__panel-inner.is-hero-copy-in .arch-hero__heading {
  animation: arch-hero-line-reveal 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.14s;
}

.arch-hero__panel-inner.is-hero-copy-in .arch-hero__lead {
  animation: arch-hero-line-reveal 0.64s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.24s;
}

@keyframes arch-hero-btn-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.arch-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-bottom: 2rem;
  transition:
    opacity 0.42s ease,
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.arch-hero__actions.arch-hero__actions--hold {
  transition: none;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.arch-hero__panel-inner.is-hero-copy-out .arch-hero__actions {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

.arch-hero__panel-inner.is-hero-copy-in .arch-hero__actions > .arch-btn:nth-child(1) {
  animation: arch-hero-btn-reveal 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.34s;
}

.arch-hero__panel-inner.is-hero-copy-in .arch-hero__actions > .arch-btn:nth-child(2) {
  animation: arch-hero-btn-reveal 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.44s;
}

.arch-hero__actions .arch-btn {
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease;
}

.arch-hero__actions .arch-btn:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 14px 32px rgba(0, 33, 85, 0.14);
}

.arch-hero__actions .arch-btn:active {
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 8px 20px rgba(0, 33, 85, 0.1);
  transition-duration: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .arch-hero__copy {
    transition-duration: 0.01ms;
  }

  .arch-hero__actions {
    transition-duration: 0.01ms;
  }

  .arch-hero__panel-inner.is-hero-copy-out .arch-hero__copy,
  .arch-hero__panel-inner.is-hero-copy-out .arch-hero__actions {
    transform: none;
  }

  .arch-hero__panel-inner.is-hero-copy-in .arch-hero__tag,
  .arch-hero__panel-inner.is-hero-copy-in .arch-hero__heading,
  .arch-hero__panel-inner.is-hero-copy-in .arch-hero__lead,
  .arch-hero__panel-inner.is-hero-copy-in .arch-hero__actions > .arch-btn {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .arch-hero__actions .arch-btn:hover,
  .arch-hero__actions .arch-btn:active {
    transform: none;
    box-shadow: none;
  }
}

.arch-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.arch-hero__tag::before {
  content: "";
  width: 3px;
  height: 1.15em;
  background: var(--primary-color);
  flex-shrink: 0;
}

.arch-hero--split .arch-hero__heading {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 600;
  color: var(--dark-color);
  line-height: 1.18;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

.arch-hero--split .arch-hero__lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--secondary-color);
  margin-bottom: 1.75rem;
  max-width: 100%;
}

.arch-hero__media {
  position: relative;
  min-height: min(88vh, 820px);
  overflow: hidden;
  background: #e8e8e8;
}

.arch-hero__slides {
  position: absolute;
  inset: 0;
}

.arch-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}

.arch-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.arch-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.arch-hero__img--kb {
  animation: archKenBurns 9s ease-out forwards;
}

@keyframes archKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.arch-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  color: var(--dark-color);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: background var(--ease-theme), color var(--ease-theme);
}

.arch-hero__nav:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

.arch-hero__nav--prev {
  left: clamp(0.75rem, 2vw, 1.25rem);
}

.arch-hero__nav--next {
  right: clamp(0.75rem, 2vw, 1.25rem);
}

.arch-hero__dots {
  display: flex;
  gap: 10px;
}

.arch-hero__dots--split {
  position: static;
  transform: none;
  margin-top: 0.25rem;
}

.arch-hero__dots--split button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(17, 17, 17, 0.25);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: var(--ease-theme);
}

.arch-hero__dots--split button.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

@media (max-width: 900px) {
  .arch-hero__split-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .arch-hero__media {
    min-height: min(52vh, 420px);
    order: -1;
  }

  .arch-hero__panel {
    padding-bottom: 3rem;
  }

  .arch-hero__nav {
    width: 42px;
    height: 42px;
  }
}

/* Theme button (pt-button style) */
.arch-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--title-fonts);
  font-weight: 600;
  text-transform: capitalize;
  padding: 12px 0;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--primary-color);
  line-height: 2;
}

.arch-btn--solid {
  background: var(--primary-color);
  color: var(--white-color);
  padding: 12px 28px;
  transition: var(--ease-theme);
}

.arch-btn--solid:hover {
  background: var(--dark-color);
  color: var(--white-color);
}

.arch-btn--hero {
  background: var(--primary-color);
  color: var(--white-color);
  padding: 14px 32px;
}

.arch-btn--hero:hover {
  background: var(--dark-color);
  color: var(--white-color);
}

.arch-btn--outline-light {
  color: var(--white-color) !important;
  border: 2px solid rgba(255, 255, 255, 0.88);
  padding: 12px 24px;
  background: transparent;
}

.arch-btn--outline-light:hover {
  background: var(--white-color);
  color: var(--dark-color) !important;
  border-color: var(--white-color);
}

.arch-btn--outline-dark {
  color: var(--dark-color) !important;
  border: 2px solid var(--dark-color);
  padding: 12px 24px;
  background: transparent;
}

.arch-btn--outline-dark:hover {
  background: var(--dark-color);
  color: var(--white-color) !important;
  border-color: var(--dark-color);
}

.arch-btn__text {
  transition: transform var(--ease-theme);
}

.arch-btn:hover .arch-btn__text {
  transform: translateX(8px);
}

.arch-btn__line {
  display: inline-block;
  height: 1px;
  vertical-align: middle;
}

.arch-btn__line--right {
  width: 50px;
  background: currentColor;
  margin-left: 12px;
  opacity: 1;
  transition: var(--ease-theme);
}

.arch-btn:hover .arch-btn__line--right {
  opacity: 0;
  transform: scaleX(0.3);
}

/* —— Section title (pt-section-title-box) —— */
.pt-section-title-box {
  margin-bottom: 2rem;
}

.pt-section-title-box.text-center {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-inline: auto;
}

.pt-section-title-box .pt-section-sub-title {
  border-left: 2px solid var(--primary-color);
  text-transform: capitalize;
  line-height: 1.2;
  padding: 0 0 0 12px;
  color: var(--primary-color);
  font-family: var(--title-fonts);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.pt-section-title-box.text-center .pt-section-sub-title {
  border-left: none;
  padding-left: 0;
}

.pt-section-title-box .pt-section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.25;
  text-transform: capitalize;
}

.pt-section-title-box .pt-section-lead {
  margin-top: 1rem;
  color: var(--secondary-color);
}

/* —— Home: about showcase (split + collage) —— */
.arch-section.home-about-section {
  background: var(--white-color);
  padding-top: clamp(2.75rem, 6vw, 4.25rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.25rem);
}

.home-about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.home-about-split__label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.home-about-split__label::before {
  content: "";
  width: 3px;
  height: 1.15em;
  background: var(--primary-color);
  flex-shrink: 0;
}

.home-about-split__title-block {
  position: relative;
  margin-bottom: 1.5rem;
  padding-top: 0.25rem;
}

.home-about-split__watermark {
  position: absolute;
  left: -0.25rem;
  top: 50%;
  transform: translateY(-52%);
  font-family: var(--title-fonts);
  font-size: clamp(3.25rem, 11vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark-color);
  opacity: 0.07;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.home-about-split__heading {
  position: relative;
  z-index: 1;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark-color);
  text-transform: capitalize;
  margin: 0;
}

.home-about-split__lead {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--secondary-color);
  margin-bottom: 1.1rem;
  max-width: 34rem;
}

.home-about-split__btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
  padding: 14px 28px 14px 32px;
  background: var(--dark-color);
  color: var(--white-color) !important;
  font-family: var(--title-fonts);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--dark-color);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.home-about-split__btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(220, 0, 0, 0.2);
}

.home-about-split__btn-graphic {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.home-about-split__btn-line {
  display: block;
  width: 38px;
  height: 1px;
  background: currentColor;
  margin-right: 10px;
  opacity: 0.95;
}

.home-about-split__btn .fa-chevron-right {
  font-size: 0.7rem;
  opacity: 0.9;
}

.home-about-split__visual {
  position: relative;
  min-height: min(52vh, 520px);
  padding: 0 0 clamp(1.5rem, 4vw, 2.5rem) clamp(0.5rem, 3vw, 2rem);
}

.home-about-split__blueprint {
  position: absolute;
  inset: 10% 5% 18% 12%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(0deg, rgba(47, 47, 47, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 47, 47, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  transform: rotate(-2.5deg);
  opacity: 0.85;
  mask-image: linear-gradient(135deg, black 0%, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(135deg, black 0%, black 55%, transparent 100%);
}

.home-about-split__photo {
  position: relative;
  z-index: 1;
}

.home-about-split__photo--primary {
  display: flex;
  justify-content: flex-end;
  max-width: 100%;
}

.home-about-split__photo--primary img {
  width: 100%;
  max-width: min(420px, 88vw);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.14);
}

.home-about-split__photo--overlap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(52%, 300px);
  z-index: 2;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
  border: 4px solid var(--white-color);
  background: var(--white-color);
}

.home-about-split__photo--overlap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .home-about-split {
    grid-template-columns: 1fr;
  }

  .home-about-split__visual {
    order: -1;
    min-height: 0;
    padding-bottom: clamp(2rem, 8vw, 3rem);
  }

  .home-about-split__photo--primary {
    justify-content: center;
  }

  .home-about-split__photo--primary img {
    max-width: min(400px, 100%);
  }

  .home-about-split__photo--overlap {
    right: clamp(0.5rem, 4vw, 1.5rem);
    width: min(58%, 260px);
  }
}

@media (max-width: 575px) {
  .home-about-split__watermark {
    font-size: clamp(2.5rem, 18vw, 3.5rem);
  }
}

/* —— Welcome row + mini cards (house-painting top) —— */
.arch-welcome-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

@media (max-width: 991px) {
  .arch-welcome-row {
    grid-template-columns: 1fr;
  }
}

.arch-welcome-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.arch-mini-card {
  background: var(--grey-color);
  padding: 1.75rem 1.5rem;
  transition: var(--ease-theme);
  border-left: 3px solid transparent;
}

.arch-mini-card:hover {
  border-left-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(0, 33, 85, 0.08);
}

.arch-mini-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  text-transform: capitalize;
}

.arch-mini-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.arch-readmore {
  font-family: var(--title-fonts);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: capitalize;
  color: var(--primary-color);
}

.arch-readmore:hover {
  color: var(--dark-color);
}

.arch-welcome-visual {
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 33, 85, 0.12);
}

.arch-welcome-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.arch-welcome-visual:hover img {
  transform: scale(1.05);
}

.arch-welcome-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary-color);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

/* —— Stats bar (light reference: dividers, accent numbers, no icons) —— */
.arch-counter-section {
  background: var(--grey-color);
  padding: clamp(2.75rem, 5vw, 4rem) 0;
}

.arch-counter-flex {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  text-align: center;
  align-items: stretch;
}

.arch-counter-item {
  padding: clamp(1.25rem, 3vw, 2rem) clamp(0.75rem, 2vw, 1.5rem);
  border-left: 1px solid rgba(47, 47, 47, 0.12);
}

.arch-counter-item:first-child {
  border-left: none;
}

.arch-counter-num {
  font-family: var(--title-fonts);
  font-size: clamp(2.35rem, 4.8vw, 3.35rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--primary-color);
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.arch-counter-num span {
  display: inline;
}

.arch-counter-plus {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 0.06em;
  top: -0.35em;
  position: relative;
  line-height: 0;
}

.arch-counter-label {
  color: var(--dark-color);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 500;
  text-transform: capitalize;
  line-height: 1.45;
  max-width: 12rem;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .arch-counter-flex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arch-counter-item {
    border-left: none;
  }

  .arch-counter-item:nth-child(2n) {
    border-left: 1px solid rgba(47, 47, 47, 0.12);
  }

  .arch-counter-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(47, 47, 47, 0.12);
    padding-bottom: clamp(1.35rem, 3vw, 1.85rem);
  }
}

/* —— Grey section —— */
.arch-section--grey {
  background: var(--grey-color);
}

.arch-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

/* —— Service boxes —— */
.arch-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Reference-style cards: light grey panel, icon in white circle, primary accents */
.arch-services-grid--cards {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .arch-services-grid--cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .arch-services-grid--cards {
    grid-template-columns: 1fr;
  }
}

.arch-services-grid--cards .arch-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f7f7f7;
  border: none;
  padding: 2rem 1.75rem 2.25rem;
  min-height: 280px;
  transition: box-shadow var(--ease-theme), transform var(--ease-theme);
}

.arch-services-grid--cards .arch-service-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.arch-service-icon-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease-in;
}

.arch-services-grid--cards .arch-service-icon {
  font-size: 1.75rem;
  color: var(--primary-color);
}

.arch-services-grid--cards .arch-service-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.85rem;
  text-transform: capitalize;
}

.arch-services-grid--cards .arch-service-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--secondary-color);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.arch-service-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--title-fonts);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--primary-color);
  margin-top: auto;
}

.arch-service-readmore:hover {
  color: var(--dark-color);
}

.arch-service-readmore__line {
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.arch-service-readmore i {
  font-size: 0.85em;
}

/* Legacy service card (other pages) */
.arch-service-card {
  background: var(--white-color);
  padding: 2rem 1.75rem 2.25rem;
  border: 2px solid var(--grey-color);
  position: relative;
  transition: var(--ease-theme);
  min-height: 220px;
}

.arch-service-card:hover {
  background: var(--white-color);
  border-color: var(--white-color);
}

.arch-service-card:hover .arch-service-icon-ring {
  background: #ffcdcd;
}

.arch-services-grid:not(.arch-services-grid--cards) .arch-service-card:hover .arch-service-top,
.arch-services-grid:not(.arch-services-grid--cards) .arch-service-card:hover .arch-service-title,
.arch-services-grid:not(.arch-services-grid--cards) .arch-service-card:hover .arch-service-desc,
.arch-services-grid:not(.arch-services-grid--cards) .arch-service-card:hover .arch-service-icon {
  color: var(--white-color);
  border-color: rgba(255, 255, 255, 0.2);
}

.arch-service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--grey-color);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  transition: var(--ease-theme);
}

.arch-services-grid:not(.arch-services-grid--cards) .arch-service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  line-height: 1;
  transition: var(--ease-theme);
}

.arch-service-title {
  font-size: 1.35rem;
  text-transform: capitalize;
  transition: var(--ease-theme);
}

.arch-service-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--secondary-color);
  transition: var(--ease-theme);
}

.arch-services-grid:not(.arch-services-grid--cards) .arch-service-card:hover .arch-service-desc {
  color: rgba(255, 255, 255, 0.95);
}

.arch-service-arrow {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
}

.arch-service-arrow a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dark-color);
  color: var(--white-color);
  font-size: 1rem;
}

.arch-service-arrow a:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/* —— Portfolio grid —— */
.arch-portfolio-head {
  margin-bottom: 2.5rem;
}

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

@media (max-width: 900px) {
  .arch-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .arch-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.arch-port-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.arch-port-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.arch-port-item:hover img {
  transform: scale(1.08);
}

.arch-port-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 33, 85, 0.85), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.arch-port-item:hover::after {
  opacity: 1;
}

.arch-port-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  font-family: var(--title-fonts);
  font-weight: 600;
  color: var(--white-color);
  text-transform: capitalize;
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--ease-theme);
}

.arch-port-item:hover .arch-port-caption {
  opacity: 1;
  transform: translateY(0);
}

/* —— Home: recent projects carousel (gallery imagery) —— */
.home-projects-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.home-projects-carousel__viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 2px;
  outline: none;
}

.home-projects-carousel__viewport:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.home-projects-carousel__track {
  display: flex;
  gap: 0.85rem;
  transform: translateX(0);
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .home-projects-carousel__track {
    transition: none;
  }
}

.home-projects-carousel__slide {
  flex-shrink: 0;
  margin: 0;
  min-width: 0;
}

.home-projects-carousel__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grey-color);
}

.home-projects-carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.home-projects-carousel__media:hover img,
.home-projects-carousel__media:focus-visible img {
  transform: scale(1.04);
}

.home-projects-carousel__media:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.home-projects-carousel__label {
  margin: 0;
  padding: 0.65rem 0.35rem 0;
  font-family: var(--title-fonts);
  font-weight: 600;
  font-size: clamp(0.88rem, 2.1vw, 1.05rem);
  color: var(--dark-color);
  text-align: center;
  line-height: 1.3;
}

.home-projects-carousel__btn {
  position: absolute;
  top: calc(50% - 1.25rem);
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--dark-color);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 33, 85, 0.15);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.home-projects-carousel__btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: var(--white-color);
}

.home-projects-carousel__btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.home-projects-carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.home-projects-carousel__btn--prev {
  left: 0.5rem;
}

.home-projects-carousel__btn--next {
  right: 0.5rem;
}

@media (max-width: 520px) {
  .home-projects-carousel__btn {
    width: 2.4rem;
    height: 2.4rem;
    top: calc(50% - 2rem);
  }

  .home-projects-carousel__btn--prev {
    left: 0.35rem;
  }

  .home-projects-carousel__btn--next {
    right: 0.35rem;
  }
}

.home-projects-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.home-projects-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--grey-color);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.home-projects-carousel__dot:hover,
.home-projects-carousel__dot:focus-visible {
  background: #b8bcc4;
}

.home-projects-carousel__dot.is-active {
  background: var(--primary-color);
  transform: scale(1.15);
}

.home-projects-carousel__dot:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.home-projects-carousel__cta {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
}

.home-projects-carousel__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Pricing —— */
.arch-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .arch-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

.arch-price {
  background: var(--white-color);
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  border: 2px solid var(--grey-color);
  transition: var(--ease-theme);
  position: relative;
}

.arch-price:hover,
.arch-price.is-active {
  border-color: var(--primary-color);
  box-shadow: 0 20px 50px rgba(255, 99, 27, 0.15);
}

.arch-price__label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.arch-price__amount {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--dark-color);
  font-family: var(--title-fonts);
}

.arch-price ul {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 0;
  text-align: left;
}

.arch-price li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--grey-color);
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.25rem;
}

.arch-price li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

/* —— Dark CTA —— */
.arch-cta-dark {
  background: var(--dark-color) url(../images/construction.jpg) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: rgba(255, 255, 255, 0.92);
  padding: clamp(3rem, 12vw, 10rem) 0;
  text-align: center;
  position: relative;
}

.arch-cta-dark::before{
  position: absolute;
  width: 100%;
  height: 100%;
  content: '';
  background: #000000e3;
  top:0;
  left: 0;
  z-index: 1;
}

.arch-cta-dark .container{
  position: relative;
  z-index: 2;
}

.arch-cta-dark h2 {
  color: var(--white-color);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  text-transform: capitalize;
  margin-bottom: 1rem;
}

.arch-cta-dark p {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.88);
}

/* —— Split feature —— */
.arch-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 420px;
}

@media (max-width: 900px) {
  .arch-split {
    grid-template-columns: 1fr;
  }
}

.arch-split__img {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.arch-split__img--photo {
  min-height: 100%;
  padding: 0;
  overflow: hidden;
}

.arch-split__img--photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.arch-split__content {
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white-color);
}

/* Project commitment: padded form column + subtle blueprint hint */
.arch-commitment__panel {
  position: relative;
  padding: clamp(2.75rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
}

.arch-commitment__panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: min(55%, 420px);
  height: min(55%, 380px);
  pointer-events: none;
  opacity: 0.06;
  background-image: repeating-linear-gradient(
      0deg,
      var(--dark-color) 0,
      var(--dark-color) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      90deg,
      var(--dark-color) 0,
      var(--dark-color) 1px,
      transparent 1px,
      transparent 18px
    );
}

.arch-commitment__title {
  margin-bottom: 0.75rem;
}

.arch-commitment__intro {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  max-width: 520px;
}

.arch-commit-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
}

.arch-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .arch-form-row {
    grid-template-columns: 1fr;
  }
}

.arch-commit-form input,
.arch-commit-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e2e2e2;
  background: #f5f5f5;
  color: var(--dark-color);
  transition: border-color var(--ease-theme), background var(--ease-theme);
}

.arch-commit-form input::placeholder,
.arch-commit-form textarea::placeholder {
  color: #8a8f9c;
}

.arch-commit-form input:focus,
.arch-commit-form textarea:focus {
  outline: none;
  border-color: rgba(220, 0, 0, 0.45);
  background: var(--white-color);
}

.arch-commit-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.arch-commit-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.arch-commit-form__submit {
  border-radius: 0;
  padding: 14px 32px;
}

.arch-commit-form__status {
  text-align: right;
  margin-top: 0.75rem;
}

.arch-split--reverse .arch-split__img {
  order: 2;
}

.arch-split--reverse .arch-split__content {
  order: 1;
}

@media (max-width: 900px) {
  .arch-split--reverse .arch-split__img {
    order: 0;
  }
  .arch-split--reverse .arch-split__content {
    order: 1;
  }
}

/* —— Client marquee —— */
.arch-clients-wrap {
  overflow: hidden;
  padding: 1rem 0 2rem;
}

.arch-marquee {
  display: flex;
  gap: 3rem;
  animation: archMarquee 28s linear infinite;
  width: max-content;
}

.arch-marquee:hover {
  animation-play-state: paused;
}

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

.arch-client-name {
  font-family: var(--title-fonts);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-color);
  white-space: nowrap;
  padding: 1rem 1.75rem;
  background: var(--white-color);
  box-shadow: 0 8px 30px rgba(0, 33, 85, 0.06);
}

.arch-client-name img{
  max-width: 100px;
}

/* —— Blog cards —— */
.arch-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .arch-blog-grid {
    grid-template-columns: 1fr;
  }
}

.arch-blog-card {
  background: var(--white-color);
  box-shadow: 0 12px 40px rgba(0, 33, 85, 0.07);
  transition: var(--ease-theme);
  overflow: hidden;
}

.arch-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 33, 85, 0.12);
}

.arch-blog-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.arch-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.arch-blog-card:hover .arch-blog-card__img img {
  transform: scale(1.06);
}

.arch-blog-card__body {
  padding: 1.5rem 1.35rem 1.75rem;
}

.arch-blog-meta {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.arch-blog-card h4 {
  font-size: 1.2rem;
  text-transform: capitalize;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.arch-blog-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* —— Subscribe (footer subscribe style) —— */
.arch-subscribe {
  background: var(--primary-color);
  padding: 2.5rem 0;
  color: var(--white-color);
}

.arch-subscribe-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
}

.arch-subscribe-text h3 {
  color: var(--white-color);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.arch-subscribe-form {
  flex: 1;
  min-width: 280px;
  max-width: 520px;
  position: relative;
}

.arch-subscribe-form input[type="email"] {
  width: 100%;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white-color);
  padding: 0 130px 0 1rem;
  font-family: var(--title-fonts);
  font-size: 1rem;
  outline: none;
}

.arch-subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.arch-subscribe-form button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background: var(--dark-color);
  color: var(--white-color);
  border: none;
  padding: 0 1.5rem;
  font-family: var(--title-fonts);
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  transition: var(--ease-theme);
}

.arch-subscribe-form button:hover {
  background: #001a40;
}

/* —— Footer —— */
.site-footer {
  background: #001338;
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  font-family: var(--title-fonts);
  color: var(--white-color);
  font-size: 1.1rem;
  text-transform: capitalize;
  margin: 0 0 1.25rem;
}

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

.site-footer li {
  margin-bottom: 0.5rem;
}

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

.site-footer a:hover {
  color: var(--primary-color);
}

.footer-follow {
  margin-top: 0.9rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.35rem;
  padding: 0.22rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  line-height: 1.2;
}

.site-footer a.footer-social-btn {
  color: var(--white-color);
}

.site-footer a.footer-social-btn:hover {
  color: var(--white-color);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.footer-social-btn i {
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* —— Back to top —— */
.arch-back-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 0;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: var(--ease-theme);
  box-shadow: 0 6px 30px rgba(0, 33, 85, 0.2);
}

.arch-back-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.arch-back-top:hover {
  background: var(--dark-color);
}

/* —— WhatsApp —— */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
}

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

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

/* —— Inner pages: page hero + breadcrumb bar —— */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 8vw, 5.75rem) 0;
  color: var(--white-color);
  text-align: left;
  background: #142338;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background: url("../images/slide1.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 32, 58, 0.94) 0%,
    rgba(16, 42, 72, 0.82) 45%,
    rgba(12, 36, 62, 0.9) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  text-transform: capitalize;
  letter-spacing: -0.02em;
}

.page-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.page-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.96) !important;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.page-breadcrumb__link:hover {
  color: #fff !important;
}

.page-breadcrumb__icon {
  font-size: 0.88em;
  opacity: 0.95;
}

.page-breadcrumb__item--sep {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 500;
  user-select: none;
  line-height: 1;
}

.page-breadcrumb__current {
  color: var(--primary-color);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__media {
    transform: none;
  }
}

/* Legacy .breadcrumb (older inner snippets if any) */
.breadcrumb {
  font-size: 0.95rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section--alt {
  background: var(--grey-color);
}

.section--dark {
  background: var(--dark-color);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section__label {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: capitalize;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  text-transform: capitalize;
  margin-bottom: 0.75rem;
}

.section__lead {
  color: var(--secondary-color);
  margin: 0;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .welcome-grid {
    grid-template-columns: 1fr;
  }
}

.welcome-grid__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 33, 85, 0.1);
}

.block-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: capitalize;
  margin-bottom: 1rem;
}

/* —— About page: value pillars (2×2 cards) —— */
.about-pillars__head {
  margin-bottom: clamp(1.75rem, 4vw, 2.65rem);
}

.about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 1040px;
  margin-inline: auto;
}

.about-pillar-card {
  position: relative;
  background: var(--white-color);
  padding: clamp(1.5rem, 3.2vw, 2.1rem) clamp(1.35rem, 3vw, 1.95rem);
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 14px 42px rgba(0, 33, 85, 0.07);
  border-radius: 0 0 2px 2px;
  transition:
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-pillar-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.about-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 56px rgba(0, 33, 85, 0.12);
}

.about-pillar-card:hover::before {
  opacity: 0;
}

.about-pillar-card__index {
  display: block;
  font-family: var(--title-fonts);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  opacity: 0.92;
}

.about-pillar-card__title {
  font-size: clamp(1.12rem, 2.1vw, 1.38rem);
  font-weight: 600;
  margin: 0 0 0.7rem;
  line-height: 1.3;
  color: var(--dark-color);
}

.about-pillar-card__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--secondary-color);
}

@media (max-width: 720px) {
  .about-pillars__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-pillar-card {
    transition: box-shadow 0.3s ease;
  }

  .about-pillar-card:hover {
    transform: none;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  padding: 1.5rem;
  background: var(--white-color);
  border-bottom: 3px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 33, 85, 0.06);
}

.stat__num {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--primary-color);
  font-family: var(--title-fonts);
}

.stat__label {
  font-size: 0.9rem;
  text-transform: capitalize;
  color: var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white-color);
  padding: 1.75rem;
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 10px 36px rgba(0, 33, 85, 0.06);
}

.service-card h3 {
  font-size: 1.2rem;
  text-transform: capitalize;
  margin: 0.75rem 0;
}

/* —— Services page: Architeck-style image cards (image + title + text, no CTA) —— */
.services-page-hero__header {
  margin-bottom: 2rem;
}

.services-page-grid-heading {
  font-family: var(--title-fonts);
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 600;
  color: var(--dark-color);
  text-align: center;
  text-transform: capitalize;
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.25;
}

.services-grid--boxes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.35rem, 2.5vw, 1.85rem);
}

.service-box-card {
  display: flex;
  flex-direction: column;
  background: var(--white-color);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(0, 33, 85, 0.08);
  transition:
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-box-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 33, 85, 0.14);
}

.service-box-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grey-color);
}

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

.service-box-card:hover .service-box-card__media img {
  transform: scale(1.07);
}

.service-box-card__icon-mark {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:var(--primary-color);
  color: var(--white-color);
  border-radius: 2px;
  font-size: 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.service-box-card__body {
  padding: 1.35rem 1.35rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-box-card__title {
  font-family: var(--title-fonts);
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  font-weight: 600;
  margin: 0 0 0.65rem;
  line-height: 1.3;
  color: var(--dark-color);
  text-transform: capitalize;
}

.service-box-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--secondary-color);
  flex: 1;
}

@media (max-width: 991px) {
  .services-grid--boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .services-grid--boxes {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-box-card {
    transition: box-shadow 0.3s ease;
  }

  .service-box-card:hover {
    transform: none;
  }

  .service-box-card:hover .service-box-card__media img {
    transform: none;
  }
}

/* —— Services page: “How we work” / process strip (premium Architeck-style) —— */
.work-process-section .container {
  max-width: min(1180px, var(--container));
}

.work-process__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.work-process__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.work-process__eyebrow-bar {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--primary-color);
  border-radius: 1px;
}

.work-process__title-block {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
  min-height: clamp(3.5rem, 10vw, 5rem);
  align-items: center;
}

.work-process__watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  font-family: var(--title-fonts);
  font-size: clamp(2.75rem, 12vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(47, 47, 47, 0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.work-process__title {
  position: relative;
  z-index: 1;
  font-family: var(--title-fonts);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 600;
  color: var(--dark-color);
  text-transform: capitalize;
  margin: 0;
  line-height: 1.25;
}

.work-process__lead {
  margin: 0;
}

.work-process__grid-title {
  font-family: var(--title-fonts);
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 600;
  color: var(--dark-color);
  text-align: center;
  text-transform: capitalize;
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.25;
}

.work-process__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-around;
  gap: 0.25rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.work-process__step {
  flex: 0 1 220px;
  text-align: center;
  padding: 0 0.35rem;
}

.work-process__icon-frame {
  position: relative;
  width: min(100%, 8.5rem);
  aspect-ratio: 1;
  margin: 0 auto 1.15rem;
  display: flex;
  align-items: center;
  border-radius: 100%;
  justify-content: center;
  background: none;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.work-process__badge {
  position: absolute;
  top: 0;
  right: 1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white-color);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--title-fonts);
  line-height: 1.85rem;
  text-align: center;
}

.work-process__step-title {
  font-family: var(--title-fonts);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-color);
  text-transform: capitalize;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.work-process__step-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--secondary-color);
}

.work-process__connector {
  flex: 0 0 clamp(36px, 5vw, 56px);
  align-self: center;
  margin-top: 0.5rem;
  color: rgba(86, 89, 105, 0.45);
}

.work-process__connector svg {
  display: block;
  width: 100%;
  height: auto;
}

.work-process__cta {
  text-align: center;
  margin: 0;
}

@media (max-width: 991px) {
  .work-process__track {
    flex-wrap: wrap;
    max-width: 420px;
    margin-inline: auto;
  }

  .work-process__connector {
    display: none;
  }

  .work-process__step {
    flex: 0 0 100%;
    max-width: none;
  }

  .work-process__icon-frame {
    width: 7.5rem;
  }

  .work-process__track > .work-process__step ~ .work-process__step {
    border-top: 1px dashed rgba(86, 89, 105, 0.2);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}

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

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.projects-grid--gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

@media (max-width: 1100px) {
  .projects-grid--gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .projects-grid--gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .projects-grid--gallery {
    grid-template-columns: 1fr;
  }
}

/* —— Gallery: service groups (multiple items per heading) —— */
.gallery-page__mount {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3rem);
}

.gallery-group {
  margin: 0;
}

.gallery-group__title {
  font-family: var(--title-fonts);
  font-size: clamp(1.12rem, 2.1vw, 1.35rem);
  font-weight: 600;
  color: var(--dark-color);
  margin: 0 0 clamp(0.85rem, 2vw, 1.1rem);
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--primary-color);
  display: table;
  max-width: 100%;
  line-height: 1.3;
}

.gallery-group__grid {
  margin: 0;
}

button.project-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  border-radius: 0;
  -webkit-tap-highlight-color: transparent;
}

button.project-card:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

button.project-card.gallery-thumb--video {
  cursor: pointer;
}

.gallery-thumb__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.35s ease;
}

.gallery-thumb--video:hover .gallery-thumb__play {
  background: rgba(0, 0, 0, 0.38);
}

.gallery-thumb__play i {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  font-size: 1.15rem;
  padding-left: 0.2rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 33, 85, 0.88), transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__overlay span {
  font-family: var(--title-fonts);
  color: var(--white-color);
  text-transform: capitalize;
}

/* —— Gallery lightbox —— */
.gallery-lightbox {
  max-width: min(96vw, 1200px);
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--white-color);
}

.gallery-lightbox::backdrop {
  background: rgba(15, 18, 28, 0.92);
  cursor: pointer;
}

.gallery-lightbox__panel {
  position: relative;
  padding: 0;
  margin: 0;
}

.gallery-lightbox__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white-color);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease;
}

.gallery-lightbox__close:hover {
  background: var(--primary-color);
}

.gallery-lightbox__close:focus-visible {
  outline: 2px solid var(--white-color);
  outline-offset: 2px;
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.85rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white-color);
  font-size: 1.1rem;
  cursor: pointer;
  transition:
    background 0.25s ease,
    opacity 0.25s ease;
}

.gallery-lightbox__nav:hover:not(:disabled) {
  background: var(--primary-color);
}

.gallery-lightbox__nav:focus-visible {
  outline: 2px solid var(--white-color);
  outline-offset: 2px;
}

.gallery-lightbox__nav:disabled {
  opacity: 0.22;
  cursor: not-allowed;
}

.gallery-lightbox__nav[hidden] {
  display: none;
}

.gallery-lightbox__nav--prev {
  left: 0.4rem;
}

.gallery-lightbox__nav--next {
  right: 0.4rem;
}

@media (max-width: 520px) {
  .gallery-lightbox__nav {
    width: 2.5rem;
    height: 2.85rem;
    font-size: 1rem;
  }

  .gallery-lightbox__nav--prev {
    left: 0.25rem;
  }

  .gallery-lightbox__nav--next {
    right: 0.25rem;
  }
}

.gallery-lightbox__img {
  display: block;
  width: 100%;
  max-height: min(85vh, 900px);
  height: auto;
  object-fit: contain;
  background: #111;
  border-radius: 2px;
}

.gallery-lightbox__img[hidden],
.gallery-lightbox__img:not([src]),
.gallery-lightbox__img[src=""] {
  display: none;
}

.gallery-lightbox__video {
  display: block;
  width: 100%;
  max-height: min(85vh, 900px);
  background: #111;
  border-radius: 2px;
}

.gallery-lightbox__video[hidden] {
  display: none;
}

.gallery-lightbox__caption {
  margin: 0.85rem 0 0;
  text-align: center;
  font-family: var(--title-fonts);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white-color);
  text-transform: capitalize;
}

.gallery-lightbox__caption:empty {
  display: none;
}

/* —— Products page: featured supplier imagery above catalog —— */
.products-featured-lines {
  list-style: none;
  margin: 0 0 clamp(2rem, 4vw, 2.85rem);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.4rem);
}

.products-featured-lines__item {
  margin: 0;
}

.products-featured-lines__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  height: 100%;
  position: relative;
}

.products-featured-lines__media {
  flex: 1;
  min-height: clamp(8rem, 22vw, 11.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.85rem, 2.2vw, 1.2rem);
  background: var(--white-color);
  border: 1px solid rgba(47, 47, 47, 0.08);
  border-radius: 2px;
  box-shadow: 0 10px 34px rgba(0, 33, 85, 0.06);
}

.products-featured-lines__media img {
  width: 100%;
  max-height: clamp(7rem, 18vw, 10rem);
  height: auto;
  object-fit: contain;
  object-position: center;
}

.products-featured-lines__caption {
  position: absolute;
  margin: 0;
  text-align: center;
  font-family: var(--title-fonts);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white-color);
  letter-spacing: 0.02em;
  line-height: 1.35;
  bottom: 0;
  background: var(--primary-color);
  padding: 3px 15px;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .products-featured-lines {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-inline: auto;
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  }

  .products-featured-lines__media {
    min-height: 9rem;
  }

  .products-featured-lines__media img {
    max-height: 10rem;
  }
}

/* —— Products page: catalog grid —— */
.products-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.5rem);
}

.products-catalog__card {
  display: flex;
  flex-direction: column;
  background: var(--white-color);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(0, 33, 85, 0.08);
  border: 1px solid rgba(47, 47, 47, 0.06);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.products-catalog__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 33, 85, 0.12);
}

.products-catalog__media {
  aspect-ratio: 4 / 3;
  background: var(--grey-color);
  overflow: hidden;
}

.products-catalog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.products-catalog__card:hover .products-catalog__media img {
  transform: scale(1.04);
}

.products-catalog__body {
  padding: 1.2rem 1.35rem 1.45rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.products-catalog__title {
  font-family: var(--title-fonts);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-color);
  margin: 0 0 0.55rem;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.products-catalog__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--secondary-color);
  flex: 1;
}

@media (max-width: 1100px) {
  .products-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .products-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .products-catalog {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-catalog__card {
    transition: box-shadow 0.3s ease;
  }

  .products-catalog__card:hover {
    transform: none;
  }

  .products-catalog__card:hover .products-catalog__media img {
    transform: none;
  }
}

/* —— Clients page: logo grid under hero —— */
.clients-logos-band {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--grey-color);
  border-top: 1px solid rgba(47, 47, 47, 0.06);
}

.clients-logos-band__header {
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.clients-logos-band__header .section__title {
  text-wrap: balance;
}

.clients-logos-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.35rem);
}

.clients-logos-grid__item {
  margin: 0;
}

.clients-logo-tile {
  height: 100%;
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1.1rem, 2.5vw, 1.5rem);
  background: var(--white-color);
  border: 1px solid rgba(47, 47, 47, 0.08);
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(0, 33, 85, 0.05);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.clients-logo-tile:hover {
  border-color: rgba(220, 0, 0, 0.2);
  box-shadow: 0 12px 36px rgba(0, 33, 85, 0.08);
}

.clients-logo-tile img {
  width: auto;
  max-width: 100%;
  max-height: clamp(3rem, 5vw, 3.5rem);
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .clients-logos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .clients-logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients-logo-tile {
    min-height: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-logo-tile {
    transition: none;
  }
}

.clients-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.client-pill {
  font-family: var(--title-fonts);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.35rem;
  background: var(--white-color);
  color: var(--dark-color);
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 16px rgba(0, 33, 85, 0.08);
}

.cta-band {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: linear-gradient(105deg, var(--dark-color) 0%, #001a40 100%);
  color: var(--white-color);
  text-align: center;
}

.cta-band h2 {
  color: var(--white-color);
  text-transform: capitalize;
  margin-bottom: 1rem;
}

.cta-band p {
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--title-fonts);
  font-weight: 600;
  text-transform: capitalize;
  padding: 12px 28px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: var(--ease-theme);
}

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

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

.btn--outline {
  background: transparent;
  color: var(--white-color);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

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

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

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--grey-color);
  padding: 2rem;
  border-left: 4px solid var(--primary-color);
}

.contact-card h3 {
  margin-top: 0;
  text-transform: capitalize;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 0.35rem;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--grey-color);
  font-family: inherit;
  font-size: 1rem;
  background: var(--grey-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-status--success {
  color: #1b6e3b;
}

.form-status--error {
  color: var(--primary-color);
}

.map-embed {
  border: 0;
  width: 100%;
  height: min(420px, 55vh);
  box-shadow: 0 12px 40px rgba(0, 33, 85, 0.1);
}

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

.info-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid #e8e8e8;
}

/* Scroll reveal: sections (see main.js — data-scroll-reveal on body > section) */
[data-scroll-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-scroll-reveal].is-scroll-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Legacy .reveal (subpages) — same motion as scroll-reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Legacy hero (subpages if any) */
.hero {
  position: relative;
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  text-align: center;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 33, 85, 0.82), rgba(0, 33, 85, 0.5));
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
}

.hero__dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
}

.hero__dots button.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

@media (prefers-reduced-motion: reduce) {
  .project-card:hover img {
    transform: none;
  }

  .arch-hero__img--kb {
    animation: none;
  }
  .arch-marquee {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }

  [data-scroll-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
