/* ═══════════════════════════════════════════════════════════════════
   SOLUTIONS PAGE STYLES
   ═══════════════════════════════════════════════════════════════════ */

.hero-content-solution {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
}
.hero-content-solution h1 {
  font-weight: 500;
  font-size: clamp(24px, 4vw, 45px);
  line-height: 130%;
  color: #ffffff;
  margin-bottom: 40px;
}
.hero-content--row {
  width: 100%;
  max-width: 450px;
  padding: 84px 0 0 60px;
  text-align: center;
}
.hero-cta--secondary {
  display: block;
  width: fit-content;
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 22px 48px;
  background: var(--orange);
  border-radius: 8px;
  margin: 0 auto;
}
.hero-ticker--row {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
  padding: 24px 64px;
  background: var(--orange-dark);
}
.hero-ticker--secondary {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
}
.hero-marquee--item {
  display: flex;
  gap: 50px;
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  align-items: center;
}
.sol-hero-man {
  width: 100%;
  max-width: 548px;
  height: 100%;
  max-height: 507px;
}
.sol-hero-man_img {
  width: 100%;
  height: auto;
}
.features-row {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-top: 8px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 212px 212px 212px 212px;
  grid-template-areas:
    "a a b c"
    "d e f f"
    "t t f f"
    "g g h i";
  gap: 15px;
}
.features__cell {
  position: relative;
  overflow: hidden;
}
.features__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.features-grid--two {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 212px 212px 212px 212px;
  grid-template-areas:
    "a a b b"
    "c d b b"
    "t t t e"
    "f g h h";
  gap: 15px;
}
.features__text {
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 32px;
}
.features__text p {
  font-weight: 600;
  font-size: clamp(13px, 3.8vw, 16px);
  line-height: 130%;
  color: #fff;
}
.features__cell--a {
  grid-area: a;
}
.features__cell--b {
  grid-area: b;
}
.features__cell--c {
  grid-area: c;
}
.features__cell--d {
  grid-area: d;
}
.features__cell--e {
  grid-area: e;
}
.features__cell--f {
  grid-area: f;
}
.features__cell--t {
  grid-area: t;
}
.features__cell--g {
  grid-area: g;
}
.features__cell--h {
  grid-area: h;
}
.features__cell--i {
  grid-area: i;
}
.features2__cell--a {
  grid-area: a;
}
.features2__cell--b {
  grid-area: b;
}
.features2__cell--c {
  grid-area: c;
}
.features2__cell--d {
  grid-area: d;
}
.features2__cell--e {
  grid-area: e;
}
.features2__cell--f {
  grid-area: f;
}
.features2__cell--t {
  grid-area: t;
}
.features2__cell--g {
  grid-area: g;
}
.features2__cell--h {
  grid-area: h;
}
.know-how-solution {
  padding: 98px 0 0 0;
}
.know-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 24px;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO MARQUEE — біжуча строка
   ═══════════════════════════════════════════════════════════════════ */
.hero-ticker--secondary.is-marquee {
  overflow: hidden;
  background: var(--orange-dark);
}
.hero-ticker--secondary.is-marquee .hero-ticker--row {
  background: transparent;
  margin-top: 0;
  width: auto;
  justify-content: flex-start;
  flex-shrink: 0;
  padding-left: 0;
  padding-right: 50px;
}
.hero-ticker--track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 25s linear infinite;
}
.hero-ticker--track:hover {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   MARQUEE — іконка-роздільник між пунктами
   ═══════════════════════════════════════════════════════════════════ */
.hero-marquee--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.hero-marquee--icon-mobile {
  display: none;
}
/* Fallback-стрілка (якщо іконка з Customizer не завантажена) */
.hero-marquee--icon-fallback {
  width: auto;
  font-size: 18px;
  line-height: 1;
}
.hero-content-solution h1 {
  font-weight: 500;
  font-size: clamp(24px, 4vw, 45px);
  line-height: 130%;
  color: #ffffff;
  margin-bottom: 40px;
}
.hero-content-solution {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.hero-inner-solution {
  position: relative;
  height: 600px;
  padding: 40px;
  background: linear-gradient(
    100.52deg,
    rgba(255, 255, 255, 0) 18.74%,
    rgba(153, 153, 153, 0.7) 94.29%
  );
  border-radius: 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}
/* Псевдо-оверлей: додатковий тёмний градієнт зліва направо */
.hero-inner-solution::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 20, 62, 0.85) 0%,
    rgba(0, 20, 62, 0.45) 50%,
    rgba(0, 20, 62, 0.15) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.hero-inner-solution .hero-content-solution,
.hero-inner-solution .sol-hero-man {
  position: relative;
}

.hero-inner-solution .hero-content-solution,
.hero-inner-solution .sol-hero-man,
.hero-inner-solution .hero-ticker--secondary {
  z-index: 2;
}
.section-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-intro__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #de6727;
}
.section-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  font-weight: 600;
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 140%;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-intro__title {
  font-weight: 500;
  font-size: clamp(29px, 3vw, 38px);
  line-height: 130%;
  text-align: center;
  color: #000000;
  margin-bottom: 24px;
}
.section-intro__desc {
  font-weight: 400;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 140%;
  text-align: center;
  color: #000000;
  margin-bottom: 32px;
}

