/* =========================
   HOME HERO
========================= */

.home-hero{
  padding: 70px 0 60px;
  background:
    radial-gradient(circle at 0% 0%, #e5f7eb 0, transparent 55%),
    radial-gradient(circle at 80% 20%, #e3f1ff 0, transparent 55%),
    #ffffff;
}

.home-hero__inner{
  display:grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  align-items:center;
  gap:40px;
}

/* LEFT */

.home-hero__content{
  max-width: 640px;
}

/* бейдж */
.home-hero__badge{
  display:inline-flex;
  align-items:center;
  padding:6px 14px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #e4e4e4;
  margin-bottom:20px;
}

.home-hero__name{
  font-size:16px;
  font-weight: var(--fw-bold);
}

/* заголовок */
.home-hero__title{
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: var(--fw-extrabold);
  line-height:1.2;
  margin:0 0 18px;
  color: var(--c-black);
}

.home-hero__accent{
  position: relative;
  display: inline-block;
  margin: 0 0.04em;
  padding: 0 0.15em;
  font-style: italic;
  font-weight: var(--fw-regular);
  z-index: 0;
}

/* Нахилений фон під словом */
.home-hero__accent::before{
  content: "";
  position: absolute;
	inset: -0.1px -0.15px;
  background: linear-gradient(
    90deg,
    rgba(98,189,84,0.18),
    rgba(98,189,84,0.55)
  );
  border-radius: 0.5em;
  transform: skewX(-14deg);
  z-index: -1;
  pointer-events: none;
}

.home-hero__card{
  padding-top: 6px;
  background: transparent;
  border:none;
  box-shadow:none;
}

/* список поінтів */
.home-hero__list{
  display:grid;
  margin:0 0 35px;
  padding:0;
  list-style:none;
  font-size:16px;
  color: var(--c-black);
}

.home-hero__item{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.home-hero__bullet{
  width:8px;
  height:8px;
  border-radius:2px;
  background: var(--c-green);
  flex:0 0 8px;
  margin-top:22px;
}

/* кнопки */
.home-hero__buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
      display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: .2s ease;
    border: 1px solid transparent;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    border-radius: 999px;
    text-transform: uppercase;

}

/* primary */
.btn--primary{
  background: var(--c-green);
  color: var(--c-white);
}
.btn--primary:hover{
  filter: brightness(.95);
}

/* ghost */
.btn--ghost{
  background: transparent;
  color: var(--c-black);
  border-color:#222;
}
.btn--ghost:hover{
  background:#222;
  color:#fff;
}

/* RIGHT */

.home-hero__aside{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:50px;
}

.home-hero__photo{
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.home-hero__photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.home-hero__socials{
  display:flex;
  flex-direction:column;
  gap:45px;
}

.hero-social{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:.2s ease;
  background:#ffffff;
  border:1px solid #e4e4e4;
}

.hero-social svg{
  width:22px;
  height:22px;
  fill: var(--c-green);
  display:block;
  transition:.2s ease;
}

.hero-social:hover{
  background: var(--c-green);
  border-color: var(--c-green);
}
.hero-social:hover svg{
  fill:#fff;
}

/* =========================
   Анімація
========================= */

.home-hero__content,
.home-hero__aside{
  opacity:0;
  transform: translateY(20px);
  transition:
    opacity .5s ease,
    transform .5s ease;
}

.home-hero.is-visible .home-hero__content{
  opacity:1;
  transform: translateY(0);
}

.home-hero.is-visible .home-hero__aside{
  opacity:1;
  transform: translateY(0);
  transition-delay:.1s;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px){
  .home-hero{
    padding: 52px 0 46px;
  }

  .home-hero__inner{
    grid-template-columns: 1fr;
    gap:30px;
  }

  .home-hero__aside{
    justify-content: flex-start;
    gap: 18px;
  }
  
  .home-hero__socials{
    gap: 18px;
  }

  .home-hero__photo{
    max-width: 360px;
  }
}

@media (max-width: 992px){
  .home-hero__aside{
    justify-content: flex-start;
    gap: 18px;
  }
  
  .home-hero__socials{
    gap: 18px;
  }
}


@media (max-width: 768px){

  .home-hero__buttons .btn{
    width:100%;
    justify-content:center;
  }

  /* FIX: socials справа від фото */
  .home-hero__aside{
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
  }

  .home-hero__photo{
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    min-width: 0;
  }

  .home-hero__socials{
        flex: 0 0 auto;
        gap: 32px;
        margin-top: 45px;
  }

  .hero-social{
    width: 38px;
    height: 38px;
  }

  .hero-social svg{
    width: 20px;
    height: 20px;
  }
}



/* =========================
   Блок Мої сильні сторони
========================= */

.home-strengths{
  position: relative;
  padding: 70px 0 70px;
  background: #FFFFFF;
  overflow: hidden;
}

.home-strengths__bg{
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1200px, 110vw);
  height: auto;
  transform: translate(-50%, -52%);
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: saturate(1.05) blur(0.2px);
}

.home-strengths__bar{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  padding: 34px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 10% 0%, rgba(98,189,84,0.34) 0%, rgba(98,189,84,0) 55%),
    radial-gradient(120% 140% at 90% 120%, rgba(98,189,84,0.28) 0%, rgba(98,189,84,0) 60%),
    linear-gradient(180deg, rgba(98,189,84,0.18) 0%, rgba(98,189,84,0.08) 100%);

  border: 1px solid rgba(98,189,84,0.22);
  box-shadow:
    0 26px 70px rgba(11,11,11,0.10),
    0 16px 34px rgba(98,189,84,0.14),
    inset 0 1px 0 rgba(255,255,255,0.70);
}

.home-strengths__bar::before{
  content:"";
  position:absolute;
  inset:-40%;
  z-index:0;
  background:
    radial-gradient(circle at 30% 30%, rgba(98,189,84,0.18), rgba(98,189,84,0) 60%),
    radial-gradient(circle at 70% 60%, rgba(98,189,84,0.12), rgba(98,189,84,0) 62%);
  filter: blur(18px);
  opacity: 0.85;
  animation: strengthsBarFloat 10s ease-in-out infinite;
  pointer-events:none;
}

@keyframes strengthsBarFloat{
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  50%  { transform: translate3d( 2%,  1%, 0) scale(1.03); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1); }
}

