/**
 * RICL - Corporate Real Estate Website Premium Animation Engine
 * Luxury Real Estate Transitions, Cinematic Scroll Reveals & Micro-Interactions
 * Easing: cubic-bezier(0.22, 1, 0.36, 1) [Natural Organic Deceleration]
 */

:root {
  --ricl-ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --ricl-ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ricl-ease-bounce-subtle: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ricl-duration-fast: 0.25s;
  --ricl-duration-normal: 0.45s;
  --ricl-duration-slow: 0.85s;
  --ricl-duration-cinematic: 1.2s;
}

/* ========================================================================= */
/* 1. HERO SECTION CINEMATIC ANIMATIONS                                      */
/* ========================================================================= */

/* Architectural Background Slow Ken Burns Zoom */
.ricl-hero-bg img {
  transform: scale(1.08);
  animation: riclKenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes riclKenBurns {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.14) translate3d(-1%, -1%, 0);
  }
  100% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
}

/* Hero Gold Tag Line Expansion */
.ricl-hero-tag {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: riclFadeSlideUp 0.8s var(--ricl-ease-luxury) 0.15s forwards;
}

.ricl-hero-tag i {
  display: inline-block;
  transition: transform 0.3s ease;
}

.ricl-hero-tag:hover i {
  transform: scaleX(1.3);
}

/* Staggered Hero Title Entrance */
.ricl-hero-title {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  animation: riclFadeSlideUp 0.9s var(--ricl-ease-luxury) 0.3s forwards;
  will-change: transform, opacity;
}

.ricl-hero-title .ricl-hero-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  animation: riclWordReveal 0.85s var(--ricl-ease-luxury) forwards;
}

.ricl-hero-title .ricl-hero-word:nth-child(1) { animation-delay: 0.3s; }
.ricl-hero-title .ricl-hero-word:nth-child(2) { animation-delay: 0.42s; }
.ricl-hero-title .ricl-hero-word:nth-child(3) { animation-delay: 0.54s; }
.ricl-hero-title .ricl-hero-word:nth-child(4) { animation-delay: 0.66s; }

@keyframes riclWordReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Hero Italic Gold Shimmer Text */
.ricl-gold-italic {
  background-size: 200% auto;
  animation: riclGoldShimmer 8s linear infinite;
}

@keyframes riclGoldShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Supporting Headline & Narrative */
.ricl-hero-subheadline {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  animation: riclFadeSlideUp 0.85s var(--ricl-ease-luxury) 0.5s forwards;
}

.ricl-hero-desc {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  animation: riclFadeSlideUp 0.85s var(--ricl-ease-luxury) 0.65s forwards;
}

/* Action Buttons Stagger */
.ricl-hero-actions {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.98);
  animation: riclButtonEntrance 0.85s var(--ricl-ease-luxury) 0.8s forwards;
}

