@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   Ryvian Motors — Monochrome Square Luxury Hero Banner
   High-Contrast Black & White with Crisp Square Geometry
   ========================================================================== */

:root {
  --ryvian-hero-bg: #050505;
  --ryvian-mono-white: #ffffff;
  --ryvian-mono-black: #000000;
  --ryvian-mono-platinum: #e4e4e7;
  --ryvian-mono-silver: #a1a1aa;
  --ryvian-mono-dark: #0f0f11;
  --ryvian-mono-charcoal: #18181b;
  --ryvian-glass-bg: rgba(255, 255, 255, 0.04);
  --ryvian-glass-border: rgba(255, 255, 255, 0.14);
}

/* Base Hero Container */
.elementor-element.elementor-element-a05b142,
.ryvian-revamped-hero {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 40%),
    #050505 !important;
  color: #ffffff !important;
  padding: clamp(52px, 6.2vw, 88px) 24px clamp(56px, 6.5vw, 92px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Delicate 1px luminous pure white hairline along top */
.elementor-element.elementor-element-a05b142::before,
.ryvian-revamped-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.65) 50%, 
    rgba(255, 255, 255, 0.2) 80%, 
    transparent 100%
  );
  z-index: 10;
}

/* Subtle futuristic ambient grid pattern */
.ryvian-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

/* Ambient Monochrome Floating Studio Lighting */
.ryvian-hero-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
  animation: ryvianFloatOrb 18s ease-in-out infinite alternate;
}
.ryvian-hero-aurora--cyan {
  width: 540px;
  height: 540px;
  top: -160px;
  right: 4%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(200, 200, 200, 0.03) 50%, transparent 75%);
}
.ryvian-hero-aurora--emerald {
  width: 500px;
  height: 500px;
  top: 30%;
  left: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, rgba(180, 180, 180, 0.02) 50%, transparent 75%);
  animation-duration: 20s;
  animation-delay: -6s;
}

@keyframes ryvianFloatOrb {
  0% { transform: translateY(0) scale(1) translateX(0); }
  50% { transform: translateY(22px) scale(1.04) translateX(-16px); }
  100% { transform: translateY(-16px) scale(0.97) translateX(16px); }
}

/* Layout Grid Structure */
.elementor-element.elementor-element-a05b142 .container,
.ryvian-hero-container {
  max-width: 1300px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
}

.elementor-element.elementor-element-a05b142 .e-con-inner,
.ryvian-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr) !important;
  gap: clamp(36px, 4.5vw, 64px) !important;
  align-items: center !important;
  width: 100% !important;
}

/* ==========================================================================
   Left Column: Monochrome Typography, Square Buttons (White with Black Text)
   ========================================================================== */
.ryvian-hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

/* Eyebrow Badge: Square, White Background with Black Text */
.ryvian-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
  width: fit-content;
  transition: all 0.2s ease;
}

.ryvian-hero-pulse-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 0 !important;
  background: #000000 !important;
}

.ryvian-hero-pulse-dot::after {
  display: none !important;
}

