/* ============================================================
   ميثاق المودة — Landing Page Stylesheet
   Theme: Deep maroon + gold, Cairo, RTL, dark default + light
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* --- Theme Tokens ------------------------------------------ */

:root {
  /* Shared */
  --maroon-deep: #361619;
  --maroon: #5E262B;
  --maroon-soft: #7A3539;
  --maroon-light: #8E3B40;
  --gold-light: #F4EDE6;
  --gold: #BA9168;
  --gold-deep: #A5784B;
  --gold-bright: #C9A876;
  --sage: #565B3E;
  --sage-light: #767C55;
  --danger: #BF4040;
  --success: #00A856;

  /* Gradients */
  --grad-primary: radial-gradient(circle, #5E262B 0%, #361619 100%);
  --grad-primary-soft: radial-gradient(circle at 50% 40%, #6E2E33 0%, #3A1A1D 100%);
  --grad-gold: linear-gradient(180deg, #CBAC8D 0%, #BA9168 100%);
  --grad-gold-exact: linear-gradient(180deg, #CBAC8D 0%, #BA9168 100%);
  --shadow-btn-primary: 0 4px 12px rgba(54, 22, 25, 0.25);

  /* Typography */
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-num: 'SF Pro Text', -apple-system, system-ui, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: clamp(4rem, 10vw, 8rem);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Z-index */
  --z-nav: 100;
  --z-overlay: 200;

  /* Container */
  --container: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.3s;
}

/* Light theme */
:root,
[data-theme="light"],
[data-theme="dark"] {
  --bg: #FBFBFB;
  --bg-elevated: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F6F2F3;
  --border: #DFDEDD;
  --border-strong: #5E262B;
  --text: #1A1A1A;
  --text-secondary: #666666;
  --text-muted: #666666;
  --text-on-maroon: #FFFFFF;
  --shadow-card: 0 4px 24px rgba(94, 38, 43, 0.06);
  --shadow-hover: 0 8px 32px rgba(94, 38, 43, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.70);
  --nav-border: #DFDEDD;
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.02) 100%);
}

/* --- Base body --------------------------------------------- */

body {
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

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

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

ul, ol { list-style: none; }

::selection {
  background: var(--gold);
  color: var(--maroon-deep);
}

/* --- Layout helpers ---------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: var(--space-2xl);
  scroll-margin-top: 80px;
}

.section--tight { padding-block: var(--space-xl); }

.section--dark {
  background: var(--bg-elevated);
}

/* Section header */
.section-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* Gold accent line under headings */
.section-head h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--grad-gold);
  border-radius: var(--r-pill);
  margin: var(--space-sm) auto 0;
}

/* --- Buttons ----------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 48px;
}

.btn--primary {
  background: var(--grad-primary-radial);
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: var(--shadow-btn-primary);
}

.btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--grad-gold-exact);
  color: #1A1A1A;
  font-weight: 800;
}

.btn--gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--outline {
  border: 1.5px solid var(--border-strong);
  color: var(--text);
}

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

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  min-height: 40px;
}

.btn--block { width: 100%; }

/* --- Navigation -------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
  background: var(--nav-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.04);
  transition: all var(--dur) var(--ease);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 80px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 60px;
  width: auto;
  max-width: 220px;
  display: block;
}

.footer__brand-name .nav__logo-img {
  height: 84px;
  max-width: 300px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.nav__links a {
  font-size: 1rem;
  font-weight: 600;
  color: #666666;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--maroon);
  font-weight: 800;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  transition: all var(--dur) var(--ease);
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--gold);
  background: var(--surface);
}

.theme-toggle svg { width: 20px; height: 20px; }

/* Show the TARGET theme icon: dark → sun (switch to light), light → moon (switch to dark) */
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* Mobile menu toggle */
.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  place-items: center;
  color: var(--text);
}

.nav__burger svg { width: 24px; height: 24px; }

/* --- Hero -------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 80px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

/* Hero trust badge */
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(244, 237, 230, 0.2);
  color: var(--gold-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__trust svg {
  width: 18px;
  height: 18px;
  color: var(--gold-bright);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-block: var(--space-2xl);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(244, 237, 230, 0.08);
  border: 1px solid rgba(244, 237, 230, 0.12);
  color: var(--gold-light);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
  letter-spacing: 0;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: var(--space-md);
}

.hero__desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(244, 237, 230, 0.75);
  margin-bottom: var(--space-lg);
  max-width: 560px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--space-xl);
}

.hero__stats {
  display: flex;
  gap: clamp(1.5rem, 5vw, 3rem);
  flex-wrap: wrap;
}

.hero__stat-value {
  font-family: var(--font-num);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-bright);
  display: block;
}

.hero__stat-label {
  font-size: 0.875rem;
  color: rgba(244, 237, 230, 0.6);
}

