:root {
  --ink: #17202a;
  --muted: #5d6874;
  --line: #dfe4e8;
  --paper: #ffffff;
  --soft: #f4f6f7;
  --accent: #1f4037;
  --accent-dark: #153229;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  gap: 28px;
}

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

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

.hero {
  min-height: 660px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 100px max(24px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(120deg, #f9faf9 0%, #edf2ef 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0 0 0 48%;
  background:
    linear-gradient(
      145deg,
      transparent 0 18%,
      rgba(31, 64, 55, 0.10) 18% 19%,
      transparent 19% 36%,
      rgba(31, 64, 55, 0.08) 36% 37%,
      transparent 37%
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 69px,
      rgba(31, 64, 55, 0.07) 70px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 69px,
      rgba(31, 64, 55, 0.07) 70px
    );
  transform: skewX(-8deg) scale(1.1);
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 7vw, 82px);
  max-width: 800px;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.lead {
  max-width: 680px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 19px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--accent);
  color: #ffffff;
  padding: 14px 22px;
  min-height: 50px;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
}

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

.section {
  padding: 100px max(24px, calc((100vw - var(--max)) / 2));
}

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

.section-heading > p:last-child,
.contact-layout > div:first-child > p {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  padding: 30px;
  min-height: 170px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

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

.contact-persons {
  margin-top: 28px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 38px;
}

.contact-card-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-address {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.contact-card p:not(.contact-card-label) {
  color: var(--muted);
  margin: 0 0 26px;
}


.contact-form {
  margin-top: 22px;
}

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

.form-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #cbd2d7;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  font-weight: 400;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(31, 64, 55, 0.22);
  outline-offset: 1px;
  border-color: var(--accent);
}

.privacy-note {
  margin: 20px 0 22px !important;
  font-size: 13px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.email-alternative {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.email-alternative .contact-address {
  margin-bottom: 0;
}

.thank-you {
  min-height: calc(100vh - 96px);
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background: var(--soft);
}

.thank-you-card {
  width: min(680px, 100%);
  padding: 46px;
  background: #fff;
  border: 1px solid var(--line);
}

.thank-you-card h1 {
  font-size: clamp(42px, 7vw, 68px);
  margin-bottom: 20px;
}

.thank-you-card p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  max-width: var(--max);
  min-height: 96px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.footer-name {
  color: var(--ink);
  font-weight: 700;
}

.footer-copy {
  color: var(--muted);
}

.footer-note {
  text-align: center;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  white-space: nowrap;
}

.legal {
  max-width: 840px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.legal h1 {
  font-size: 48px;
  margin-bottom: 36px;
}

.legal h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  margin: 36px 0 10px;
  letter-spacing: 0;
}

.legal h3 {
  margin-top: 24px;
}

.legal p,
.legal li {
  color: #35404a;
}

.legal ul {
  padding-left: 22px;
}

.back {
  display: inline-block;
  margin-bottom: 40px;
}

.legal-note {
  padding: 18px 20px;
  background: var(--soft);
  border-left: 3px solid var(--accent);
}

@media (max-width: 800px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 580px;
    padding-top: 80px;
  }

  .hero-pattern {
    inset: 40% -20% -10% 15%;
    opacity: 0.7;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .form-field-wide {
    grid-column: auto;
  }

  .contact-card,
  .thank-you-card {
    padding: 26px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .footer-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .footer-brand,
  .footer-links {
    justify-content: flex-start;
  }

  .footer-note {
    text-align: left;
  }
}
