/* ==========================================================================
   Red Sea — "Maison" visual layer
   Loaded last. Restyles the public site only; markup, fields and scripts are untouched.
   ========================================================================== */

html[data-theme] {
  --j-ivory: #f7f1e5;
  --j-paper: #efe6d5;
  --j-sand: #e5d8c3;
  --j-stone: #d5c4ac;
  --j-plum: #123840;
  --j-plum-2: #1b4d58;
  --j-night: #0b2329;
  --j-violet: #1b4d58;
  --j-violet-2: #2b6774;
  --j-lilac: #dfbea8;
  --j-lilac-soft: #f5ebe2;
  --j-leaf: #b88a6b;
  --j-sage: #c89f84;
  --j-brass: #c89f84;
  --j-ink: #0f2f37;
  --j-muted: #556a6f;
  --j-line: rgba(20, 56, 64, 0.12);
  --j-line-light: rgba(246, 241, 230, 0.16);
  --j-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --j-sans: "Jost", "Manrope", system-ui, sans-serif;
  --j-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --j-arch: 999px 999px 6px 6px;
  --j-radius: 6px;
  --j-shadow: 0 40px 80px -40px rgba(12, 36, 44, 0.35);

  --gold: var(--j-violet);
  --gold-light: var(--j-violet-2);
  --gold-dark: var(--j-plum);
  --green: var(--j-leaf);
  --dark: var(--j-ivory);
  --dark-2: var(--j-paper);
  --dark-3: var(--j-sand);
  --cream: var(--j-ink);
  --cream-2: var(--j-plum-2);
  --text: var(--j-ink);
  --text-light: var(--j-muted);
  --bg-body: var(--j-ivory);
  --bg-section: var(--j-paper);
  --bg-section2: var(--j-sand);
  --bg-card: #fff;
  --border: var(--j-line);
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(20, 56, 64, 0.1);
  --nav-bg: rgba(246, 241, 230, 0.88);
  --input-bg: transparent;
  --input-border: rgba(20, 56, 64, 0.22);
  --shadow: var(--j-shadow);
  --shadow-sm: 0 18px 40px -24px rgba(12, 36, 44, 0.3);
  --lux-eyebrow: var(--j-violet);
  --lux-gold: var(--j-brass);
  --lux-gold-soft: var(--j-lilac);
  --font-serif: var(--j-serif);
  --font-sans: var(--j-sans);
  --eg-display: var(--j-serif);
  color-scheme: light;
}

html[data-theme] body.joya:not([data-page="gift-card"]) #leavesScene,
html[data-theme] body.joya .leaves-scene,
html[data-theme] body.joya .hero__particles,
html[data-theme] body.joya .booking__bg-particles,
html[data-theme] body.joya .services__bg-shape,
html[data-theme] body.joya .theme-toggle { display: none !important; }

html[data-theme][lang="ar"] {
  --j-serif: "El Messiri", "Cairo", serif;
  --j-sans: "Cairo", system-ui, sans-serif;
}