/* App download badges */
.app-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(244, 237, 230, 0.15);
  transition: all var(--dur) var(--ease);
}

.hero .app-badge {
  background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .app-badge {
  background: var(--surface);
  border-color: var(--border);
}

.app-badge:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.app-badge__icon { width: 28px; height: 28px; flex-shrink: 0; }

.app-badge__text { display: flex; flex-direction: column; line-height: 1.2; }

.app-badge__small {
  font-size: 0.625rem;
  opacity: 0.7;
}

.app-badge__big {
  font-size: 0.9375rem;
  font-weight: 700;
}

/* --- Features ---------------------------------------------- */

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.feature-card {
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
}

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

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(94, 38, 43, 0.08);
  display: grid;
  place-items: center;
  color: var(--maroon);
  margin-bottom: var(--space-md);
}

.feature-card__icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Services ---------------------------------------------- */

.services {
  background: var(--bg-elevated);
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 860px;
  margin-inline: auto;
}

.service-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
}

.service-item:hover {
  background: #F6F2F3;
  border-color: var(--maroon);
  transform: translateY(-4px);
}

.service-item__number {
  font-family: var(--font-num);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--maroon);
  flex-shrink: 0;
  min-width: 3rem;
}

.service-item__body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-item__body p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* --- Journey ----------------------------------------------- */

.journey__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  position: relative;
}

.journey__step {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  position: relative;
}

.journey__step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-family: var(--font-num);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto var(--space-md);
  position: relative;
  z-index: 1;
}

.journey__step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.journey__step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Connecting line (horizontal on desktop) */
.journey__steps::before {
  content: '';
  position: absolute;
  top: calc(var(--space-lg) + 28px);
  inset-inline: 10%;
  height: 2px;
  background: linear-gradient(to left, var(--gold) 0%, transparent 100%);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .journey__steps::before { display: none; }
}

/* --- Pricing ----------------------------------------------- */

.pricing {
  background: var(--bg);
}

.pricing__toggle {
  display: inline-flex;
  background: #F6F6F6;
  border: 1px solid #DFDEDD;
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 4px;
  margin: 0 auto var(--space-lg);
  display: flex;
  width: max-content;
  max-width: 100%;
}
.pricing__toggle-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  background: transparent;
  color: #1A1A1A;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.pricing__toggle-btn.is-active {
  background: var(--grad-gold-exact);
  color: #1A1A1A;
}
.pricing__toggle-btn:not(.is-active):hover {
  color: var(--maroon);
}

.pricing__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 980px;
  margin-inline: auto;
}

.price-card {
  padding: 1.25rem 1.5rem;
  background: #F6F6F6;
  border: 1px solid #DFDEDD;
  border-radius: 40px;
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(150px, 0.8fr) minmax(0, 2fr) minmax(130px, 0.8fr);
  align-items: center;
  gap: var(--space-md);
  position: relative;
  transition: all var(--dur) var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.price-card--popular {
  background: #F6F2F3;
  border-color: var(--maroon);
  box-shadow: var(--shadow-card);
}

.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-gold-exact);
  color: #1A1A1A;
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 0.35rem 1.75rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  z-index: 1;
  min-width: max-content;
}

.price-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #1A1A1A;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0;
}

.price-card__amount {
  font-family: var(--font-num);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}

.price-card__period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.price-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0;
}

.price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.price-card__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--maroon);
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F4EDE6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

[data-theme="light"] .price-card__features li::before {
  background-color: var(--maroon);
}

.pricing__note {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- About ------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.about__card {
  padding: var(--space-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.about__card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--gold);
}

.about__card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.about__goals {
  max-width: 720px;
  margin-inline: auto;
}

.about__goals-title {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.about__goals li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.about__goals li:last-child { border-bottom: none; }

.about__goals li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 10px;
}

/* --- Testimonials ------------------------------------------ */

.testimonials {
  background: var(--bg-elevated);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.testimonial-card {
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonial-card__quote-mark {
  font-size: 3rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.4;
  font-family: serif;
}

.testimonial-card__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
  flex-grow: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- FAQ --------------------------------------------------- */

.faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.faq-item[open] {
  background: #F6F2F3;
  border-color: var(--maroon);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: start;
  list-style: none;
}

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

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--maroon);
  transition: transform var(--dur) var(--ease);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Guide ------------------------------------------------- */

.guide__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  max-width: 860px;
  margin-inline: auto;
}

.guide__step {
  text-align: center;
  padding: var(--space-lg);
}

.guide__step-num {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  background: var(--grad-primary);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-family: var(--font-num);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto var(--space-md);
}

.guide__step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.guide__step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.guide__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* --- Contact ----------------------------------------------- */

.contact {
  background: var(--bg-elevated);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease);
}

.contact__item:hover {
  background: #F6F2F3;
  border-color: var(--maroon);
}

