/* Final UX/UI polish for the homepage.
   Loaded after legacy inline styles to keep the homepage visually consistent. */

body.home-page {
  --ux-green-950: #073f2a;
  --ux-green-900: #075937;
  --ux-green-700: #0b7a48;
  --ux-green-100: #eaf6ee;
  --ux-green-50: #f6fbf8;
  --ux-lime: #84bd33;
  --ux-ink: #14281d;
  --ux-muted: #587064;
  --ux-border: rgba(7, 89, 55, 0.13);
  --ux-shadow: 0 14px 38px rgba(7, 63, 42, 0.1);
  overflow-x: hidden;
  color: var(--ux-ink);
  background: #fff;
}

.home-page main {
  display: block;
}

.home-page p {
  color: var(--ux-muted);
  line-height: 1.85;
  text-align: right !important;
}

.home-page .skip-link {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 10050;
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--ux-green-950);
  box-shadow: var(--ux-shadow);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.home-page .skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

/* Header and navigation */
.home-page #app-download-banner {
  height: 34px;
  background: var(--ux-green-950) !important;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.home-page .banner-segment {
  padding-inline: 42px;
}

.home-page .site-header {
  position: sticky !important;
  top: 0;
  background: linear-gradient(100deg, var(--ux-green-700), var(--ux-green-900)) !important;
  box-shadow: 0 10px 30px rgba(5, 53, 34, 0.18);
}

.home-page .header-wrapper {
  min-height: 68px;
}

.home-page .logo-container {
  padding-block: 7px;
}

.home-page .logo-container img {
  max-height: 54px;
}

.home-page #main-menu {
  align-items: center;
}

.home-page #main-menu li a {
  min-height: 68px;
  height: 68px;
  padding-inline: 14px;
  border-radius: 10px;
}

.home-page #main-menu li a strong {
  font-size: 14px;
  font-weight: 800;
}

.home-page #main-menu li a i {
  margin-left: 7px;
  font-size: 15px;
}

.home-page #main-menu li a:hover,
.home-page #main-menu li a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.home-page #main-menu li a:hover strong,
.home-page #main-menu li a:hover i {
  color: #fff;
}

.home-page .menu-right {
  height: 68px;
}

.home-page .menu-right .mobile-cart > div {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.home-page .burger-menu {
  display: none;
}

.home-page .mobile-nav {
  box-shadow: -18px 0 54px rgba(4, 47, 30, 0.2);
}

.home-page .mobile-nav-header {
  min-height: 68px;
}

.home-page .mobile-nav-menu a {
  min-height: 52px;
  border-radius: 12px;
  color: var(--ux-ink);
  font-weight: 700;
}

.home-page .mobile-nav-menu a:hover,
.home-page .mobile-nav-menu a:focus-visible {
  color: var(--ux-green-900);
  background: var(--ux-green-100);
}

/* Hero */
.home-page .app-campaign-hero {
  padding: 72px 22px 62px;
}

.home-page .app-campaign-shell {
  max-width: 1180px;
}

.home-page .app-campaign-copy {
  max-width: 980px;
}

.home-page .app-campaign-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(50px, 5.5vw, 74px);
  line-height: 1.14;
}

.home-page .app-campaign-typing {
  max-width: 900px;
  min-height: 1.55em;
  margin-bottom: 14px;
  font-size: clamp(27px, 2.8vw, 37px);
}

.home-page .app-campaign-lead {
  margin-bottom: 24px;
  color: #466a58;
  font-size: 17px;
  line-height: 1.75;
}

.home-page .app-campaign-stores {
  margin-bottom: 18px;
}

.home-page .app-campaign-stores a {
  min-width: 228px;
  min-height: 74px;
  border-color: rgba(75, 121, 54, 0.19);
  border-radius: 16px;
  background: rgba(255, 255, 250, 0.88);
  box-shadow: 0 12px 28px rgba(29, 104, 70, 0.12);
}

