/* RMX Pages — home + privacy, match live remaks-akumulatori.rs */

.rmx-home-page {
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: #f5f5f5 !important;
}
.rmx-home-page .container {
  margin-left: auto;
  margin-right: auto;
}
.rmx-home-page .rmx-section__title {
  font-size: 36px;
  line-height: 1.25;
  margin: 0 0 28px;
  color: #4da2f9;
}
.rmx-home-page .rmx-prose p:last-child { margin-bottom: 0; }

/* Hero — RevSlider fullwidth 780px */
.rmx-hero {
  position: relative;
  min-height: 480px;
  height: 780px;
  max-height: 90vh;
  overflow: hidden;
  background: #1c1c1c;
}
.rmx-hero__slide {
  display: none;
  position: absolute;
  inset: 0;
  background: center top / cover no-repeat;
}
.rmx-hero__slide.is-active {
  display: flex;
  flex-direction: column;
}
.rmx-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 80px;
  box-sizing: border-box;
}
.rmx-hero__title {
  font-family: "Montserrat", "Montserrat Alternates", sans-serif;
  font-size: clamp(36px, 6vw, 74px);
  line-height: 1.05;
  font-weight: 400;
  color: #fff !important;
  margin: 8px 0 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) {
  .rmx-hero__inner {
    padding-top: 168px;
    padding-bottom: 72px;
  }
  .rmx-hero__title {
    margin-top: 0;
    margin-bottom: 28px;
  }
  .rmx-hero__subtitle {
    margin-bottom: 28px;
  }
}
.rmx-hero__subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 3.4vw, 55px);
  line-height: 1.18;
  font-weight: 700;
  color: #fac23c !important;
  background: rgba(28, 28, 28, 0.5);
  padding: 12px 22px;
  margin: 0 auto 20px;
  max-width: 850px;
}
.rmx-hero__kicker {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-size: clamp(14px, 1.6vw, 22px);
  line-height: 1.4;
  color: #fff;
  background: rgba(91, 91, 91, 0.49);
  padding: 10px 16px;
  max-width: 460px;
  margin-top: auto;
  margin-bottom: 40px;
  align-self: flex-end;
  margin-right: 8%;
}

@keyframes rmx-hero-in {
  from { opacity: 0; transform: translateY(56px); }
  to { opacity: 1; transform: translateY(0); }
}
.rmx-hero-in {
  opacity: 0;
  transform: translateY(56px);
}
.rmx-hero__slide.is-active .rmx-hero-in {
  animation: rmx-hero-in 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.rmx-hero__slide.is-active .rmx-hero-in--1 {
  animation: rmx-hero-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}
.rmx-hero__slide.is-active .rmx-hero-in--2 {
  animation: rmx-hero-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}
.rmx-hero__slide.is-active .rmx-hero-in--3 {
  animation: rmx-hero-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.72s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .rmx-hero-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
.rmx-hero__dots {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.rmx-hero__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.rmx-hero__dot.is-active { background: #fff; }

@media (max-width: 767.98px) {
  .rmx-hero { height: 480px; }
  .rmx-hero__kicker { align-self: center; margin-right: 0; margin-bottom: 24px; }
}

/* Team */
.rmx-team {
  background-color: #f5f5f5 !important;
  background-image: none !important;
  padding: 80px 0;
  width: 100%;
}
.rmx-team__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.rmx-team__badge {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}
.rmx-team__title {
  font-size: 30px;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}
.rmx-team__kicker {
  margin-top: 16px;
  font-weight: 600;
  color: #0095eb;
}

/* Services */
.rmx-services {
  background-color: #fff !important;
  background-image: none !important;
  padding: 100px 0 90px;
  width: 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 -18px 36px -28px rgba(22, 25, 34, 0.22);
}
.rmx-services__title {
  color: #4da2f9 !important;
  font-size: clamp(28px, 3.2vw, 36px);
  margin-bottom: 48px;
}
.rmx-services__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.rmx-service {
  text-align: center;
  padding: 8px 10px;
}
.rmx-service__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(27, 58, 142, 0.08);
  color: #4da2f9;
}
.rmx-service__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.rmx-service__svg { display: block; }
.rmx-service__icon-wrap > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rmx-service__title {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  margin: 0;
  color: #161922;
}
.rmx-service p {
  margin: 8px 0 0;
  color: #868ea3;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 991.98px) {
  .rmx-services__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
  .rmx-services { padding: 64px 0 48px; }
  .rmx-services__grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
}

/* Story — 50/50; grey gap below before navy (no white body flash) */
.rmx-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background-color: #f0f1f3 !important;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0 0 64px;
  box-sizing: border-box;
  min-height: 560px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 -18px 36px -28px rgba(22, 25, 34, 0.18);
}
.rmx-story__media {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  z-index: 1;
  background-color: #f0f1f3;
}
.rmx-story__parallax {
  position: absolute;
  inset: 0;
  top: -6%;
  height: 112%;
  /* Asset has the battery on the right half — pin that into the left panel */
  background-color: #d9dde3;
  background-image: none;
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
}
.rmx-story__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  min-height: 560px;
  padding: 72px clamp(28px, 5vw, 72px) 72px clamp(28px, 4.5vw, 64px);
  display: flex;
  align-items: center;
  background-color: #f0f1f3 !important;
}
.rmx-story__copy-inner {
  width: 100%;
  max-width: 40rem;
}
.rmx-story .rmx-section__title {
  color: #4da2f9 !important;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.25;
  margin: 0 0 20px;
}
.rmx-story .rmx-prose,
.rmx-story .rmx-prose p {
  color: #868ea3;
  font-size: 17px;
  line-height: 1.85;
}
@media (max-width: 767.98px) {
  .rmx-story {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 40px;
  }
  .rmx-story__media {
    display: none !important;
  }
  .rmx-story__copy {
    min-height: 0;
    padding: 36px 24px 48px;
  }
}

/* Types / goals — navy split, full viewport width */
.rmx-more {
  background: #003590;
  color: #fff;
  padding: 96px 0;
  width: 100%;
}
.rmx-more .container {
  max-width: min(1200px, calc(100% - 40px));
  padding-left: 20px;
  padding-right: 20px;
}
.rmx-more__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 56px;
  align-items: center;
}
.rmx-more__col--types { text-align: left; }
.rmx-more__visual {
  margin: 0 0 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}
