/* =========================================================
   iCAUR Saudi Arabia — Animations & Interactive Layer
   Drop-in enhancement: loading, reveal, counters, CTA shine,
   scroll progress, scroll-to-top, image fade-in.
   ========================================================= */

/* -----------------------------
   Reduced-motion fallback
----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate], [data-stagger] > *, .split-word > span {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* -----------------------------
   1) PRELOADER
----------------------------- */
.preloader {
  display: none !important;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-logo {
  position: relative;
  display: inline-block;
  padding-bottom: 22px;
  animation: preloader-pulse 1.6s ease-in-out infinite;
}
.preloader-logo-img {
  display: block;
  width: clamp(150px, 22vw, 260px);
  height: auto;
  filter: brightness(0) invert(1)
          drop-shadow(0 4px 24px rgba(255, 255, 255, 0.12));
}
.preloader-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: block;
}
.preloader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: preloader-scan 1.4s ease-in-out infinite;
}
@keyframes preloader-pulse {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1; }
}
@keyframes preloader-scan {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* -----------------------------
   2) SCROLL PROGRESS BAR
----------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #ff5722, #ffaa00);
  z-index: 9998;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* -----------------------------
   3) SCROLL REVEAL
----------------------------- */
[data-animate] {
  opacity: 0;
  will-change: opacity, transform, filter;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-down"]  { transform: translateY(-40px); }
[data-animate="fade-left"]  { transform: translateX(-40px); }
[data-animate="fade-right"] { transform: translateX(40px); }
[data-animate="zoom-in"]    { transform: scale(0.92); }
[data-animate="blur-in"]    { filter: blur(12px); transform: scale(1.02); }

[data-animate].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Staggered children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-stagger].is-visible > *              { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.15s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.25s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.35s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.45s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.55s; }

/* -----------------------------
   4) TITLE SPLIT-WORD REVEAL
----------------------------- */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.15;
}
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-split].is-visible .split-word > span,
.is-visible > .split-word > span,
.is-visible .split-word > span {
  transform: translateY(0);
}
[data-split].is-visible .split-word:nth-child(1) > span { transition-delay: 0.05s; }
[data-split].is-visible .split-word:nth-child(2) > span { transition-delay: 0.14s; }
[data-split].is-visible .split-word:nth-child(3) > span { transition-delay: 0.23s; }
[data-split].is-visible .split-word:nth-child(4) > span { transition-delay: 0.32s; }
[data-split].is-visible .split-word:nth-child(5) > span { transition-delay: 0.41s; }
[data-split].is-visible .split-word:nth-child(6) > span { transition-delay: 0.50s; }

/* -----------------------------
   5) IMAGE LOAD FADE-IN
----------------------------- */
img.img-fade {
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.03);
  transition: opacity 1s ease, filter 1s ease, transform 1.3s ease;
}
img.img-fade.is-loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* Skeleton shimmer on image wrapper */
.img-skeleton {
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
}
.img-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0)    0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0)    100%
  );
  animation: shimmer 1.8s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.img-skeleton.is-loaded::before {
  opacity: 0;
  animation: none;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* -----------------------------
   6) CTA BUTTON SHINE + HOVER
----------------------------- */
.cta-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              letter-spacing 0.35s ease;
}
.cta-shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 75%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 1;
}
.cta-shine:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 87, 34, 0.28);
  letter-spacing: 0.04em;
}
.cta-shine:hover::before { left: 150%; }
.cta-shine:active        { transform: translateY(0); }

.cta-shine .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-effect 0.7s ease-out;
  pointer-events: none;
  z-index: 1;
}
@keyframes ripple-effect {
  to { transform: scale(3); opacity: 0; }
}

/* -----------------------------
   7) NUMBER COUNTER BASELINE
----------------------------- */
[data-counter] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* -----------------------------
   8) SCROLL-TO-TOP BUTTON
----------------------------- */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease;
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: #ff5722; }

/* -----------------------------
   9) CARD HOVER LIFT
----------------------------- */
.news-card,
.inno-card,
.video-card {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.55s ease;
}
.news-card:hover {
  transform: translateY(-6px);
}
.inno-card {
  overflow: hidden;
}
.inno-card img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.inno-card:hover img { transform: scale(1.06); }