.home-strengths__bar::after{
  content:"";
  position:absolute;
  top: -35%;
  left: -10%;
  width: 40%;
  height: 170%;
  border-radius: 999px;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(circle at 35% 40%,
      rgba(98,189,84,0.55) 0%,
      rgba(98,189,84,0.22) 35%,
      rgba(98,189,84,0) 68%
    );

  filter: blur(18px);
  opacity: 0.9;

  animation: strengthsGlowTravel 7.2s ease-in-out infinite;
}

@keyframes strengthsGlowTravel{
  0%, 10%   { transform: translateX(0%)   scale(1); }
  22%, 32%  { transform: translateX(69%)  scale(1.02); }
  44%, 54%  { transform: translateX(131%) scale(1.03); }
  66%, 76%  { transform: translateX(194%) scale(1.02); }
  82%, 86%  { transform: translateX(131%) scale(1.03); }
  92%, 96%  { transform: translateX(69%)  scale(1.02); }
  100%      { transform: translateX(0%)   scale(1); }
}

.strength-stat{
  position: relative;
  z-index: 1;

  flex: 1 1 0;
  padding: 28px 22px 26px;
  min-height: 118px;

  text-align: left;

  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--delay, 0ms);
}

.strength-stat.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.strength-stat + .strength-stat::before{
  content:"";
  position:absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(11,11,11,0.10);
}

.strength-stat:hover{
  transform: translateY(-2px);
}
.strength-stat:hover .strength-stat__label{
  color: rgba(11,11,11,0.82);
}

.strength-stat__number{
  font-size: 38px;
  line-height: 1.05;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  color: #0B0B0B;
  margin: 0 0 15px;
}

.strength-stat__label{
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(11,11,11,0.72);
  max-width: 36ch;
}

/* =========================
   Responsive
========================= */

@media (max-width: 980px){
  .home-strengths{
    padding: 0;
  }

  .home-strengths__bar{
    flex-wrap: wrap;
    padding: 18px;
    border-radius: 16px;
  }

  .strength-stat{
    flex: 1 1 50%;
    min-height: 108px;
    padding: 22px 20px;
  }

  .strength-stat + .strength-stat::before{
    display: none;
  }

  .strength-stat:nth-child(odd){
    border-right: 1px solid rgba(11,11,11,0.10);
  }
  .strength-stat:nth-child(-n + 2){
    border-bottom: 1px solid rgba(11,11,11,0.10);
  }

  .home-strengths__bar::after{
    left: -20%;
    width: 70%;
    top: -50%;
    height: 200%;
    animation: strengthsGlowMobile 8.5s ease-in-out infinite;
  }

  @keyframes strengthsGlowMobile{
    0%, 100% { transform: translateX(0%) scale(1); }
    50%      { transform: translateX(70%) scale(1.03); }
  }
}

