:root {
  color-scheme: light;
  --navy: #13233a;
  --navy-2: #0a1728;
  --blue: #0f5790;
  --orange: #e66d1f;
  --copper: #b37a57;
  --teal: #0d7b7b;
  --green: #5d7c45;
  --ink: #17202b;
  --muted: #647286;
  --line: #d8dee7;
  --panel: #ffffff;
  --soft: #f3f6f9;
  --steel: #e6ebf0;
  --shadow: 0 24px 80px rgba(16, 32, 54, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #f7f9fb;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.ui-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

[hidden] {
  display: none !important;
}

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 12px;
  padding: 10px 14px;
  clip: auto;
  background: #fff;
  border: 2px solid var(--orange);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 222, 231, 0.9);
  backdrop-filter: blur(14px);
}

.top-strip {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 7px max(18px, calc((100% - var(--max)) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(230, 109, 31, 0.13), transparent 28%),
    var(--navy-2);
  font-size: 13px;
  font-weight: 700;
}

.top-strip a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 4px 9px 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.055);
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.top-strip a[data-phone],
.top-strip a[data-email] {
  font-size: clamp(13px, 0.92vw, 14px);
  letter-spacing: 0;
  color: #fff;
}

.top-strip a[data-phone] .ui-icon,
.top-strip a[data-email] .ui-icon {
  width: 18px;
  height: 18px;
  padding: 4px;
  border-radius: 999px;
  color: #ffb27a;
  background: rgba(230, 109, 31, 0.16);
}

.top-strip a[data-shop] {
  color: #ffd0ad;
}

.top-strip a:hover {
  color: #fff;
  border-color: rgba(230, 109, 31, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.brand img {
  width: 216px;
  max-height: 54px;
  object-fit: contain;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  flex-wrap: wrap;
  font-size: 12.8px;
  font-weight: 700;
  color: var(--navy);
}

.site-menu a {
  padding: 8px 5px;
  border-radius: 6px;
}

.site-menu a:hover {
  color: var(--orange);
  background: #fff4ec;
}

.site-menu .nav-cta {
  color: #fff;
  background: var(--orange);
}

.site-menu .nav-cta:hover {
  color: #fff;
  background: #c65716;
}

.menu-toggle {
  display: inline-grid;
  place-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--navy);
  border-color: rgba(230, 109, 31, 0.45);
  box-shadow: 0 10px 24px rgba(15, 36, 60, 0.08);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

@media (min-width: 1081px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-floating-menu {
  position: fixed;
  top: 92px;
  right: auto;
  left: min(calc(100vw - 62px), 328px);
  z-index: 10000;
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--orange);
  border-radius: 10px;
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(10, 23, 40, 0.22);
}

.mobile-floating-menu span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-floating-menu.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-floating-menu.open span:nth-child(2) {
  opacity: 0;
}

.mobile-floating-menu.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 1081px) {
  .mobile-floating-menu {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background: var(--hero-image) center / cover no-repeat;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 620ms ease, transform 1200ms ease;
}

.hero:not(.has-multiple) .hero-slide,
.hero:not(.has-multiple) .hero-slide-copy,
.hero-slide.is-active,
.hero-slide-copy.is-active {
  opacity: 1;
  transform: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(230, 109, 31, 0.16) 10% 10.25%, transparent 10.25% 100%),
    linear-gradient(90deg, transparent 0 52%, rgba(15, 87, 144, 0.22) 52% 52.25%, transparent 52.25% 100%),
    linear-gradient(0deg, transparent 0 48%, rgba(255, 255, 255, 0.12) 48% 49%, transparent 49% 100%);
  background-size: 220px 100%, 260px 100%, 100% 42px;
  opacity: 0.65;
  transform: translateX(-4%);
  animation: circuitDrift 16s linear infinite;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.9) 0%, rgba(7, 17, 29, 0.72) 42%, rgba(7, 17, 29, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 17, 29, 0.18), rgba(7, 17, 29, 0.86));
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 24px;
}

.hero-copy {
  width: 100%;
  max-width: 740px;
  min-width: 0;
}

.hero-copy-stack {
  position: relative;
  min-height: 0;
}

.hero-slide-copy {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.hero-slide-copy.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  animation: fadeUp 0.55s ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1,
.contact-hero h1,
.post-detail h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: #c9e5ff;
  font-size: clamp(22px, 2.9vw, 32px);
  line-height: 1.05;
}

.hero h1,
.hero p {
  overflow-wrap: anywhere;
}

