/* === reset.css === */
/* ══════════════════════════════════════════
   1. RESET & BASE
   ══════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--rx-scroll-padding-top, 5rem);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--rx-font-body);
  background-color: var(--rx-dark);
  color: var(--rx-cream);
  line-height: var(--rx-type-body-line, 1.7);
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--rx-duration) var(--rx-ease);
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ══════════════════════════════════════════
   2. TYPOGRAPHY
   ══════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--rx-font-heading);
  line-height: 1.1;
  color: var(--rx-type-heading-color, var(--rx-cream));
}

em {
  font-style: italic;
  color: var(--rx-gold);
}

.rx-logo-text {
  font-family: var(--rx-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--rx-cream);
  letter-spacing: -0.02em;
}

.rx-logo-text em {
  color: var(--rx-accent);
  font-style: normal;
}

/* === animations.css === */
/* ══════════════════════════════════════════
   13. DIEGO MOTION SYSTEM
   ══════════════════════════════════════════ */

/* Clip Reveal */
.rx-anim-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--rx-ease-out);
  will-change: clip-path;
}

.rx-anim-clip.rx-revealed {
  clip-path: inset(0 0 0% 0);
}

/* Fade Up */
.rx-anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--rx-ease-out),
    transform 0.8s var(--rx-ease-out);
  will-change: opacity, transform;
}

.rx-anim-fade-up.rx-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Counter Animation */
.rx-counter span {
  font-size: 0.6em;
  vertical-align: super;
}

/* === utilities.css === */
/* ══════════════════════════════════════════
   REELSXPRESS — Global Utilities
   ══════════════════════════════════════════ */

/* ─── CONTAINER ─── */
.rx-container {
  width: 100%;
  max-width: var(--rx-container-max, 1320px);
  margin-inline: auto;
  padding-inline: var(--rx-page-gutter, 20px);
  position: relative;
}

/* ─── SECTION SPACING ─── */
.rx-section-spacing {
  padding-block: var(--rx-section-space-y);
}

/* ─── DISPLAY & LAYOUT ─── */
.d-flex {
  display: flex !important;
}

.d-none {
  display: none !important;
}

.justify-content-center {
  justify-content: center !important;
}

.align-items-center {
  align-items: center !important;
}

.p-relative {
  position: relative !important;
}

.w-100 {
  width: 100% !important;
}

/* ─── TYPOGRAPHY ─── */
.text-center {
  text-align: center !important;
}

/* ─── SPACING UTILITIES (Diego/Legacy Compatibility) ─── */
.mb-50 {
  margin-bottom: 50px !important;
}

.mb-60 {
  margin-bottom: 60px !important;
}

.mb-170 {
  margin-bottom: 170px !important;
}

.pt-100 {
  padding-top: 100px !important;
}

.pb-195 {
  padding-bottom: 195px !important;
}

.pl-70 {
  padding-left: 70px !important;
}

.pr-70 {
  padding-right: 70px !important;
}

/* ─── Z-INDEX ─── */
.z-index-1 {
  z-index: 1 !important;
  position: relative;
}

/* ─── MISC ─── */
/* ─── MISC / BACKGROUNDS ─── */
.rx-dark-bg,
.black-bg-3 {
  background-color: var(--rx-dark) !important;
}

.rx-dark-bg-2 {
  background-color: var(--rx-dark-2) !important;
}

.rx-vh-section {
  min-height: 100dvh;
  padding-block: var(--rx-section-space-y);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === buttons.css === */
/* ══════════════════════════════════════════
   3. BUTTONS
   ══════════════════════════════════════════ */
.rx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rx-font-body);
  font-size: var(--rx-type-ui-size, 0.875rem);
  font-weight: 500;
  letter-spacing: calc(var(--rx-type-ui-track, 0.04em) + 0.01em);
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition:
    background var(--rx-duration) var(--rx-ease),
    color var(--rx-duration) var(--rx-ease),
    border-color var(--rx-duration) var(--rx-ease),
    transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.rx-btn:hover {
  transform: translateY(-2px);
}

.rx-btn--primary {
  background: var(--rx-accent);
  color: var(--rx-white);
  border: 1.5px solid var(--rx-accent);
}