@keyframes riclButtonEntrance {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Promoter Line */
.ricl-hero-promoters {
  opacity: 0;
  transform: translate3d(0, 15px, 0);
  animation: riclFadeSlideUp 0.85s var(--ricl-ease-luxury) 0.95s forwards;
}

/* 45+ Years Floating Experience Card Entrance */
.ricl-experience-card {
  opacity: 0;
  transform: translate3d(45px, 0, 0);
  animation: riclCardSlideIn 1s var(--ricl-ease-luxury) 0.6s forwards;
  transition: transform 0.4s var(--ricl-ease-luxury), box-shadow 0.4s var(--ricl-ease-luxury), border-color 0.4s ease;
}

@keyframes riclCardSlideIn {
  0% {
    opacity: 0;
    transform: translate3d(45px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.ricl-experience-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55), 0 0 25px rgba(201, 154, 53, 0.2);
  border-color: rgba(223, 189, 107, 0.6);
}

.ricl-experience-card:hover .ricl-exp-icon {
  transform: rotate(5deg) scale(1.08);
  background: rgba(201, 154, 53, 0.25);
  border-color: var(--ricl-gold);
}

.ricl-exp-icon {
  transition: transform 0.4s var(--ricl-ease-bounce-subtle), background-color 0.3s ease, border-color 0.3s ease;
}

/* ========================================================================= */
/* 2. HEADER & NAVIGATION ENHANCEMENTS                                       */
/* ========================================================================= */

/* Header Transition */
.ricl-navbar {
  transition: padding 0.35s var(--ricl-ease-luxury), 
              background-color 0.35s var(--ricl-ease-luxury), 
              box-shadow 0.35s var(--ricl-ease-luxury),
              backdrop-filter 0.35s ease;
}

.ricl-navbar.is-sticky {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ricl-brand-logo {
  transition: transform 0.35s var(--ricl-ease-luxury);
}

.ricl-brand:hover .ricl-brand-logo {
  transform: scale(1.04);
}

/* Nav Link Underline Expansion from Center */
.ricl-nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2.5px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(90deg, #DFBD6B, #C99A35);
  transform: translateX(-50%);
  transition: width 0.28s var(--ricl-ease-luxury);
  border-radius: 2px;
  pointer-events: none;
}

.ricl-nav-link:hover::after,
.ricl-nav-link.active::after {
  width: calc(100% - 20px);
}

.dropdown-toggle::after {
  display: none !important;
  content: none !important;
}

/* ========================================================================= */
/* Dropdown Smooth Transitions (Desktop & Mobile)                            */
/* ========================================================================= */
@media (min-width: 992px) {
  .ricl-dropdown-menu {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 8px !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.22s var(--ricl-ease-luxury),
                transform 0.22s var(--ricl-ease-luxury),
                visibility 0.22s;
  }

  .nav-item.dropdown:hover > .ricl-dropdown-menu,
  .nav-item.dropdown.show > .ricl-dropdown-menu,
  .ricl-dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }
}

/* Mobile Dropdown Accordion (< 992px) */
@media (max-width: 991.98px) {
  .ricl-dropdown-menu {
    position: static !important;
    float: none !important;
    margin: 4px 0 10px 12px !important;
    background-color: rgba(15, 23, 42, 0.04) !important;
    border: none !important;
    border-left: 2px solid var(--ricl-gold) !important;
    border-radius: 0 var(--ricl-radius-sm) var(--ricl-radius-sm) 0 !important;
    box-shadow: none !important;
    padding: 6px 0 !important;
    min-width: 0 !important;
    width: auto !important;
    transform: none !important;
    display: none !important;
  }

  .ricl-dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    animation: riclMobileSubmenuSlide 0.25s var(--ricl-ease-luxury) forwards;
  }

  @keyframes riclMobileSubmenuSlide {
    0% {
      opacity: 0;
      transform: translateY(-6px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .ricl-dropdown-item {
    padding: 8px 16px !important;
    font-size: 0.88rem !important;
    color: var(--ricl-forest) !important;
  }

  .ricl-dropdown-item:hover,
  .ricl-dropdown-item:active {
    background-color: rgba(201, 154, 53, 0.12) !important;
    color: var(--ricl-forest-deep) !important;
  }
}

/* Mobile Menu Slide Down */
@media (max-width: 991.98px) {
  .navbar-collapse {
    transition: height 0.35s var(--ricl-ease-luxury), opacity 0.3s ease;
  }
}

/* CTA Button Hover Glow & Subtle Lift */
.ricl-btn {
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.ricl-btn-gold {
  transition: transform 0.25s var(--ricl-ease-luxury),
              box-shadow 0.25s var(--ricl-ease-luxury),
              background 0.3s ease,
              color 0.2s ease !important;
}

.ricl-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 154, 53, 0.45), 0 0 12px rgba(223, 189, 107, 0.35);
}

.ricl-btn-gold:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(201, 154, 53, 0.3);
}

.ricl-btn i {
  transition: transform 0.25s var(--ricl-ease-luxury);
}

.ricl-btn:hover i {
  transform: translateX(4px);
}

.ricl-btn-gold-arrow {
  transition: transform 0.3s var(--ricl-ease-bounce-subtle),
              background-color 0.25s ease,
              box-shadow 0.25s ease;
}

.ricl-btn-gold-arrow:hover {
  transform: translateX(4px) scale(1.08);
  box-shadow: 0 4px 14px rgba(201, 154, 53, 0.4);
}

.ricl-btn-outline-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* ========================================================================= */
/* 3. SCROLL REVEAL UTILITIES (Intersection Observer Engine)                  */
/* ========================================================================= */

/* Safety Auto-Reveal Fallback Keyframe: guarantees zero permanent blank areas */
@keyframes riclAutoRevealSafetyFallback {
  0% {
    opacity: 0.85;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

/* Base state: elements are 100% visible by default for bulletproof progressive enhancement */
.ricl-reveal,
.ricl-reveal-up,
.ricl-reveal-down,
.ricl-reveal-left,
.ricl-reveal-right,
.ricl-reveal-scale {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-property: opacity, transform;
  transition-duration: var(--ricl-duration-slow);
  transition-timing-function: var(--ricl-ease-luxury);
  will-change: transform, opacity;
}

/* Only when JavaScript has initialized (js-ready) do we enable subtle entrance transforms */
html.js-ready .ricl-reveal:not(.is-revealed),
html.js-ready .ricl-reveal-up:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  animation: riclAutoRevealSafetyFallback 0.01s forwards;
  animation-delay: 0.4s;
}

html.js-ready .ricl-reveal-down:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, -30px, 0);
  animation: riclAutoRevealSafetyFallback 0.01s forwards;
  animation-delay: 0.4s;
}

html.js-ready .ricl-reveal-left:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(-35px, 0, 0);
  animation: riclAutoRevealSafetyFallback 0.01s forwards;
  animation-delay: 0.4s;
}

