:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #59686f;
  --paper: #f7f8f5;
  --line: #dce2db;
  --accent: #0b7a75;
  --accent-dark: #085955;
  --warm: #f0b35a;
  --white: #ffffff;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2f5f1;
  --muted: #b8c2bf;
  --paper: #101515;
  --line: #2a3735;
  --accent: #30b8ac;
  --accent-dark: #7ed8cf;
  --warm: #f0b35a;
  --white: #172126;
}

* {
  box-sizing: border-box;
}

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

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

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

:root[data-theme="dark"] .topbar {
  background: rgba(16, 21, 21, 0.92);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

nav {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-cta {
  padding: 0;
  color: var(--accent-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.theme-toggle,
.language-toggle {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.theme-toggle {
  grid-template-columns: 1fr 1fr;
  width: 66px;
  padding: 0 8px;
}

[data-theme="dark"] [data-theme-sun],
[data-theme="light"] [data-theme-moon] {
  color: var(--muted);
  opacity: 0.42;
}

[data-theme="dark"] [data-theme-moon],
[data-theme="light"] [data-theme-sun] {
  color: var(--accent-dark);
  opacity: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 7vh 6vw 8vh;
}

.hero-content {
  max-width: 760px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

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

.button.secondary {
  background: transparent;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  padding: 28px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 33, 38, 0.95), rgba(8, 89, 85, 0.82)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1200&q=80");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
}

.status-line span {
  width: 10px;
  height: 10px;
  background: #58d68d;
  border-radius: 999px;
}

.metric-grid {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-grid div,
.service-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid div {
  min-height: 112px;
  padding: 18px;
  color: var(--ink);
}

small {
  color: var(--muted);
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
}

.section {
  padding: 86px 6vw;
  border-top: 1px solid var(--line);
}

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

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

.service-card {
  min-height: 260px;
  padding: 26px;
}

.service-card p,
.steps {
  color: var(--muted);
  line-height: 1.6;
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--warm);
  border-radius: 8px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
  background: var(--white);
}

.steps {
  margin: 0;
  padding-left: 24px;
  font-size: 1.2rem;
}

.steps li + li {
  margin-top: 16px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 6vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-contact {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.honey-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: start;
  min-height: calc(100vh - 72px);
  padding: 10vh 6vw;
}

.contact-copy {
  max-width: 720px;
}

.contact-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(11, 122, 117, 0.14);
}

@media (max-width: 860px) {
  .topbar,
  nav {
    align-items: flex-start;
  }

  .topbar,
  .hero,
  .split,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

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

  .metric-grid {
    position: static;
    margin-top: 130px;
  }
}
