/* Site chrome: utility bar, header, mobile drawer, page heroes, quick-link band, footer. */

/* ---------- utility bar ---------- */
.topbar {
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-small);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--topbar-h);
}

.topbar__loc,
.topbar__note {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar__note {
  min-width: 0;
}

.topbar__note span {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--c-ink-2);
}

.topbar__note a {
  color: var(--c-accent);
}

.topbar__note a:hover {
  text-decoration: underline;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar__links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.topbar__links a:hover {
  background: var(--c-accent-soft);
  color: var(--c-accent);
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-paper);
  box-shadow: var(--shadow-header);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex: none;
  margin-right: auto;
}

/* official logo (assets/images/brand/logo.svg): the wordmark on a red band cropped close around it,
   so it stays readable at header size. The full red-square artwork is in docs/brand/. */
.brand__logo {
  width: auto;
  height: 58px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: 10px;
  font-size: 0.9375rem;
  transition: color var(--dur) var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--c-accent);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}

.menu-btn .icon {
  width: 24px;
  height: 24px;
}

.menu-btn .icon--close,
.menu-btn[aria-expanded="true"] .icon--menu {
  display: none;
}

.menu-btn[aria-expanded="true"] .icon--close {
  display: block;
}

/* ---------- mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  background: var(--c-paper);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}

.drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform var(--dur) var(--ease);
}

.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.375rem;
}

.drawer__nav a[aria-current="page"] {
  color: var(--c-accent);
}

.drawer__contact {
  display: grid;
  gap: 12px;
  margin-top: auto;
  color: var(--c-ink-2);
}

.drawer__contact a {
  display: flex;
  align-items: center;
  gap: 12px;
}

html.no-scroll {
  overflow: hidden;
}

/* ---------- breadcrumb ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  font-size: 0.8125rem;
}

.crumbs li + li::before {
  content: ">";
  margin-right: 6px;
}

.crumbs [aria-current] {
  color: var(--c-accent);
}

/* ---------- page heroes (inner pages) ---------- */
.page-hero {
  position: relative;
}

/* gradient band: products, contact */
.page-hero--band {
  background: var(--grad-soft);
  padding-bottom: clamp(2.5rem, 1rem + 5vw, 5rem);
}

.page-hero--band .page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.page-hero__title {
  font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* a big page title directly under the breadcrumb needs breathing room */
.breadcrumb + .page-hero__title {
  margin-top: 24px;
}

.page-hero__title--xl {
  font-size: var(--fs-h1);
}

.page-hero__text {
  max-width: 56ch;
  margin-top: 16px;
  color: var(--c-ink-2);
}

.page-hero--band .media {
  border-radius: var(--radius);
  --ratio: 3 / 2;
}

/* overlap: lets the first card sit on top of the band (contact) */
.page-hero--overlap {
  padding-bottom: clamp(6rem, 4rem + 8vw, 11rem);
}

/* centred statement over an image: about */
.page-hero--vision {
  display: grid;
  min-height: clamp(520px, 50vw, 718px);
  color: var(--c-ink);
  isolation: isolate;
}

.page-hero--vision > .media {
  z-index: -2;
}

.page-hero--vision::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.78);
}

.page-hero__center {
  align-self: center;
  max-width: 940px;
  margin-inline: auto;
  padding-block: 40px 96px;
  text-align: center;
}

.page-hero__center .eyebrow {
  color: var(--c-accent);
  font-size: var(--fs-h2-sm);
}

.page-hero__statement {
  margin-top: 28px;
  font-size: clamp(1.75rem, 1rem + 3.2vw, 3.875rem);
  font-weight: 300;
  line-height: 1.22;
}

/* circle image + title: industries, infrastructure */
.page-hero--circle {
  background: linear-gradient(120deg, var(--c-panel) 0%, #fbfaf8 55%, #efe9e3 100%);
  padding-bottom: clamp(2.5rem, 1rem + 4vw, 4.5rem);
}

.page-hero--circle .page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 6vw, 7rem);
  padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.page-hero--circle .media {
  width: min(100%, 560px);
  margin-inline: auto;
  border-radius: 50%;
  --ratio: 1;
}

.page-hero__light {
  margin-top: 16px;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
  font-weight: 300;
  line-height: 1.22;
}

.page-hero--circle .btn {
  margin-top: 32px;
}