html.js-ready .ricl-reveal-right:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(35px, 0, 0);
  animation: riclAutoRevealSafetyFallback 0.01s forwards;
  animation-delay: 0.4s;
}

html.js-ready .ricl-reveal-scale:not(.is-revealed) {
  opacity: 0;
  transform: scale3d(0.94, 0.94, 1);
  animation: riclAutoRevealSafetyFallback 0.01s forwards;
  animation-delay: 0.4s;
}

/* Active State Triggered by IntersectionObserver or Immediate JS Viewport Check */
.ricl-reveal.is-revealed,
.ricl-reveal-up.is-revealed,
.ricl-reveal-down.is-revealed,
.ricl-reveal-left.is-revealed,
.ricl-reveal-right.is-revealed,
.ricl-reveal-scale.is-revealed,
html.js-ready .ricl-reveal.is-revealed,
html.js-ready .ricl-reveal-up.is-revealed,
html.js-ready .ricl-reveal-down.is-revealed,
html.js-ready .ricl-reveal-left.is-revealed,
html.js-ready .ricl-reveal-right.is-revealed,
html.js-ready .ricl-reveal-scale.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1) !important;
  animation: none !important;
}

/* Stagger Item Delays for Grids */
.ricl-stagger-parent .ricl-stagger-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.75s var(--ricl-ease-luxury), transform 0.75s var(--ricl-ease-luxury);
  transition-delay: calc(var(--stagger-index, 0) * 85ms);
}

html.js-ready .ricl-stagger-parent:not(.is-revealed) .ricl-stagger-item:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  animation: riclAutoRevealSafetyFallback 0.01s forwards;
  animation-delay: 0.5s;
}

.ricl-stagger-parent.is-revealed .ricl-stagger-item,
.ricl-stagger-item.is-revealed,
html.js-ready .ricl-stagger-parent.is-revealed .ricl-stagger-item,
html.js-ready .ricl-stagger-item.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  animation: none !important;
}

/* Section Tag Line Animation */
.ricl-section-tag::before {
  transition: width 0.6s var(--ricl-ease-luxury);
}

.is-revealed .ricl-section-tag::before {
  width: 32px;
}

/* ========================================================================= */
/* 4. SERVICE CARDS MICRO-INTERACTIONS                                       */
/* ========================================================================= */

.ricl-service-card {
  transition: transform 0.4s var(--ricl-ease-luxury),
              box-shadow 0.4s var(--ricl-ease-luxury),
              border-color 0.3s ease;
  will-change: transform, box-shadow;
}

.ricl-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px -8px rgba(15, 23, 42, 0.16);
  border-color: rgba(201, 154, 53, 0.55);
}

.ricl-service-thumb {
  overflow: hidden;
}

.ricl-service-thumb img {
  transition: transform 0.75s var(--ricl-ease-luxury);
  will-change: transform;
}

.ricl-service-card:hover .ricl-service-thumb img {
  transform: scale(1.08);
}

.ricl-service-badge {
  transition: transform 0.35s var(--ricl-ease-bounce-subtle), box-shadow 0.35s ease;
}

.ricl-service-card:hover .ricl-service-badge {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 154, 53, 0.55);
}

.ricl-service-icon {
  transition: transform 0.35s var(--ricl-ease-bounce-subtle), 
              background-color 0.3s ease, 
              color 0.3s ease,
              box-shadow 0.35s ease;
}

.ricl-service-card:hover .ricl-service-icon {
  transform: scale(1.1) translateY(-2px);
  background-color: var(--ricl-gold);
  color: var(--ricl-forest-dark);
  box-shadow: 0 4px 14px rgba(201, 154, 53, 0.35);
}

.ricl-service-link i {
  transition: transform 0.3s var(--ricl-ease-luxury);
}

.ricl-service-card:hover .ricl-service-link i {
  transform: translateX(5px);
}

/* Service Banner Card */
.ricl-service-banner-card img {
  transition: transform 0.9s var(--ricl-ease-luxury);
}

.ricl-service-banner-card:hover img {
  transform: scale(1.06);
}