html[data-theme] .joya.joya {
  background: var(--j-ivory);
  color: var(--j-ink);
  font-family: var(--j-sans);
  font-weight: 400;
  letter-spacing: 0.005em;

  ::selection { background: var(--j-violet); color: #fff; }

  /* ---------- Typography ---------- */
  h1, h2, h3, h4,
  .section__title,
  .home-combo-showcase__title {
    font-family: var(--j-serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--j-ink);
  }

  .section__label,
  .commerce-category-bar__heading small {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--j-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--j-violet);
    background: none;
    border: 0;
    padding: 0;
    margin-bottom: 22px;
  }
  .section__label::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
  }
  .text-center .section__label::after {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
  }

  .section__title {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 1.02;
    margin-bottom: 22px;
  }
  .section__title em {
    font-style: italic;
    color: var(--j-violet);
    font-weight: 400;
  }
  .section__title br { display: none; }
  .section__title em::before { content: " "; }

  .section__desc {
    max-width: 620px;
    font-size: 1.06rem;
    line-height: 1.85;
    font-weight: 300;
    color: var(--j-muted);
  }
  .text-center .section__desc { margin-inline: auto; }

  .section { padding-block: clamp(56px, 7vw, 100px); }
  .container { max-width: 1320px; padding-inline: clamp(20px, 4vw, 48px); }

  /* ---------- Buttons ---------- */
  .btn {
    min-height: 54px;
    padding: 14px 28px;
    white-space: normal;
    text-align: center;
    line-height: 1.5;
    border-radius: 0;
    font-family: var(--j-sans);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    box-shadow: none;
    transition: background 0.5s var(--j-ease), color 0.5s var(--j-ease), border-color 0.5s var(--j-ease), transform 0.5s var(--j-ease);
  }
  .btn--primary {
    background: var(--j-plum);
    color: #fff;
    border: 1px solid var(--j-plum);
  }
  .btn--primary:hover {
    background: var(--j-violet);
    border-color: var(--j-violet);
    color: #fff;
    transform: translateY(-2px);
  }
  .btn--ghost,
  .btn--outline {
    background: transparent;
    color: var(--j-ink);
    border: 1px solid rgba(20, 56, 64, 0.35);
  }
  .btn--ghost:hover,
  .btn--outline:hover {
    background: var(--j-ink);
    color: #fff;
    border-color: var(--j-ink);
  }

  /* ---------- Ticker ---------- */
  .top-ticker {
    background: var(--j-night);
    color: var(--j-lilac);
    border: 0;
    box-shadow: none;
  }
  .top-ticker__item {
    font-family: var(--j-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--j-lilac);
  }
  .top-ticker__item svg { color: var(--j-sage); opacity: 0.9; }
  .top-ticker__spark { color: var(--j-sage); opacity: 0.8; }

  /* ---------- Navigation ---------- */
  .nav,
  .nav.scrolled {
    top: var(--solo-ticker-offset, 34px);
    left: 0;
    right: 0;
    width: 100%;
    padding-inline: clamp(16px, 3vw, 44px);
    background: rgba(246, 241, 230, 0.9);
    backdrop-filter: saturate(1.4) blur(18px);
    -webkit-backdrop-filter: saturate(1.4) blur(18px);
    border: 0;
    border-bottom: 1px solid var(--j-line);
    border-radius: 0;
    box-shadow: none;
  }
  .nav__logo-mark {
    width: auto;
    height: 86px;
    overflow: visible;
  }
  .nav__logo-mark .nav__logo-img,
  .nav__logo-img {
    position: static;
    transform: none;
    height: 86px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
  }
  .nav__logo-mark .logo-img--dark { display: none !important; }
  .logo-img--light { opacity: 1 !important; visibility: visible !important; }
  .nav__link {
    font-family: var(--j-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--j-ink);
    background: none;
    position: relative;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    inset-inline: 50% 50%;
    bottom: 2px;
    height: 1px;
    background: var(--j-violet);
    transition: inset 0.45s var(--j-ease);
  }
  .nav__link:hover,
  .nav__link.active { color: var(--j-violet); background: none; }
  .nav__link:hover::after,
  .nav__link.active::after { inset-inline: 14px 14px; }
  .nav__link--book,
  .nav__link--book:hover {
    background: var(--j-plum);
    color: #fff;
    border-radius: 0;
    padding-inline: 22px;
    letter-spacing: 0.2em;
  }
  .nav__link--book:hover { background: var(--j-violet); color: #fff; }
  .nav__link--book::after { display: none; }
  .nav__hamburger span { background: var(--j-plum); }
  .nav-cart {
    color: var(--j-ink);
    border: 1px solid var(--j-line);
    background: transparent;
    border-radius: 50%;
  }
  .nav-cart [data-cart-count] { background: var(--j-leaf); color: #fff; }
  .lang-switch__toggle {
    background: transparent;
    border: 1px solid var(--j-line);
    color: var(--j-ink);
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
  .lang-switch__menu {
    background: #fff;
    border: 1px solid var(--j-line);
    border-radius: 4px;
    box-shadow: var(--j-shadow);
  }
  .lang-switch__option { color: var(--j-ink); }
  .lang-switch__option.is-active,
  .lang-switch__option:hover { background: var(--j-lilac-soft); color: var(--j-violet); }

  /* ---------- Home hero ---------- */
  .hero.hero--storefront {
    min-height: min(100svh, 980px);
    padding: calc(var(--solo-ticker-offset, 34px) + 150px) clamp(20px, 6vw, 96px) 110px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--j-night);
    overflow: hidden;
    isolation: isolate;
  }
  .hero.hero--storefront .hero__bg,
  html[dir="rtl"] & .hero.hero--storefront .hero__bg {
    position: absolute;
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    transform: none !important;
    margin: 0;
    z-index: 0;
  }
  .hero.hero--storefront .hero__bg .hero__bg-img {
    object-position: 62% center;
    animation: joyaHeroDrift 22s ease-in-out infinite alternate;
    filter: saturate(1.02) contrast(1.02);
  }
  .hero.hero--storefront .hero__gradient {
    background:
      linear-gradient(90deg, rgba(12, 36, 44, 0.88) 0%, rgba(12, 36, 44, 0.62) 34%, rgba(12, 36, 44, 0.12) 68%, rgba(12, 36, 44, 0) 100%),
      linear-gradient(180deg, rgba(12, 36, 44, 0.35) 0%, rgba(12, 36, 44, 0) 30%, rgba(12, 36, 44, 0.45) 100%);
  }
  html[dir="rtl"] & .hero.hero--storefront .hero__gradient {
    background:
      linear-gradient(270deg, rgba(12, 36, 44, 0.88) 0%, rgba(12, 36, 44, 0.62) 34%, rgba(12, 36, 44, 0.12) 68%, rgba(12, 36, 44, 0) 100%),
      linear-gradient(180deg, rgba(12, 36, 44, 0.35) 0%, rgba(12, 36, 44, 0) 30%, rgba(12, 36, 44, 0.45) 100%);
  }
  .hero.hero--storefront .hero__content {
    position: relative;
    inset: auto;
    width: min(100%, 860px);
    max-width: 860px;
    margin: 0;
    padding: 0;
    text-align: start;
    background: none;
    border: 0;
    box-shadow: none;
    z-index: 2;
  }
  .hero.hero--storefront .hero__eyebrow--store {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    margin-bottom: 30px;
    background: none;
    border: 0;
    color: var(--j-lilac);
    font-family: var(--j-sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.4em;
  }
  .hero.hero--storefront .hero__eyebrow--store::before {
    content: "";
    width: 48px;
    height: 1px;
    border-radius: 0;
    background: var(--j-sage);
  }
  .hero.hero--storefront .hero__title,
  .hero.hero--storefront .hero__title .reveal-line {
    font-family: var(--j-serif);
    font-weight: 300;
    font-size: clamp(3.2rem, 6.2vw, 6.6rem);
    line-height: 0.96;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: none;
    max-width: none;
  }
  .hero.hero--storefront .hero__title { margin-bottom: 32px; }
  .hero.hero--storefront .hero__title .reveal-line.italic {
    font-style: italic;
    color: var(--j-lilac);
    font-variation-settings: normal;
  }
  .hero.hero--storefront .hero__subtitle {
    max-width: 500px;
    margin: 0 0 44px;
    font-size: 1.12rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
  }
  .hero.hero--storefront .hero__actions { justify-content: flex-start; gap: 14px; }
  .hero.hero--storefront .btn--primary {
    background: #fff;
    color: var(--j-plum);
    border-color: #fff;
  }
  .hero.hero--storefront .btn--primary:hover {
    background: var(--j-lilac);
    border-color: var(--j-lilac);
    color: var(--j-plum);
  }
  .hero.hero--storefront .btn--ghost {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
  }
  .hero.hero--storefront .btn--ghost:hover { background: #fff; color: var(--j-plum); border-color: #fff; }
  .hero.hero--storefront .hero__commerce-note {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    white-space: normal;
    text-align: start;
    max-width: 100%;
  }
  .hero.hero--storefront .hero__commerce-note span {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--j-sage);
    color: var(--j-sage);
  }
  .hero.hero--storefront .hero__scroll-indicator {
    display: flex;
    left: auto;
    right: clamp(20px, 4vw, 56px);
    bottom: 48px;
  }
  html[dir="rtl"] & .hero.hero--storefront .hero__scroll-indicator { right: auto; left: clamp(20px, 4vw, 56px); }
  .hero__scroll-text { color: rgba(255, 255, 255, 0.6); letter-spacing: 0.3em; }
  .hero__scroll-line { background: linear-gradient(180deg, var(--j-lilac), transparent); }

  /* ---------- Combo packages ---------- */
  .home-combo-showcase {
    background: var(--j-ivory);
    padding-block: clamp(84px, 10vw, 130px) clamp(40px, 6vw, 80px);
  }
  .home-combo-showcase .container {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
  }
  .home-combo-showcase__title {
    font-size: clamp(2.4rem, 4.4vw, 4rem);
    line-height: 1.04;
    margin: 0 0 22px;
    position: static;
  }
  .home-combo-showcase .section__desc { margin: 0; }
  .home-combo-grid {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .home-combo-card,
  .home-combo-card--accent {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    color: var(--j-ink);
  }
  .home-combo-card:nth-child(2) { margin-top: 72px; }
  .home-combo-card__media {
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--j-arch);
    overflow: hidden;
    background: var(--j-sand);
    position: relative;
  }
  .home-combo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--j-ease);
  }
  .home-combo-card:hover .home-combo-card__media img { transform: scale(1.06); }
  .home-combo-card__mark {
    background: rgba(246, 241, 230, 0.92);
    color: var(--j-violet);
    border: 0;
  }
  .home-combo-card__body { padding: 26px 4px 0; background: none; }
  .home-combo-card__body h3 {
    font-size: 1.7rem;
    line-height: 1.15;
    margin-bottom: 10px;
  }
  .home-combo-card__body h3 a { color: var(--j-ink); }
  .home-combo-card__desc { color: var(--j-muted); font-weight: 300; line-height: 1.75; }
  .home-combo-card__footer {
    border-top: 1px solid var(--j-line);
    margin-top: 20px;
    padding-top: 18px;
  }
  .home-combo-card__price small {
    color: var(--j-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.64rem;
  }
  .home-combo-card__price strong {
    font-family: var(--j-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--j-violet);
  }
  .home-combo-card__go {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--j-line);
    color: var(--j-ink);
    transition: all 0.4s var(--j-ease);
  }
  .home-combo-card__go:hover { background: var(--j-plum); color: #fff; border-color: var(--j-plum); }

  /* ---------- Category bar ---------- */
  .commerce-category-bar {
    background: var(--j-ivory);
    padding-block: 40px 100px;
    border: 0;
  }
  .commerce-category-bar__heading {
    border-bottom: 1px solid var(--j-line);
    padding-bottom: 22px;
    margin-bottom: 0;
  }
  .commerce-category-bar__heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-style: italic;
    color: var(--j-ink);
  }
  .commerce-category-bar__secure {
    background: none;
    border: 0;
    color: var(--j-muted);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .commerce-category-bar__secure span { color: var(--j-leaf); }
  .commerce-categories {
    counter-reset: joya-cat;
    gap: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .commerce-category,
  .commerce-category--accent {
    counter-increment: joya-cat;
    position: relative;
    background: transparent;
    border: 0;
    border-inline-end: 1px solid var(--j-line);
    border-radius: 0;
    box-shadow: none;
    padding: 34px 28px 34px;
    color: var(--j-ink);
    transition: background 0.5s var(--j-ease);
  }
  .commerce-category:last-child { border-inline-end: 0; }
  .commerce-category:hover { background: var(--j-paper); transform: none; }
  .commerce-category__icon {
    width: auto;
    height: auto;
    background: none;
    border: 0;
    color: var(--j-violet);
    font-family: var(--j-serif);
    font-size: 0;
  }
  .commerce-category__icon::before {
    content: counter(joya-cat, decimal-leading-zero);
    font-size: 1.05rem;
    font-style: italic;
    letter-spacing: 0.04em;
  }
  .commerce-category__copy strong {
    font-family: var(--j-serif);
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--j-ink);
  }
  .commerce-category__copy small { color: var(--j-muted); font-weight: 300; font-size: 0.9rem; }
  .commerce-category__arrow { color: var(--j-violet); background: none; border: 0; }
  .commerce-category--accent .commerce-category__copy strong { color: var(--j-violet); }

  /* ---------- Marquee ---------- */
  .marquee-wrap {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--j-plum);
    padding: 30px 0;
    transform: none;
    box-shadow: none;
  }
  .marquee-track span {
    font-family: var(--j-serif);
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--j-lilac);
  }
  .marquee-track .sep { color: var(--j-sage); font-style: normal; font-size: 1rem; }

  /* ---------- About ---------- */
  .about.section {
    background: var(--j-paper);
    position: relative;
  }
  .about__grid { gap: clamp(40px, 7vw, 120px); align-items: center; }
  .about-slider {
    border-radius: var(--j-arch);
    overflow: hidden;
    box-shadow: var(--j-shadow);
    aspect-ratio: 4 / 5;
    background: var(--j-sand);
  }
  .about-slider__slide img { width: 100%; height: 100%; object-fit: cover; }
  .about-slider__arrow {
    background: rgba(246, 241, 230, 0.9);
    color: var(--j-plum);
    border: 0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: none;
  }
  .about-slider__dots button,
  .about-slider__dots span { background: rgba(255, 255, 255, 0.55); }
  .about-slider__dots .active { background: #fff; }
  .about__badge,
  .about__badge.glass {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 0;
    display: grid;
    place-content: center;
    text-align: center;
    background: var(--j-plum);
    color: #fff;
    border: 0;
    box-shadow: 0 30px 60px -20px rgba(12, 36, 44, 0.55);
    backdrop-filter: none;
  }
  .about__badge-num {
    font-family: var(--j-serif);
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    color: #fff;
  }
  .about__badge-label {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--j-lilac);
  }
  .about__body {
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--j-muted);
    white-space: pre-line;
  }
  .home-story-locations__title {
    font-family: var(--j-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--j-ink);
  }
  .about-location,
  .about-location--light,
  .about-location--dark {
    border-radius: 0;
    border: 1px solid var(--j-line);
    background: var(--j-ivory);
    color: var(--j-ink);
    box-shadow: none;
    transition: all 0.5s var(--j-ease);
  }
  .about-location--dark { background: var(--j-plum); color: #fff; border-color: var(--j-plum); }
  .about-location strong { font-family: var(--j-serif); font-size: 1.45rem; font-weight: 500; }
  .about-location span:not(.about-location__icon):not(.about-location__pattern) { color: inherit; opacity: 0.75; }
  .about-location:hover { transform: translateY(-4px); box-shadow: var(--j-shadow); }
  .about-location__icon { background: var(--j-lilac-soft); color: var(--j-violet); border-radius: 50%; }
  .about-location--dark .about-location__icon { background: rgba(255, 255, 255, 0.1); color: var(--j-lilac); }
  .about-location__pattern { opacity: 0.08; }

  /* ---------- Stats ---------- */
  .home-story-stats-section {
    background: var(--j-plum);
    padding-block: 70px;
  }
  .home-story-stats-section .about__stats {
    background: none;
    border: 0;
    box-shadow: none;
    gap: 0;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .home-story-stats-section .about__stat {
    background: none;
    border: 0;
    border-inline-end: 1px solid var(--j-line-light);
    border-radius: 0;
    box-shadow: none;
    text-align: center;
  }
  .home-story-stats-section .about__stat:last-child { border-inline-end: 0; }
  .home-story-stats-section .about__stat-num {
    font-family: var(--j-serif);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 300;
    color: #fff;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
  .home-story-stats-section .about__stat-label {
    color: var(--j-lilac);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
  }

  /* ---------- Services ---------- */
  .services.section {
    background: var(--j-ivory);
    overflow: hidden;
  }
  .services__tabs {
    gap: 8px;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--j-line);
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    justify-content: center;
    width: fit-content;
    margin-inline: auto;
  }
  .tab-btn {
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--j-muted);
    font-family: var(--j-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 14px 20px;
    position: relative;
    box-shadow: none;
  }
  .tab-btn::after {
    content: "";
    position: absolute;
    inset-inline: 20px;
    bottom: -1px;
    height: 2px;
    background: var(--j-violet);
    transform: scaleX(0);
    transition: transform 0.45s var(--j-ease);
  }
  .tab-btn:hover { color: var(--j-ink); background: none; }
  .tab-btn.active { color: var(--j-violet); background: none; box-shadow: none; }
  .tab-btn.active::after { transform: scaleX(1); }

  .services--show-all .services-slider__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 36px;
  }
  .service-card,
  .service-card--link {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }
  .service-card:hover,
  .service-card--link:hover { transform: none; box-shadow: none; border-color: transparent; }
  .service-card__img {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
    border-radius: var(--j-arch);
    overflow: hidden;
    background: var(--j-sand);
  }
  .service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--j-ease);
  }
  .service-card:hover .service-card__img img { transform: scale(1.07); }
  .service-card__overlay { background: linear-gradient(180deg, transparent 50%, rgba(12, 36, 44, 0.55)); }
  .service-card__view {
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 0;
    background: none;
    padding: 12px 18px;
  }
  .service-card__body {
    padding: 26px 6px 0;
    background: none;
    text-align: center;
    align-items: center;
  }
  .service-card__tag {
    background: none;
    border: 0;
    padding: 0;
    color: var(--j-leaf);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
  }
  .service-card__title {
    font-family: var(--j-serif);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.15;
    margin: 10px 0 10px;
  }
  .service-card__title a { color: var(--j-ink); }
  .service-card__desc {
    color: var(--j-muted);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.75;
  }
  .service-card__footer { justify-content: center; border: 0; }
  .service-card__duration {
    background: none;
    border: 0;
    color: var(--j-ink);
    font-family: var(--j-serif);
    font-style: italic;
    font-size: 1.05rem;
  }
  .service-card__shop-cta {
    margin-top: 18px;
    width: auto;
    min-height: 0;
    padding: 0 0 6px;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--j-violet);
    border-radius: 0;
    color: var(--j-violet);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    box-shadow: none;
    gap: 10px;
  }
  .service-card__shop-cta:hover { color: var(--j-plum); border-color: var(--j-plum); background: none; }
  .services-slider__arrow {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--j-ivory);
    border: 1px solid var(--j-line);
    color: var(--j-ink);
    box-shadow: none;
    font-size: 1.5rem;
  }
  .services-slider__arrow:hover { background: var(--j-plum); border-color: var(--j-plum); color: #fff; }
  .services-slider__dots button,
  .services-slider__dots span { background: var(--j-stone); }
  .services-slider__dots .active,
  .services-slider__dots [aria-current="true"] { background: var(--j-violet); }
  .services__view-all,
  a.services__view-all.btn { margin-top: 50px; }

  /* ---------- Half-day / editorial cards ---------- */
  .grand-tours-promo {
    background: var(--j-night);
    color: #fff;
    padding-block: clamp(84px, 10vw, 140px);
  }
  .grand-tours-promo__header { border-bottom: 1px solid var(--j-line-light); padding-bottom: 30px; margin-bottom: 44px; }
  .grand-tours-promo__header h2,
  .grand-tours-promo h2 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
  .grand-tours-promo p,
  .grand-tours-promo__header p { color: rgba(255, 255, 255, 0.66); font-weight: 300; }
  .grand-tours-promo .section__label,
  .grand-tours-promo__header small,
  .grand-tours-promo__header span { color: var(--j-lilac); }
  .grand-tours-promo__all {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    background: none;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.7rem;
  }
  .grand-tours-promo__all:hover { background: #fff; color: var(--j-plum); }
  .grand-tour-ad,
  .grand-tour-ad--featured {
    border-radius: 4px;
    border: 0;
    box-shadow: none;
    overflow: hidden;
  }
  .grand-tour-ad img { transition: transform 1.6s var(--j-ease); filter: saturate(0.95); }
  .grand-tour-ad:hover img { transform: scale(1.06); }
  .grand-tour-ad__shade { background: linear-gradient(180deg, rgba(12, 36, 44, 0) 30%, rgba(12, 36, 44, 0.9) 100%); }
  .grand-tour-ad__partner {
    background: rgba(246, 241, 230, 0.92);
    color: var(--j-plum);
    border-radius: 0;
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
  }
  .grand-tour-ad__content strong {
    font-family: var(--j-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
  }
  .grand-tour-ad__content small { color: rgba(255, 255, 255, 0.78); font-weight: 300; }
  .grand-tour-ad__meta b { background: var(--j-leaf); color: #fff; border-radius: 0; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.6rem; }
  .grand-tour-ad__meta { color: var(--j-lilac); }
  .grand-tour-ad__cta { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.5); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.66rem; }
  .grand-tour-ad__cta b { background: none; color: var(--j-lilac); }

  /* ---------- Parallax banner ---------- */
  .parallax-banner {
    width: 100%;
    max-width: none;
    min-height: clamp(520px, 80vh, 820px);
    border-radius: 0;
    margin: 0;
    overflow: hidden;
  }
  .parallax-banner__bg { filter: none; }
  .parallax-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(12, 36, 44, 0.35) 0%, rgba(12, 36, 44, 0.75) 100%);
    z-index: 1;
    pointer-events: none;
  }
  .parallax-banner__content { position: relative; z-index: 2; }
  .parallax-banner .section__label { color: var(--j-lilac); }
  .parallax-banner__title {
    font-family: var(--j-serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(3rem, 7vw, 6.6rem);
    line-height: 1;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: none;
  }
  .parallax-banner .btn--primary { background: #fff; color: var(--j-plum); border-color: #fff; }
  .parallax-banner .btn--primary:hover { background: var(--j-lilac); border-color: var(--j-lilac); }

  /* ---------- Video gallery ---------- */
  .gallery--videos { background: var(--j-paper); }
  .gallery__video-card {
    border-radius: 4px;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    background: var(--j-sand);
  }
  .gallery__video-thumb img { filter: saturate(0.85); }
  .gallery__video-toggle {
    background: rgba(246, 241, 230, 0.92);
    color: var(--j-plum);
    border: 0;
    box-shadow: 0 0 0 10px rgba(246, 241, 230, 0.2);
  }
  .gallery__video-title {
    font-family: var(--j-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: #fff;
  }
  .gallery__nav {
    background: var(--j-ivory);
    border: 1px solid var(--j-line);
    color: var(--j-ink);
    border-radius: 50%;
  }

  /* ---------- Testimonials ---------- */
  .testimonials {
    background: var(--j-ivory);
  }
  .testimonial-card,
  .testimonial-card.glass {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--j-line);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    padding: 40px 10px 0;
    text-align: center;
  }
  .testimonial-card__stars {
    color: var(--j-brass);
    letter-spacing: 0.4em;
    font-size: 0.8rem;
  }
  .testimonial-card__text {
    font-family: var(--j-serif);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    color: var(--j-ink);
  }
  .testimonial-card__author strong {
    font-family: var(--j-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--j-violet);
  }
  .testimonials__dots button,
  .testimonials__dots span { background: var(--j-stone); }
  .testimonials__dots .active { background: var(--j-violet); }

  /* ---------- Booking ---------- */
  .booking.section {
    background:
      linear-gradient(90deg, var(--j-plum) 0%, var(--j-plum) 50%, var(--j-paper) 50%, var(--j-paper) 100%);
    position: relative;
  }
  html[dir="rtl"] & .booking.section {
    background: linear-gradient(270deg, var(--j-plum) 0%, var(--j-plum) 50%, var(--j-paper) 50%, var(--j-paper) 100%);
  }
  .booking .container,
  .booking__grid {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding-block: 0;
  }
  .booking .container::before,
  .booking .container::after { display: none; }
  .booking__grid { gap: clamp(40px, 7vw, 110px); align-items: start; padding-inline: 0; }
  .booking__info { color: #fff; padding-top: 20px; }
  .booking__info .section__label { color: var(--j-lilac); }
  .booking__info .section__title { color: #fff; font-size: clamp(2.4rem, 4vw, 3.8rem); }
  .booking__desc { color: rgba(255, 255, 255, 0.72); font-weight: 300; line-height: 1.85; }
  .booking__perks li {
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--j-line-light);
    padding-block: 14px;
    font-weight: 300;
  }
  .perk-icon {
    background: transparent;
    border: 1px solid var(--j-sage);
    color: var(--j-sage);
  }
  .booking__contact-info .bci {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--j-line-light);
    border-radius: 0;
    color: #fff;
  }
  .booking__contact-info .bci strong { color: var(--j-lilac); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.66rem; font-weight: 500; }
  .booking__contact-info .bci a,
  .booking__contact-info .bci span { color: #fff; }
  .booking__form-wrap,
  .booking__form-wrap.glass {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: 0 60px 120px -50px rgba(12, 36, 44, 0.45);
    padding: clamp(28px, 4vw, 56px);
    backdrop-filter: none;
  }
  .booking__form-title {
    font-family: var(--j-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--j-ink);
  }

  /* Form controls (booking, modal, contact) */
  .form__group label,
  .booking-duration__label,
  .booking-pay__label {
    font-family: var(--j-sans);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--j-muted);
  }
  .form__group input:not([type="checkbox"]):not([type="radio"]),
  .form__group select,
  .form__group textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--input-border);
    border-radius: 0;
    padding-inline: 0;
    color: var(--j-ink);
    font-family: var(--j-sans);
    font-size: 1rem;
    box-shadow: none;
    transition: border-color 0.35s var(--j-ease);
  }
  .form__group textarea { border: 1px solid var(--input-border); padding: 14px; }
  .form__group input:focus,
  .form__group select:focus,
  .form__group textarea:focus {
    outline: none;
    border-color: var(--j-violet);
    box-shadow: 0 1px 0 0 var(--j-violet);
    background: transparent;
  }
  .form__group input::placeholder,
  .form__group textarea::placeholder { color: rgba(111, 99, 117, 0.6); }
  .form__error { color: #a3265b; }
  .form__checkbox-text { color: var(--j-muted); }
  .form__checkbox-text a { color: var(--j-violet); text-decoration: underline; text-underline-offset: 3px; }
  .booking-pay {
    background: var(--j-lilac-soft);
    border: 0;
    border-radius: 0;
  }
  .booking-pay__hint { color: var(--j-muted); }
  .booking-duration__options button,
  .booking-duration__options label {
    border-radius: 0;
    border-color: var(--input-border);
  }
  .booking-duration__price strong { font-family: var(--j-serif); color: var(--j-violet); font-size: 1.6rem; }

  /* Modals */
  .modal__backdrop { background: rgba(12, 36, 44, 0.6); backdrop-filter: blur(6px); }
  .modal__box,
  .modal__box.glass {
    background: var(--j-ivory);
    border: 0;
    border-radius: 0;
    box-shadow: 0 60px 140px -40px rgba(12, 36, 44, 0.6);
    backdrop-filter: none;
  }
  .modal__close { color: var(--j-ink); background: transparent; border: 1px solid var(--j-line); border-radius: 50%; }
  .modal__icon,
  .booking-confirm-stage__icon { background: var(--j-leaf); color: #fff; }
  .modal__title { font-family: var(--j-serif); font-weight: 400; color: var(--j-ink); }
  .booking-flow__steps span i { background: var(--j-sand); color: var(--j-ink); border: 0; }
  .booking-flow__steps span.is-active i { background: var(--j-plum); color: #fff; }
  .booking-flow__steps span b { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.64rem; font-weight: 500; }
  .booking-flow__steps em { background: var(--j-line); }
  .booking-selection { background: #fff; border: 1px solid var(--j-line); border-radius: 0; }
  .booking-selection__check { background: var(--j-leaf); color: #fff; }

  /* ---------- Contact ---------- */
  .contact.section { background: var(--j-ivory); }
  .contact__card {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--j-ink);
    border-radius: 0;
    box-shadow: none;
    padding: 30px 4px 10px;
  }
  .contact__card h4 {
    font-family: var(--j-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--j-violet);
  }
  .contact__card p,
  .contact__card a { color: var(--j-ink); font-family: var(--j-serif); font-size: 1.35rem; line-height: 1.45; }
  .contact__card-icon { background: var(--j-lilac-soft); color: var(--j-violet); border-radius: 50%; border: 0; }
  .contact__map,
  .contact-page__map {
    border-radius: 0;
    overflow: hidden;
    border: 0;
    box-shadow: none;
    filter: grayscale(0.25) sepia(0.28) hue-rotate(155deg) saturate(0.65);
  }

  /* ---------- Footer ---------- */
  .footer,
  .footer.footer--rich {
    background: var(--j-night);
    color: rgba(255, 255, 255, 0.72);
    border: 0;
    border-radius: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    position: relative;
    overflow: hidden;
  }
  .footer.footer--rich::before {
    content: "Red Sea";
    position: absolute;
    inset-inline: 0;
    bottom: -0.22em;
    text-align: center;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(6rem, 20vw, 20rem);
    line-height: 1;
    color: rgba(196, 164, 132, 0.07);
    pointer-events: none;
    white-space: nowrap;
  }
  .footer__top,
  .footer__grid { position: relative; z-index: 1; }
  .footer__brand-title,
  .footer h4 { font-family: var(--j-serif); font-weight: 400; color: #fff; font-size: 1.8rem; }
  .footer__brand-tagline { color: var(--j-lilac); font-style: italic; font-family: var(--j-serif); font-size: 1.2rem; }
  .footer__brand-desc { color: rgba(255, 255, 255, 0.6); font-weight: 300; }
  .footer h5,
  .footer__col h5 {
    font-family: var(--j-sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--j-lilac);
    border: 0;
  }
  .footer a { color: rgba(255, 255, 255, 0.78); transition: color 0.3s; }
  .footer a:hover { color: #fff; }
  .footer__link-icon { color: var(--j-sage); background: none; }
  .footer__social a {
    border: 1px solid var(--j-line-light);
    background: transparent;
    border-radius: 50%;
    color: #fff;
  }
  .footer__social a:hover { background: var(--j-violet); border-color: var(--j-violet); }
  .footer__bottom {
    border-top: 1px solid var(--j-line-light);
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
  }
  .footer__logo { min-height: 0; }
  .footer__logo-img,
  .footer__logo-img--white {
    height: 118px;
    width: auto;
    max-width: 220px;
    opacity: 1;
    visibility: visible;
  }
  .footer__address-item,
  .footer__branch-info { background: none; border-color: var(--j-line-light); border-radius: 0; }
  .footer__branch-value,
  .footer__contact-label { color: var(--j-lilac); }

  /* ---------- Floating actions ---------- */
  .fab {
    background: var(--j-plum);
    color: #fff;
    border: 0;
    box-shadow: 0 18px 40px -14px rgba(12, 36, 44, 0.6);
  }
  .fab--whatsapp { background: var(--j-leaf); }
  .fab__gem,
  .fab__pulse { display: none; }

  /* ---------- Cart drawer ---------- */
  .cart-drawer { background: var(--j-ivory); border-radius: 0; }
  .cart-drawer header small { color: var(--j-violet); letter-spacing: 0.3em; }
  .cart-drawer h2 { font-family: var(--j-serif); font-weight: 400; }
  .cart-checkout { background: var(--j-plum); color: #fff; border-radius: 0; letter-spacing: 0.2em; text-transform: uppercase; }
  .cart-continue { color: var(--j-violet); }

  /* ---------- Inner page heroes & shared cards ---------- */
  .page-hero {
    background: var(--j-night);
  }
  .page-hero__overlay {
    background: linear-gradient(90deg, rgba(12, 36, 44, 0.9) 0%, rgba(12, 36, 44, 0.55) 50%, rgba(12, 36, 44, 0.15) 100%) !important;
  }
  .page-hero__title {
    font-family: var(--j-serif) !important;
    font-weight: 300 !important;
    letter-spacing: -0.02em !important;
    color: #fff;
  }
  .page-hero__title em,
  .page-hero__title i { color: var(--j-lilac); }
  .page-hero__desc { color: rgba(255, 255, 255, 0.8) !important; font-weight: 300; }
  .services-catalog-hero {
    background:
      radial-gradient(720px 340px at 85% 0%, rgba(142, 58, 166, 0.35), transparent 62%),
      linear-gradient(180deg, var(--j-plum) 0%, var(--j-night) 100%);
  }
  #offersPage { background: var(--j-ivory); color: var(--j-ink); }
  #offersPage .btn { background: var(--j-plum); border-color: var(--j-plum); color: #fff; border-radius: 0; }
  #offersPage .offer-featured,
  #offersPage .offer-card {
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 30px 60px -40px rgba(20, 56, 64, 0.35);
  }
  #offersPage .offer-featured h2,
  #offersPage .offer-card__title { font-family: var(--j-serif); font-weight: 500; }
  #offersPage .offer-card__title { font-size: 1.5rem; }
  body[data-page="services"] & #all-services .ref-service-card,
  &[data-page="services"] #all-services .ref-service-card,
  &[data-page="services"] #all-services .ref-service-card:nth-child(n) {
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 30px 60px -44px rgba(20, 56, 64, 0.4);
  }
  .ref-service-card h3,
  .ref-service-card__title { font-family: var(--j-serif); font-weight: 500; }
  .ref-plan__primary,
  .ref-detail .ref-book-action .ref-plan__primary {
    background: var(--j-plum);
    border-radius: 0;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .ref-detail .ref-book-action .ref-plan__primary:hover { background: var(--j-violet); }
  .ref-detail--trip .trip-detail__details > div { background: var(--j-paper); }

  /* ---------- Services catalog page ---------- */
  .ref-services-carousel-section {
    color: #fff;
    background:
      radial-gradient(900px 420px at 50% 70%, rgba(142, 58, 166, 0.28), transparent 70%),
      linear-gradient(160deg, var(--j-plum) 0%, var(--j-night) 70%);
  }
  .ref-services-carousel-section::before { opacity: 0.08; }
  .ref-services-carousel-section__head > div > p { color: var(--j-lilac); font-family: var(--j-sans); font-weight: 500; letter-spacing: 0.34em; }
  .ref-services-carousel-section__head :is(h1, h2) {
    color: #fff;
    font-family: var(--j-serif);
    font-weight: 300;
    letter-spacing: -0.02em;
  }
  .ref-services-carousel-section__head > p { color: rgba(255, 255, 255, 0.72); font-weight: 300; }
  .services-catalog { background: none; }
  .services-catalog-card {
    background: var(--j-plum-2);
    border: 1px solid rgba(217, 195, 228, 0.16);
    border-radius: 6px;
    color: #fff;
  }
  .services-catalog-card.is-active { border-color: rgba(217, 195, 228, 0.5); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
  .services-catalog-card__image { background: var(--j-night); border-radius: 0; }
  .services-catalog-card :is(h2, h3, strong) { color: #fff; font-family: var(--j-serif); font-weight: 400; }
  .ref-categories a { border-radius: 0; border-color: var(--j-line); background: #fff; color: var(--j-ink); }
  .ref-categories a.active { background: var(--j-plum); border-color: var(--j-plum); color: #fff; }
  .ref-service-filters { border-radius: 0; border-color: var(--j-line); box-shadow: none; }
  .ref-service-filters button { border-radius: 0; color: var(--j-muted); font-family: var(--j-sans); font-weight: 500; letter-spacing: 0.2em; }
  .ref-service-filters button:hover { color: var(--j-violet); }
  .ref-service-filters button.is-active { background: var(--j-plum); color: #fff; box-shadow: none; }
  .ref-service-card__badge { background: var(--j-ivory); color: var(--j-violet); border-radius: 0; letter-spacing: 0.18em; }
  .ref-service-card a { color: var(--j-ink); }
  .ref-service-card__book,
  &[data-page="services"] #all-services .ref-service-card__book {
    background: var(--j-plum);
    border-color: var(--j-plum);
    border-radius: 0;
    color: #fff;
    font-family: var(--j-sans);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  &[data-page="services"] #all-services .ref-service-card__book:hover { background: var(--j-violet); }
  .ref-package-banner {
    background-image: linear-gradient(90deg, rgba(12, 36, 44, 0.92), rgba(20, 56, 64, 0.55), rgba(20, 56, 64, 0.05)), var(--banner);
  }
  .ref-empty-card { background: var(--j-paper); color: var(--j-plum); border-radius: 0; }
  .ref-detail__kicker { color: var(--j-violet); }
  .standard-related__category { background: var(--j-violet); border-radius: 0; letter-spacing: 0.16em; }

  /* ---------- Service detail ---------- */
  .standard-benefit-photo {
    background: linear-gradient(160deg, var(--j-violet) 0%, var(--j-plum) 55%, var(--j-night) 100%);
    color: #fff;
  }
  .standard-benefit-photo::after { background: linear-gradient(180deg, transparent 20%, rgba(12, 36, 44, 0.75) 100%); }
  .standard-benefit-photo__number { border-color: rgba(255, 255, 255, 0.4); color: #fff; background: transparent; }
  .standard-benefit-photo__copy small { color: var(--j-lilac); }
  .standard-benefit-photo h3,
  .ref-detail--standard .standard-benefit-photo h3 { color: #fff; font-family: var(--j-serif); font-weight: 400; }
  .standard-benefit-photo p { color: rgba(255, 255, 255, 0.78); }

  /* ---------- Shop ---------- */
  .shop-hero {
    background:
      linear-gradient(90deg, rgba(12, 36, 44, 0.94) 0%, rgba(20, 56, 64, 0.7) 48%, rgba(20, 56, 64, 0.1) 80%),
      url("../assets/images/joya/joya-oils.webp") center / cover;
    color: #fff;
  }
  .shop-hero :is(h1, h2) { color: #fff; font-family: var(--j-serif); font-weight: 300; letter-spacing: -0.02em; }
  .shop-hero p { color: rgba(255, 255, 255, 0.8); }
  .shop-hero__ship { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--j-line-light); border-radius: 0; color: #fff; }

  /* ---------- About ---------- */
  &[data-page="about"] .nav:not(.scrolled) .nav__link { color: var(--j-ink); }
  &[data-page="about"] .nav:not(.scrolled) :is(.nav__link:hover, .nav__link.active, .nav__link--active) { color: var(--j-violet); }
  .about-intro__seal {
    background: var(--j-plum);
    color: #fff;
    border: 1px solid rgba(217, 195, 228, 0.4);
    font-family: var(--j-serif);
    font-style: italic;
    letter-spacing: 0.04em;
  }
  .about-intro .section-label,
  .section-label { color: var(--j-violet); }
  .about-intro .section-title,
  .section-title { color: var(--j-ink); }
  .about-intro__content p { color: var(--j-muted); }
  .about-story__badge { color: var(--j-plum); }

  /* ---------- Egypt-inspired programs ---------- */
  &[data-page="pharaohs"] #offersPage .page-hero--pharaohs {
    background:
      radial-gradient(circle at 77% 34%, rgba(184, 146, 90, 0.2), transparent 26rem),
      linear-gradient(135deg, var(--j-night), var(--j-plum) 60%, var(--j-night));
  }
  &[data-page="pharaohs"] #offersPage .page-hero--pharaohs .page-hero__bg { border-color: var(--j-brass); }
  &[data-page="pharaohs"] #offersPage .page-hero--pharaohs .page-hero__overlay {
    background: linear-gradient(90deg, var(--j-night) 3%, rgba(12, 36, 44, 0.92) 42%, rgba(12, 36, 44, 0.1) 78%) !important;
  }
  &[data-page="pharaohs"] #offersPage .page-hero--pharaohs .page-hero__content { width: min(48%, 640px); min-width: 0; }
  &[data-page="pharaohs"] #offersPage .page-hero--pharaohs .page-hero__title {
    color: #f6ead2;
    font-size: clamp(46px, 5vw, 84px);
    line-height: 1;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  &[data-page="pharaohs"] #offersPage .page-hero--pharaohs .page-hero__label { color: var(--j-brass); }
  &[data-page="pharaohs"] #offersPage .offers-section--pharaohs-programs { background: var(--j-paper); }
  &[data-page="pharaohs"] #offersPage .offers-section--pharaohs-programs :is(.offer-featured, .offer-card) {
    background: linear-gradient(180deg, rgba(184, 146, 90, 0.1), transparent 40%), var(--j-night);
    border: 3px double var(--j-brass);
    color: #f3e8d2;
    box-shadow: 0 40px 80px -40px rgba(12, 36, 44, 0.6);
  }
  &[data-page="pharaohs"] #offersPage .offers-section--pharaohs-programs .offer-featured { border-radius: 110px 110px 8px 8px; }
  &[data-page="pharaohs"] #offersPage .offers-section--pharaohs-programs .offer-card { border-radius: 70px 70px 8px 8px; }
  &[data-page="pharaohs"] #offersPage .offers-section--pharaohs-programs :is(.offer-featured, .offer-card)::before { background: var(--j-night); border-color: var(--j-brass); color: var(--j-brass); }
  &[data-page="pharaohs"] #offersPage .offers-section--pharaohs-programs :is(.offer-featured h2, .offer-card__title, .offer-price__current) { color: #e4c48e; }
  &[data-page="pharaohs"] #offersPage .offers-section--pharaohs-programs .offer-card__tag { background: var(--j-violet); color: #fff; }
  &[data-page="pharaohs"] #offersPage .offers-section--pharaohs-programs .btn {
    background: linear-gradient(110deg, #a47d47, #dcbd88);
    border-color: var(--j-brass);
    color: var(--j-night);
  }
}

@keyframes joyaHeroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  html[data-theme] .joya.joya {
    .services--show-all .services-slider__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-combo-showcase .container { grid-template-columns: 1fr; }
    .home-combo-showcase__title { position: static; }
    .home-combo-showcase .section__desc,
    .home-combo-grid { grid-column: 1; grid-row: auto; }
    .commerce-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .commerce-category:nth-child(2) { border-inline-end: 0; }
    .commerce-category:nth-child(-n + 2) { border-bottom: 1px solid var(--j-line); }
  }
}

@media (max-width: 900px) {
  html[data-theme] .joya.joya {
    &[data-page="pharaohs"] #offersPage .page-hero--pharaohs .page-hero__content { width: 100%; }
    &[data-page="pharaohs"] #offersPage .offers-section--pharaohs-programs .offer-featured { border-radius: 70px 70px 8px 8px; }
    .hero.hero--storefront {
      min-height: 92svh;
      padding: calc(var(--solo-ticker-offset, 34px) + 120px) 22px 72px;
      align-items: flex-end;
    }
    .hero.hero--storefront .hero__bg,
    html[dir="rtl"] & .hero.hero--storefront .hero__bg {
      position: absolute;
      inset: 0;
      aspect-ratio: auto;
      max-height: none;
      border-radius: 0;
    }
    .hero.hero--storefront .hero__bg .hero__bg-img { object-position: 70% center; }
    .hero.hero--storefront .hero__gradient,
    html[dir="rtl"] & .hero.hero--storefront .hero__gradient {
      background: linear-gradient(180deg, rgba(12, 36, 44, 0.2) 0%, rgba(12, 36, 44, 0.35) 35%, rgba(12, 36, 44, 0.92) 100%);
    }
    .hero.hero--storefront .hero__content,
    html[dir="rtl"] & .hero.hero--storefront .hero__content {
      margin: 0;
      padding: 0;
      background: none;
      border: 0;
      box-shadow: none;
    }
    .hero.hero--storefront .hero__title,
    .hero.hero--storefront .hero__title .reveal-line { font-size: clamp(2.8rem, 12vw, 4.2rem); }
    .hero.hero--storefront .hero__subtitle { color: rgba(255, 255, 255, 0.85); font-size: 1rem; }
    .hero.hero--storefront .hero__eyebrow--store { background: none; backdrop-filter: none; color: var(--j-lilac); }
    .hero.hero--storefront .hero__scroll-indicator { display: none; }
    .hero.hero--storefront .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }

    .booking.section,
    html[dir="rtl"] & .booking.section {
      background: linear-gradient(180deg, var(--j-plum) 0%, var(--j-plum) 46%, var(--j-paper) 46%);
    }
    .home-story-stats-section .about__stat { border-inline-end: 0; border-bottom: 1px solid var(--j-line-light); padding-block: 18px; }
    .home-story-stats-section .about__stat:last-child { border-bottom: 0; }
  }
}

@media (max-width: 640px) {
  html[data-theme] .joya.joya {
    .services--show-all .services-slider__track { grid-template-columns: 1fr; }
    .home-combo-grid { grid-template-columns: 1fr; }
    .home-combo-card:nth-child(2) { margin-top: 0; }
    .commerce-categories { grid-template-columns: 1fr; }
    .commerce-category { border-inline-end: 0; border-bottom: 1px solid var(--j-line); }
    .hero.hero--storefront .hero__actions { flex-direction: column; align-items: stretch; }
    .hero.hero--storefront .hero__actions .btn { width: 100%; }
    .section__title { font-size: clamp(2.3rem, 10vw, 3rem); }
    .booking__form-wrap { margin-inline: -8px; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme] .joya.joya .hero.hero--storefront .hero__bg .hero__bg-img { animation: none; }
}

/* Shared layout repairs. Keep these after the legacy theme layers. */
html[data-theme] body.joya.joya .nav,
html[data-theme] body.joya.joya .nav.scrolled {
  /* Override the legacy mobile navigation inset marked !important. */
  inset-inline: 0;
  left: 0 !important;
  right: 0 !important;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  transform: none;
  gap: 20px;
}
html[data-theme] body.joya.joya .nav__logo { flex: 0 0 82px; }
html[data-theme] body.joya.joya .nav__right { flex: 0 0 auto; }
html[data-theme] body.joya.joya .nav__links { min-width: 0; }
html[data-theme] body.joya.joya .nav__link--book { color: #fff; }

/* Collapsed navigation is reserved for phones and tablets. */
@media (max-width: 1024px) {
  html[data-theme] body.joya.joya .nav__logo-mark,
  html[data-theme] body.joya.joya .nav__logo-mark .nav__logo-img {
    height: 64px;
    max-width: 124px;
  }
  html[data-theme] body.joya.joya .nav__links { display: none; }
  html[data-theme] body.joya.joya .nav__hamburger { display: flex; }
  html[data-theme] body.joya.joya .nav.nav--open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html[data-theme] body.joya.joya .nav__links.open {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: calc(var(--solo-ticker-offset, 34px) + 90px) 24px max(32px, env(safe-area-inset-bottom));
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    background: var(--j-ivory);
    z-index: 999;
    overscroll-behavior: contain;
  }
  html[data-theme] body.joya.joya .nav__links.open li { display: block; flex-shrink: 0; }
  html[data-theme] body.joya.joya .nav__links.open .nav__link {
    padding: 10px 18px;
    font-family: var(--j-sans);
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
    white-space: normal;
    text-align: center;
    color: var(--j-ink) !important;
  }
  html[data-theme] body.joya.joya .nav__links.open .nav__link--book {
    background: var(--j-plum);
    color: #fff !important;
    margin-block: 12px;
    border-radius: 0;
  }
  html[data-theme] body.joya.joya .nav.nav--open :is(.nav__logo, .nav__right) {
    position: relative;
    z-index: 1001;
  }
}

html[data-theme] body.joya.joya .service-detail__notfound {
  padding-block: calc(var(--solo-ticker-offset, 34px) + 130px) 80px;
  min-height: 55vh;
}
html[data-theme] body.joya.joya .service-detail__notfound p { margin-bottom: 24px; }

/* Packages use a light split hero; the generic photo-hero copy is white. */
html[data-theme] body.joya.joya[data-page="packages"] #offersPage .page-hero--packages .page-hero__desc {
  color: var(--j-muted) !important;
}
html[data-theme] body.joya.joya[data-page="packages"] #offersPage .page-hero--packages .page-hero__title {
  color: var(--j-ink);
}

html[data-theme] body.joya.joya :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--j-violet-2);
  outline-offset: 4px;
}
html[data-theme] body.joya.joya .form__group select { padding-inline-end: 32px; }
html[data-theme] body.joya.joya .form__group label { font-size: 0.75rem; letter-spacing: 0.12em; }
html[data-theme] body.joya.joya .booking__grid > * { min-width: 0; }

@media (max-width: 1024px) {
  /* Background belongs to each panel, so translated copy cannot cross a fixed color boundary. */
  html[data-theme] body.joya.joya .booking.section { background: var(--j-plum); }
  html[data-theme] body.joya.joya .booking__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  html[data-theme] body.joya.joya .booking__form-wrap { margin-inline: 0; }
}
@media (max-width: 640px) {
  html[data-theme] body.joya.joya .container { width: 100%; padding-inline: 20px; }
  html[data-theme] body.joya.joya .section { padding-block: 56px; }
  html[data-theme] body.joya.joya .booking__form-wrap { padding: 24px 18px; }
  html[data-theme] body.joya.joya .commerce-category-bar { padding-block: 32px 56px; }
  html[data-theme] body.joya.joya .home-combo-showcase { padding-block: 56px 32px; }
  html[data-theme] body.joya.joya .hero.hero--storefront .hero__eyebrow--store { letter-spacing: 0.18em; gap: 12px; }
  html[data-theme] body.joya.joya .hero.hero--storefront .hero__eyebrow--store::before { width: 24px; flex-shrink: 0; }
}

html[data-theme][lang="ar"] body.joya.joya :is(h1, h2, h3, h4, .btn, .nav__link, .section__label, label, .tab-btn) {
  letter-spacing: normal !important;
}
html[data-theme][lang="ar"] body.joya.joya :is(h1, h2, .hero__title .reveal-line) { line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
  html[data-theme] body.joya.joya *,
  html[data-theme] body.joya.joya *::before,
  html[data-theme] body.joya.joya *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Floating contact controls must not cover dialogs or their form fields. */
html[data-theme] body.joya:has(.modal.open, .nav--open, .cart-drawer.is-open) > .fab-stack {
  visibility: hidden;
  pointer-events: none;
}

/* Keep the full navigation visible on computers, allowing a second line on compact laptops. */
@media (min-width: 1025px) {
  html[data-theme] body.joya.joya .nav { padding-inline: clamp(16px, 2vw, 36px); gap: 16px; }
  html[data-theme] body.joya.joya .nav__links {
    display: flex;
    position: static;
    flex: 1 1 0%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px 4px;
    padding: 6px 0;
    background: transparent;
  }
  html[data-theme] body.joya.joya .nav__link {
    padding: 7px 6px;
    font-size: clamp(10px, 0.72vw, 12px);
    letter-spacing: 0.06em;
    line-height: 1.4;
  }
  html[data-theme] body.joya.joya .nav__hamburger { display: none; }
}
html[data-theme] body.joya.joya .home-combo-showcase__intro { min-width: 0; }
html[data-theme] body.joya.joya .home-combo-showcase__title { position: static; }
@media (max-width: 1100px) {
  html[data-theme] body.joya.joya .home-combo-grid { grid-row: auto; }
}

/* ---------- Red Sea Coastal Concierge & WhatsApp CTA ---------- */
html[data-theme] body.joya.joya .btn--whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #dfbea8 0%, #c89f84 55%, #b88a6b 100%);
  color: #0b2329;
  border: 1px solid #dfbea8;
  font-weight: 600;
  box-shadow: 0 18px 36px -18px rgba(200, 159, 132, 0.75);
}
html[data-theme] body.joya.joya .btn--whatsapp:hover {
  background: linear-gradient(135deg, #ebd0bd 0%, #d4ae94 55%, #c89f84 100%);
  color: #0b2329;
  border-color: #ebd0bd;
  transform: translateY(-2px);
}
html[data-theme] body.joya.joya .btn--whatsapp-lg {
  padding: 18px 34px;
  min-height: 60px;
  font-size: 0.8rem;
}

html[data-theme] body.joya.joya .redsea-concierge {
  position: relative;
  background:
    radial-gradient(640px 280px at 90% 10%, rgba(200, 159, 132, 0.16), transparent 65%),
    radial-gradient(520px 260px at 8% 90%, rgba(223, 190, 168, 0.12), transparent 65%),
    linear-gradient(160deg, #123840 0%, #0b2329 100%);
  color: #f7f1e5;
  padding-block: clamp(56px, 7vw, 88px);
  border-top: 1px solid rgba(200, 159, 132, 0.28);
  border-bottom: 1px solid rgba(200, 159, 132, 0.28);
}
html[data-theme] body.joya.joya .redsea-concierge__banner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  padding-bottom: clamp(32px, 4vw, 48px);
  margin-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid rgba(223, 190, 168, 0.2);
}
html[data-theme] body.joya.joya .redsea-concierge__intro { max-width: 680px; }
html[data-theme] body.joya.joya .redsea-concierge__intro .section__label {
  color: #dfbea8;
  margin-bottom: 14px;
}
html[data-theme] body.joya.joya .redsea-concierge__title {
  font-family: var(--j-serif);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.08;
  color: #f7f1e5;
  margin: 0 0 14px;
}
html[data-theme] body.joya.joya .redsea-concierge__desc {
  color: rgba(247, 241, 229, 0.84);
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0 0 22px;
}
html[data-theme] body.joya.joya .redsea-concierge__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
html[data-theme] body.joya.joya .redsea-concierge__perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dfbea8;
  font-size: 0.86rem;
  font-weight: 500;
}
html[data-theme] body.joya.joya .redsea-concierge__perks span { color: #c89f84; }

html[data-theme] body.joya.joya .redsea-destinations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
html[data-theme] body.joya.joya .redsea-dest-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: rgba(247, 241, 229, 0.045);
  border: 1px solid rgba(200, 159, 132, 0.28);
  transition: transform 0.45s var(--j-ease), border-color 0.45s var(--j-ease), background 0.45s var(--j-ease);
}
html[data-theme] body.joya.joya .redsea-dest-card:hover {
  transform: translateY(-4px);
  border-color: #dfbea8;
  background: rgba(247, 241, 229, 0.08);
}
html[data-theme] body.joya.joya .redsea-dest-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
html[data-theme] body.joya.joya .redsea-dest-card__num {
  font-family: var(--j-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: #c89f84;
  line-height: 1;
}
html[data-theme] body.joya.joya .redsea-dest-card__areas {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(223, 190, 168, 0.85);
}
html[data-theme] body.joya.joya .redsea-dest-card h3 {
  font-family: var(--j-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: #f7f1e5;
  margin: 0 0 10px;
}
html[data-theme] body.joya.joya .redsea-dest-card p {
  color: rgba(247, 241, 229, 0.76);
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 0 0 22px;
  flex: 1 1 auto;
}
html[data-theme] body.joya.joya .redsea-dest-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(200, 159, 132, 0.24);
  color: #dfbea8;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
html[data-theme] body.joya.joya .redsea-dest-card__link:hover { color: #f7f1e5; }
html[data-theme][lang="ar"] body.joya.joya .redsea-dest-card__areas,
html[data-theme][lang="ar"] body.joya.joya .redsea-dest-card__link {
  letter-spacing: normal;
  text-transform: none;
}
@media (max-width: 900px) {
  html[data-theme] body.joya.joya .redsea-destinations { grid-template-columns: 1fr; }
}
