/* =========================================================
   Genes2Me — LeoNext Whole Genome Sequencing
   Native site styling: Bootstrap/container compatible.
   Header and footer are supplied by the existing site.
========================================================= */

.g2m-wgs {
  --g2m-green: #00a884;
  --g2m-green-dark: #007d6d;
  --g2m-teal: #0b5f5b;
  --g2m-light: #f1f6e8;
  --g2m-soft: #e8f6ee;
  --g2m-border: #dcebe4;
  --g2m-text: #315a5c;
  --g2m-muted: #71888a;
  --g2m-white: #fff;
  color: var(--g2m-text);
  font-family: "Roboto", sans-serif;
  overflow: hidden;
  background: #fff;
}

.g2m-wgs * { box-sizing: border-box; }

.g2m-wgs .container { position: relative; z-index: 2; }

.g2m-wgs h1,
.g2m-wgs h2,
.g2m-wgs h3,
.g2m-wgs h4 {
  color: var(--g2m-teal);
}

.g2m-wgs p {
  line-height: 1.75;
}


.g2m-wgs .wgs-heading h2 {
  font-size: clamp(30px, 3.5vw, 45px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 12px;
}

.g2m-wgs .wgs-heading h2 span { color: var(--g2m-green); }

.g2m-wgs .wgs-heading p {
  color: var(--g2m-muted);
  max-width: 720px;
}

/* ================= HERO ================= */

.g2m-wgs-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(176deg, #fff 53%, #e0f4ea 106%);
}

.g2m-wgs-hero:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -170px;
  top: -210px;
  border-radius: 50%;
  background: rgba(194, 239, 211, .45);
}

.g2m-wgs-hero:after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -250px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(241, 246, 232, .85);
}

.g2m-wgs-hero .row { min-height: 650px; }

.g2m-wgs-hero-copy {
  position: relative;
  z-index: 5;
  padding: 70px 0;
}

.g2m-wgs-hero h1 {
  margin: 10px 0 15px;
  font-size: clamp(45px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -2.5px;
  font-weight: 700;
}

.g2m-wgs-hero h1 span { color: var(--g2m-green); }

.g2m-wgs-tagline {
  color: var(--g2m-teal);
  font-size: 19px;
  margin-bottom: 18px;
}

.g2m-wgs-line {
  width: 42px;
  height: 3px;
  background: var(--g2m-green);
  border-radius: 20px;
  margin: 0 0 22px;
}

.g2m-wgs-hero-copy .lead-copy {
  max-width: 650px;
  font-size: 15px;
  color: var(--g2m-text);
}

.g2m-wgs-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 12px 19px;
  margin-top: 13px;
  border-radius: 30px;
  background: var(--g2m-green);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 168, 132, .20);
  transition: .25s ease;
}

.g2m-wgs-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(0, 168, 132, .28);
}

.g2m-wgs-btn .arrow {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--g2m-green-dark);
  font-size: 16px;
}

/* Hero visual */
.g2m-wgs-hero-art {
  position: relative;
  min-height: 560px;
}

.g2m-wgs-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  right: 30px;
  top: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 220, 164, .45), rgba(225, 248, 235, .1) 68%, transparent 69%);
}

.g2m-wgs-dna {
  position: absolute;
  width: 185px;
  height: 390px;
  right: 115px;
  top: 55px;
  transform: rotate(17deg);
  z-index: 3;
}