/* ========================================================================= */
/* 5. PROMOTER & LEADERSHIP SECTION                                          */
/* ========================================================================= */

.ricl-team-card {
  transition: transform 0.4s var(--ricl-ease-luxury),
              box-shadow 0.4s var(--ricl-ease-luxury),
              border-color 0.3s ease;
  will-change: transform, box-shadow;
}

.ricl-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  border-color: rgba(201, 154, 53, 0.45);
}

.ricl-team-avatar {
  transition: transform 0.65s var(--ricl-ease-luxury);
}

.ricl-team-card:hover .ricl-team-avatar {
  transform: scale(1.06);
}

.ricl-team-qualification {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ricl-ease-bounce-subtle);
}

.ricl-team-card:hover .ricl-team-qualification {
  background-color: var(--ricl-gold);
  color: var(--ricl-forest-dark);
  transform: scale(1.05);
}

.ricl-quote-callout {
  transition: transform 0.35s var(--ricl-ease-luxury), box-shadow 0.35s ease;
}

.ricl-quote-callout:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* ========================================================================= */
/* 6. WHY RICL SECTION (Split Layout)                                       */
/* ========================================================================= */

.ricl-why-visual {
  overflow: hidden;
}

.ricl-why-visual img {
  transition: transform 0.9s var(--ricl-ease-luxury);
}

.ricl-why-visual:hover img {
  transform: scale(1.05);
}

.ricl-why-quote-card {
  transition: transform 0.35s var(--ricl-ease-luxury), box-shadow 0.35s ease;
}

.ricl-why-visual:hover .ricl-why-quote-card {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.ricl-differentiator-item {
  transition: transform 0.3s var(--ricl-ease-luxury);
}

.ricl-differentiator-item:hover {
  transform: translateX(6px);
}

.ricl-diff-icon {
  transition: transform 0.35s var(--ricl-ease-bounce-subtle),
              background-color 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease;
}

.ricl-differentiator-item:hover .ricl-diff-icon {
  transform: scale(1.15) rotate(4deg);
  background-color: var(--ricl-gold);
  color: var(--ricl-forest-dark);
  border-color: var(--ricl-gold);
}

/* ========================================================================= */
/* 7. WHO WE SERVE & OUR APPROACH                                            */
/* ========================================================================= */

.ricl-serve-card {
  transition: transform 0.4s var(--ricl-ease-luxury),
              box-shadow 0.4s var(--ricl-ease-luxury),
              border-color 0.3s ease;
}

.ricl-serve-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 42px -6px rgba(15, 23, 42, 0.15);
  border-color: rgba(201, 154, 53, 0.5);
}

.ricl-serve-thumb img {
  transition: transform 0.75s var(--ricl-ease-luxury);
}

.ricl-serve-card:hover .ricl-serve-thumb img {
  transform: scale(1.08);
}

.ricl-serve-card:hover .ricl-btn-gold-arrow {
  transform: translateX(4px) scale(1.08);
}

/* Our Approach Process Steps */
.ricl-step-card {
  transition: transform 0.4s var(--ricl-ease-luxury),
              box-shadow 0.4s var(--ricl-ease-luxury),
              border-color 0.3s ease;
}

.ricl-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border-color: rgba(201, 154, 53, 0.5);
}

.ricl-step-icon {
  transition: transform 0.35s var(--ricl-ease-bounce-subtle),
              background-color 0.3s ease,
              color 0.3s ease;
}

.ricl-step-card:hover .ricl-step-icon {
  transform: scale(1.15) rotate(6deg);
  background-color: var(--ricl-gold);
  color: var(--ricl-forest-dark);
}

/* Progressive Animated Connecting Arrow */
.ricl-step-card:not(:last-child)::after {
  transition: transform 0.3s var(--ricl-ease-bounce-subtle), background-color 0.3s ease, color 0.3s ease;
}

.ricl-step-card:hover::after {
  transform: translateY(-50%) scale(1.2);
  background-color: var(--ricl-gold);
  color: var(--ricl-forest-dark);
}

/* Highlights Strip Items */
.ricl-highlight-item {
  transition: transform 0.3s var(--ricl-ease-luxury);
}

.ricl-highlight-item:hover {
  transform: translateY(-2px);
}

.ricl-highlight-icon {
  transition: transform 0.35s var(--ricl-ease-bounce-subtle), 
              background-color 0.3s ease, 
              color 0.3s ease, 
              border-color 0.3s ease;
}

.ricl-highlight-item:hover .ricl-highlight-icon {
  transform: scale(1.1) rotate(-3deg);
}

/* ========================================================================= */
/* 8. CONTACT FORM MICRO-INTERACTIONS                                        */
/* ========================================================================= */

