/* ==========================================================================
   Revolution Slider Engine Styles (Faithful to Celestino revolution-slider.html)
   ========================================================================== */

#slider-revolution-slider {
  position: relative;
  width: 100%;
  background: #e9eef0;
  overflow: hidden;
  border-bottom: 1px solid #d7dddd;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.rev-stage {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}

.rev-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #b77a2b 0%, #f5b00c 100%);
  z-index: 30;
  transition: width 0.1s linear;
}

.rev-slides {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: 100%;
}

.rev-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.rev-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 5;
}

.rev-slide-inner {
  position: relative;
  width: 100%;
  max-width: 1170px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 34px;
}

.rev-slide-inner.visual-left {
  grid-template-columns: 0.84fr 1.16fr;
}

.rev-slide-inner.visual-right {
  grid-template-columns: 1.08fr 0.92fr;
}

/* ==========================================================================
   LAYERED STAGGERED CAPTION ANIMATIONS (lfb, lft, lfr, lfl, sft, sfb)
   ========================================================================== */
.tp-layer {
  opacity: 0;
  will-change: transform, opacity;
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  /* easeOutQuint */
  transition-duration: 0.9s;
  transition-delay: 0ms;
}

.tp-layer.lfb {
  transform: translate3d(0, 56px, 0);
}

.tp-layer.lft {
  transform: translate3d(0, -56px, 0);
}

.tp-layer.lfr {
  transform: translate3d(68px, 0, 0);
}

.tp-layer.lfl {
  transform: translate3d(-68px, 0, 0);
}

.tp-layer.sft {
  transform: translate3d(0, -22px, 0);
}

.tp-layer.sfb {
  transform: translate3d(0, 22px, 0);
}