/* -----------------------------
   10) HERO SPEC ACCENT
----------------------------- */
.spec-col .spec-val {
  margin-bottom: 0.5rem;
}
.spec-val [data-counter] {
  position: relative;
  display: inline-block;
}
.spec-val [data-counter]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 1s ease 0.6s;
}

/* -----------------------------
   11) PARALLAX
----------------------------- */
[data-parallax] {
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0) var(--parallax-extra, scale(1));
  transition: none;
}
img[data-parallax],
picture[data-parallax] img,
[data-parallax-scale] {
  --parallax-extra: scale(1.18);
}
.parallax-wrap {
  position: relative;
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  [data-parallax] {
    transform: none !important;
    --parallax-y: 0px !important;
    --parallax-extra: scale(1) !important;
  }
}

/* -----------------------------
   12) MASK REVEAL (clip-path)
----------------------------- */
[data-animate="mask-reveal"] {
  opacity: 1;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  transform: none;
  transition: clip-path 1.3s cubic-bezier(0.22, 1, 0.36, 1),
              -webkit-clip-path 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-animate="mask-reveal"].is-visible {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}
[data-animate="mask-reveal-up"] {
  opacity: 1;
  clip-path: inset(100% 0 0 0);
  -webkit-clip-path: inset(100% 0 0 0);
  transform: none;
  transition: clip-path 1.3s cubic-bezier(0.22, 1, 0.36, 1),
              -webkit-clip-path 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-animate="mask-reveal-up"].is-visible {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}

/* -----------------------------
   13) KEN BURNS (slow zoom after reveal)
----------------------------- */
[data-animate="ken-burns"] {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease;
}
[data-animate="ken-burns"].is-visible {
  opacity: 1;
  animation: ken-burns 18s ease-out forwards;
}
@keyframes ken-burns {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.12); }
}

/* -----------------------------
   14) FLOAT (continuous subtle bob)
----------------------------- */
.float-slow {
  animation: float-slow 5s ease-in-out infinite;
}
.float-fast {
  animation: float-slow 3s ease-in-out infinite;
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* -----------------------------
   15) TEXT GRADIENT SHIMMER (for big hero titles)
----------------------------- */
.text-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.7) 0%,
    #ffffff                  45%,
    #ffffff                  55%,
    rgba(255, 255, 255, 0.7) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shimmer 6s linear infinite;
}
@keyframes text-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* -----------------------------
   16) SCROLL-LINKED ACCENT BAR
