:root {
  --ink: #17212b;
  --muted: #617181;
  --line: #dce4ec;
  --paper: #ffffff;
  --surface: #f6f8fa;
  --deep: #0c2433;
  --blue: #0b65a3;
  --teal: #13a8aa;
  --green: #2e9d64;
  --amber: #d48632;
  --shadow: 0 20px 54px rgba(20, 32, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(11,101,163,0.055) 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(19,168,170,0.055) 39px);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(220, 228, 236, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  font-weight: 800;
}

.brand-logo,
.hero-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 54px;
  height: 66px;
  flex: 0 0 auto;
}

.brand-logo img,
.hero-logo img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-logo img {
  transform: none;
}

.brand span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #334654;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--blue);
  border-color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  min-height: calc(100vh - 78px);
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(46px, 7vw, 94px) clamp(18px, 4vw, 64px) 44px;
}

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

.hero-logo {
  width: clamp(94px, 13vw, 148px);
  height: auto;
  margin-bottom: 22px;
}

.hero-logo img {
  height: auto;
  transform: none;
}

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

h1,
h2,
h3,
p,
li {
  overflow-wrap: break-word;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(2.35rem, 5.6vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p,
.seo-band > p,
.contact p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 26px rgba(11, 101, 163, 0.22);
}

.button.primary:hover {
  background: #084f80;
}

.button.secondary {
  color: var(--deep);
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover,
.button.dark:hover {
  border-color: var(--teal);
}

.button.dark {
  width: fit-content;
  margin-top: auto;
  color: #fff;
  background: var(--deep);
}

.button.light {
  background: var(--teal);
  box-shadow: none;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.mini-line {
  display: grid;
  min-height: 210px;
  align-content: space-between;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(220, 228, 236, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.mini-line:hover {
  transform: translateY(-2px);
}

.mini-line img {
  width: min(100%, 250px);
  max-height: 112px;
  object-fit: contain;
}

.mini-line span {
  color: #334654;
  font-size: 1.05rem;
  font-weight: 800;
}

.mini-line.industrial {
  border-left: 6px solid var(--amber);
}

.mini-line.wellness {
  border-left: 6px solid var(--teal);
}

.business-lines,
.engineering,
.seo-band,
.contact {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 64px);
}

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

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

.line-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(20, 32, 45, 0.08);
}

.line-card-industry {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,250,244,0.92)),
    #fff;
}

.line-card-sei {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,252,253,0.92)),
    #fff;
}

.line-logo-wrap {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(220, 228, 236, 0.82);
  border-radius: 8px;
  background: #fff;
}

.line-logo-wrap img {
  width: min(100%, 300px);
  max-height: 118px;
  object-fit: contain;
  object-position: center;
}

.line-kicker {
  margin: 4px 0 -10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.line-card p {
  margin: 0;
  color: var(--muted);
}

.line-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.line-card li {
  position: relative;
  padding-left: 22px;
  color: #344654;
  font-weight: 700;
}

.line-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.line-card-industry li::before {
  background: var(--amber);
}

.engineering {
  background: var(--surface);
}

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

.capability-grid article {
  min-height: 244px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.capability-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
}

.seo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.seo-band > p {
  margin: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12,36,51,0.96), rgba(14,67,91,0.96)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 28px);
}

.contact .eyebrow {
  color: #99edf0;
}

.contact p {
  color: #c8dce5;
}

.contact-info {
  display: grid;
  gap: 7px;
  margin-top: 24px;
  color: #e3f8fb;
  font-style: normal;
  font-weight: 700;
}

.contact-info a {
  width: fit-content;
  color: #99edf0;
  border-bottom: 1px solid rgba(153, 237, 240, 0.55);
}

.contact-info a:hover {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: grid;
  gap: 7px;
  color: #e3f8fb;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 12px 13px;
  color: #fff;
  background: rgba(0,0,0,0.24);
  font: inherit;
}

select option {
  color: var(--ink);
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(19, 168, 170, 0.35);
  border-color: var(--teal);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #e3f8fb;
  font-weight: 700;
}

.form-status.is-error {
  color: #ffd6c9;
}

.form-status.is-success {
  color: #bff4d3;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 34, 0.72);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(100%, 460px);
  padding: 34px;
  border: 1px solid rgba(220, 228, 236, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.modal-icon::before {
  content: "";
  width: 22px;
  height: 12px;
  border-bottom: 4px solid currentColor;
  border-left: 4px solid currentColor;
  transform: rotate(-45deg) translate(1px, -1px);
}

.modal.is-error .modal-icon {
  background: #c45b3d;
}

.modal.is-error .modal-icon::before {
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: currentColor;
  transform: none;
  box-shadow: 0 10px 0 currentColor;
}

.modal-panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
}

.modal-panel p {
  margin: 12px 0 24px;
  color: var(--muted);
}

.modal-action {
  min-width: 150px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px clamp(18px, 4vw, 64px);
  color: #dceaf0;
  background: #071922;
}

.footer-logo {
  width: 70px;
  height: auto;
  margin-bottom: 10px;
}

.footer-logo img {
  height: auto;
  transform: none;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.site-footer .social-links {
  flex-basis: 100%;
  gap: 10px;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(220, 234, 240, 0.22);
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1;
}

.social-links a::before {
  content: "";
  display: none;
}

.social-links svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 22px;
}

.social-links span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
}

.site-footer a:hover {
  color: #99edf0;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

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

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

  .seo-band,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
  }

  .brand-logo {
    width: 46px;
    height: 56px;
  }

  .brand span {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .hero {
    padding-top: 34px;
  }

  .hero-visual,
  .line-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .line-card {
    min-height: auto;
  }

  .mini-line {
    min-height: 176px;
  }

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

@media (max-width: 460px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .line-logo-wrap {
    min-height: 124px;
  }
}
