
/* ==========================================
   HAPPY CHILD — БОЛЬШЕ О ЖИЗНИ В САДУ
   MOBILE FIRST
========================================== */

/* Основная секция */

.hc2-more {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 60px 16px 70px;
  background: #f1faff;
  color: #0c2148;
  font-family: 'Montserrat', Arial, sans-serif;
}

.hc2-more *,
.hc2-more *::before,
.hc2-more *::after {
  box-sizing: border-box;
}

/* Контейнер */

.hc2-more__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

/* ==========================================
   ДЕКОРАТИВНЫЙ ФОН
========================================== */

.hc2-more__cloud {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 260px;
  height: 130px;
  border-radius: 50%;
  background: #dff3ff;
  opacity: 0.8;
}

.hc2-more__cloud--left {
  left: -170px;
  bottom: -55px;
  box-shadow:
    90px 25px 0 -30px #dff3ff,
    160px 55px 0 -55px #dff3ff;
}

.hc2-more__cloud--right {
  right: -185px;
  top: -45px;
  box-shadow:
    -90px 30px 0 -35px #dff3ff;
}

/* Декоративные SVG */

.hc2-more__decoration {
  position: absolute;
  z-index: 1;
  display: none;
  pointer-events: none;
}

.hc2-more__decoration--bulb {
  color: #27bf91;
}

.hc2-more__decoration--star {
  color: #ffb400;
}

/* ==========================================
   ЗАГОЛОВОК
========================================== */

.hc2-more__header {
  max-width: 1000px;
  margin: 0 auto 30px;
  text-align: center;
}

.hc2-more__eyebrow {
  margin: 0 0 12px;
  color: #627693;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hc2-more__title {
  margin: 0 0 14px;
  color: #071d46;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.hc2-more__title span {
  color: #09a7dc;
}

.hc2-more__description {
  margin: 0 auto;
  max-width: 760px;
  color: #627693;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

/* ==========================================
   СЕТКА КАРТОЧЕК
========================================== */

.hc2-more__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

/* Карточка */

.hc2-more__card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 116px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  color: #0c2148;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(24, 60, 96, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Цвета карточек */

.hc2-more__card--blue {
  background: #e8f7ff;
  --hc2-more-accent: #009ed4;
  --hc2-more-icon-bg: #d5f0ff;
}

.hc2-more__card--yellow {
  background: #fff8e6;
  --hc2-more-accent: #f5a900;
  --hc2-more-icon-bg: #fff0bf;
}

.hc2-more__card--pink {
  background: #fff0f5;
  --hc2-more-accent: #f24d87;
  --hc2-more-icon-bg: #ffdeea;
}

/* Круглая иконка */

.hc2-more__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 50%;
  background: var(--hc2-more-icon-bg);
  color: var(--hc2-more-accent);
}

.hc2-more__icon svg {
  width: 36px;
  height: 36px;
}

/* Текст карточки */

.hc2-more__card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.hc2-more__card-title {
  display: block;
  color: #0c2148;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.hc2-more__card-description {
  display: block;
  color: #55718f;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

/* Стрелка справа */

.hc2-more__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  color: var(--hc2-more-accent);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.hc2-more__arrow svg {
  width: 19px;
  height: 19px;
}

/* Наведение */

@media (hover: hover) {
  .hc2-more__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(24, 60, 96, 0.1);
  }

  .hc2-more__card:hover .hc2-more__arrow {
    transform: translateX(3px);
    background: #ffffff;
  }
}

/* Клавиатурная навигация */

.hc2-more__card:focus-visible {
  outline: 3px solid #009ed4;
  outline-offset: 4px;
}

/* ==========================================
   ПЛАНШЕТЫ — ОТ 768 PX
========================================== */

@media (min-width: 768px) {

  .hc2-more {
    padding: 75px 24px 85px;
  }

  .hc2-more__header {
    margin-bottom: 36px;
  }

  .hc2-more__eyebrow {
    font-size: 13px;
  }

  .hc2-more__title {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .hc2-more__description {
    font-size: 15px;
  }

  .hc2-more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hc2-more__card {
    min-height: 140px;
    padding: 22px;
    gap: 16px;
  }

  .hc2-more__icon {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  .hc2-more__icon svg {
    width: 40px;
    height: 40px;
  }

  .hc2-more__card-title {
    font-size: 17px;
  }

  .hc2-more__card-description {
    font-size: 14px;
  }

  .hc2-more__arrow {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .hc2-more__decoration {
    display: block;
  }

  .hc2-more__decoration--bulb {
    left: 3%;
    top: 45px;
    width: 65px;
  }

  .hc2-more__decoration--star {
    right: 4%;
    top: 50px;
    width: 65px;
  }
}

/* ==========================================
   ДЕСКТОП — ОТ 1200 PX
========================================== */

@media (min-width: 1200px) {

  .hc2-more {
    padding: 75px 32px 90px;
  }

  .hc2-more__header {
    margin-bottom: 38px;
  }

  .hc2-more__title {
    font-size: 44px;
  }

  .hc2-more__description {
    font-size: 16px;
  }

  .hc2-more__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .hc2-more__card {
    min-height: 145px;
    padding: 22px;
    gap: 16px;
  }

  .hc2-more__icon {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .hc2-more__icon svg {
    width: 42px;
    height: 42px;
  }

  .hc2-more__card-title {
    font-size: 18px;
  }

  .hc2-more__card-description {
    font-size: 14px;
  }

  .hc2-more__arrow {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hc2-more__decoration--bulb {
    left: 8%;
    top: 45px;
    width: 85px;
  }

  .hc2-more__decoration--star {
    right: 9%;
    top: 55px;
    width: 80px;
  }
}

/* ==========================================
   БОЛЬШИЕ ЭКРАНЫ — ОТ 1400 PX
========================================== */

@media (min-width: 1400px) {

  .hc2-more {
    padding: 85px 32px 100px;
  }

  .hc2-more__eyebrow {
    font-size: 14px;
  }

  .hc2-more__title {
    font-size: 48px;
  }

  .hc2-more__description {
    font-size: 17px;
  }

  .hc2-more__grid {
    gap: 20px;
  }

  .hc2-more__card {
    min-height: 155px;
    padding: 26px;
    gap: 18px;
  }

  .hc2-more__icon {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .hc2-more__icon svg {
    width: 44px;
    height: 44px;
  }

  .hc2-more__card-title {
    font-size: 20px;
  }

  .hc2-more__card-description {
    font-size: 16px;
  }

  .hc2-more__arrow {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

/* ==========================================
   УМЕНЬШЕНИЕ АНИМАЦИИ
========================================== */

@media (prefers-reduced-motion: reduce) {

  .hc2-more__card,
  .hc2-more__arrow {
    transition: none;
  }
}
