:root {
  color-scheme: light;
  --ink: #11161b;
  --ink-soft: #2d3638;
  --muted: #637073;
  --paper: #f5f7f4;
  --surface: #ffffff;
  --surface-strong: rgba(255, 255, 255, 0.86);
  --line: rgba(23, 36, 36, 0.12);
  --green: #0c6f55;
  --teal: #147d8a;
  --gold: #c28a21;
  --coral: #d66a4c;
  --shadow: 0 22px 60px rgba(15, 23, 24, 0.13);
  --radius: 8px;
  --max: 1180px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  inset: 14px 18px auto;
  z-index: 20;
  min-height: var(--header-h);
  max-width: min(var(--max), calc(100vw - 36px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(12, 18, 19, 0.35);
  color: #fff;
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-color: rgba(17, 22, 27, 0.1);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  opacity: 0.72;
  font-size: 0.75rem;
}

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

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: var(--radius);
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 650;
  opacity: 0.86;
  transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.nav a:hover,
.nav a.is-active {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
  transform: translateY(-1px);
}

.site-header.is-scrolled .nav a:hover,
.site-header.is-scrolled .nav a.is-active {
  background: rgba(12, 111, 85, 0.1);
}

.nav-cta {
  background: #fff;
  color: var(--ink) !important;
  opacity: 1 !important;
}

.site-header.is-scrolled .nav-cta {
  background: var(--ink);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: clip;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 72px) 24px 72px;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-muras.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 10, 11, 0.78) 0%, rgba(7, 10, 11, 0.48) 42%, rgba(7, 10, 11, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 10, 11, 0.5) 0%, rgba(7, 10, 11, 0.12) 38%, rgba(7, 10, 11, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-bottom: 12px;
}

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

.hero .eyebrow {
  color: #c7f3df;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(4.4rem, 14vw, 11rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2.2vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions,
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button svg,
.nav svg,
.menu-toggle svg,
.icon-wrap svg,
.sector-list svg,
.quote-block svg,
.contact-cards svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.button.primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(14px);
}

.button.full {
  width: 100%;
  background: var(--ink);
  color: #fff;
}

.signal-strip {
  width: min(var(--max), calc(100% - 36px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.signal-item {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.signal-item:last-child {
  border-right: 0;
}

.signal-item span,
.signal-item small,
.patent-grid span,
.contact-cards span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.signal-item strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1;
}

.signal-item small {
  margin-top: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 650;
}

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

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.split-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.contact-copy p,
.service-card p,
.step p,
.quote-block p,
.footer p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.section-heading p:not(.eyebrow) {
  max-width: 660px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.service-card,
.step,
.contact-form,
.contact-cards div,
.patent-grid,
.quote-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(26, 38, 38, 0.07);
}

.service-card,
.step {
  position: relative;
  min-height: 260px;
  padding: 22px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--gold), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.service-card:hover,
.step:hover {
  border-color: rgba(12, 111, 85, 0.32);
  box-shadow: 0 24px 58px rgba(20, 36, 32, 0.13);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.icon-wrap {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(12, 111, 85, 0.09);
  color: var(--green);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.service-card:hover .icon-wrap {
  transform: translateY(-4px) rotate(-3deg);
  background: var(--green);
  color: #fff;
}

.service-card h3,
.step h3 {
  margin: 26px 0 10px;
  font-size: 1.16rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.split-copy p {
  max-width: 620px;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 500ms ease;
}

.image-panel:hover img {
  transform: scale(1.035);
}

.sector-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sector-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  color: var(--ink-soft);
  font-weight: 720;
}

.sector-list svg {
  color: var(--green);
  flex: 0 0 auto;
}

.method {
  padding-top: 52px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.step {
  min-height: 240px;
}

.step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.quote-block {
  margin-top: 28px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
}

.quote-block svg {
  color: var(--gold);
  margin-top: 5px;
}

.quote-block p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 650;
}

.patent {
  padding-top: 56px;
}

.patent-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.patent-grid div {
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.patent-grid div:nth-child(3n) {
  border-right: 0;
}

.patent-grid div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.patent-grid strong {
  display: block;
  margin-top: 9px;
  line-height: 1.45;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-cards {
  margin-top: 28px;
}

.contact-cards div {
  min-width: min(100%, 245px);
  padding: 18px;
}

.contact-cards svg {
  color: var(--teal);
  margin-bottom: 14px;
}

.contact-cards strong {
  display: block;
  margin-top: 7px;
}

.contact-form {
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 760;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(17, 22, 27, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(12, 111, 85, 0.12);
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 22px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 560px;
  margin: 0;
  text-align: right;
}

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

html.js .reveal {
  opacity: 1;
  transform: translateY(18px);
  transition: transform 520ms ease;
}

html.js .reveal.is-visible {
  transform: translateY(0);
}

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

@media (max-width: 1040px) {
  .services-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .split-section.reverse,
  .contact {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .image-panel {
    order: 2;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    inset: 10px 10px auto;
    max-width: calc(100vw - 20px);
    min-height: var(--header-h);
    padding: 10px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 22px) 10px auto;
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(14, 20, 21, 0.92);
    color: #fff;
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  body.menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.is-scrolled .nav {
    color: #fff;
  }

  .nav a {
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
  }

  .nav-cta,
  .site-header.is-scrolled .nav-cta {
    background: #fff;
    color: var(--ink) !important;
  }

  .hero {
    min-height: 84svh;
    padding: calc(var(--header-h) + 64px) 18px 54px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 10, 11, 0.8) 0%, rgba(7, 10, 11, 0.62) 58%, rgba(7, 10, 11, 0.22) 100%),
      linear-gradient(180deg, rgba(7, 10, 11, 0.36) 0%, rgba(7, 10, 11, 0.24) 36%, rgba(7, 10, 11, 0.9) 100%);
  }

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 20px);
  }

  .signal-item:nth-child(2) {
    border-right: 0;
  }

  .signal-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    width: calc(100% - 28px);
    padding: 72px 0;
  }

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

  .patent-grid div,
  .patent-grid div:nth-child(3n),
  .patent-grid div:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .patent-grid div:last-child {
    border-bottom: 0;
  }

  .footer {
    width: calc(100% - 28px);
    align-items: flex-start;
    flex-direction: column;
  }

  .footer p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

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

  .hero-actions .button {
    min-height: 52px;
  }

  .services-grid,
  .steps,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-item,
  .signal-item:nth-child(2),
  .signal-item:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-item:last-child {
    border-bottom: 0;
  }

  .service-card,
  .step {
    min-height: auto;
  }
}
