:root {
  --ink: #101923;
  --navy: #123047;
  --steel: #425466;
  --line: #d9e0e7;
  --soft: #f4f7f9;
  --white: #ffffff;
  --accent: #d87a2c;
  --accent-dark: #aa5c1c;
  --cyan: #7eb9c7;
  --shadow: 0 18px 50px rgba(16, 25, 35, .12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  background: var(--white);
}

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

img,
svg {
  max-width: 100%;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 236px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: var(--steel);
  font-size: .74rem;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-size: .94rem;
  color: #263744;
}

.site-nav a {
  padding: 8px 0;
}

.nav-dropdown {
  position: relative;
  padding-block: 6px;
}

.nav-dropdown-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  line-height: 1;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% - 2px);
  left: -14px;
  display: grid;
  min-width: 380px;
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  padding: 10px 16px;
  white-space: nowrap;
}

.cf7-wrap .wpcf7 form {
  display: grid;
  gap: 16px;
}

.cf7-wrap .wpcf7-form-control-wrap,
.cf7-wrap .wpcf7 input,
.cf7-wrap .wpcf7 select,
.cf7-wrap .wpcf7 textarea {
  width: 100%;
}

.cf7-wrap .wpcf7 textarea {
  min-height: 180px;
}

.cf7-wrap .wpcf7-not-valid-tip,
.cf7-wrap .wpcf7-response-output {
  margin: 0;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--accent-dark);
  background: rgba(216, 122, 44, .12);
}

.site-nav a:hover,
.text-link:hover {
  color: var(--accent-dark);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.1;
  border: 1px solid transparent;
}

.nav-cta,
.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

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

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

.menu-toggle {
  display: none;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 25, 35, .96), rgba(18, 48, 71, .88)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 16px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .92fr);
  gap: 56px;
  align-items: center;
  min-height: 690px;
  padding-block: 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.08;
  letter-spacing: 0;
  color: inherit;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  max-width: 930px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: 1.28rem;
}

.hero-lead,
.page-hero p,
.section-head p,
.lead {
  font-size: 1.1rem;
  color: #5f7080;
}

.hero-lead {
  max-width: 680px;
  color: #d6e0e8;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 8px 12px;
  color: #d8e2e8;
  font-size: .9rem;
}

.system-visual {
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
}

.page-hero + .section .system-visual {
  background: var(--navy);
  color: var(--white);
}

.floor-panel {
  display: grid;
  gap: 8px;
  perspective: 900px;
  transform: rotateX(58deg) rotateZ(-28deg);
  margin: 68px 20px 84px;
}

.layer {
  display: block;
  min-height: 48px;
  padding: 14px 20px;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
}

.top {
  background: #d87a2c;
}

.mid {
  background: #7eb9c7;
}

.base {
  background: #506272;
}

.concrete {
  background: repeating-linear-gradient(45deg, #808b94 0 9px, #737e87 9px 18px);
}

.system-visual figcaption {
  margin-top: 8px;
  color: #d8e2e8;
  font-size: .9rem;
}

.hero-slider,
.hero-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: #142333;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
}

.hero-slider {
  min-height: 500px;
}

.hero-slider::before,
.hero-image::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 25, 35, 0) 35%, rgba(16, 25, 35, .72)),
    linear-gradient(90deg, rgba(216, 122, 44, .18), transparent 45%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .7s ease, transform .9s ease;
}

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

.hero-slide img,
.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.hero-slide-contain {
  background: #eef2f5;
}

.hero-slide-contain img {
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.hero-slide figcaption,
.hero-image figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  color: #edf5f8;
  font-weight: 800;
  line-height: 1.35;
}

.hero-slide figcaption {
  right: 26px;
  bottom: 62px;
  left: 26px;
  max-width: 650px;
  padding: 18px 18px 16px;
  border-left: 4px solid var(--accent);
  background: rgba(10, 17, 24, .56);
  backdrop-filter: blur(8px);
}

.hero-slide-contain figcaption {
  top: 34px;
  right: 34px;
  bottom: auto;
  left: auto;
  z-index: 4;
  max-width: 430px;
  padding: 14px 16px 13px;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: rgba(8, 18, 30, .78);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

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

.hero-slide figcaption strong {
  font-size: 1.15rem;
}

.hero-slide figcaption span {
  margin-top: 5px;
  color: #dce8ee;
  font-weight: 600;
}

.hero-slider-controls {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 9px;
}

.hero-slider-controls button {
  width: 36px;
  height: 7px;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
}

.hero-slider-controls button.is-active {
  background: var(--accent);
}

.section {
  padding-block: 86px;
}

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

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

.section-dark .section-head p,
.section-dark .case-body p,
.quote-strip p {
  color: #c9d5dd;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

.card,
.case-card,
.process-box,
.side-panel,
.inline-cta,
.wp-note .container {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card {
  position: relative;
  padding: 0 0 26px;
  min-height: 100%;
  overflow: hidden;
}

.card-line {
  width: 54px;
  height: 4px;
  margin: 24px 26px 22px;
  background: var(--accent);
}

.card h3,
.card p,
.card ul,
.card .text-link,
.card .icon-block {
  margin-right: 26px;
  margin-left: 26px;
}

.card p {
  color: var(--steel);
}

.card-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--navy);
}

.card-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(16, 25, 35, .24));
}