.g2m-wgs-dna .strand {
  position: absolute;
  top: 0;
  width: 5px;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(#078f71, #58d3a2, #007566);
}

.g2m-wgs-dna .left { left: 28px; transform: rotate(7deg); }
.g2m-wgs-dna .right { right: 28px; transform: rotate(-7deg); }

.g2m-wgs-dna .rung {
  position: absolute;
  left: 35px;
  width: 115px;
  height: 3px;
  border-radius: 20px;
  background: linear-gradient(90deg, #0a9777, #9ce5c2);
}

.g2m-wgs-dna .r1 { top: 9%; transform: rotate(-4deg); }
.g2m-wgs-dna .r2 { top: 19%; transform: rotate(4deg); }
.g2m-wgs-dna .r3 { top: 29%; transform: rotate(-4deg); }
.g2m-wgs-dna .r4 { top: 39%; transform: rotate(4deg); }
.g2m-wgs-dna .r5 { top: 49%; transform: rotate(-4deg); }
.g2m-wgs-dna .r6 { top: 59%; transform: rotate(4deg); }
.g2m-wgs-dna .r7 { top: 69%; transform: rotate(-4deg); }
.g2m-wgs-dna .r8 { top: 79%; transform: rotate(4deg); }
.g2m-wgs-dna .r9 { top: 89%; transform: rotate(-4deg); }

.g2m-wgs-kit {
  position: absolute;
  z-index: 5;
  left: 25px;
  bottom: 65px;
  width: 245px;
  height: 165px;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #eef8f2);
  border: 1px solid #d8ebe2;
  box-shadow: 0 25px 55px rgba(5, 91, 77, .17);
  padding: 24px;
}

.g2m-wgs-kit:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  border-radius: 0 0 15px 15px;
  background: linear-gradient(90deg, #087d67, #2db98d, #a6e4c1);
}

.g2m-wgs-kit .kit-brand {
  font-size: 11px;
  color: var(--g2m-green-dark);
  font-weight: 800;
  margin-bottom: 13px;
}

.g2m-wgs-kit strong {
  color: var(--g2m-teal);
  font-size: 18px;
  line-height: 1.1;
}

.g2m-wgs-vials {
  position: absolute;
  right: 17px;
  bottom: 28px;
  display: flex;
  gap: 5px;
}

.g2m-wgs-vials span {
  width: 15px;
  height: 38px;
  border-radius: 3px 3px 5px 5px;
  border: 1px solid #cbded7;
  background: linear-gradient(#fff 0 22%, #0d9e7a 23% 69%, #fff 70%);
}

.g2m-wgs-machine {
  position: absolute;
  z-index: 4;
  right: 5px;
  bottom: 75px;
  width: 190px;
  height: 140px;
  border-radius: 13px;
  background: linear-gradient(145deg, #f8fcfb, #bdcfca);
  box-shadow: 0 20px 45px rgba(5, 74, 67, .13);
}

.g2m-wgs-screen {
  position: absolute;
  left: 18px;
  top: 17px;
  width: 92px;
  height: 69px;
  padding: 7px;
  border-radius: 5px;
  background: #123b3e;
}

.g2m-wgs-screen .bars {
  height: 27px;
  display: flex;
  align-items: end;
  gap: 3px;
}

.g2m-wgs-screen .bars i {
  flex: 1;
  height: 65%;
  background: #5bd6a4;
  border-radius: 2px 2px 0 0;
}

.g2m-wgs-screen .bars i:nth-child(2) { height: 90%; }
.g2m-wgs-screen .bars i:nth-child(3) { height: 48%; }
.g2m-wgs-screen .bars i:nth-child(4) { height: 78%; }
.g2m-wgs-screen .bars i:nth-child(5) { height: 60%; }

.g2m-wgs-screen .lines {
  margin-top: 8px;
  height: 15px;
  background: repeating-linear-gradient(to bottom, #4a7778 0 2px, transparent 2px 5px);
}

.g2m-wgs-machine:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68px;
  height: 91px;
  border-radius: 22px 0 0 0;
  background: linear-gradient(145deg, #d8e5e2, #a6bdb9);
}

.g2m-wgs-chip {
  position: absolute;
  z-index: 7;
  padding: 8px 12px;
  border: 1px solid #d5e9e0;
  border-radius: 30px;
  background: rgba(255,255,255,.88);
  color: var(--g2m-green-dark);
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(4, 80, 70, .09);
  backdrop-filter: blur(8px);
}

.g2m-wgs-chip.one { top: 75px; right: 5px; }
.g2m-wgs-chip.two { top: 155px; left: 70px; }
.g2m-wgs-chip.three { bottom: 35px; right: 80px; }

/* ================= APPLICATIONS ================= */

.g2m-wgs-section {
  padding: 90px 0;
}

.g2m-wgs-applications {
  background: linear-gradient(180deg, #fff, #f1f2f2);
}

.g2m-wgs-app-list {
  display: grid;
  gap: 9px;
}

.g2m-wgs-app-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 7px 0;
}

.g2m-wgs-check {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #def4e8;
  color: var(--g2m-green);
  font-size: 12px;
  font-weight: 800;
}

.g2m-wgs-app-item p {
  margin: 0;
  font-size: 14px;
}

/* Genome graphic */
.g2m-wgs-wheel {
  position: relative;
  width: min(410px, 100%);
  aspect-ratio: 1;
  margin: auto;
}

.g2m-wgs-wheel .ring {
  position: absolute;
  inset: 15%;
  border: 1px dashed rgba(0, 139, 106, .25);
  border-radius: 50%;
}

.g2m-wgs-wheel .ring.inner {
  inset: 29%;
  border-style: solid;
  border-color: rgba(0, 139, 106, .12);
}

.g2m-wgs-wheel .center {
  position: absolute;
  inset: 35%;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #20b78c, #087e6d);
  color: #fff;
  box-shadow: 0 18px 45px rgba(4, 125, 100, .23);
}

.g2m-wgs-wheel .center strong { font-size: 19px; }
.g2m-wgs-wheel .center small { font-size: 10px; opacity: .85; }

.g2m-wgs-node {
  position: absolute;
  width: 90px;
  min-height: 65px;
  padding: 7px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid #d5e9e0;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 25px rgba(3, 87, 74, .08);
  text-align: center;
}

.g2m-wgs-node strong {
  color: var(--g2m-green-dark);
  font-size: 11px;
}

.g2m-wgs-node small {
  color: var(--g2m-muted);
  font-size: 8px;
  line-height: 1.2;
}

.g2m-wgs-node.n1 { top: 0; left: calc(50% - 45px); }
.g2m-wgs-node.n2 { top: 25%; right: 0; }
.g2m-wgs-node.n3 { bottom: 12%; right: 5%; }
.g2m-wgs-node.n4 { bottom: 0; left: calc(50% - 45px); }
.g2m-wgs-node.n5 { bottom: 12%; left: 5%; }
.g2m-wgs-node.n6 { top: 25%; left: 0; }

/* ================= FEATURE CARDS ================= */

.g2m-wgs-features { background: #fff; }

.g2m-wgs-feature {
  height: 100%;
  min-height: 225px;
  padding: 25px 17px;
  border: 1px solid var(--g2m-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fcf9);
  text-align: center;
  transition: .25s ease;
}

.g2m-wgs-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(4, 86, 72, .12);
}

.g2m-wgs-feature .icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--g2m-soft);
  color: var(--g2m-green);
  font-size: 20px;
  font-weight: 700;
}

.g2m-wgs-feature h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.g2m-wgs-feature p {
  color: var(--g2m-muted);
  font-size: 11px;
  line-height: 1.55;
  margin: 0;
}

/* ================= TABLES ================= */

.g2m-wgs-specs {
  background: #f1f2f2;
}

.g2m-wgs-table-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #d4e9df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(4, 80, 68, .06);
}

.g2m-wgs-table-title {
  padding: 14px 18px;
  background: linear-gradient(90deg, #008f70, #12a77f);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

.g2m-wgs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.g2m-wgs-table th {
  padding: 12px 13px;
  background: #08786a;
  color: #fff;
  text-align: left;
}

.g2m-wgs-table td {
  padding: 12px 13px;
  border-bottom: 1px solid #e6efeb;
  vertical-align: top;
  line-height: 1.45;
}

.g2m-wgs-table tbody tr:nth-child(even) td {
  background: #f7fbf8;
}

.g2m-wgs-table tr:last-child td { border-bottom: 0; }

.g2m-wgs-table td:first-child {
  width: 38%;
  color: var(--g2m-teal);
  font-weight: 600;
}

.g2m-wgs-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--g2m-green);
  border-radius: 8px;
  background: #fff;
  color: var(--g2m-muted);
  font-size: 12px;
}

/* ================= DATA ================= */

.g2m-wgs-data {
  background: linear-gradient(180deg, #fff, #f1faf5);
}

.g2m-wgs-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 25px;
  padding: 18px 8px;
  border-radius: 18px;
  background: #e0f5e9;
}

.g2m-wgs-metrics > div {
  padding: 0 12px;
  text-align: center;
  border-right: 1px solid rgba(8, 121, 95, .13);
}

.g2m-wgs-metrics > div:last-child { border-right: 0; }

.g2m-wgs-metrics strong {
  display: block;
  color: var(--g2m-green);
  font-size: 19px;
}

.g2m-wgs-metrics span {
  display: block;
  color: var(--g2m-teal);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.g2m-wgs-chart {
  position: relative;
  min-height: 320px;
  padding: 20px;
  border: 1px solid #d8ebe3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 38px rgba(3, 87, 74, .08);
}

.g2m-wgs-chart-head {
  display: flex;
  justify-content: space-between;
  color: var(--g2m-teal);
  font-size: 10px;
  font-weight: 700;
}

.g2m-wgs-chart-head span:last-child {
  color: var(--g2m-muted);
  font-weight: 400;
}

.g2m-wgs-coverage {
  height: 100px;
  margin-top: 18px;
  display: flex;
  align-items: end;
  gap: 4px;
  border-bottom: 1px solid #dcebe6;
  background: repeating-linear-gradient(to bottom, transparent 0 24px, #edf4f1 25px 26px);
}

.g2m-wgs-coverage i {
  flex: 1;
  max-width: 15px;
  height: 45%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(#4bc99a, #088d70);
}

.g2m-wgs-coverage i:nth-child(2n) { height: 80%; }
.g2m-wgs-coverage i:nth-child(3n) { height: 60%; }
.g2m-wgs-coverage i:nth-child(5n) { height: 93%; }

.g2m-wgs-map {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  margin-top: 20px;
}

.g2m-wgs-map i {
  height: 13px;
  border-radius: 2px;
  background: #8be0bf;
}

.g2m-wgs-map i:nth-child(3n) { background: #25b286; }
.g2m-wgs-map i:nth-child(4n) { background: #b5edd2; }

.g2m-wgs-variant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.g2m-wgs-variant-tags span {
  padding: 7px 11px;
  border-radius: 20px;
  background: var(--g2m-soft);
  color: var(--g2m-teal);
  font-size: 10px;
  font-weight: 700;
}

/* ================= WORKFLOW ================= */

.g2m-wgs-workflow {
  background: linear-gradient(180deg, #fff, #f1f2f2);
}

.g2m-wgs-step {
  position: relative;
  height: 100%;
  min-height: 205px;
  padding: 30px 18px 20px;
  border: 1px solid #d4e9df;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(4, 90, 75, .06);
  text-align: center;
}

.g2m-wgs-step .number {
  position: absolute;
  left: 14px;
  top: 11px;
  color: var(--g2m-green);
  font-size: 10px;
  font-weight: 700;
}

.g2m-wgs-step .step-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--g2m-soft);
  color: var(--g2m-green-dark);
  font-size: 10px;
  font-weight: 800;
}

.g2m-wgs-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.g2m-wgs-step p {
  margin: 0;
  color: var(--g2m-muted);
  font-size: 11px;
  line-height: 1.55;
}

.g2m-wgs-workflow-benefits {
  margin-top: 24px;
  padding: 20px 8px;
  border-radius: 18px;
  background: #e0f5e9;
}

.g2m-wgs-benefit {
  padding: 0 12px;
  text-align: center;
  border-right: 1px solid rgba(8, 121, 95, .13);
}

.g2m-wgs-benefit:last-child { border-right: 0; }

.g2m-wgs-benefit .bi {
  color: var(--g2m-green);
  font-size: 18px;
}

.g2m-wgs-benefit strong {
  display: block;
  color: var(--g2m-teal);
  margin-top: 5px;
  font-size: 10px;
}

.g2m-wgs-benefit small {
  display: block;
  color: #668381;
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.45;
}

/* ================= CTA ================= */

.g2m-wgs-cta {
  padding: 60px 0;
  background: linear-gradient(355deg, #04d9b275, #f1efdfd4);
}

.g2m-wgs-cta h2 {
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 45px);
}

.g2m-wgs-cta p {
  color: rgba(255,255,255,.78);
  margin: 0;
}

.g2m-wgs-cta .g2m-wgs-btn {
  background: #fff;
  color: var(--g2m-teal) !important;
}

.g2m-wgs-cta .g2m-wgs-btn .arrow {
  background: var(--g2m-teal);
  color: #fff;
}

/* ================= AOS FALLBACK / SMALL MOTION ================= */

.g2m-wgs .wgs-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}

.g2m-wgs .wgs-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .g2m-wgs .wgs-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
  .g2m-wgs-hero .row { min-height: auto; }

  .g2m-wgs-hero-copy {
    padding: 70px 0 30px;
  }

  .g2m-wgs-hero-art {
    min-height: 500px;
  }

  .g2m-wgs-dna { right: 24%; }

  .g2m-wgs-feature { min-height: 190px; }

  .g2m-wgs-step { min-height: 190px; }
}

@media (max-width: 767px) {
  .g2m-wgs-section { padding: 65px 0; }

  .g2m-wgs-hero h1 {
    font-size: 48px;
  }

  .g2m-wgs-hero-art {
    min-height: 430px;
    transform: scale(.88);
    transform-origin: top center;
    margin-bottom: -45px;
  }

  .g2m-wgs-kit {
    left: 0;
    width: 220px;
  }

  .g2m-wgs-machine { right: 0; }

  .g2m-wgs-dna { right: 17%; }

  .g2m-wgs-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .g2m-wgs-metrics > div {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 121, 95, .13);
    padding-bottom: 12px;
  }

  .g2m-wgs-metrics > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .g2m-wgs-benefit {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 121, 95, .13);
    padding: 10px;
  }

  .g2m-wgs-benefit:last-child { border-bottom: 0; }

  .g2m-wgs-cta .row {
    text-align: center;
  }

  .g2m-wgs-cta .g2m-wgs-btn {
    margin-top: 25px;
  }
}

@media (max-width: 575px) {
  .g2m-wgs-hero-art {
    transform: scale(.73);
    margin-bottom: -105px;
  }

  .g2m-wgs-hero h1 {
    font-size: 43px;
  }

  .g2m-wgs-wheel {
    width: 340px;
  }

  .g2m-wgs-table {
    font-size: 11px;
  }

  .g2m-wgs-table th,
  .g2m-wgs-table td {
    padding: 9px 8px;
  }
}