:root {
  --ink: #172026;
  --muted: #5d6872;
  --line: #d8e0e5;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --accent: #0e6f68;
  --accent-dark: #0a4b47;
  --warm: #c0713f;
  --footer: #11191f;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgba(247, 248, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 14px;
}

.site-nav a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 4, 8, 0.9), rgba(3, 13, 17, 0.62) 43%, rgba(4, 16, 20, 0.1)),
    linear-gradient(0deg, rgba(0, 4, 8, 0.78), rgba(0, 4, 8, 0.04) 62%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b277;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

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

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

.section {
  padding: 72px clamp(20px, 5vw, 56px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro {
  background: var(--surface);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.split > p,
.text-stack {
  color: var(--muted);
  font-size: 18px;
}

.text-stack p {
  margin-bottom: 18px;
}

.text-stack p:last-child {
  margin-bottom: 0;
}

.services-section {
  background: #e9eee9;
}

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

.section-heading p {
  color: var(--muted);
}

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

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

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

.price {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 18px;
  color: var(--accent-dark) !important;
  font-size: 18px;
  font-weight: 700;
}

.about-section {
  background: var(--surface);
}

.contact-section {
  background: var(--paper);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
  padding: 36px;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 8px;
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, 0.88);
}

.contact-band h2 {
  color: #fff;
}

.contact-details {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--footer);
}

.footer-name {
  margin-bottom: 4px;
  color: #fff;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.legal-page {
  padding: 56px clamp(20px, 5vw, 56px);
}

.legal-document {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-document h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 60px);
}

.legal-document h2 {
  margin-top: 32px;
  font-size: 24px;
}

.legal-document p {
  color: var(--muted);
}

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

@media (max-width: 940px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .brand {
    white-space: normal;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding: 70px 0 44px;
  }

  .hero-copy,
  .split > p,
  .text-stack {
    font-size: 16px;
  }

  .section {
    padding: 54px 16px;
  }

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

  .contact-band,
  .legal-document {
    padding: 24px;
  }
}
