/*
Theme Name: ATZ Scientific Services
Theme URI: https://atzscientific.co.uk
Author: ATZ Scientific Services Ltd
Description: A responsive WordPress theme for ATZ Scientific Services, including laboratory equipment service sections and a secure enquiry form.
Version: 1.0.1
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: atz-scientific
*/

:root {
  --navy-950: #041632;
  --navy-900: #071e43;
  --navy-800: #0b2d60;
  --blue-700: #0d56a6;
  --blue-600: #1478c6;
  --blue-500: #2b9fe3;
  --blue-100: #dff2ff;
  --ice: #f3f8fc;
  --ink: #10243e;
  --muted: #5e7188;
  --line: #d9e4ee;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(5, 31, 67, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  z-index: 99999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 5px;
  background: white;
  color: var(--navy-900);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy-950);
  color: #cfe5f7;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}

.topbar a {
  color: white;
  font-weight: 600;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(217, 228, 238, 0.8);
  backdrop-filter: blur(14px);
}

body.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  width: 165px;
  height: 70px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 165px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 650;
  color: #314b68;
}

.nav > a:not(.nav-cta) {
  position: relative;
  padding: 27px 0;
}

.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 18px;
  height: 2px;
  background: var(--blue-500);
  transition: right 180ms ease;
}

.nav > a:not(.nav-cta):hover::after,
.nav > a:not(.nav-cta):focus-visible::after {
  right: 0;
}

.nav-cta {
  padding: 13px 20px;
  border-radius: 7px;
  background: var(--blue-700);
  color: white;
  box-shadow: 0 9px 24px rgba(13, 86, 166, 0.2);
  transition: transform 160ms ease, background 160ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--ice);
  padding: 11px 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  background:
    radial-gradient(circle at 85% 30%, rgba(43, 159, 227, 0.24), transparent 30%),
    linear-gradient(122deg, var(--navy-950) 0%, var(--navy-900) 57%, #0c3b75 100%);
  color: white;
}

.hero-grid-overlay,
.contact-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, transparent, black 58%, black);
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 108px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #a7dfff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--blue-500);
}

.eyebrow.dark {
  color: var(--blue-700);
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(52px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 720;
}

.hero h1 em {
  display: block;
  color: #63c6ff;
  font-style: normal;
}

.hero-lead {
  max-width: 575px;
  margin: 28px 0 0;
  color: #cadced;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button svg,
.text-link svg,
.service-card a svg,
.equipment-note a svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 160ms ease;
}

.button:hover svg,
.button:focus-visible svg,
.text-link:hover svg,
.service-card a:hover svg,
.equipment-note a:hover svg {
  transform: translateX(3px);
}

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

.button-primary {
  background: var(--blue-500);
  color: var(--navy-950);
  box-shadow: 0 12px 30px rgba(43, 159, 227, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #6ccaff;
}

.button-secondary {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.055);
  color: white;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.5);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  margin-top: 40px;
  color: #9fb6cd;
  font-size: 12px;
}

.trust-row span {
  position: relative;
}

.trust-row span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 3px;
  width: 1px;
  height: 11px;
  background: rgba(255,255,255,.22);
}

.trust-row b {
  color: white;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
}

.instrument-card {
  width: 100%;
  max-width: 610px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
  transform: perspective(900px) rotateY(-3deg) rotateX(1deg);
}

.instrument-toolbar {
  min-height: 55px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-bottom: 1px solid #dce8f2;
  background: #f7fbfe;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.instrument-toolbar small {
  color: #7a8ea3;
  font-size: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ec985;
  box-shadow: 0 0 0 5px rgba(46,201,133,.12);
}

.instrument-body {
  display: grid;
  grid-template-columns: 165px 1fr;
  min-height: 330px;
}

.module-stack {
  padding: 25px 18px;
  border-right: 1px solid #dce8f2;
  background: linear-gradient(#edf5fb, #f8fbfd);
}

.module {
  position: relative;
  height: 80px;
  margin-bottom: 11px;
  padding: 14px 12px;
  overflow: hidden;
  border: 1px solid #c7d9e8;
  border-radius: 7px;
  background: white;
  box-shadow: 0 5px 12px rgba(14,52,91,.08);
}

.module::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-500));
}

.module span {
  display: block;
  color: #6a7e91;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .1em;
}

.module i {
  position: absolute;
  top: 36px;
  left: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ec985;
}

.module b {
  position: absolute;
  top: 33px;
  left: 29px;
  font-size: 10px;
}

.trace-panel {
  padding: 28px 22px 20px;
}

