/* Unique Care — Premium Landing */

:root {
  --bg-primary: #050507;
  --text-main: #F5F5F7;
  --text-secondary: #86868B;
  --accent-prestige: #8ECAE6;
  --accent-prestige-secondary: #E8A8C4;
  --border-micro: rgba(255, 255, 255, 0.08);
  --ease-prestige: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-prestige: all 0.8s var(--ease-prestige);
  --nav-logo-size: 300px;
  --nav-links-gap: 1rem;
  --nav-divider-gap: 1.5rem;
  --nav-scrolled-divider-gap: 1.25rem;
  --nav-stack-height: calc(var(--nav-logo-size) + var(--nav-links-gap) + var(--nav-divider-gap) + 3.5rem);
  --font-display: "SF Pro Display", "Playfair Display", Georgia, serif;
  --font-body: "SF Pro Text", Montserrat, system-ui, sans-serif;
  --font-arabic: "Cairo", "IBM Plex Sans Arabic", sans-serif;
  --hero-overlay-base: 0.55;
  --hero-overlay-scroll: 0.85;
  --service-bg: linear-gradient(135deg, #0a0c12 0%, #12141c 50%, #0a0c12 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.lang-ar {
  font-family: var(--font-arabic);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-prestige);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ——— Header (Vogue masthead) ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.8s var(--ease-prestige), backdrop-filter 0.8s var(--ease-prestige), border-color 0.8s var(--ease-prestige), padding-bottom 0.8s var(--ease-prestige);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 7, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-micro);
  padding-bottom: var(--nav-scrolled-divider-gap);
}

.site-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0.65rem clamp(1rem, 4vw, 2rem) 0.85rem;
}

.nav-masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--nav-links-gap);
  width: 100%;
  max-width: 720px;
}

.nav-logo {
  display: block;
  width: auto;
  height: auto;
  margin-inline: auto;
  flex-shrink: 0;
  line-height: 0;
}

.site-header .nav-logo img {
  display: block;
  max-width: none;
  width: var(--nav-logo-size);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 0;
  padding: 0;
  margin: 0;
  margin-top: 0;
  border-top: 1px solid var(--border-micro);
  padding-top: var(--nav-divider-gap);
  width: 100%;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li + li::before {
  content: "·";
  margin-inline: clamp(0.65rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  opacity: 0.45;
  font-size: 0.85rem;
  line-height: 1;
  pointer-events: none;
}

.nav-links a {
  position: relative;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  padding-block: 0.2em;
  transition:
    color 0.8s var(--ease-prestige),
    letter-spacing 0.8s var(--ease-prestige),
    text-shadow 0.8s var(--ease-prestige);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-prestige) 20%,
    var(--accent-prestige-secondary) 50%,
    var(--accent-prestige) 80%,
    transparent 100%
  );
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.8s var(--ease-prestige),
    opacity 0.8s var(--ease-prestige);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  letter-spacing: 0.26em;
  color: transparent;
  background-image: linear-gradient(
    115deg,
    var(--accent-prestige) 0%,
    #a8d4f0 30%,
    #d4b8d8 55%,
    var(--accent-prestige-secondary) 75%,
    var(--accent-prestige) 100%
  );
  background-size: 200% auto;
  background-position: 0% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(142, 202, 230, 0.25);
  animation: navLinkShimmer 2.5s var(--ease-prestige) infinite;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

@keyframes navLinkShimmer {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.nav-lang {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border-micro);
  border-radius: 2px;
  background: rgba(5, 5, 7, 0.55);
  backdrop-filter: blur(10px);
  transition: var(--transition-prestige);
  z-index: 2;
}

.nav-lang:hover {
  border-color: var(--accent-prestige);
}

.nav-lang .lang-opt:hover {
  opacity: 0.85;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 1.4rem;
  padding: 1px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  opacity: 0.45;
  cursor: pointer;
  transition: var(--transition-prestige);
  overflow: hidden;
  flex-shrink: 0;
  color: inherit;
}

.lang-flag {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 1px;
}

.lang-opt.is-active {
  opacity: 1;
  border-color: var(--accent-prestige);
  box-shadow: 0 0 14px rgba(142, 202, 230, 0.22);
}

.lang-divider {
  width: 1px;
  height: 1.15rem;
  background: var(--border-micro);
  flex-shrink: 0;
}

@media (max-width: 599px) {
  :root {
    --nav-logo-size: 162px;
    --nav-stack-height: calc(var(--nav-logo-size) + var(--nav-links-gap) + var(--nav-divider-gap) + 3.5rem);
  }

  .nav-links a {
    font-size: 0.55rem;
    letter-spacing: 0.16em;
  }

  .nav-links li + li::before {
    margin-inline: 0.45rem;
  }

  .nav-lang {
    top: 0.5rem;
    padding: 0.3rem 0.5rem;
  }
}

/* ——— Section utilities ——— */
.section-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-prestige);
  margin-bottom: 1rem;
}