@media (max-width: 560px){
  .strength-stat{
    flex: 1 1 100%;
  }

  .strength-stat:nth-child(odd){
    border-right: 0;
  }
  .strength-stat{
    border-bottom: 1px solid rgba(11,11,11,0.10);
  }
  .strength-stat:last-child{
    border-bottom: 0;
  }

  .home-strengths__bg{
    opacity: 0.28;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .home-strengths__bar::before,
  .home-strengths__bar::after{
    animation: none !important;
  }
  .strength-stat{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}



/* =========================
   HELP — Feature Mosaic
========================= */

.home-help{
  padding: 0px 0 70px;
  background: #ffffff;
}

.home-help__title{
  text-align: center;
  font-size: 58px;
  font-weight: var(--fw-extrabold);
  color: var(--c-black);
  margin: 0 0 36px;
}

/* ===== Mosaic layout ===== */
.home-help__grid--features{
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-areas:
    "primary s1 s2"
    "primary wide wide";
    margin-bottom: 35px;
}

/* позиції */
.help-feature--primary{ grid-area: primary; }
.help-feature--s1{ grid-area: s1; }
.help-feature--s2{ grid-area: s2; }
.help-feature--wide{ grid-area: wide; }

.help-feature{
  display: block;
  text-decoration: none;
  color: inherit;
}

/* card */
.help-feature__inner{
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  padding: 34px;
  background: #f6f7fb;
  border: 1.5px solid rgba(98,189,84,0.18);
  box-shadow: 0 14px 34px rgba(98,189,84,0.12);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background-color .22s ease;
}

/* bigger sizes */
.help-feature--primary .help-feature__inner{
  padding: 34px;
  min-height: 420px;
}

.help-feature--s1 .help-feature__inner,
.help-feature--s2 .help-feature__inner{
  min-height: 210px;
}

.help-feature--wide .help-feature__inner{
  min-height: 210px;
}

/* hover */
.help-feature:hover .help-feature__inner{
  transform: translateY(-4px);
  border-color: rgba(98,189,84,0.36);
  background: #eef8f1;
  box-shadow: 0 18px 40px rgba(98,189,84,0.18);
}

/* head */
.help-feature__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.help-feature__title{
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: var(--fw-bold);
  color: #0b0b0b;
}

.help-feature__desc{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 38ch;
}

/* icon */
.help-feature__icon{
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(98,189,84,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* divider */
.help-feature__divider{
  height: 1px;
  background: rgba(11,11,11,0.08);
  margin: 22px 0 18px;
}

/* features block */
.help-feature__features-title{
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #6b7280;
  font-weight: var(--fw-bold);
}

.help-feature__features-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.help-feature__features-item{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.help-feature__check{
  width: 22px;
  height: 22px;
  color: var(--c-green);
  flex: 0 0 auto;
}

.help-feature__check svg{
  width: 22px;
  height: 22px;
  display: block;
}

.help-feature__features-text{
  font-size: 15px;
  line-height: 1.55;
  color: #111827;
}

/* footer */
.help-feature__footer{
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* chip */
.help-feature__chip{
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: #ffffff;
  color: #5a647f;
  border: 1px solid rgba(11,11,11,0.06);
  white-space: nowrap;
}

.help-feature__more{
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: #0b0b0b;
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease;
}

.help-feature__more::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: rgba(98,189,84,0.45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.help-feature:hover .help-feature__more{
  color: #62BD54;
}

.help-feature:hover .help-feature__more::after{
  transform: scaleX(1);
}

.home-help__more {
	display: flex;
    justify-content: center;
}

.home-help__more .btn{
  background: #0B0B0B;
  border-color: #0B0B0B;
  color: #FFFFFF;
  text-transform: uppercase;
  padding: 14px 35px;
}

/* hover */
.home-help__more .btn:hover{
  background: #111111;
  border-color: #111111;
  transform: translateY(-1px);
}

/* focus */
.home-help__more .btn:focus-visible{
  outline: 2px solid rgba(98,189,84,0.45);
  outline-offset: 3px;
}



/* ===== Responsive ===== */
@media (max-width: 1100px){
  .home-help__grid--features{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "primary primary"
      "s1 s2"
      "wide wide";
  }

  .help-feature--primary .help-feature__inner{
    min-height: 340px;
  }
}

@media (max-width: 768px){
  .home-help__grid--features{
    grid-template-columns: 1fr;
    grid-template-areas:
      "primary"
      "s1"
      "s2"
      "wide";
  }

  .help-feature--primary .help-feature__inner{
    min-height: 300px;
  }
  
  .home-help__title{
  	font-size: 36px;
  }
}

@media (max-width: 600px){
  .home-help{
    padding: 56px 0 70px;
  }

  .help-feature__inner{
    padding: 22px 20px 20px;
  }

  .help-feature__title{
    font-size: 20px;
  }
}



/* =========================
   Хто я такий?
========================= */

.home-who{
  padding: 70px 0 70px;
  background:#f3f5f4;
}

.home-who__inner{
  background:#ffffff;
  border-radius: 16px;
  padding: 28px 28px 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);

  display:grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items:flex-start;
}

/* LEFT: video card */
.home-who__video{
  display:flex;
  justify-content:flex-start;
}

.home-who__video-card{
  width:100%;
  max-width: 560px;
  background:#0B0B0B;
  border-radius: 22px;
  padding: 34px;
  color:#ffffff;
  box-shadow: 0 20px 42px rgba(0,0,0,0.25);
  position:relative;
  overflow:hidden;
}

.home-who__video-label{
  font-size: 11px;
  text-transform:uppercase;
  letter-spacing:.16em;
  opacity:.85;
  margin-bottom: 10px;
}

.home-who__video-wrap{
  position: relative;
  width:100%;
  padding-top: 56.25%;           /* 16:9 */
  border-radius: 16px;
  overflow:hidden;
}

.home-who__video-wrap iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}

/* RIGHT: title + tabs */
.home-who__title{
  font-size: 58px;
  font-weight: var(--fw-extrabold);
  margin: 0 0 20px;
  color: var(--c-black);
}

/* Tabs nav — масивні, ширші */
.who-tabs__nav{
  display:flex;
  gap:8px;
  padding: 6px;
  border-radius: 999px;
  background:#f3f5f4;
  margin-bottom: 16px;
}

.who-tabs__nav-btn{
  flex:1 1 0;
  border:none;
  background:transparent;
  padding: 10px 16px;
  border-radius:999px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color:#4a5450;
  cursor:pointer;
  text-align:center;

  transition:
    background-color .26s ease-out,
    color .26s ease-out,
    box-shadow .26s ease-out,
    transform .26s ease-out;
}

.who-tabs__nav-btn.is-active{
  background: var(--c-green);
  color:#ffffff;
  box-shadow: 0 12px 26px rgba(98,189,84,0.45);
  transform: translateY(-1px);
}

.who-tabs__panels{
  margin-top: 8px;
  display: grid;
  transition: min-height .25s ease-out;
}

.who-tabs__panel{
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.who-tabs__panel.is-active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.who-tabs__panel-inner{
  border-radius: 22px;
  border:1px solid #e4ebe5;
  background:#f8faf9;
  padding: 34px;
  font-size: 14px;
  line-height:1.7;
  color:#1f2422;
  will-change: opacity;
}

.who-tabs__panel-inner p{
  margin: 0 0 10px;
}
.who-tabs__panel-inner p:last-child{
  margin-bottom:0;
}

/* responsive */
@media (max-width: 992px){
  .home-who__inner{
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 22px 18px 24px;
    border-radius: 16px;
  }

  .home-who__video{
    order: -1; /* відео над текстом */
  }

  .home-who__video-card{
    max-width: 100%;
  }
}

@media (max-width: 768px){
  .home-who{
    padding: 56px 0 60px;
  }

  .who-tabs__nav{
    flex-direction:column;
    border-radius: 16px;
  }

  .who-tabs__nav-btn{
    transform:none;
  }

  .who-tabs__panel-inner{
    border-radius: 16px;
  }
  
  .home-who__title{
  font-size: 36px;
          text-align: center;
}
}


/* =========================
   HOME COMMUNITY
========================= */

.home-community {
  position: relative;
  padding: 70px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,0.18), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(11,11,11,0.24), transparent 36%),
    linear-gradient(135deg, #62BD54 0%, #4EAA42 48%, #0B0B0B 132%);
  overflow: hidden;
}

.home-community::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.14;
}

.home-community .container {
  position: relative;
  z-index: 1;
}

.home-community__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: center;
}

/* LEFT */

.home-community__content {
  max-width: 640px;
  text-align: left;
}

.home-community__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(11,11,11,0.32);
  border: 1px solid rgba(255,255,255,0.34);
  color: #ffffff;
  font-size: 11px;
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.home-community__label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.14);
}

.home-community__label::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.55);
  opacity: 0;
  transform: scale(1);
  pointer-events: none;
  animation: communityPing 3s ease-out infinite;
}

.home-community__title {
  max-width: 620px;
  margin: 0;
  color: #ffffff;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-align: left;
  text-wrap: balance;
  text-shadow:
    0 2px 3px rgba(0,0,0,0.30),
    0 16px 34px rgba(0,0,0,0.30);
}