.trace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.trace-heading span {
  color: #778a9e;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
}

.trace-heading b {
  color: var(--blue-700);
  font-size: 13px;
}

.trace-panel svg {
  display: block;
  width: 100%;
}

.trace-grid {
  fill: none;
  stroke: #e7eef4;
  stroke-width: 1;
}

.trace-fill {
  fill: url(#traceFill);
}

.trace-line {
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 2.3;
}

.trace-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 20px;
  color: #64788d;
  font-size: 9px;
}

.trace-meta i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
}

.meta-blue { background: var(--blue-500); }
.meta-green { background: #2ec985; }

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 255px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: rgba(7,30,67,.92);
  box-shadow: 0 14px 45px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
}

.floating-badge span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(43,159,227,.17);
  color: #6ccaff;
  font-size: 13px;
  font-weight: 800;
}

.floating-badge p {
  margin: 0;
  color: #aebfd1;
  font-size: 9px;
  line-height: 1.5;
}

.floating-badge b {
  display: block;
  color: white;
  font-size: 11px;
}

.badge-one { left: -25px; bottom: 35px; }
.badge-two { right: -18px; top: 28px; }

.hero-wave {
  position: absolute;
  z-index: 3;
  left: -2%;
  right: -2%;
  bottom: -56px;
  height: 112px;
  border-radius: 50% 50% 0 0 / 28% 28% 0 0;
  background: white;
  transform: rotate(-1.2deg);
  transform-origin: center;
}

.section {
  padding: 110px 0;
}

.services-section {
  padding-top: 95px;
}

.section-heading h2,
.why-copy h2,
.about-copy h2,
.contact-copy h2,
.process-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 56px;
}

.split-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-height: 365px;
  padding: 38px 28px 32px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:first-child { border-left: 1px solid var(--line); }

.service-card:hover {
  position: relative;
  z-index: 2;
  background: white;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 45px;
  border-radius: 9px;
  background: var(--blue-100);
  color: var(--blue-700);
}

.service-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-card h3,
.equipment-card h3,
.why-points h3,
.process-grid h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 20px;
  letter-spacing: -0.025em;
}

.service-card > p {
  min-height: 105px;
  margin: 15px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-card a,
.equipment-note a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 750;
}

.equipment-section {
  background: var(--ice);
}

.centred-heading {
  max-width: 720px;
  margin: 0 auto 55px;
  text-align: center;
}

.centred-heading .eyebrow {
  justify-content: center;
}

.centred-heading > p:last-child {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.equipment-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  min-height: 235px;
  padding: 29px;
  border: 1px solid #dbe7f0;
  border-radius: 12px;
  background: white;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.equipment-card:hover {
  border-color: #abd8f3;
  box-shadow: 0 18px 45px rgba(7, 45, 96, .09);
  transform: translateY(-5px);
}

.equipment-code {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #76cdff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
}

.equipment-card > div:last-child > p {
  min-height: 74px;
  margin: 13px 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  padding: 5px 8px;
  border: 1px solid #dfe9f2;
  border-radius: 4px;
  background: #f8fbfd;
  color: #547087;
  font-size: 9px;
  font-weight: 700;
}

.equipment-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 10px;
  background: var(--navy-900);
  color: white;
}

.equipment-note > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.equipment-note p {
  margin: 0;
  color: #bacbdd;
  font-size: 13px;
}

.equipment-note b { color: white; }
.equipment-note a { flex: 0 0 auto; color: #74ccff; }

.pulse {
  position: relative;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #44dc99;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(68,220,153,.5);
  border-radius: 50%;
}

.why-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background:
    radial-gradient(circle at 10% 25%, rgba(43,159,227,.15), transparent 30%),
    linear-gradient(125deg, #041632, #0b2c5a);
  color: white;
}

.why-section::after {
  content: "ATZ";
  position: absolute;
  right: -70px;
  bottom: -105px;
  color: rgba(255,255,255,.028);
  font-size: 360px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.08em;
}

.why-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  gap: 100px;
  align-items: center;
}

.why-copy h2 { color: white; }

.why-copy > p:not(.eyebrow) {
  margin: 27px 0 30px;
  color: #b7cadc;
  font-size: 16px;
  line-height: 1.75;
}

