:root {
  --ink: #071b2d;
  --blue: #0b4f7c;
  --cyan: #12c7c0;
  --paper: #f4f7f8;
  --line: #d7e0e5;
  --focus: #7cf7ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'DM Sans', sans-serif;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
dialog:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skipLink {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skipLink:focus {
  transform: translateY(0);
}

header {
  position: fixed;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  padding: 0 5vw;
  color: #fff;
  transition: background 250ms ease, box-shadow 250ms ease,
    backdrop-filter 250ms ease;
}

header.is-scrolled {
  background: rgba(7, 27, 45, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
}

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

.siteNav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.siteNav a {
  opacity: 0.85;
  transition: opacity 180ms ease, color 180ms ease;
}

.siteNav a:hover,
.siteNav a.active {
  color: var(--cyan);
  opacity: 1;
}

.navcta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 99px;
}

.phone {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.phone:hover {
  color: var(--cyan);
}

.menuToggle {
  display: none;
  padding: 10px 14px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 99px;
  cursor: pointer;
}

.navScrim {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 800px;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.veil,
.colorGlow,
.heroSlides,
.heroSlides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroSlides img {
  opacity: 0;
  filter: grayscale(0.85) contrast(1.05) brightness(0.95);
  animation: kenburns 26s ease-in-out infinite alternate;
  transition: opacity 1.4s ease;
  will-change: transform, opacity;
}

.heroSlides img.active {
  opacity: 1;
}

@keyframes kenburns {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.14) translate(-1.5%, 1.5%);
  }
}

.colorGlow {
  background: linear-gradient(
    125deg,
    #3ee6a8 0%,
    var(--cyan) 30%,
    var(--blue) 65%,
    #0a2a4a 100%
  );
  mix-blend-mode: color;
  z-index: 0;
}

.colorGlow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 70% at 20% 15%,
    rgba(124, 247, 239, 0.55),
    transparent 65%
  );
  mix-blend-mode: screen;
}

.veil {
  background: linear-gradient(
    90deg,
    rgba(4, 20, 34, 0.85) 0%,
    rgba(4, 20, 34, 0.55) 48%,
    rgba(4, 20, 34, 0.12) 100%
  );
}