.section-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease-prestige), transform 1s var(--ease-prestige);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Hero ——— */
.hero-canvas {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: var(--nav-stack-height);
  padding-bottom: 5rem;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: visible;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-placeholder-anim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 120%, rgba(142, 202, 230, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(232, 168, 196, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 80% 60%, rgba(142, 202, 230, 0.06) 0%, transparent 45%),
    var(--bg-primary);
  animation: heroShimmer 12s ease-in-out infinite alternate;
}

.hero-placeholder-anim::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 120px,
    rgba(255, 255, 255, 0.015) 120px,
    rgba(255, 255, 255, 0.015) 121px
  );
  animation: heroDrift 20s linear infinite;
}

.hero-placeholder-anim.is-dimmed {
  opacity: 0.35;
  transition: opacity 1.2s var(--ease-prestige);
}

@keyframes heroShimmer {
  0% { filter: brightness(1) saturate(1); }
  100% { filter: brightness(1.08) saturate(1.1); }
}

@keyframes heroDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-120px); }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease-prestige);
}

.hero-video.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 7, var(--hero-overlay-base));
  transition: background 0.1s linear;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem clamp(1.5rem, 6vw, 5rem) 2rem;
  will-change: transform;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  max-width: 34rem;
  gap: 0;
}

.hero-animate {
  opacity: 0;
  transform: translate3d(-36px, 18px, 0);
  filter: blur(12px);
}

.hero-canvas.is-visible .hero-animate {
  animation: heroRevealSlide 1.65s var(--ease-prestige) var(--hero-delay, 0s) forwards;
}

.hero-canvas.is-visible .hero-headline-accent.hero-animate {
  animation: heroAccentReveal 1.85s var(--ease-prestige) var(--hero-delay, 0s) forwards,
    heroAccentShimmer 4s var(--ease-prestige) 2s infinite;
}

.hero-cta.hero-animate {
  opacity: 1;
  filter: none;
}

.hero-canvas.is-visible .hero-cta.hero-animate {
  animation: heroCtaReveal 1.2s var(--ease-prestige) var(--hero-delay, 0s) forwards;
}