/* RIGHT */

.home-community__card {
  position: relative;
  overflow: hidden;
  padding: 42px 42px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 98% 0%, rgba(98,189,84,0.22), transparent 34%),
    linear-gradient(135deg, rgba(11,11,11,0.58), rgba(11,11,11,0.82));
  color: #ffffff;
  border: none;
  box-shadow: 0 24px 52px rgba(0,0,0,0.24);
}

.home-community__card::before {
  content: "";
  position: absolute;
  right: -92px;
  top: -92px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(98,189,84,0.18);
  pointer-events: none;
}

.home-community__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(98,189,84,0.55);
  opacity: 0.55;
  pointer-events: none;
  animation: communityCardPulse 3.6s ease-in-out infinite;
}

.home-community__card > * {
  position: relative;
  z-index: 1;
}

.home-community__card-title {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 32px;
  font-weight: var(--fw-bold);
  line-height: 1.18;
}

.home-community__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-community__list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255,255,255,0.90);
  font-size: 18px;
  line-height: 1.4;
}

.home-community__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #62BD54;
}

.home-community__actions {
  margin-top: 36px;
}

.home-community__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 16px 26px;
  border-radius: 999px;
  background: #0B0B0B;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 18px 38px rgba(0,0,0,0.30),
    0 0 0 7px rgba(255,255,255,0.07);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease;
}

.home-community__btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: #0B0B0B;
  border-color: #ffffff;
  box-shadow:
    0 22px 46px rgba(0,0,0,0.34),
    0 0 0 8px rgba(255,255,255,0.10);
}

/* ANIMATION */