.heroDecor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.edgeLabel {
  position: absolute;
  top: 50%;
  font: 700 11px Manrope, sans-serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.edgeLabel.left {
  left: 34px;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.edgeLabel.right {
  left: calc(100% - 34px);
  transform: translate(-50%, -50%) rotate(90deg);
}

.dotGrid {
  position: absolute;
  top: 130px;
  right: 60px;
  opacity: 0.4;
}

.dotGrid circle {
  fill: #fff;
}

.dotGrid circle.accent {
  fill: var(--cyan);
  opacity: 1;
}

.ringAccent {
  position: absolute;
  left: 24px;
  bottom: 110px;
  opacity: 0.3;
}

.ringAccent circle {
  fill: none;
  stroke: #fff;
  stroke-width: 1;
}

.heroFlow {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.pipeShell {
  fill: none;
  stroke: #0c2333;
  stroke-width: 30;
  stroke-linecap: round;
}

.pipeSheen {
  fill: none;
  stroke: rgba(44, 90, 115, 0.5);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0;
  animation: sheen 8s ease-in-out infinite;
}

@keyframes sheen {
  0%,
  45% {
    opacity: 0;
  }
  55%,
  75% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

.pipeFlow {
  fill: none;
  stroke: url(#flowGrad);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 26 18;
  animation: flowdash 3.2s linear infinite;
}

@keyframes flowdash {
  to {
    stroke-dashoffset: -88;
  }
}

.heroContent {
  z-index: 2;
  width: min(830px, 82vw);
  margin-left: 8vw;
  padding-top: 30px;
}

.eyebrow {
  margin: 0;
  color: #62eee7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #168e91;
}

.hero h1 {
  max-width: 900px;
  margin: 20px 0 28px;
  font: 800 clamp(48px, 6.2vw, 92px) / 1.06 Manrope, sans-serif;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 650px;
  color: #d8e6eb;
  font-size: 19px;
  line-height: 1.65;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
}

.primary,
.secondary {
  padding: 15px 22px;
  border-radius: 5px;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease;
}

.primary {
  color: #062331;
  background: var(--cyan);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.primary:hover,
.secondary:hover,
.contact button:hover {
  transform: translateY(-2px);
}

.secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.arrow {
  display: inline-block;
  margin-left: 3px;
}

.stats {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(760px, 72vw);
  grid-template-columns: repeat(3, 1fr);
  background: rgba(4, 25, 39, 0.82);
  backdrop-filter: blur(15px);
}

.stats div {
  padding: 25px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.stats b,
.stats span {
  display: block;
}

.stats b {
  font: 700 20px Manrope, sans-serif;
}

.stats span {
  margin-top: 6px;
  color: #b7c9d1;
  font-size: 12px;
}

/* ---------- Secciones comunes ---------- */

.sectionHead {
  max-width: 900px;
}

.sectionHead h2,
.intro h2,
.contact h2,
.faq h2 {
  margin: 18px 0;
  font: 800 clamp(42px, 5vw, 72px) / 1.06 Manrope, sans-serif;
  letter-spacing: -0.045em;
}

.sectionHead.dark h2 {
  color: var(--ink);
}

.sectionSub {
  max-width: 620px;
  color: #b9cbd4;
  font-size: 17px;
  line-height: 1.6;
}

.sectionSub.dark {
  color: #4a5e6b;
}

/* ---------- Intro ---------- */

.intro {
  display: grid;
  gap: 8vw;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 130px 8vw;
  background: var(--paper);
}

.intro > p {
  margin: 0;
  padding-top: 25px;
  color: #3a4d59;
  font-size: 22px;
  line-height: 1.65;
}

/* ---------- Laboratorio / simulador ---------- */

.lab {
  position: relative;
  padding: 130px 8vw;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.lab .sectionSub {
  margin-top: -6px;
}

.labGrid {
  display: grid;
  gap: 6vw;
  grid-template-columns: 0.72fr 1.28fr;
  margin-top: 70px;
}

.labTabs {
  align-self: start;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.labTabs button {
  display: grid;
  width: 100%;
  grid-template-columns: 45px 1fr;
  padding: 25px 0;
  color: #7f98a6;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font: 700 19px Manrope, sans-serif;
  transition: color 180ms ease, padding-left 180ms ease;
}

.labTabs button:hover,
.labTabs button.active {
  color: #fff;
}

.labTabs button:hover {
  padding-left: 8px;
}

.labTabs button > span:first-child {
  font-size: 12px;
  color: #4d6a7c;
}

.labTabs button.active > span:first-child {
  color: var(--cyan);
}

.labStage {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #0a1f30;
  overflow: hidden;
}

.stageHead {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px 0;
}

.serviceNo {
  color: var(--cyan);
  font-weight: 700;
}

.stageHead h3 {
  margin: 0;
  font: 800 26px Manrope, sans-serif;
}

.statePill {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statePill.idle {
  color: #9fb4c0;
  background: rgba(255, 255, 255, 0.09);
}

.statePill.running {
  color: #062331;
  background: var(--cyan);
}

.statePill.done {
  color: #062331;
  background: #7cf7ef;
}

.stageBody {
  padding: 18px 26px 0;
}

.labSvg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #0b2132;
}

/* ---- SVG interno ---- */

.soilLine {
  fill: none;
  stroke: #1d4256;
  stroke-width: 2;
  stroke-dasharray: 5 7;
  opacity: 0.6;
}

.soilDots circle {
  fill: #1d4256;
  opacity: 0.7;
}

.trenchFill {
  fill: #0d2636;
}

.waterCore {
  fill: rgba(18, 199, 192, 0.3);
  transition: opacity 500ms ease;
}

.waterCore.dry {
  opacity: 0;
}

#labDoor {
  opacity: 0;
  transition: opacity 400ms ease;
}

#labDoor.hidden {
  opacity: 1;
}

.flowArrow {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.5;
  animation: arrowmove 1.4s ease-in-out infinite;
}

@keyframes arrowmove {
  0%,
  100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.7;
  }
}

.flangeLine {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 2;
}

.flange rect:last-child {
  fill: none;
}

.particle {
  fill: var(--cyan);
  opacity: 0.85;
}

.particle.core {
  fill: #9ff2ee;
}

.steel {
  fill: #3a5c6e;
}

.steelDark {
  fill: #12293b;
}

.bolt {
  fill: none;
  stroke: #0a2030;
  stroke-width: 3;
}

.wheel {
  stroke: var(--cyan);
  stroke-width: 3.5;
}

.wheelSpoke {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
}

.drillTip {
  fill: #0a2030;
}

.jet {
  fill: rgba(18, 199, 192, 0.75);
}

.stop {
  fill: #2a4d63;
  stroke: #0a2030;
  stroke-width: 2;
}

.bypassShell {
  fill: none;
  stroke: #245067;
  stroke-width: 24;
  stroke-linecap: round;
}

.bypassCore {
  fill: none;
  stroke: rgba(18, 199, 192, 0.32);
  stroke-width: 12;
  stroke-linecap: round;
}

.bypassElbow {
  fill: #245067;
}

.bypassValve {
  fill: #12293b;
  stroke: #3a5c6e;
  stroke-width: 2;
}

.bypassWheel {
  stroke: var(--cyan);
  stroke-width: 2.5;
}

.isolated {
  fill: rgba(255, 255, 255, 0.07);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-dasharray: 6 5;
}

.tag,
.tagIso {
  fill: #8fb0bf;
  font: 600 11px 'DM Sans', sans-serif;
  letter-spacing: 0.04em;
}

.tagIso {
  fill: #cfe4ea;
  font-size: 12px;
}

.tag.dir {
  fill: var(--cyan);
  font-size: 12px;
}

.valveBody {
  fill: #2a4d63;
  stroke: #0a2030;
  stroke-width: 2;
}

.valveDisc {
  stroke: #3a5c6e;
  stroke-width: 3;
}

.valveDiscLine,
.valveDiscLine2 {
  fill: none;
  stroke: #0a2030;
  stroke-width: 2.5;
}

.simPart {
  opacity: 0;
  transition: opacity 350ms ease, transform 450ms ease;
}

.simPart.visible {
  opacity: 1;
}

/* ---- mecánica del Hot Tap ---- */

#htSaddle {
  transform-box: fill-box;
  transform-origin: center;
}

#htSaddle.saddle-open {
  transform: scaleX(0.85);
}

#htWheel {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 500ms ease;
}

#htValve.valve-open #htWheel {
  transform: rotate(90deg);
}

.valveInner {
  transition: opacity 350ms ease;
}

#htValve.valve-open .valveInner {
  opacity: 0;
}

#htDrill.drill-up {
  transform: translateY(-60px);
}

