:root {
  --ink: #172528;
  --muted: #5f7074;
  --line: #d8e2e1;
  --paper: #fbfaf7;
  --soft: #edf4f2;
  --teal: #07586a;
  --teal-2: #0b7380;
  --gold: #c89422;
  --white: #ffffff;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 52px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(216, 226, 225, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--teal);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(7, 88, 106, 0.24);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(23, 37, 40, 0.08);
}

.lang-button {
  min-width: 54px;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--teal);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.lang-button.is-active {
  color: var(--white);
  background: var(--teal);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  transition: color 160ms ease, border-color 160ms ease;
}

.nav a:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 9px 15px;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: 20px;
}

.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;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
}

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

.button.secondary {
  color: var(--teal);
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: min(760px, 60vw);
  border-radius: 0;
  filter: saturate(0.92);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 4vw, 40px);
}

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

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  color: var(--muted);
  font-size: 18px;
}

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

.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card span {
  display: block;
  margin-bottom: 38px;
  color: var(--gold);
  font-weight: 700;
}

.service-card p,
.phase-list p,
.about p,
.contact p {
  color: var(--muted);
}

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

.phase-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.phase-list article {
  display: grid;
  grid-template-columns: 130px minmax(190px, 0.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  background: var(--white);
}

.phase-list strong {
  color: var(--gold);
}

.boundary {
  max-width: none;
  background: var(--soft);
}

.boundary-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.boundary-panel p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.about {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.about-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.about-mark img {
  width: 76%;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

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

.site-footer {
  padding: 28px clamp(20px, 4vw, 52px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual img {
    width: 100%;
  }

  .intro-grid,
  .boundary-panel,
  .about {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phase-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

@media (max-width: 560px) {
  .brand span {
    font-size: 16px;
  }

  .language-switch {
    order: 2;
  }

  .nav {
    order: 3;
    width: 100%;
  }

  .nav-cta {
    margin-left: 0;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 18px;
  }

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

  .button {
    width: 100%;
  }
}