@keyframes communityPing {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes communityCardPulse {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.85;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .home-community__inner {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: 28px;
  }

  .home-community__title {
    max-width: 560px;
    font-size: 52px;
  }

  .home-community__card-title {
    font-size: 30px;
  }

  .home-community__list li {
    font-size: 17px;
  }
}

@media (max-width: 1100px) {
  .home-community__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-community__content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .home-community__label {
    margin: 0 auto 20px;
  }

  .home-community__title {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-size: 58px;
  }
}

@media (max-width: 768px) {
  .home-community {
    padding: 50px 0;
  }

  .home-community__inner {
    gap: 22px;
  }

  .home-community__content {
    max-width: 100%;
    margin: 0;
  }

  .home-community__label {
    margin: 0 0 16px;
  }

  .home-community__title {
    max-width: 100%;
    margin: 0;
    font-size: 36px;
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .home-community__card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .home-community__card-title {
    margin-bottom: 22px;
    font-size: 26px;
    line-height: 1.18;
  }

  .home-community__list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-community__list li {
    padding-left: 26px;
    font-size: 17px;
    line-height: 1.42;
  }

  .home-community__btn {
    min-height: 52px;
    padding: 14px 12px;
    font-size: 12px;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .home-community {
    padding: 50px 0;
  }

  .home-community__inner {
    gap: 18px;
  }

  .home-community__title {
    font-size: 34px;
    line-height: 1.03;
  }

  .home-community__card {
    padding: 24px 18px;
  }

  .home-community__card-title {
    font-size: 23px;
  }

  .home-community__list li {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .home-community__title {
    font-size: 31px;
  }

  .home-community__label {
    font-size: 10px;
    letter-spacing: .12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-community__label::after,
  .home-community__card::after {
    animation: none;
  }
}


/* =========================
   HOME FORM — MINI (50/50 with motion)
   Form defines height, video follows
========================= */

.home-form--mini{
  background:#f3f5f4;
  padding: 0 0 70px;
}

/* 50/50 layout */
.home-form--mini .home-form__mini-layout{
  max-width: 1100px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 22px;
  align-items: start;
}

/* LEFT motion */
.home-form--mini .home-form__motion{
  position: relative;
  align-self: stretch;
}

/* sticky тільки на десктопі */
@media (min-width: 993px){
  .home-form--mini .home-form__motion{
    position: sticky;
    top: 92px;
  }
}

.home-form--mini .home-form__motion-inner{
  height: 100%;
  min-height: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(98,189,84,0.12);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
  background:
    radial-gradient(circle at 12% 18%, rgba(98,189,84,0.18), transparent 55%),
    radial-gradient(circle at 78% 62%, rgba(98,189,84,0.10), transparent 60%),
    #0b0b0b;
  display:flex;
}

/* video fills */
.home-form--mini .home-form__motion-video{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
}

/* RIGHT card */
.home-form--mini .home-form__mini{
  margin: 0;
  height: auto;
  padding: 34px;
  background: linear-gradient(135deg, #ffffff 0%, #f6fff3 40%, #f3fdf6 100%);
  border: 1px solid rgba(98, 189, 84, 0.10);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}

.home-form--mini .home-form__mini-head{
  text-align:center;
  margin-bottom: 18px;
}

.home-form--mini .home-form__label{ margin: 0 auto 10px; }

.home-form--mini .home-form__title{
  font-size: 32px;
  line-height: 1.2;
}

.home-form--mini .home-form__text{
  max-width: 560px;
  margin: 10px auto 0;
}

/* inner box */
.home-form--mini .home-form__box{
  margin-top: 18px;
  padding: 22px;
  border-radius: 16px;
}

/* form grid */
.home-form--mini .home-form__form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-form--mini .cf7-field{
  grid-column: 1 / -1;
  gap: 8px;
}

.home-form--mini .cf7-field--half{
  grid-column: auto;
}

.home-form--mini .cf7-field input,
.home-form--mini .cf7-field textarea{
  padding: 10px 12px;
}

/* messengers */
.home-form--mini .cf7-messenger-options{
  margin-top: 6px;
}

.home-form--mini .cf7-messenger-option{
  justify-content:center;
  padding: 9px 14px;
}

/* button */
.home-form--mini .btn--black{
  padding: 12px 18px;
  font-size: 15px;
}

/* ===== responsive ===== */
@media (max-width: 992px){
  .home-form--mini{
    padding: 0 0 60px;
  }

  /* stack */
  .home-form--mini .home-form__mini-layout{
    grid-template-columns: 1fr;
  }

  .home-form--mini .home-form__motion{
    position: static;
    align-self: auto;
  }

  .home-form--mini .home-form__motion-inner{
    height: 220px;
    border-radius: 22px;
  }

  .home-form--mini .home-form__mini{
    padding: 26px 20px;
    border-radius: 16px;
  }

  .home-form--mini .home-form__title{
    font-size: 28px;
  }

  .home-form--mini .home-form__box{
    padding: 20px 18px;
  }

  .home-form--mini .home-form__form{
    grid-template-columns: 1fr;
  }

  .home-form--mini .cf7-field--half{
    grid-column: 1 / -1;
  }

  .home-form--mini .cf7-messenger-options{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px){
  .home-form--mini .home-form__title{
    font-size: 24px;
  }
}




/* =========================
   Блок з логотипами (SLIDER)
========================= */

.home-companies{
  padding: 70px 0;
  background: #fff;
}

.home-companies__head{
  text-align: center;
  margin-bottom: 24px;
}

.home-companies__title{
  margin: 0 0 8px;
  font-size: 58px;
  font-weight: var(--fw-extrabold);
  color: var(--c-black);
}

.home-companies__subtitle{
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #4a4f55;
}

.home-companies__subtitle a{
  color: var(--c-green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home-companies__slider-wrap{
  position: relative;
  margin-top: 10px;
  padding: 34px;
  border-radius: 22px;
  background: #f5f7f6;
  overflow: visible;
}

.home-companies__rows{
  overflow: hidden;
  border-radius: 16px;
}

.company-marquee + .company-marquee{
  margin-top: 20px;
}

.company-marquee{
  position: relative;
  overflow: hidden;
  width: 100%;
}

.company-marquee__track{
  display: flex;
  align-items: stretch;
  width: max-content;
  will-change: transform;
}

.company-marquee__item{
  flex: 0 0 auto;
  width: 240px;
  padding: 4px 12px;
  box-sizing: border-box;
}

.company-card{
  width: 100%;
}

.company-card__inner{
  min-height: 116px;
  height: 116px;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid #e1e7e3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  transition:
    border-color .24s ease-out,
    background-color .24s ease-out,
    box-shadow .24s ease-out,
    transform .24s ease-out;
}

.company-card__img{
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transition:
    transform .24s ease-out,
    opacity .24s ease-out,
    filter .24s ease-out;
}

a.company-card__inner:hover{
  border-color: rgba(98,189,84,0.85);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

a.company-card__inner:hover .company-card__img{
  transform: scale(1.02);
  filter: grayscale(1) contrast(1.05);
  opacity: .95;
}

.companies-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d7ded9;
  background: #fff;
  color: #1f2422;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition:
    background-color .22s ease-out,
    color .22s ease-out,
    border-color .22s ease-out,
    transform .22s ease-out,
    box-shadow .22s ease-out;
}

.companies-nav span{
  transform: translateY(-1px);
}

.companies-nav--prev{ left: 8px; }
.companies-nav--next{ right: 8px; }

.companies-nav:hover{
  border-color: rgba(98,189,84,0.7);
  background: #f5fbf7;
  color: var(--c-green);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

@media (max-width: 1200px){
  .home-companies__slider-wrap{
    padding: 20px 50px;
  }

  .company-marquee__item{
    width: 220px;
    padding: 4px 10px;
  }

  .company-card__inner{
    min-height: 108px;
    height: 108px;
  }

  .company-card__img{
    max-height: 52px;
  }
}

@media (max-width: 992px){
  .home-companies{
    padding: 50px 0 60px;
  }

  .home-companies__slider-wrap{
    padding: 18px 44px;
    border-radius: 16px;
  }

  .company-marquee + .company-marquee{
    margin-top: 16px;
  }

  .company-marquee__item{
    width: 200px;
    padding: 4px 8px;
  }

  .company-card__inner{
    min-height: 100px;
    height: 100px;
    padding: 12px 16px;
  }

  .company-card__img{
    max-height: 48px;
  }

  .companies-nav--prev{ left: 8px; }
  .companies-nav--next{ right: 8px; }
}

@media (max-width: 768px){
  .home-companies__slider-wrap{
    padding: 16px 38px;
    border-radius: 16px;
  }

  .home-companies__title{
    font-size: 36px;
  }

  .company-marquee__item{
    width: 170px;
    padding: 4px 6px;
  }

  .company-card__inner{
    min-height: 90px;
    height: 90px;
    padding: 10px 12px;
  }

  .company-card__img{
    max-height: 42px;
  }

  .companies-nav{
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .companies-nav--prev{ left: 8px; }
  .companies-nav--next{ right: 8px; }
}

/* =========================
   HOME FREELANCEHUNT REVIEWS
========================= */

.home-fh{
  background:#f5f7f6;
  padding: 70px 0 70px;
}

/* щоб усі картки були однакової висоти */
.home-fh .swiper-wrapper{
  align-items: stretch;
}

.home-fh .swiper-slide{
  height: auto;
  display: flex;
  padding: 8px 0;
}

.home-fh .fh-card{
  height: 100%;
  width: 100%;
}

/* заголовок + бейдж */
.home-fh__head{
  text-align:center;
  margin-bottom: 26px;
}

.home-fh__title{
  font-size: 58px;
  font-weight: var(--fw-extrabold);
  color: var(--c-black);
  margin: 0 0 10px;
}

.home-fh__badge-row{
  display:flex;
  justify-content:center;
}

.home-fh__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 14px;
  border-radius: 999px;
  background:#ffffff;
  border:1px solid #dde3de;
  text-decoration:none;
  font-size: 18px;
  color:#30363a;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition:
    background-color .2s ease-out,
    border-color .2s ease-out,
    box-shadow .2s ease-out,
    transform .2s ease-out;
}

.home-fh__badge-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(98,189,84,0.16);
}

.home-fh__badge-text{
  white-space: nowrap;
}

.home-fh__badge:hover{
  background:#f9fffb;
  border-color: rgba(98,189,84,0.6);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}

/* slider wrapper */
.fh-slider{
  position:relative;
  padding: 4px 44px 0;
}

/* картка відгуку */
.fh-card{
  position:relative;
  background:#ffffff;
  border-radius: 22px;
  border:1px solid #e0e5e0;
  padding:34px;

  display:flex;
  flex-direction:column;
  gap:12px;
  text-align:left;

  box-shadow: 0 14px 34px rgba(0,0,0,0.04);
  overflow: visible;

  transition:
    transform .24s ease-out,
    box-shadow .24s ease-out,
    border-color .24s ease-out,
    background .24s ease-out;
}

.fh-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(98,189,84,0.08), rgba(255,255,255,0));
  opacity:0;
  pointer-events:none;
  transition: opacity .24s ease-out;
}
.fh-card > *{
  position:relative;
  z-index:1;
}

.fh-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.10);
  border-color: rgba(98,189,84,0.5);
}

.fh-card:hover::before{
  opacity:1;
}

.fh-card__top{
  display:flex;
  flex-direction: column;
  align-items:flex-start;
  gap:8px;
}

/* юзер блок */
.fh-card__user{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.avatar-container{
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  flex-shrink: 0;
}

.avatar-container-80{
  width: 48px;
  height: 48px;
  border: 2px solid rgba(98,189,84,0.6);
  box-shadow: 0 0 0 4px rgba(98,189,84,0.08);
}

.fh-card__user-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.fh-card__author{
  font-weight: var(--fw-bold);
  color: var(--c-black);
  font-size:15px;
  line-height:1.2;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.fh-card__project{
  font-size:13px;
  color:#555;
  opacity:.9;
  white-space: normal;
  word-break: break-word;
}

/* rating */
.fh-card__stars{
  display:flex;
  gap:3px;
  font-size:13px;
  line-height:1;
  color:#00ae5a;
  margin-top:4px;
}

/* текст */
.fh-card__text-wrap{
  flex:1;
}
.fh-card__text{
  font-size:14px;
  line-height:1.6;
  color:#222;
}
.fh-card__text p{
  margin:0 0 6px;
}
.fh-card__text p:last-child{
  margin-bottom:0;
}

/* лінк внизу */
.fh-card__link{
  margin-top: 4px;
  align-self:flex-start;
  font-size:13px;
  font-weight: var(--fw-bold);
  color: var(--c-black);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.fh-card__link::after{
  content:"↗";
  font-size:12px;
  transform: translateY(-1px);
}
.fh-card__link:hover{
  color: var(--c-green);
}

/* arrows */
.fh-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid #d7ded9;
  background:#ffffff;
  color:#1f2422;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition:
    background-color .22s ease-out,
    color .22s ease-out,
    border-color .22s ease-out,
    transform .22s ease-out,
    box-shadow .22s ease-out;
}
.fh-nav--prev{ left:0; }
.fh-nav--next{ right:0; }
.fh-nav:hover{
  border-color: rgba(98,189,84,0.7);
  background:#f5fbf7;
  color: var(--c-green);
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* responsive */
@media (max-width: 992px){
  .home-fh{
    padding: 50px 0 60px;
  }
}

@media (max-width: 768px){
  .fh-slider{
    padding: 4px 34px 0;
  }
  .home-fh__badge-text{
    white-space:normal;
    font-size: 16px;
  }
  
  .home-fh__title{
  font-size: 36px;
}

}

@media (max-width: 480px){
  .fh-slider{
    padding: 4px 28px 0;
  }
  .avatar-container-80{
    width:44px;
    height:44px;
  }
}

/* =========================
   HOME TIPS VIDEO
========================= */

.home-tips-video {
  background: #0b0b0b;
  color: var(--c-white);
  padding: 70px 0;
}

.home-tips-video__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 58px;
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
}

/* GRID */
.home-tips-video__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Якщо картки фільтруються через hidden */
.home-tips-video__grid > [hidden] {
  display: none !important;
}

/* CARD */
.tips-video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: radial-gradient(
    circle at top left,
    rgba(98, 189, 84, 0.12),
    rgba(11, 11, 11, 1)
  );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  transition:
    transform 0.28s ease-out,
    box-shadow 0.28s ease-out,
    border-color 0.28s ease-out,
    background 0.28s ease-out;
}

.tips-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75);
  border-color: rgba(98, 189, 84, 0.8);
}

/* THUMB */
.tips-video-card__thumb {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.tips-video-card__ratio,
.video-card__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
  border-radius: inherit;
  background: #000;
}

/* Кнопка-прев'ю */
.tips-video-card__trigger,
.js-video-thumb {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  appearance: none;
}

/* Зображення прев'ю */
.tips-video-card__image,
.tips-video-card__trigger img,
.video-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* iframe після кліку */
.video-card__iframe,
.tips-video-card__ratio iframe,
.video-card__media iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Невелике "оживлення" прев'ю */
.tips-video-card__trigger img {
  transform: scale(1.001);
  transition:
    transform 0.4s ease,
    opacity 0.3s ease;
}

.tips-video-card:hover .tips-video-card__trigger img,
.tips-video-card__trigger:focus-visible img {
  transform: scale(1.04);
}

/* OVERLAY */
.tips-video-card__overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.05) 45%,
    rgba(0, 0, 0, 0.72) 100%
  );
  opacity: 0.92;
  transition:
    opacity 0.28s ease-out,
    background 0.28s ease-out;
}

.tips-video-card:hover .tips-video-card__overlay,
.tips-video-card__trigger:focus-visible .tips-video-card__overlay {
  opacity: 1;
}

/* PILL */
.tips-video-card__pill {
  align-self: flex-start;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #f5f5f5;
  font-size: 11px;
  line-height: 1.2;
  backdrop-filter: blur(4px);
}

/* PLAY */
.tips-video-card__play {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tips-video-card__play svg {
  width: 38px;
  height: 38px;
  transition:
    transform 0.28s ease-out,
    filter 0.28s ease-out;
}

.tips-video-card:hover .tips-video-card__play svg,
.tips-video-card__trigger:focus-visible .tips-video-card__play svg {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 18px rgba(98, 189, 84, 0.3));
}

.tips-video-card__play circle {
  fill: rgba(0, 0, 0, 0.65);
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1;
}

.tips-video-card__play polygon {
  fill: var(--c-green);
}

/* Focus */
.tips-video-card__trigger:focus-visible {
  outline: none;
}

.tips-video-card__trigger:focus-visible .tips-video-card__thumb,
.tips-video-card__trigger:focus-visible + .tips-video-card__overlay {
  box-shadow: 0 0 0 3px rgba(98, 189, 84, 0.45);
}

.tips-video-card:has(.tips-video-card__trigger:focus-visible) {
  border-color: rgba(98, 189, 84, 0.8);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(98, 189, 84, 0.12);
}

/* META */
.tips-video-card__meta {
  padding: 4px 4px 0;
}

.tips-video-card__title {
  margin: 0 0 4px;
  color: var(--c-white);
  font-size: 15px;
  font-weight: var(--fw-bold);
}

.tips-video-card__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.55;
}

