/* ════════════════════════════════════════════
   COMPANY PAGE — company.css
   All classes prefixed with `co-`
   Globals (nav, footer, breadcrumb, fonts) live in style.css
   ════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   SHARED PAGE WRAPPER
   ══════════════════════════════════════════ */

.co-hero,
.co-mission,
.co-directions,
.co-team {
  padding-inline: 50px;
}

/* Section vertical rhythm */
.co-hero        { margin-bottom: 80px; }
.co-mission     { margin-bottom: 80px; }
.co-directions  { margin-bottom: 80px; }
.co-team        { margin-bottom: 80px; }
.co-process     { margin-bottom: 0; }
.co-grow        { margin-bottom: 0; }
.co-partners    { margin-bottom: 0; }


/* ══════════════════════════════════════════
   1. HERO — О КОМПАНИИ
   ══════════════════════════════════════════ */

.co-hero {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: stretch;
  min-height: 884px;
}

.co-hero__img-wrap {
  flex: 0 0 700px;
  border-radius: 20px;
  overflow: hidden;
  height: 884px;
}

.co-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.co-hero__card {
  flex: 1;
  background: #ffffff;
  border-radius: 20px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.co-hero__title {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  line-height: 1.1;
}

.co-hero__desc {
  font-size: 20px;
  line-height: 1.6;
  color: #666;
  flex: 1;
}

.co-hero__stats {
  display: flex;
  gap: 0;
  margin-top: auto;
}

.co-hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 20px;
  border-right: 1px solid #e0e0e0;
  padding-left: 20px;
}

.co-hero__stat:first-child {
  padding-left: 0;
}

.co-hero__stat:last-child {
  border-right: none;
}

.co-hero__stat-num {
  font-size: 80px;
  font-weight: 700;
  color: #111;
  line-height: 1;
}

.co-hero__stat-label {
  font-size: 16px;
  color: #666;
  line-height: 1.4;
}


/* ══════════════════════════════════════════
   2. МИССИЯ
   ══════════════════════════════════════════ */

.co-mission {display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.co-mission__card {
  flex: 0 0 886px;
  background: white;
  border-radius: 20px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
  min-height: 600px;

}


.co-mission__title {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  line-height: 1.1;
  text-transform: uppercase;
}

.co-mission__desc {
  font-size: 20px;
  line-height: 1.65;
  color: #444;
}

.co-mission__img-wrap {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  min-height: 600px;
}

.co-mission__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ══════════════════════════════════════════
   3. КЛЮЧЕВЫЕ НАПРАВЛЕНИЯ
   ══════════════════════════════════════════ */

.co-directions__title {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.co-directions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Base direction card */
.co-dir-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
}

.co-dir-card--light {
  background: #ffffff;
}

.co-dir-card--dark {
  background: #171717;
  border: 4px solid #ff7d01;
}

/* Icon box — top-left */
.co-dir-card__icon-box {
  position: absolute;
  top: 60px;
  left: 60px;
  width: 140px;
  height: 140px;
  background: #f4f4f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: #222;
}

.co-dir-card__icon-box--dark {
  background: white
}

.co-dir-card__icon {
  width: 64px;
  height: 64px;
  display: block;
}


/* Arrow button — top-right */
.co-dir-card__arrow {
  position: absolute;
  top: 60px;
  right: 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ff7d01;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 2;
  transition: opacity 0.2s;
  transform: rotate(-90deg);
}

.co-dir-card__arrow:hover {
  opacity: 0.85;
}

.co-dir-card__arrow img {
  width: 20px;
  height: 20px;
  display: block;
}

/* Product image — positioned absolutely at right */
.co-dir-card__img {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.co-dir-card__img--rvsa {
  right: -300px;
  top: 80px;
}

.co-dir-card__img--rvsa img {
  width: 100%;
  height: auto;
  transform: rotate(16.571deg);
  display: block;
}

.co-dir-card__img--cupam {
  right: 100px;
  top: 0;
  width: 55%;
  height: 100%;
}

.co-dir-card__img--cupam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}

/* Text body — bottom */
.co-dir-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.co-dir-card__title {
  font-size: 64px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: #111;
}

.co-dir-card__title--white {
  color: #ffffff;
}

.co-dir-card__desc {
  font-size: 24px;
  line-height: 1.5;
  color: #666;
}

.co-dir-card__desc--white {
  color: #cccccc;
}


/* ══════════════════════════════════════════
   4. ВЕДУЩИЕ СПЕЦИАЛИСТЫ
   ══════════════════════════════════════════ */

.co-team__title {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  margin-bottom: 30px;
}

.co-team__row {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ff7d01 #f0f0f0;
  padding-bottom: 8px;
}

.co-team__row::-webkit-scrollbar {
  height: 4px;
}

.co-team__row::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 2px;
}

