:root {
  --green: #4d9221;
  --green-dark: #2f7515;
  --navy: #000f29;
  --text: #1f2933;
  --muted: #637083;
  --line: #e6ebf0;
  --soft: #f6faf5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.home-container {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto;
}

.home-editable-content {
  padding: 38px 0 10px;
}

.home-editable-content > *:last-child {
  margin-bottom: 0;
}

.home-topbar {
  background: var(--green);
}

.home-topbar-inner {
  display: flex;
  justify-content: flex-end;
  min-height: 48px;
  align-items: center;
}

.home-login-top {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
}

.home-login-top::before {
  content: "▣";
  margin-right: 10px;
  font-size: 20px;
}

.home-nav {
  background: var(--navy);
}

.page-template-template-home-preview .busile-main-menu,
.page-template-template-home-preview-php .busile-main-menu,
.page-template-page-templatestemplate-home-preview-php .busile-main-menu,
.page-template-template-home-preview .mobile-menu-area,
.page-template-template-home-preview-php .mobile-menu-area,
.page-template-page-templatestemplate-home-preview-php .mobile-menu-area,
.page-template-template-home-preview .mobile-menu,
.page-template-template-home-preview-php .mobile-menu,
.page-template-page-templatestemplate-home-preview-php .mobile-menu,
.page-template-template-home-preview .mean-container,
.page-template-template-home-preview-php .mean-container,
.page-template-page-templatestemplate-home-preview-php .mean-container {
  display: none !important;
}

.home-wp-preview-nav {
  border-top: 2px solid var(--green);
}

.home-nav-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-logo img {
  width: 238px;
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

.home-wp-preview-nav .home-logo,
.home-wp-preview-nav .home-logo:hover,
.home-wp-preview-nav .home-logo:focus {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.home-wp-preview-nav .home-logo img {
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.home-menu ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.home-menu li {
  position: relative;
}

.home-menu a {
  display: block;
  padding: 34px 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.home-menu a:hover {
  color: #78bd51;
}

.home-menu-has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.home-menu .home-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 220px;
  padding: 8px 0;
  border-top: 3px solid #78bd51;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 15, 41, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.home-menu-has-dropdown:hover .home-submenu,
.home-menu-has-dropdown:focus-within .home-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.home-menu .home-submenu a {
  padding: 12px 18px;
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
}

.home-menu .home-submenu a:hover,
.home-menu .home-submenu a:focus {
  color: #ffffff;
  background: var(--green);
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: #eef4ec;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.78) 39%, rgba(255,255,255,0) 70%);
  z-index: 1;
  pointer-events: none;
}

.home-hero-slider {
  position: relative;
  height: clamp(260px, 33.333vw, 724px);
  background: #eef4ec;
}

.home-hero-track {
  position: relative;
  height: 100%;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: #eef4ec;
}

.home-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.home-hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.home-hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(0, 15, 41, 0.72);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.home-hero-prev {
  left: 20px;
}

.home-hero-next {
  right: 20px;
}

.home-hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.home-hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #ffffff;
  background: transparent;
  cursor: pointer;
}

.home-hero-dots button.is-active {
  background: #ffffff;
}

.home-hero-copy {
  position: absolute;
  z-index: 2;
  top: 88px;
  left: max(24px, calc((100vw - 1170px) / 2));
  max-width: 560px;
}

.home-hero-copy p {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
}

.home-hero-copy h1 {
  margin: 0;
  color: var(--green);
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
}

.home-ebank-button {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 36px;
  background: var(--green);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(77, 146, 33, 0.24);
}

.home-news-section {
  padding: 96px 0 72px;
  background: #ffffff;
}

.home-section-heading {
  margin-bottom: 34px;
}

.home-section-heading.centered {
  text-align: center;
}

.home-section-heading.light h2,
.home-section-heading.light p {
  color: #ffffff;
}

.home-section-heading p {
  margin: 0 0 8px;
  color: #0060ff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.home-section-heading h2 {
  margin: 0;
  color: var(--green);
  font-size: 50px;
  line-height: 1.12;
  font-weight: 800;
}

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

.home-news-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.home-news-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  background: #eef2f5;
}

.home-news-card time {
  display: block;
  padding: 16px 16px 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.home-news-card h3 {
  min-height: 78px;
  margin: 0;
  padding: 0 16px 20px;
  color: var(--green);
  font-size: 18px;
  line-height: 1.25;
}

.home-offer-section {
  padding: 76px 0 86px;
  background: var(--soft);
}

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

.home-offer-card {
  position: relative;
  display: flex;
  min-height: 340px;
  align-items: flex-end;
  text-align: center;
  background: #13220f;
  border: 1px solid #dce9d8;
  padding: 0;
  text-decoration: none;
  overflow: hidden;
}

.home-offer-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  transition: transform 0.3s ease;
}

.home-offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 15, 41, 0) 34%, rgba(0, 15, 41, 0.74) 100%);
  z-index: 1;
}

