:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5d6875;
  --line: #d8dee6;
  --panel: #ffffff;
  --soft: #f4f7f9;
  --accent: #0f766e;
  --accent-dark: #0b534f;
  --gold: #c58b2c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fafb 0%, #ffffff 40%);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent-dark);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: #e9f1f0;
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, 42px);
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  background: #ffffff;
}

.language-button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button:hover,
.language-button:focus-visible {
  color: var(--ink);
  background: #e9f1f0;
}

.language-button.is-active {
  color: #ffffff;
  background: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  min-height: 620px;
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 750;
}

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

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

.button.secondary {
  border-color: var(--line);
  color: var(--accent-dark);
  background: #ffffff;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(23, 32, 42, 0.08);
  overflow: hidden;
}

.panel-row {
  display: grid;
  gap: 8px;
  padding: 28px;
}

.panel-row + .panel-row {
  border-top: 1px solid var(--line);
}

.panel-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.panel-row strong {
  font-size: 1.25rem;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.service-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--soft);
}

.service-grid p,
.split p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 56px;
  align-items: start;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 72px 0;
  border-radius: 8px;
  padding: 40px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 83, 79, 0.95), rgba(15, 118, 110, 0.92)),
    linear-gradient(45deg, var(--gold), transparent);
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.82);
}

.contact h2 {
  margin-bottom: 10px;
}

.contact .button.primary {
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--accent-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

  .nav {
    width: 100%;
    overflow-x: auto;
  }

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

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

  .hero {
    min-height: auto;
    gap: 28px;
    padding: 44px 0 72px;
  }

  .hero-panel {
    max-width: none;
  }

  .section {
    padding: 64px 0;
  }

  .contact,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact {
    padding: 28px;
  }
}
