@font-face { font-family: Poppins; src: url('/media/rime-home/fonts/poppins-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: RimeHomeIcons; src: url('/media/rime-home/fonts/fa-solid-900.woff') format('woff'); font-weight: 900; font-style: normal; font-display: block; }
.rime-home { color: #030303; }
.rime-home h2 { margin: 0 0 50px; text-align: center; font-size: 40px; line-height: 48px; }
.rh-services h2::after, .rh-benefits h2::after, .rh-company h2::after, .rh-clients h2::after { content: ''; display: block; position: relative; top: 10px; width: 25px; height: 2px; margin: -1px auto; background: #2ba84a; }
.rime-home strong { color: #2ba84a; }
.rime-home .rh-button { display: inline-block; padding: 12px 25px; background: #2ba84a; color: #fff; border-radius: 3px; text-decoration: none; transition: background-color .3s; }
.rime-home .rh-button:hover { background: #1d7231; }
.rime-home a:focus-visible, .rime-home button:focus-visible { outline: 3px solid #d7a527; outline-offset: 4px; }
.rh-slideshow { position: relative; min-height: 550px; height: 100vh; height: 100svh; background: #283936; color: #fff; overflow: hidden; }
.rh-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.rh-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.rh-slide video, .rh-company > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rh-caption { position: relative; width: 75%; margin: auto; text-align: left; }
.rime-home .rh-caption h1, .rime-home .rh-caption h2 { color: #fff; font-size: 46px; line-height: 1.2; font-weight: 600; text-align: left; margin: 0; }
.rh-caption p { font-size: 24px; line-height: 36px; margin: 0 0 16px; }
.rh-slide:nth-child(1) .rh-caption p, .rh-slide:nth-child(4) .rh-caption p { line-height: 48px; margin-bottom: 8px; font-weight: 500; }
.rh-caption .rh-button { padding: 10px 20px; border-radius: 0; }
.rh-slide-controls { position: absolute; bottom: 55px; left: 0; width: 100%; display: flex; align-items: center; justify-content: center; gap: 20px; z-index: 2; }
.rh-dots { display: flex; gap: 4px; }
.rh-dots button { position: relative; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.rh-dots button::before { content: ''; position: absolute; inset: 10px; border: 1px solid #fff; border-radius: 50%; }
.rh-dots button[aria-pressed="true"]::after { content: ''; position: absolute; inset: 14px; background: #fff; border-radius: 50%; }
.rh-order { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding-top: 80px; padding-bottom: 80px; }
.rime-home .rh-order h2 { margin: 0; text-align: left; font-size: 24px; line-height: 28.8px; }
.rh-order .rh-button { justify-self: center; padding: 17px 50px; border: 1px solid transparent; border-bottom: 7px solid #1d7231; border-radius: 6px; font-size: 16px; line-height: 1.6; font-weight: 700; }
.rh-services { background: #f2f2f2; padding: 60px 0 40px; }
.rh-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 30px; }
.rh-service { text-align: center; }
.rh-service-icon { display: block; background: #2ba84a; padding: 20px 0; }
.rh-service-icon img { display: block; width: 100px; height: 100px; object-fit: contain; margin: auto; }
.rime-home .rh-service h3 { background: #217f38; color: #fff; font-size: 22px; line-height: 22px; margin: 0; padding: 20px 0; }
.rh-service-text { padding: 20px; transition: background .4s, color .4s; }
.rh-service:is(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(6)) .rh-service-text { padding-bottom: 36px; }
.rh-service:hover .rh-service-text, .rh-service:focus-within .rh-service-text { background: #2ba84a; color: #fff; }
.rh-benefits { padding-top: 70px; padding-bottom: 70px; }
.rime-home .rh-benefits h2 { margin-bottom: 30px; }
.rh-benefit-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: start; }
.rh-benefit { display: flex; gap: 15px; margin: 0 0 20px; }
.rh-benefit-grid > div:first-child .rh-benefit { flex-direction: row-reverse; text-align: right; }
.rh-benefit:last-child { margin-bottom: 0; }
.rh-number { flex: 0 0 48px; height: 48px; border-radius: 100px; background: #1d7231; font: 400 16px/48px Poppins, sans-serif; text-align: center; color: #fff; }
.rh-benefit h3 { font-size: 24px; line-height: 28.8px; font-weight: 600; margin: 0 0 5px; }
.rh-benefit p { margin: 0; }
.rh-benefit-image { width: 250px; max-width: 100%; margin: auto; align-self: center; }
.rh-statistics { background: #233436 url('/media/rime-home/images/elements/parallax2.jpg') center / cover fixed; padding: 80px 0; color: #fff; }
.rh-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.rh-stat-icon { display: block; font: 40px FontAwesome; margin-bottom: 25px; }
.rh-stat:nth-child(3) .rh-stat-icon { font-family: RimeHomeIcons; font-weight: 900; }
.rh-stat-number { font-family: Poppins, Raleway, sans-serif; font-size: 36px; line-height: 36px; }
.rh-stat p { font-size: 20px; line-height: 36px; margin: 20px 0 0; }
.rh-company { position: relative; background: #263b3a; padding: 65px 0; color: #fff; }
.rh-company-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
.rime-home .rh-company h2 { text-align: left; margin-bottom: 30px; color: #fff; font-weight: 600; }
.rh-company h2::after { margin-left: 0; }
.rh-company p { font-size: 20px; line-height: 1.5; margin: 0 0 20px; }
.rh-company-image { width: 100%; height: auto; }
.rh-clients { padding-top: 70px; padding-bottom: 70px; }
.rime-home .rh-clients h2 { margin-bottom: 100px; }
.rh-client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 35px 30px; align-items: center; }
.rh-client-grid a { display: flex; align-items: center; justify-content: center; min-height: 110px; }
.rh-client-grid img { max-width: 100%; max-height: 160px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 991px) {
  .rh-benefit-grid { grid-template-columns: 1fr; }
  .rh-services-grid { gap: 20px; }
  .rime-home .rh-service h3 { font-size: 19px; }
  .rh-stats-grid { grid-template-columns: 1fr 1fr; }
  .rh-statistics { background-attachment: scroll; }
  .rh-company-grid { grid-template-columns: 1fr; }
  .rh-company-image { max-width: 600px; margin: 20px auto 0; }
}
@media (max-width: 575px) {
  .rh-slideshow { min-height: 500px; max-height: 760px; }
  .rh-caption { width: 85%; }
  .rime-home .rh-caption h1, .rime-home .rh-caption h2 { font-size: 29px; }
  .rh-caption p { font-size: 18px; }
  .rh-slide:nth-child(1) .rh-caption p, .rh-slide:nth-child(4) .rh-caption p { line-height: 30px; }
  .rh-slide-controls { bottom: 25px; }
  .rh-order { grid-template-columns: 1fr; padding-top: 45px; padding-bottom: 45px; }
  .rh-order .rh-button { justify-self: start; }
  .rime-home .rh-order h2 { font-size: 25px; }
  .rh-services-grid, .rh-benefit-grid { grid-template-columns: 1fr; }
  .rh-benefit-image { display: block; width: 200px; }
  .rh-stats-grid { gap: 40px 15px; }
  .rh-stat-number { font-size: 30px; }
  .rh-stat p { font-size: 16px; line-height: 24px; }
  .rh-company p { font-size: 18px; }
  .rh-client-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .rh-client-grid img { max-height: 100px; }
}