----------------------------- */
.accent-bar {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.accent-bar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff5722, #ffaa00);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.is-visible .accent-bar::after,
.accent-bar.is-visible::after {
  width: 64px;
}
.text-center > .accent-bar::after,
.text-center .accent-bar::after {
  left: 50%;
  transform: translateX(-50%);
}

/* -----------------------------
   17) TILT ON HOVER (explore cards)
----------------------------- */
.tilt-hover {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease;
}
.tilt-hover:hover {
  transform: perspective(900px) rotateX(3deg) rotateY(-3deg) translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* -----------------------------
   18) SPEC ACCORDION (JS-built)
----------------------------- */
.spec-accordion {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0;
}
.spec-category {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #1c1c1e 0%, #161618 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  transition: border-color 0.35s ease,
              background 0.35s ease,
              box-shadow 0.35s ease,
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.spec-category::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #ff5722, #ffaa00);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.spec-category:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, #212124 0%, #1a1a1d 100%);
}
.spec-category[open] {
  background: linear-gradient(180deg, #232327 0%, #1b1b1f 100%);
  border-color: rgba(255, 87, 34, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 87, 34, 0.15);
}
.spec-category[open]::before {
  transform: scaleY(1);
}
.spec-category-header {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: #fff;
  transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-user-select: none;
          user-select: none;
}
.spec-category-header::-webkit-details-marker { display: none; }
.spec-category-header::marker { content: ""; }
.spec-category-header:hover {
  padding-left: 32px;
}
.spec-category[open] > .spec-category-header {
  padding-left: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.spec-category-title {
  flex: 1;
  text-transform: uppercase;
  position: relative;
}
.spec-category-title::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5722;
  transform: translateY(-50%) scale(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.spec-category[open] > .spec-category-header .spec-category-title::before {
  transform: translateY(-50%) scale(1);
}
.spec-category-count {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.spec-category-icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.spec-category-icon::before,
.spec-category-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 2px;
  background: #fff;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.spec-category-icon::after { transform: rotate(90deg); }
.spec-category[open] > .spec-category-header .spec-category-icon::after {
  transform: rotate(0deg);
}
.spec-category-body {
  padding: 18px 24px 24px;
  background: rgba(0, 0, 0, 0.25);
  animation: spec-slide-down 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes spec-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.spec-mini-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.spec-mini-table thead th {
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.spec-mini-table tbody td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  word-break: break-word;
}
.spec-mini-table tbody tr:last-child td {
  border-bottom: none;
}
.spec-mini-table tbody tr {
  transition: background 0.25s ease;
}
.spec-mini-table tbody tr:hover {
  background: rgba(255, 87, 34, 0.05);
}
.spec-mini-table .feat-label {
  color: #fff;
  font-weight: 500;
  width: 38%;
}
.spec-mini-table .dot-yes { color: #4ade80; font-size: 1.1rem; }
.spec-mini-table .dot-no  { color: rgba(255, 255, 255, 0.35); }

@media (max-width: 720px) {
  .spec-category-header {
    padding: 18px 14px;
    font-size: 0.95rem;
    gap: 10px;
  }
  .spec-category[open] > .spec-category-header,
  .spec-category-header:hover {
    padding-left: 20px;
  }
  .spec-category-title::before { left: -12px; }
  .spec-category-count { display: none; }
  .spec-category-body { padding: 4px 10px 18px; }
  .spec-mini-table thead th,
  .spec-mini-table tbody td {
    padding: 10px 8px;
    font-size: 0.85rem;
  }
  .spec-mini-table .feat-label { width: 45%; }
}

/* -----------------------------
   19) EXPLORE TRACK — smooth scroll
----------------------------- */
.explore-track.smooth-scroll {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  overscroll-behavior-x: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.explore-track.smooth-scroll::-webkit-scrollbar { display: none; }
.explore-track.smooth-scroll .explore-block {
  scroll-snap-align: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease;
}
.explore-track.smooth-scroll .explore-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  z-index: 2;
}
.explore-track.is-dragging {
  cursor: grabbing;
}
.explore-track.is-dragging .explore-block {
  transition: none;
  pointer-events: none;
}

.explore-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 0 10%;
}
.explore-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgb(0, 0, 0);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: 0 0 auto;
  transition: background 0.35s ease,
              border-color 0.35s ease,
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
}
.explore-nav-btn:hover {
  background: #ff5722;
  border-color: #ff5722;
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(255, 87, 34, 0.35);
}
.explore-nav-btn:active { transform: scale(0.96); }
.explore-nav-btn i { pointer-events: none; }

.explore-progress {
  flex: 1;
  height: 2px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.explore-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff5722, #ffaa00);
  transition: width 0.18s ease;
}

@media (max-width: 640px) {
  .explore-nav { gap: 12px; padding: 0 16px; margin-top: 24px; }
  .explore-nav-btn { width: 42px; height: 42px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .explore-track.smooth-scroll .explore-block {
    transition: none;
  }
}

/* -----------------------------
   20) IMAGE HOVER ZOOM + LIFT
----------------------------- */
.img-skeleton {
  transition: box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.img-skeleton img {
  transform-origin: center center;
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.6s ease,
              opacity 1s ease;
  will-change: transform;
}
.img-skeleton:hover img.img-fade,
.img-skeleton:hover > img {
  transform: scale(1.08);
  filter: brightness(1.08) saturate(1.08);
}
.img-skeleton:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

/* Accessories grid — wrapper lift */
.acces-img-block {
  position: relative;
  overflow: hidden;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.65s ease;
}
.acces-img-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.55) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.acces-img-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.55);
}
.acces-img-block:hover::after { opacity: 1; }

/* Full-width feature banners — slow cinematic zoom on hover */
.fw-title-section {
  overflow: hidden;
}
.fw-title-img {
  transform-origin: center center;
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.9s ease;
  will-change: transform;
}
.fw-title-section:hover .fw-title-img {
  transform: scale(1.06);
  filter: brightness(1.1) saturate(1.05);
}

/* News cards on index — subtle lift already exists, add image zoom */
.news-img-wrap {
  position: relative;
  overflow: hidden;
  display: block;
}
.news-img-wrap img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 1;
    filter: unset;
}
.news-card:hover .news-img-wrap img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .img-skeleton:hover img,
  .img-skeleton:hover > img,
  .acces-img-block:hover,
  .fw-title-section:hover .fw-title-img,
  .news-card:hover .news-img-wrap img {
    transform: none !important;
    filter: none !important;
  }
}

/* -----------------------------
   21) MODELS MEGA MENU (light, full-width)
----------------------------- */
@media (min-width: 992px) {
  .nav-item.dropdown.position-static { position: static !important; }

  .dropdown-menu-mega.models-mega {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    inset: 100% 0 auto 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 0 !important;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.12) !important;

    /* Closed state */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-32px) !important;
    transform-origin: top center;
    transition:
      opacity    0.28s ease,
      transform  0.32s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.32s;
  }
  .dropdown-menu-mega.models-mega.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) !important;
    transition:
      opacity    0.45s cubic-bezier(0.22, 1, 0.36, 1),
      transform  0.55s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s;
  }

  /* Staggered content reveal — intro, V27 card, 03T card */
  .dropdown-menu-mega.models-mega .mega-intro,
  .dropdown-menu-mega.models-mega .mega-top > .model-card {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity   0.25s ease,
      transform 0.25s ease;
  }
  .dropdown-menu-mega.models-mega.show .mega-intro {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity   0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.10s,
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.10s;
  }
  .dropdown-menu-mega.models-mega.show .mega-top > .model-card:nth-of-type(1) {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity   0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.18s,
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
  }
  .dropdown-menu-mega.models-mega.show .mega-top > .model-card:nth-of-type(2) {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity   0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.26s,
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.26s;
  }

  /* Mega footer buttons fade in slightly after intro */
  .dropdown-menu-mega.models-mega .mega-footer-link {
    opacity: 0;
    transform: translateX(-12px);
    transition:
      opacity   0.2s ease,
      transform 0.2s ease;
  }
  .dropdown-menu-mega.models-mega.show .mega-footer-link:nth-of-type(1) {
    opacity: 1;
    transform: translateX(0);
    transition:
      opacity   0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.30s,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.30s,
      background 0.35s ease,
      border-color 0.35s ease,
      color 0.35s ease;
  }
  .dropdown-menu-mega.models-mega.show .mega-footer-link:nth-of-type(2) {
    opacity: 1;
    transform: translateX(0);
    transition:
      opacity   0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.36s,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.36s,
      background 0.35s ease,
      border-color 0.35s ease,
      color 0.35s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dropdown-menu-mega.models-mega,
  .dropdown-menu-mega.models-mega.show,
  .dropdown-menu-mega.models-mega .mega-intro,
  .dropdown-menu-mega.models-mega .mega-top > .model-card,
  .dropdown-menu-mega.models-mega .mega-footer-link {
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }
}