@keyframes heroRevealSlide {
  0% {
    opacity: 0;
    transform: translate3d(-48px, 20px, 0);
    filter: blur(14px);
  }
  55% {
    opacity: 0.85;
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes heroAccentReveal {
  0% {
    opacity: 0;
    transform: translate3d(-24px, 12px, 0) scale(0.98);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroCtaReveal {
  0% {
    opacity: 0.6;
    transform: translate3d(-20px, 8px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent-prestige);
  margin-bottom: 1.15rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.65rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin: 0 0 1.15rem;
}

.hero-headline-part,
.hero-headline-accent {
  display: inline;
}

.hero-headline-accent {
  font-style: italic;
  font-weight: 500;
  background-image: linear-gradient(
    120deg,
    var(--accent-prestige) 0%,
    #c5e4f5 35%,
    var(--accent-prestige-secondary) 65%,
    var(--accent-prestige) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes heroAccentShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-lead {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  max-width: 26rem;
  margin: 0 0 1.75rem;
}

.hero-cta {
  position: relative;
  z-index: 3;
  display: inline-block;
  flex-shrink: 0;
  overflow: visible;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--border-micro);
  border-radius: 2px;
  background: rgba(5, 5, 7, 0.45);
  color: var(--text-main);
  transition: border-color 0.8s var(--ease-prestige), color 0.8s var(--ease-prestige), box-shadow 0.8s var(--ease-prestige);
  margin-top: 0.15rem;
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 2px;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(142, 202, 230, 0.18) 45%,
    rgba(232, 168, 196, 0.14) 55%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 1s var(--ease-prestige);
  pointer-events: none;
  z-index: -1;
}

.hero-cta:hover {
  border-color: var(--accent-prestige);
  color: var(--accent-prestige);
  box-shadow: 0 0 32px rgba(142, 202, 230, 0.12);
}

.hero-cta:hover::before {
  transform: translateX(120%);
}

[dir="rtl"] .hero-copy {
  align-items: flex-start;
  text-align: start;
}

@media (max-width: 599px) {
  .hero-copy {
    max-width: 100%;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-prestige), transparent);
  animation: scrollPulse 2s var(--ease-prestige) infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ——— Why Choose Us / Materials ——— */
.why-us {
  position: relative;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--border-micro);
  overflow: hidden;
}

.why-us-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 80% 40%,
    rgba(142, 202, 230, 0.07) 0%,
    transparent 55%
  );
  opacity: 0.6;
  transition: background 0.8s var(--ease-prestige), opacity 0.8s var(--ease-prestige);
  pointer-events: none;
}

.why-us-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.why-us-header {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vh, 3.5rem);
}

.why-us-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.why-us-intro {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}

.why-us-pillars {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
  border: 1px solid var(--border-micro);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .why-us-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-micro);
  transition: var(--transition-prestige);
}

@media (min-width: 768px) {
  .pillar-item {
    border-bottom: none;
    border-inline-end: 1px solid var(--border-micro);
  }

  .pillar-item:last-child {
    border-inline-end: none;
  }
}

.pillar-item:last-child {
  border-bottom: none;
}

.pillar-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.pillar-index {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent-prestige);
  line-height: 1;
  flex-shrink: 0;
}

.pillar-item p {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Materials stage — large preview + interactive nav */
.materials-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-top: 1px solid var(--border-micro);
  padding-top: 2rem;
}

@media (min-width: 900px) {
  .materials-stage {
    grid-template-columns: 58fr 42fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
  }
}

.materials-preview {
  position: relative;
  min-height: clamp(320px, 55vh, 620px);
  border: 1px solid var(--border-micro);
  border-radius: 2px;
  overflow: hidden;
  transform-style: preserve-3d;
}

@media (min-width: 900px) {
  .materials-preview {
    position: sticky;
    top: calc(var(--nav-stack-height) + 1rem);
  }
}

.preview-slides {
  position: absolute;
  inset: 0;
}

.preview-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s var(--ease-prestige), transform 1.1s var(--ease-prestige);
  pointer-events: none;
}

.preview-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.preview-slide.is-exiting {
  opacity: 0;
  transform: scale(1.02);
  z-index: 0;
}

.preview-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg, #0c0e14 0%, #1a2030 45%, #0a0c10 100%),
    radial-gradient(circle at 25% 75%, rgba(142, 202, 230, 0.1) 0%, transparent 50%);
  animation: previewPulse 6s var(--ease-prestige) infinite alternate;
}