.rx-btn--primary:hover {
  background: var(--rx-accent-2);
  border-color: var(--rx-accent-2);
}

.rx-btn--outline {
  background: transparent;
  color: var(--rx-cream);
  border: 1.5px solid var(--rx-border);
}

.rx-btn--outline:hover {
  border-color: var(--rx-cream);
}

/* ══════════════════════════════════════════
   5. CURSOR
   ══════════════════════════════════════════ */
.rx-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
}

.rx-cursor__dot {
  width: 10px;
  height: 10px;
  background: var(--rx-cream);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s var(--rx-ease),
    width 0.3s var(--rx-ease),
    height 0.3s var(--rx-ease);
}

body.rx-cursor-hover .rx-cursor__dot {
  width: 40px;
  height: 40px;
  background: var(--rx-accent);
}

@media (hover: none) {
  .rx-cursor {
    display: none;
  }
}

/* ══════════════════════════════════════════
   6. BACK TO TOP
   ══════════════════════════════════════════ */
.rx-back-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--rx-border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rx-cream);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.rx-back-top.rx-back-top--visible {
  opacity: 1;
  visibility: visible;
  animation: rxSlideInRight 0.4s ease forwards;
}

.rx-back-top:hover {
  background: var(--rx-accent);
  border-color: var(--rx-accent);
}

.rx-skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10060;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--rx-accent);
  color: var(--rx-white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transform: translateY(calc(-100% - 1rem));
  transition: transform 0.2s var(--rx-ease);
}

.rx-skip-link:focus,
.rx-skip-link:focus-visible {
  transform: translateY(0);
}

/* === header.css === */
/* ══════════════════════════════════════════
   OFFCANVAS MENU
   ══════════════════════════════════════════ */
.rx-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 10001;
  /* above header and sticky clone */
  display: flex;
  pointer-events: none;
  visibility: hidden;
}

.rx-offcanvas.rx-offcanvas--open {
  pointer-events: all;
  visibility: visible;
}

.rx-offcanvas__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.rx-offcanvas--open .rx-offcanvas__overlay {
  opacity: 1;
}

.rx-offcanvas__panel {
  display: flex;
  margin-left: auto;
  width: 100%;
  max-width: 900px;
  height: 100%;
  transform: translateX(100%);
  transition: transform 0.6s var(--rx-ease-out);
}

.rx-offcanvas--open .rx-offcanvas__panel {
  transform: translateX(0);
}

.rx-offcanvas__left {
  flex: 1;
  background: var(--rx-dark-2);
  display: flex;
  flex-direction: column;
  padding: 48px;
  overflow-y: auto;
}

