:root {
  --ink: #102035;
  --ink-deep: #061528;
  --muted: #59697b;
  --line: #dce5ea;
  --paper: #ffffff;
  --mist: #f4f8f7;
  --green: #08784f;
  --green-deep: #065d42;
  --steel: #41576b;
  --gold: #c79a42;
  --shadow: 0 18px 45px rgba(6, 21, 40, 0.13);
  --max: 1180px;
}

* {
  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;
}

#services,
#packages,
#process,
#faq,
#contact {
  scroll-margin-top: 112px;
}

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

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

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 10px 12px;
  color: var(--paper);
  background: rgba(6, 21, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(16px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(16, 32, 53, 0.1);
  box-shadow: 0 12px 35px rgba(6, 21, 40, 0.12);
}

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

.brand img,
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--paper);
}

.brand span {
  display: grid;
  gap: 0;
  line-height: 1.02;
}

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

.brand small {
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.78;
}

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

.site-nav a {
  border-radius: 6px;
  padding: 10px 12px;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible {
  background: var(--mist);
}

.site-nav .nav-cta {
  margin-left: 6px;
  background: var(--green);
  color: var(--paper);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--green-deep);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: currentColor;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82svh;
  color: var(--paper);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-operations.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 21, 40, 0.9) 0%, rgba(6, 21, 40, 0.74) 42%, rgba(6, 21, 40, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 21, 40, 0.38), rgba(6, 21, 40, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 128px 0 62px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9be4c5;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-primary {
  color: var(--paper);
  background: var(--green);
  border-color: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 58px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.hero-proof div {
  min-height: 118px;
  padding: 18px;
  background: rgba(6, 21, 40, 0.48);
}

.hero-proof dt {
  color: #9be4c5;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-proof dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(calc(100% - 40px), var(--max));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.strip-item {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 820;
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item svg {
  width: 24px;
  height: 24px;
  color: var(--green);
  flex: 0 0 auto;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 810px;
}

.section-heading h2,
.contact-copy h2,
.proof-copy h2 {
  margin: 0;
  color: var(--ink-deep);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading > p:not(.eyebrow),
.contact-copy > p,
.proof-copy > p {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-intro {
  padding-bottom: 56px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 34px;
  color: var(--steel);
  font-size: 1.12rem;
}

.intro-grid p {
  margin: 0;
}

.section-services {
  width: 100%;
  padding: 92px max(20px, calc((100% - var(--max)) / 2));
  background: var(--mist);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.service-card,
.package-card,
.fit-list > div,
.process-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-card {
  min-height: 286px;
  padding: 24px;
}

.icon-box {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 6px;
  color: var(--green);
  background: #e8f4ef;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.service-card h3,
.package-card h3,
.fit-list h3,
.process-list h3 {
  margin: 20px 0 10px;
  color: var(--ink-deep);
  font-size: 1.2rem;
  line-height: 1.15;
}

.service-card p,
.package-card p,
.fit-list p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

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

.fit-list > div {
  min-height: 190px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}

.section-packages {
  width: 100%;
  padding: 92px max(20px, calc((100% - var(--max)) / 2));
  background: var(--ink-deep);
}

.section-packages .eyebrow {
  color: #9be4c5;
}

.section-packages .section-heading h2,
.section-packages .section-heading p {
  color: var(--paper);
}

.section-packages .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.package-card {
  position: relative;
  display: flex;
  min-height: 422px;
  flex-direction: column;
  padding: 26px;
}

.package-card-featured {
  border-color: rgba(155, 228, 197, 0.72);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
}

.package-badge {
  align-self: flex-start;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink-deep);
  background: #9be4c5;
  font-size: 0.78rem;
  font-weight: 900;
}

.package-top {
  min-height: 124px;
}

.package-card h3 {
  margin-top: 0;
  font-size: 1.45rem;
}

.package-card ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 24px;
  color: var(--steel);
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--green-deep);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.section-process {
  padding-bottom: 70px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.process-list li {
  min-height: 280px;
  padding: 24px;
}

.process-list span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
}

.section-industries {
  width: 100%;
  padding: 86px max(20px, calc((100% - var(--max)) / 2));
  background: #f7f5ef;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.industry-grid div {
  display: flex;
  min-height: 72px;
  align-items: center;
  border: 1px solid rgba(199, 154, 66, 0.24);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-weight: 840;
}

.section-proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 0.9fr);
  gap: 46px;
  align-items: center;
}

.proof-visual {
  display: grid;
  min-height: 380px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 120, 79, 0.08), rgba(199, 154, 66, 0.12)),
    #ffffff;
  border: 1px solid var(--line);
}

.proof-visual img {
  width: min(260px, 72%);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 32, 53, 0.11);
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.proof-points span {
  border-left: 4px solid var(--green);
  border-radius: 4px;
  padding: 12px 14px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 800;
}

.section-faq {
  padding-top: 42px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  color: var(--ink-deep);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

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

summary::after {
  content: "+";
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-weight: 900;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 54px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 92px;
  padding: 52px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 120, 79, 0.09), rgba(199, 154, 66, 0.11)),
    var(--mist);
  border: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.field-group {
  display: grid;
  gap: 8px;
}

label {
  color: var(--ink-deep);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d4dc;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(8, 120, 79, 0.14);
  outline: none;
}

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

.form-button {
  width: 100%;
  cursor: pointer;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note:empty {
  display: none;
}

.form-note.is-success {
  color: var(--green-deep);
  font-weight: 800;
}

.form-note.is-error {
  color: #9d2a2a;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 28px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-weight: 900;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.site-footer p {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer nav a {
  color: var(--ink);
  font-weight: 800;
}

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

@media (max-width: 980px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 12px;
    right: 12px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a,
  .site-nav .nav-cta {
    display: block;
    margin: 0;
    color: var(--ink);
    background: transparent;
  }

  .site-nav .nav-cta {
    color: var(--paper);
    background: var(--green);
  }

  .hero {
    min-height: 78svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 21, 40, 0.92) 0%, rgba(6, 21, 40, 0.68) 68%, rgba(6, 21, 40, 0.22) 100%),
      linear-gradient(0deg, rgba(6, 21, 40, 0.38), rgba(6, 21, 40, 0.1));
  }

  .trust-strip,
  .service-grid,
  .package-grid,
  .process-list,
  .industry-grid,
  .proof-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-item:nth-child(2) {
    border-right: 0;
  }

  .strip-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .split-section,
  .section-proof,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .package-card,
  .process-list li,
  .service-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .brand img {
    width: 38px;
    height: 38px;
  }

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

  .brand small {
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 21, 40, 0.96), rgba(6, 21, 40, 0.78)),
      linear-gradient(0deg, rgba(6, 21, 40, 0.28), rgba(6, 21, 40, 0.18));
  }

  .hero-inner {
    width: min(calc(100% - 32px), var(--max));
    padding: 116px 0 40px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .hero-proof,
  .trust-strip,
  .intro-grid,
  .service-grid,
  .package-grid,
  .process-list,
  .industry-grid,
  .proof-points,
  .fit-list {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    margin-top: 38px;
  }

  .hero-proof div {
    min-height: auto;
  }

  .trust-strip {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .strip-item {
    min-height: 70px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

  .section,
  .section-services,
  .section-packages,
  .section-industries {
    width: 100%;
    padding: 64px 16px;
  }

  .section-heading h2,
  .contact-copy h2,
  .proof-copy h2 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

  .contact-section {
    width: 100%;
    margin-bottom: 64px;
    padding: 56px 16px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: min(calc(100% - 32px), var(--max));
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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