/* ==========================================================================
   Nikkah Matrimonial Ltd — Halal Islamic Matrimonial Services
   Fast, responsive, dependency-free stylesheet
   ========================================================================== */

/* ----- Design tokens ----- */
:root {
  --bg: #ffffff;
  --bg-alt: #fbf4fb;
  --surface: #ffffff;
  --surface-2: #fdf2f9;
  --border: rgba(26, 16, 48, 0.08);
  --border-strong: rgba(26, 16, 48, 0.14);

  --text: #1c1233;
  --text-muted: #5b5473;
  --text-dim: #8b849e;

  --brand: #e6009c;      /* magenta / pink */
  --brand-2: #17a6e0;    /* blue */
  --accent: #8b2ff7;     /* purple midpoint */

  --grad: linear-gradient(120deg, #ec008c 0%, #a21ecf 48%, #17a6e0 100%);
  --grad-soft: linear-gradient(120deg, rgba(236, 0, 140, 0.10), rgba(23, 166, 224, 0.10));
  --grad-warm: linear-gradient(120deg, rgba(236, 0, 140, 0.14), rgba(139, 47, 247, 0.10) 55%, rgba(23, 166, 224, 0.12));

  /* surfaces that need an explicit backdrop (adapt per theme) */
  --header-bg: rgba(255, 255, 255, 0.78);
  --header-bg-solid: rgba(255, 255, 255, 0.92);
  --nav-bg: rgba(255, 255, 255, 0.98);
  --success: #17913f;
  --error: #d1145a;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow: 0 18px 50px -20px rgba(90, 20, 110, 0.28);
  --shadow-sm: 0 6px 22px -12px rgba(90, 20, 110, 0.28);

  --container: 1160px;
  --header-h: 74px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  color-scheme: light;
}

/* ----- Dark theme ----- */
:root[data-theme="dark"] {
  --bg: #120a1f;
  --bg-alt: #180d29;
  --surface: #1c1230;
  --surface-2: #241634;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.17);

  --text: #f3eefb;
  --text-muted: #bcb4d4;
  --text-dim: #8b84a5;

  --header-bg: rgba(18, 10, 31, 0.72);
  --header-bg-solid: rgba(18, 10, 31, 0.9);
  --nav-bg: rgba(20, 12, 34, 0.98);
  --success: #4ade80;
  --error: #ff6b9d;

  --shadow: 0 22px 60px -22px rgba(0, 0, 0, 0.65);
  --shadow-sm: 0 8px 26px -14px rgba(0, 0, 0, 0.6);

  color-scheme: dark;
}

/* Follow the OS preference until the visitor picks a theme explicitly */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120a1f;
    --bg-alt: #180d29;
    --surface: #1c1230;
    --surface-2: #241634;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.17);

    --text: #f3eefb;
    --text-muted: #bcb4d4;
    --text-dim: #8b84a5;

    --header-bg: rgba(18, 10, 31, 0.72);
    --header-bg-solid: rgba(18, 10, 31, 0.9);
    --nav-bg: rgba(20, 12, 34, 0.98);
    --success: #4ade80;
    --error: #ff6b9d;

    --shadow: 0 22px 60px -22px rgba(0, 0, 0, 0.65);
    --shadow-sm: 0 8px 26px -14px rgba(0, 0, 0, 0.6);

    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

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

::selection { background: rgba(236, 0, 140, 0.22); color: var(--text); }

/* ----- Utilities ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.arabic {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 600;
  direction: rtl;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(236, 0, 140, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(236, 0, 140, 0.7); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); border-color: var(--brand); }
.btn-block { width: 100%; margin-top: 6px; }
.btn-whatsapp {
  background: #25d366;
  color: #04250f;
  box-shadow: 0 10px 26px -10px rgba(37, 211, 102, 0.7);
}
.btn-whatsapp:hover { background: #1fbe5a; transform: translateY(-2px); }
.btn-whatsapp svg { flex-shrink: 0; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
@media (max-width: 480px) { .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; } }

/* ----- Header ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: var(--header-bg-solid);
  box-shadow: 0 6px 24px -18px rgba(90, 20, 110, 0.5);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* ----- Brand / logo ----- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad);
  box-shadow: 0 6px 16px -6px rgba(236, 0, 140, 0.5);
  flex-shrink: 0;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.brand-name {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-name .bn-1 { color: var(--brand-2); }  /* "Nik" — blue */
.brand-name .bn-2 { color: var(--brand); }     /* "kah" — magenta */
.brand-suffix { color: var(--text-dim); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }

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

/* ----- Theme toggle ----- */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); background: var(--surface-2); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav .nav-cta {
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  padding-inline: 20px;
  box-shadow: 0 8px 20px -10px rgba(236, 0, 140, 0.7);
}
.main-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 84px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(52% 50% at 82% 6%, rgba(23, 166, 224, 0.20), transparent 62%),
    radial-gradient(48% 48% at 10% 12%, rgba(236, 0, 140, 0.18), transparent 60%),
    radial-gradient(60% 55% at 50% 108%, rgba(139, 47, 247, 0.12), transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-content { max-width: 640px; }

.hero-title {
  font-size: clamp(2.15rem, 5.4vw, 3.7rem);
  margin-bottom: 20px;
  color: var(--text);
}
.hero-title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.24rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-sub strong { color: var(--text); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.hero-badges svg { color: var(--brand); }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--grad);
}
.hero-ring {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 6px auto 18px;
  border-radius: 50%;
  background: var(--grad-warm);
  border: 1px solid var(--border);
}
.hero-ring svg { width: 48px; height: 48px; color: var(--brand); }
.hero-card h3 { text-align: center; font-size: 1.3rem; margin-bottom: 6px; }
.hero-card > p { text-align: center; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 22px; }
.hero-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-mini div {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
}
.hero-mini strong {
  display: block;
  font-size: 1.3rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-mini span { font-size: 0.82rem; color: var(--text-muted); }

/* ----- Stats ----- */
.stats { padding: 4px 0 20px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: var(--text-muted); }

/* ----- Sections ----- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 700px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-lead { color: var(--text-muted); font-size: 1.06rem; }

/* ----- Feature cards ----- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--brand);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }

/* ----- How it works / process ----- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; }

/* ----- Values / split section ----- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  background: var(--grad);
  padding: 3px;
  box-shadow: var(--shadow);
}
.split-media-inner {
  border-radius: calc(var(--radius-lg) - 3px);
  background: var(--surface);
  padding: 40px 36px;
}
.value-list { display: grid; gap: 20px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--brand);
}
.value-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.value-item p { color: var(--text-muted); font-size: 0.95rem; }

.split-text h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 16px; }
.split-text > p { color: var(--text-muted); margin-bottom: 24px; }
.ayah {
  border-left: 3px solid var(--brand);
  padding: 6px 0 6px 18px;
  margin-top: 8px;
  font-style: italic;
  color: var(--text);
}
.ayah cite { display: block; font-style: normal; font-weight: 600; color: var(--text-dim); font-size: 0.86rem; margin-top: 6px; }

/* ----- Membership / pricing ----- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-featured {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--brand), var(--shadow);
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.plan-desc { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.plan-price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-price .period { color: var(--text-dim); font-size: 0.92rem; }
.plan-features { display: grid; gap: 11px; margin-bottom: 26px; }
.plan-features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.plan-note { text-align: center; color: var(--text-dim); font-size: 0.86rem; margin-top: 26px; }

/* ----- Success stories ----- */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.story {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.story-quote { color: var(--text); font-size: 1rem; margin-bottom: 20px; }
.story-quote::before { content: "\201C"; color: var(--brand); font-size: 2.4rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.story-author { display: flex; align-items: center; gap: 12px; }
.story-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.story-name { font-weight: 700; font-size: 0.95rem; }
.story-meta { color: var(--text-dim); font-size: 0.84rem; }

/* ----- FAQ ----- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq[open] summary::after { transform: rotate(-135deg); }
.faq-body { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.97rem; }

/* ----- CTA / Register ----- */
.cta-section { padding-bottom: 100px; }
.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  box-shadow: var(--shadow);
}
.cta-text h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.cta-text > p { color: var(--text-muted); }
.cta-contacts { margin-top: 24px; display: grid; gap: 12px; }
.cta-contacts li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-muted); }
.cta-contacts a:hover { color: var(--brand); }
.cta-contacts svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.cta-contacts address { font-style: normal; line-height: 1.5; }

.cta-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.88rem; font-weight: 700; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.98rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(236, 0, 140, 0.16);
}
.form-status { font-size: 0.92rem; min-height: 1.2em; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }
.form-consent { font-size: 0.82rem; color: var(--text-dim); }

/* ----- Footer ----- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); max-width: 360px; font-size: 0.95rem; }
.footer-address { display: block; margin-top: 14px; font-style: normal; color: var(--text-dim); font-size: 0.9rem; max-width: 360px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-nav h4 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.footer-nav ul { display: grid; gap: 9px; }
.footer-nav a { color: var(--text-muted); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 22px 30px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ----- Reveal animation ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .cta-card { grid-template-columns: 1fr; gap: 34px; padding: 40px 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 14px 22px 24px;
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 13px 16px; font-size: 1.02rem; }
  .main-nav .nav-cta { text-align: center; margin-top: 8px; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 32px 22px; }
}

/* ----- Motion / contrast preferences ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .hero-bg, .cta-form, .wa-float { display: none; }
  body { background: #fff; color: #000; }
}