.rx-offcanvas__right {
  width: 320px;
  background: var(--rx-dark-3);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rx-offcanvas__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.rx-offcanvas__close {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 48px;
  min-height: 48px;
  color: var(--rx-muted);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.rx-offcanvas__close:hover {
  color: var(--rx-cream);
}

.rx-offcanvas__menu {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rx-nav__item {
  border-bottom: 1px solid var(--rx-border);
}

.rx-nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-family: var(--rx-font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  color: var(--rx-muted);
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.rx-nav__link:hover {
  color: var(--rx-cream);
  padding-left: 12px;
}

.rx-nav__arrow {
  transition: transform 0.3s ease;
}

.rx-nav__item.has-dropdown:hover .rx-nav__arrow {
  transform: rotate(180deg);
}

.rx-nav__item.has-dropdown.is-open .rx-nav__arrow {
  transform: rotate(180deg);
}

.rx-submenu {
  display: none;
  padding: 0 0 16px 20px;
}

.rx-nav__item.has-dropdown:hover .rx-submenu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rx-nav__item.has-dropdown.is-open .rx-submenu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rx-submenu .rx-nav__link {
  font-size: 18px;
  padding: 8px 0;
}

/* PILL BUTTONS (Diego Style) */
.rx-btn--pill {
  border-radius: 100px;
  padding: 16px 36px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
  transition:
    color 0.3s var(--rx-ease-out),
    background-color 0.3s var(--rx-ease-out),
    border-color 0.3s var(--rx-ease-out),
    opacity 0.3s var(--rx-ease-out),
    transform 0.3s var(--rx-ease-out),
    box-shadow 0.3s var(--rx-ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.rx-btn--pill.rx-btn--primary {
  background: var(--rx-accent);
  color: var(--rx-white);
}

.rx-btn--pill.rx-btn--primary:hover {
  background: var(--rx-white);
  color: var(--rx-dark);
  transform: translateY(-3px);
}

.rx-btn--pill.rx-btn--outline {
  background: transparent;
  border: 1.5px solid var(--rx-white);
  color: var(--rx-white);
}

.rx-btn--pill.rx-btn--outline:hover {
  background: var(--rx-white);
  color: var(--rx-dark);
  transform: translateY(-3px);
}

.rx-offcanvas__info {
  margin-top: 60px;
}

.rx-offcanvas__phone a,
.rx-offcanvas__email a {
  display: block;
  font-size: 16px;
  color: var(--rx-cream);
  margin-bottom: 8px;
}

.rx-offcanvas__tagline {
  margin-top: 24px;
  font-family: var(--rx-font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--rx-gold);
}

.rx-offcanvas__socials ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rx-offcanvas__socials a {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rx-muted);
  transition: color 0.3s ease;
}

.rx-offcanvas__socials a:hover {
  color: var(--rx-cream);
}

.rx-offcanvas__close-right {
  display: flex;
  justify-content: flex-end;
}

/* ══════════════════════════════════════════
   SOCIAL SIDEBAR (Desktop fixed)
   ══════════════════════════════════════════ */
.rx-social-sidebar {
  position: fixed;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 300;
}

.rx-social-sidebar a {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rx-muted);
  writing-mode: vertical-rl;
  transition: color 0.3s ease;
}

.rx-social-sidebar a:hover {
  color: var(--rx-cream);
}

@media (max-width: 1200px) {
  .rx-social-sidebar {
    display: none;
  }
}

/* ══════════════════════════════════════════
   HEADER — Base
   ══════════════════════════════════════════ */
.rx-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* High z-index needed to stay above PagePiling sections which use transform3d stacking contexts */
  z-index: 9999;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.rx-header--transparent {
  background: transparent;
}

/* ── Border accent (Diego: .tp-header-border) ── */
.rx-header__border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.rx-header--transparent .rx-header__border {
  opacity: 1;
}

.rx-header--scrolled .rx-header__border,
.rx-header--cloned .rx-header__border {
  opacity: 0;
}

/* ── Sticky / Cloned states ── */
.rx-header--scrolled,
.rx-header--cloned {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease,
    visibility 0.6s ease;
}

/* Cloned: fixed, starts above viewport */
.rx-header--cloned {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  /* above primary header (9999) */
  transform: translateY(-100%);
  visibility: hidden;
}

.rx-header--cloned.rx-header--pinned {
  transform: translateY(0%);
  visibility: visible;
}

/* ══════════════════════════════════════════
   HEADER — Inner 3-Column Layout
   (Diego: logo | centre-nav | right-actions)
   ══════════════════════════════════════════ */
.rx-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--rx-container-wide);
  margin: 0 auto;
  padding: 16px 24px;
  transition: padding 0.4s ease;
}

@media (max-width: 767px) {
  .rx-header__inner {
    padding: 8px 16px;
  }
}

@media (min-width: 1024px) {
  .rx-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 24px 32px;
  }
}

/* Compact padding when sticky/scrolled */
.rx-header--scrolled .rx-header__inner,
.rx-header--cloned .rx-header__inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Logo — first column, left-aligned */
.rx-header__logo {
  justify-self: start;
}

.rx-header__logo a {
  display: inline-flex;
  align-items: center;
}

.rx-header__logo img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

@media (max-width: 767px) {
  .rx-header__logo img {
    height: 24px;
  }
}

.rx-header__logo a:hover img {
  opacity: 0.8;
}

.rx-logo-text {
  font-family: var(--rx-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--rx-cream);
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .rx-logo-text {
    font-size: 17px;
  }
}

/* ══════════════════════════════════════════
   HEADER — Desktop Centre Nav
   (Diego: .main-menu.header-menu-main)
   ══════════════════════════════════════════ */
.rx-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide desktop nav below 1024px */
@media (max-width: 1023px) {
  .rx-header__nav {
    display: none;
  }
}

/* Menu list */
.rx-header__menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Menu items */
.rx-header__menu>li {
  position: relative;
}

/* Menu links */
.rx-header__menu>li>a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  font-family: var(--rx-font-body);
  font-size: var(--rx-type-ui-size, 0.875rem);
  font-weight: 500;
  letter-spacing: var(--rx-type-ui-track, 0.04em);
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
  white-space: nowrap;
  position: relative;
}

