/* ==========================================================================
   PRESTIGE BEAUTY — PRODUCTION STYLESHEET
   Fully responsive, touch-first, high-performance styling.
   ========================================================================== */

/* ============================================
   1. RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  line-height: 1.7;
  font-size: var(--fs-body);
  transition: font-family 0.25s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, p, a, button, li {
  letter-spacing: normal;
  overflow-wrap: break-word;
}

svg {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  flex-shrink: 0;
}

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

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   2. DESIGN TOKENS (CSS VARIABLES)
   ============================================ */
:root {
  /* Brand Color Palette */
  --magenta:        #C9207B;
  --magenta-dark:   #9A1861;
  --magenta-light:  #E85AA6;
  --plum:           #6D346B;
  --plum-dark:      #4A2249;
  --plum-deep:      #210F27;
  --chrome:         #B9B9B9;
  --chrome-light:   #EBEBEB;
  --paper:          #FFFDFC;
  --blush:          #FBF2F7;
  --ink:            #241125;
  --ink-soft:       #71607A;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--magenta) 0%, var(--plum) 100%);
  --gradient-dark:  linear-gradient(135deg, var(--plum-dark) 0%, var(--plum-deep) 100%);

  /* Font Families */
  --font-en:        'Poppins', sans-serif;
  --font-en-body:   'Inter', sans-serif;
  --font-ar:        'Cairo', sans-serif;

  /* Spacing Scale (strict 8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
  --space-xs:  var(--space-1);
  --space-sm:  var(--space-2);
  --space-md:  var(--space-3);
  --space-lg:  var(--space-5);
  --space-xl:  var(--space-6);
  --space-2xl: var(--space-8);

  /* Section Padding */
  --section-pad: 120px;

  /* Type Scale */
  --fs-caption: 0.75rem;   /* 12px */
  --fs-small:   0.875rem;  /* 14px */
  --fs-body:    1rem;      /* 16px */
  --fs-body-lg: 1.125rem;  /* 18px */
  --fs-h4:      1.25rem;   /* 20px */
  --fs-h3:      1.563rem;  /* 25px */
  --fs-h2:      2.441rem;  /* 39px */
  --fs-h1:      3.815rem;  /* 61px */

  /* Border Radii */
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --radius-full: 999px;

  /* Shadows (tinted) */
  --shadow-sm:   0 4px 14px -6px rgba(33, 15, 39, 0.18);
  --shadow-md:   0 16px 40px -18px rgba(33, 15, 39, 0.28);
  --shadow-lg:   0 30px 70px -24px rgba(33, 15, 39, 0.38);
  --shadow-glow: 0 0 60px rgba(201, 32, 123, 0.35);

  /* Transitions & Easings */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-press:  cubic-bezier(0.55, 0, 1, 0.45);

  /* Noise Overlay */
  --noise-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   3. TYPOGRAPHY & DYNAMIC LANGUAGE SWITCHING
   ============================================ */
/* Arabic Mode */
body.lang-ar {
  font-family: var(--font-ar);
}
body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4 {
  font-family: var(--font-ar);
  font-weight: 900;
  line-height: 1.25;
}

/* English Mode */
body.lang-en {
  font-family: var(--font-en-body);
}
body.lang-en h1,
body.lang-en h2,
body.lang-en h3,
body.lang-en h4 {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
body.lang-en .btn {
  font-family: var(--font-en-body);
  font-weight: 600;
}
body.lang-en .eyebrow {
  letter-spacing: 2px;
}

/* Eyebrow Label */
.eyebrow {
  font-family: var(--font-en);
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--magenta);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--magenta);
  display: inline-block;
  flex-shrink: 0;
}

/* ============================================
   4. LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow-x: clip;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}
.section-head h2,
.about-text h2 {
  font-size: clamp(1.45rem, 4vw, var(--fs-h2));
  margin: var(--space-sm) 0 var(--space-md);
}
.section-head p {
  color: var(--ink-soft);
  font-size: var(--fs-body-lg);
}

/* Chrome Shimmer Divider */
.chrome-divider {
  position: relative;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--chrome) 50%, transparent);
  overflow: hidden;
}
.chrome-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #fff 50%, transparent);
  animation: shimmer-sweep 3.5s ease-in-out infinite;
}
@keyframes shimmer-sweep {
  0%   { left: -50%; }
  60%  { left: 110%; }
  100% { left: 110%; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  min-height: 48px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--fs-body);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  touch-action: manipulation;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-soft);
}
@media (hover: hover) {
  .btn:hover::before {
    transform: translateX(120%);
  }
  .btn:hover {
    transform: translateY(-3px);
  }
}
.btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s var(--ease-press), box-shadow 0.12s var(--ease-press);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}
@media (hover: hover) {
  .btn-primary:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--chrome);
}
@media (hover: hover) {
  .btn-ghost:hover {
    border-color: var(--magenta);
    color: var(--magenta);
  }
}
.btn-ghost.on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
@media (hover: hover) {
  .btn-ghost.on-dark:hover {
    border-color: #fff;
  }
}

