/* Home page polish — Vig Tech X logo palette */
:root {
  --be-navy: #002147;
  --be-navy-deep: #00152E;
  --be-gold: #D4AF37;
  --be-gold-dark: #B8942E;
  --be-silver: #8A9199;
  --be-silver-dark: #6B7280;
  --be-white: #FFFFFF;
  --be-muted: rgba(0, 33, 71, 0.65);
  --be-line: rgba(0, 33, 71, 0.12);
}

.be-home-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--be-gold);
}

.be-home-section-text {
  margin: 10px auto 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--be-muted);
}

.be-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.be-home-btn--saffron {
  background: var(--be-gold);
  color: #fff;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.3);
}

.be-home-btn--saffron:hover {
  background: var(--be-gold-dark);
  color: #fff;
  transform: translateY(-2px);
}

.be-home-btn--green {
  background: var(--be-navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 33, 71, 0.28);
}

.be-home-btn--green:hover {
  background: var(--be-navy-deep);
  color: #fff;
  transform: translateY(-2px);
}

.be-home-btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.be-home-btn--outline:hover {
  background: #fff;
  color: var(--be-navy);
  border-color: #fff;
}

/* Hero */
.be-home-hero {
  position: relative;
  padding: 28px 0 20px;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(212, 175, 55, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(138, 145, 153, 0.08), transparent 50%);
  overflow: hidden;
}

.be-home-hero-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
}

.be-home-hero-slider .swiper-slide {
  height: auto;
}

.be-home-hero__slide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  min-height: 420px;
  padding: 18px 0 28px;
}

.be-home-hero__copy {
  text-align: left;
  max-width: 560px;
  margin: 0;
}

.be-home-hero__brand {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--be-gold);
}

.be-home-hero .rv-37-banner__title,
.be-home-hero__title {
  margin-bottom: 14px !important;
  color: var(--be-navy);
}

.be-home-hero .rv-37-banner__title span,
.be-home-hero__title span {
  color: var(--be-gold);
}

.be-home-hero__text {
  margin: 0 0 22px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--be-muted);
}

.be-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 0;
}

.be-home-hero__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  background: linear-gradient(160deg, #00152E 0%, #002147 100%);
  box-shadow: 0 18px 44px rgba(0, 33, 71, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.be-home-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

.be-home-hero__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
  position: relative;
  z-index: 3;
}

.be-home-hero__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 33, 71, 0.14);
  background: #fff;
  color: var(--be-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.be-home-hero__btn:hover {
  background: var(--be-gold);
  border-color: var(--be-gold);
  color: #fff;
  transform: translateY(-1px);
}

.be-home-hero__btn.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.be-home-hero__dots {
  position: static !important;
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.be-home-hero__dots .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 !important;
  background: rgba(0, 33, 71, 0.22);
  opacity: 1;
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}

.be-home-hero__dots .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: var(--be-gold);
}

/* Trust strip */
.be-home-trust {
  margin-top: -10px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.be-home-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--be-line);
  box-shadow: 0 16px 40px rgba(0, 33, 71, 0.08);
}

.be-home-trust__item {
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
}

.be-home-trust__item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 700;
  color: var(--be-navy);
}

.be-home-trust__item:nth-child(1) strong { color: var(--be-gold); }
.be-home-trust__item:nth-child(2) strong { color: var(--be-silver); }
.be-home-trust__item:nth-child(3) strong { color: var(--be-navy); }
.be-home-trust__item:nth-child(4) strong { color: var(--be-gold-dark); }

.be-home-trust__item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--be-muted);
}

/* Products polish */
.be-home-products .rv-37-service-item {
  border: 1px solid var(--be-line);
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.be-home-products .rv-37-service-item:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 18px 36px rgba(0, 33, 71, 0.1);
}

.be-home-products .rv-37-service-item__more {
  color: var(--be-gold) !important;
  font-weight: 600;
}

.be-home-products .rv-37-service-item__more:hover {
  color: var(--be-silver) !important;
}

/* Digital Services section */
.be-home-services {
  padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(138, 145, 153, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(212, 175, 55, 0.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, #F7F9FC 100%);
}

.be-home-services__head {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.be-home-services__title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--be-navy);
}

.be-home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.be-home-service {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--be-line);
  box-shadow: 0 12px 32px rgba(0, 33, 71, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.be-home-service:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 33, 71, 0.18);
  box-shadow: 0 20px 40px rgba(0, 33, 71, 0.1);
}