/* MARQUEE */
.home-tips-video__marquee {
  overflow: hidden;
  margin-top: 26px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-tips-video__marquee-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: max-content;
  animation: tipsMarquee 40s linear infinite;
  will-change: transform;
}

.home-tips-video__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s ease-out,
    transform 0.2s ease-out;
}

.home-tips-video__tag:hover,
.home-tips-video__tag:focus-visible {
  color: var(--c-white);
  transform: translateY(-1px);
}

.home-tips-video__tag-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--c-green);
}

@keyframes tipsMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* BUTTON */
.home-tips-video__more {
  margin-top: 24px;
  text-align: center;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .tips-video-card,
  .tips-video-card__trigger img,
  .tips-video-card__overlay,
  .tips-video-card__play svg,
  .home-tips-video__tag,
  .home-tips-video__marquee-inner {
    transition: none !important;
    animation: none !important;
  }
}

/* TABLET */
@media (max-width: 992px) {
  .home-tips-video {
    padding: 52px 0 60px;
  }

  .home-tips-video__title {
    font-size: 44px;
  }

  .home-tips-video__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .home-tips-video__title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .home-tips-video__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tips-video-card {
    border-radius: 16px;
  }

  .home-tips-video__marquee-inner {
    animation-duration: 30s;
  }
}