.co-team__row::-webkit-scrollbar-thumb {
  background: #ff7d01;
  border-radius: 2px;
}

/* Team card */
.co-team-card {
  flex: 0 0 344px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
}

.co-team-card__photo {
  position: relative;
  width: 344px;
  height: 488px;
  border-radius: 20px;
  overflow: hidden;
}

.co-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.co-team-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 24px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.co-team-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.co-team-card__name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.co-team-card__role {
  font-size: 16px;
  color: #ff7d01;
  font-weight: 600;
}

.co-team-card__about {
  font-size: 14px;
  color: #cccccc;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.co-team-card__btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ff7d01;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s;
  transform: rotate(-90deg);
}

.co-team-card__btn:hover {
  opacity: 0.85;
}

.co-team-card__btn img {
  width: 14px;
  height: 14px;
  display: block;
}


/* ══════════════════════════════════════════
   5. КАК МЫ РАБОТАЕМ
   ══════════════════════════════════════════ */

.co-process {
  background: #f4f4f4;
  padding: 100px 50px;
}

.co-process__title {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  margin-bottom: 60px;
  line-height: 1.2;
}

.co-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 0;
  row-gap: 60px;
}

/* Individual step */
.co-step {
  padding-right: 20px;
}

.co-step__head {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.co-step__num {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ff7d01;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Connector arrow — horizontal line with arrowhead at the right end */
.co-step__line {
  flex: 1;
  position: relative;
  height: 2px;
  background: #dddddd;
  margin-left: 12px;
  /* make room so the arrowhead tip doesn't get clipped */
  margin-right: 6px;
}

.co-step__line::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #dddddd;
}

/* Last step in each row has no line */
.co-step--last-in-row .co-step__head {
  /* no extra styling needed; line element is absent in HTML */
}

.co-step__title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
  line-height: 1.3;
}

.co-step__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.co-step__list li {
  font-size: 16px;
  color: #555;
  line-height: 1.4;
  padding-left: 16px;
  position: relative;
}

.co-step__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff7d01;
}


/* ══════════════════════════════════════════
   6. РАСТЕМ ВМЕСТЕ С ТЕХНОЛОГИЯМИ
   ══════════════════════════════════════════ */

.co-grow {
  padding: 100px 50px;
  background: white;
  color: black;
}

.co-grow__text-block {
  margin-bottom: 40px;
}

.co-grow__title {
  font-size: 54px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 28px;
}

.co-grow__subtitle {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 32px;
  text-transform: uppercase;
  font-weight: 700;
}

.co-grow__body {
  font-size: 18px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.co-grow__body:last-child {
  margin-bottom: 0;
}

.co-grow__wall-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 80px;
  margin-bottom: 30px;
}

.co-grow__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.co-grow__gallery-img {
  width: 100%;
  height: 332px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}


/* ══════════════════════════════════════════
   7. ЛИЦЕНЗИИ
   ══════════════════════════════════════════ */

.co-licenses {
  padding: 100px 50px;
}

.co-licenses__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

/* ── Card ── */
.co-license-card {
  position: relative;
  background: #e0e6ed;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 40px;
  text-align: center;
}