/* ============================================
   5. COMPONENTS
   ============================================ */

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--plum-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: clip-path 0.9s var(--ease-smooth), visibility 0.9s;
}
#preloader.reveal {
  clip-path: circle(0% at 50% 50%);
}
#preloader.hidden {
  visibility: hidden;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.preloader-logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
}
.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--chrome-light);
  border-left-color: var(--magenta-light);
  animation: preloader-spin 1.1s linear infinite;
}
.preloader-logo {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #fff;
  padding: 10px;
  opacity: 0;
  transform: scale(0.7);
  animation: preloader-pop 0.6s var(--ease-smooth) 0.5s forwards;
  overflow: hidden;
}
.preloader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}
@keyframes preloader-pop {
  to { opacity: 1; transform: scale(1); }
}
.preloader-word {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 5px;
  font-size: var(--fs-caption);
  color: var(--chrome-light);
  opacity: 0;
  animation: preloader-fade 0.6s ease 0.9s forwards;
}
.preloader-word b {
  color: var(--magenta-light);
  font-weight: 800;
}
@keyframes preloader-fade {
  to { opacity: 1; }
}

/* ---------- Header & Navigation ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: 16px;
  padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right));
  transition: background 0.4s var(--ease-soft), padding 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
}
header.scrolled {
  background: rgba(33, 15, 39, 0.95);
  backdrop-filter: blur(16px);
  padding-top: max(10px, env(safe-area-inset-top));
  padding-bottom: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 48px;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: var(--fs-body-lg);
  letter-spacing: 0.5px;
  color: #fff;
}
.brand-name span {
  color: var(--magenta-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav-links a {
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-small);
  white-space: nowrap;
  position: relative;
  padding: 8px 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  opacity: 0.88;
  transition: opacity 0.3s var(--ease-soft);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.35s var(--ease-smooth);
}
.nav-links a:hover {
  opacity: 1;
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav-cta .btn-primary {
  padding: 10px 22px;
  font-size: var(--fs-small);
  min-height: 42px;
}

/* Burger Button (44×44px Min Tap Target) */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  touch-action: manipulation;
}
.burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language Switch Pill (Accessible Tap Target) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  backdrop-filter: blur(8px);
}
.lang-switch .lang-btn {
  padding: 6px 14px;
  min-height: 38px;
  min-width: 40px;
  border-radius: var(--radius-full);
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  transition: all 0.25s var(--ease-smooth);
  cursor: pointer;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  touch-action: manipulation;
}
.lang-switch .lang-btn:hover {
  color: #fff;
}
.lang-switch .lang-btn.active {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 2px 10px rgba(201, 32, 123, 0.45);
}
.lang-switch .lang-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  user-select: none;
}

