:root {
  --brand-navy: #183964;
  --brand-navy-dark: #0d2748;
  --brand-blue: #285985;
  --brand-sky: #eaf3f8;
  --brand-mint: #68b6a0;
  --brand-amber: #d7a642;
  --ink: #112033;
  --muted: #64748b;
  --line: #d8e2ec;
  --surface: #ffffff;
  --soft: #f5f9fc;
  --shadow: 0 22px 60px rgba(16, 39, 72, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.86);
  background: var(--brand-navy-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.topbar a {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 226, 236, 0.8);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 150px;
}

.brand img {
  transform-origin: left center;
  transition: transform 220ms ease, filter 220ms ease;
}

.brand:hover img {
  filter: drop-shadow(0 10px 18px rgba(24, 57, 100, 0.16));
  transform: translateY(-1px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--brand-navy-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover {
  color: var(--brand-blue);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--brand-navy);
  background: var(--brand-sky);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle svg,
.button svg,
.solution-card svg,
.quality-list svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  overflow: hidden;
}

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

.hero-media {
  background:
    linear-gradient(90deg, rgba(13, 39, 72, 0.94) 0%, rgba(13, 39, 72, 0.74) 42%, rgba(13, 39, 72, 0.2) 100%),
    url("https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=1800&q=82") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, transparent 68%, rgba(255, 255, 255, 0.96) 100%),
    linear-gradient(90deg, rgba(104, 182, 160, 0.15), transparent 38%);
}

.hero-tech {
  z-index: 1;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 72%);
  animation: grid-drift 18s linear infinite;
}

.hero-tech::before,
.hero-tech::after {
  position: absolute;
  left: 8%;
  right: 46%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(104, 182, 160, 0.9), transparent);
  box-shadow: 0 0 22px rgba(104, 182, 160, 0.55);
  animation: scan-line 5.5s ease-in-out infinite;
}

.hero-tech::before {
  top: 34%;
}

.hero-tech::after {
  top: 58%;
  animation-delay: 2s;
}

.hero-tech span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--brand-mint);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(104, 182, 160, 0.9);
  opacity: 0.85;
  animation: node-float 7s ease-in-out infinite;
}

.hero-tech span:nth-child(1) {
  left: 11%;
  top: 26%;
}

.hero-tech span:nth-child(2) {
  left: 27%;
  top: 47%;
  animation-delay: 1.1s;
}

.hero-tech span:nth-child(3) {
  left: 43%;
  top: 31%;
  animation-delay: 2.2s;
}

.hero-tech span:nth-child(4) {
  left: 18%;
  top: 70%;
  animation-delay: 3.2s;
}

.hero-tech span:nth-child(5) {
  left: 53%;
  top: 63%;
  animation-delay: 4.3s;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 112px);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px) clamp(40px, 7vw, 82px);
}

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

.hero-logo {
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(6, 20, 38, 0.2);
  backdrop-filter: blur(14px);
}

.hero-logo svg {
  width: 76px;
  height: 76px;
}

.pulse-path {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-width: 18;
  filter: drop-shadow(0 0 10px rgba(104, 182, 160, 0.45));
}

.path-a {
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: draw-path 3.4s ease-in-out infinite;
}

.path-b {
  stroke: var(--brand-mint);
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: draw-path 3.4s ease-in-out infinite 0.45s;
}

.orbit-dot {
  fill: var(--brand-amber);
  transform-origin: 70px 70px;
  animation: orbit 4.6s linear infinite;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--brand-navy-dark);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--brand-navy-dark);
  font-size: 1.1rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--brand-navy);
  box-shadow: 0 16px 34px rgba(24, 57, 100, 0.22);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
}

.status-pill {
  display: inline-flex;
  width: max-content;
  padding: 8px 12px;
  color: #fff;
  background: rgba(104, 182, 160, 0.24);
  border: 1px solid rgba(104, 182, 160, 0.38);
  border-radius: 999px;
}

.hero-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: #fff;
  background: rgba(13, 39, 72, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card strong {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 0.95;
}

.hero-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-band div {
  padding: 26px clamp(20px, 5vw, 72px);
  background: #fff;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  color: var(--brand-navy);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1;
}

.trust-band span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 600;
}

.section,
.science-section,
.quality-section,
.catalog-section,
.contact-section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.science-section {
  background: #fff;
}

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

.science-grid article {
  display: grid;
  grid-template-rows: 320px auto;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.science-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.science-grid article div {
  padding: 24px;
}

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

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

.solution-card {
  min-height: 258px;
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.solution-card:hover {
  border-color: rgba(104, 182, 160, 0.55);
  box-shadow: 0 20px 38px rgba(16, 39, 72, 0.08);
  transform: translateY(-4px);
}

.solution-card svg {
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  color: var(--brand-navy);
}

.solution-card p,
.process-grid p,
.catalog-copy p,
.contact-copy p {
  color: var(--muted);
}

.catalog-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  background: var(--brand-navy-dark);
}

.catalog-copy h2,
.catalog-copy .eyebrow {
  color: #fff;
}

.catalog-copy p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.74);
}

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

.catalog-list span {
  min-height: 58px;
  padding: 17px 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}

.catalog-list span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(104, 182, 160, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 600ms ease;
}

.catalog-list span:hover::after {
  transform: translateX(120%);
}

.quality-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  background: #fff;
}

.quality-media {
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(24, 57, 100, 0.08), rgba(24, 57, 100, 0.22)),
    url("https://images.unsplash.com/photo-1576671081837-49000212a370?auto=format&fit=crop&w=1200&q=82") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quality-content {
  max-width: 720px;
}

.quality-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.quality-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  transition: transform 220ms ease;
}

.quality-list article:hover {
  transform: translateX(6px);
}

.quality-list svg {
  width: 34px;
  height: 34px;
  color: var(--brand-mint);
}

.quality-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-section {
  background: #fff;
}

.process-grid article {
  padding-top: 22px;
  border-top: 4px solid var(--brand-navy);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand-amber);
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  background: var(--brand-sky);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 39, 72, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--brand-navy-dark);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(40, 89, 133, 0.12);
}

.form-status {
  min-height: 22px;
  margin-bottom: 0;
  color: var(--brand-navy-dark);
  font-weight: 700;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 172px;
}

.site-footer p {
  margin-bottom: 0;
}

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

  .brand img {
    width: 176px;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 42px rgba(16, 39, 72, 0.12);
  }

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

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner,
  .catalog-section,
  .quality-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero-tech {
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 84%);
  }

  .hero-card {
    max-width: 420px;
  }

  .solution-grid,
  .process-grid,
  .trust-band,
  .science-grid {
    grid-template-columns: 1fr;
  }

  .quality-media {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.55rem;
  }

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

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-logo {
    width: 82px;
    height: 82px;
  }

  .hero-logo svg {
    width: 64px;
    height: 64px;
  }

  .catalog-list {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 78px 78px, 78px 78px;
  }
}

@keyframes scan-line {
  0%,
  100% {
    opacity: 0;
    transform: translateY(-34px) scaleX(0.55);
  }

  45%,
  60% {
    opacity: 1;
    transform: translateY(0) scaleX(1);
  }
}

@keyframes node-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(16px, -18px, 0) scale(1.35);
  }
}

@keyframes draw-path {
  0% {
    stroke-dashoffset: 210;
    opacity: 0.35;
  }

  45%,
  70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -210;
    opacity: 0.35;
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(28px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(28px) rotate(-360deg);
  }
}

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