/* Underline grow on hover (Diego style) */
.rx-header__menu>li>a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--rx-accent, #c9aa71);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.rx-header__menu>li>a:hover,
.rx-header__menu>li.current-menu-item>a,
.rx-header__menu>li.current_page_item>a,
.rx-header__menu>li.active>a {
  color: var(--rx-cream, #f5f0e8);
}

.rx-header__menu>li>a:hover::after,
.rx-header__menu>li.current-menu-item>a::after,
.rx-header__menu>li.current_page_item>a::after,
.rx-header__menu>li.active>a::after,
.rx-header__menu>li.rx-nav-active>a::after {
  transform: scaleX(1);
}

/* Active anchor highlight injected by JS */
.rx-header__menu>li.rx-nav-active>a {
  color: var(--rx-cream, #f5f0e8);
}

/* ── Dropdown submenu ── */
.rx-header__menu>li.menu-item-has-children>a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 4px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.rx-header__menu>li.menu-item-has-children:hover>a::before {
  transform: rotate(180deg);
}

/* Submenu */
.rx-header__menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 100;
}

.rx-header__menu>li.menu-item-has-children:hover>.sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.rx-header__menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: var(--rx-type-ui-sm-size, 0.8125rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}

.rx-header__menu .sub-menu li a:hover {
  color: var(--rx-cream);
  padding-left: 28px;
}

/* ══════════════════════════════════════════
   HEADER — Right Actions
   ══════════════════════════════════════════ */
.rx-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

/* CTA button */
.rx-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: var(--rx-type-ui-sm-size, 0.8125rem);
  font-weight: 600;
  letter-spacing: calc(var(--rx-type-ui-track, 0.04em) + 0.01em);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  color: var(--rx-cream);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.rx-header__cta:hover {
  background: var(--rx-cream);
  border-color: var(--rx-cream);
  color: var(--rx-dark);
  transform: translateY(-2px);
}

/* Hide CTA on mobile (< 768px) */
@media (max-width: 767px) {
  .rx-header__cta {
    display: none;
  }
}

/* Hamburger */
.rx-header__bar {
  color: var(--rx-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  transition: opacity 0.3s ease;
}

.rx-header__bar:hover {
  opacity: 0.65;
}

/* ══════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════ */
.d-none {
  display: none;
}

/* === footer.css === */
/* ══════════════════════════════════════════
   19. FOOTER
   ══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   19. FOOTER (Fashion Designer Style)
   ══════════════════════════════════════════ */
.rx-footer--minimal {
  padding: 0;
  border-top: none;
  color: var(--rx-white);
  background-color: var(--rx-site-bg, var(--rx-dark));
}

/* Utility row: quick links + contact actions */
.rx-footer__utility {
  padding: 52px 0 30px;
  border-top: 1px solid var(--rx-border);
  background: var(--rx-site-bg, var(--rx-dark));
}

.rx-footer__mobile-panels {
  display: none;
}

.rx-footer__utility-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.7fr) auto;
  gap: 28px;
  align-items: start;
}

.rx-footer__brand-name {
  display: inline-block;
  font-family: var(--rx-font-heading);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rx-cream);
}

.rx-footer__menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.rx-footer__menu li {
  min-width: 0;
}

.rx-footer__menu a {
  display: inline-flex;
  align-items: center;
  min-height: 47px;
  font-size: var(--rx-type-ui-size, 0.875rem);
  line-height: 1.4;
  letter-spacing: var(--rx-type-ui-track, 0.04em);
  color: var(--rx-muted);
  transition:
    color 0.25s var(--rx-ease),
    transform 0.25s var(--rx-ease);
}

.rx-footer__menu a:hover,
.rx-footer__menu a:focus-visible {
  color: var(--rx-cream);
  transform: translateX(2px);
}