/* "ЛИЦЕНЗИЯ" label */
.co-license-card__tag {
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: #606b78;
  letter-spacing: 1px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Certificate image — semitransparent watermark behind text */
.co-license-card__img-wrap {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  width: 76%;
  aspect-ratio: 1 / 1;
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.co-license-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Description text — overlaid above image */
.co-license-card__desc {
  position: relative;
  z-index: 2;
  color: #555;
  line-height: 1.55;
  text-align: center;
  flex: 1;
  overflow: hidden;
}



/* Download button */
.co-license-card__btn {
 
  width: 100%;
  height: 50px;
  background: #ff7d01;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 4;
  transition: opacity 0.2s;
}

.co-license-card__btn:hover {
  opacity: 0.88;
}

/* ── Responsive ── */
@media (max-width: 1440px) {
  .co-licenses__row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .co-licenses__row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .co-licenses { padding: 60px 28px; }
  .co-licenses__row { grid-template-columns: repeat(2, 1fr); }
  .co-license-card__tag { font-size: 22px; }
  .co-license-card__btn { font-size: 16px; height: 44px; }
}

@media (max-width: 500px) {
  .co-licenses { padding: 40px 16px; }
  .co-licenses__row { grid-template-columns: 1fr; }
  .co-license-card { padding: 24px; }
}


/* ══════════════════════════════════════════
   8. ПАРТНЕРЫ И КЛИЕНТЫ
   ══════════════════════════════════════════ */

.co-partners {
  background: #ffffff;
  padding: 80px 50px;
  text-align: center;
}

.co-partners__title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 60px;
}

.co-partners__logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.co-partners__logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
  transition: filter 0.2s;
}

.co-partners__logo:hover {
  filter: grayscale(0);
}


/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

/* ── ≤1400px — hero image narrower */
@media (max-width: 1400px) {
  .co-hero__img-wrap {
    flex: 0 0 500px;
    height: auto;
  }

  .co-hero {
    min-height: 0;
  }

  .co-hero__stat-num {
    font-size: 60px;
  }

  .co-mission__card {
    flex: 0 0 600px;
  }
}

/* ── ≤1200px — two-column hero, smaller fonts */
@media (max-width: 1200px) {
  .co-hero,
  .co-mission,
  .co-directions,
  .co-team,
  .co-licenses {
    
  }

  .co-hero        { margin-bottom: 60px; }
  .co-mission     { margin-bottom: 60px; grid-template-columns: 1fr; }
  .co-directions  { margin-bottom: 60px; }
  .co-team        { margin-bottom: 60px; }

  .co-hero__img-wrap {
    flex: 0 0 420px;
    height: auto;
  }

  .co-hero__title     { font-size: 38px; }
  .co-hero__desc      { font-size: 18px; }
  .co-hero__stat-num  { font-size: 52px; }

  .co-mission__title  { font-size: 38px; }
  .co-mission__desc   { font-size: 18px; }
  .co-mission__card   { flex: 0 0 50%; }

  .co-directions__title { font-size: 38px; }
  .co-dir-card          { min-height: 700px; }
  .co-dir-card__title   { font-size: 52px; }

  .co-team__title     { font-size: 38px; }

  .co-process__title  { font-size: 38px; }
  .co-process { padding: 80px 40px; }

  .co-grow__title     { font-size: 44px; }
  .co-grow__subtitle  { font-size: 22px; }
  .co-grow { padding: 80px 40px; }

  .co-licenses__title { font-size: 38px; }

  .co-partners { padding: 60px 40px; }
}

/* ── ≤960px — hero stacks, mission stacks, directions single col */
@media (max-width: 960px) {
  .co-hero,
  .co-mission,
  .co-directions,
  .co-team,
  .co-licenses {
    padding-inline: 25px;
  }

  

  .co-hero        { margin-bottom: 40px; }
  .co-mission     { margin-bottom: 40px; }
  .co-directions  { margin-bottom: 40px; }
  .co-team        { margin-bottom: 40px; }

  /* Hero stacks */
  .co-hero {
    flex-direction: column;
  }

  .co-hero__img-wrap {
    flex: none;
    width: 100%;
    height: 400px;
  }

  .co-hero__title     { font-size: 32px; }
  .co-hero__desc      { font-size: 17px; }
  .co-hero__stat-num  { font-size: 44px; }
  .co-hero__stat-label { font-size: 14px; }

  /* Mission stacks */
  .co-mission {
    flex-direction: column;
  }

  .co-mission__card {
    flex: none;
    width: 100%;
    min-height: 0;
  }

  .co-mission__img-wrap {
    min-height: 360px;
  }

  .co-mission__title { font-size: 32px; }
  .co-mission__desc  { font-size: 17px; }

  /* Directions — single col */
  .co-directions__grid {
    grid-template-columns: 1fr;
  }

  .co-dir-card      { min-height: 600px; }
  .co-dir-card__title { font-size: 44px; }
  .co-dir-card__body  { max-width: 70%; }
  .co-dir-card__img--rvsa {
    right: -500px;
  }
.co-dir-card__img--rvsa img { width: 75%; }
  /* Process — 2 cols */
  .co-process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .co-process { padding: 60px 28px; }
  .co-process__title { font-size: 30px; margin-bottom: 40px; }

  /* Grow gallery — 2 cols */
  .co-grow__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .co-grow { padding: 60px 28px; }
  .co-grow__title     { font-size: 36px; }
  .co-grow__subtitle  { font-size: 20px; }

  .co-partners { padding: 50px 28px; }
}