.mega-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 32px 44px;
}

.mega-top {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.mega-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 12px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.mega-eyebrow {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff5722;
  margin-bottom: 10px;
}
.mega-title {
  color: #111;
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0 0 10px;
  letter-spacing: 0;
  line-height: 1.25;
}
.mega-sub {
  color: #666666;
  font-size: 1rem;
  margin: 0 0 22px;
  line-height: 1.55;
  max-width: 34ch;
}

.model-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.45s ease,
              box-shadow 0.45s ease;
}
.model-card:hover,
.model-card:focus {
  transform: translateY(-6px);
  border-color: rgba(255, 87, 34, 0.4);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12),
              0 0 0 1px rgba(255, 87, 34, 0.18);
  color: #111;
  text-decoration: none;
}
.model-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f2f2f2;
}
.model-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.6s ease;
}
.model-card:hover .model-card-image img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.08);
}
.model-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.model-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 10px;
  background: #ff5722;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
}

.model-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.model-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #111;
  letter-spacing: 0;
}
.model-card-desc {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 16px;
  line-height: 1.5;
}

.model-card-specs {
  list-style: none;
  padding: 14px 0 0;
  margin: 0 0 16px;
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.model-card-specs li {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.model-card-specs strong {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.model-card-specs strong span {
  font-size: 0.65rem;
  font-weight: 500;
  color: #888;
  margin-left: 2px;
}
.model-card-specs .spec-meta {
  font-size: 0.6rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.model-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff5722;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap 0.35s ease;
}
.model-card:hover .model-card-cta {
  gap: 12px;
}
.model-card-cta i {
  font-size: 0.9rem;
  transition: transform 0.35s ease;
}
.model-card:hover .model-card-cta i {
  transform: translateX(3px);
}

.mega-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.mega-footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #f7f7f8;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.35s ease,
              border-color 0.35s ease,
              color 0.35s ease,
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mega-footer-link span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mega-footer-link span i {
  color: #ff5722;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}
.mega-footer-link:hover {
  background: #ff5722;
  border-color: #ff5722;
  color: #fff;
  transform: translateX(3px);
  text-decoration: none;
}
.mega-footer-link:hover span i,
.mega-footer-link:hover > i {
  color: #fff;
}

/* Tablet — stack intro + single-column cards */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .mega-inner { padding: 32px 24px 36px; }
  .mega-top {
    grid-template-columns: minmax(220px, 0.8fr) 1fr 1fr;
    gap: 24px;
  }
  .mega-title { font-size: 1.2rem; }
}

/* Mobile — inside collapsed navbar, stack everything */
@media (max-width: 991.98px) {
  .dropdown-menu-mega.models-mega {
    min-width: 100%;
    max-width: 100%;
    position: static !important;
    transform: none !important;
    inset: auto !important;
    width: auto !important;
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
    margin: 4px 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    animation: none !important;
  }
  .mega-inner { padding: 8px 0; max-width: 100%; }
  .mega-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mega-intro {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 14px;
  }
  .mega-title { color: #111; font-size: 1.1rem; }
  .mega-sub { color: #555; }
  .mega-footer { display: none !important; }
}
.carousel-item.active .spec-val [data-counter]::after {
  width: 28px;
}

/* ── Model Carousel Section ── */
.model-carousel-section {
  background: #fff;
  padding: 4rem 0;
  overflow: hidden;
}
.model-carousel {
  position: relative;
  padding: 0 5%;
}
.model-carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.model-carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.7s cubic-bezier(0.65, 0.05, 0.36, 1);
  will-change: transform;
}
.model-slide {
  flex: 0 0 calc((100% - 1.25rem) / 2);
  min-width: 0;
}
.model-slide-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}
.model-slide-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s ease;
}
.model-slide-card:hover img {
  transform: scale(1.04);
}
.model-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.model-slide-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.model-slide-content {
  position: absolute;
  left: 1.75rem;
  bottom: 1.75rem;
  right: 1.75rem;
  color: #fff;
}
.model-slide-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.4rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.model-slide-price {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.model-slide-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.model-slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.model-slide-btn-primary {
  background: var(--primary, #ff5722);
  color: #fff;
  border: 2px solid var(--primary, #ff5722);
}
.model-slide-btn-primary:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.model-slide-btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  border: 2px solid rgba(255, 255, 255, 0.95);
}
.model-slide-btn-secondary:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.model-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.model-carousel-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}
.model-carousel-arrow[disabled] {
  opacity: 0;
  pointer-events: none;
}
.model-carousel-prev { left: calc(5% - 24px); }
.model-carousel-next { right: calc(5% - 24px); }
.model-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}
.model-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.25);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.model-carousel-dot.is-active {
  background: #111;
  transform: scale(1.15);
}
@media (max-width: 768px) {
  .model-carousel-section { padding: 2.5rem 0; }
  .model-slide { flex: 0 0 100%; }
  .model-slide-card { aspect-ratio: 4 / 5; border-radius: 12px; }
  .model-slide-title { font-size: 1.75rem; }
  .model-slide-content { left: 1.25rem; right: 1.25rem; bottom: 1.25rem; }
  .model-slide-tag { top: 1rem; left: 1.25rem; }
  .model-slide-btn { min-width: 0; flex: 1 1 auto; padding: 0.65rem 0.9rem; font-size: 0.85rem; }
  .model-carousel-prev { left: 0.5rem; }
  .model-carousel-next { right: 0.5rem; }
  .model-carousel-arrow { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* ── Mask Reveal Section ── */
.mask-reveal-section { background:#000; position:relative; padding: 0; }
.mask-reveal-spacer { position:relative; height:300vh; }
.mask-reveal-sticky {
  position:sticky; top:0; left:0;
  width:100%; height:100vh;
  overflow:hidden; background:#000;
  display:flex; align-items:center; justify-content:center;
}
.mask-reveal-video {
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:1;
}
.mask-reveal-fallback {
  position:absolute; inset:0;
  width:100%; height:100%;
  background-image: url('assets/images/mask-anim-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index:1;
  pointer-events:none;
  transition: opacity 0.3s ease;
}
.mask-reveal-fallback.is-hidden { opacity: 0; }
.mask-reveal-mask {
  position:absolute; inset:0;
  width:100%; height:100%;
  z-index:2;
  display:block;
  pointer-events:none;
  will-change: opacity;
}
/* ── Doors Reveal Section ── */
.doors-section {
  background: #ffffff;
  padding: 0 5% 7rem 5%;
  overflow: hidden;
}
.doors-stage {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
  height: 80vh;
  max-height: 720px;
  perspective: 1800px;
}
.door {
  position: relative;
  height: 100%;
  flex: 0 0 auto;
  transition: width 1.2s cubic-bezier(.65,.05,.36,1),
              transform 1.2s cubic-bezier(.65,.05,.36,1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.door-frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.45s ease, transform 0.45s ease, border-color 0.45s ease;
}
.door-title {
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #666;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: color 0.4s ease, letter-spacing 0.4s ease, background 0.4s ease;
}
.door-img {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
}
.door-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 1;
}
.door img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(.22, 1, .36, 1),
              filter 0.6s ease;
}
/* Hover effects (desktop pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .door-frame:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 87, 34, 0.55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }
  .door-frame:hover .door-title {
    color: #ff5722;
    letter-spacing: 0.04em;
  }
  .door-frame:hover .door-img::after {
    opacity: 1;
  }
  .door-frame:hover img {
    transform: scale(1.08);
    filter: saturate(1.1);
  }
}
/* Closed state: side images sit with their inner edge anchored beside the
   centre image and fold OUTWARD so only the inner edge (near centre) is
   visible. The hinge is the side that touches the centre image. */
.door-left {
  width: 10%;
  transform-origin: right center;
  transform: rotateY(-75deg);
}
.door-center {
  width: calc(80% - 4rem);
}
.door-right {
  width: 10%;
  transform-origin: left center;
  transform: rotateY(75deg);
}
.doors-stage.is-open .door {
  width: calc((100% - 4rem) / 3);
  transform: rotateY(0deg);
}
@media (max-width: 768px) {
  .doors-section { padding: 4rem 5%; }
  .doors-stage {
    flex-direction: column;
    height: auto;
    max-height: none;
    perspective: none;
    gap: 1.25rem;
  }
  .doors-stage .door,
  .doors-stage.is-open .door {
    width: 100%;
    height: 50vh;
    max-height: 420px;
    transform: none;
  }
  .door-title {
    font-size: 0.78rem;
    padding: 0.6rem 0.75rem;
  }
}
@media (max-width: 480px) {
  .doors-section { padding: 3rem 5%; }
  .doors-stage .door,
  .doors-stage.is-open .door {
    height: 40vh;
    max-height: 320px;
  }
}

@media (max-width: 768px) {
  .mask-reveal-sticky { height: 100vh; }
  .mask-reveal-spacer { height: 220vh; }
}
@media (max-width: 480px) {
  .mask-reveal-sticky { height: 100vh; }
  .mask-reveal-spacer { height: 200vh; }
}

/* ── Hill Curve Divider ── */
.hill-curve-section {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  margin-bottom: -1px;
  pointer-events: none;
}
.hill-curve-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.hill-marquee {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25em;
  z-index: 1;
}
.hill-marquee-line {
  overflow: hidden;
  width: 100%;
  line-height: 1;
}
.hill-marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: 12rem;
  line-height: 1;
  letter-spacing: -0.01em;
  will-change: transform;
}
.hill-marquee-text {
  display: inline-block;
  padding: 0 1.5rem;
}
.hill-marquee-sep {
  width: 0.45em;
  height: 0.45em;
  flex-shrink: 0;
  margin: 0 0.5rem;
}
.hill-marquee-line-1 .hill-marquee-track {
  color: #F0F0F0;
  animation: hill-marquee-ltr 40s linear infinite;
}
.hill-marquee-line-2 .hill-marquee-track {
  font-family: 'Rostex Outline', 'DM Sans', sans-serif;
  color: #F0F0F0;
  animation: hill-marquee-rtl 40s linear infinite;
}
@keyframes hill-marquee-ltr {
  0%   { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@keyframes hill-marquee-rtl {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 768px) {
  .hill-curve-section { height: 260px; }
  .hill-marquee-track { font-size: 3rem; }
  .hill-marquee-text { padding: 0 1rem; }
}
@media (max-width: 480px) {
  .hill-curve-section { height: 180px; }
  .hill-marquee-track { font-size: 2rem; }
  .hill-marquee-text { padding: 0 0.75rem; }
}

/* ── Your iCAUR, Your Way Section ── */
.your-way-section {
  background: #000;
  color: #fff;
  padding: 6rem 0;
}
.your-way-title {
  color: #fff;
  margin-bottom: 1.25rem;
}
.your-way-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}
@font-face {
  font-family: 'Rostex Outline';
  src: url('assets/fonts/rostex.outline.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.your-way-banner {
  display: block;
  width: 100%;
  padding: 0 5%;
  line-height: 0;
}
.your-way-banner-inner {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
}
.your-way-banner-inner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s ease;
}
.your-way-banner:hover .your-way-banner-inner img,
.your-way-banner:focus-visible .your-way-banner-inner img {
  transform: scale(1.03);
}
.your-way-banner-caption {
  position: absolute;
  left: 3rem;
  bottom: 2rem;
  margin: 0;
  font-family: 'Rostex Outline', 'DM Sans', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0.02em;
  pointer-events: none;
}
@media (max-width: 768px) {
  .your-way-banner-caption {
    left: 1.5rem;
    bottom: 1rem;
    font-size: 3rem;
  }
}
@media (max-width: 480px) {
  .your-way-banner-caption {
    left: 1rem;
    bottom: 0.75rem;
    font-size: 1.75rem;
  }
}
.your-way-grid {
  margin-top: 5vw;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.your-way-card {
  color: #fff;
  text-align: left;
  height: 100%;
}
.your-way-card-img {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  line-height: 0;
}
.your-way-card-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.your-way-card:hover .your-way-card-img img {
  transform: scale(1.05);
}
.your-way-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.your-way-card-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
@media (max-width: 768px) {
  .your-way-section { padding: 4rem 0; }
  .your-way-desc { font-size: 1rem; }
  .your-way-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .your-way-card-img img { height: 220px; }
  .your-way-card-title { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .your-way-section { padding: 3rem 0; }
  .your-way-card-img img { height: 200px; }
}

/* ── Latest News (API driven) ── */
.pg-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0 0.5rem;
  font-weight: 700;
  line-height: 1;
  color: inherit;
}
.pr-pagination .pg-arrow[disabled],
.pr-pagination .pg-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.news-status {
  margin-top: 1rem;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
  min-height: 1em;
}
.news-card-skeleton .news-img-wrap {
  display: block;
  aspect-ratio: 3 / 2;
  background: #eee;
}
.news-card-skeleton .news-date,
.news-card-skeleton .news-title {
  display: block;
  background: #eee;
  color: transparent;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* ── News Detail Page ── */
.news-detail-section {
  padding: 8rem 0 5rem;
  background: #fff;
}
.news-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.news-detail-back:hover { text-decoration: underline; }
.news-detail-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.news-detail-date {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}
.news-detail-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.news-detail-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.8);
}
.news-detail-body p { margin: 0 0 1.25rem; }
.news-detail-body img { max-width: 100%; height: auto; border-radius: 8px; }
.news-detail-loading,
.news-detail-error {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(0, 0, 0, 0.6);
}
@media (max-width: 768px) {
  .news-detail-section { padding: 6rem 0 3rem; }
  .news-detail-image { border-radius: 8px; }
}
.explore-nav:hover {
    background: none !important;
    color: #fff;
}