:root {
  --ink: #101820;
  --muted: #5b6875;
  --line: #d9e0e5;
  --paper: #f8f6f1;
  --white: #ffffff;
  --accent: #1d7a73;
  --accent-dark: #0f514c;
  --gold: #c89b48;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(248, 246, 241, 0.92);
  border-bottom: 1px solid rgba(217, 224, 229, 0.75);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 15px;
}

.site-nav a:hover {
  color: var(--ink);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.language-button {
  min-width: 42px;
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-button.is-active {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: clamp(72px, 14vh, 140px) clamp(20px, 5vw, 72px) clamp(42px, 7vh, 74px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.9) 0%, rgba(16, 24, 32, 0.76) 42%, rgba(16, 24, 32, 0.24) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.5), rgba(16, 24, 32, 0.05) 42%);
}

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

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

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 880px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

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

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-weight: 750;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.85);
}

.intro,
.section,
.split-section,
.contact-section {
  padding: clamp(58px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  background: var(--white);
}

.intro p:last-child,
.ma-section > p,
.contact-section p,
.split-section p {
  color: var(--muted);
  font-size: 18px;
}

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

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

.service-card {
  min-height: 320px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(16, 24, 32, 0.06);
}

.muted-card {
  background: #f1efe8;
  border-style: dashed;
}

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

.card-number {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--accent);
  font-weight: 850;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(280px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  background: #e8eee9;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list div {
  display: grid;
  gap: 5px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: var(--radius);
}

.process-list strong {
  font-size: 18px;
}

.process-list span {
  color: var(--muted);
}

.ma-section {
  background: var(--ink);
  color: var(--white);
}

.ma-section > p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
  background: var(--white);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row.full,
.form-error,
.form-submit,
.form-note {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

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

.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(29, 122, 115, 0.18);
  border-color: var(--accent);
}

.form-error {
  min-height: 21px;
  margin: 0;
  color: #a53622;
  font-size: 14px;
  font-weight: 750;
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  font-size: 14px;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--white);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-switcher {
    align-self: flex-start;
  }

  .hero {
    min-height: 760px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.92), rgba(16, 24, 32, 0.64)),
      linear-gradient(0deg, rgba(16, 24, 32, 0.62), rgba(16, 24, 32, 0.05));
  }

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

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

  .service-card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 30px;
  }

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

@media (max-width: 520px) {
  .hero {
    min-height: 720px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: 42px;
  }

  .site-footer div {
    flex-wrap: wrap;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}
