﻿:root {
  --teal: #075972;
  --aqua: #6acece;
  --ink: #10242b;
  --muted: #5d7077;
  --line: #dce9eb;
  --mist: #f3faf9;
  --soft: #eef5f6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 89, 114, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p {
  margin: 0 0 1rem;
}

.container {
  width: calc(100% - 40px);
  max-width: 1160px;
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

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

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

.brand-text {
  font-weight: 800;
  color: var(--teal);
  font-size: 1.35rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--teal);
  cursor: pointer;
}

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

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

.site-nav a {
  padding: 10px 11px;
  color: #29444d;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: 8px;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--teal);
  background: var(--mist);
}

.header-cta {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(7, 89, 114, 0.18);
}

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

.btn-accent {
  background: var(--aqua);
  color: #073940;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(247, 252, 252, 0.84) 0%, rgba(255, 255, 255, 0.68) 48%, rgba(233, 247, 246, 0.56) 100%),
    url("../images/ecomedx-hero-bg.webp") center / cover no-repeat;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 36px;
  max-width: 1320px;
  align-items: center;
  min-height: 670px;
  padding: 54px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--aqua);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--teal);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
}

h3 {
  font-size: 1.18rem;
}

.lead {
  margin-top: 22px;
  color: #38535b;
  font-size: clamp(1.04rem, 1.6vw, 1.25rem);
  max-width: 700px;
}

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

.hero-media {
  position: relative;
  min-height: 460px;
  min-width: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 10% auto auto -8%;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(106, 206, 206, 0.8);
  border-radius: 18px;
}