/* ── ≤640px — single column, mobile-friendly */
@media (max-width: 640px) {
  .co-hero,
  .co-mission,
  .co-directions,
  .co-team,
  .co-licenses {
    padding-inline: 16px;
  }

  .co-hero        { margin-bottom: 32px; }
  .co-mission     { margin-bottom: 32px; }
  .co-directions  { margin-bottom: 32px; }
  .co-team        { margin-bottom: 32px; }

  .co-hero__card    { padding: 28px 20px; }
  .co-hero__title   { font-size: 28px; }
  .co-hero__desc    { font-size: 16px; }

  .co-hero__stats { flex-direction: column; gap: 20px; }
  .co-hero__stat  {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 0 16px 0;
  }
  .co-hero__stat:last-child { border-bottom: none; padding-bottom: 0; }
  .co-hero__stat-num   { font-size: 48px; }

  .co-mission__card { padding: 28px 20px; }
  .co-mission__title { font-size: 28px; }
  .co-mission__desc  { font-size: 16px; }
  .co-mission__img-wrap { min-height: 260px; }

  .co-directions__title { font-size: 28px; }
  .co-dir-card          { min-height: 500px; padding: 30px; }
  .co-dir-card__icon-box { top: 30px; left: 30px; width: 100px; height: 100px; }
  .co-dir-card__icon     { width: 48px; height: 48px; }
  .co-dir-card__arrow    { top: 80px; right: 30px; width: 48px; height: 48px; }
  .co-dir-card__title    { font-size: 36px; }
  .co-dir-card__desc     { font-size: 16px; }
  .co-dir-card__body     { max-width: 100%; }
    .co-dir-card__img--rvsa { right: -600px; }
  .co-dir-card__img--rvsa img { width: 55%; }

  .co-team__title  { font-size: 28px; }
  .co-team-card    { flex: 0 0 280px; }
  .co-team-card__photo { width: 280px; height: 380px; }

  /* Process — still 2 cols on 640 */
  .co-process { padding: 50px 16px; }
  .co-process__title { font-size: 24px; margin-bottom: 32px; }
  .co-step__title { font-size: 15px; }
  .co-step__list li { font-size: 14px; }

  .co-grow { padding: 50px 16px; }
  .co-grow__title     { font-size: 28px; }
  .co-grow__subtitle  { font-size: 18px; }
  .co-grow__body      { font-size: 16px; }
  .co-grow__wall-title { font-size: 28px; margin-top: 50px; }
  .co-grow__gallery-img { height: 200px; }

  .co-licenses__title { font-size: 28px; }

  .co-partners { padding: 40px 16px; }
  .co-partners__title { font-size: 20px; margin-bottom: 40px; }
  .co-partners__logo  { height: 40px; }
}

/* ── ≤420px — everything single column */
@media (max-width: 420px) {
  .co-hero__img-wrap { height: 260px; }

  .co-hero__stats { flex-direction: column; }

  .co-process__grid {
    grid-template-columns: 1fr 1fr;
  }

  .co-grow__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .co-grow__gallery-img { height: 160px; }

  .co-directions__grid { grid-template-columns: 1fr; }

  .co-dir-card__img--rvsa { display: none; }
  .co-dir-card__img--cupam { display: none; }
  .co-dir-card__body { max-width: 100%; }

  .co-license-card__img  { width: 200px; height: 200px; }
  .co-license-card__btn  { width: 200px; }
}
