:root {
  color-scheme: light;
  --ink: #182033;
  --muted: #5f6b7a;
  --line: #d9e1ea;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --brand: #008f99;
  --brand-dark: #065f69;
  --accent: #f2b84b;
  --ok: #117a4a;
  --danger: #9b2430;
  --shadow: 0 18px 48px rgba(24, 32, 51, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.85rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand span {
  display: block;
  max-width: 13.5rem;
  line-height: 1.15;
  font-size: 1rem;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

.menu a:hover,
.menu a[aria-current="page"] {
  background: var(--soft);
}

.button,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
button[type="submit"]:hover {
  background: var(--brand-dark);
}

.button.secondary {
  background: var(--ink);
}

.nav-cta {
  min-width: 126px;
  white-space: nowrap;
}

.hero {
  min-height: min(700px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(10, 22, 37, 0.86), rgba(10, 22, 37, 0.58), rgba(10, 22, 37, 0.18)),
    url("/assets/img/hero.jpg") center / cover no-repeat;
  color: #fff;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 7rem 0 5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
}

h3 {
  font-size: 1.25rem;
}

.hero p {
  max-width: 660px;
  margin: 1rem 0 1.6rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: clamp(3.25rem, 6.5vw, 5.5rem) 0;
}

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

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.page-hero.compact {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.page-hero .section-head {
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
}

.page-hero .lead {
  max-width: 760px;
  margin: 1.1rem auto 0;
}

.page-hero .button,
.page-hero .actions {
  margin-top: 1.3rem;
  justify-content: center;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.proof-grid div {
  padding: 1.15rem 1rem;
  border-right: 1px solid var(--line);
}

.proof-grid div:first-child {
  border-left: 1px solid var(--line);
}

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

.proof-grid strong {
  font-size: 1.05rem;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(24, 32, 51, 0.04);
}

.card h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.service-card {
  min-height: 210px;
  padding: 1.35rem;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 143, 153, 0.35);
  box-shadow: var(--shadow);
}

.card-kicker {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: #e8f8fa;
  color: var(--brand-dark);
  font-weight: 850;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul,
.check-list {
  padding-left: 1.15rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.8rem;
}

.step {
  position: relative;
  min-height: 72px;
  padding: 1rem 1rem 1rem 4.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 850;
}

.price {
  font-size: 1.85rem;
  font-weight: 850;
}

.notice {
  border-left: 4px solid var(--accent);
  background: #fff8ea;
  padding: 1rem;
  border-radius: 6px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-card,
.form-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-weight: 750;
}

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

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

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(0, 143, 153, 0.18);
  border-color: var(--brand);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.6rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--ok);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.legal {
  max-width: 880px;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.site-footer {
  background: #111827;
  color: #dbe5ef;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.site-footer a {
  color: #fff;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

@media (max-width: 1080px) {
  .menu-button {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    inset: 72px 16px auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .menu[data-open] {
    display: flex;
  }

  .menu a {
    font-size: 1rem;
  }
}

@media (max-width: 820px) {
  .grid,
  .grid.two,
  .split,
  .contact-panel,
  .footer-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 610px;
    align-items: center;
    background-position: 58% center;
  }

  .hero-inner {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.2rem);
  }

  .hero p {
    font-size: 1.05rem;
  }

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

  .brand span {
    max-width: 10rem;
  }

  .proof-grid div,
  .proof-grid div:first-child {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .page-hero .section-head {
    text-align: left;
  }

  .page-hero h1 {
    font-size: clamp(2.05rem, 9.6vw, 2.85rem);
  }

  .page-hero .lead {
    margin-left: 0;
  }

  .page-hero .button,
  .page-hero .actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