.cta-strip {
  padding: 46px 0;
}

.features {
  padding: 68px 0;
}
.features-row {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-top: 4px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, clamp(126px, 17.7vw, 212px));
  grid-template-areas:
    "a a b c"
    "d e f f"
    "t t f f"
    "g g h i";
  gap: 12px;
}

.features__cell {
  position: relative;
  overflow: hidden;
}
.features__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.features-grid--two {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, clamp(126px, 17.7vw, 212px));
  grid-template-areas:
    "a a b b"
    "c d b b"
    "t t t e"
    "f g h h";
  gap: 12px;
}
.features__text {
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 32px;
}
.features__text p {
  font-weight: 600;
  font-size: clamp(13px, 3.8vw, 16px);
  line-height: 130%;
  color: #fff;
}

.features__cell--a {
  grid-area: a;
}
.features__cell--b {
  grid-area: b;
}
.features__cell--c {
  grid-area: c;
}
.features__cell--d {
  grid-area: d;
}
.features__cell--e {
  grid-area: e;
}
.features__cell--f {
  grid-area: f;
}
.features__cell--t {
  grid-area: t;
}
.features__cell--g {
  grid-area: g;
}
.features__cell--h {
  grid-area: h;
}
.features__cell--i {
  grid-area: i;
}

.features2__cell--a {
  grid-area: a;
}
.features2__cell--b {
  grid-area: b;
}
.features2__cell--c {
  grid-area: c;
}
.features2__cell--d {
  grid-area: d;
}
.features2__cell--e {
  grid-area: e;
}
.features2__cell--f {
  grid-area: f;
}
.features2__cell--t {
  grid-area: t;
}
.features2__cell--g {
  grid-area: g;
}
.features2__cell--h {
  grid-area: h;
}
.kh-card__header h3 {
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  color: #000000;
}
.kh-center {
  align-items: center;
}
.video-test {
  padding-top: 72px;
}
.video-test1 {
  padding-top: 26px;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO MARQUEE — біжуча строка (duplicate declaration block)
   ═══════════════════════════════════════════════════════════════════ */
/*.hero-ticker--secondary.is-marquee {
  overflow: hidden;
  background: var(--orange-dark);
}
.hero-ticker--secondary.is-marquee .hero-ticker--row {
  background: transparent;
  margin-top: 0;
  width: auto;
  justify-content: flex-start;
  flex-shrink: 0;
  padding-left: 0;
  padding-right: 50px;
}
.hero-ticker--track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 25s linear infinite;
}
.hero-ticker--track:hover {
  animation-play-state: paused;
}*/

/* ═══════════════════════════════════════════════════════════════════
   MARQUEE — іконка-роздільник між пунктами
   У шаблоні рендеряться ОБИДВІ іконки (десктоп + мобілка), а CSS показує
   потрібну за медіа-запитом.
   ═══════════════════════════════════════════════════════════════════ */
/*.hero-marquee--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.hero-marquee--icon-mobile {
  display: none;
}*/
/* Fallback-стрілка (якщо іконка з Customizer не завантажена) */
/*.hero-marquee--icon-fallback {
  width: auto;
  font-size: 18px;
  line-height: 1;
}*/

/* ═══════════════════════════════════════════════════════════════════
   HELP-SECTION — "Маєте невирішені питання?"
   ═══════════════════════════════════════════════════════════════════ */

.help-section {
  background: var(--bg-blue-light);
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 38px;
  background-position: center bottom 85px;
}
.help-section__inner {
  position: relative;
  width: 100%;
  z-index: 2;
}
.help-section__wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.help-section__content {
  width: 100%;
  max-width: 582px;
  padding: 56px 0;
}
.help-section__title {
  font-weight: 500;
  font-size: clamp(24px, 3vw, 45px);
  line-height: 130%;
  color: #000;
  margin-bottom: 24px;
}
.help-section__text {
  font-weight: 400;
  font-size: clamp(15px, 3vw, 24px);
  line-height: 130%;
  color: #000;
}
.help-section__media {
  flex-shrink: 1;
  width: 100%;
  max-width: 353px;
  height: 100%;
  max-height: 584px;
  margin-left: 120px;
}
.help-section__media img {
  width: 100%;
  height: 100%;
}
.help-section__bottom {
  width: 100%;
  margin: 0 auto;
}
.help-section__updated {
  padding: 40px 0 32px 0;
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  text-align: right;
  color: #000000;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1200px) {
  .sol-hero-man__img {
    height: 870px;
    object-fit: cover;
    object-position: top;
  }
  .hero-content--row {
    padding: 70px 0 0 30px;
  }
  .help-section__media {
    margin: 0 auto;
  }
}
@media (max-width: 1024px) {
  .hero-content--row,
  .sol-hero-man {
    max-width: 400px;
  }
  .help-form {
    right: 0;
    top: 50%;
    margin: 0 0 0 auto;
  }
}
@media (max-width: 991px) {
  /* Hero-секція — гнучка висота, бежеве тло без оверлею */
  .hero-inner-solution {
    height: auto;
    background-color: var(--bg-beige);
    background-blend-mode: normal;
    align-items: center;
    text-align: center;
  }
  .hero-content-solution h1 {
    margin-bottom: 24px;
  }
  .hero-content--row {
    max-width: 350px;
    padding: 70px 0;
    text-align: center;
  }
  .hero-cta--secondary {
    margin: 0 auto;
  }
  .sol-hero-man {
    max-width: 350px;
    height: auto;
    max-height: none;
  }

  /* Marquee — коричневий фон, як у моб версії */
  .hero-ticker--secondary,
  .hero-ticker--secondary.is-marquee {
    background-color: var(--orange-dark);
  }
  .hero-ticker--row {
    background-color: var(--orange-dark);
    font-size: 14px;
    gap: 32px;
    padding: 20px 24px;
  }
  .hero-marquee--item {
    gap: 32px;
  }

  /* CTA-кнопка у hero */
  .hero-cta--secondary {
    padding: 14px 28px;
    font-size: 13px;
  }
  /* know-grid */
  .know-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .help-section__media {
    max-width: 50%;
    max-height: none;
  }
  .help-section__content {
    width: 50%;
  }
  .help-form {
    right: 10px;
    width: 50%;
  }
}

@media (max-width: 768px) {
  /* features */
  .features-row {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  /* features collage — 1-column row heights */
  .features-grid,
  .features-grid--two {
    grid-template-rows: repeat(4, 160px);
  }
  .kh-card__header h3 {
    font-size: 20px;
  }
  .know-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .sol-risks .kh-card__icon {
    display: none;
  }
  .sol-risks .kh-card__header {
    justify-content: flex-start;
    gap: 8px;
  }
  .kh-card__accordion-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }
  .sol-risks .kh-card.is-open .kh-card__accordion-icon {
    transform: rotate(90deg);
  }
  /* additional from 2nd 768px block */
  .know-how__inner {
    margin-bottom: 0;
  }
  .video-test {
    padding-top: 64px;
  }
}

@media (max-width: 575px) {
  /* hero */
  .breadcrumbs,
  .hero {
    position: relative;
    background-color: var(--bg-beige);
  }
  .hero-content--row {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin-bottom: 18px;
  }
  .hero-inner-solution {
    height: 580px;
    margin-left: 0;
    margin-right: 0;
    padding: 10px 0 0 0;
    background-color: var(--bg-beige);
    background-blend-mode: normal;
  }
  .hero-inner-solution::before {
    display: none;
  }
  .hero-content-solution {
    flex-direction: column;
    padding-bottom: 0;
  }
  .hero-content-solution h1 {
    color: #000000;
    width: 100%;
    display: block;
    margin: 0 auto;
    margin-bottom: 21px;
    letter-spacing: 0.04em;
  }
  .hero-cta--secondary {
    border-radius: 0;
    padding: 15px 24px;
    font-size: 12px;
    line-height: 150%;
    letter-spacing: 0;
    text-transform: uppercase;
    background-color: var(--orange-dark);
  }
  .hero-ticker--row {
    margin: 0;
    background-color: #f36316;
    font-size: 14px;
    gap: 24px;
    padding: 20px 16px;
  }
  .hero-ticker--secondary.is-marquee {
    background-color: #f36316;
  }
  .hero-ticker--secondary {
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
  }
  .hero-marquee--item {
    gap: 24px;
  }
  .hero-zero {
    padding: 75px;
  }
  .sol-hero-man {
    max-width: none;
    width: auto;
    margin: 0 auto;
    height: 510px;
    right: 0;
    bottom: 0;
  }
  .sol-hero-man_img {
    width: 100%;
    height: 100%;
  }
  /* marquee icons */
  .hero-marquee--icon-desktop {
    display: none;
  }
  .hero-marquee--icon-mobile {
    display: inline-flex;
  }
  .section-intro__title {
    margin-bottom: 20px;
  }
  .features__title {
    margin-bottom: 12px;
  }
  .section-intro__desc {
    margin-bottom: 0;
  }
  .features-grid {
    grid-template-rows: 126px 126px 126px 126px;
    gap: 8px;
  }
  .features-grid--two {
    grid-template-rows: 126px 126px 126px 126px;
    gap: 8px;
  }
  /* know-how / risks */
  .kh-card__accordion-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    order: -1;
    transition: transform 0.3s ease;
  }
  /* form */
  .form {
    border-radius: 0;
    padding: 32px 39px;
  }
  .form-title {
    text-align: center;
    font-size: 15px;
  }
  /* help-section (first, will be overridden below) */
  .help-section {
    margin-bottom: 32px;
    padding: 40px 16px;
    border-radius: 16px;
  }
  .help-section__inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    margin-bottom: 24px;
  }
  /* cta */
  .cta-strip {
    padding: 0;
  }
  .features {
    padding: 0;
    margin-bottom: 44px;
    padding-top: 56px;
  }
  /* help-section detailed (overrides above) */
  .help-section {
    background-image: none !important;
  }
  .help-section {
    padding: 56px 16px 0 16px;
    border-radius: 0;
    background-color: var(--bg-beige);
  }
  .help-section__inner {
    flex-direction: column;
    text-align: center;
    gap: 7px;
    margin-bottom: 0;
  }
  .help-section__wrap {
    gap: 16px;
  }
  .help-section__content {
    order: 1;
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  .help-section__media {
    order: 2;
    height: 430px;
  }
  .help-section__title {
    font-size: clamp(18px, 1.2vw, 20px);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 130%;
  }
  .help-section__text {
    line-height: 140%;
  }
  .cta-strip {
    margin-left: 16px;
    margin-right: 16px;
  }
  .know-how {
    padding-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .help-section {
    background-image: none !important;
    margin: 0;
    padding: 56px 0 32px;
    border-radius: 0;
    background-color: var(--bg-beige);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .help-section__inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    margin-bottom: 0;
  }
  .help-section__wrap {
    flex-direction: column;
  }
  .help-section__content {
    order: 1;
    padding-top: 0;
    max-width: 100%;
  }
  .help-section__media {
    order: 2;
    width: auto;
    max-width: none;
    height: 490px;
    max-height: none;
    margin: 0 auto;
  }
  .help-section__media img {
    width: 100%;
    height: 100%;
  }
  .help-section__title {
    font-size: clamp(18px, 1.2vw, 20px);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0.7px;
  }
  .help-section__text {
    line-height: 140%;
  }
  .help-form {
    width: 100%;
    max-width: none;
    padding: 12px;
    border-radius: 0px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    margin: 0 auto;
    top: 54%;
  }
  .help-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .help-form .inp {
    border-radius: 0;
    padding: 15px 12px;
  }
  .help-section__updated {
    font-size: 15px;
    padding: 32px 0;
  }
  .know-grid {
    width: 100%;
    padding-bottom: 0;
    margin: 0;
    padding: 24px 0;
    gap: 8px;
  }
  .kh-card__body-solution {
    margin-top: 12px;
  }
  .kh-card__item {
    gap: 10px;
    margin-bottom: 12px;
  }
  .kh-card {
    padding: 0 !important;
  }
  /* video */
  .video-test {
    padding-top: 20px;
    margin-bottom: 56px;
  }
  .video-test-section {
    padding-top: 24px;
  }
  .vt-slide {
    background: none;
    padding: 16px;
    border-radius: 0;
    border: 1px solid #ede3d8;
    justify-items: start;
  }
  .cta-strip {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker--track {
    animation: none;
  }
}
