:root {
  color-scheme: light;
  --ink: #171c1a;
  --muted: #5b625f;
  --paper: #f5f3ee;
  --panel: #ffffff;
  --line: #d8d4ca;
  --green: #1f6f5b;
  --gold: #c79332;
  --night: #101614;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 14px clamp(20px, 5vw, 64px);
  color: #fff;
  background: rgba(16, 22, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-actions,
.site-nav,
.language-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: clamp(18px, 4vw, 40px);
}

.site-nav {
  gap: clamp(16px, 3vw, 34px);
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.site-nav a:hover {
  color: #fff;
}

.language-switch {
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
}

.language-button {
  min-width: 38px;
  min-height: 32px;
  padding: 6px 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 0.83rem;
  font-weight: 760;
  cursor: pointer;
}

.language-button.is-active {
  background: #fff;
  color: var(--night);
}

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

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 44%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(9, 13, 12, 0.88), rgba(9, 13, 12, 0.56) 54%, rgba(9, 13, 12, 0.16)),
    linear-gradient(0deg, rgba(9, 13, 12, 0.72), rgba(9, 13, 12, 0.08) 48%);
}

.hero-inner {
  position: relative;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 26px;
}

.kicker,
.section-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1080px;
  margin: 10px 0 0;
  font-size: clamp(2.05rem, 3.2vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 14px;
  font-size: 1.4rem;
}

.lead {
  max-width: 820px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(38px, 5vw, 58px) 0;
}

main > section {
  scroll-margin-top: 88px;
}

.intro,
.method {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 7vw, 86px);
}

.intro p,
.method p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.service-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-section article {
  min-height: 154px;
  padding: clamp(18px, 2.4vw, 24px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-section article:nth-child(2n) {
  border-right: 0;
}

.service-section article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-section p {
  margin: 0 0 12px;
  color: var(--muted);
}

.service-section p:last-child {
  margin-bottom: 0;
}

.method {
  border-bottom: 1px solid var(--line);
}

.note {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.note p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 86px);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
}

.contact h2 {
  margin-top: 14px;
}

.contact-copy {
  max-width: 380px;
  margin: 20px 0 0;
  color: var(--muted);
}

.contact-content {
  display: grid;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 24px);
  background: var(--panel);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 680;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 440;
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 96px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(31, 111, 91, 0.28);
  border-color: var(--green);
}

.contact-form button {
  justify-self: start;
  min-height: 40px;
  padding: 9px 15px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--green);
  font-size: 0.94rem;
}

.honeypot {
  display: none;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0;
}

.contact-list div {
  min-height: 68px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 8px 0 0;
  color: var(--ink);
}

.feedback-tab {
  position: fixed;
  z-index: 30;
  right: 0;
  top: 54%;
  min-height: 102px;
  padding: 12px 8px;
  border: 0;
  border-radius: 7px 0 0 7px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  cursor: pointer;
  box-shadow: -4px 0 18px rgba(16, 22, 20, 0.18);
}

.feedback-backdrop,
.privacy-backdrop {
  position: fixed;
  z-index: 35;
  inset: 0;
  background: rgba(16, 22, 20, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.feedback-backdrop.is-open,
.privacy-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.feedback-panel,
.privacy-panel {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100%;
  overflow-y: auto;
  padding: 34px 24px;
  background: var(--paper);
  box-shadow: -12px 0 34px rgba(16, 22, 20, 0.22);
  transform: translateX(110%);
  transition: transform 0.24s ease;
}

.privacy-panel {
  width: min(640px, 92vw);
}

.feedback-panel.is-open,
.privacy-panel.is-open {
  transform: translateX(0);
}

.feedback-panel h2,
.privacy-panel h2 {
  margin-right: 42px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.feedback-panel p,
.privacy-panel p {
  color: var(--muted);
}

.privacy-panel h3 {
  margin: 22px 0 6px;
  font-size: 1.02rem;
}

.privacy-updated {
  margin-top: 4px;
  font-size: 0.9rem;
}

.feedback-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-footer a,
.site-footer button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
}

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

  .header-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-inner {
    padding-top: 160px;
  }

  .intro,
  .method,
  .service-section,
  .contact,
  .contact-content,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .service-section article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-section article:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-section article:last-child {
    border-bottom: 0;
  }

  .contact-list div {
    min-height: auto;
  }

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

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
