@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f7f7f7;
  --card: #ffffff;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #e3e3e3;
  --pad: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Formular', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--pad);
  max-width: 1200px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
}
.header-mail {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.header-mail:hover { border-color: var(--ink); }

main { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 6vw, 96px) 0;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.hero-text p {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 26em;
}
.cta {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 999px;
  transition: opacity 0.15s;
}
.cta:hover { opacity: 0.82; }
.hero-photo {
  background: var(--card);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 40px);
}
.hero-photo img {
  width: 100%;
  height: auto;
  max-width: 380px;
  display: block;
  margin: 0 auto;
}

section { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.about p { max-width: 44em; font-size: clamp(17px, 1.6vw, 20px); }

.product-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-grid li {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.product-grid img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-bottom: 18px;
}
.product-grid h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.product-grid p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.products-note {
  margin-top: 28px;
  color: var(--muted);
  max-width: 44em;
}

.clients-intro { color: var(--muted); margin-bottom: 12px; }
.clients-list {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 2;
  max-width: 52em;
  color: var(--ink);
}

.contacts-mail a {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid var(--line);
}
.contacts-mail a:hover { border-color: var(--ink); }
.contacts-note { margin-top: 18px; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px var(--pad) 48px;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 260px; }
  .site-header { padding-top: 20px; padding-bottom: 12px; }
}
@media (max-width: 440px) {
  .header-mail { display: none; }
}