.hero-lead {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.45;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-body {
  display: none;
}

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

.hero-controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.hero-timeline {
  width: min(160px, 36vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-timeline span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--orange);
}

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

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-dots button.is-active {
  transform: scale(1.18);
  border-color: var(--orange);
  background: var(--orange);
}

.button,
.contact-form button,
.newsletter button,
.admin-actions button,
.admin-login button,
.admin-form button,
.asset-upload button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary,
.contact-form button,
.newsletter button,
.admin-actions button:first-child,
.admin-login button,
.admin-form button,
.asset-upload button {
  color: #fff;
  background: var(--orange);
}

.button.secondary,
.admin-actions button,
.asset-button {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.admin-actions button.admin-logout {
  color: #b42318;
  background: #fff7f6;
  border-color: #f0c9c4;
}

.admin-actions button.admin-logout:hover {
  color: #fff;
  background: #b42318;
  border-color: #b42318;
}

.button:hover,
.contact-form button:hover,
.newsletter button:hover,
.admin-actions button:hover,
.admin-login button:hover,
.admin-form button:hover,
.asset-upload button:hover {
  transform: translateY(-1px);
}

.button,
.site-menu a,
.top-strip a,
.service-tile,
.intro-item,
.value-grid article,
.contact-info article,
.capability-list span {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.metric-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(7, 17, 29, 0.42);
  backdrop-filter: blur(10px);
}

.metric-strip div {
  min-height: 118px;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
  font-size: 36px;
  line-height: 1;
}

.metric-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffb27a;
  margin-bottom: 12px;
  border: 1px solid rgba(230, 109, 31, 0.28);
  border-radius: 999px;
  background: rgba(230, 109, 31, 0.16);
}

.metric-icon .ui-icon {
  width: 24px;
  height: 24px;
}

.metric-strip span {
  color: rgba(255, 255, 255, 0.74);
}

.metric-strip div > span:not(.metric-icon) {
  max-width: 190px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.section h2,
.cta-panel h2,
.quote-strip h2,
.contact-form h2,
.admin-topbar h1,
.admin-login h1,
.service-content h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section p,
.cta-panel p,
.quote-strip p,
.contact-hero p,
.contact-info p,
.service-content p,
.post-detail p {
  color: var(--muted);
  line-height: 1.72;
}

.intro-band {
  padding-top: 40px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-item,
.service-tile,
.value-grid article,
.post-card,
.contact-info article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(23, 32, 43, 0.08);
}

.intro-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.intro-item div,
.service-tile div,
.post-card div {
  padding: 20px;
}

.intro-item:hover,
.service-tile:hover,
.contact-info article:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 109, 31, 0.42);
  box-shadow: 0 22px 64px rgba(16, 32, 54, 0.14);
}

.intro-item h3,
.service-tile h3,
.value-grid h3,
.post-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
}

.intro-item p,
.service-tile p,
.post-card p {
  min-height: 78px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

.intro-item a,
.text-link,
.service-tile em {
  color: var(--orange);
  font-weight: 800;
  font-style: normal;
}

.intro-item a,
.service-tile em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.intro-icon,
.value-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  color: var(--orange);
  background: #fff4ec;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-tile a {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
}

.service-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}

.about-media {
  position: relative;
  height: 640px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--steel);
}

.about-media-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-logo-panel {
  position: absolute;
  top: 17%;
  left: 9%;
  width: min(74%, 310px);
  padding: 18px 20px;
  border: 1px solid rgba(216, 222, 231, 0.72);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(16, 32, 54, 0.16);
  backdrop-filter: blur(6px);
}

.about-logo-panel img {
  width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.capability-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.capability-list span {
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.dark-band {
  width: 100%;
  max-width: none;
  padding: 88px max(16px, calc((100% - var(--max)) / 2));
  color: #fff;
  background: linear-gradient(135deg, var(--navy-2), #163554 58%, #202a31);
}

.dark-band h2,
.dark-band h3 {
  color: #fff;
}

.dark-band p {
  color: rgba(255, 255, 255, 0.75);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.value-grid article:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.value-grid .value-icon {
  color: #ffb27a;
  background: rgba(255, 255, 255, 0.1);
}

.quality-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.18);
}

.quality-row div {
  padding: 18px;
  background: rgba(10, 23, 40, 0.6);
}

.quality-row strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.quality-row span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.sectors-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.sector-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-cloud span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}

.sector-cloud span:hover,
.capability-list span:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 109, 31, 0.42);
}

.cta-panel {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 410px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cta-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-panel div {
  padding: 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 160px max(16px, calc((100% - var(--max)) / 2)) 64px;
  color: #fff;
  background: var(--hero-image) center / cover no-repeat;
}

.page-hero::before,
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.94) 0%, rgba(7, 17, 29, 0.82) 42%, rgba(7, 17, 29, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 17, 29, 0.12), rgba(7, 17, 29, 0.58));
}

