/* Homepage composition */

.home-hero {
  position: relative;
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  background: #0d1b26;
  min-height: min(72vh, 620px);
  display: flex;
  align-items: flex-end;
}

.home-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

/* idle: show the video frame itself, blurred — no poster cover */
.home-hero:not(.is-playing) .home-hero__media video {
  filter: blur(14px);
  transform: scale(1.08);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.home-hero.is-playing .home-hero__media video {
  filter: none;
  transform: none;
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 28, 0.15) 0%,
    rgba(8, 18, 28, 0.55) 55%,
    rgba(8, 18, 28, 0.88) 100%
  );
  pointer-events: none;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 32px 24px 36px;
  color: #fff;
  text-align: right;
}

.home-hero__brand {
  font-family: peyda-extrabold, sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.35;
  margin: 0 0 10px;
  color: #fff;
}

.home-hero__lead {
  margin: 0 0 22px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.9 !important;
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: peyda-bold, sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-hero__btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.home-hero__btn--primary {
  background: #e62698;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(230, 38, 152, 0.28);
}

.home-hero__btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.home-hero__play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(230, 38, 152, 0.92);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.home-hero__play[hidden] {
  display: none !important;
}

.home-hero__play svg {
  margin-right: -2px;
}

@media (min-width: 768px) {
  .home-hero__content {
    padding: 48px 48px 52px;
  }
}

/* BF campaign strip */
.home-bf {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(120deg, #111 0%, #2a0f1f 48%, #e62698 140%);
  color: #fff;
}

.home-bf__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
}

.home-bf__title {
  margin: 0 0 4px;
  font-family: peyda-extrabold, sans-serif;
  font-size: 20px;
  color: #fff;
}

.home-bf__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.7 !important;
  text-align: right;
}

.home-bf__btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  background: #fff;
  color: #e62698 !important;
  border-radius: 12px;
  font-family: peyda-bold, sans-serif;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.home-bf__btn:hover {
  text-decoration: none;
  color: #c91d82 !important;
}

/* Sections */
.home-section {
  padding: 48px 0 8px;
}

.home-section__head {
  text-align: center;
  margin-bottom: 28px;
}

.home-section__title {
  margin: 0 0 8px;
  font-family: peyda-extrabold, sans-serif;
  font-size: 22px;
  color: #1a1a1a;
}

.home-section__sub {
  margin: 0 auto;
  max-width: 36em;
  color: #5c5c5c;
  font-size: 15px;
  line-height: 1.85 !important;
  text-align: center;
}

.home-intro p {
  margin: 0;
  color: #444;
  font-size: 16px;
  line-height: 2 !important;
}

.home-intro__more {
  display: none;
}

.home-intro__toggle {
  display: none;
  margin-top: 8px;
  color: #e62698;
  cursor: pointer;
  font-size: 14px;
  background: none;
  border: none;
  padding: 0;
  font-family: peyda-regular, sans-serif;
}

@media (max-width: 767.98px) {
  .home-intro__clamp .home-intro__more {
    display: none;
  }

  .home-intro__clamp.is-open .home-intro__more {
    display: inline;
  }

  .home-intro__clamp .home-intro__dots {
    display: inline;
  }

  .home-intro__clamp.is-open .home-intro__dots {
    display: none;
  }

  .home-intro__toggle {
    display: inline-block;
  }
}

@media (min-width: 768px) {
  .home-intro__dots,
  .home-intro__toggle {
    display: none !important;
  }

  .home-intro__more {
    display: inline !important;
  }
}

/* Testimonial videos */
.home-videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .home-videos {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-video-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.home-video-card video {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.home-lazy-video {
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  background: #111;
}

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

.home-lazy-video__btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(230, 38, 152, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.home-lazy-video.is-playing {
  cursor: default;
  aspect-ratio: auto;
}

.home-lazy-video.is-playing img,
.home-lazy-video.is-playing .home-lazy-video__btn {
  display: none;
}

/* Services split */
.home-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .home-split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.home-split__text p {
  margin: 0 0 18px;
  text-align: justify;
}

.home-split__img {
  width: 100%;
  border-radius: 14px;
  display: block;
  height: auto;
}

.home-split__cta {
  display: inline-flex;
  padding: 11px 18px;
  background: #e62698;
  color: #fff !important;
  border-radius: 12px;
  text-decoration: none;
  font-family: peyda-bold, sans-serif;
  font-size: 14px;
}

.home-split__cta:hover {
  color: #fff !important;
  text-decoration: none;
}

/* Magazine */
.home-mag {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .home-mag {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-mag__card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.home-mag__body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-mag__card h3 {
  margin: 0 0 8px;
  font-family: peyda-bold, sans-serif;
  font-size: 15px;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.6;
}

.home-mag__card h3 a {
  color: inherit;
  text-decoration: none;
}

.home-mag__excerpt {
  margin: 0 0 12px;
  color: #666;
  font-size: 13px;
  line-height: 1.8 !important;
  text-align: center;
  flex: 1;
}

.home-mag__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #888;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 10px;
}