.preview-slide[data-material="02"] .preview-placeholder {
  background: linear-gradient(155deg, #120e14 0%, #281a28 45%, #0a0a10 100%),
    radial-gradient(circle at 75% 25%, rgba(232, 168, 196, 0.09) 0%, transparent 50%);
}

.preview-slide[data-material="03"] .preview-placeholder {
  background: linear-gradient(155deg, #0e1218 0%, #182838 45%, #080c12 100%),
    radial-gradient(circle at 40% 60%, rgba(142, 202, 230, 0.11) 0%, transparent 50%);
}

.preview-slide[data-material="04"] .preview-placeholder {
  background: linear-gradient(155deg, #141018 0%, #222030 45%, #0a080c 100%);
}

.preview-slide[data-material="05"] .preview-placeholder {
  background: linear-gradient(155deg, #0c1418 0%, #1a3040 45%, #080c10 100%),
    radial-gradient(circle at 60% 40%, rgba(142, 202, 230, 0.14) 0%, transparent 55%);
}

.preview-slide[data-material="06"] .preview-placeholder {
  background: linear-gradient(155deg, #101018 0%, #201828 45%, #0a0a0e 100%),
    radial-gradient(circle at 30% 30%, rgba(232, 168, 196, 0.08) 0%, transparent 50%);
}

@keyframes previewPulse {
  0% { filter: brightness(0.95); }
  100% { filter: brightness(1.05); }
}

.preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-slide.has-image .preview-placeholder {
  opacity: 0;
  transition: opacity 0.8s var(--ease-prestige);
}

.preview-scanline {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(142, 202, 230, 0.04) 48%,
    rgba(142, 202, 230, 0.08) 50%,
    transparent 52%
  );
  background-size: 100% 200%;
  animation: scanlineDrift 4s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes scanlineDrift {
  0% { background-position: 0% -100%; }
  100% { background-position: 0% 100%; }
}

.preview-counter {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

.preview-counter-bar {
  width: 48px;
  height: 1px;
  background: var(--border-micro);
  overflow: hidden;
}

#preview-progress-fill {
  display: block;
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, var(--accent-prestige), var(--accent-prestige-secondary));
  transition: width 0.8s var(--ease-prestige);
}

.preview-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(to top, rgba(5, 5, 7, 0.95) 0%, rgba(5, 5, 7, 0.75) 55%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 0.6s var(--ease-prestige), transform 0.6s var(--ease-prestige);
}

.preview-detail.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.preview-detail .material-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.preview-detail .material-code {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--accent-prestige);
}

.preview-detail .material-category {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.preview-detail .material-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.preview-detail .material-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 32rem;
  margin-bottom: 1rem;
}

.preview-detail .material-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.preview-detail .material-tags li {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border-micro);
  border-radius: 2px;
  color: var(--text-main);
}

.materials-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.material-nav-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-micro);
  cursor: pointer;
  outline: none;
  transition: var(--transition-prestige);
  opacity: 0;
  transform: translateX(-20px);
}

.material-nav-item.is-visible {
  animation: navItemIn 0.8s var(--ease-prestige) forwards;
}

@keyframes navItemIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.material-nav-item:first-child {
  border-top: 1px solid var(--border-micro);
}

.material-nav-item:hover,
.material-nav-item.is-active,
.material-nav-item:focus-visible {
  padding-inline: 0.75rem;
  margin-inline: -0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.material-nav-code {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: var(--transition-prestige);
  min-width: 2rem;
}

.material-nav-item.is-active .material-nav-code {
  color: var(--accent-prestige);
  transform: scale(1.08);
}

.material-nav-text .material-category {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  transition: var(--transition-prestige);
}

.material-nav-text .material-name {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-secondary);
  transition: var(--transition-prestige);
}

.material-nav-item.is-active .material-name,
.material-nav-item:hover .material-name {
  color: var(--text-main);
}

.material-nav-indicator {
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--accent-prestige), var(--accent-prestige-secondary));
  transition: height 0.8s var(--ease-prestige);
}

.material-nav-item.is-active .material-nav-indicator {
  height: 100%;
  min-height: 36px;
}

.materials-stage.is-interacting .preview-slide.is-active {
  transform: scale(1.02);
}