.be-home-service--accent {
  background: linear-gradient(165deg, #0A1F3D 0%, #002147 100%);
  border-color: transparent;
  color: #fff;
}

.be-home-service--accent .be-home-service__title,
.be-home-service--accent .be-home-service__text,
.be-home-service--accent .be-home-service__points li {
  color: #fff;
}

.be-home-service--accent .be-home-service__text,
.be-home-service--accent .be-home-service__points li {
  color: rgba(255, 255, 255, 0.78);
}

.be-home-service--accent .be-home-service__num {
  color: rgba(255, 255, 255, 0.28);
}

.be-home-service--accent .be-home-service__icon {
  background: rgba(212, 175, 55, 0.2);
  color: #E8D5A3;
}

.be-home-service--accent .be-home-service__points li::before {
  background: #8A9199;
}

.be-home-service--accent .be-home-service__link {
  color: #E8D5A3;
}

.be-home-service--accent .be-home-service__link:hover {
  color: #fff;
}

.be-home-service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.be-home-service__num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(0, 33, 71, 0.12);
}

.be-home-service__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  color: var(--be-gold);
  font-size: 18px;
}

.be-home-service:nth-child(3) .be-home-service__icon {
  background: rgba(138, 145, 153, 0.12);
  color: var(--be-silver);
}

.be-home-service__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--be-navy);
}

.be-home-service__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--be-muted);
}

.be-home-service__points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.be-home-service__points li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(0, 33, 71, 0.72);
}

.be-home-service__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--be-gold);
}

.be-home-service:nth-child(3) .be-home-service__points li::before {
  background: var(--be-silver);
}

.be-home-service__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--be-gold);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.be-home-service__link:hover {
  color: var(--be-silver);
  gap: 11px;
}

.be-home-service__link i {
  font-size: 12px;
}

/* Why section */
.be-home-why {
  padding: 56px 0 44px;
  background:
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(212, 175, 55, 0.07), transparent 60%),
    linear-gradient(180deg, #F8F9FA 0%, #fff 100%);
}

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

.be-home-why__title,
.be-home-steps__title {
  margin: 0;
  font-family: var(--inter), sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--be-navy);
  line-height: 1.2;
}

.be-home-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.be-home-why__card {
  padding: 26px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--be-line);
  box-shadow: 0 10px 28px rgba(0, 33, 71, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: beHomeFadeUp 0.7s ease both;
}

.be-home-why__card:nth-child(2) { animation-delay: 0.08s; }
.be-home-why__card:nth-child(3) { animation-delay: 0.16s; }
.be-home-why__card:nth-child(4) { animation-delay: 0.24s; }

.be-home-why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 33, 71, 0.1);
}

.be-home-why__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  color: var(--be-gold);
  font-size: 18px;
}

.be-home-why__card:nth-child(2) .be-home-why__icon {
  background: rgba(138, 145, 153, 0.12);
  color: var(--be-silver);
}

.be-home-why__card:nth-child(3) .be-home-why__icon {
  background: rgba(0, 33, 71, 0.1);
  color: var(--be-navy);
}

.be-home-why__card:nth-child(4) .be-home-why__icon {
  background: rgba(212, 175, 55, 0.12);
  color: var(--be-gold);
}

.be-home-why__card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--be-navy);
}

.be-home-why__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--be-muted);
}

/* Steps */
.be-home-steps {
  padding: 28px 0 48px;
}

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

.be-home-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.be-home-step {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--be-navy-deep), var(--be-navy));
  color: #fff;
  overflow: hidden;
}

.be-home-step:nth-child(2) {
  background: linear-gradient(160deg, #2A3544, var(--be-silver-dark));
}

.be-home-step:nth-child(3) {
  background: linear-gradient(160deg, #8B7355, var(--be-gold-dark));
}

.be-home-step__num {
  display: block;
  margin-bottom: 14px;
  font-size: 34px;
  font-weight: 700;
  opacity: 0.35;
  letter-spacing: 0.04em;
}

.be-home-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}

.be-home-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

/* Final CTA */
.be-home-cta {
  padding: 12px 0 40px;
}

.be-home-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 36px 34px;
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(0, 33, 71, 0.96), rgba(0, 33, 71, 0.9)),
    linear-gradient(90deg, var(--be-gold), var(--be-silver));
  background-color: var(--be-navy);
  color: #fff;
  box-shadow: 0 20px 48px rgba(0, 33, 71, 0.22);
  position: relative;
  overflow: hidden;
}