.rev-slide.is-active .tp-layer.entered {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   CELESTINO CAPTION TYPOGRAPHY
   ========================================================================== */
.rev-main-title {
  color: #373636;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}

.rev-main-title .amp {
  color: #a96605;
  font-weight: 700;
}

.rev-paragraph {
  color: #373636;
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.rev-highlighted {
  color: #a96605;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Slide 1: Bottom Service Icon Badges (mirroring Celestino 1-l2..1-l8) */
.rev-service-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 18px;
}

.rev-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d2d9db;
  border-radius: 5px;
  padding: 7px 10px;
  color: #373636;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(55, 54, 54, 0.07);
}

.rev-badge:hover {
  border-color: #b77a2b;
  color: #8d5504;
  transform: translateY(-2px);
}

.rev-badge svg {
  width: 14px;
  height: 14px;
  stroke: #a96605;
  fill: none;
  stroke-width: 1.9;
  flex-shrink: 0;
}

/* Slide 1, 3, 4 Visual Frame */
.rev-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.rev-hero-img {
  max-height: 360px;
  width: auto;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 36px rgba(45, 58, 66, 0.14), 0 2px 8px rgba(45, 58, 66, 0.06);
}

/* Slide 2: Layered Responsive Device Mockups (Desktop + Tablet + Phone like 2-l1, 2-l2, 2-l3) */
.rev-devices-stage {
  position: relative;
  width: 100%;
  height: 360px;
}

.device-desktop {
  position: absolute;
  right: 0;
  top: 14px;
  width: 390px;
  background: #ffffff;
  border: 1px solid #c5cdd0;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(35, 45, 52, 0.16);
  overflow: hidden;
  z-index: 2;
}

.device-topbar {
  height: 24px;
  background: #dfe4e6;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
  border-bottom: 1px solid #cbd2d5;
}

.device-topbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9fa8ac;
  display: block;
}

.device-topbar i:first-child {
  background: #d97a6c;
}

.device-topbar i:nth-child(2) {
  background: #e3b459;
}

.device-topbar i:nth-child(3) {
  background: #7ab874;
}

.device-screen {
  padding: 14px;
  background: #ffffff;
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #cad0d1;
  margin-bottom: 12px;
}

.mock-logo {
  font-size: 12px;
  font-weight: 800;
  color: #373636;
}

.mock-logo span {
  color: #a96605;
}

.mock-links {
  display: flex;
  gap: 8px;
  font-size: 10px;
  color: #767676;
}

.mock-hero {
  background: linear-gradient(135deg, #eff3f5 0%, #dde6ea 100%);
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 12px;
}

.mock-hero-title {
  font-size: 14px;
  font-weight: 700;
  color: #373636;
  margin-bottom: 4px;
}

.mock-hero-sub {
  font-size: 10.5px;
  color: #5f5e5e;
  margin-bottom: 8px;
}

.mock-hero-btn {
  display: inline-block;
  font-size: 10px;
  background: #a96605;
  color: #fff;
  padding: 3px 10px;
  border-radius: 3px;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-card {
  background: #f7f8f8;
  border: 1px solid #e6e9ea;
  border-radius: 4px;
  padding: 8px 6px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: #373636;
}

.mock-card span {
  display: block;
  width: 18px;
  height: 3px;
  background: #b77a2b;
  margin: 0 auto 5px;
  border-radius: 2px;
}

.device-tablet {
  position: absolute;
  left: 8px;
  bottom: 18px;
  width: 210px;
  background: #2f3133;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 18px 32px rgba(25, 32, 38, 0.22);
  z-index: 3;
}

.device-tablet-screen {
  background: #ffffff;
  border-radius: 4px;
  padding: 10px;
}

.device-tablet-screen .t-head {
  font-size: 11px;
  font-weight: 700;
  color: #373636;
  border-bottom: 2px solid #cad0d1;
  padding-bottom: 5px;
  margin-bottom: 7px;
}

.device-tablet-screen .t-banner {
  background: #eff3f5;
  padding: 8px;
  border-radius: 3px;
  font-size: 10px;
  color: #a96605;
  font-weight: 700;
  margin-bottom: 7px;
}

.device-tablet-screen .t-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.device-tablet-screen .t-grid div {
  background: #f5f6f7;
  height: 34px;
  border-radius: 3px;
  border: 1px solid #e7eaeb;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f5e5e;
}

.device-phone {
  position: absolute;
  right: 16px;
  bottom: 10px;
  width: 108px;
  background: #252627;
  border-radius: 16px;
  padding: 12px 7px 14px;
  box-shadow: 0 16px 28px rgba(25, 32, 38, 0.26);
  z-index: 4;
}

.device-phone-screen {
  background: #ffffff;
  border-radius: 6px;
  padding: 8px 6px;
  text-align: center;
}

.device-phone-screen .p-title {
  font-size: 10px;
  font-weight: 700;
  color: #373636;
  margin-bottom: 4px;
}

.device-phone-screen .p-pill {
  background: #a96605;
  color: #fff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 6px;
}

.device-phone-screen .p-bar {
  height: 6px;
  background: #e5e9eb;
  border-radius: 3px;
  margin-bottom: 4px;
}

/* Slide 3: Celestino Alternating Feature Stack */
.rev-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rev-stack-line {
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 500;
  color: #373636;
}

.rev-stack-line.hl {
  color: #a96605;
  font-weight: 700;
}

/* ==========================================================================
   SLIDER CONTROLS (Round Arrows + Bullets matching Celestino navigationStyle:round)
   ========================================================================== */
.rev-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(55, 54, 54, 0.55);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}

.rev-arrow:hover {
  background: #a96605;
  border-color: #ffffff;
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}

.rev-arrow.prev {
  left: 18px;
}

.rev-arrow.next {
  right: 18px;
}

.rev-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.rev-bullets {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 25;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(202, 208, 209, 0.8);
}

.rev-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #9ea6a8;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.rev-bullet.is-active {
  width: 26px;
  border-radius: 999px;
  background: #a96605;
}

/* ==========================================================================
   RESPONSIVE SLIDER
   ========================================================================== */
@media (max-width: 980px) {
  .rev-stage {
    height: 480px;
  }

  .rev-main-title {
    font-size: 32px;
  }

  .rev-service-badges {
    flex-wrap: wrap;
  }

  .device-desktop {
    width: 310px;
  }

  .device-tablet {
    width: 170px;
  }

  .device-phone {
    width: 90px;
  }
}

@media (max-width: 760px) {
  .rev-stage {
    height: 540px;
  }

  .rev-slide-inner,
  .rev-slide-inner.visual-left,
  .rev-slide-inner.visual-right {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 18px;
    padding: 20px 22px 54px;
  }

  .rev-visual-col {
    height: auto;
    order: -1;
  }

  .rev-hero-img {
    max-height: 190px;
  }

  .rev-devices-stage {
    height: 190px;
    max-width: 340px;
    margin: 0 auto;
  }

  .device-desktop {
    width: 240px;
    top: 4px;
    right: 10px;
  }

  .device-desktop .mock-cards {
    display: none;
  }

  .device-tablet {
    width: 130px;
    bottom: 8px;
    left: 4px;
  }

  .device-tablet .t-grid {
    display: none;
  }

  .device-phone {
    display: none;
  }

  .rev-main-title {
    font-size: 25px;
    margin-bottom: 8px;
  }

  .rev-paragraph,
  .rev-highlighted {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .rev-stack-line {
    font-size: 13.5px;
  }

  .rev-arrow {
    width: 34px;
    height: 34px;
  }

  .rev-arrow.prev {
    left: 8px;
  }

  .rev-arrow.next {
    right: 8px;
  }
}