:root {
  --orange: #E75B12;
  --orange-dark: #bf4409;
  --graphite: #474A50;
  --graphite-deep: #151b1f;
  --graphite-soft: #252c31;
  --gray: #B5B5B5;
  --line: rgba(181, 181, 181, 0.28);
  --paper: #f4f5f6;
  --white: #ffffff;
  --ink: #20252a;
  --muted: #626a72;
  --shadow: 0 22px 54px rgba(9, 17, 22, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(21, 27, 31, 0.95);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand img {
  display: block;
  width: clamp(150px, 13vw, 205px);
  height: auto;
  filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.2));
}

.site-header.is-scrolled .brand img,
.site-header.is-open .brand img,
.footer-brand img {
  filter: none;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  flex: 1;
  font-size: 0.86rem;
  font-weight: 800;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  color: var(--orange);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  font-weight: 900;
}

.header-cta {
  padding: 0 18px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.86rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--graphite-deep);
  color: var(--white);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  align-items: center;
  padding: 132px clamp(18px, 4vw, 58px) 180px;
  opacity: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(16, 22, 26, 0.96), rgba(16, 22, 26, 0.78) 38%, rgba(16, 22, 26, 0.2)),
    radial-gradient(circle at 102% 76%, rgba(231, 91, 18, 0.23), transparent 24%),
    var(--bg);
  background-size: cover;
  background-position: center;
  transition: opacity 0.45s ease;
}

.hero-slide::after {
  content: "";
  position: absolute;
  top: -12%;
  left: 41%;
  width: 34vw;
  min-width: 360px;
  height: 124%;
  border-left: 2px solid rgba(231, 91, 18, 0.72);
  border-radius: 50%;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow,
.section-label {
  display: block;
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1,
.hero h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.5rem, 4.9vw, 4.75rem);
  font-weight: 900;
  text-transform: uppercase;
}

.hero p {
  max-width: 710px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  padding: 0 22px;
  cursor: pointer;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button:hover,
.header-cta:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.hero-metrics {
  position: absolute;
  left: clamp(18px, 4vw, 58px);
  right: clamp(18px, 4vw, 58px);
  bottom: 34px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(21, 27, 31, 0.72);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  min-height: 118px;
  padding: 18px;
  border-right: 1px solid rgba(231, 91, 18, 0.48);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics i,
.services-grid i,
.structure-grid i,
.feature-row i,
.segment-list i,
.location-points i,
.contact-links i {
  width: 34px;
  height: 34px;
  color: var(--orange);
  stroke-width: 1.7;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-top: 10px;
  font-size: 1.1rem;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.slider-controls {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: 168px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(21, 27, 31, 0.78);
  color: var(--white);
  cursor: pointer;
}

.slider-controls i {
  width: 20px;
  height: 20px;
}

.slider-dots {
  display: flex;
  gap: 7px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
}

.slider-dots button.is-active {
  width: 28px;
  background: var(--orange);
}

section {
  padding: clamp(66px, 8vw, 114px) clamp(18px, 4vw, 58px);
}

.split,
.section-heading,
.location-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
  max-width: 1220px;
  margin: 0 auto;
}

section h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.1rem);
  font-weight: 900;
  text-transform: uppercase;
}

.text-stack p,
.section-heading p,
.location-copy p,
.contact-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-section,
.clients-section {
  background: var(--white);
}

.feature-row,
.structure-grid,
.services-grid,
.segment-list {
  display: grid;
  gap: 16px;
  max-width: 1220px;
  margin: 38px auto 0;
}

.feature-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-row article,
.structure-grid article,
.services-grid article,
.segment-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(19, 28, 34, 0.06);
}

.feature-row article {
  min-height: 230px;
  padding: 24px;
}

article h3 {
  margin: 18px 0 8px;
  font-size: 1.1rem;
  line-height: 1.2;
}

article p {
  margin: 0;
  color: var(--muted);
}

.structure-section {
  background: var(--graphite-deep);
  color: var(--white);
}

.structure-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.structure-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.structure-grid article {
  min-height: 205px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.structure-grid article p {
  color: rgba(255, 255, 255, 0.72);
}

.services-section,
.systems-section,
.location-section {
  background: #eef0f2;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-grid article {
  min-height: 275px;
  padding: 24px;
}

.segments-section {
  background: var(--white);
}

.section-heading.compact {
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 900px;
  text-align: center;
}

.segment-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.segment-list article {
  min-height: 230px;
  padding: 24px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1220px;
  margin: 38px auto 0;
}

.systems-grid article {
  display: grid;
  align-content: start;
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(19, 28, 34, 0.06);
}

.systems-grid i {
  width: 34px;
  height: 34px;
  color: var(--orange);
  stroke-width: 1.7;
}

.systems-grid .button {
  justify-self: start;
  margin-top: 24px;
}

.portal-page {
  padding-top: 82px;
  background: var(--paper);
}

.portal-hero {
  padding: clamp(78px, 9vw, 128px) clamp(18px, 4vw, 58px) clamp(52px, 7vw, 82px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 240, 242, 0.94)),
    radial-gradient(circle at 92% 18%, rgba(231, 91, 18, 0.14), transparent 28%);
}

.portal-hero-copy {
  max-width: 920px;
  margin: 0 auto;
}

.portal-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.portal-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.35rem);
}

.portal-section {
  background: var(--paper);
}

.quick-access-section {
  padding-top: 28px;
}