.rmx-more__img {
  display: block;
  width: 100%;
  height: auto;
}
.rmx-more__types-title,
.rmx-more__goals-title {
  color: #fff !important;
  font-weight: 400;
  line-height: 1.25;
}
.rmx-more__types-title {
  font-size: clamp(24px, 2.8vw, 32px);
  margin: 0 0 10px;
}
.rmx-more__goals-title {
  font-size: clamp(34px, 4vw, 46px);
  margin: 0 0 20px;
}
.rmx-more__lead {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}
.rmx-more__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rmx-more__chips li {
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
}
.rmx-more__types-text,
.rmx-more__goals-text,
.rmx-more__goals-text p {
  color: rgba(255, 255, 255, 0.92);
}
.rmx-more__col--goals {
  position: relative;
  padding: 8px 4px 8px 40px;
}
.rmx-more__col--goals::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}
.rmx-more__goals-text p {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.7;
  max-width: none;
  margin-bottom: 28px;
}
.rmx-more__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  padding-bottom: 3px;
}
.rmx-more__cta:hover {
  color: #d6ebff !important;
  border-bottom-color: #d6ebff;
}
.rmx-more__cta svg { display: block; }
@media (max-width: 991.98px) {
  .rmx-more { padding: 64px 0; }
  .rmx-more__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .rmx-more__col--goals {
    padding: 28px 0 0;
  }
  .rmx-more__col--goals::before {
    top: 0;
    bottom: auto;
    width: 100%;
    height: 1px;
  }
}

/* Brands — solid grey, no stripe image */
.rmx-brands {
  padding: 100px 0 75px;
  background-color: #f5f5f5 !important;
  background-image: none !important;
  width: 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 -16px 34px -26px rgba(22, 25, 34, 0.2);
}
.rmx-brands .container {
  max-width: min(1520px, calc(100% - 24px));
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: auto;
  margin-right: auto;
}
.rmx-brands__sub {
  font-size: clamp(20px, 2.2vw, 26px);
  color: #58595b;
  margin: 0 0 28px;
}
.rmx-brands__img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
}

