:root {
  --ink: #101820;
  --muted: #61717d;
  --line: #dce3e8;
  --paper: #ffffff;
  --mist: #f4f7f8;
  --gold: #d7a52a;
  --gold-dark: #a97908;
  --teal: #006d77;
  --shadow: 0 18px 50px rgba(16, 24, 32, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 227, 232, 0.9);
  backdrop-filter: blur(14px);
}
.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  border: 2px solid var(--gold);
  font-weight: 800;
}
.brand-name {
  display: block;
  font-weight: 800;
  line-height: 1.05;
}
.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: #31414c;
  font-size: 14px;
  font-weight: 700;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-dark); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.16);
}
.button.primary { color: #111; background: var(--gold); }
.button.primary:hover { background: #efbd42; }
.button.secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.65);
}
.button.secondary:hover { color: var(--ink); background: var(--paper); }
.button.dark { color: var(--paper); background: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  color: var(--paper);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.92), rgba(20, 33, 61, 0.74) 55%, rgba(16, 24, 32, 0.22)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1800&auto=format&fit=crop") center / cover;
}
.hero.service-hero { min-height: 520px; }
.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
}
.hero.service-hero .hero-inner { grid-template-columns: minmax(0, 780px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(215, 165, 42, 0.52);
  color: #f5ce66;
  background: rgba(16, 24, 32, 0.42);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 {
  max-width: 820px;
  margin-top: 22px;
  font-size: clamp(40px, 7vw, 74px);
  font-weight: 800;
}
.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-panel h2 { font-size: 25px; margin-bottom: 18px; }

.section { padding: 86px 0; }
.section.mist { background: var(--mist); }
.section.dark { color: var(--paper); background: var(--ink); }
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-heading.left {
  margin-left: 0;
  text-align: left;
}
.section-heading h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
}
.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.dark .section-heading p { color: rgba(255, 255, 255, 0.72); }
.lead {
  color: #485b66;
  font-size: 18px;
  line-height: 1.85;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.photo {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.stat {
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.stat strong {
  display: block;
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
}
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service {
  display: grid;
  grid-template-rows: 220px 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(16, 24, 32, 0.08);
}
.service img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 24px; }
.service h3 { font-size: 24px; margin-bottom: 12px; }
.service p { margin: 0 0 18px; color: #51646f; }

.check-list,
.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li,
.detail-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  font-weight: 600;
}
.check-list li { color: rgba(255, 255, 255, 0.9); }
.detail-list li { color: #334550; }
.check-list li::before,
.detail-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.check-list li::before { box-shadow: 0 0 0 5px rgba(215, 165, 42, 0.16); }

.process,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step,
.feature {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
}
.step h3,
.feature h3 { font-size: 22px; margin-bottom: 12px; }
.step p,
.feature p { margin: 0; color: var(--muted); }

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}
.service-detail-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(16, 24, 32, 0.08);
}
.service-detail-card h2 { font-size: 32px; margin-bottom: 18px; }
.service-detail-card .detail-list { margin-top: 20px; }
.content-block {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.content-block:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.content-block h3 {
  font-size: 26px;
  margin-bottom: 14px;
}
.content-block p {
  margin: 0 0 14px;
  color: #485b66;
  font-size: 17px;
  line-height: 1.82;
}
.number-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}
.number-list li {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: #3b4c56;
}
.number-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.info-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}
.info-box h4 {
  margin: 0 0 8px;
  font-size: 18px;
}
.info-box p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.related-links {
  display: grid;
  gap: 12px;
}
.related-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 800;
}
.related-links a:hover { border-color: var(--gold); color: var(--gold-dark); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}
.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.contact-item {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}
.contact-item span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-item strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
}
.form {
  padding: 28px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.form h3 { font-size: 28px; margin-bottom: 20px; }
.form-grid { display: grid; gap: 14px; }
input,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #cfd8de;
  border-radius: 6px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
}
textarea { min-height: 136px; resize: vertical; }
input:focus,
textarea:focus {
  outline: 3px solid rgba(215, 165, 42, 0.26);
  border-color: var(--gold);
  background: var(--paper);
}
.site-footer {
  padding: 28px 0;
  color: #b7c0c7;
  background: #05080a;
}
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

@media (max-width: 1050px) {
  .services,
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .hero { min-height: auto; }
  .hero-inner,
  .split,
  .contact-grid,
  .service-detail { grid-template-columns: 1fr; }
  .hero-inner { gap: 28px; padding-top: 58px; }
  .photo { min-height: 360px; }
}
@media (max-width: 640px) {
  .nav,
  .container,
  .hero-inner,
  .footer-inner { width: min(100% - 28px, 1180px); }
  .nav-links { gap: 16px; font-size: 13px; }
  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }
  .button { width: 100%; }
  .hero-panel,
  .form,
  .service-body,
  .step,
  .feature,
  .service-detail-card { padding: 22px; }
  .section { padding: 64px 0; }
  .stats,
  .services,
  .process,
  .service-grid,
  .info-grid { grid-template-columns: 1fr; }
}
