:root {
  --rvp-bg: #004E89;
  --rvp-bg2: #003560;
  --rvp-text: #ffffff;
  --rvp-muted: #B0C4DE;
  --rvp-primary: #FF6B35;
  --rvp-primaryLight: #FF8C5A;
  --rvp-border: 1px solid rgba(255,255,255,.12);
  --rvp-shadow: 0 20px 60px rgba(0,0,0,.35);
  --rvp-radius: 22px;
  --rvp-container: min(1180px, calc(100% - 32px));
}

/* ============ Section ============ */
.rvPro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(255,107,53,.12), rgba(0,78,137,0) 62%),
    radial-gradient(50% 45% at 80% 20%, rgba(255,140,90,.08), rgba(0,78,137,0) 60%),
    linear-gradient(180deg, var(--rvp-bg2), var(--rvp-bg));
  color: var(--rvp-text);
  padding: clamp(54px, 6.5vw, 110px) 0;
  width: 100%;
  max-width: 100vw;
}

.rvPro__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .95;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.rvPro__orb {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 999px;
  filter: blur(36px);
  will-change: transform;
  mix-blend-mode: screen;
  opacity: .55;
  animation: rvpFloat 10s ease-in-out infinite;
}

.rvPro__orb--1 { left: -200px; top: -220px; background: radial-gradient(circle at 30% 30%, rgba(201,162,39,.38), rgba(201,162,39,0) 60%); }
.rvPro__orb--2 { right: -220px; top: 40px; background: radial-gradient(circle at 35% 35%, rgba(232,211,154,.16), rgba(232,211,154,0) 62%); animation-duration: 12s; }
.rvPro__orb--3 { left: 22%; bottom: -260px; background: radial-gradient(circle at 35% 35%, rgba(45,212,191,.10), rgba(45,212,191,0) 65%); animation-duration: 11s; }

@keyframes rvpFloat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.rvPro__wrap {
  position: relative;
  width: var(--rvp-container);
  margin-inline: auto;
  overflow: hidden;
}

/* ============ Header ============ */
.rvPro__head {
  max-width: 860px;
  margin-bottom: clamp(18px, 3vw, 34px);
}

.rvPro__kicker {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: var(--rvp-border);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.84);
  font-size: 13px;
  letter-spacing: .2px;
}

.rvPro__title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.12;
  text-wrap: balance;
  color: rgba(255,255,255,.96);
  font-weight: 950;
}

.rvPro__lead {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.75;
  max-width: 68ch;
}

/* ============ Carousel Container ============ */
.rvPro__carousel {
  border-radius: var(--rvp-radius);
  border: var(--rvp-border);
  background: rgba(0,0,0,.12);
  box-shadow: 0 25px 80px rgba(0,0,0,.40);
  overflow: hidden;
  margin-top: 18px;
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
  width: 100%;
  position: relative;
  z-index: 1;
}

.rvPro__carousel.swiper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

/* ============ Slide ============ */
.rvPro__slide {
  flex-shrink: 0;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 240ms cubic-bezier(.34,.1,.68,.55), border-color 240ms ease, box-shadow 240ms ease;
  box-shadow: 0 10px 32px rgba(0,0,0,.15);
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  box-sizing: border-box;
}

.rvPro__slide.swiper-slide-active {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255,107,53,.28);
  box-shadow: 0 15px 48px rgba(255,107,53,.18);
}

.swiper-slide {
  opacity: 1;
  visibility: visible;
}

/* ============ Slide Content ============ */
.rvPro__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.rvPro__stars {
  color: var(--rvp-primary);
  letter-spacing: 2px;
  font-size: 14px;
  display: flex;
  gap: 1px;
}

.rvPro__tag {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,107,53,.28);
  background: rgba(255,107,53,.12);
  color: rgba(255,255,255,.90);
  font-weight: 700;
  white-space: nowrap;
}

