:root {
  --brand: #075972;
  --brand-dark: #043f52;
  --accent: #6acece;
  --ink: #14323b;
  --muted: #5f747b;
  --line: #d9e8eb;
  --soft: #f3f8f9;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 89, 114, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p {
  margin: 0 0 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 232, 235, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--brand);
}

.brand img {
  width: 154px;
  height: auto;
}

.brand-text {
  font-size: 1.35rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
  border-color: var(--accent);
}

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

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  color: var(--brand);
  font-size: 0;
  cursor: pointer;
}

.mobile-toggle::before {
  content: "\2630";
  font-size: 1.45rem;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}

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

.btn-primary {
  color: var(--brand-dark);
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(106, 206, 206, 0.28);
}

.btn-primary:hover {
  background: #58c2c2;
}

.btn-secondary {
  color: var(--white);
  background: var(--brand);
}

.btn-secondary:hover {
  background: var(--brand-dark);
}

.btn-outline {
  color: var(--brand);
  border-color: rgba(7, 89, 114, 0.25);
  background: var(--white);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--brand-dark);
}

.hero {
  background:
    linear-gradient(110deg, rgba(7, 89, 114, 0.96) 0%, rgba(7, 89, 114, 0.88) 47%, rgba(7, 89, 114, 0.3) 100%),
    url("../images/envomed-machine2.webp") center right / cover no-repeat;
  color: var(--white);
  min-height: 690px;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 86px 0 112px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  max-width: 820px;
}

.hero p {
  margin: 24px 0 30px;
  max-width: 670px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.hero-cta,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  padding: 92px 0;
}

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

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

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.86);
}

.section-dark .card h3 {
  color: var(--ink);
}

.section-dark .card p {
  color: var(--muted);
}

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

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.84);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 8px 24px rgba(7, 89, 114, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(106, 206, 206, 0.75);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.17rem;
  margin-bottom: 10px;
}

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

.icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(106, 206, 206, 0.2);
  color: var(--brand);
  margin-bottom: 18px;
  font-weight: 900;
  font-size: 1.25rem;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 22px;
  min-height: 165px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--accent);
  font-weight: 850;
}

.process-step h3 {
  font-size: 1rem;
}

.feature-list,
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(106, 206, 206, 0.18);
}

.page-hero {
  background: linear-gradient(115deg, rgba(7, 89, 114, 0.96), rgba(7, 89, 114, 0.78)), url("../images/envomed-research.webp") center / cover no-repeat;
  color: var(--white);
  padding: 96px 0;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  max-width: 860px;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.stat {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  padding: 54px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.cta-band p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.85);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-card h2,
.contact-card h3 {
  color: var(--white);
}

.contact-card a,
.contact-card p {
  color: rgba(255, 255, 255, 0.88);
}

.contact-card .check-list li {
  color: rgba(255, 255, 255, 0.88);
}

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

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 750;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(106, 206, 206, 0.35);
  border-color: var(--accent);
}

.form-message {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(106, 206, 206, 0.18);
  color: var(--brand-dark);
  font-weight: 700;
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: 1.5rem;
}

.site-footer {
  background: #053f52;
  color: var(--white);
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.85fr;
  gap: 42px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-logo {
  width: 160px;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-title {
  color: var(--white);
  font-weight: 850;
  margin-bottom: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

@media (max-width: 1060px) {
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
  }

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

  .site-nav a {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .btn {
    display: none;
  }

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

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

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

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

  .brand img {
    width: 136px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(110deg, rgba(7, 89, 114, 0.96), rgba(7, 89, 114, 0.78)),
      url("../images/envomed-machine2.webp") center / cover no-repeat;
  }

  .hero-inner {
    width: min(100% - 28px, var(--container));
    padding: 72px 0 84px;
  }

  .section {
    padding: 68px 0;
  }

  .hero-cta,
  .cta-row {
    display: grid;
    width: 100%;
  }

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

  .grid-2,
  .grid-3,
  .grid-4,
  .process,
  .stats-band,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 34px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .hero-cta,
  .cta-row {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .card,
  .form,
  .contact-card {
    padding: 22px;
  }
}
