:root {
  --ink: #071625;
  --text: #193044;
  --muted: #667789;
  --line: #d7e1e8;
  --soft: #f4f8fa;
  --white: #ffffff;
  --teal: #0e6f78;
  --green: #3f8f60;
  --amber: #c8942e;
  --shadow: 0 18px 50px rgba(7, 22, 37, 0.13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.install-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  padding: 12px 16px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 800;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--white);
  background: rgba(7, 22, 37, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(7, 22, 37, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(205px, 40vw);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 26px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 154px clamp(20px, 6vw, 76px) 82px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 37, 0.88), rgba(7, 22, 37, 0.56) 45%, rgba(7, 22, 37, 0.18)),
    url("assets/images/laboratuvar-analizi.jpg") center / cover;
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3.8rem, 11vw, 8.5rem);
  font-weight: 800;
}

.hero-lead {
  max-width: 710px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
}

.intro-band {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.ticker {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.ticker span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 36px);
}

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

.section.muted > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.section h2,
.contact-copy h2 {
  max-width: 840px;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
}

.section-copy p,
.section-heading p,
.contact-copy p {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  color: var(--teal);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 36px;
}

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

.feature-card,
.benefit,
.spec {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card,
.benefit {
  padding: 28px;
}

.feature-card h3,
.benefit h3,
.applications h3 {
  font-size: 1.18rem;
}

.feature-card p,
.benefit p,
.applications p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.spec {
  min-height: 150px;
  padding: 22px;
}

.spec span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec strong {
  display: block;
  margin-top: 15px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.35;
}

.applications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.applications article {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7, 22, 37, 0.09);
}

.applications img {
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.applications div {
  padding: 30px;
}

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

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

.gallery figure {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
}

.gallery img {
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
  opacity: 0.72;
}

.gallery figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 6vw, 90px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 36px);
}

.contact-panel {
  padding: clamp(26px, 4vw, 42px);
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel dl {
  display: grid;
  gap: 22px;
  margin: 0;
}

.contact-panel div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-panel dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 6px 0 0;
  color: var(--white);
  font-size: 1.03rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.76);
  background: #050d14;
  font-size: 0.9rem;
}

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

  .brand {
    width: min(170px, 54vw);
    padding: 5px 8px;
  }

  .brand img {
    max-height: 66px;
  }

  .nav-toggle {
    display: block;
    color: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 12px;
  }

  .site-nav a::after {
    display: none;
  }

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

  .feature-grid,
  .spec-grid,
  .benefit-grid,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 86vh;
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 16vw, 3.8rem);
    line-height: 1;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .ticker,
  .feature-grid,
  .spec-grid,
  .benefit-grid,
  .gallery,
  .applications article {
    grid-template-columns: 1fr;
  }

  .ticker span {
    min-height: 60px;
  }

  .applications img,
  .gallery img,
  .gallery figure {
    min-height: 260px;
  }

  .section,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    display: grid;
  }
}
