:root {
  --ink: #172126;
  --muted: #607078;
  --line: rgba(23, 33, 38, 0.14);
  --line-strong: rgba(23, 33, 38, 0.24);
  --paper: #f7f9f8;
  --white: #ffffff;
  --steel: #12303a;
  --steel-2: #0d252d;
  --blue: #1e6a8a;
  --red: #c64935;
  --gold: #f4b842;
  --mist: #d9e9ec;
  --green: #28715a;
  --shadow: 0 22px 54px rgba(13, 37, 45, 0.13);
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
  background:
    linear-gradient(90deg, rgba(18, 48, 58, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #f5f8f8 0%, #ffffff 44%, #edf4f5 100%);
  background-size: 56px 56px, auto;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--steel);
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 37, 45, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--white);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, var(--red), var(--blue));
  font-family: "Archivo", sans-serif;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  overflow: hidden;
  max-width: 360px;
  font-family: "Archivo", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  font-weight: 700;
}

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

.site-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 32px rgba(198, 73, 53, 0.26);
}

.button-secondary,
.header-button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.09);
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 37, 45, 0.98), rgba(18, 48, 58, 0.9) 58%, rgba(18, 48, 58, 0.74)),
    linear-gradient(135deg, var(--steel-2), var(--steel));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 58px 0;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
  color: #ffb1a4;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 6vw, 5.75rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.32rem;
}

.hero-text {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

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

.rating-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  max-width: 640px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.rating-strip div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.rating-strip dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rating-strip dd {
  margin: 4px 0 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 800;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(330px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(13, 37, 45, 0.88);
  backdrop-filter: blur(10px);
}

.service-note span,
.service-type {
  display: inline-flex;
  margin-bottom: 9px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-note strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 1.2rem;
  line-height: 1.12;
}

.proof-band {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-grid article {
  min-height: 160px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.proof-grid article:last-child {
  border-right: 0;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-family: "Archivo", sans-serif;
  font-size: 1.1rem;
}

.proof-grid span {
  margin-top: 10px;
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 720px;
}

.section-heading p,
.split-copy p,
.contact-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.service-card,
.review-card,
.manager-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(13, 37, 45, 0.06);
}

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

.service-card-featured {
  color: var(--white);
  background: linear-gradient(145deg, var(--steel), var(--blue));
}

.service-card-featured .service-type,
.service-card-featured p {
  color: rgba(255, 255, 255, 0.78);
}

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

.split-section {
  background: linear-gradient(180deg, #eaf2f3, #f9fbfb);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 900;
}

.manager-panel {
  overflow: hidden;
}

.panel-row {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row span,
.panel-row strong {
  display: block;
}

.panel-row span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-row strong {
  margin-top: 8px;
  font-family: "Archivo", sans-serif;
  font-size: 1.28rem;
  line-height: 1.16;
}

.reviews-section {
  background: var(--white);
}

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

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 256px;
  padding: 24px;
}

.stars {
  color: var(--gold);
  letter-spacing: 0;
}

.review-card p {
  margin: 16px 0 24px;
  font-size: 1.05rem;
}

.review-card footer {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.review-card.accountability {
  background: #f8fbfa;
}

.team-section {
  background: linear-gradient(135deg, var(--steel-2), var(--steel));
  color: var(--white);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: center;
}

.name-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.name-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.contact-section {
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 37, 45, 0.98), rgba(30, 106, 138, 0.82)),
    var(--steel);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: 46px;
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 900;
}

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

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--steel-2);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
}

.footer-inner p {
  margin: 0;
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

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

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

  .hero-layout {
    min-height: auto;
  }

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

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

  .proof-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

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

  .brand-copy strong {
    max-width: 220px;
  }

  .header-button {
    display: none;
  }

  .hero-layout {
    padding: 42px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
  }

  .rating-strip,
  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-section {
    padding: 66px 0;
  }

  .service-note {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
