:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #202326;
  --muted: #626a70;
  --line: #deded8;
  --soft-line: #ecece7;
  --graphite: #2f3438;
  --graphite-hover: #181b1e;
  --accent: #9b8460;
  --shadow: 0 24px 60px rgba(31, 35, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(247, 247, 245, 0.9);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--graphite);
  font-weight: 700;
}

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

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

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.lang-button {
  width: 42px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

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

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(44px, 7vw, 84px) 0 56px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

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

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--graphite);
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: var(--graphite);
  color: #fff;
}

.button-primary:hover {
  background: var(--graphite-hover);
  border-color: var(--graphite-hover);
}

.button-secondary {
  background: transparent;
  color: var(--graphite);
}

.button-secondary:hover {
  background: var(--surface);
}

.hero-media {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media::before {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.services,
.advantages,
.contact-section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
}

.service-card {
  min-height: 276px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-number {
  display: block;
  margin-bottom: 46px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.service-card p,
.advantage-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.advantage-item {
  min-height: 174px;
  padding: 30px;
  background: var(--bg);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.contact-section h2 {
  max-width: 760px;
}

.phone-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--graphite);
  font-size: 20px;
  font-weight: 700;
}

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

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

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

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 14px 16px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .section {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

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

  .hero-actions,
  .contact-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .phone-link {
    width: 100%;
  }

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

  .service-card,
  .advantage-item {
    min-height: auto;
    padding: 24px;
  }

  .service-number {
    margin-bottom: 28px;
  }
}