.ricl-form-control {
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease,
              background-color 0.25s ease,
              transform 0.2s ease !important;
}

.ricl-form-control:focus {
  background-color: #FFFFFF !important;
  border-color: var(--ricl-gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 154, 53, 0.2), 0 4px 12px rgba(15, 23, 42, 0.05) !important;
  transform: translateY(-1px);
}

.ricl-contact-info-card {
  transition: transform 0.3s var(--ricl-ease-luxury);
}

.ricl-contact-info-card:hover {
  transform: translateX(4px);
}

.ricl-contact-info-icon {
  transition: transform 0.35s var(--ricl-ease-bounce-subtle), 
              background-color 0.25s ease, 
              color 0.25s ease;
}

.ricl-contact-info-card:hover .ricl-contact-info-icon {
  transform: scale(1.1);
  background-color: var(--ricl-forest);
  color: var(--ricl-gold);
}

#formSuccessAlert {
  animation: riclAlertSlideDown 0.45s var(--ricl-ease-luxury) forwards;
}

@keyframes riclAlertSlideDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ========================================================================= */
/* 9. FOOTER & FLOATING WHATSAPP                                             */
/* ========================================================================= */

.ricl-footer-links a {
  transition: color 0.2s ease, transform 0.25s var(--ricl-ease-luxury), padding-left 0.25s var(--ricl-ease-luxury);
}

.ricl-footer-links a:hover {
  transform: translateX(3px);
  padding-left: 4px;
}

.ricl-footer-socials a {
  transition: transform 0.3s var(--ricl-ease-bounce-subtle),
              background-color 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.ricl-footer-socials a:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 16px rgba(201, 154, 53, 0.35);
}

/* Floating WhatsApp Button */
.ricl-whatsapp-float {
  transition: transform 0.35s var(--ricl-ease-bounce-subtle),
              box-shadow 0.35s ease,
              background-color 0.3s ease;
  animation: riclFloatEntrance 0.8s var(--ricl-ease-luxury) 1s both;
}

@keyframes riclFloatEntrance {
  0% {
    opacity: 0;
    transform: scale(0.6) translate3d(0, 20px, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

.ricl-whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

/* Back to Top Smooth Transition */
.ricl-back-to-top {
  transition: opacity 0.35s var(--ricl-ease-luxury),
              visibility 0.35s,
              transform 0.35s var(--ricl-ease-luxury),
              background-color 0.25s ease,
              color 0.25s ease;
  transform: translateY(12px);
}

.ricl-back-to-top.is-visible {
  transform: translateY(0);
}

.ricl-back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 22px rgba(201, 154, 53, 0.4);
}

/* Keyframe Base Helper */
@keyframes riclFadeSlideUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ========================================================================= */
/* 9B. INNER PAGE HERO & FEATURE CARDS                                       */
/* ========================================================================= */

.ricl-page-header-content .ricl-breadcrumb {
  opacity: 0;
  animation: riclFadeSlideUp 0.75s var(--ricl-ease-luxury) 0.1s forwards;
}

.ricl-page-header-content .ricl-page-title {
  opacity: 0;
  animation: riclFadeSlideUp 0.85s var(--ricl-ease-luxury) 0.22s forwards;
}

.ricl-page-header-content .ricl-page-subtitle {
  opacity: 0;
  animation: riclFadeSlideUp 0.85s var(--ricl-ease-luxury) 0.38s forwards;
}

.ricl-feature-card {
  transition: transform 0.4s var(--ricl-ease-luxury),
              box-shadow 0.4s var(--ricl-ease-luxury),
              border-color 0.3s ease;
}

.ricl-feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(201, 154, 53, 0.5);
}

.ricl-card-icon {
  transition: transform 0.35s var(--ricl-ease-bounce-subtle), 
              background-color 0.3s ease, 
              color 0.3s ease;
}

.ricl-feature-card:hover .ricl-card-icon {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--ricl-gold);
  color: var(--ricl-forest-dark);
}

/* ========================================================================= */
/* 10. ACCESSIBILITY: PREFERS REDUCED MOTION                                 */
/* ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ricl-hero-bg img {
    animation: none !important;
    transform: none !important;
  }

  .ricl-reveal-up,
  .ricl-reveal-down,
  .ricl-reveal-left,
  .ricl-reveal-right,
  .ricl-reveal-scale,
  .ricl-stagger-item,
  .ricl-hero-tag,
  .ricl-hero-title,
  .ricl-hero-subheadline,
  .ricl-hero-desc,
  .ricl-hero-actions,
  .ricl-hero-promoters,
  .ricl-experience-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