.profile-grid,
.quick-access-grid {
  display: grid;
  gap: 16px;
  max-width: 1220px;
  margin: 38px auto 0;
}

.profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1010px;
}

.quick-access-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.profile-card,
.quick-access-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(19, 28, 34, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.profile-card:hover,
.quick-access-grid article:hover {
  border-color: rgba(231, 91, 18, 0.42);
  box-shadow: 0 22px 44px rgba(19, 28, 34, 0.1);
  transform: translateY(-3px);
}

.profile-card {
  display: grid;
  align-content: start;
  min-height: 430px;
  padding: 28px;
}

.profile-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
}

.quick-access-grid article {
  display: grid;
  align-content: start;
  min-height: 285px;
  padding: 22px;
}

.profile-card i,
.quick-access-grid i {
  width: 34px;
  height: 34px;
  color: var(--orange);
  stroke-width: 1.7;
}

.profile-card h3,
.quick-access-grid h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.2;
}

.profile-card p,
.quick-access-grid p {
  margin: 0;
  color: var(--muted);
}

.profile-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--graphite);
  list-style: none;
}

.profile-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.94rem;
}

.profile-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
}

.profile-card .button,
.quick-access-grid .button {
  justify-self: start;
  margin-top: 24px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.profile-actions .button {
  margin-top: 0;
}

.restricted-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
  margin-top: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(231, 91, 18, 0.24);
  color: var(--graphite);
  font-size: 0.82rem;
  font-weight: 900;
}

.restricted-label i {
  width: 16px;
  height: 16px;
}

.client-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  max-width: 1220px;
  margin: 34px auto 0;
}

.client-logo-card {
  display: grid;
  grid-template-rows: 82px auto;
  align-items: center;
  gap: 12px;
  min-height: 142px;
  padding: 16px;
  background: #f7f8f9;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--graphite);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 30px rgba(19, 28, 34, 0.05);
}

.client-logo-card img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.client-logo-card span {
  font-size: 0.88rem;
  line-height: 1.2;
}

.location-section {
  max-width: none;
}

.location-copy,
.map-card {
  max-width: 610px;
}

address {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 4px solid var(--orange);
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.location-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.location-points span,
.contact-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--graphite);
  font-weight: 800;
}

.map-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--graphite);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-section {
  background: var(--graphite-deep);
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-links a {
  color: rgba(255, 255, 255, 0.9);
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form input[name="site"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.contact-form input {
  min-height: 46px;
  padding: 0 12px;
}

.contact-form textarea {
  resize: vertical;
  padding: 12px;
}

.full {
  grid-column: 1 / -1;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.is-scrolled-page .floating-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-cta i {
  width: 22px;
  height: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 58px);
  background: #0c1114;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .header-cta {
    display: none;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .feature-row,
  .services-grid,
  .segment-list,
  .quick-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics,
  .structure-grid,
  .client-strip,
  .systems-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics div {
    border-bottom: 1px solid rgba(231, 91, 18, 0.3);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 14px;
    background: rgba(21, 27, 31, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 1080px;
  }

  .hero-slide {
    align-items: start;
    padding-top: 124px;
    background-position: center;
  }

  .hero-metrics,
  .split,
  .section-heading,
  .location-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    bottom: 92px;
  }

  .hero-metrics div {
    min-height: 94px;
  }

  .slider-controls {
    left: 18px;
    right: auto;
    bottom: 32px;
  }

  .portal-page {
    padding-top: 72px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  .brand img {
    width: 136px;
  }

  .site-nav {
    top: 72px;
    left: 12px;
    right: 12px;
  }

  .hero {
    min-height: 930px;
  }

  .hero-slide {
    padding: 106px 16px 300px;
  }

  .hero-slide::after {
    display: none;
  }

  .hero h1,
  .hero h2 {
    font-size: 2.1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-metrics {
    left: 16px;
    right: 16px;
    bottom: 86px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(21, 27, 31, 0.46);
    backdrop-filter: blur(8px);
  }

  .hero-metrics div {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 10px;
    align-items: center;
    min-height: auto;
    padding: 12px;
    border-right: 1px solid rgba(231, 91, 18, 0.22);
    border-bottom: 1px solid rgba(231, 91, 18, 0.22);
  }

  .hero-metrics div:nth-child(2n),
  .hero-metrics div:last-child {
    border-right: 0;
  }

  .hero-metrics div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .hero-metrics i {
    width: 26px;
    height: 26px;
  }

  .hero-metrics strong {
    margin-top: 0;
    font-size: 0.98rem;
  }

  .hero-metrics span {
    grid-column: 2;
    font-size: 0.76rem;
  }

  section {
    padding: 58px 16px;
  }

  section h2 {
    font-size: 2rem;
  }

  .feature-row,
  .structure-grid,
  .services-grid,
  .segment-list,
  .systems-grid,
  .profile-grid,
  .quick-access-grid,
  .client-strip,
  .location-points,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    left: 16px;
    right: 16px;
    justify-content: center;
  }

  .site-footer {
    padding-bottom: 92px;
  }

  .portal-hero h1 {
    font-size: 2.65rem;
  }

  .profile-card,
  .quick-access-grid article {
    min-height: auto;
    padding: 22px;
  }

  .profile-card .button,
  .quick-access-grid .button {
    width: 100%;
  }

  .profile-actions {
    width: 100%;
  }
}
