:root {
  --ink: #14283c;
  --muted: #65707a;
  --paper: #faf7f1;
  --surface: #fffdf8;
  --line: #e2d8c6;
  --navy: #14283c;
  --navy-dark: #0a1e32;
  --gold: #f0be50;
  --gold-dark: #c88719;
  --steel: #304961;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(20, 40, 60, 0.13);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 16px auto 0;
  padding: 12px;
  border: 1px solid rgba(221, 213, 199, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 12px 34px rgba(20, 40, 60, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(20, 40, 60, 0.12);
  border-radius: 6px;
  background: var(--surface);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.site-nav a {
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(20, 40, 60, 0.08);
  outline: none;
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--navy);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--white);
  background: var(--navy-dark);
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section-pad {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.hero-copy {
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-lede,
.section-heading p,
.about-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button.primary {
  color: var(--white);
  background: var(--navy);
}

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

.button.secondary {
  color: var(--navy-dark);
  border-color: var(--line);
  background: var(--surface);
}

.hero-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(20, 40, 60, 0.95), rgba(48, 73, 97, 0.88)),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(255, 255, 255, 0.16) 32px 33px),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(255, 255, 255, 0.16) 32px 33px);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 54px;
  border: 2px solid rgba(255, 253, 248, 0.55);
  border-radius: 6px;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border: 44px solid rgba(240, 190, 80, 0.72);
  border-radius: 50%;
}

.hero-logo-card,
.status-card,
.measure-card {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 24px 60px rgba(10, 30, 50, 0.26);
}

.hero-logo-card {
  left: 28px;
  top: 28px;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding: 8px;
}

.hero-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.status-card {
  top: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.status-card p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #31a66a;
  box-shadow: 0 0 0 5px rgba(49, 166, 106, 0.18);
}

.measure-card {
  left: 28px;
  bottom: 28px;
  width: min(360px, calc(100% - 56px));
  padding: 24px;
}

.measure-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.measure-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.72rem;
  line-height: 1.05;
}

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

.mini-grid {
  position: absolute;
  top: 168px;
  left: 84px;
  display: grid;
  grid-template-columns: repeat(2, 84px);
  gap: 16px;
}

.mini-grid span {
  width: 84px;
  height: 84px;
  border: 2px solid rgba(255, 253, 248, 0.56);
  border-radius: 6px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100% - 32px, var(--max));
  margin: -44px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(20, 40, 60, 0.08);
}

.trust-strip div {
  padding: 22px 24px;
}

.trust-strip div + div {
  border-left: 1px solid var(--line);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 34px;
  margin-bottom: 34px;
  border-radius: 6px;
  color: var(--navy-dark);
  background: rgba(240, 190, 80, 0.24);
  font-weight: 900;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy-dark), var(--steel));
  overflow: hidden;
}

.tool-line {
  position: absolute;
  left: 22%;
  top: 16%;
  width: 56%;
  height: 68%;
  border: 3px solid rgba(255, 253, 248, 0.52);
  border-radius: 7px;
}

.tool-block {
  position: absolute;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.block-one {
  width: 42%;
  height: 24%;
  left: 11%;
  bottom: 16%;
}

.block-two {
  width: 36%;
  height: 34%;
  right: 12%;
  top: 14%;
  background: #dde4ea;
}

.block-three {
  width: 22%;
  height: 18%;
  right: 18%;
  bottom: 19%;
  background: var(--gold);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.contact {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
}

.contact-details a {
  color: var(--navy);
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(20, 40, 60, 0.12);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

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

.form-note {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto 32px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: start;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}


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

  .site-nav {
    position: fixed;
    inset: 86px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

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

  .hero {
    min-height: auto;
  }

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

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

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

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .trust-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-pad,
  .trust-strip,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    margin-top: 12px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .section-pad {
    padding: 68px 0;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 360px;
  }

  .hero-panel::before {
    inset: 34px;
  }

  .hero-logo-card {
    left: 16px;
    top: 16px;
    width: 72px;
    height: 72px;
    padding: 7px;
  }

  .status-card {
    right: 16px;
    top: 16px;
  }

  .measure-card {
    left: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 20px;
  }

  .measure-card strong {
    font-size: 1.42rem;
  }

  .mini-grid {
    top: 112px;
    left: 38px;
    grid-template-columns: repeat(2, 58px);
    gap: 12px;
  }

  .mini-grid span {
    width: 58px;
    height: 58px;
  }

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

  .service-card {
    min-height: auto;
  }

  .about-media {
    min-height: 340px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
