@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Unbounded:wght@600;700&display=swap');

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.p24-companies-page {
  background-color: #f4f5f6;
  background-image: repeating-linear-gradient(-18deg, transparent 0 22px, rgba(22, 28, 34, 0.035) 22px 23px);
  background-attachment: fixed;
}
body.p24-companies-page .site-content-fullwidth {
  background: transparent;
  padding: 0;
}
body.p24-companies-page .co--index {
  font-family: Manrope, system-ui, sans-serif;
  color: #17211c;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.p24-companies-page .co--index h1,
body.p24-companies-page .co--index h2 {
  font-family: Unbounded, Manrope, sans-serif;
  letter-spacing: -0.04em;
}

/* ——— Profile (compact) ——— */
.co:not(.co--index) {
  max-width: 1450px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  font-family: Manrope, system-ui, sans-serif;
}
.co:not(.co--index) h1,
.co:not(.co--index) h2 {
  font-family: Unbounded, Manrope, sans-serif;
  letter-spacing: -0.04em;
}
.co-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: #6d776f;
  font-size: 14px;
}
.co-crumbs a { color: #146b3a; text-decoration: none; }
.co-head h1 { margin: 0 0 10px; font-size: 40px; line-height: 1.1; color: #101613; }
.co-head p { margin: 0 0 8px; max-width: 720px; color: #3d4942; font-size: 17px; line-height: 1.5; }
.co-rate { margin: 8px 0 0; font-weight: 700; color: #146b3a; }

/* ——— Full-bleed hero ——— */
.co-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: calc(var(--p24-header-pad, 12px) + var(--p24-header-h, 56px) + 28px) 0 56px;
  min-height: 420px;
  color: #f4f7f5;
  background: #101613;
  border-radius: 0 0 32px 32px;
}
.co-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 26%, rgba(0, 0, 0, 0.4) 40%, #000 56%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 26%, rgba(0, 0, 0, 0.4) 40%, #000 56%, #000 100%);
}
.co-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 40%;
}
.co-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #101613 0%, #101613 32%, rgba(16, 22, 19, 0.9) 46%, rgba(16, 22, 19, 0.35) 66%, rgba(16, 22, 19, 0.1) 100%),
    linear-gradient(180deg, rgba(16, 22, 19, 0.18) 0%, transparent 48%, rgba(16, 22, 19, 0.28) 100%);
}
.co-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.co-crumbs--hero { margin: 0 0 16px; color: rgba(244, 247, 245, 0.62); }
.co-crumbs--hero a { color: #8ddeb0; }
.co-hero__eye {
  margin: 0 0 8px;
  color: #8ddeb0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.co-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  color: #fff;
}
.co-hero__lead {
  margin: 0;
  max-width: 680px;
  color: rgba(244, 247, 245, 0.78);
  font-size: 17px;
  line-height: 1.5;
}
.co-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.co-stats li {
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.co-stats strong { display: block; font-size: 20px; }
.co-stats span { color: rgba(244, 247, 245, 0.62); font-size: 13px; }

/* ——— Kind row ——— */
.co-cats {
  width: 100%;
  margin: 0;
  padding: 22px 0 8px;
}
.co-cats__inner {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.co-cats__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 108px;
  padding: 16px;
  border: 1px solid #e3e8e5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 22, 19, 0.04);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.co-cats__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 22, 19, 0.08);
}
.co-cats__title {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #101613;
}
.co-cats__count {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef1ef;
  color: #3d4942;
  font-size: 12px;
  font-weight: 800;
}
.co-cats__item.is-on {
  background: #101613;
  border-color: #101613;
  box-shadow: 0 16px 36px rgba(16, 22, 19, 0.18);
}
.co-cats__item.is-on .co-cats__title { color: #fff; }
.co-cats__item.is-on .co-cats__count {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ——— Filter + list ——— */
.co-wrap {
  max-width: 1450px;
  margin: 18px auto 48px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  box-sizing: border-box;
}
.co-side {
  position: sticky;
  top: 92px;
  background: #fff;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(16, 22, 19, 0.06);
}
.co-side__toggle { display: none; }
.co-search input {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  border: 1px solid #e3e8e5;
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  background: #f7f8f8;
}
.co-group { margin-top: 16px; }
.co-group p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d776f;
}
.co-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.co-chips button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px 0 12px;
  border: 1px solid #e3e8e5;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #17211c;
}
.co-chips button span {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f0f2f1;
  color: #5d675f;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.co-chips button.is-on { background: #101613; color: #fff; border-color: #101613; }
.co-chips button.is-on span { background: rgba(255, 255, 255, 0.16); color: #fff; }
.co-reset {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #146b3a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.co-count { margin: 0 0 12px; color: #6d776f; font-weight: 700; }
.co-none, .co-empty { margin: 12px 0 0; color: #5d675f; }

.co-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.co-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  padding: 10px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(16, 22, 19, 0.05);
}
.co-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border-radius: 16px;
  overflow: hidden;
  background: #e8ece9;
}
.co-card__letter { font-size: 42px; font-weight: 800; color: #146b3a; }
.co-card__media img, .co-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.co-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 8px 8px 0;
}
.co-card h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; }
.co-card h2 a { color: #101613; text-decoration: none; }
.co-card__meta, .co-price { margin: 0 0 6px; color: #5d675f; }
.co-price { color: #101613; font-weight: 700; }
.co-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #17824a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.co-block { margin-top: 36px; }
.co-block h2 { margin: 0 0 8px; font-size: 28px; color: #101613; }
.co-jobs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.co-jobs li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  padding: 14px 16px;
  background: #fff;
  border-radius: 16px;
}
.co-jobs a { color: #101613; font-weight: 800; text-decoration: none; }
.co-jobs span { color: #5d675f; }
.co-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.co-photos img { height: 160px; border-radius: 16px; }
.co-quotes { display: grid; gap: 12px; margin-top: 14px; }
.co-quote { margin: 0; padding: 16px 18px; background: #fff; border-radius: 18px; }
.co-quote p { margin: 0 0 8px; }
.co-quote footer { color: #5d675f; font-size: 14px; }
.co-quote a { color: #146b3a; }

@media (max-width: 980px) {
  .co-hero { min-height: 380px; }
  .co-hero__media {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .co-hero__media img { object-position: 60% 35%; }
  .co-hero__shade {
    background:
      linear-gradient(180deg,
        rgba(16, 22, 19, 0.52) 0%,
        rgba(16, 22, 19, 0.4) 30%,
        rgba(16, 22, 19, 0.55) 58%,
        rgba(16, 22, 19, 0.78) 100%),
      linear-gradient(115deg,
        rgba(16, 22, 19, 0.48) 0%,
        rgba(16, 22, 19, 0.28) 42%,
        rgba(16, 22, 19, 0.12) 72%,
        rgba(16, 22, 19, 0.06) 100%);
  }
  .co-wrap { grid-template-columns: 1fr; }
  .co-side { position: static; }
  .co-side__toggle {
    display: flex;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #101613;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }
  .co-side__body { display: none; margin-top: 12px; }
  .co-side.is-open .co-side__body { display: block; }
  .co-cats__inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .co:not(.co--index) { padding: 18px 14px 48px; }
  .co-head h1 { font-size: 30px; }
  .co-grid, .co-photos, .co-card { grid-template-columns: 1fr; }
  .co-card__media { aspect-ratio: 16/10; min-height: 0; }
  .co-wrap { padding: 0 14px; margin-bottom: 36px; }
  .co-cats__inner { padding: 0 14px; }
  .co-hero__inner { padding: 0 14px; }
}
