:root {
  color-scheme: light;
  --bg: #f4f2ec;
  --surface: #ffffff;
  --surface-soft: #f8f7f2;
  --ink: #151b21;
  --muted: #5f6a72;
  --line: #ded8cb;
  --steel: #226276;
  --green: #237651;
  --amber: #b87924;
  --blue: #245f9f;
  --shadow: 0 20px 50px rgba(21, 27, 33, 0.12);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

p {
  margin-bottom: 0;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(222, 216, 203, 0.78);
  background: rgba(244, 242, 236, 0.88);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(21, 27, 33, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 36px));
  min-height: var(--header-height);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(34, 98, 118, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 118, 81, 0.92), rgba(34, 98, 118, 0.94)),
    #226276;
  box-shadow: 0 10px 24px rgba(34, 98, 118, 0.22);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

.brand-mark::before {
  inset: 11px;
}

.brand-mark::after {
  inset: 17px;
}

.brand-name {
  font-size: 18px;
  font-weight: 850;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 13px;
  color: #2f3942;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  background: #ffffff;
  color: var(--steel);
}

.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.page-section {
  outline: none;
}

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

.hero {
  position: relative;
  min-height: clamp(500px, 62svh, 630px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #17222a;
}

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

.hero-media {
  background-image: url("https://whost.weebly.com/uploads/2/8/8/4/28848591/header_images/1401220728.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 18, 24, 0.9) 0%, rgba(10, 18, 24, 0.68) 45%, rgba(10, 18, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 18, 24, 0.58), rgba(10, 18, 24, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(44px, 5vw, 68px) 0;
}

.section-kicker {
  margin-bottom: 16px;
  color: #d4efe5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 1000px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 74px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.56;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.copy-stack p {
  color: #3f4b54;
  font-size: 18px;
  line-height: 1.72;
}

.hero-copy p {
  color: inherit;
}

.content-section {
  padding: clamp(74px, 10vw, 126px) 0;
}

.services-section {
  background: var(--surface);
}

.about-section {
  background:
    linear-gradient(90deg, rgba(36, 95, 159, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(35, 118, 81, 0.06) 1px, transparent 1px),
    var(--surface-soft);
  background-size: 46px 46px;
}

.contact-section {
  background: #ffffff;
}

.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.reverse-layout {
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1fr);
}

.reverse-layout .section-copy {
  order: 2;
}

.section-copy .section-kicker,
.contact-section .section-kicker {
  color: var(--steel);
}

.signal-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signal-card,
.client-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.signal-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}

.signal-card span {
  display: block;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.signal-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.signal-card:nth-child(2) {
  border-color: rgba(34, 98, 118, 0.24);
  background: #edf7f6;
}

.signal-card:nth-child(3) {
  border-color: rgba(184, 121, 36, 0.25);
  background: #fff8ec;
}

.signal-card:nth-child(4) {
  border-color: rgba(35, 118, 81, 0.24);
  background: #eef8f1;
}

.client-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
}

.client-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 98, 118, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(35, 118, 81, 0.08), rgba(36, 95, 159, 0.08));
  pointer-events: none;
}

.client-list {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-list li {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(222, 216, 203, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 10px 12px;
  color: #27313a;
  font-weight: 780;
  line-height: 1.35;
}

.client-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(35, 118, 81, 0.12);
}

.contact-layout {
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  color: #33404a;
  font-style: normal;
  font-size: 19px;
  line-height: 1.45;
}

.contact-details a {
  width: fit-content;
  color: var(--steel);
  text-decoration: none;
  font-weight: 780;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
}

.required-note {
  color: var(--muted);
  font-size: 14px;
}

.contact-form label,
.name-field {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
  color: #2c3740;
  font-size: 14px;
  font-weight: 850;
}

.name-field legend {
  margin-bottom: 8px;
  padding: 0;
}

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

.name-grid label {
  gap: 6px;
}

.name-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfc7b9;
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
  outline: none;
}

input {
  min-height: 48px;
  padding: 0 12px;
}

textarea {
  min-height: 150px;
  resize: vertical;
  padding: 12px;
  line-height: 1.5;
}

input:focus,
textarea:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(34, 98, 118, 0.16);
}

.submit-button {
  min-height: 48px;
  width: fit-content;
  min-width: 132px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  padding: 0 18px;
  font-weight: 900;
}

.submit-button:hover {
  background: #27323c;
}

.form-status {
  min-height: 22px;
  color: var(--green);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #ffffff;
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner span {
  font-weight: 850;
}

.footer-inner a {
  color: #d4efe5;
  text-decoration: none;
  font-weight: 760;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 36px));
  border: 1px solid rgba(35, 118, 81, 0.22);
  border-radius: 8px;
  background: #f4fff9;
  color: #17482f;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  font-weight: 780;
}

@media (max-width: 940px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 18px;
    left: 18px;
    display: none;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    padding: 8px;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    min-height: 48px;
  }

  .split-layout,
  .reverse-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .reverse-layout .section-copy {
    order: 0;
  }

  .signal-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }

  .header-inner,
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .brand-name {
    font-size: 16px;
  }

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

  .hero {
    min-height: 610px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy,
  .copy-stack p {
    font-size: 16px;
    line-height: 1.66;
  }

  .content-section {
    padding: 64px 0;
  }

  .signal-board,
  .name-grid {
    grid-template-columns: 1fr;
  }

  .signal-card {
    min-height: 118px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