@media (max-width: 899px) {
  .materials-preview {
    min-height: 52vh;
  }

  .materials-nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .material-nav-item {
    flex: 0 0 min(85%, 280px);
    scroll-snap-align: center;
    border: 1px solid var(--border-micro);
    border-radius: 2px;
    padding: 1rem;
    margin: 0;
    grid-template-columns: auto 1fr;
  }

  .material-nav-item:hover,
  .material-nav-item.is-active {
    padding: 1rem;
    margin: 0;
  }

  .material-nav-indicator {
    display: none;
  }

  .material-nav-item:first-child {
    border-top: 1px solid var(--border-micro);
  }
}

.why-us-note {
  margin-top: 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  opacity: 0.55;
  max-width: 36rem;
}

.why-us-note code {
  font-size: 0.6rem;
  color: var(--accent-prestige);
}

/* ——— Services ——— */
.services {
  position: relative;
  padding: clamp(4rem, 10vh, 8rem) 0;
  border-top: 1px solid var(--border-micro);
  overflow: hidden;
}

.services-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.service-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--service-bg);
  opacity: 0.6;
  transition: background 0.8s var(--ease-prestige), opacity 0.8s var(--ease-prestige);
  pointer-events: none;
}

.services-header,
.service-matrix {
  position: relative;
  z-index: 1;
}

.services-header {
  margin-bottom: 3rem;
  max-width: 560px;
}

.services-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.services-intro {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
}

.service-matrix {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-micro);
  border-radius: 2px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .service-matrix {
    flex-direction: row;
    min-height: 420px;
  }
}

.service-row {
  flex: 1;
  border-bottom: 1px solid var(--border-micro);
  background: rgba(5, 5, 7, 0.75);
  backdrop-filter: blur(8px);
  transition: var(--transition-prestige);
  cursor: pointer;
}

.service-row:last-child {
  border-bottom: none;
}

@media (min-width: 1024px) {
  .service-row {
    border-bottom: none;
    border-inline-end: 1px solid var(--border-micro);
  }

  .service-row:last-child {
    border-inline-end: none;
  }
}

.service-row:hover,
.service-row.is-active,
.service-row:focus-within {
  background: rgba(5, 5, 7, 0.92);
  border-color: rgba(142, 202, 230, 0.2);
}

.service-row-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  min-height: 72px;
}

.service-index {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent-prestige);
  font-weight: 500;
  min-width: 2rem;
}

.service-row-head h3 {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
}

.service-chevron {
  width: 8px;
  height: 8px;
  border-inline-end: 1px solid var(--text-secondary);
  border-bottom: 1px solid var(--text-secondary);
  transform: rotate(45deg);
  transition: var(--transition-prestige);
}

.service-row.is-active .service-chevron {
  transform: rotate(-135deg);
  border-color: var(--accent-prestige);
}

.service-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s var(--ease-prestige), padding 0.8s var(--ease-prestige);
}

.service-row.is-active .service-panel {
  max-height: 200px;
}

.service-panel p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.65;
}

@media (min-width: 1024px) {
  .service-panel {
    max-height: none;
    opacity: 0;
    padding: 0 1.5rem;
    transition: opacity 0.8s var(--ease-prestige), padding 0.8s var(--ease-prestige);
  }

  .service-row.is-active .service-panel {
    max-height: none;
    opacity: 1;
    padding: 0 1.5rem 1.5rem;
  }

  .service-chevron {
    display: none;
  }
}