.light-link { color: #6dcbff; }

.why-points {
  border-top: 1px solid rgba(255,255,255,.15);
}

.why-points article {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.why-points strong {
  color: #67c8ff;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.05em;
}

.why-points h3 {
  margin-bottom: 8px;
  color: white;
}

.why-points p {
  margin: 0;
  color: #aebfd0;
  font-size: 13px;
  line-height: 1.65;
}

.process-section {
  background: white;
}

.about-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
  align-items: center;
  margin-bottom: 125px;
}

.about-card {
  position: relative;
  min-height: 415px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(43,159,227,.1), transparent 45%),
    var(--navy-900);
  box-shadow: var(--shadow);
  color: white;
}

.about-card::before,
.about-card::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(83,190,248,.18);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.about-card::before { width: 480px; height: 230px; top: -30px; left: -110px; }
.about-card::after { width: 420px; height: 190px; top: 35px; left: -70px; }

.about-mark {
  position: absolute;
  top: 55px;
  left: 46px;
  z-index: 2;
  color: #64c7ff;
  font-size: 78px;
  font-weight: 850;
  line-height: .8;
  letter-spacing: -.09em;
}

.about-line {
  position: relative;
  z-index: 2;
  width: 45px;
  height: 3px;
  margin-bottom: 24px;
  background: var(--blue-500);
}

.about-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 21px;
  font-weight: 620;
  line-height: 1.5;
}

.about-copy .large-copy {
  margin: 27px 0 19px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.6;
}

.about-copy > p:not(.eyebrow):not(.large-copy) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.about-values span {
  padding: 9px 12px;
  border-radius: 5px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 750;
}

