:root {
  --ink: #17211f;
  --muted: #5e6763;
  --paper: #fffaf3;
  --surface: #ffffff;
  --line: rgba(23, 33, 31, 0.14);
  --teal: #0f766e;
  --teal-dark: #164e63;
  --coral: #f97316;
  --rose: #be123c;
  --sun: #facc15;
  --green: #22c55e;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.13);
  color-scheme: light;
}

* {
  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: var(--paper);
  letter-spacing: 0;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 16px;
  left: 50%;
  display: grid;
  width: min(1120px, calc(100% - 32px));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.82);
  box-shadow: 0 18px 45px rgba(23, 33, 31, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--teal);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.7);
}

.lang-button {
  min-width: 42px;
  height: 32px;
  border: 0;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-button[aria-pressed="true"] {
  color: white;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(560px, 0.78fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 82svh;
  overflow: hidden;
  padding: 138px max(24px, calc((100vw - 1120px) / 2)) 76px;
  isolation: isolate;
  background: #fffaf3;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 28%;
  content: "";
  background: linear-gradient(0deg, var(--paper), rgba(255, 250, 243, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  padding-bottom: 24px;
}

.hero-visual {
  position: relative;
  z-index: 0;
  min-width: 0;
  transform: translateX(4%);
}

.hero-visual img {
  display: block;
  width: 100%;
  max-height: 64svh;
  object-fit: contain;
  object-position: center right;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 9.5rem;
  line-height: 0.83;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.85rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  width: min(590px, 100%);
  margin-bottom: 30px;
  color: #293330;
  font-size: 1.35rem;
  line-height: 1.48;
}

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

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

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

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.intro-band {
  display: grid;
  width: min(1120px, calc(100% - 32px));
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.intro-item {
  display: grid;
  gap: 8px;
  min-height: 164px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
}

.intro-kicker {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
}

.intro-item strong {
  font-size: 1.25rem;
}

.intro-item span:last-child {
  color: var(--muted);
  line-height: 1.45;
}

.section,
.split-section,
.contact-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 108px 0 76px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child,
.split-copy p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.service-card {
  min-height: 306px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(23, 33, 31, 0.08);
}

.service-card:nth-child(2) .service-icon {
  background: var(--coral);
}

.service-card:nth-child(3) .service-icon {
  background: var(--rose);
}

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 8px;
  color: white;
  background: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.68fr);
  gap: 54px;
  align-items: center;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.timeline-row span {
  color: var(--coral);
  font-weight: 950;
}

.timeline-row strong {
  font-size: 1.12rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 34px;
  padding: 46px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
}

.contact-section .eyebrow {
  color: var(--sun);
}

.contact-section h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 3.1rem;
}

.contact-link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  color: var(--ink);
  background: white;
  font-weight: 900;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 28px 0 46px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 84svh;
    padding: 116px 18px 58px;
  }

  .hero-content {
    align-self: start;
  }

  .hero-visual {
    margin: 6px -18px 0 auto;
    opacity: 0.88;
    transform: none;
  }

  .hero-visual img {
    width: min(720px, 132%);
    max-height: 34svh;
    margin-left: auto;
  }

  h1 {
    font-size: 5.8rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .contact-section h2 {
    font-size: 2.2rem;
  }

  .intro-band,
  .service-grid,
  .section-heading,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-band {
    margin-top: 0;
  }

  .section {
    padding: 76px 0 52px;
  }

  .split-section {
    gap: 30px;
    padding: 68px 0;
  }

  .contact-section {
    padding: 30px;
  }

  .contact-link {
    width: 100%;
    white-space: normal;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 34px;
  }
}

@media (max-width: 480px) {
  .brand span:last-child {
    display: none;
  }

  .lang-button {
    min-width: 36px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .intro-item,
  .service-card {
    padding: 22px;
  }
}