.rx-footer__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rx-footer__chip {
  min-height: 68px;
  border: 1px solid var(--rx-home-surface-border);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--rx-home-surface-fill-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  color: var(--rx-cream);
  transition:
    border-color 0.25s var(--rx-ease),
    background-color 0.25s var(--rx-ease),
    transform 0.25s var(--rx-ease);
}

.rx-footer__chip span {
  font-size: var(--rx-type-caption-size, 0.68rem);
  font-weight: var(--rx-type-caption-weight, 500);
  letter-spacing: var(--rx-type-caption-track, 0.08em);
  text-transform: uppercase;
  color: var(--rx-muted);
}

.rx-footer__chip strong {
  display: block;
  font-size: var(--rx-type-body-compact-size, 1rem);
  font-weight: 600;
  line-height: var(--rx-type-body-compact-line, 1.62);
  overflow-wrap: anywhere;
}

.rx-footer__chip:hover,
.rx-footer__chip:focus-visible {
  border-color: color-mix(in srgb, var(--rx-accent) 40%, var(--rx-border));
  background: color-mix(in srgb, var(--rx-accent) 8%, var(--rx-home-pill-fill));
  transform: translateY(-2px);
}

.rx-footer__top-wrap {
  display: flex;
  justify-content: flex-end;
}

.rx-footer__top {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rx-home-pill-border);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--rx-home-control-fill);
  font-size: var(--rx-type-meta-size, 0.72rem);
  font-weight: var(--rx-type-meta-weight, 600);
  letter-spacing: var(--rx-type-meta-track, 0.12em);
  text-transform: uppercase;
  color: var(--rx-muted);
  transition:
    border-color 0.25s var(--rx-ease),
    color 0.25s var(--rx-ease),
    background-color 0.25s var(--rx-ease);
}

.rx-footer__top:hover,
.rx-footer__top:focus-visible {
  border-color: color-mix(in srgb, var(--rx-accent) 40%, var(--rx-border));
  color: var(--rx-cream);
  background: color-mix(in srgb,
      var(--rx-accent) 8%,
      var(--rx-site-bg, var(--rx-dark)));
}

/* [Row 1] Social Updates */
.rx-footer__updates {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--rx-border);
  background: var(--rx-site-bg, var(--rx-dark));
}

.rx-footer__updates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.rx-footer__update-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid color-mix(in srgb, var(--rx-white) 15%, transparent);
  padding-left: 20px;
}

.rx-footer__update-label {
  font-size: var(--rx-type-caption-size, 0.68rem);
  letter-spacing: calc(var(--rx-type-caption-track, 0.08em) + 0.04em);
  text-transform: uppercase;
  color: var(--rx-muted);
  font-weight: 500;
}

.rx-footer__update-link {
  font-family: var(--rx-font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--rx-cream);
  display: flex;
  align-items: center;
  min-height: 47px;
  gap: 10px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.rx-footer__update-link span {
  font-size: 18px;
  opacity: 0.5;
}

.rx-footer__update-link:hover {
  color: var(--rx-white);
  transform: translateX(3px);
}

/* [Row 2] Reels Grid */
.rx-footer__reels {
  padding: 60px 0;
  background: var(--rx-site-bg, var(--rx-dark));
}

.rx-footer__reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.rx-footer__reel-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: var(--rx-site-bg, var(--rx-dark));
}

.rx-footer__reel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.rx-footer__reel-item:hover img {
  opacity: 1; /* Retain hover but no scale */
}

.rx-footer__reel-placeholder {
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--rx-white) 3%, transparent);
}

/* [Row 3] Bottom Bar */
.rx-footer__bottom {
  padding: 40px 0;
  border-top: 1px solid var(--rx-border);
  background: var(--rx-site-bg, var(--rx-dark));
}

.rx-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--rx-muted);
}

.rx-footer__copy {
  font-style: italic;
}

.rx-footer__contact a {
  color: inherit;
  transition: color 0.3s;
}

.rx-footer__contact a:hover {
  color: var(--rx-cream);
}

.rx-footer__note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--rx-muted);
  text-align: center;
}

@media (max-width: 1200px) {
  .rx-footer__utility-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }

  .rx-footer__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rx-footer__top-wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .rx-footer__utility {
    padding: 38px 0 24px;
  }

  .rx-footer__utility-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rx-footer__menu {
    grid-template-columns: 1fr 1fr;
  }

  .rx-footer__actions {
    grid-template-columns: 1fr;
  }

  .rx-footer__chip {
    min-height: 62px;
  }

  .rx-footer__note {
    margin-top: 14px;
    text-align: center;
  }
}

