/* Все Точно — сайт-визитка.
   Стиль баннера ВК: светлый фон, графит #424C55, мягкие серо-зелёные круги, шрифт Docker */

@font-face {
  font-family: "Docker";
  src: url("fonts/Docker.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --graphite: #424c55;     /* фирменный графит (цвет логотипа с баннера) */
  --graphite-dark: #333b43;
  --ink: #2e353c;
  --muted: #7d858d;
  --bg: #f6f6f3;           /* тёплый светлый фон */
  --sage: #c3c8b6;         /* приглушённый серо-зелёный (круг за фото) */
  --circle: #dcdbd6;       /* светло-серый декоративный круг */
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(51, 59, 67, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, .stat-value {
  font-family: "Docker", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--graphite);
  color: var(--white);
}
.btn-primary:hover { background: var(--graphite-dark); }

.btn-outline {
  border: 1.5px solid var(--graphite);
  color: var(--graphite);
}
.btn-outline:hover { background: var(--graphite); color: var(--white); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.12); }

.btn-light {
  background: var(--white);
  color: var(--graphite);
}
.btn-light:hover { background: #ececea; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid #e8e8e4;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo { display: inline-flex; align-items: center; }

.logo-img { height: 46px; width: auto; display: block; }

.nav a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
}
.nav a:hover { color: var(--graphite); }

/* ---------- Главный экран (стиль баннера) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #fafaf7;
  padding: 84px 0 90px;
}

/* серый круг слева сверху, как на баннере */
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--circle);
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-text { max-width: 560px; }

.hero-logo {
  width: 270px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 36px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  color: var(--graphite-dark);
}

.hero .lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Фото: арка, на фоне — большой шалфейный круг, как на баннере */
.hero-photo {
  position: relative;
  flex-shrink: 0;
  width: 420px;
}

.hero-photo::before {
  content: "";
  position: absolute;
  top: -26px;
  right: -34px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.85;
}

.hero-photo img {
  position: relative;
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 220px 220px 0 0;
}

/* ---------- Цифры ---------- */
.stats {
  background: var(--bg);
  padding: 46px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-value {
  font-size: 40px;
  color: var(--graphite);
}

.stat-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Разделы ---------- */
.section { padding: 84px 0; }

.section-title {
  font-size: 34px;
  color: var(--graphite-dark);
  text-align: center;
}

.section-sub {
  margin: 14px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Услуги ---------- */
.services-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid #e8e8e4;
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, border-color 0.15s;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--graphite);
}

.service-card h3 {
  font-size: 19px;
  color: var(--graphite-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- CTA-полоса ---------- */
.cta {
  background: var(--graphite);
  color: var(--white);
  padding: 56px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: 25px;
  max-width: 640px;
}

/* ---------- Контакты ---------- */
.section-contacts { background: var(--bg); }

.contacts-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}

.contact-card {
  background: var(--white);
  border: 1px solid #e8e8e4;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite-dark);
  text-decoration: none;
  word-break: break-word;
}

a.contact-value:hover { color: var(--graphite); }

/* ---------- Подвал ---------- */
.site-footer {
  background: var(--graphite-dark);
  color: #c2c8ce;
  padding: 26px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo { height: 34px; width: auto; display: block; }

.footer-req { color: #97a0a9; }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-photo { width: 400px; max-width: 100%; margin: 8px auto 0; }
  .hero h1 { font-size: 34px; }
}

@media (max-width: 600px) {
  .nav { display: none; }
  .header-inner { height: 66px; }
  .logo-img { height: 38px; }
  .hero { padding: 56px 0 64px; }
  .hero::before { width: 220px; height: 220px; top: -100px; left: -90px; }
  .hero-logo { width: 210px; margin-bottom: 26px; }
  .hero h1 { font-size: 27px; }
  .hero .lead { font-size: 16px; }
  .hero-photo::before { width: 330px; height: 330px; top: -18px; right: -20px; }
  .hero-photo img { height: 330px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 27px; }
  .services-grid,
  .contacts-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}
