:root {
  --bg: #fbf7f5;
  --bg-card: #ffffff;
  --bg-soft: #f4eeec;
  --border: #ecdfdb;
  --text: #2a2024;
  --text-dim: #7c6f72;
  --accent: #e23b3b;
  --accent-soft: #fdeceb;
  --radius: 16px;
  --maxw: 880px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(800px 360px at 15% -10%, rgba(226,59,59,.12), transparent 60%),
    radial-gradient(700px 360px at 95% 0%, rgba(226,59,59,.08), transparent 55%);
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 36px;
}

.hero__photo {
  width: 156px;
  height: 156px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  border: 4px solid #fff;
  box-shadow: 0 16px 40px rgba(226,59,59,.18), 0 4px 12px rgba(0,0,0,.06);
}

.hero__name {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__role {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.hero__company {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.hero__company:hover { border-color: #f3c9c7; box-shadow: 0 4px 12px rgba(226,59,59,.12); }
.hero__company-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: contain;
}

.hero__tagline {
  max-width: 520px;
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 16px;
}

.hero__contacts {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 8px 22px rgba(226,59,59,.28);
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 17px;
}
.btn--lg .btn__icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); background: #cf2f2f; box-shadow: 0 12px 26px rgba(226,59,59,.4); }

.btn--ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: #f3c9c7; box-shadow: none; }

/* ---------- Cards ---------- */
main { padding: 44px 0; display: flex; flex-direction: column; gap: 22px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(120,80,80,.04);
}

.card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-left: 16px;
}
.card__title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--accent);
}

.subtitle {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-dim);
  margin: 26px 0 12px;
  font-weight: 600;
}
.subtitle:first-of-type { margin-top: 0; }

.list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.list li {
  position: relative;
  padding-left: 26px;
}
.list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.grid__item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.grid__item:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px 7px 9px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tag:hover { border-color: #f3c9c7; box-shadow: 0 4px 12px rgba(226,59,59,.12); }
.tag__logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: 8px 0 56px;
}
.cta .container {
  background: linear-gradient(135deg, var(--accent), #f06363);
  border-radius: var(--radius);
  padding: 48px 24px;
  box-shadow: 0 16px 40px rgba(226,59,59,.25);
}
.cta__title {
  color: #fff;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
}
.cta__text {
  color: rgba(255,255,255,.9);
  margin: 10px 0 26px;
  font-size: 16px;
}
.cta .btn--lg {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
}
.cta .btn--lg:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta__title { font-size: 24px; font-weight: 700; }
.cta__text { margin: 10px 0 22px; color: var(--text-dim); font-size: 16px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  color: var(--text-dim);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--text-dim); text-decoration: none; transition: color .15s ease; }
.footer__links a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .hero__inner { flex-direction: column; text-align: center; gap: 22px; }
  .hero__contacts { justify-content: center; }
  .hero__tagline { margin-left: auto; margin-right: auto; }
  .card { padding: 22px; }
  .footer .container { flex-direction: column; text-align: center; }
}