#htDrill.drill-down {
  transform: translateY(24px);
}

#htDrill.drill-retract {
  transform: translateY(-110px);
  opacity: 0;
}

.simGroup {
  display: none;
}

.simGroup.active {
  display: block;
}

#bypassParticles .particle {
  fill: #9ff2ee;
}

/* ---- estado del laboratorio ---- */

.labCaption {
  min-height: 2.6em;
  margin: 14px 0 0;
  color: #a9c3cf;
  font-size: 15px;
  line-height: 1.6;
}

.stageFoot {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 26px 24px;
  flex-wrap: wrap;
}

.labStep {
  color: #cfe4ea;
  font: 700 13px 'DM Sans', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stageControls {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.runBtn,
.resetBtn {
  padding: 12px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.runBtn {
  color: #062331;
  background: var(--cyan);
  border: 0;
}

.resetBtn {
  color: #cfe4ea;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.runBtn:hover,
.resetBtn:hover {
  transform: translateY(-2px);
}

/* ---- detalle del laboratorio ---- */

.labDetail {
  display: grid;
  gap: 4vw;
  grid-template-columns: 1.28fr 0.72fr;
  margin-top: 46px;
}

.labCard {
  padding: 34px 38px;
  color: #fff;
  background: #0a1f30;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.labCard h3 {
  margin: 0 0 14px;
  font: 800 30px Manrope, sans-serif;
}

.labCard p {
  margin: 0;
  color: #c8d5db;
  font-size: 16.5px;
  line-height: 1.75;
}

.labCard a {
  display: inline-block;
  margin-top: 18px;
  color: #64e7e2;
  font-weight: 700;
}

.labSpecs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.labSpecs > div {
  flex: 1;
  padding: 22px 26px;
  background: #0a1f30;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.specLabel {
  display: block;
  margin-bottom: 6px;
  color: #7f98a6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.labSpecs b {
  font: 800 22px Manrope, sans-serif;
  color: #7cf7ef;
}

/* ---------- Proceso ---------- */

.process {
  padding: 130px 8vw;
  background: var(--paper);
}

.processSteps {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(4, 1fr);
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.processSteps li {
  padding: 34px 30px;
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.processSteps li:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(7, 27, 45, 0.1);
  position: relative;
  z-index: 1;
}

.stepNo {
  color: var(--cyan);
  font: 800 14px Manrope, sans-serif;
}

.processSteps h3 {
  margin: 42px 0 12px;
  font: 800 21px Manrope, sans-serif;
}

.processSteps p {
  margin: 0;
  color: #4a5e6b;
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Obras ---------- */

.works {
  padding: 130px 8vw;
  background: #fff;
}

.worksGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
}

.worksGrid li {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
  background: var(--ink);
}

.worksGrid img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 500ms ease, opacity 500ms ease;
}

.worksGrid li:hover img {
  transform: scale(1.06);
}

.worksGrid .workZoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  background: linear-gradient(to top, rgba(4, 20, 34, 0.85), transparent 60%);
  transition: opacity 250ms ease;
}

.worksGrid li:hover .workZoom,
.worksGrid li:focus-within .workZoom {
  opacity: 1;
}

.worksGrid .workZoom:focus-visible {
  opacity: 1;
}

/* ---- lightbox ---- */

.lightbox {
  width: min(1080px, 94vw);
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #041624;
  color: #fff;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(2, 12, 20, 0.88);
  backdrop-filter: blur(4px);
}

.lightboxTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.lightboxTop span {
  color: #9fb4c0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lightboxClose,
.lightboxNav {
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 180ms ease;
}

.lightboxClose {
  width: 36px;
  height: 36px;
  border-radius: 99px;
  font-size: 15px;
}

.lightboxClose:hover,
.lightboxNav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #061827;
}

.lightboxNav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 99px;
  font-size: 26px;
  transform: translateY(-50%);
}

.lightboxNav.prev {
  left: 18px;
}

.lightboxNav.next {
  right: 18px;
}

/* ---------- Cifras ---------- */

.figures {
  padding: 130px 8vw;
  color: #fff;
  background: #082238;
}

.figures h2 {
  color: #fff;
}

.figureGrid {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 70px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
}

.figureGrid > div {
  padding: 40px 30px;
  background: #082238;
}

.figureGrid b {
  display: block;
  font: 800 clamp(30px, 3.4vw, 46px) Manrope, sans-serif;
  color: #7cf7ef;
  white-space: nowrap;
}

.figureGrid span {
  display: block;
  margin-top: 10px;
  color: #b9cbd4;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Contacto ---------- */

.contact {
  display: grid;
  gap: 8vw;
  grid-template-columns: 1fr 1.1fr;
  padding: 120px 8vw;
  color: #fff;
  background: #082238;
}

.contact > div > p:last-child {
  max-width: 560px;
  color: #c1d2db;
  font-size: 18px;
  line-height: 1.65;
}

.contactInfo {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.contactInfo li {
  margin-bottom: 10px;
  color: #9fb4c0;
  font-size: 15px;
}

.contactInfo a {
  color: #cfe4ea;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 180ms ease, border-color 180ms ease;
}

.contactInfo a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: inline-block;
  padding: 9px 15px;
  color: #cfe4ea;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  transition: color 180ms ease, border-color 180ms ease;
}

.socials a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.contact form {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.contact label {
  color: #c9d8df;
  font-size: 13px;
}

.contact input,
.contact textarea,
.contact select {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 12px 2px;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #617482;
  border-radius: 0;
  outline: none;
}

.contact select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312c7c0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  cursor: pointer;
}

.contact select option {
  color: var(--ink);
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #8ea3af;
}

.contact input:focus,
.contact textarea:focus,
.contact select:focus {
  border-bottom-color: var(--cyan);
}

.contact .full,
.contact button,
.demoNote,
.formStatus {
  grid-column: 1 / -1;
}

.captchaRow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.captchaRow label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.captchaRow b {
  color: #7cf7ef;
  font-size: 16px;
}

.captchaRow input {
  width: 110px;
  margin-top: 0;
}

.contact button {
  justify-self: start;
  padding: 16px 22px;
  color: #062331;
  background: var(--cyan);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease;
}

.demoNote,
.formStatus {
  margin: 0;
  color: #91aab6;
  font-size: 12px;
  line-height: 1.5;
}

.formStatus {
  min-height: 1.5em;
  color: var(--cyan);
}

.formStatus:not(.is-visible) {
  visibility: hidden;
}

/* ---------- Footer ---------- */

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 48px;
  padding: 38px 5vw;
  color: #b9c8cf;
  background: #041624;
  font-size: 13px;
}

.footBrand p {
  margin: 10px 0 0;
  color: #8ba3b0;
}

.foot {
  color: #fff;
}

.foot img {
  height: 46px;
  width: auto;
}

.footLinks {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.footLinks a:hover,
.footContact a:hover {
  color: var(--cyan);
}

.footContact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 130px 8vw;
  background: #fff;
}

.faqList {
  max-width: 900px;
  margin-top: 60px;
}

.faqList details {
  border-bottom: 1px solid var(--line);
}

.faqList summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  color: var(--ink);
  cursor: pointer;
  font: 700 19px Manrope, sans-serif;
  list-style: none;
  transition: color 180ms ease, padding-left 180ms ease;
}

.faqList summary::-webkit-details-marker {
  display: none;
}

.faqList summary:hover {
  color: #168e91;
  padding-left: 10px;
}

.faqList summary::after {
  flex: none;
  color: var(--cyan);
  font: 800 26px Manrope, sans-serif;
  content: '+';
}

.faqList details[open] summary::after {
  content: '−';
}

.faqList details > p,
.faqList .coverage {
  max-width: 760px;
  margin: 0;
  padding: 0 4px 26px;
  color: #3a4d59;
  font-size: 16.5px;
  line-height: 1.7;
}

.faqList .coverage {
  margin-top: -14px;
  padding-left: 24px;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .labGrid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .labDetail {
    grid-template-columns: 1fr;
  }

  .labSpecs {
    flex-direction: row;
  }

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

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

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

@media (max-width: 800px) {
  header {
    height: 72px;
    padding: 0 22px;
  }

  .menuToggle {
    display: inline-flex;
  }

  .phone {
    display: none;
  }

  .siteNav {
    position: absolute;
    top: calc(100% - 4px);
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: rgba(4, 25, 39, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(15px);
  }

  .siteNav.is-open {
    display: flex;
  }

  .navScrim.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 19;
    background: rgba(3, 14, 23, 0.6);
  }

  .siteNav a {
    padding: 12px;
    opacity: 1;
  }

  .siteNav .navcta {
    margin-top: 4px;
    text-align: center;
  }

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

  .hero {
    min-height: 780px;
    height: auto;
  }

  .heroDecor {
    display: none;
  }

  .heroContent {
    width: 100%;
    margin: 0;
    padding: 140px 24px 230px;
  }

  .hero h1 {
    font-size: clamp(44px, 12.5vw, 56px);
  }

  .lead {
    font-size: 17px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .primary,
  .actions .secondary {
    text-align: center;
  }

  .stats {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .stats div {
    padding: 14px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

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

  .intro,
  .lab,
  .process,
  .works,
  .figures,
  .faq,
  .contact {
    padding: 90px 24px;
  }

  .faqList {
    margin-top: 40px;
  }

  .faqList summary {
    padding: 22px 2px;
    font-size: 17px;
  }

  .faqList details > p,
  .faqList .coverage {
    font-size: 15.5px;
  }

  .intro {
    gap: 25px;
  }

  .intro > p {
    padding-top: 0;
    font-size: 18px;
  }

  .labGrid {
    margin-top: 45px;
  }

  .stageHead {
    padding: 18px 18px 0;
  }

  .stageBody {
    padding: 14px 18px 0;
  }

  .stageFoot {
    padding: 14px 18px 20px;
  }

  .stageControls {
    width: 100%;
    margin-left: 0;
  }

  .runBtn,
  .resetBtn {
    flex: 1;
  }

  .labCard {
    padding: 26px;
  }

  .labSpecs {
    flex-direction: column;
  }

  .processSteps,
  .worksGrid,
  .figureGrid {
    grid-template-columns: 1fr;
  }

  .processSteps {
    gap: 14px;
    background: transparent;
  }

  .processSteps li {
    border-radius: 8px;
  }

  .processSteps h3 {
    margin-top: 30px;
  }

  .worksGrid {
    gap: 10px;
  }

  .worksGrid img {
    height: 210px;
  }

  .figureGrid > div {
    padding: 28px 24px;
  }

  .contact form {
    grid-template-columns: 1fr;
  }

  .contact label,
  .contact button,
  .demoNote,
  .formStatus {
    grid-column: 1 / -1;
  }

  .captchaRow input {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footLinks {
    justify-content: flex-start;
  }

  .footContact {
    text-align: left;
  }

  .sectionHead h2,
  .intro h2,
  .contact h2 {
    font-size: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