.home-offer-card:hover img {
  transform: scale(1.04);
}

.home-offer-card h3 {
  position: absolute;
  left: 22px;
  right: 128px;
  bottom: 24px;
  z-index: 2;
  margin: 0;
  padding: 0;
  color: #ffffff;
  text-align: left;
  font-size: 28px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 15, 41, 0.38);
}

.home-offer-card span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
}

.home-offer-card span,
.home-card-block a,
.home-contact-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  background: var(--green);
  color: #ffffff;
  font-weight: 800;
}

.home-info-strip {
  padding: 76px 0;
  background: #ffffff;
}

.home-info-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.home-card-block {
  min-height: 220px;
  padding: 30px;
  border: 1px solid #dce9d8;
  background: var(--soft);
}

.home-card-warning {
  background: radial-gradient(circle at top right, #6afd2e, #0d9c10);
  color: #ffffff;
}

.home-card-block h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.15;
}

.home-card-block p {
  margin: 0 0 18px;
  color: inherit;
  line-height: 1.55;
}

.home-card-block strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.home-partners {
  padding: 34px 0;
  background: #f7f9fb;
}

.home-partner-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.home-partner-grid img {
  max-height: 74px;
  width: auto;
  margin: 0 auto;
}

.home-contact-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: var(--green);
}

.home-contact-image {
  background-image: url("../../../../uploads/2024/10/business-team-present-professional-investor-working-new-startup-project-finance-meeting-scaled.jpg");
  background-size: cover;
  background-position: center;
}

.home-contact-content {
  padding: 78px max(32px, calc((100vw - 1170px) / 2)) 78px 56px;
}

.home-contact-form {
  display: grid;
  gap: 14px;
}

.home-contact-form label {
  display: grid;
  gap: 7px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.home-contact-form input,
.home-contact-form textarea {
  width: 100%;
  border: 0;
  padding: 13px 14px;
  font: inherit;
}

.home-contact-form button {
  border: 0;
  background: var(--navy);
  cursor: pointer;
}

.home-footer {
  background: #f6faf5;
}

.home-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr 1.35fr;
  gap: 26px;
  padding: 42px 0 34px;
}

.home-footer h3 {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--green);
  color: #333333;
  font-size: 18px;
}

.home-footer p {
  margin: 6px 0;
  line-height: 1.35;
}

.home-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-footer li {
  margin: 0 0 7px;
}

.home-footer a {
  color: var(--green);
  font-weight: 700;
}

.home-footer-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.home-footer-actions a {
  display: block;
  padding: 13px 14px;
  background: var(--green);
  color: #ffffff;
}

.home-copyright {
  padding: 16px;
  text-align: center;
  color: #ffffff;
  background: var(--navy);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .home-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-topbar-inner {
    justify-content: center;
  }

  .home-login-top {
    font-size: 18px;
  }

  .home-nav-inner,
  .home-menu ul {
    flex-direction: column;
  }

  .home-nav-inner {
    padding: 18px 0;
  }

  .home-menu ul {
    gap: 0;
  }

  .home-menu a {
    padding: 10px 12px;
  }

  .home-menu .home-submenu {
    position: static;
    min-width: 0;
    padding: 0 0 8px;
    border-top: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .home-menu .home-submenu a {
    padding: 8px 22px;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
  }

  .home-hero-copy {
    top: 52px;
  }

  .home-hero-copy h1 {
    font-size: 44px;
  }

  .home-news-grid,
  .home-offer-grid,
  .home-info-grid,
  .home-footer-grid {
    grid-template-columns: 1fr;
  }

  .home-partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-contact-band {
    grid-template-columns: 1fr;
  }

  .home-contact-image {
    min-height: 260px;
  }

  .home-contact-content {
    padding: 46px 24px;
  }
}

@media (max-width: 560px) {
  .home-hero-copy h1,
  .home-section-heading h2 {
    font-size: 34px;
  }

  .home-hero-copy {
    right: 18px;
    left: 18px;
  }

  .home-ebank-button {
    width: calc(100% - 32px);
    padding: 0 16px;
    font-size: 15px;
    text-align: center;
  }

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

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