.home-page .app-store-symbol {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 14px;
  font-size: 25px;
}

.home-page .app-campaign-journey {
  max-width: 1040px;
  margin-top: 34px;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(29, 104, 70, 0.1);
}

.home-page .app-journey-item {
  min-height: 96px;
  padding: 17px 19px;
}

.home-page .app-journey-item strong {
  font-size: 16px;
}

/* Trust and section rhythm */
.home-page .home-trust-section {
  margin-top: -28px;
  padding-bottom: 30px;
}

.home-page .home-trust-panel {
  border-color: var(--ux-border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--ux-shadow);
}

.home-page .about-us-section,
.home-page .services-section,
.home-page .products-section,
.home-page .app-download-section,
.home-page .testimonials-section,
.home-page .feature-banner,
.home-page .why-choose-us {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.home-page .about-title,
.home-page .section-title,
.home-page .styled-section-title h2,
.home-page .app-download-content h2,
.home-page .banner-title {
  color: var(--ux-ink);
  font-size: clamp(30px, 2.7vw, 40px);
  letter-spacing: 0;
}

.home-page h2.section-title {
  display: inline-block;
  margin: 0 0 12px !important;
}

.home-page .home-eyebrow {
  color: var(--ux-green-700);
  font-size: 13px;
}

.home-page .about-underline,
.home-page .section-underline,
.home-page .title-underline,
.home-page .section-title > span:last-child {
  width: 54px !important;
  height: 4px !important;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--ux-green-700), var(--ux-lime)) !important;
}

.home-page .section-title::after {
  display: none !important;
}

/* About and services */
.home-page .about-row {
  border-color: var(--ux-border);
  border-radius: 26px;
  box-shadow: var(--ux-shadow);
}

.home-page .about-content-col {
  padding: clamp(30px, 4vw, 52px);
}

.home-page .about-text {
  max-width: 65ch;
  color: var(--ux-muted);
  font-size: 16px;
  line-height: 1.9;
}

.home-page .service-card {
  min-height: 232px;
  padding: 28px 22px;
  border-color: var(--ux-border) !important;
  border-radius: 22px;
  box-shadow: var(--ux-shadow) !important;
}

.home-page .service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--ux-green-700), #53b66f) !important;
  box-shadow: 0 10px 24px rgba(11, 122, 72, 0.2) !important;
}

.home-page .service-title {
  min-height: 32px;
  font-size: 20px;
}

.home-page .service-description {
  color: var(--ux-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* Products and offers */
.home-page .home-section-heading {
  margin-bottom: 30px;
}

.home-page .product-grid {
  align-items: stretch;
  gap: 22px;
  margin-block: 0;
}

.home-page .product-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  border-color: var(--ux-border) !important;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(7, 63, 42, 0.08) !important;
}

.home-page .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(7, 63, 42, 0.14) !important;
}

.home-page .product-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.home-page .product-description {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.4em;
  color: var(--ux-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page .product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.home-page .product-details-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ux-green-700) !important;
}

.home-page #offers .product-grid:has(> .product-card:only-of-type) {
  grid-template-columns: minmax(280px, 390px);
  justify-content: center;
}

/* App download */
.home-page .app-download-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(132, 189, 51, 0.24), transparent 28%),
    linear-gradient(135deg, var(--ux-green-950), var(--ux-green-700)) !important;
}

.home-page .app-download-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 38px !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 22px 56px rgba(4, 47, 30, 0.26) !important;
}

.home-page .app-download-kicker {
  color: var(--ux-green-900) !important;
  background: var(--ux-green-100) !important;
}

.home-page .app-download-content h2 {
  color: var(--ux-green-950) !important;
}

.home-page .app-download-content p {
  max-width: 610px;
  color: #486054 !important;
  opacity: 1 !important;
}

.home-page .app-download-actions {
  flex-wrap: nowrap;
}

