:root {
  --ink: #17212b;
  --muted: #66717d;
  --line: #dce3e8;
  --paper: #ffffff;
  --soft: #f5f8f9;
  --deep: #0f2f38;
  --teal: #167984;
  --teal-dark: #0f5c65;
  --gold: #c59b48;
  --danger: #a33a31;
  --success: #28734d;
  --shadow: 0 18px 48px rgba(20, 34, 42, 0.12);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

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

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 227, 232, 0.65);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(20, 34, 42, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.toast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 12px 20px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 28px rgba(20, 34, 42, 0.14);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--danger);
}

.toast.is-hiding {
  opacity: 0;
  transform: translateY(-100%);
}

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

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

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

.brand span {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: var(--deep);
}

.site-nav a:hover {
  color: var(--teal);
}

.client-link {
  padding: 10px 14px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  place-items: center;
  gap: 4px;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--deep);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: start;
  padding: 122px 0 58px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 38, 45, 0.88) 0%, rgba(13, 38, 45, 0.68) 48%, rgba(13, 38, 45, 0.28) 100%),
    linear-gradient(0deg, rgba(13, 38, 45, 0.55), rgba(13, 38, 45, 0.08));
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: var(--container);
  text-align: left;
}

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

.hero-eyebrow {
  text-align: left;
  margin: 44px 0 8px;
}

.hero h1,
.section h2,
.intro-grid h2,
.site-footer h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 1080px;
  margin: 0 auto;
  font-size: clamp(1.85rem, 3.6vw, 3.35rem);
  text-align: center;
}

.hero-lead {
  max-width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 54px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.22);
}

.hero-stats div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.13);
}

.hero-stats dt {
  font-size: 1.8rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.intro-band {
  background: var(--soft);
  padding: 28px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.intro-grid article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.intro-grid img {
  width: 150px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.intro-grid h2 {
  font-size: 1.2rem;
}

.intro-grid p {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: var(--muted);
  text-align: justify;
  text-align-last: left;
}

.section {
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  color: var(--ink);
}

.prose p,
.section-copy {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.prose p {
  text-align: justify;
  text-align-last: left;
}

.services {
  background: var(--deep);
  color: #fff;
}

.services h2 {
  color: #fff;
}

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

.section-heading p:last-child {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.service-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  text-align: justify;
  text-align-last: left;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.team {
  background: var(--soft);
}

.team-list {
  display: grid;
  gap: 18px;
}

.person {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.person-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
}

.person h3 {
  margin: 0;
  font-size: 1.25rem;
}

.person p {
  margin: 8px 0 0;
  color: var(--muted);
}

.person .role {
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-panel {
  position: sticky;
  top: 110px;
}

.contact-panel p {
  color: var(--muted);
}

.contact-panel .eyebrow {
  color: var(--gold);
}

.contact-list {
  display: grid;
  gap: 6px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  color: var(--muted);
}

.contact-list .phone-item {
  display: grid;
  gap: 0;
}

.contact-list small {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-list strong {
  color: var(--deep);
}

.contact-list span,
.contact-list a {
  color: var(--muted);
}

.map-link {
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.faq {
  background: var(--soft);
}

.faq-heading {
  margin-bottom: 30px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(20, 34, 42, 0.06);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--deep);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.hidden-field {
  display: none;
}

.form-row {
  position: relative;
  display: grid;
  margin-bottom: 18px;
}

.form-row.two {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-field {
  position: relative;
}

.form-row label,
.form-field label {
  position: absolute;
  top: 13px;
  left: 14px;
  padding: 0 6px;
  color: var(--muted);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 800;
  pointer-events: none;
  transform-origin: left center;
  transition: transform 0.16s ease, color 0.16s ease, top 0.16s ease, font-size 0.16s ease;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

input::placeholder,
textarea::placeholder {
  color: transparent;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(22, 121, 132, 0.18);
  border-color: var(--teal);
}

.form-row > input:focus + label,
.form-row > textarea:focus + label,
.form-row > input:not(:placeholder-shown) + label,
.form-row > textarea:not(:placeholder-shown) + label,
.form-field > input:focus + label,
.form-field > input:not(:placeholder-shown) + label {
  top: -9px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  transform: translateY(0);
}

textarea {
  resize: vertical;
}

.recaptcha-wrap {
  margin: 0;
  min-height: 78px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-button {
  width: auto;
  min-width: 190px;
}

.site-footer {
  padding: 58px 0 26px;
  background: #0b232a;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 58px;
  align-items: start;
}

.footer-about {
  max-width: 520px;
}

.footer-logo {
  width: 140px;
  height: auto;
  margin: 0 0 18px;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.footer-social h3 {
  margin: 20px 0 8px;
  color: #fff;
  font-size: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

.footer-social a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-footer p {
  margin: 0;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 2px 0;
}

.footer-contact span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer-credits {
  display: grid;
  gap: 4px;
}

.footer-credits a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-decoration: none;
}

.footer-credits a:hover {
  color: #fff;
}

.claims {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.claims img {
  width: 170px;
  height: auto;
}

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

  .site-nav {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

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

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

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

  .contact-panel {
    position: static;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 230px;
  }

  .header-inner {
    gap: 14px;
  }

  .site-nav {
    top: 74px;
    right: 14px;
    left: 14px;
  }

  .hero {
    min-height: 640px;
    padding: 104px 0 42px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-stats,
  .intro-grid article,
  .service-grid,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 18px;
  }

  .intro-grid article {
    padding: 14px;
  }

  .intro-grid img {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .split {
    gap: 30px;
  }

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

  .contact-form {
    padding: 20px;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .form-button {
    width: 100%;
  }

  .footer-contact li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

}