.rvPro__text {
  margin: 0 0 16px;
  color: rgba(255,255,255,.88);
  line-height: 1.78;
  font-size: 15px;
  flex-grow: 1;
  font-weight: 500;
}

.rvPro__person {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.rvPro__avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 950;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rvp-primaryLight), var(--rvp-primary));
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(255,107,53,.24);
}

.rvPro__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.96);
}

.rvPro__meta {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.68);
  margin-top: 2px;
}

/* ============ Navigation ============ */
.rvPro__nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 12px 0;
  position: relative;
  z-index: 15;
  pointer-events: all;
  width: 100%;
}

.rvPro__nav-btn {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: var(--rvp-border);
  background: rgba(0,0,0,.18);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 160ms cubic-bezier(.34,.1,.68,.55), border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
  font-size: 28px;
  line-height: 1;
  color: rgba(255,255,255,.94);
  font-weight: 700;
  position: relative;
  z-index: 15;
  pointer-events: auto;
}

.rvPro__nav-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,107,53,.32);
  background: rgba(255,107,53,.12);
  box-shadow: 0 10px 28px rgba(255,107,53,.20);
}

.rvPro__nav-btn:focus-visible {
  outline: 2px solid var(--rvp-primary);
  outline-offset: 3px;
}

.rvPro__nav-btn:active {
  transform: translateY(0) scale(.96);
}

.rvPro__nav-btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============ Pagination (Dots) ============ */
.rvPro__dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  padding: 12px 0 0;
}

.rvPro__dots.swiper-pagination {
  position: static;
  margin-top: 12px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.32);
  opacity: 1;
  transition: background-color 300ms ease, transform 300ms ease;
  cursor: pointer;
}

.swiper-pagination-bullet:hover {
  background: rgba(255,255,255,.52);
  transform: scale(1.15);
}

.swiper-pagination-bullet-active {
  background: linear-gradient(135deg, var(--rvp-primaryLight), var(--rvp-primary));
  box-shadow: 0 4px 16px rgba(255,107,53,.32);
}

/* ============ Footer CTA ============ */
.rvPro__footer {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 8px;
}

.rvpBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 950;
  font-size: 14px;
  transition: transform 150ms ease, box-shadow 240ms ease, background 240ms ease, border-color 240ms ease;
  border: none;
  cursor: pointer;
}

.rvpBtn:active {
  transform: scale(.97);
}

.rvpBtn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rvp-primaryLight), var(--rvp-primary));
  box-shadow: 0 12px 40px rgba(255,107,53,.28);
}

.rvpBtn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 52px rgba(255,107,53,.36);
}

.rvpBtn--ghost {
  color: var(--rvp-text);
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.rvpBtn--ghost:hover {
  background: rgba(0,0,0,.24);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-2px);
}

/* ============ Reveal Animation ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.rvPro__head[data-reveal] {
  animation: revealUp 520ms ease forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .rvPro__carousel {
    margin-bottom: 16px;
    overflow: hidden;
  }

  .rvPro__slide {
    min-height: auto;
    padding: 14px;
  }

  .rvPro__nav {
    gap: 10px;
  }

  .rvPro__nav-btn {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .rvPro {
    padding: clamp(32px, 5vw, 54px) 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .rvPro__wrap {
    --rvp-container: min(100vw, calc(100% - 16px));
    overflow: hidden;
  }

  .rvPro__nav {
    display: none;
  }

  .rvPro__slide {
    padding: 12px;
  }

  .rvPro__footer {
    gap: 10px;
  }

  .rvpBtn {
    padding: 10px 14px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rvPro__orb {
    animation: none !important;
  }

  .rvPro__slide {
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .swiper-pagination-bullet {
    transition: none !important;
  }
}

/* ============ RTL Support ============ */
[dir="rtl"] .rvPro__carousel {
  direction: rtl;
}

[dir="rtl"] .rvPro__slide {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .rvPro__top {
  flex-direction: row-reverse;
}

[dir="rtl"] .rvPro__person {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .rvPro__meta {
  text-align: right;
}