.hero-media img,
.feature-image img,
.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo {
  position: absolute;
  inset: 0 0 44px 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-stat {
  position: absolute;
  right: 22px;
  bottom: 0;
  width: 280px;
  max-width: 78%;
  padding: 20px;
  color: var(--white);
  background: var(--teal);
  border-left: 6px solid var(--aqua);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: #d9f4f2;
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.section {
  padding: 88px 0;
}

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

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

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

.section-teal p,
.section-teal .section-intro {
  color: #d8eff1;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-intro {
  max-width: 710px;
  color: var(--muted);
  font-size: 1.06rem;
}

.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 {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(12, 58, 72, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--teal);
  background: #dff7f4;
  font-size: 1.35rem;
  font-weight: 900;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

.process-step {
  position: relative;
  min-height: 172px;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--aqua);
  font-weight: 900;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.feature-image {
  overflow: hidden;
  height: 460px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  color: #38535b;
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(106, 206, 206, 0.18);
}

.page-hero {
  background:
    linear-gradient(115deg, rgba(7, 89, 114, 0.92), rgba(10, 108, 130, 0.78)),
    url("../images/ecomedx-hero-bg.webp") center / cover no-repeat;
  color: var(--white);
}
.contact-hero {
  background:
    linear-gradient(115deg, rgba(7, 89, 114, 0.92), rgba(10, 108, 130, 0.78)),
    url("../images/contact-ecomedx-banner.webp") center / cover no-repeat;
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  min-height: 430px;
  padding: 58px 0;
}

.page-hero h1,
.page-hero .eyebrow {
  color: var(--white);
}

.page-hero .lead {
  color: #ddf2f3;
}

.page-hero-image {
  display: none;
  overflow: hidden;
  height: 300px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.industry-card {
  min-height: 210px;
}

.cta-band {
  padding: 54px;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(120deg, var(--teal), #087f93);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  max-width: 760px;
  color: #def4f5;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: start;
}

.contact-panel {
  padding: 30px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
}

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

.contact-panel a,
.contact-panel p {
  color: #e6fbfb;
}

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

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

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

label {
  display: block;
  margin-bottom: 7px;
  color: var(--teal);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #c7d9dd;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

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

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

.form-message {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #073940;
  background: #dff7f4;
  font-weight: 800;
}

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

.legal-content h2 {
  margin-top: 38px;
  font-size: 1.55rem;
}

.site-footer {
  color: #d9edf0;
  background: #053f52;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(160px, 0.6fr));
  gap: 34px;
  padding: 54px 0;
}

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

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: #d9edf0;
}

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

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #bddce0;
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

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

  .header-cta {
    display: none;
  }

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

  .hero .container {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

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

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

@media (max-width: 720px) {
  h1,
  h2,
  h3,
  p,
  .btn {
    overflow-wrap: anywhere;
  }

  .container {
    width: calc(100% - 28px);
    max-width: 1160px;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .site-nav {
    top: 74px;
    left: 14px;
    right: 14px;
  }

  .brand img {
    width: 132px;
  }

  .hero .container,
  .page-hero .container {
    padding: 38px 0;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    display: block;
  }

  .section-head .btn {
    margin-top: 20px;
  }

  .hero-media,
  .feature-image,
  .page-hero-image {
    height: 310px;
    min-height: 310px;
    width: 100%;
  }

  .hero-media::before {
    left: 0;
    width: calc(100% - 28px);
  }

  .hero-photo {
    inset: 0 0 36px 0;
  }

  .hero-stat {
    left: 16px;
    right: auto;
    width: calc(100% - 32px);
    max-width: none;
  }

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

  .cta-band {
    padding: 34px 24px;
  }

  .btn {
    width: 100%;
  }
}

.cta-band .eyebrow {
  color: #dff7f4;
}

.cta-band .eyebrow::before {
  background: var(--aqua);
}
.impact-stack {
  display: grid;
  gap: 84px;
}

.impact-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.impact-row-reverse .impact-copy {
  order: 2;
}

.impact-row-reverse .impact-image {
  order: 1;
}

.impact-copy {
  padding: 22px 0;
}

.impact-image {
  overflow: hidden;
  min-height: 360px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.impact-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
@media (max-width: 720px) {
  .impact-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .impact-row-reverse .impact-copy,
  .impact-row-reverse .impact-image {
    order: initial;
  }

  .impact-image,
  .impact-image img {
    min-height: 280px;
  }
}
.machine-flow-section {
  background: #edf7f6;
}

.machine-flow {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(225, 244, 243, 0.72));
}

.machine-flow::before,
.machine-flow::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(7, 89, 114, 0.32);
  border-radius: 50%;
  pointer-events: none;
}

.machine-flow::before {
  width: 760px;
  height: 420px;
  left: -110px;
  top: 190px;
  transform: rotate(10deg);
}

.machine-flow::after {
  width: 620px;
  height: 360px;
  right: 120px;
  top: 145px;
  transform: rotate(-18deg);
}

.machine-stage {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(670px, 58%);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.machine-stage img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 45px rgba(7, 89, 114, 0.16));
}

.flow-card {
  position: absolute;
  z-index: 4;
  width: min(360px, 28%);
  padding: 26px;
  border: 1px solid rgba(7, 89, 114, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(7, 89, 114, 0.09);
}

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

.flow-card p {
  margin: 0;
  color: #38535b;
}

.flow-card-input {
  left: 48%;
  top: 24px;
  transform: translateX(-50%);
}

.flow-card-shred {
  right: 34px;
  top: 150px;
}

.flow-card-disinfect {
  right: 88px;
  bottom: 54px;
  width: min(440px, 34%);
}

.flow-card-output {
  left: 34px;
  top: 180px;
  width: min(420px, 34%);
}

.flow-dot {
  position: absolute;
  z-index: 3;
  width: 58px;
  height: 58px;
  border: 16px solid rgba(150, 120, 105, 0.44);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(150, 120, 105, 0.08);
}

.dot-input { left: 53%; top: 186px; }
.dot-shred { right: 35%; top: 248px; }
.dot-disinfect { right: 40%; bottom: 214px; }
.dot-output { left: 38%; bottom: 190px; }

@media (max-width: 1040px) {
  .machine-flow {
    min-height: auto;
    display: grid;
    gap: 18px;
    padding: 26px;
  }

  .machine-flow::before,
  .machine-flow::after,
  .flow-dot {
    display: none;
  }

  .machine-stage,
  .flow-card,
  .flow-card-input,
  .flow-card-shred,
  .flow-card-disinfect,
  .flow-card-output {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .machine-stage {
    order: 1;
    justify-self: center;
    width: min(640px, 100%);
  }

  .flow-card-input { order: 2; }
  .flow-card-shred { order: 3; }
  .flow-card-disinfect { order: 4; }
  .flow-card-output { order: 5; }
}

@media (max-width: 720px) {
  .machine-flow {
    padding: 18px;
  }

  .flow-card {
    padding: 22px;
  }
}
.cert-strip-section {
  background: var(--white);
  padding: 42px 0;
}

.cert-strip {
  display: grid;
  grid-template-columns: 1.2fr 1.28fr 0.82fr 1.72fr 0.88fr;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 89, 114, 0.08);
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.cert-item img {
  flex: 0 0 auto;
  width: auto;
  max-width: 76px;
  max-height: 52px;
  object-fit: contain;
}

.cert-item .cert-check {
  max-width: 44px;
  max-height: 44px;
}

.site-footer a.social-link,
.contact-panel a.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 700;
}

.linkedin-icon {
  width: 24px;
  max-width: 25px;
  height: 24px;
  flex: 0 0 auto;
}

@media (max-width: 1040px) {
  .cert-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .cert-strip-section {
    padding: 30px 0;
  }

  .cert-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .cert-item {
    align-items: flex-start;
  }
}


.embedded-form-card {
  min-height: 844px;
  padding: 0;
  overflow: hidden;
}

.embedded-form-card iframe {
  display: block;
  min-height: 844px;
}