.page-hero > div,
.contact-hero > div {
  position: relative;
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.page-hero p:not(.eyebrow),
.contact-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.65;
}

.page-hero.compact {
  min-height: 440px;
}

.service-layout {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
}

.service-sidebar {
  position: sticky;
  top: 118px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-sidebar h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.service-sidebar a {
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
}

.service-sidebar a.active,
.service-sidebar a:hover {
  color: #fff;
  background: var(--navy);
}

.service-content {
  display: grid;
  gap: 26px;
}

.content-block,
.faq {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.service-content ul {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.service-content li {
  position: relative;
  padding-left: 28px;
  color: #344254;
  line-height: 1.62;
}

.service-content li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.faq details {
  margin-top: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.faq summary {
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.quote-strip {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 84px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 6px solid var(--orange);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 32, 43, 0.1);
}

.quote-strip h2,
.quote-strip p {
  margin: 0;
}

.contact-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 160px max(16px, calc((100% - var(--max)) / 2)) 64px;
  color: #fff;
  overflow: hidden;
}

.contact-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-layout {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
}

.contact-info {
  display: grid;
  gap: 16px;
  align-self: start;
}

.contact-info article {
  padding: 24px;
}

.contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-info a {
  color: var(--navy);
  font-size: 21px;
  font-weight: 900;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes circuitDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 220px 0, -260px 0, 0 42px;
  }
}

@keyframes heroProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form h2,
.contact-form .wide,
.contact-form label:has(textarea),
.contact-form button,
.contact-form [data-form-status] {
  grid-column: 1 / -1;
}

.contact-form label,
.admin-form label,
.admin-login label,
.asset-upload label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.newsletter input,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-login input,
.asset-upload input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}

.contact-form input[type="file"] {
  padding: 9px;
  background: #f7f9fb;
}

.file-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.contact-form textarea,
.admin-form textarea {
  resize: vertical;
}

.post-detail {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.post-detail img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.post-detail-copy {
  padding: 36px 0;
}

.post-detail .lead {
  color: var(--navy);
  font-size: 21px;
}

.post-nav {
  margin-top: 38px;
  padding-top: 28px;
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.post-nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.next-post-card,
.related-posts {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(10, 23, 40, 0.07);
}

.next-post-card {
  padding: 20px 22px;
  display: grid;
  gap: 8px;
  color: var(--navy);
}

.next-post-card span,
.related-posts > span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.next-post-card strong {
  font-size: 22px;
  line-height: 1.2;
}

.related-posts {
  padding: 18px 22px;
  display: grid;
  gap: 10px;
}

.related-posts a {
  color: var(--navy);
  font-weight: 800;
}

.related-posts a:hover,
.next-post-card:hover strong {
  color: var(--orange);
}

.footer {
  background: var(--navy-2);
  color: #fff;
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 34px;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: min(100%, 286px);
  max-height: 112px;
  object-fit: contain;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff 0%, #eef4fb 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.newsletter {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-legal a:hover {
  color: #fff;
}

.not-found {
  min-height: 50vh;
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.legal-page h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.legal-page .lead {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.6;
}

.legal-page section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 28px;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.75;
}

.admin-body {
  min-height: 100vh;
  background: #eef2f6;
}

.admin-shell {
  min-height: 100vh;
}

.admin-login {
  width: min(960px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: center;
}

.admin-login > div,
.admin-login form,
.admin-main {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-login > div,
.admin-login form {
  padding: 34px;
}

.admin-login img,
.admin-brand img {
  width: 190px;
  max-height: 84px;
  object-fit: contain;
}

.admin-dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto repeat(6, auto) 1fr;
  gap: 8px;
  padding: 22px;
  background: var(--navy-2);
}

.admin-side button,
.admin-side a {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
  font-weight: 800;
}

.admin-side button.active,
.admin-side button:hover,
.admin-side a:hover {
  color: #fff;
  background: var(--orange);
}

.admin-main {
  margin: 22px;
  padding: 26px;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-status {
  min-height: 24px;
  color: var(--teal);
  font-weight: 800;
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-form.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form .wide,
.json-editor,
.service-editor {
  grid-column: 1 / -1;
}

.admin-form textarea {
  min-height: 110px;
  font-family: Consolas, "Courier New", monospace;
}

.service-editor {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}

.record-list {
  display: grid;
  gap: 8px;
  align-self: start;
}

.record-list button {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  text-align: left;
  font-weight: 800;
}

.record-list button.active {
  color: #fff;
  background: var(--navy);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.asset-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.asset-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--soft);
}

.asset-card div {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.asset-card strong {
  color: var(--navy);
}

.asset-card code {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}

.asset-upload {
  margin-bottom: 20px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
}

.json-editor textarea {
  min-height: 560px;
}

@media (max-width: 1080px) {
  .service-grid,
  .intro-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-row,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-menu {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(12px);
  }

  .site-menu a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid #e9eef5;
    border-radius: 8px;
    background: #f7f9fb;
    text-align: center;
  }

  .site-menu .nav-cta {
    grid-column: 1 / -1;
  }

  .site-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(10px) scale(1);
  }

  .menu-toggle {
    display: inline-flex !important;
    width: 46px !important;
    height: 46px !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: var(--navy) !important;
    border: 2px solid var(--orange) !important;
    position: fixed !important;
    top: 92px !important;
    right: auto !important;
    left: min(calc(100vw - 62px), 328px) !important;
    z-index: 9999 !important;
    transform: none !important;
    box-shadow: 0 12px 30px rgba(10, 23, 40, 0.22);
  }

  .menu-toggle span:not(.sr-only) {
    background: #fff;
  }

  .mobile-floating-menu {
    position: fixed;
    top: 92px;
    right: auto;
    left: min(calc(100vw - 62px), 328px);
    z-index: 10000;
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--orange);
    border-radius: 10px;
    background: var(--navy);
    box-shadow: 0 12px 30px rgba(10, 23, 40, 0.22);
  }

  .mobile-floating-menu span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px auto;
    background: #fff;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-floating-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-floating-menu.open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-floating-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-shell {
    position: relative;
  }
}

@media (max-width: 820px) {
  .nav-shell,
  .section,
  .post-detail {
    width: calc(100% - 32px);
    max-width: none;
  }

  .top-strip {
    display: grid;
    justify-content: center;
    justify-items: center;
    gap: 4px 10px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .top-strip a {
    flex: 0 0 auto;
    min-height: 26px;
    padding: 3px 8px 3px 5px;
  }

  .top-strip a[data-phone],
  .top-strip a[data-email] {
    font-size: 13px;
  }

  .top-strip a[data-shop] {
    display: none;
  }

  .menu-toggle {
    display: inline-flex !important;
    position: fixed !important;
    top: 92px !important;
    right: auto !important;
    left: min(calc(100vw - 62px), 328px) !important;
    transform: none !important;
    z-index: 9999 !important;
  }

  .hero {
    min-height: 500px;
  }

  .page-hero > div,
  .contact-hero > div {
    width: 100%;
    max-width: 358px;
  }

  .page-hero p:not(.eyebrow),
  .contact-hero p {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .hero-inner {
    padding-top: 58px;
  }

  .hero-copy-stack {
    min-height: 0;
  }

  .about-section,
  .sectors-section,
  .cta-panel,
  .service-layout,
  .contact-layout,
  .admin-login,
  .admin-dashboard,
  .service-editor {
    grid-template-columns: 1fr;
  }

  .metric-strip div {
    min-height: 104px;
    padding: 14px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0;
  }

  .metric-strip div:last-child {
    border-right: 0;
  }

  .metric-strip strong {
    font-size: 30px;
  }

  .metric-icon {
    width: 40px;
    height: 40px;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading.split,
  .quote-strip,
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .intro-grid,
  .post-grid,
  .contact-form,
  .admin-form.two-col,
  .asset-grid,
  .footer-grid,
  .quality-row,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    height: 420px;
  }

  .cta-panel div {
    padding: 28px;
  }

  .post-card {
    grid-template-rows: 210px 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .admin-side {
    position: static;
    height: auto;
    grid-template-rows: none;
  }

  .admin-main {
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    width: calc(100% - 24px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    min-height: 68px;
  }

  .brand img {
    width: 178px;
    max-height: 48px;
  }

  .site-menu {
    left: 12px;
    right: 12px;
    grid-template-columns: 1fr;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }

  .hero h1,
  .page-hero h1,
  .contact-hero h1,
  .post-detail h1 {
    font-size: 34px;
  }

  .section-heading {
    width: 100%;
    max-width: 100%;
  }

  .section-heading h2 {
    display: block;
    width: min(100%, 300px) !important;
    max-width: 300px !important;
  }

  .section h2,
  .cta-panel h2,
  .quote-strip h2,
  .contact-form h2,
  .service-content h2 {
    max-width: calc(100vw - 64px);
    font-size: 24px;
    line-height: 1.16;
  }

  .hero-copy {
    max-width: 358px;
  }

  .hero h1 span {
    font-size: 23px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-body {
    display: none;
  }

  .metric-strip {
    display: none;
  }

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

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

  .post-nav-actions {
    flex-direction: column;
  }

  .contact-form,
  .admin-login > div,
  .admin-login form {
    padding: 20px;
  }
}
