:root {
  --ink: #102c2f;
  --muted: #5a6f70;
  --teal: #117c78;
  --teal-dark: #0b5756;
  --mint: #dff3ee;
  --cream: #fff8ec;
  --coral: #e66f4d;
  --line: rgba(16, 44, 47, .14);
  --shadow: 0 24px 60px rgba(14, 61, 63, .18);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f7fbf8;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(247, 251, 248, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.nav a:hover { color: var(--teal-dark); }
.nav-call {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  background: #fff;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 42vw);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 251, 248, .98) 0%, rgba(247, 251, 248, .9) 36%, rgba(247, 251, 248, .2) 72%);
}

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

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(44px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

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

h1, h2 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0;
  line-height: .98;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 96px);
  max-width: 10ch;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 64px);
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary { background: var(--teal); color: #fff; }
.button.secondary { background: #fff; border: 1px solid var(--line); color: var(--teal-dark); }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 34px;
}

.trust-row div {
  padding: 17px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(12px);
  border-radius: 8px;
}

.trust-row strong, .trust-row span { display: block; }
.trust-row strong { font-size: 24px; color: var(--teal-dark); }
.trust-row span { color: var(--muted); font-size: 13px; margin-top: 4px; }

.quick-card {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 28px;
  z-index: 2;
  width: min(360px, calc(100vw - 36px));
  padding: 22px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.quick-card p, .quick-card strong, .quick-card span, .quick-card a { display: block; }
.quick-card p { margin: 0 0 8px; color: #a9d8d1; font-weight: 800; }
.quick-card strong { font-size: 22px; }
.quick-card span { margin: 6px 0 16px; color: rgba(255,255,255,.76); }
.quick-card a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.band {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 86px);
  background: var(--cream);
}

.band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.section {
  padding: clamp(60px, 9vw, 120px) clamp(20px, 6vw, 86px);
}

.section-head {
  max-width: 860px;
  margin-bottom: 38px;
}

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

.service-grid article, .team-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 44, 47, .06);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 900;
}

article p {
  color: var(--muted);
  line-height: 1.62;
}

.diagnostics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(26px, 5vw, 70px);
  padding: clamp(60px, 9vw, 110px) clamp(20px, 6vw, 86px);
  background: var(--teal-dark);
  color: #fff;
}

.diagnostics-copy p:last-child {
  color: rgba(255,255,255,.76);
  font-size: 19px;
  line-height: 1.7;
}

.diagnostics-panel {
  display: grid;
  gap: 12px;
}

.diagnostics-panel div {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}

.diagnostics-panel strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 36px;
}

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

.portrait {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}

.reviews {
  background: #e6f4ef;
}

.quote-grid {
  display: grid;
  gap: 12px;
}

blockquote {
  margin: 0;
  padding: 20px;
  border-left: 4px solid var(--coral);
  background: rgba(255,255,255,.78);
  border-radius: 0 8px 8px 0;
  font-size: 19px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact-main p:last-child {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card a {
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 20px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 86px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p { margin: 0; }
.footer a { color: var(--teal-dark); font-weight: 900; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-bottom: 190px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(247,251,248,.98), rgba(247,251,248,.86) 58%, rgba(247,251,248,.35)); }
  .hero-copy { padding-top: 64px; }
  .band, .diagnostics, .contact { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .site-header { padding: 12px 14px; gap: 12px; }
  .brand small { display: none; }
  .nav { gap: 10px; font-size: 13px; }
  .nav a { min-width: max-content; }
  .hero { padding-bottom: 220px; }
  .hero-copy { padding: 46px 18px; }
  h1 { font-size: 45px; max-width: 9ch; }
  h2 { font-size: 34px; }
  .trust-row, .service-grid, .team-grid { grid-template-columns: 1fr; }
  .quick-card { left: 18px; right: 18px; bottom: 22px; }
  .diagnostics-panel div { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}