@media (max-width: 480px) {
  .home-tips-video {
    padding: 46px 0 54px;
  }

  .tips-video-card {
    padding: 12px 12px 14px;
  }

  .tips-video-card__pill {
    font-size: 10px;
  }

  .tips-video-card__play svg {
    width: 34px;
    height: 34px;
  }
}


/* =========================
   HOME BLOG – TABLE FULL WIDTH
========================= */

.home-blog--table{
  background:#ffffff;
  padding: 70px 0 70px;
}

.home-blog__layout{
  /* одна колонка, container вже обмежує ширину */
}

.home-blog__head{
  margin-bottom: 26px;
}

.home-blog__title{
  font-size: 58px;
  font-weight: var(--fw-extrabold);
  color: var(--c-black);
  margin:0 0 8px;
}

.home-blog__subtitle{
  margin:0;
  font-size:18px;
  line-height:1.6;
  color:#6b6f71;
}

.home-blog-table{
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}

/* === GRID: 5 колонок (title, excerpt, date, thumb, arrow) === */

.home-blog-table__header{
  display:grid;
  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(0, 1.8fr)
    110px
    180px
    60px;
  gap: 16px;
  padding: 10px 0 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color:#9a9fa1;
}

.home-blog-table__col{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.home-blog-table__body{
  display:block;
}

.home-blog-row{
  display:grid;
  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(0, 1.8fr)
    110px
    180px
    60px;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #e4e4e4;
  position:relative;
  align-items:center;
}

.home-blog-row:first-child{
  border-top: 1px solid #d9d9d9;
}

/* зелена лінія зліва */

.home-blog-row::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:0;
  background: var(--c-green);
  transition: width .28s ease-out;
}

.home-blog-row:hover::before{
  width:2px;
}

/* Назва */

.home-blog-row__title{
  font-size:16px;
  font-weight: var(--fw-bold);
  color: var(--c-black);
  text-decoration:none;
  line-height:1.35;
  padding-right:6px;
  position:relative;
  z-index:1;
}
.home-blog-row__title:hover{
  color: var(--c-green);
}

/* Опис */

.home-blog-row__excerpt{
  font-size:14px;
  line-height:1.5;
  color:#4a4f52;
  opacity:.95;
  position:relative;
  z-index:1;
}

/* Дата */

.home-blog-row__date{
  font-size:13px;
  color:#111;
  position:relative;
  z-index:1;
}

.home-blog-row__thumb{
  position:relative;
  display:block;
  width:100%;
  max-width:180px;
  aspect-ratio: 4 / 3;
  border-radius:22px;
  overflow:hidden;
  background:#f2f2f2;
  justify-self:flex-start;
}

.home-blog-row__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .3s ease-out;
}