.home-page .app-download-actions a {
  border: 1px solid var(--ux-border);
  box-shadow: 0 8px 20px rgba(7, 63, 42, 0.08);
}

/* Testimonials and supporting proof */
.home-page .testimonials-section .section-title {
  display: flex !important;
  align-items: center;
  flex-direction: column;
  margin-bottom: 34px;
}

.home-page .testimonials-section .section-title .home-eyebrow {
  display: inline-flex !important;
  width: max-content;
  height: auto;
  margin: 0 auto 10px;
  background: transparent !important;
}

.home-page .testimonials-grid {
  max-width: 1240px;
  gap: 16px;
  padding: 0 0 10px;
}

.home-page .testimonial-card {
  min-height: 310px;
  padding: 24px;
  border-color: transparent !important;
  border-radius: 14px;
  box-shadow: none !important;
}

.home-page .testimonial-text {
  color: #29483b !important;
  font-size: 15px;
  line-height: 1.95;
}

.home-page .feature-banner-wrapper {
  border-color: var(--ux-border);
  border-radius: 26px;
  box-shadow: var(--ux-shadow);
}

.home-page .benefit-card {
  min-height: 238px;
  padding: 26px 22px;
  border-color: var(--ux-border);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(7, 63, 42, 0.08);
}

.home-page .benefit-desc {
  color: var(--ux-muted);
  font-size: 14px;
}

.home-page .tap-top {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--ux-green-700) !important;
  box-shadow: 0 10px 26px rgba(7, 63, 42, 0.24);
}

.home-page .tap-top:hover {
  background: var(--ux-green-950) !important;
}