/* ---------- short status pages: thank-you and 404 ---------- */
.status-page__text {
  max-width: 40em;
  color: var(--c-ink-2);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.status-page__text a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- quick-link band above the footer ---------- */
.quicklinks {
  background: var(--grad-soft);
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
}

.quicklinks__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.quicklinks__list li {
  width: 200px;
}

.quicklinks__list a {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  min-height: 148px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.quicklinks__list a:hover {
  background: var(--c-paper);
  transform: translateY(-4px);
}

.quicklinks__list .icon {
  width: 32px;
  height: 32px;
  color: var(--c-accent);
  stroke-width: 1.5;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--c-deep);
  color: var(--c-on-deep);
  isolation: isolate;
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
}

.footer::before {
  left: -30vw;
  top: 130px;
  width: 140vw;
  height: 140vw;
}

.footer::after {
  right: -50vw;
  top: 260px;
  width: 120vw;
  height: 120vw;
  background: rgba(197, 50, 45, 0.16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.55fr 1.1fr 0.85fr 0.85fr 0.8fr;
  gap: 40px;
  padding-block: 80px 56px;
  font-size: 0.9375rem;
  text-transform: uppercase;
}

.footer .brand__logo {
  height: 72px;
}

.footer__company {
  margin-top: 24px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.footer__address {
  margin-top: 4px;
  color: var(--c-on-deep-muted);
  line-height: 1.75;
}

.footer__phone {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--c-on-deep-muted);
}

.footer__phone a:hover,
.footer__list a:hover,
.footer__legal a:hover {
  color: var(--c-on-deep);
  text-decoration: underline;
}

.footer__follow {
  margin-top: 40px;
  color: var(--c-on-deep-muted);
  font-size: var(--fs-tiny);
}

.footer__social {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  margin-left: -8px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease);
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.footer__title {
  font-size: 0.9375rem;
  font-weight: 700;
}

.footer__title button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: inherit;
  text-align: left;
  text-transform: inherit;
  pointer-events: none;
}

.footer__title .icon {
  display: none;
  transition: transform var(--dur) var(--ease);
}

.footer__list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  color: var(--c-on-deep-muted);
}

.footer__highlight {
  display: inline-block;
  margin-top: 28px;
  color: var(--c-gold-light);
  font-weight: 700;
}

.footer__highlight:hover {
  text-decoration: underline;
}

.footer__card .media {
  margin-top: 12px;
  border-radius: var(--radius-sm);
  --ratio: 3 / 2;
}

.footer__card p {
  margin-top: 16px;
  color: var(--c-on-deep-muted);
  line-height: 1.6;
}

.footer__card .text-link {
  margin-top: 20px;
  color: var(--c-gold-light);
  font-size: 0.9375rem;
  letter-spacing: 0;
}

.footer__rows {
  margin-top: 8px;
}

.footer__rows a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--c-on-deep-muted);
  transition: color var(--dur) var(--ease);
}

.footer__rows a:hover {
  color: var(--c-on-deep);
}

.footer__rows .icon {
  color: var(--c-gold-light);
}

.footer__legal {
  padding-bottom: 32px;
  color: var(--c-on-deep-muted);
  font-size: var(--fs-tiny);
  text-transform: uppercase;
}

.footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.footer__legal li + li::before {
  content: "|";
  margin-inline: 14px;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 12px;
}

.footer__meta p {
  color: var(--c-on-deep);
}

.footer__credit {
  color: var(--c-on-deep-muted);
}

.footer__credit a {
  color: var(--c-gold-light);
  font-weight: 700;
}

.footer__credit a:hover {
  color: var(--c-gold-light);
  text-decoration: underline;
}

.footer__strip {
  height: 16px;
  background: var(--spectrum);
}

/* ---------- floating WhatsApp button ---------- */
.fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: var(--z-fab);
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-on-deep);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.fab.is-tucked {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.fab:hover {
  background: var(--c-accent-dark);
  transform: translateY(-3px);
}

.fab .icon {
  width: 28px;
  height: 28px;
}

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .nav ul {
    gap: 22px;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 1023px) {
  .topbar,
  .nav,
  .header__cta {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .brand__logo {
    height: 48px;
  }

  .page-hero--band .page-hero__grid,
  .page-hero--circle .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .page-hero--circle .media {
    width: min(70%, 380px);
  }

  .page-hero--circle .page-hero__body {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .brand__logo {
    height: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 48px 24px;
  }

  .footer__brand {
    padding-bottom: 24px;
  }

  .footer__follow {
    margin-top: 24px;
  }

  .footer__col,
  .footer__card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .footer__card {
    padding-block: 20px;
  }

  .footer__title button {
    padding-block: 16px;
    font-size: 1.0625rem;
    pointer-events: auto;
  }

  .footer__title .icon {
    display: block;
  }

  .footer__title button[aria-expanded="true"] .icon {
    transform: rotate(180deg);
  }

  .js .footer__panel {
    display: none;
  }

  .js .footer__panel.is-open {
    display: block;
    padding-bottom: 20px;
  }

  .footer__list {
    margin-top: 0;
  }

  .footer__highlight {
    margin-top: 16px;
  }

  .footer__legal {
    padding-top: 24px;
  }

  .footer__legal ul {
    gap: 6px 20px;
  }

  .footer__legal li + li::before {
    content: none;
  }

  .footer__list {
    gap: 0;
  }

  .footer__list a,
  .footer__legal a,
  .footer__phone a,
  .footer__card .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }

  .footer__legal ul {
    gap: 0 20px;
  }

  .quicklinks__list li {
    width: calc(50% - 8px);
  }

  .quicklinks__list a {
    min-height: 120px;
    padding: 18px;
  }

  .fab {
    width: 52px;
    height: 52px;
  }
}
