/* ============================================
   DominatUp Presentation Site
   Light mode · Black & White
   ============================================ */

:root {
  --white: #ffffff;
  --off-white: #fafafa;
  --gray-50: #f7f7f8;
  --gray-100: #f0f0f0;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #999999;
  --gray-500: #666666;
  --gray-600: #444444;
  --black: #000000;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.1);

  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

body.rtl,
html[dir="rtl"] body {
  font-family: 'Noto Sans Arabic', var(--font-sans);
}

body:not(.loaded)>header,
body:not(.loaded)>section,
body:not(.loaded)>footer,
body:not(.loaded)>main {
  visibility: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo-mark {
  width: 52px;
  height: 52px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  animation: preloader-pulse 0.6s ease-in-out infinite alternate;
}

@keyframes preloader-pulse {
  from {
    transform: scale(0.92);
    opacity: 0.7;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.preloader.exit {
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 64px;
  height: 64px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  margin: 0 auto 20px;
}

.preloader-bar {
  width: 120px;
  height: 2px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--black);
  animation: preloadBar 1.2s ease forwards;
}

@keyframes preloadBar {
  to {
    width: 100%;
  }
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-100);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.5px;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--black);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--black);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--black);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: inherit;
  transition: all var(--transition);
  white-space: nowrap;
}

.lang-toggle:hover {
  border-color: var(--black);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 1100;
  max-height: 320px;
  overflow-y: auto;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--gray-600);
  text-align: left;
  transition: background var(--transition);
}

html[dir="rtl"] .lang-option {
  text-align: right;
}

.lang-option:hover {
  background: var(--gray-50);
  color: var(--black);
}

.lang-option.active {
  background: var(--black);
  color: var(--white);
}

/* Nav on dark hero */
.nav-dark {
  color: var(--white);
}

.nav-dark .logo-mark {
  background: var(--white);
  color: var(--black);
}

.nav-dark .logo-text {
  color: var(--white);
}

.nav-dark .nav-links a {
  color: rgba(255, 255, 255, 0.75);
}

.nav-dark .nav-links a::after {
  background: var(--white);
}

.nav-dark .nav-links a:hover,
.nav-dark .nav-links a.active {
  color: var(--white);
}

.nav-dark .lang-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.nav-dark .lang-toggle:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-dark .btn-nav-artisan {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.nav-dark .btn-nav-artisan:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
}

.nav-dark .btn-nav-primary {
  background: var(--white);
  color: var(--black);
}

.nav-dark .btn-nav-primary:hover {
  background: var(--gray-100);
}

.nav-dark.scrolled {
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
}

.nav-dark.scrolled .logo-mark {
  background: var(--black);
  color: var(--white);
}

.nav-dark.scrolled .logo-text {
  color: var(--black);
}

.nav-dark.scrolled .nav-links a {
  color: var(--gray-500);
}

.nav-dark.scrolled .nav-links a::after {
  background: var(--black);
}

.nav-dark.scrolled .nav-links a:hover,
.nav-dark.scrolled .nav-links a.active {
  color: var(--black);
}

.nav-dark.scrolled .lang-toggle {
  border-color: var(--gray-200);
  color: var(--black);
}

.nav-dark.scrolled .btn-nav-artisan {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-200);
}

.nav-dark.scrolled .btn-nav-primary {
  background: var(--black);
  color: var(--white);
}

.nav-toggle-light span {
  background: var(--white);
}

.nav-dark.scrolled .nav-toggle-light span {
  background: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm {
  font-size: 13px;
  padding: 8px 18px;
}

.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gray-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-500);
}