.ryvian-hero-badge-text {
  color: #000000 !important;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Main Hero Heading */
.ryvian-hero-title {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(34px, 4.2vw, 56px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
}

.ryvian-hero-title-gradient {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 25%, #d4d4d8 65%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px rgba(255, 255, 255, 0.2));
}

/* Lead Copy */
.ryvian-hero-lead {
  max-width: 540px;
  margin: 0 !important;
  color: rgba(245, 245, 245, 0.76) !important;
  font-size: clamp(15.5px, 1.3vw, 18px) !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

/* Action Buttons: SQUARE, White with Black Text */
.ryvian-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ryvian-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 0 !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

/* Primary Button: Square, White with Black Text */
.ryvian-hero-btn--primary {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.ryvian-hero-btn--primary * {
  color: #000000 !important;
}

.ryvian-hero-btn--primary:hover {
  transform: translateY(-2px);
  background: #e4e4e7 !important;
  border-color: #e4e4e7 !important;
  color: #000000 !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.ryvian-hero-btn--primary svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.ryvian-hero-btn--primary:hover svg {
  transform: translateX(4px);
}

/* Secondary Button: Square Outline */
.ryvian-hero-btn--glass {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
}

.ryvian-hero-btn--glass * {
  color: #ffffff !important;
}

.ryvian-hero-btn--glass:hover {
  background: #ffffff !important;
  color: #000000 !important;
  transform: translateY(-2px);
}

.ryvian-hero-btn--glass:hover * {
  color: #000000 !important;
}

/* VIP Text Link */
.ryvian-hero-vip-link {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0 !important;
}

.ryvian-hero-vip-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  background: transparent !important;
}

/* ==========================================================================
   Monochrome Square Stats Section
   ========================================================================== */
.ryvian-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.ryvian-hero-stats,
.ryvian-hero-stats *,
.ryvian-stat-card,
.ryvian-stat-value,
.ryvian-counter,
.ryvian-stat-plus,
.ryvian-stat-label {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.ryvian-stat-card {
  position: relative;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ryvian-stat-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}

.ryvian-stat-value {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.ryvian-counter {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.ryvian-stat-plus {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9em;
}

.ryvian-stat-label {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  margin-top: 5px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================================================
   Right Column: Monochrome EV Showcase Stage with Square Controls
   ========================================================================== */
.ryvian-hero-visual {
  position: relative;
  z-index: 2;
}

/* Model Switcher Segmented Control: Square */
.ryvian-showcase-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 !important;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ryvian-showcase-tabs::-webkit-scrollbar { display: none; }

.ryvian-showcase-tab {
  flex: 1 1 auto;
  padding: 10px 14px;
  border-radius: 0 !important;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ryvian-showcase-tab:last-child {
  border-right: none;
}

.ryvian-showcase-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Active tab: White with Black Text */
.ryvian-showcase-tab.is-active {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 800;
}

/* Showcase Frame: Square */
.ryvian-showcase-frame {
  position: relative;
  border-radius: 0 !important;
  padding: 1px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.9);
}

.ryvian-showcase-inner {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  background: #000000;
  aspect-ratio: 16 / 10.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient Backlight Glow */
.ryvian-showcase-ambient-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Slides Container */
.ryvian-showcase-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.ryvian-showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.03);
  z-index: 2;
}

.ryvian-showcase-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.ryvian-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Single Refined Floating Ticker Badge: Square, White with Black Text */
.ryvian-hud-card--ticker {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff;
  border-radius: 0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.ryvian-ticker-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 0 !important;
  background: #000000 !important;
}

.ryvian-ticker-code {
  font-size: 11.5px;
  font-weight: 800;
  color: #000000 !important;
  letter-spacing: 0.04em;
}

.ryvian-ticker-sep {
  color: rgba(0, 0, 0, 0.4);
  font-size: 10px;
}

.ryvian-ticker-price-val {
  font-size: 13px;
  font-weight: 800;
  color: #000000 !important;
}

.ryvian-ticker-up-badge {
  font-size: 11px;
  font-weight: 800;
  color: #000000 !important;
}

/* Sleek Integrated Bottom Telemetry & Model Bar: Square */
.ryvian-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}

.ryvian-slide-meta-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Tag: White with Black Text, Square */
.ryvian-slide-tag {
  background: #ffffff !important;
  color: #000000 !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 0 !important;
  width: fit-content;
  display: inline-block;
}

.ryvian-slide-title {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

.ryvian-slide-meta-right {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #e4e4e7;
  white-space: nowrap;
}

.ryvian-slide-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
}

/* Square Slide Indicators */
.ryvian-showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.ryvian-showcase-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ryvian-showcase-dot-btn {
  width: 22px;
  height: 4px;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.ryvian-showcase-dot-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

.ryvian-showcase-dot-btn.is-active {
  width: 36px;
  background: #ffffff !important;
}

/* ==========================================================================
   Right Column: Verified Testimonial Spotlight (Black & White, Square, Compact)
   ========================================================================== */
.ryvian-hero-visual--testimonial {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.ryvian-testimonial-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #000000 !important;
  background-color: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0 !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ryvian-testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.98), 0 0 24px rgba(255, 255, 255, 0.08);
}

/* Card Header: Compact */
.ryvian-testimonial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ryvian-testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: #ffffff !important;
  color: #000000 !important;
  border-radius: 0 !important;
}

.ryvian-testimonial-badge-pulse {
  width: 5px;
  height: 5px;
  background: #000000 !important;
  border-radius: 0 !important;
  animation: ryvianPulseDot 1.8s ease-in-out infinite;
}

.ryvian-testimonial-badge-text {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000000 !important;
}

.ryvian-testimonial-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ryvian-testimonial-stars {
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.ryvian-testimonial-rating-score {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 1px 5px;
  border-radius: 0 !important;
}

/* Slider Header Controls: Square & Monochrome */
.ryvian-testimonial-nav-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ryvian-test-nav-btn {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ryvian-test-nav-btn svg {
  width: 12px;
  height: 12px;
  stroke: #000000 !important;
  display: block;
}

.ryvian-test-nav-btn:hover {
  background: #e4e4e7 !important;
  border-color: #e4e4e7 !important;
  transform: scale(1.06);
}

.ryvian-test-nav-btn:active {
  transform: scale(0.95);
}

.ryvian-test-counter {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  padding: 0 4px;
  user-select: none;
}

/* Image Stage: Controlled Height */
.ryvian-testimonial-stage {
  position: relative;
  width: 100%;
  background: #000000 !important;
  background-color: #000000 !important;
}

.ryvian-testimonial-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  max-height: 220px;
  overflow: hidden;
  background: #000000 !important;
  background-color: #000000 !important;
}

.ryvian-testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ryvian-testimonial-card:hover .ryvian-testimonial-img {
  transform: scale(1.03);
}

.ryvian-testimonial-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 35%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

/* Floating Ticker over Image */
.ryvian-testimonial-ticker {
  top: 10px;
  right: 10px;
  padding: 4px 10px !important;
  font-size: 11px !important;
}

/* Floating Milestone Chip */
.ryvian-testimonial-hud-chip--bottom {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff;
  border-radius: 0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ryvian-testimonial-hud-chip--bottom svg {
  color: #000000 !important;
  fill: #000000 !important;
}

.ryvian-testimonial-hud-chip--bottom span {
  color: #000000 !important;
}

/* Testimonial Content & Quote: Strictly Deep Black Background, Clear White Text */
.ryvian-testimonial-content {
  position: relative;
  padding: 14px 18px 12px !important;
  background: #000000 !important;
  background-color: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.ryvian-testimonial-quote-mark {
  position: absolute;
  top: 4px;
  right: 14px;
  font-size: 40px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.08);
  user-select: none;
  pointer-events: none;
}

.ryvian-testimonial-content p,
.ryvian-testimonial-content blockquote,
.ryvian-testimonial-quote-text {
  margin: 0 0 10px !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.ryvian-testimonial-content blockquote::before,
.ryvian-testimonial-content blockquote::after,
.ryvian-testimonial-quote-text::before,
.ryvian-testimonial-quote-text::after {
  display: none !important;
  content: none !important;
}

/* Author Attribution Bar: Compact */
.ryvian-testimonial-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ryvian-testimonial-author-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ryvian-testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  flex-shrink: 0;
  background: #000000 !important;
}

.ryvian-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.ryvian-testimonial-author-name {
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.01em;
}

.ryvian-author-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  background: #ffffff !important;
  color: #000000 !important;
  font-size: 9px;
  font-weight: 900;
  border-radius: 0 !important;
}

.ryvian-testimonial-author-sub {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 10.5px;
  font-weight: 500;
  margin-top: 1px;
}

.ryvian-testimonial-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff;
  border-radius: 0 !important;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ryvian-testimonial-tag span {
  color: #000000 !important;
}

/* Linked Testimonial Stage & Elements */
.ryvian-testimonial-frame--linked {
  cursor: pointer;
  text-decoration: none !important;
}

.ryvian-testimonial-frame--linked:hover .ryvian-testimonial-img {
  transform: scale(1.04);
}

.ryvian-testimonial-author-name a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.ryvian-testimonial-author-name a:hover {
  text-decoration: underline !important;
  opacity: 0.85;
}

.ryvian-testimonial-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ryvian-testimonial-cta-link:hover {
  background: #e4e4e7 !important;
  border-color: #e4e4e7 !important;
  color: #000000 !important;
  transform: translateY(-1px);
}

.ryvian-testimonial-cta-link svg {
  stroke: #000000 !important;
}

/* ==========================================================================
   Testimonial Slider Structure & Transitions
   ========================================================================== */
.ryvian-testimonial-slides-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000000 !important;
  background-color: #000000 !important;
}

.ryvian-testimonial-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: #000000 !important;
  background-color: #000000 !important;
}

.ryvian-testimonial-slide.is-active {
  display: block;
  opacity: 1;
  animation: ryvianFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ryvianFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Precise image framing for each testimonial slide */
.ryvian-testimonial-slide[data-slide-index="0"] .ryvian-testimonial-img {
  object-position: center 22%;
}

.ryvian-testimonial-slide[data-slide-index="1"] .ryvian-testimonial-img {
  object-position: center 30%;
}

/* Testimonial Indicator Progress Dots Bar (Below Card) */
.ryvian-testimonial-dots-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.ryvian-test-dot {
  position: relative;
  width: 24px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  outline: none;
}

.ryvian-test-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.ryvian-test-dot.is-active {
  width: 38px;
  background: #ffffff !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1080px) {
  .elementor-element.elementor-element-a05b142 .e-con-inner,
  .ryvian-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 40px !important;
  }

  .ryvian-hero-content {
    text-align: center;
    align-items: center;
  }

  .ryvian-hero-actions {
    justify-content: center;
  }

  .ryvian-hero-stats {
    max-width: 640px;
    margin: 10px auto 0;
    width: 100%;
  }

  .ryvian-hero-visual {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .elementor-element.elementor-element-a05b142,
  .ryvian-revamped-hero {
    padding: 38px 16px 44px !important;
  }

  .ryvian-hero-title {
    font-size: 30px !important;
  }

  .ryvian-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .ryvian-hero-btn {
    width: 100%;
  }

  .ryvian-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ryvian-stat-card {
    padding: 10px 12px;
  }

  .ryvian-stat-value {
    font-size: 20px;
  }

  .ryvian-slide-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 14px 10px;
  }

  .ryvian-slide-meta-right {
    font-size: 11px;
  }

  .ryvian-testimonial-card {
    max-width: 100% !important;
  }

  .ryvian-testimonial-card-header {
    padding: 8px 12px !important;
  }

  .ryvian-testimonial-content {
    padding: 12px 14px 10px !important;
  }

  .ryvian-testimonial-quote-text {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
  }

  .ryvian-testimonial-author-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
  }
}

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

/* Keep intrinsic text/tab widths from expanding the banner beyond its container. */
.ryvian-revamped-hero,
.ryvian-revamped-hero .ryvian-hero-container,
.ryvian-revamped-hero .ryvian-hero-grid,
.ryvian-hero-grid > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.ryvian-hero-badge { max-width: 100%; }
.ryvian-hero-badge-text,
.ryvian-hero-title,
.ryvian-hero-lead { overflow-wrap: anywhere; }
.ryvian-hero-pulse-dot { flex-shrink: 0; }
.ryvian-stat-card { min-width: 0; overflow-wrap: anywhere; }
.ryvian-hero-btn { max-width: 100%; white-space: normal; }
.ryvian-hero-btn svg { flex-shrink: 0; }

@media (max-width: 767px) {
  .ryvian-revamped-hero .ryvian-hero-container {
    padding-inline: 0 !important;
    min-width: 0 !important;
  }
  .ryvian-showcase-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  .ryvian-showcase-tab {
    min-width: 0;
    padding: 12px 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .ryvian-slide-meta-right { flex-wrap: wrap; white-space: normal; }
  .ryvian-hero-vip-link { margin-left: 0; }
}
