:root {
  --ink: #151a20;
  --muted: #596471;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #e2ded6;
  --brand: #0f3d3e;
  --brand-2: #315f72;
  --accent: #b48a3c;
  --accent-2: #dbefe9;
  --danger: #a33b2b;
  --shadow: 0 18px 50px rgba(16, 27, 32, 0.1);
  --radius: 8px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 222, 214, 0.9);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-family: var(--serif);
  font-size: 22px;
  box-shadow: 0 9px 22px rgba(15, 61, 62, 0.22);
}

.brand span:last-child {
  font-size: 20px;
}

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

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #33404b;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active {
  background: #edf1ee;
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
}

.menu-toggle svg,
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: white;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 61, 62, 0.18);
}

.btn.secondary {
  background: white;
  color: var(--brand);
  border-color: var(--line);
}

.btn.gold {
  background: var(--accent);
}

.btn.ghost {
  background: transparent;
  color: var(--brand);
  border-color: rgba(15, 61, 62, 0.2);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: #152426;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 23, 25, 0.9), rgba(9, 23, 25, 0.62) 52%, rgba(9, 23, 25, 0.2)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=2200&q=82") center / cover;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 54px;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

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

h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(46px, 8vw, 86px);
}

.hero p {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  width: min(var(--max), calc(100% - 40px));
  position: relative;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  background: rgba(10, 26, 28, 0.72);
  backdrop-filter: blur(12px);
}

.metric {
  min-height: 118px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: white;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.metric .service-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: white;
  background: rgba(180, 138, 60, 0.32);
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

main {
  overflow: clip;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: #f2f0ea;
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head h2,
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
}

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

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(16, 27, 32, 0.02);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

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

.card ul,
.check-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.card li,
.check-list li {
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
}

.card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 282px;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--accent-2);
  color: var(--brand);
}

.service-card a {
  margin-top: auto;
  color: var(--brand);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: center;
}

.photo-panel {
  min-height: 540px;
  border-radius: var(--radius);
  background: url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1300&q=82") center / cover;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.feature-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.feature-item .service-icon {
  margin: 0;
}

.process {
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: white;
}

.process-step {
  position: relative;
  min-height: 236px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step::before {
  counter-increment: process;
  content: "0" counter(process);
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 850;
}

.testimonial {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.quote {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.28;
  color: #27313a;
}

.person {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  padding: 62px 0;
  color: white;
  background: var(--brand);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-inner h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 48px);
}

.cta-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  padding: 82px 0 60px;
  background:
    linear-gradient(90deg, rgba(21, 26, 32, 0.91), rgba(21, 26, 32, 0.58)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=2000&q=82") center / cover;
  color: white;
}

.page-hero p {
  max-width: 760px;
  margin-top: 18px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.team-strip,
.values-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.team-strip > div,
.values-strip > div {
  padding: 26px;
  background: white;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 26px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.article-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.article-meta {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-card a {
  margin-top: auto;
  color: var(--brand);
  font-weight: 800;
}

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

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 800;
  color: #34414b;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(49, 95, 114, 0.12);
}

.form-note,
.small {
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 22px;
  color: var(--brand);
  font-weight: 750;
}

.site-footer {
  padding: 52px 0 24px;
  background: #111820;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr 0.9fr;
  gap: 32px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.7);
}

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

.site-footer li {
  margin: 9px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #1fa463;
  color: white;
  box-shadow: 0 16px 34px rgba(12, 54, 35, 0.25);
}

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

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

  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-actions .btn.secondary {
    display: none;
  }

  .hero-metrics,
  .grid.three,
  .grid.two,
  .split,
  .section-head,
  .cta-inner,
  .contact-layout,
  .footer-grid,
  .team-strip,
  .values-strip {
    grid-template-columns: 1fr;
  }

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

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

  .process-step:last-child {
    border-bottom: 0;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .nav,
  .container,
  .hero-inner,
  .hero-metrics {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 72px 0 38px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 102px;
    padding: 18px;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .metric:last-child {
    border-bottom: 0;
    padding-right: 72px;
  }

  .metric strong {
    font-size: 27px;
  }

  .section {
    padding: 62px 0;
  }

  .photo-panel {
    min-height: 330px;
  }

  .job,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .wa-float {
    width: 48px;
    height: 48px;
    right: 12px;
    bottom: 12px;
  }
}