.be-home-cta__box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--be-gold), #fff, var(--be-silver));
}

.be-home-cta__brand {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--be-gold);
}

.be-home-cta__copy h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.be-home-cta__copy p {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

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

/* About buttons on home */
.rv-37-abt .rv-37-abt-1-btn,
.rv-37-pricing .rv-33-btn {
  background: var(--be-gold) !important;
  border-color: var(--be-gold) !important;
}

.rv-37-abt .rv-37-abt-1-btn:hover {
  background: var(--be-gold-dark) !important;
}

.rv-37-abt-2__item span {
  background: var(--be-silver) !important;
  color: #fff !important;
}

@keyframes beHomeFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .be-home-hero__copy,
  .be-home-hero__media,
  .be-home-why__card {
    animation: none;
  }
}

@media screen and (max-width: 991px) {
  .be-home-hero__slide {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding: 10px 0 18px;
    text-align: center;
  }

  .be-home-hero__copy {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
  }

  .be-home-hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .be-home-hero__actions {
    justify-content: center;
  }

  .be-home-hero__media,
  .be-home-hero__media img {
    min-height: 260px;
  }
}

@media screen and (max-width: 991px) {
  .be-home-trust__grid,
  .be-home-why__grid {
    grid-template-columns: 1fr 1fr;
  }

  .be-home-services {
    padding: 44px 0 36px;
  }

  .be-home-services__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .be-home-steps__grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 575px) {
  .be-home-trust__grid,
  .be-home-why__grid {
    grid-template-columns: 1fr;
  }

  .be-home-hero__actions,
  .be-home-cta__actions {
    width: 100%;
  }

  .be-home-hero__actions .be-home-btn,
  .be-home-cta__actions .be-home-btn {
    width: 100%;
  }

  .be-home-cta__box {
    padding: 26px 20px;
  }

  .be-home-why {
    padding: 40px 0 28px;
  }
}

/* Footer gap after home CTA */
.be-home-cta ~ .rv-37-footer,
.be-home-cta ~ .rv-34-footer,
.be-home-cta ~ .be-footer,
.rv-37-blog ~ .rv-37-footer {
  margin-top: 0 !important;
}

/* Tighten legacy theme section gaps on home */
.be-home-products.rv-37-service {
  margin-top: 32px !important;
  margin-bottom: 24px !important;
}

.be-home-features.rv-37-gallary {
  padding-top: 48px !important;
  padding-bottom: 40px !important;
}

.rv-37-abt {
  margin-top: 32px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.rv-37-pricing {
  margin-top: 24px !important;
  padding-top: 16px !important;
  padding-bottom: 24px !important;
  margin-bottom: 0 !important;
}

.be-home-hero {
  padding-bottom: 8px;
}

/* Home features gallery slider fix */
.be-home-features .rv-37-gallary-container {
  overflow: hidden;
  padding: 0 16px 12px;
}

.be-home-features .rv-37-gallary-container .swiper-slide {
  height: auto;
}

.be-home-features .rv-37-client-img {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #002147 0%, #0A1F3D 100%);
}

.be-home-features .rv-37-client-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center center;
  border-radius: 16px;
}

.be-home-features__nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.be-home-features__btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0, 33, 71, 0.14);
  background: #fff;
  color: #0A1F3D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.be-home-features__btn:hover {
  background: #D4AF37;
  border-color: #D4AF37;
  color: #fff;
  transform: translateY(-1px);
}

.be-home-features__btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

@media screen and (max-width: 1199px) {
  .be-home-features .rv-37-client-img img {
    aspect-ratio: 3 / 2;
  }
}

@media screen and (max-width: 767px) {
  .be-home-features .rv-37-section-header {
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
  }

  .be-home-features__nav {
    margin: 8px auto 0;
  }

  .be-home-features .rv-37-client-img img {
    aspect-ratio: 3 / 2;
  }
}