/* Service background presets (JS sets --service-bg) */
.services[data-active="l1"] { --service-bg: linear-gradient(135deg, #0a0e14 0%, #1a2230 40%, #0d1018 100%); }
.services[data-active="l2"] { --service-bg: linear-gradient(135deg, #12101a 0%, #1e1828 45%, #0c0a12 100%); }
.services[data-active="l3"] { --service-bg: linear-gradient(135deg, #0c1418 0%, #142028 50%, #080c10 100%); }
.services[data-active="l4"] { --service-bg: linear-gradient(135deg, #141018 0%, #221c28 45%, #0a080c 100%); }

/* ——— Gallery ——— */
.gallery {
  border-top: 1px solid var(--border-micro);
}

.gallery-header {
  padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 4vw, 3rem) 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
}

.gallery-masonry {
  column-count: 2;
  column-gap: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .gallery-masonry {
    column-count: 3;
  }
}

@media (min-width: 1200px) {
  .gallery-masonry {
    column-count: 4;
  }
}

.gallery-cell {
  break-inside: avoid;
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 0.5px solid var(--border-micro);
}

.gallery-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-cell--tall .gallery-media {
  aspect-ratio: 3 / 4;
}

.gallery-cell--wide .gallery-media {
  aspect-ratio: 16 / 9;
}

.gallery-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, #0a0c10 0%, #141820 50%, #080a0e 100%);
  animation: galleryEdge 8s ease-in-out infinite alternate;
}

.gallery-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(142, 202, 230, 0.04) 50%,
    transparent 60%
  );
}

@keyframes galleryEdge {
  0% { opacity: 0.85; }
  100% { opacity: 1; }
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-prestige);
}

.gallery-cell:hover .gallery-img,
.gallery-cell:focus-within .gallery-img {
  transform: scale(1.03);
}

.gallery-cell:hover .gallery-placeholder {
  transform: scale(1.03);
}

.gallery-placeholder {
  transition: transform 0.8s var(--ease-prestige);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: rgba(5, 5, 7, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: var(--transition-prestige);
  pointer-events: none;
}

.gallery-cell:hover .gallery-overlay,
.gallery-cell:focus-within .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
}

.gallery-cell.is-visible {
  animation: galleryFade 0.8s var(--ease-prestige) forwards;
}

@keyframes galleryFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ——— Concierge ——— */
.concierge {
  padding: clamp(4rem, 10vh, 8rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--border-micro);
}

.concierge-glass {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-micro);
  border-radius: 4px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.concierge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .concierge-grid {
    grid-template-columns: 58fr 42fr;
    gap: 4rem;
    align-items: start;
  }
}

.concierge-booking h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.concierge-lead {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.tidycal-wrap {
  min-height: 500px;
  border-top: 1px solid var(--border-micro);
  padding-top: 1.5rem;
}

.tidycal-embed {
  min-height: 500px;
}

.tidycal-embed iframe {
  border: none !important;
  border-radius: 2px;
}

.concierge-faqs h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-micro);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-micro);
  transition: var(--transition-prestige);
}

.faq-item summary {
  list-style: none;
  padding: 1.25rem 0;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition-prestige);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--accent-prestige);
  flex-shrink: 0;
  transition: transform 0.8s var(--ease-prestige);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--accent-prestige);
}

.faq-item p {
  padding: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.65;
  animation: faqReveal 0.8s var(--ease-prestige);
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Footer ——— */
.site-footer {
  padding: 3rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--border-micro);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.footer-tag {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* ——— RTL ——— */
[dir="rtl"] .why-us-inner,
[dir="rtl"] .materials-stage,
[dir="rtl"] .material-nav-item {
  direction: rtl;
}

[dir="rtl"] .material-nav-item {
  transform: translateX(20px);
}

[dir="rtl"] .material-nav-item.is-visible {
  animation-name: navItemInRtl;
}

@keyframes navItemInRtl {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

[dir="rtl"] .service-chevron {
  transform: rotate(-135deg);
}

[dir="rtl"] .service-row.is-active .service-chevron {
  transform: rotate(45deg);
}

[dir="rtl"] .nav-masthead,

/* ——— Reduced motion ——— */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .section-reveal {
    opacity: 1;
    transform: none;
  }

  .hero-content {
    transform: none !important;
  }

  .hero-placeholder-anim::before {
    animation: none;
  }

  .hero-animate {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-headline-accent {
    animation: none;
    -webkit-text-fill-color: var(--accent-prestige);
    color: var(--accent-prestige);
  }

  .material-nav-item.is-visible {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .preview-scanline {
    animation: none;
  }

  .preview-placeholder {
    animation: none;
  }

  .materials-preview {
    transform: none !important;
  }
}

/* ——— Focus ——— */
:focus-visible {
  outline: 1px solid var(--accent-prestige);
  outline-offset: 3px;
}

.service-row:focus-visible {
  outline-offset: -2px;
}