/* Home Instagram Viewport Section */
.rx-home-instagram {
  display: flex;
  align-items: center;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  position: relative;
}

.rx-home-instagram__head {
  text-align: center;
  margin-bottom: 44px;
}

.rx-home-instagram__title {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.rx-home-instagram .rx-footer__updates {
  padding: 0;
  border-bottom: 0;
}

.rx-home-instagram__gallery {
  padding: 0 0 34px;
}

.rx-home-instagram .rx-footer__reels-grid {
  grid-template-columns: repeat(var(--rx-gallery-cols, 4), minmax(0, 1fr));
}

.rx-home-instagram .rx-footer__reels-grid--cols-4 {
  --rx-gallery-cols: 4;
}

@media (max-width: 991px) {
  .rx-home-instagram__head {
    margin-bottom: 30px;
  }

  .rx-home-instagram__gallery {
    padding: 0 0 24px;
  }

  .rx-home-instagram .rx-footer__reels-grid {
    --rx-gallery-cols: 2;
    gap: 14px;
  }

  .rx-home-instagram .rx-footer__updates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .rx-home-instagram .rx-footer__update-item {
    gap: 10px;
    padding-left: 14px;
  }

  .rx-home-instagram .rx-footer__update-link {
    font-size: clamp(22px, 4.2vw, 30px);
  }
}

@media (max-width: 767px) {
  .rx-home-instagram {
    padding-top: clamp(2.5rem, 8vw, 3.25rem);
    padding-bottom: clamp(2.5rem, 8vw, 3.25rem);
  }

  .rx-home-instagram .rx-footer__reels-grid {
    --rx-gallery-cols: 2;
    gap: 10px;
  }

  .rx-home-instagram .rx-footer__updates-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rx-home-instagram .rx-footer__update-item {
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--rx-white) 15%, transparent);
    padding-left: 0;
    padding-top: 12px;
  }

  .rx-home-instagram .rx-footer__update-link {
    font-size: clamp(20px, 7vw, 26px);
  }
}

/* Floating WhatsApp Support */
.rx-wa-float {
  --rx-wa-float-primary: #25d366;
  --rx-wa-float-hover: #1ebe5d;
  --rx-wa-float-surface: #0d1f16;
  --rx-wa-float-text: #ffffff;
  position: fixed;
  right: clamp(0.625rem, 1.5vw, 1.25rem);
  top: auto;
  bottom: clamp(0.75rem, 1.8vw, 1.35rem);
  transform: none;
  z-index: 10020;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.rx-wa-float__popup {
  position: absolute;
  right: calc(100% + 0.625rem);
  bottom: 0;
  width: min(90vw, 320px);
  padding: 0.95rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--rx-wa-float-primary) 28%, transparent);
  background:
    radial-gradient(circle at 100% 0,
      color-mix(in srgb, var(--rx-wa-float-primary) 26%, transparent),
      transparent 45%),
    color-mix(in srgb, var(--rx-wa-float-surface) 92%, transparent);
  box-shadow:
    0 16px 40px color-mix(in srgb, var(--rx-wa-float-primary) 22%, transparent),
    0 2px 0 color-mix(in srgb, var(--rx-wa-float-primary) 32%, transparent) inset;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition:
    opacity 0.25s var(--rx-ease, ease),
    transform 0.25s var(--rx-ease, ease);
}

.rx-wa-float__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.42rem;
}

.rx-wa-float__heading {
  margin: 0;
  color: var(--rx-wa-float-text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.rx-wa-float__status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--rx-wa-float-text) 96%, transparent);
  border: 1px solid color-mix(in srgb, var(--rx-wa-float-primary) 38%, transparent);
  background: color-mix(in srgb, var(--rx-wa-float-primary) 18%, transparent);
}

.rx-wa-float__subtext {
  margin: 0 0 0.6rem;
  color: color-mix(in srgb, var(--rx-wa-float-text) 80%, transparent);
  font-size: 0.8rem;
  line-height: 1.45;
}