/* Mobile Menu (Safe Area Insets & Touch Sizing) */
.mobile-menu {
  position: fixed;
  top: 0;
  inset-inline-start: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--gradient-dark);
  z-index: 600;
  padding-top: max(32px, env(safe-area-inset-top));
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  padding-inline: max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-left));
  transition: inset-inline-start 0.45s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  inset-inline-start: 0;
}
.mobile-menu-close {
  align-self: flex-start;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-body-lg);
  padding: 12px 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-lang-wrap {
  margin-top: var(--space-sm);
  display: flex;
  justify-content: center;
}
.mobile-lang-wrap .lang-switch .lang-btn {
  min-height: 44px;
  min-width: 48px;
  font-size: 0.95rem;
}
.mobile-cta {
  text-align: center;
  margin-top: var(--space-1);
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 550;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(4px);
  transition: opacity 0.35s var(--ease-soft), visibility 0.35s var(--ease-soft);
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero Section (100dvh & Overflow Shield) ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
  overflow-x: clip;
  padding-top: calc(90px + env(safe-area-inset-top, 0px));
  padding-bottom: var(--space-xl);
}
.hero-cursor-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 90, 166, 0.35) 0%, transparent 70%);
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
  z-index: 1;
}
@media (hover: none) and (pointer: coarse) {
  .hero-cursor-glow {
    display: none !important;
  }
}
.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}
.hero-glow-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 32, 123, 0.28) 0%, rgba(109, 52, 107, 0.12) 55%, transparent 75%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(232, 90, 166, 0.28);
  transform: translate(-50%, -50%);
  animation: ring-pulse 4s ease-out infinite;
}
.hero-ring.r1 { width: 260px; height: 260px; }
.hero-ring.r2 { width: 380px; height: 380px; animation-delay: 1.1s; }
.hero-ring.r3 { width: 500px; height: 500px; animation-delay: 2.2s; }
@keyframes ring-pulse {
  0%   { opacity: 0.7; transform: translate(-50%, -50%) scale(0.85); }
  70%  { opacity: 0; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}
.hero-logo-badge {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #fff;
  padding: 14px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), var(--shadow-glow);
  margin-bottom: var(--space-sm);
  animation: float-badge 5s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-content .eyebrow {
  color: var(--chrome-light);
}
.hero-content .eyebrow::before {
  background: var(--gradient-brand);
}

.hero h1 {
  font-size: clamp(1.75rem, 5.5vw, var(--fs-h1));
  color: #fff;
  line-height: 1.2;
  max-width: 900px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--magenta-light), #fff 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: var(--chrome-light);
  font-size: clamp(0.95rem, 2.4vw, var(--fs-body-lg));
  max-width: 720px;
  opacity: 0.92;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-sm);
}
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--chrome-light);
  opacity: 0.75;
  font-family: var(--font-en);
  font-size: var(--fs-caption);
  letter-spacing: 2px;
}
.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--chrome-light), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Reveal on Scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in-view > * {
  transition-delay: calc(var(--i, 0) * 0.09s);
}

/* ---------- About Section & Stats ---------- */
.about-section {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.about-text p {
  color: var(--ink-soft);
  font-size: var(--fs-body-lg);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(232, 90, 166, 0.35), transparent 60%);
}
.about-visual-logo {
  width: 45%;
  border-radius: 50%;
  background: #fff;
  padding: 8%;
  box-shadow: var(--shadow-glow);
  position: relative;
  z-index: 2;
}
.about-visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1;
}
.about-visual-ring.a1 { width: 70%; height: 70%; }
.about-visual-ring.a2 { width: 90%; height: 90%; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, var(--fs-h2));
  color: var(--magenta-dark);
}
.stat-item .stat-label {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 600;
  margin-top: var(--space-1);
}

/* ---------- Tilt Cards & Shared Icons ---------- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.3s var(--ease-soft);
  will-change: transform;
}

/* Touch active scale feedback */
.tilt-card:active,
.brand-card:active,
.branch-card:active,
.collection-card:active {
  transform: scale(0.98);
  transition: transform 0.12s var(--ease-press);
}

.collection-icon,
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s var(--ease-soft), background 0.4s var(--ease-soft);
}
.collection-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-sm);
  background: rgba(201, 32, 123, 0.06);
  border: 1px solid rgba(201, 32, 123, 0.22);
}
.collection-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--magenta);
  stroke-width: 1.6;
}
@media (hover: hover) {
  .collection-card:hover .collection-icon {
    transform: translateY(-6px);
    border-color: var(--magenta);
    background: rgba(201, 32, 123, 0.1);
  }
}

/* ---------- Collections Section ---------- */
.collections-section {
  background: var(--blush);
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.collection-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.collection-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--magenta);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
}
@media (hover: hover) {
  .collection-card:hover::before {
    transform: scaleX(1);
  }
  .collection-card:hover {
    box-shadow: var(--shadow-md);
  }
}
.collection-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}
.collection-card p {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.65;
}

/* ---------- Brands Section ---------- */
.brands-section {
  background: var(--paper);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.brand-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}
@media (hover: hover) {
  .brand-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }
}
.brand-visual {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: var(--plum-deep);
}
.brand-visual img.brand-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}
.brand-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(201, 32, 123, 0.38), rgba(109, 52, 107, 0.38));
  opacity: 0;
  transition: opacity 0.45s var(--ease-smooth);
  pointer-events: none;
}
@media (hover: hover) {
  .brand-card:hover .brand-visual::after {
    opacity: 1;
  }
  .brand-card:hover .brand-visual img.brand-photo {
    transform: scale(1.06);
  }
}
.brand-info {
  padding: var(--space-sm) var(--space-sm) var(--space-md);
  text-align: center;
}
.brand-info .brand-title {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: var(--fs-body);
  color: var(--ink);
}
.brand-info .brand-desc {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  margin-top: 4px;
}