@media (max-width: 991px) {
  .home-page #main-menu li a {
    padding-inline: 9px;
  }

  .home-page .app-download-card {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .home-page .app-download-content p {
    margin-inline: auto;
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 70px;
  }

  .home-page #app-download-banner {
    height: 32px;
  }

  .home-page .banner-segment {
    padding-inline: 24px;
  }

  .home-page .banner-track {
    width: 100%;
    justify-content: center;
    animation: none !important;
    transform: none !important;
  }

  .home-page .banner-segment:nth-child(2),
  .home-page .banner-segment .banner-text:not(:first-of-type),
  .home-page .banner-segment .banner-dot {
    display: none;
  }

  .home-page .banner-segment .banner-text {
    font-size: 12px;
  }

  .home-page .site-header {
    position: sticky !important;
    min-height: 66px;
  }

  .home-page .header-wrapper {
    position: relative;
    min-height: 66px;
    justify-content: center;
  }

  .home-page .logo-container {
    margin: 0;
    padding: 6px 0;
  }

  .home-page .logo-container img {
    max-height: 52px;
  }

  .home-page .burger-menu {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 2;
    display: flex !important;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    transform: translateY(-50%);
  }

  .home-page .burger-menu span {
    width: 19px;
    background: #fff;
  }

  .home-page .menu-right {
    position: absolute;
    top: 50%;
    right: 14px;
    height: auto;
    margin: 0;
    transform: translateY(-50%);
  }

  .home-page .menu-right .mobile-cart > div {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .home-page .mobile-nav {
    display: block !important;
    width: min(88vw, 360px);
    height: 100dvh;
    padding: 18px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(105%);
  }

  .home-page .mobile-nav.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .home-page.mobile-nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(4, 32, 21, 0.46);
  }

  .home-page .mobile-nav {
    z-index: 9999;
  }

  .home-page .mobile-nav-menu li {
    display: block;
    width: 100%;
    margin: 0 0 6px;
  }

  .home-page .mobile-nav-menu a {
    width: 100%;
    justify-content: flex-start;
  }

  .home-page .app-campaign-hero {
    padding: 38px 16px 34px;
  }

  .home-page .app-campaign-kicker {
    margin-bottom: 12px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .home-page .app-campaign-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(35px, 10vw, 42px);
    letter-spacing: -0.3px;
    line-height: 1.22;
  }

  .home-page .app-campaign-typing {
    min-height: 3.15em;
    margin-bottom: 8px;
    font-size: clamp(21px, 6.1vw, 25px);
    line-height: 1.45;
  }

  .home-page .app-campaign-lead {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
  }

  .home-page .app-campaign-stores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-page .app-campaign-stores a {
    width: 100%;
    min-width: 0;
    min-height: 68px;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 15px;
  }

  .home-page .app-store-symbol {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
    font-size: 22px;
  }

  .home-page .app-store-copy small {
    font-size: 9px;
  }

  .home-page .app-store-copy strong {
    font-size: 17px;
  }

  .home-page .app-campaign-store-note {
    font-size: 11px;
  }

  .home-page .app-campaign-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
    border-radius: 18px;
  }

  .home-page .app-journey-item,
  .home-page .app-journey-item:nth-child(2) {
    min-height: 80px;
    gap: 9px;
    padding: 12px 10px;
    border-bottom: 0;
    border-left: 0;
  }

  .home-page .app-journey-item:nth-child(odd) {
    border-left: 1px solid var(--ux-border);
  }

  .home-page .app-journey-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ux-border);
  }

  .home-page .app-journey-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
    font-size: 14px;
  }

  .home-page .app-journey-item strong {
    font-size: 14px;
  }

  .home-page .app-journey-item small {
    font-size: 10px;
    line-height: 1.4;
  }

  .home-page .home-trust-section {
    margin-top: 0;
    padding-top: 16px;
  }

  .home-page .about-us-section,
  .home-page .services-section,
  .home-page .products-section,
  .home-page .app-download-section,
  .home-page .testimonials-section,
  .home-page .feature-banner,
  .home-page .why-choose-us {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .home-page .home-section-heading {
    align-items: flex-end;
    margin-bottom: 24px;
  }

  .home-page .about-content-col {
    padding: 24px 20px;
  }

  .home-page .about-text {
    font-size: 15px;
    line-height: 1.85;
  }

  .home-page .about-image-wrapper {
    min-height: 220px;
  }

  .home-page .services-grid {
    gap: 14px;
  }

  .home-page .service-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .home-page .product-grid {
    gap: 16px;
  }

  .home-page .product-content {
    padding: 16px 18px 18px;
  }

  .home-page .app-download-card {
    gap: 22px;
    padding: 26px 20px !important;
    border-radius: 22px;
  }

  .home-page .app-download-content h2 {
    font-size: 28px;
  }

  .home-page .app-download-content p {
    font-size: 15px;
  }

  .home-page .app-download-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .home-page .app-download-actions a {
    flex: 1 1 145px;
    justify-content: center;
  }

  .home-page .app-download-actions img {
    width: min(100%, 170px);
  }

  .home-page .testimonials-grid {
    gap: 12px;
  }

  .home-page .testimonial-card {
    min-height: 318px;
    padding: 20px;
  }

  .home-page .benefit-card {
    min-height: 0;
  }
}

@media (max-width: 350px) {
  .home-page .app-campaign-stores,
  .home-page .app-campaign-journey {
    grid-template-columns: 1fr;
  }

  .home-page .app-journey-item,
  .home-page .app-journey-item:nth-child(odd),
  .home-page .app-journey-item:nth-child(-n + 2) {
    border-left: 0;
    border-bottom: 1px solid var(--ux-border);
  }

  .home-page .app-journey-item:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .banner-track {
    animation: none !important;
    transform: none !important;
  }
}
.home-page .app-store-symbol .fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-style: normal;
    font-weight: 400;
}

.home-page .home-trust-icon .fas,
.home-page .feature-icon .fas {
    font-family: "Font Awesome 5 Free" !important;
    font-style: normal;
    font-weight: 900;
}