.contact__item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(94, 38, 43, 0.08);
  color: var(--maroon);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact__item-icon svg { width: 22px; height: 22px; }

.contact__item-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact__item-value {
  font-weight: 600;
  font-size: 0.9375rem;
  direction: ltr;
  text-align: start;
}

.contact__item-value--rtl {
  direction: rtl;
  text-align: start;
}

/* Contact visual side */
.contact__visual {
  background: var(--grad-primary);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  color: var(--gold-light);
  position: relative;
  overflow: hidden;
}

.contact__visual::before {
  content: '';
  position: absolute;
  top: -50%;
  inset-inline-end: -30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.1;
  filter: blur(60px);
}

.contact__visual h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  position: relative;
}

.contact__visual p {
  color: rgba(244, 237, 230, 0.7);
  margin-bottom: var(--space-lg);
  position: relative;
}

.contact__social {
  display: flex;
  gap: 0.75rem;
  position: relative;
}

.contact__social a {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(244, 237, 230, 0.08);
  border: 1px solid rgba(244, 237, 230, 0.12);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  transition: all var(--dur) var(--ease);
}

.contact__social a:hover {
  background: var(--gold);
  color: var(--maroon-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contact__social svg { width: 20px; height: 20px; }

/* Consultant CTA banner */
.consultant-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  text-align: center;
  margin-top: var(--space-xl);
}

.consultant-cta h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.consultant-cta p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

/* --- Footer ------------------------------------------------ */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-block: var(--space-xl) var(--space-lg);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__brand-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer__about {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer__col h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer__col a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__legal a:hover {
  color: var(--gold);
}

/* --- Legal pages ------------------------------------------- */

.legal-page {
  padding-top: calc(80px + var(--space-xl));
  padding-bottom: var(--space-2xl);
  min-height: 80svh;
}

.legal-page__inner {
  max-width: 760px;
  margin-inline: auto;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.legal-page__updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.legal-page__intro {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: var(--space-xl);
}

.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
  transition: color var(--dur) var(--ease);
}

.legal-back:hover {
  color: var(--gold);
}

/* --- Scroll reveal animation ------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* --- Responsive nav ---------------------------------------- */

@media (max-width: 1024px) {
  .nav__links {
    position: fixed;
    top: 80px;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--space-md);
    gap: 0;
    border-bottom: 1px solid var(--nav-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--dur) var(--ease);
    max-height: calc(100svh - 80px);
    overflow-y: auto;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links a {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--r-sm);
    border-bottom: 1px solid var(--border);
  }

  .nav__links a::after { display: none; }

  .nav__burger {
    display: grid;
  }
}

@media (max-width: 768px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { gap: var(--space-lg); }
  .service-item {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .whatsapp-fab {
    bottom: 1rem;
    inset-inline-start: 1rem;
    width: 48px;
    height: 48px;
  }
  .whatsapp-fab svg { width: 24px; height: 24px; }
}

/* --- Reduced motion ---------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

/* --- Focus visible ----------------------------------------- */

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

/* --- WhatsApp floating button ------------------------------ */

.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: var(--z-nav);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--dur) var(--ease);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
}

.whatsapp-fab svg { width: 28px; height: 28px; }

/* --- Skip link (a11y) -------------------------------------- */

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 1rem;
  z-index: var(--z-overlay);
  padding: 0.75rem 1.5rem;
  background: var(--maroon);
  color: var(--gold-light);
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.875rem;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* --- Promotional banner ------------------------------------ */

.promo-banner {
  background: var(--grad-gold-exact);
  color: #1A1A1A;
  font-size: 0.875rem;
  font-weight: 600;
  position: relative;
  z-index: var(--z-nav);
}

.promo-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-block: 0.5rem;
  flex-wrap: wrap;
}

.promo-banner__text {
  flex: 1;
  text-align: center;
}

.promo-banner__cta {
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

.promo-banner__close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--maroon-deep);
  opacity: 0.6;
  transition: opacity var(--dur) var(--ease);
  flex-shrink: 0;
}

.promo-banner__close:hover { opacity: 1; }
.promo-banner__close svg { width: 16px; height: 16px; }

.promo-banner.is-hidden { display: none; }

/* --- Cookie consent ---------------------------------------- */

.cookie-consent {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: var(--z-overlay);
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: var(--space-md);
}

.cookie-consent__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-consent__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-consent__text a {
  color: var(--maroon);
  text-decoration: underline;
}

.cookie-consent[hidden] { display: none; }

/* --- Testimonial ratings ----------------------------------- */

.testimonial-card__rating {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.testimonial-card__rating svg {
  width: 18px;
  height: 18px;
}

/* --- About visual (product screenshot) --------------------- */

.about__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.about__visual img {
  max-height: 400px;
  width: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .about__visual img { max-height: 320px; }
}