.btn-ghost:hover {
  color: var(--black);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

/* Moroccan hero — done.ma rotated panel */
.hero-moroccan {
  background: var(--white);
  color: var(--white);
}

.hero-done {
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  z-index: 1;
  top: -170px;
  left: -40px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  max-height: 100dvh;
  border-radius: 0 0 8rem 0;
  background-color: var(--black);
  transform: rotate(4.3deg);
  transform-origin: top left;
  background-image: url('../img/hero-zellij.svg');
  background-repeat: repeat;
  background-size: 180px 180px;
  pointer-events: none;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  color: rgba(255, 255, 255, 0.14);
  line-height: 1;
  pointer-events: none;
}

.hero-deco-1 {
  top: 10%;
  left: 6%;
  font-size: 2.75rem;
  transform: rotate(-12deg);
}

.hero-deco-2 {
  top: 22%;
  left: 22%;
  font-size: 2rem;
  transform: rotate(8deg);
}

.hero-deco-3 {
  top: 8%;
  left: 38%;
  font-size: 2.25rem;
  transform: rotate(-6deg);
}

.hero-deco-4 {
  top: 34%;
  left: 10%;
  font-size: 1.85rem;
  transform: rotate(14deg);
}

.hero-deco-5 {
  top: 18%;
  left: 52%;
  font-size: 2.1rem;
  transform: rotate(-10deg);
}

.hero-deco-6 {
  top: 42%;
  left: 28%;
  font-size: 2.5rem;
  transform: rotate(6deg);
}

.hero-deco-7 {
  top: 30%;
  left: 44%;
  font-size: 1.75rem;
  transform: rotate(-14deg);
}

.hero-deco-8 {
  top: 48%;
  left: 14%;
  font-size: 2rem;
  transform: rotate(10deg);
}

html[dir="rtl"] .hero-shape {
  left: auto;
  right: -40px;
  border-radius: 0 0 0 8rem;
  transform: rotate(-4.3deg);
  transform-origin: top right;
  background-position: center 45px;
}

.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 24px 72px;
  min-height: calc(100vh - var(--nav-height));
}

html[dir="rtl"] .hero-split {
  direction: rtl;
}

.hero-phone-col {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  perspective: 1200px;
}

.hero-phone-img {
  display: block;
  width: auto;
  max-width: min(360px, 82vw);
  max-height: min(98vh, 920px);
  height: auto;
  object-fit: contain;
  transform: rotate(-4deg) perspective(900px) rotateY(-2deg);
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.42));
  transform-origin: center center;
}

html[dir="rtl"] .hero-phone-img {
  transform: rotate(7deg) perspective(900px) rotateY(5deg);
}

.hero-content-col {
  padding: 20px 0;
}

.hero-title-light {
  color: var(--white);
}

.hero-title-light .hero-line-accent {
  color: rgba(255, 255, 255, 0.85);
}

.hero-subtitle-light {
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
}

.hero-moroccan .hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.hero-moroccan .badge-dot {
  background: var(--white);
}

.hero-store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.store-btn-light {
  background: var(--white);
  color: var(--black);
  border: none;
}

.store-btn-light:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-discover-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  transition: color var(--transition);
}

.hero-discover-link:hover {
  color: var(--white);
}

.hero-stats-light {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.hero-stats-light .stat-number,
.hero-stats-light .stat-suffix {
  color: var(--white);
}

.hero-stats-light .stat-label {
  color: rgba(255, 255, 255, 0.5);
}

.stat-divider-light {
  background: rgba(255, 255, 255, 0.2);
}

.phone-frame-elevated {
  width: 300px;
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[dir="rtl"] .phone-frame-elevated {
  transform: perspective(1000px) rotateY(8deg) rotateX(2deg);
}

.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.phone-logo-mini {
  width: 24px;
  height: 24px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
  padding: 6px 10px;
  background: var(--gray-50);
  border-radius: var(--radius-full);
}

.phone-categories-3 {
  grid-template-columns: repeat(3, 1fr);
}

.phone-categories-3 .phone-cat {
  flex-direction: column;
  text-align: center;
  padding: 10px 6px;
  font-size: 10px;
  gap: 4px;
}

.phone-categories-3 .phone-cat span:first-child {
  font-size: 20px;
}

.phone-section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.phone-screen {
  min-height: 520px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gray-300);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--gray-200);
  bottom: 0;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 80px 24px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--black);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.hero-line-accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 0.92em;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}