.process-heading {
  max-width: 660px;
  margin-bottom: 52px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-grid article {
  min-height: 240px;
  padding: 36px 42px 0 0;
  border-right: 1px solid var(--line);
}

.process-grid article:not(:first-child) { padding-left: 42px; }
.process-grid article:last-child { border-right: 0; }

.process-grid article > span {
  display: block;
  margin-bottom: 33px;
  color: var(--blue-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.process-grid p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: linear-gradient(125deg, var(--navy-950), #0b3467);
  color: white;
}

.contact-grid-overlay { mask-image: linear-gradient(to left, black, transparent 80%); }

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 85px;
  align-items: start;
}

.contact-copy h2 { color: white; }

.contact-copy > p:not(.eyebrow) {
  margin: 26px 0 35px;
  color: #bbccdd;
  line-height: 1.75;
}

.contact-details {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.contact-details span {
  display: block;
  margin-bottom: 7px;
  color: #7dbfe5;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-details a {
  font-size: 17px;
  font-weight: 650;
}

.contact-assurance {
  margin-top: 32px;
  color: #d4e0ea;
  font-size: 13px;
}

.contact-assurance ul {
  margin: 13px 0 0;
  padding-left: 18px;
  color: #9eb4ca;
  line-height: 1.85;
}

.quote-form {
  padding: 40px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: white;
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
  color: var(--ink);
}

.form-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-heading h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 25px;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

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

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #38516b;
  font-size: 11px;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #cfdce7;
  border-radius: 6px;
  outline: 0;
  background: #fbfdff;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-grid input,
.form-grid select {
  height: 46px;
  padding: 0 13px;
}

.form-grid textarea {
  min-height: 125px;
  resize: vertical;
  padding: 13px;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(43,159,227,.13);
}

.form-grid input::placeholder,
.form-grid textarea::placeholder { color: #9cabb9; }

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

.submit-button {
  margin-top: 25px;
  border: 0;
  background: var(--blue-700);
  color: white;
}

.submit-button:hover,
.submit-button:focus-visible { background: var(--navy-800); }

.form-note {
  display: inline;
  margin: 0 0 0 15px;
  color: #7a8b9c;
  font-size: 9px;
}

.form-status {
  min-height: 16px;
  margin: 10px 0 0;
  color: var(--blue-700);
  font-size: 11px;
}

.form-notice {
  margin: 0 0 24px;
  padding: 13px 15px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.55;
}

.form-notice.success {
  border: 1px solid #b8e8d0;
  background: #edf9f3;
  color: #176943;
}

.form-notice.error {
  border: 1px solid #f0c6c6;
  background: #fff4f4;
  color: #8c2929;
}

.atz-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.atz-page {
  min-height: 58vh;
  padding: 90px 0 110px;
  background: var(--ice);
}

.atz-page article {
  max-width: 850px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
}

.atz-page h1 {
  margin: 0 0 28px;
  color: var(--navy-900);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.atz-page .entry-content {
  color: var(--muted);
  line-height: 1.8;
}

.atz-page .entry-content h2,
.atz-page .entry-content h3 {
  color: var(--navy-900);
}

footer {
  padding: 60px 0 20px;
  background: #031329;
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-bottom: 50px;
}

.footer-brand img {
  display: block;
  width: 190px;
  height: 72px;
  object-fit: contain;
  padding: 4px;
  border-radius: 5px;
  background: white;
}

.footer-brand p {
  max-width: 430px;
  margin: 22px 0 0;
  color: #8fa8bf;
  font-size: 13px;
  line-height: 1.75;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}

.footer-links h3 {
  margin: 0 0 18px;
  color: #6fc9fa;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  color: #b5c7d7;
  font-size: 12px;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.11);
  color: #738aa0;
  font-size: 10px;
}

.footer-bottom a {
  color: #b5c7d7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: white;
}

.footer-separator {
  margin: 0 7px;
  color: #526c84;
}

@media (max-width: 1060px) {
  .nav { gap: 22px; }
  .hero-layout { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { width: min(720px, 100%); margin: 0 auto; }
  .hero { min-height: 1080px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { border-bottom: 1px solid var(--line); }
  .service-card:nth-child(odd) { border-left: 1px solid var(--line); }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .why-layout { gap: 60px; }
  .about-layout { gap: 60px; }
  .contact-layout { gap: 50px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 720px); }
  .topbar-inner span { display: none; }
  .topbar-inner { justify-content: center; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 24px 26px;
    border-bottom: 1px solid var(--line);
    background: white;
    box-shadow: 0 25px 45px rgba(5,31,67,.12);
  }
  .nav.open { display: flex; }
  .nav > a:not(.nav-cta) { padding: 13px 0; }
  .nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .hero-layout { min-height: 0; padding: 75px 0 125px; }
  .hero { min-height: 1030px; }
  .hero h1 { font-size: clamp(50px, 11vw, 68px); }
  .instrument-card { transform: none; }
  .badge-one { left: -6px; bottom: 8px; }
  .badge-two { right: -7px; top: -18px; }
  .split-heading,
  .why-layout,
  .about-layout,
  .contact-layout,
  .footer-main { grid-template-columns: 1fr; }
  .split-heading { gap: 25px; }
  .why-layout, .about-layout, .contact-layout { gap: 50px; }
  .about-layout { margin-bottom: 95px; }
  .why-copy { max-width: 620px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article,
  .process-grid article:not(:first-child) {
    min-height: 0;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .process-grid article > span { margin-bottom: 15px; }
  .footer-main { gap: 50px; }
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 26px, 540px); }
  .brand { width: 145px; height: 61px; }
  .brand img { width: 145px; height: auto; }
  .header-inner { min-height: 70px; }
  .nav { top: 70px; }
  .hero { min-height: 975px; }
  .hero-layout { padding-top: 58px; gap: 65px; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-row span:not(:last-child)::after { display: none; }
  .hero-visual { min-height: 385px; }
  .instrument-body { grid-template-columns: 112px 1fr; min-height: 280px; }
  .instrument-toolbar { grid-template-columns: auto 1fr; }
  .instrument-toolbar small { display: none; }
  .module-stack { padding: 18px 10px; }
  .module { height: 66px; padding: 10px 8px; }
  .module i { top: 31px; left: 9px; }
  .module b { top: 28px; left: 23px; font-size: 8px; }
  .trace-panel { padding: 20px 12px; }
  .trace-heading { flex-direction: column; align-items: start; margin-bottom: 16px; }
  .trace-meta { display: none; }
  .floating-badge { width: 220px; }
  .badge-one { bottom: -18px; }
  .badge-two { top: -36px; }
  .section, .why-section, .contact-section { padding: 78px 0; }
  .services-section { padding-top: 80px; }
  .section-heading h2,
  .why-copy h2,
  .about-copy h2,
  .contact-copy h2,
  .process-heading h2 { font-size: 38px; }
  .service-grid,
  .equipment-grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card:first-child,
  .service-card:nth-child(odd) { border-left: 1px solid var(--line); }
  .service-card { min-height: 330px; }
  .equipment-card { min-height: 0; }
  .equipment-note { align-items: flex-start; flex-direction: column; }
  .equipment-note > div { align-items: flex-start; }
  .why-points article { grid-template-columns: 75px 1fr; }
  .why-points strong { font-size: 31px; }
  .about-card { min-height: 350px; padding: 32px; }
  .about-mark { left: 31px; top: 42px; }
  .about-layout { margin-bottom: 75px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .quote-form { padding: 26px 20px; }
  .form-heading { align-items: start; flex-direction: column; gap: 6px; }
  .submit-button { width: 100%; }
  .form-note { display: block; margin: 12px 0 0; text-align: center; }
  .footer-links { gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