.home-blog-row__thumb-placeholder{
  position:absolute;
  inset:0;
  background: linear-gradient(135deg,#ececec,#f7f7f7);
}

.home-blog-row:hover .home-blog-row__thumb img{
  transform: scale(1.03);
}

/* Стрілка в кружечку */

.home-blog-row__arrow{
  justify-self:center;
  align-self:center;
  text-decoration:none;
}

.home-blog-row__arrow-circle{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px dashed #b7b7b7;
  background:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:
    border-color .24s ease-out,
    background-color .24s ease-out,
    transform .24s ease-out,
    box-shadow .24s ease-out;
}

/* за замовчуванням ➜ розвертаємо вліво */
.home-blog-row__arrow-icon{
  font-size:18px;
  line-height:1;
  color:#0b0b0b;
  display:block;
  transform: rotate(-45deg);
  transition: transform .24s ease-out, color .24s ease-out;
}

/* hover по рядку */

.home-blog-row:hover .home-blog-row__arrow-circle{
  border-color: var(--c-green);
  background:#f4fff4;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

.home-blog-row:hover .home-blog-row__arrow-icon{
  transform: rotate(0deg);
  color: var(--c-green);
}

/* Кнопка внизу */

.home-blog__more{
  margin-top:22px;
}

/* ========= RESPONSIVE ========= */

@media (max-width: 992px){
  .home-blog--table{
    padding: 52px 0 60px;
  }

  .home-blog-table__header{
    display:none; /* ховаємо хедер на мобайлі */
  }

  .home-blog-row{
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 0 18px;
    gap:10px;
  }

  .home-blog-row__thumb{
    max-width:200px;
  }

  .home-blog-row__date{
    font-size:12px;
    color:#7a7f82;
  }

  .home-blog-row__arrow{
    justify-self:flex-end;
    margin-top:4px;
  }
  
  .home-blog__title{
  font-size: 36px;
}
}

@media (max-width: 480px){
  .home-blog-row__thumb{
    max-width: 180px;
    border-radius:16px;
  }
}


/* =========================
   HOME FORM (новий стиль)
========================= */

.home-form {
  background: var(--c-green);
  padding: 70px 0;
}

.home-form__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  background: linear-gradient(135deg, #ffffff 0%, #f6fff3 40%, #f3fdf6 100%);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  border: 1px solid rgba(98, 189, 84, 0.1);
}


/* LEFT */
.home-form__visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-form__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11,11,11,0.05);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  width: auto;
  align-self: flex-start;
}


.home-form__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #62BD54;
}

.home-form__title {
  font-size: 38px;
  font-weight: 800;
  margin: 0;
}

.home-form__text {
  font-size: 14px;
  line-height: 1.6;
  color: #555b5f;
  max-width: 420px;
}

.home-form__bullets {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}
.home-form__bullets li {
  font-size: 14px;
  line-height: 1.5;
  color: #3a3f42;
  position: relative;
  padding-left: 18px;
}
.home-form__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
}

/* RIGHT */
.home-form__box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgb(11 11 11 / 15%);
}

.home-form__box-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}
.home-form__box-sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b6f71;
}

/* FORM */
.home-form__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cf7-row {
  display: flex;
  gap: 10px;
}
.cf7-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cf7-field label {
  font-size: 13px;
  font-weight: 600;
}

.cf7-field input,
.cf7-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 16px;
  border: 1px solid #dde1e6;
  background: #fff;
  transition: 0.2s;
}
.cf7-field input:focus,
.cf7-field textarea:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 1px rgba(98,189,84,0.25);
}
.cf7-field textarea {
  min-height: 80px;
  resize: vertical;
}

/* MESSENGERS */

.cf7-messenger-option {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 1.5px solid #E5E7EB;
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.cf7-messenger-option img {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.cf7-messenger-option span {
  font-size: 14px;
  color: #111;
  line-height: 1;
  display: inline-block;
  transform: translateY(1px);
}

.cf7-messenger-option input[type="radio"] {
  display: none;
}

/* hover */
.cf7-messenger-option:hover {
  border-color: var(--c-green);
  background: rgba(98,189,84,0.06);
}


.cf7-messenger-option input[type="radio"]:checked ~ span {
  color: var(--c-green);
  font-weight: 600;
}

.cf7-messenger-option input[type="radio"]:checked ~ * {
  border-color: var(--c-green);
}

.cf7-messenger-option:has(input[type="radio"]:checked) {
  border-color: var(--c-green);
}


/* BUTTON */
.btn--black {
  border: none;
  border-radius: 999px;
  background: var(--c-black);
  color: #fff;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}
.btn--black:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .home-form__split {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}

@media (max-width: 768px) {

  /* поля одне під одним */
  .cf7-row {
    flex-direction: column;
    gap: 14px;
  }

  .cf7-field input,
  .cf7-field textarea {
    font-size: 15px;
    padding: 12px 14px;
  }

  /* --- МЕСЕНДЖЕРИ --- */
  .cf7-messenger-options {
    display: flex;
    flex-direction: column; /* ← головне! */
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
  }

  .cf7-messenger-option {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 10px 16px;
  }

  .cf7-messenger-option img {
    width: 22px;
    height: 22px;
  }

  .cf7-messenger-option span {
    font-size: 15px;
  }

  /* кнопка */
  .btn--black {
    font-size: 15px;
    padding: 14px 20px;
    width: 100%;
  }

  /* сам бокс */
  .home-form__box {
    padding: 22px 20px 26px;
  }
}



/* =========================
   HOME TEXT BLOCK
========================= */

.home-text {
  background: #f7f8fb;
  padding: 70px 0;
}

/* основна "картка" */
.home-text__shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff 0%, #fafdfb 50%, #f8fffa 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.home-text__shell::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(98,189,84,0.12) 0%, transparent 70%);
  filter: blur(25px);
  z-index: 0;
}

/* бейдж над текстом */
.home-text__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11,11,11,0.05);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-black);
  width: auto;
  align-self: flex-start;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.home-text__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
}

/* текст */
.home-text__inner {
  position: relative;
  z-index: 2;
  font-size: 15px;
  line-height: 1.8;
  color: #2d2d2d;
  column-count: 1;
}

/* параграфи */
.home-text__inner p {
  margin: 0 0 12px;
}

.home-text__inner p:last-child {
  margin-bottom: 0;
}

/* перший абзац */
.home-text__inner p:first-child {
  font-size: 16px;
  font-weight: 500;
  color: #1b1b1b;
}

/* перша літера */
.home-text__inner p:first-child::first-letter {
  font-size: 34px;
  font-weight: 800;
  float: left;
  line-height: 1;
  padding-right: 8px;
  padding-top: 4px;
  color: var(--c-green);
}

/* дві колонки на десктопі */
@media (min-width: 992px) {
  .home-text__inner {
    column-count: 2;
    column-gap: 36px;
  }
}

/* адаптив */
@media (max-width: 768px) {
  .home-text {
    padding: 60px 0;
  }

  .home-text__shell {
    padding: 26px 22px;
    border-radius: 16px;
  }

  .home-text__inner p:first-child::first-letter {
    font-size: 26px;
  }
}