.stat-suffix {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* ---- Phone mockup ---- */
.hero-phone {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-45%);
  z-index: 3;
  opacity: 0;
}

.phone-frame {
  width: 280px;
  background: var(--black);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: var(--black);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 4px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--white);
  border-radius: 28px;
  padding: 20px 16px;
  min-height: 480px;
}

.phone-header {
  margin-bottom: 20px;
}

.phone-greeting {
  font-size: 13px;
  color: var(--gray-400);
  display: block;
  margin-bottom: 4px;
}

.phone-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--gray-400);
}

.phone-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.phone-cat {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-artisan-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.phone-avatar {
  width: 36px;
  height: 36px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.phone-artisan-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.phone-artisan-info strong {
  font-size: 13px;
}

.phone-artisan-info span {
  font-size: 11px;
  color: var(--gray-400);
}

.phone-price {
  font-size: 12px;
  font-weight: 700;
}

/* ---- Marquee ---- */
.marquee-section {
  padding: 24px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--off-white);
  overflow: hidden;
}

.marquee {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  width: max-content;
}

.marquee-track span {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.section-desc {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---- Features ---- */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--black);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ---- How it works ---- */
.how-it-works {
  background: var(--off-white);
}

.steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: flex-start;
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  letter-spacing: -2px;
  flex-shrink: 0;
  width: 80px;
  transition: color var(--transition);
}

.step:hover .step-number {
  color: var(--black);
}

.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.step-content p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---- Audience sections ---- */
.audience {
  background: var(--white);
}

.audience-alt {
  background: var(--off-white);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.audience-grid-reverse {
  direction: rtl;
}

.audience-grid-reverse>* {
  direction: ltr;
}

.audience-content .section-header,
.audience-content .section-title,
.audience-content .section-desc {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.audience-content .section-tag {
  display: block;
}

.audience-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
}

.audience-list svg {
  flex-shrink: 0;
  color: var(--black);
}

/* Visual cards */
.visual-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.audience-alt .visual-card {
  background: var(--white);
}

.visual-card-header {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.visual-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.visual-service:hover {
  background: var(--gray-50);
}

.visual-service-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.visual-service div {
  display: flex;
  flex-direction: column;
}

.visual-service strong {
  font-size: 14px;
}

.visual-service span {
  font-size: 12px;
  color: var(--gray-400);
}

/* Dashboard preview */
.dashboard-preview {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 15px;
}

.dashboard-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  background: var(--gray-50);
  border-radius: var(--radius-full);
  color: var(--gray-500);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.dashboard-stat {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 16px;
}

.dashboard-stat-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.dashboard-stat-label {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

.dashboard-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 20px;
  padding: 0 4px;
}

.chart-bar {
  flex: 1;
  background: var(--black);
  border-radius: 4px 4px 0 0;
  opacity: 0.15;
  transition: opacity var(--transition);
}

.dashboard-preview:hover .chart-bar {
  opacity: 0.3;
}

.dashboard-preview:hover .chart-bar:last-child {
  opacity: 1;
}

.dashboard-request {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--black);
}

.request-dot {
  width: 10px;
  height: 10px;
  background: var(--black);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

.dashboard-request div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dashboard-request strong {
  font-size: 13px;
}

.dashboard-request span {
  font-size: 11px;
  color: var(--gray-400);
}

.request-urgency {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-full);
}

/* ---- Trust ---- */
.trust {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
}

.trust-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.trust-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 13px;
  color: var(--gray-400);
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: var(--black);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.testimonial-card footer div {
  display: flex;
  flex-direction: column;
}

.testimonial-card footer strong {
  font-size: 14px;
}

.testimonial-card footer span {
  font-size: 12px;
  color: var(--gray-400);
}

/* ---- FAQ ---- */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-item summary {
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

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

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform var(--transition);
}

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

.faq-item summary:hover {
  color: var(--gray-500);
}

.faq-item p {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---- CTA ---- */
.cta {
  background: var(--off-white);
}

.cta-box {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  box-shadow: var(--shadow-lg);
  opacity: 1;
  transform: none;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta-box>p {
  font-size: 17px;
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.store-btn:hover {
  background: var(--gray-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-btn div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn small {
  font-size: 10px;
  opacity: 0.7;
}

.store-btn strong {
  font-size: 15px;
}

/* ---- Contact ---- */
.contact-section {
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.contact-lead {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
  max-width: 320px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}

.contact-list a {
  font-size: 14px;
  color: var(--black);
  transition: color var(--transition);
}

.contact-list a:hover {
  color: var(--gray-500);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label,
.form-row-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.form-row label span,
.form-row-label span {
  color: #dc2626;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-type-toggle {
  display: flex;
  gap: 10px;
}

.contact-type-option {
  flex: 1;
  cursor: pointer;
}

.contact-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-type-option span {
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.contact-type-option input:checked+span {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.investor-booking {
  margin-bottom: 18px;
  padding: 18px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px dashed var(--gray-200);
}

.investor-booking.hidden {
  display: none;
}

.investor-booking-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--black);
}

.booking-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.booking-fields .form-row {
  margin-bottom: 0;
}

.investor-booking-note {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 12px;
}

.contact-form-status {
  font-size: 13px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.contact-form-status.hidden {
  display: none;
}

.contact-form-status.success {
  background: #ecfdf5;
  color: #047857;
}

.contact-form-status.error {
  background: #fef2f2;
  color: #b91c1c;
}

.contact-submit {
  width: 100%;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .booking-fields {
    grid-template-columns: 1fr;
  }
}

/* ---- Footer ---- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-400);
  margin-top: 16px;
  max-width: 260px;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--gray-400);
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--gray-500);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--black);
}

.footer-bottom {
  border-top: 1px solid var(--gray-100);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-400);
}

/* ---- Reveal helper ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-shape {
    top: -100px;
    left: -24px;
    width: calc(100% + 40px);
    transform: rotate(3deg);
    border-radius: 0 0 5rem 0;
    background-position: center 20px;
  }

  html[dir="rtl"] .hero-shape {
    right: -24px;
    transform: rotate(-3deg);
    border-radius: 0 0 0 5rem;
  }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-bottom: 48px;
  }

  .hero-phone-col {
    order: -1;
  }

  .hero-phone-img {
    max-width: 220px;
    max-height: min(52vh, 440px);
    transform: rotate(-4deg);
  }

  html[dir="rtl"] .hero-phone-img {
    transform: rotate(4deg);
  }

  .hero-content-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle-light {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-store-buttons {
    justify-content: center;
  }

  .hero-stats-light {
    justify-content: center;
  }

  .phone-frame-elevated {
    transform: none;
    width: 280px;
  }

  .hero-phone {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .audience-grid-reverse {
    direction: ltr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-shape {
    top: -60px;
    left: -16px;
    width: calc(100% + 32px);
    height: calc(100% + 40px);
    transform: rotate(2deg);
    border-radius: 0 0 3rem 0;
    background-size: cover;
    background-position: 55% 30px;
  }

  html[dir="rtl"] .hero-shape {
    right: -16px;
    transform: rotate(-2deg);
    border-radius: 0 0 0 3rem;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .lang-switcher {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    color: var(--black);
  }

  html[dir="rtl"] .nav-links.open {
    left: 0;
    right: 0;
  }

  .nav-dark .nav-links.open a {
    color: var(--gray-600);
  }

  .nav-actions.open {
    display: flex;
    position: fixed;
    top: calc(var(--nav-height) + 220px);
    left: 24px;
    right: 24px;
    flex-direction: column;
  }

  .nav-actions.open .lang-switcher {
    display: block;
    width: 100%;
  }

  .nav-actions.open .lang-toggle {
    width: 100%;
    justify-content: center;
    color: var(--black);
    border-color: var(--gray-200);
  }

  .nav-actions.open .lang-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--gray-100);
    margin-top: 8px;
    max-height: 200px;
  }

  .section {
    padding: 72px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .step {
    flex-direction: column;
    gap: 12px;
  }

  .step-number {
    font-size: 36px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: -1px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}


.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}


/* ===================== PRELOADER 3D (minimal) ===================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader.done {
  pointer-events: none;
}

.preloader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform-origin: center center;
  will-change: transform, opacity;
}

.preloader-logo-scene {
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader.zoom-out {
  overflow: visible;
}

#preloader-canvas {
  display: block;
  width: 104px !important;
  height: 104px !important;
}

.preloader-label {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  opacity: 0;
  animation: preloader-label-in 0.6s ease 0.4s forwards, preloader-label-pulse 1.6s ease-in-out 1s infinite;
}

@keyframes preloader-label-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloader-label-pulse {

  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

.preloader.exit {
  pointer-events: none;
}

.preloader.exit .preloader-label {
  animation: none;
  opacity: 0;
}

/* ---- Inner pages ---- */
.inner-page main {
  padding-top: var(--nav-height);
}

.legal-page main {
  padding-top: var(--nav-height);
}

.page-hero {
  padding: 80px 0 64px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
}

.page-hero-moroccan {
  position: relative;
  background: var(--black);
  border-bottom: none;
  overflow: hidden;
  padding: 100px 0 72px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-moroccan .page-hero-content {
  position: relative;
  z-index: 2;
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

.page-title-light {
  color: var(--white);
}

.page-title-light em {
  color: rgba(255, 255, 255, 0.85);
}

.page-subtitle-light {
  color: rgba(255, 255, 255, 0.65);
}

/* Font Awesome icon blocks */
.trust-icon i,
.value-icon i,
.service-card-icon i,
.visual-service-icon i,
.help-cta-icon i {
  font-size: 1.35em;
  line-height: 1;
}

.trust-icon,
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  font-size: 22px;
  margin-bottom: 12px;
  text-align: center;
}

.service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  font-size: 22px;
  color: var(--black);
  margin-bottom: 16px;
}

.visual-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 18px;
  flex-shrink: 0;
}

.help-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  margin-bottom: 16px;
}

.phone-cat i {
  font-size: 18px;
  color: var(--black);
  margin-bottom: 2px;
}

.contact-map-placeholder i {
  font-size: 18px;
  color: var(--gray-500);
}

.page-hero-sm {
  padding: 64px 0 48px;
}

.page-hero-content {
  max-width: 720px;
}

.page-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.page-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 560px;
}

.section-alt {
  background: var(--off-white);
}

/* Help CTA (homepage) */
.help-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.help-cta-card {
  display: block;
  padding: 32px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.help-cta-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.help-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.help-cta-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.help-cta-card p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.help-cta-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.about-block p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
}

.value-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
}

.stat-card-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.stat-card-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* Services page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
}

.service-card-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  background: var(--gray-50);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.steps-compact {
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact extras */
.contact-map-placeholder {
  margin-top: 28px;
  padding: 20px;
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray-500);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

/* FAQ page */
.faq-categories {
  margin-bottom: 48px;
}

.faq-categories:last-of-type {
  margin-bottom: 0;
}

.faq-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.faq-bottom-cta {
  text-align: center;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-100);
}

.faq-bottom-cta p {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.faq-item p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Legal pages */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 36px 0 12px;
  letter-spacing: -0.3px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 0 0 16px 20px;
}

.legal-content li {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .help-cta-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 56px 0 40px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}