.rx-wa-float__meta {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  line-height: 1.35;
  color: color-mix(in srgb, var(--rx-wa-float-text) 76%, transparent);
}

.rx-wa-float__list {
  margin: 0 0 0.62rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.rx-wa-float__list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--rx-wa-float-text) 88%, transparent);
}

.rx-wa-float__list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.45rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--rx-wa-float-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rx-wa-float-primary) 20%, transparent);
}

.rx-wa-float__prefill {
  margin: 0 0 0.6rem;
  padding: 0.52rem 0.6rem;
  border-radius: 9px;
  background: color-mix(in srgb, var(--rx-wa-float-primary) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--rx-wa-float-primary) 30%, transparent);
}

.rx-wa-float__prefill-text {
  display: block;
  font-size: 0.72rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--rx-wa-float-text) 94%, transparent);
}

.rx-wa-float__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.rx-wa-float__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--rx-wa-float-primary);
  color: var(--rx-wa-float-text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.rx-wa-float__cta:hover {
  background: var(--rx-wa-float-hover);
  color: var(--rx-wa-float-text);
}

.rx-wa-float__cta--ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--rx-wa-float-text) 28%, transparent);
  color: color-mix(in srgb, var(--rx-wa-float-text) 90%, transparent);
  min-width: 4.65rem;
}

.rx-wa-float__cta--ghost:hover {
  background: color-mix(in srgb, var(--rx-wa-float-text) 12%, transparent);
  border-color: color-mix(in srgb, var(--rx-wa-float-text) 44%, transparent);
  color: var(--rx-wa-float-text);
}

.rx-wa-float__bubble {
  position: relative;
  z-index: 1;
  width: clamp(47px, 4.5vw, 3.15rem);
  height: clamp(47px, 4.5vw, 3.15rem);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 12px 28px color-mix(in srgb, #25d366 28%, transparent);
  flex-shrink: 0;
}

.rx-wa-float__bubble:hover {
  background: #1ebe5d;
  color: #ffffff;
}

.rx-wa-float:hover .rx-wa-float__popup,
.rx-wa-float:focus-within .rx-wa-float__popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

@media (max-width: 767px) {
  .rx-wa-float {
    right: 0.85rem;
    bottom: 0.9rem;
  }

  .rx-wa-float__popup {
    position: absolute;
    right: calc(100% + 0.55rem);
    bottom: 0;
    transform: translateX(8px);
    width: min(82vw, 300px);
  }

  .rx-wa-float__actions {
    grid-template-columns: 1fr;
  }

  .rx-wa-float__cta {
    min-height: 47px;
  }

  .rx-wa-float__bubble {
    width: 47px;
    height: 47px;
  }
}

@media (max-width: 767px) {
  .rx-wa-float--hide-mobile {
    display: none;
  }
}

/* -------------------------------------------------------
   Footer Tagline and Menu Adjustments
   ------------------------------------------------------- */
.rx-footer__tagline {
  padding-block: clamp(1rem, 2.3vw, 1.8rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rx-footer__tagline-text {
  margin: 0;
  font-family: var(--rx-font-heading);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--rx-cream);
}

.rx-footer__tagline-text em {
  font-style: italic;
  color: color-mix(in srgb, var(--rx-accent) 78%, var(--rx-cream));
}

.rx-footer__utility {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.1rem, 2vw, 1.8rem);
}

.rx-footer__utility-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.45fr) auto;
  gap: clamp(0.95rem, 2vw, 1.6rem);
  align-items: center;
}

.rx-footer__brand-name {
  font-size: clamp(2.3rem, 4.4vw, 3.55rem);
  line-height: 0.95;
}

.rx-footer__menu {
  gap: 0.4rem 1rem;
}

.rx-footer__menu a {
  min-height: 47px;
  font-size: clamp(0.94rem, 0.35vw + 0.9rem, 1.02rem);
  color: rgba(255, 255, 255, 0.76);
}

.rx-footer__actions {
  grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
  gap: 0.65rem;
}

.rx-footer__chip {
  min-height: 4.35rem;
  border-radius: 0.85rem;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.015);
  padding: 0.65rem 0.75rem;
}

.rx-footer__chip span {
  font-size: var(--rx-type-caption-size, 0.68rem);
  font-weight: var(--rx-type-caption-weight, 500);
  letter-spacing: var(--rx-type-caption-track, 0.08em);
  color: rgba(255, 255, 255, 0.62);
}