.card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  transition: transform .35s ease;
}

.card:hover .card-image img {
  transform: scale(1.045);
}

.card ul,
.check-list {
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.card li,
.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
  color: #354657;
}

.card li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--accent);
}

.icon-block {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 24px;
  margin-bottom: 22px;
  color: var(--white);
  font-weight: 800;
  border-radius: 6px;
  background: var(--navy);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 800;
}

.split,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 42px;
  align-items: start;
}

.content-flow > * + * {
  margin-top: 18px;
}

.content-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.content-flow h2 {
  margin-top: 34px;
  font-size: 1.7rem;
}

.narrow {
  max-width: 850px;
}

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

.metric-grid div {
  padding: 18px;
  background: var(--soft);
  border-left: 4px solid var(--accent);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--navy);
}

.metric-grid span {
  margin-top: 8px;
  color: var(--steel);
  font-size: .88rem;
}

.process-box,
.side-panel,
.inline-cta {
  padding: 28px;
  box-shadow: var(--shadow);
}

.process-box ol {
  padding-left: 20px;
  margin-bottom: 0;
}

.process-box li + li {
  margin-top: 12px;
}

.case-card {
  overflow: hidden;
  color: var(--ink);
}

.case-media {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 170px;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 48, 71, .9), rgba(216, 122, 44, .72)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 18px);
}

.case-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(16, 25, 35, .06), rgba(16, 25, 35, .62));
}

.case-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  transition: transform .35s ease;
}

.case-card:hover .case-media img {
  transform: scale(1.045);
}

.case-media span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .24);
  font-weight: 800;
}

.case-body {
  padding: 24px;
  background: var(--white);
}

.case-body dl {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.case-body div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.case-body dt {
  color: var(--steel);
  font-weight: 800;
}

.case-body dd {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--steel);
}

.center {
  margin-top: 20px;
  text-align: center;
}

.quote-strip {
  color: var(--white);
  background: var(--navy);
}

.quote-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-block: 48px;
}

.site-footer {
  color: #d3dde4;
  background: #0c141d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr .8fr 1fr;
  gap: 34px;
  padding-block: 58px;
}

.footer-grid h2 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: #d3dde4;
}

.brand-footer {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #91a0ad;
  font-size: .9rem;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(120deg, var(--ink), var(--navy));
  padding-block: 74px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.page-hero p {
  max-width: 780px;
  color: #d6e0e8;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: #c7d2db;
  font-size: .9rem;
}

.breadcrumbs b {
  opacity: .5;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 220px;
  background: var(--soft);
  color: var(--navy);
}

.side-panel {
  display: grid;
  gap: 12px;
}

.side-panel span,
.side-panel a:not(.btn) {
  display: block;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  font-weight: 700;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-row {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.blog-row h2 {
  font-size: 1.55rem;
}

.inline-cta {
  margin-top: 32px;
  background: var(--soft);
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

.quote-form label {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  width: 100%;
  color: var(--steel);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.cf7-wrap input,
.cf7-wrap select,
.cf7-wrap textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  appearance: none;
}

.quote-form textarea,
.cf7-wrap textarea {
  min-height: 160px;
  resize: vertical;
}

.cf7-wrap .wpcf7-form {
  display: grid;
  gap: 16px;
}

.cf7-wrap p {
  margin: 0;
}

.cf7-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
}

.cf7-wrap .wpcf7-submit:hover {
  background: var(--accent-dark);
}

.form-message {
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.form-message.is-success {
  color: #1f5d2f;
  background: #e9f7ed;
}

.form-message.is-error {
  color: #8a2d22;
  background: #fdecea;
}

.contact-panel p {
  margin: 0;
}

.wp-note {
  padding-bottom: 60px;
}

.wp-note .container {
  padding: 20px 24px;
  color: var(--steel);
  background: #fbfcfd;
}

@media (max-width: 980px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    padding: 9px 12px;
    font-weight: 800;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    width: 100%;
    gap: 4px;
    padding-bottom: 16px;
  }

  .nav-dropdown-panel {
    position: static;
    min-width: 100%;
    padding: 6px 0 6px 14px;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .nav-dropdown-panel a {
    white-space: normal;
  }

  .hero-grid,
  .split,
  .article-layout,
  .quote-strip-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .section {
    padding-block: 58px;
  }

  .grid-3,
  .grid-4,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .floor-panel {
    margin: 42px 0 54px;
    transform: rotateX(55deg) rotateZ(-23deg) scale(.82);
  }
}