/* Reviews — native carousel (Google review seed) */
.rmx-reviews {
  padding: 70px 0 80px;
  overflow: hidden;
  width: 100%;
  background-color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 -18px 36px -28px rgba(22, 25, 34, 0.2);
}
.rmx-reviews .rmx-section__title {
  color: #4da2f9;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 400;
  margin-bottom: 18px;
}
.rmx-reviews__head {
  text-align: center;
  margin: 0 0 32px;
}
.rmx-reviews__score {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: #161922;
}
.rmx-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}
.rmx-reviews__count {
  margin: 8px 0 10px;
  color: #555;
  font-size: 14px;
}
.rmx-reviews__google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #555;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.rmx-reviews__slider {
  position: relative;
  padding: 0 52px;
}
.rmx-reviews__viewport {
  overflow: hidden;
}
.rmx-reviews__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.rmx-review {
  flex: 0 0 300px;
  width: 300px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px 16px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  text-align: left;
  min-height: 200px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.rmx-review__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  position: relative;
}
.rmx-review__avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rmx-review__who { flex: 1; min-width: 0; }
.rmx-review__name {
  font-weight: 700;
  margin: 0;
  color: #161922;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rmx-review__date {
  font-size: 12px;
  color: #929292;
  margin: 0;
}
.rmx-review__g {
  flex-shrink: 0;
  margin-left: auto;
}
.rmx-review__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 10px;
}
.rmx-review__verified {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #4285F4;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.rmx-review__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rmx-reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f3;
  color: #6b6b6b;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rmx-reviews__prev { left: 8px; }
.rmx-reviews__next { right: 8px; }
.rmx-reviews__nav:hover { background: #e6e6e6; color: #161922; }
.rmx-reviews__nav:disabled { opacity: 0.35; cursor: default; }
.rmx-reviews__nav svg { display: block; }
@media (max-width: 575.98px) {
  .rmx-reviews__slider { padding: 0 40px; }
  .rmx-review { flex-basis: 100%; width: 100%; }
}

/* Gallery */
.rmx-gallery {
  padding: 100px 0 75px;
  width: 100%;
  background-color: #f0f1f3 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 -16px 34px -26px rgba(22, 25, 34, 0.18);
}
.rmx-gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.rmx-gallery__item { margin: 0; }
.rmx-gallery__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.rmx-gallery__trigger img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.rmx-gallery__trigger:hover img { transform: scale(1.04); }
@media (max-width: 991.98px) {
  .rmx-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
  .rmx-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Lightbox */
.rmx-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.rmx-lightbox.is-open { display: flex; }
.rmx-lightbox__img { max-width: 90vw; max-height: 80vh; object-fit: contain; }
.rmx-lightbox__btn {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}
.rmx-lightbox__close { top: 16px; right: 24px; }
.rmx-lightbox__prev { left: 16px; top: 50%; }
.rmx-lightbox__next { right: 16px; top: 50%; }
.rmx-lightbox__caption { color: #fff; text-align: center; margin-top: 12px; }
body.rmx-lightbox-open { overflow: hidden; }

/* Contact — two cards on navy */
.rmx-contact {
  background: #1b3a8e;
  color: #fff;
  padding: 80px 0 64px;
  width: 100%;
}
.rmx-contact__headline {
  color: #fff !important;
  font-size: 36px;
  margin: 0 0 40px;
}
.rmx-contact__boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.rmx-contact__card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px 32px;
  box-shadow: 0 16px 40px rgba(8, 20, 60, 0.22);
  min-height: 100%;
}
.rmx-contact__card h3 {
  color: #1b3a8e !important;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 18px;
}
.rmx-contact__intro {
  color: #58595b;
  margin: 0 0 22px;
}
.rmx-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rmx-contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  color: #161922;
  font-size: 16px;
  line-height: 1.45;
}
.rmx-contact__list a {
  color: #161922 !important;
  text-decoration: none;
}
.rmx-contact__list a:hover { color: #0095eb !important; }
.rmx-contact__ico {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f4fc;
  color: #0095eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rmx-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f6;
  color: #58595b;
  font-size: 15px;
}
.rmx-hours__row:last-child { border-bottom: 0; }
.rmx-hours__row strong {
  background: #0095eb;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: 50px;
  padding: 6px 14px;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .rmx-contact__boxes { grid-template-columns: 1fr; }
  .rmx-contact__card { padding: 28px 24px; }
}

.rmx-map { line-height: 0; width: 100%; }
.rmx-map iframe { display: block; width: 100%; height: 350px; border: 0; }

/* Privacy */
.rmx-privacy-page { padding: 48px 0 64px; }
.rmx-privacy { max-width: 820px; }
.rmx-privacy__title {
  font-size: 36px;
  margin: 0 0 28px;
}
.rmx-privacy .rmx-prose h2,
.rmx-privacy .rmx-prose h3 {
  font-size: 20px;
  margin: 1.6em 0 0.5em;
}