/* ---------- Branches Section ---------- */
.branches-section {
  background: var(--blush);
}
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.branch-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-soft);
}
@media (hover: hover) {
  .branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
  }
}
.branch-visual {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(60% 60% at var(--hl-pos, 20% 20%), rgba(255, 255, 255, 0.38) 0%, transparent 62%),
    radial-gradient(95% 95% at var(--sh-pos, 85% 85%), var(--sh-color, var(--plum-deep)) 0%, transparent 72%),
    var(--bv-base, var(--plum-dark));
}
.branch-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise-svg);
  background-size: 160px 160px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}
.visual-icon-ring {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease-smooth), background 0.4s var(--ease-soft);
}
.visual-icon-ring svg {
  width: 52px;
  height: 52px;
  stroke: #fff;
  stroke-width: 1.6;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}
@media (hover: hover) {
  .branch-card:hover .visual-icon-ring {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.16);
  }
}

.bc-1 { --bv-base: #4A2249; --hl-pos: 22% 18%; --sh-pos: 85% 88%; }
.bc-2 { --bv-base: #9A1861; --hl-pos: 80% 18%; --sh-pos: 15% 88%; }
.bc-3 { --bv-base: #6D346B; --hl-pos: 18% 85%; --sh-pos: 85% 15%; }

.branch-body {
  padding: var(--space-md);
}
.branch-body h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-1);
}
.branch-address {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  margin-bottom: 4px;
}
.branch-hours {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--magenta-dark);
  font-weight: 700;
  font-size: var(--fs-small);
  margin-bottom: var(--space-md);
}
.branch-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  min-height: 44px;
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--magenta);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.3s var(--ease-soft), gap 0.3s var(--ease-soft);
  touch-action: manipulation;
}
.branch-directions .dir-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-smooth);
}
@media (hover: hover) {
  .branch-directions:hover {
    border-color: var(--magenta);
    gap: 12px;
  }
}
[dir="rtl"] .branch-directions .dir-arrow { transform: rotate(180deg); }
[dir="ltr"] .branch-directions .dir-arrow { transform: rotate(0deg); }

/* ---------- Values Section ---------- */
.values-section {
  background: var(--paper);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.value-card {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}
.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-sm);
  border: 1.5px solid var(--chrome);
  position: relative;
}
@media (hover: hover) {
  .value-card:hover .value-icon {
    border-color: var(--magenta);
    transform: translateY(-6px);
  }
}
.value-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--magenta);
  stroke-width: 1.6;
}
.value-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-1);
}
.value-card p {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* ---------- Testimonials Section (Touch-first) ---------- */
.testimonials-section {
  background: var(--blush);
  overflow: hidden;
  overflow-x: clip;
}
.testimonials-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonials-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: var(--space-xs) 4px var(--space-md);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 32, 123, 0.06);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), border-color 0.35s var(--ease-soft);
}
@media (hover: hover) {
  .testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 32, 123, 0.22);
    transform: translateY(-4px);
  }
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
}
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--magenta);
  stroke: var(--magenta);
}
.testimonial-quote-icon {
  width: 32px;
  height: 32px;
  opacity: 0.25;
  color: var(--plum);
}
.testimonial-quote-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.testimonial-body {
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.75;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(33, 15, 39, 0.06);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-small);
  flex-shrink: 0;
}
.testimonial-avatar svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
}
.testimonial-author {
  font-weight: 700;
  color: var(--ink);
  font-size: var(--fs-small);
}
.testimonial-badge {
  font-size: var(--fs-caption);
  color: var(--magenta-dark);
  font-weight: 600;
}

/* Testimonial Carousel Controls */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.carousel-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--chrome);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
  touch-action: manipulation;
}
@media (hover: hover) {
  .carousel-btn:hover {
    background: var(--magenta);
    border-color: var(--magenta);
    color: #fff;
    transform: scale(1.08);
  }
}
.carousel-btn:active {
  transform: scale(0.95);
}
.carousel-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* Carousel Dots (44px tap zone) */
.carousel-dots {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 4px;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--chrome);
  transition: all 0.35s var(--ease-smooth);
  cursor: pointer;
  position: relative;
  touch-action: manipulation;
}
.carousel-dots .dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}
.carousel-dots .dot.active {
  width: 28px;
  background: var(--magenta);
}

