/* ===== KRUGOZOR GROUP — theme & bespoke ===== */
:root {
  --bg: #f4f2ec;
  --bg-alt: #eae7df;
  --fg: #15140f;
  --muted: #74705f;
  --accent: #c2562f;          /* warm terracotta */
  --accent-2: #15140f;
  --border: rgba(21, 20, 15, 0.13);
  --card: #ffffff;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

.brand { letter-spacing: 0.04em; font-weight: 800; }
.brand__dot { color: var(--accent); }
em { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: 0; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero__meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.hero__title {
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.hero__title em { color: var(--accent); }
.hero__sub { margin-top: clamp(22px, 3vw, 36px); max-width: 52ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(30px, 4vw, 48px); }
.hero__circle {
  position: absolute;
  right: -8%;
  top: 50%;
  width: min(46vw, 560px);
  aspect-ratio: 1;
  border: 1px dashed rgba(21,20,15,0.25);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 1;
  animation: spin 60s linear infinite;
}
.hero__circle::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px solid rgba(194, 86, 47, 0.4);
}
.hero__circle::after {
  content: "";
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,86,47,0.18), transparent 70%);
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ---- section variants ---- */
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--accent-2); color: #f4f2ec; }
.section--dark .eyebrow { color: #fff; }

.stat__num { font-weight: 800; }

/* ---- own projects ---- */
.own {
  border: 1px solid rgba(244,242,236,0.2);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 52px);
  transition: background 0.4s, transform 0.5s var(--ease);
}
.own:hover { background: rgba(194,86,47,0.14); transform: translateY(-6px); }
.own__type { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.own h3 { font-size: clamp(28px, 4vw, 50px); margin-top: 14px; color: #fff; letter-spacing: -0.02em; }
.own h3 span { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; opacity: 0.6; font-size: 0.6em; }

/* ---- leaders ---- */
.leader {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.leader:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.leader h3 { font-size: 24px; margin-bottom: 12px; }
.leader p { color: var(--muted); margin: 0; font-size: 15px; }
.leader--accent { background: var(--accent); color: #fff; border-color: transparent; }
.leader--accent p { color: rgba(255,255,255,0.85); }

/* ---- cases ---- */
.cases-group {
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em;
  margin: clamp(44px, 5vw, 70px) 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--accent);
}
.kase {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.kase:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.kase h3 { font-size: clamp(19px, 2.2vw, 24px); margin-bottom: 10px; }
.kase p { color: var(--muted); font-size: 15px; margin: 0; }
.metrics { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; }
.metrics span { font-size: 14px; color: var(--muted); }
.metrics b { font-family: var(--font-head); font-weight: 800; color: var(--fg); font-size: 19px; display: block; }
.kase--pr h3 { margin-bottom: 16px; }

/* ---- ratings ---- */
.ratings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); }
.rating {
  display: flex; align-items: baseline; gap: 18px;
  padding: clamp(18px, 2.2vw, 26px) 6px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.3s, padding-left 0.3s var(--ease);
}
.rating:hover { background: var(--bg-alt); padding-left: 16px; }
.rating__pos { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4vw, 48px); color: var(--accent); line-height: 1; min-width: 1.4em; }
.rating__cat { font-size: 15px; font-weight: 600; }
.record { margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px,3.5vw,44px); background: var(--accent-2); color: #fff; border-radius: var(--radius); }
.record p { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); margin: 8px 0 0; letter-spacing: -0.01em; }

/* ---- footer ---- */
.footer-title { font-size: clamp(34px, 5vw, 64px); line-height: 0.98; margin-bottom: 18px; }
.f-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin-bottom: 14px; }
.site-footer a { opacity: 0.82; transition: opacity 0.25s, color 0.25s; }
.site-footer a:hover { opacity: 1; color: var(--accent); }

@media (max-width: 960px) {
  .ratings { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ratings { grid-template-columns: 1fr; }
  .hero__circle { display: none; }
}