.rx-footer__chip strong {
  font-size: var(--rx-type-body-size, 1.05rem);
  line-height: var(--rx-type-body-compact-line, 1.62);
}

.rx-footer__top {
  min-height: 47px;
  padding-inline: 1rem;
  font-size: var(--rx-type-meta-size, 0.72rem);
  letter-spacing: var(--rx-type-meta-track, 0.12em);
}

.rx-footer__note {
  margin-top: 0.95rem;
  text-align: left;
}

.rx-footer__bottom {
  padding: clamp(0.9rem, 1.8vw, 1.5rem) 0;
}

.rx-footer__bottom-inner {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 61.9375rem) {
  .rx-footer__utility-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .rx-footer__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rx-footer__top-wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 47.9375rem) {
  .rx-footer__tagline-text {
    font-size: clamp(1.65rem, 7.5vw, 2.25rem);
  }

  .rx-footer__mobile-panels {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1rem;
  }

  .rx-footer__mobile-panel {
    padding: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.006);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
  }

  .rx-footer__mobile-panel-kicker {
    display: inline-block;
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: var(--rx-type-kicker-size, 0.72rem);
    font-weight: var(--rx-type-kicker-weight, 600);
    letter-spacing: calc(var(--rx-type-kicker-track, 0.14em) + 0.02em);
    text-transform: uppercase;
    line-height: 1.2;
  }

  .rx-footer__mobile-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .rx-footer__top--mobile-panel {
    width: 3.35rem;
    min-width: 3.35rem;
    min-height: 3.35rem;
    padding: 0;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.02);
  }

  .rx-footer__updates-grid--mobile-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .rx-footer__mobile-panel--updates .rx-footer__update-item {
    gap: 0.42rem;
    padding: 0.8rem 0 0.8rem 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .rx-footer__mobile-panel--updates .rx-footer__update-item + .rx-footer__update-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .rx-footer__mobile-panel--updates .rx-footer__update-link {
    min-height: 0;
    font-size: clamp(2rem, 9vw, 2.5rem);
    line-height: 1.04;
  }

  .rx-footer__mobile-panel--updates .rx-footer__update-link span {
    font-size: 0.95rem;
  }

  .rx-footer__mobile-contact-list {
    display: grid;
    gap: 0;
  }

  .rx-footer__mobile-contact {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 0.1rem;
    color: var(--rx-cream);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .rx-footer__mobile-contact:last-child {
    border-bottom: 0;
    padding-bottom: 0.1rem;
  }

  .rx-footer__mobile-contact-icon {
    flex-shrink: 0;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.065);
    background: rgba(255, 255, 255, 0.008);
    color: var(--rx-cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .rx-footer__mobile-contact-meta {
    display: grid;
    gap: 0.16rem;
    min-width: 0;
  }

  .rx-footer__mobile-contact-meta small {
    font-size: var(--rx-type-caption-size, 0.68rem);
    font-weight: var(--rx-type-meta-weight, 600);
    letter-spacing: var(--rx-type-meta-track, 0.08em);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
  }

  .rx-footer__mobile-contact-meta strong {
    font-size: var(--rx-type-body-size, 1rem);
    font-weight: 600;
    line-height: var(--rx-type-body-compact-line, 1.62);
    color: var(--rx-cream);
    overflow-wrap: anywhere;
  }

  .rx-footer__utility-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rx-footer__utility-grid > .rx-footer__actions,
  .rx-footer__utility-grid > .rx-footer__top-wrap {
    display: none;
  }

  .rx-footer__menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rx-footer__menu a,
  .rx-footer__top,
  .rx-footer__update-link {
    min-height: 47px;
  }

  .rx-footer__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .rx-footer__top {
    width: 100%;
  }

  .rx-footer__mobile-panel-head .rx-footer__top--mobile-panel {
    width: 3.35rem;
    flex: 0 0 3.35rem;
  }

  .rx-footer__note {
    text-align: center;
  }

  .rx-footer__bottom-inner {
    flex-direction: column;
    gap: 0.45rem;
    text-align: center;
  }

  .rx-footer__contact {
    display: none;
  }
}