[dir="rtl"] .carousel-btn.prev-btn svg { transform: rotate(0deg); }
[dir="rtl"] .carousel-btn.next-btn svg { transform: rotate(180deg); }
[dir="ltr"] .carousel-btn.prev-btn svg { transform: rotate(180deg); }
[dir="ltr"] .carousel-btn.next-btn svg { transform: rotate(0deg); }

/* ---------- Footer ---------- */
footer {
  background: var(--plum-deep);
  color: var(--chrome-light);
  padding-top: var(--section-pad);
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right));
  overflow-x: clip;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}
.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
}
.footer-brand span {
  font-family: var(--font-en);
  font-weight: 800;
  color: #fff;
  font-size: var(--fs-body-lg);
}
.footer-col p {
  color: rgba(235, 235, 235, 0.68);
  font-size: var(--fs-small);
  max-width: 290px;
  line-height: 1.7;
}
.footer-col h4 {
  color: #fff;
  font-size: var(--fs-body);
  margin-bottom: var(--space-sm);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul a {
  color: rgba(235, 235, 235, 0.72);
  font-size: var(--fs-small);
  display: inline-block;
  padding: 6px 0;
  min-height: 36px;
  transition: color 0.3s var(--ease-soft), padding 0.3s var(--ease-soft);
}
.footer-col ul a:hover {
  color: var(--magenta-light);
  padding-inline-start: 6px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md);
}
.footer-social a {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-smooth);
  touch-action: manipulation;
}
@media (hover: hover) {
  .footer-social a:hover {
    background: var(--gradient-brand);
    transform: translateY(-4px);
  }
}
.footer-social a:active {
  transform: scale(0.94);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  color: rgba(235, 235, 235, 0.55);
}
.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* ============================================
   6. RESPONSIVE / MEDIA QUERIES
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .about-visual { order: -1; max-width: 380px; margin: 0 auto; width: 100%; }
  .collections-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
  .branches-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
  .values-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .nav-links, .nav-cta .btn-primary { display: none; }
  .burger { display: flex; }
  .hero {
    padding-top: calc(84px + env(safe-area-inset-top, 0px));
    padding-bottom: var(--space-lg);
  }
  .scroll-cue { display: none; }
  .hero-logo-badge { width: 104px; height: 104px; padding: 10px; }
  
  .chrome-divider::after {
    animation-duration: 5.5s;
  }
  
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-sm);
    margin-top: var(--space-xl);
  }
  .stats-row .stat-item:last-child {
    grid-column: 1 / -1;
    max-width: 240px;
    margin: 0 auto;
  }
  
  .collections-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .branches-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  
  /* Testimonials swipe mode on mobile */
  .testimonials-controls .carousel-btn { display: none; }
  .testimonials-carousel {
    grid-auto-columns: minmax(280px, 86vw);
    gap: var(--space-sm);
    padding: var(--space-xs) 0 var(--space-md);
  }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg) var(--space-md); }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root { --section-pad: 54px; }
  .container { padding: 0 var(--space-sm); }
  
  .hero h1 { font-size: clamp(1.65rem, 6.2vw, 2.2rem); }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-actions .btn { width: 100%; }
  
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: var(--space-md) var(--space-xs); }
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand-info { padding: 10px 6px 14px; }
  .brand-info .brand-title { font-size: 0.875rem; letter-spacing: 0.5px; }
  .brand-info .brand-desc { font-size: 0.75rem; }
  
  .values-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .value-card { padding: var(--space-md) var(--space-xs); }
  
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-col p { max-width: 100%; }
}

@media (max-width: 360px) {
  :root { --section-pad: 48px; }
  .hero h1 { font-size: 1.55rem; }
  .section-head h2, .about-text h2 { font-size: 1.35rem; }
  .testimonials-carousel { grid-auto-columns: 92vw; }
  .brands-grid { grid-template-columns: 1fr; }
}

/* ============================================
   7. REDUCED MOTION (ACCESSIBILITY)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  #preloader { display: none; }
  .hero-cursor-glow { display: none; }
  .tilt-card { transform: none !important; }
  .chrome-divider::after { display: none; }
}
