/* ═══════════════════════════════════════════════════════════
   ACOA BPMS — پلتفرم مدیریت کسب‌وکار چندمجموعه‌ای
   Dark charcoal + gold brand | RTL | Mobile-first | No frameworks
   ═══════════════════════════════════════════════════════════ */

/* ---------- Fonts (bundled Vazirmatn) ---------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #14100c;
  --bg-2: #1a1410;
  --surface: #1f1813;
  --surface-2: #262019;
  --border: rgba(212, 169, 106, 0.14);
  --border-strong: rgba(212, 169, 106, 0.32);
  --gold: #d4a96a;
  --gold-light: #e8c795;
  --gold-dark: #b8874a;
  --terra: #c67b4e;
  --text: #f0e9df;
  --text-soft: #c9bfae;
  --muted: #a89e90;
  --green: #8fae74;
  --teal: #6aa39a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --glow: 0 0 60px rgba(212, 169, 106, 0.12);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 0.8, 0.36, 1);
  --container: 1180px;
}

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

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

body {
  font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

::selection { background: rgba(212, 169, 106, 0.35); color: #fff; }

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

/* Persian numerals by default where supported */
body { font-feature-settings: 'ss01'; }

/* ---------- Utilities ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container-narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

.section { padding: 4.5rem 0 5rem; position: relative; }
.section-alt {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 169, 106, 0.05), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--border);
}

/* Skip link */
.skip-link {
  position: fixed;
  top: -60px;
  right: 1rem;
  z-index: 200;
  background: var(--gold);
  color: #14100c;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.6rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 0.95rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #191207;
  box-shadow: 0 6px 24px rgba(212, 169, 106, 0.28);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212, 169, 106, 0.42);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  background: rgba(212, 169, 106, 0.06);
}
.btn-ghost:hover { background: rgba(212, 169, 106, 0.14); transform: translateY(-2px); }

.btn-outline-gold {
  border: 1.5px solid var(--border-strong);
  color: var(--gold);
}
.btn-outline-gold:hover {
  background: rgba(212, 169, 106, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-dark {
  background: #191207;
  color: var(--gold-light);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}
.btn-dark:hover { transform: translateY(-2px); background: #241a0d; }

.btn-ghost-dark {
  border: 1px solid rgba(240, 233, 223, 0.3);
  color: var(--text);
}
.btn-ghost-dark:hover { background: rgba(240, 233, 223, 0.1); }

.btn-disabled, .btn-disabled:hover {
  cursor: default;
  border: 1px dashed var(--border-strong);
  color: var(--muted);
  transform: none !important;
  box-shadow: none !important;
}

/* ═════════════ NAVBAR ═════════════ */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(20, 16, 12, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(20, 16, 12, 0.9);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-mark { flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(212, 169, 106, 0.35)); }
.brand-text {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  direction: ltr;
}
.brand-text small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--gold);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.4rem;
}
.nav-links a:not(.btn) {
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  inset-inline: 0.85rem;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--gold-light); }
.nav-links a:not(.btn):hover::after { transform: scaleX(0.55); }
.nav-links a.is-active { color: var(--gold); }
.nav-links a.is-active::after { transform: scaleX(1); }
.btn-nav { margin-inline-start: 0.8rem; }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(212, 169, 106, 0.05);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu open state */
.nav.is-open .nav-links {
  display: flex;
  position: fixed;
  inset-inline: 0;
  top: var(--nav-h);
  bottom: auto;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  padding: 1rem 1.4rem 1.6rem;
  background: rgba(20, 16, 12, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: menuIn 0.3s var(--ease);
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav.is-open .nav-links a:not(.btn) { padding: 0.75rem 1rem; font-size: 1.05rem; }
.nav.is-open .nav-links a:not(.btn)::after { display: none; }
.nav.is-open .btn-nav { margin: 0.75rem 0 0; }

/* ═════════════ HERO ═════════════ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) 0 4.5rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 78% 18%, rgba(212, 169, 106, 0.13), transparent 65%),
    radial-gradient(ellipse 45% 40% at 12% 75%, rgba(198, 123, 78, 0.08), transparent 65%);
}
.hero-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 52 16v32L28 62 4 48V16Z' fill='none' stroke='%23d4a96a' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 85%);
}

.hero-grid { display: grid; gap: 3rem; position: relative; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(212, 169, 106, 0.08);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.badge svg { color: var(--terra); }

.hero h1 {
  font-size: clamp(1.75rem, 5.6vw, 3.3rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.grad-text {
  background: linear-gradient(120deg, var(--gold-light) 10%, var(--gold) 45%, var(--terra) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text-soft);
  font-size: clamp(0.98rem, 2.5vw, 1.13rem);
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero-sub strong { color: var(--gold-light); font-weight: 500; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--bg-2);
  padding: 1.1rem 0.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.stat-num {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.85rem; color: var(--muted); }

/* Hero art */
.hero-art { position: relative; }
.hero-frame {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow), var(--glow);
  transform: perspective(1200px) rotateY(-3deg);
  transition: transform 0.5s var(--ease);
}
.hero-frame:hover { transform: perspective(1200px) rotateY(0deg); }
.hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(20, 16, 12, 0.55));
  z-index: 1;
}
.hero-frame img { width: 100%; }

.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: 100px;
  background: rgba(31, 24, 19, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: chipFloat 5s ease-in-out infinite;
}
.hero-chip svg { color: var(--gold); flex-shrink: 0; }
.hero-chip-1 { top: 9%; inset-inline-start: -6px; }
.hero-chip-2 { bottom: 18%; inset-inline-end: -8px; animation-delay: 1.4s; }
.hero-chip-3 { bottom: -14px; inset-inline-start: 14%; animation-delay: 2.6s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ═════════════ SECTION HEADERS ═════════════ */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  background: rgba(212, 169, 106, 0.09);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.section-head h2 {
  font-size: clamp(1.45rem, 4.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0.7rem;
}
.section-lead { color: var(--muted); font-size: 1rem; }

/* ═════════════ CARDS ═════════════ */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
.card {
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow), var(--glow);
}

/* Problem cards */
.problem-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--terra);
  background: rgba(198, 123, 78, 0.1);
  border: 1px solid rgba(198, 123, 78, 0.25);
  margin-bottom: 1.15rem;
}
.problem-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.problem-pain { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.problem-solution {
  border-top: 1px dashed var(--border-strong);
  padding-top: 1.05rem;
}
.ps-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 169, 106, 0.12);
  padding: 0.15rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}
.problem-solution p { font-size: 0.95rem; color: var(--text-soft); }

/* Feature cards */
.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: linear-gradient(150deg, rgba(212, 169, 106, 0.16), rgba(198, 123, 78, 0.08));
  border: 1px solid var(--border-strong);
  margin-bottom: 1.15rem;
  transition: transform 0.3s var(--ease);
}
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.06); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.feature-tags li {
  font-size: 0.75rem;
  color: var(--gold-light);
  background: rgba(212, 169, 106, 0.08);
  border: 1px solid var(--border);
  padding: 0.18rem 0.65rem;
  border-radius: 100px;
}

/* ═════════════ MODULES ═════════════ */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.9rem;
}
.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.15rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.cat-btn:hover { border-color: var(--border-strong); color: var(--gold-light); }
.cat-btn.is-active {
  background: rgba(212, 169, 106, 0.13);
  border-color: var(--gold);
  color: var(--gold);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-biz { background: var(--gold); box-shadow: 0 0 8px rgba(212, 169, 106, 0.6); }
.dot-fin { background: var(--green); box-shadow: 0 0 8px rgba(143, 174, 116, 0.55); }
.dot-ai { background: var(--terra); box-shadow: 0 0 8px rgba(198, 123, 78, 0.55); }
.dot-sup { background: var(--teal); box-shadow: 0 0 8px rgba(106, 163, 154, 0.55); }
.dot-tool { background: var(--muted); box-shadow: 0 0 8px rgba(168, 158, 144, 0.45); }

.modules-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 1.25rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease), opacity 0.3s var(--ease);
}
.chip:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  color: var(--gold-light);
}
.chip.is-hidden { display: none; }
.chip-wide { border-radius: 100px; }

/* ═════════════ STEPS ═════════════ */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.4rem; counter-reset: step; }
.step {
  position: relative;
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.step-num {
  width: 52px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #191207;
  background: linear-gradient(150deg, var(--gold-light), var(--gold-dark));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ═════════════ CASES ═════════════ */
.case-card { display: flex; flex-direction: column; gap: 0.95rem; }
.case-top { display: flex; align-items: center; gap: 0.9rem; }
.case-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #191207;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--gold-light), var(--gold-dark));
}
.avatar-2 { background: linear-gradient(150deg, #b9c99a, #7d9a5e); }
.avatar-3 { background: linear-gradient(150deg, #d8a583, #b36740); color: #221007; }
.case-top h3 { font-size: 1.1rem; line-height: 1.5; }
.case-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9fd08a;
  background: rgba(143, 174, 116, 0.12);
  border: 1px solid rgba(143, 174, 116, 0.35);
  border-radius: 100px;
  padding: 0.1rem 0.6rem;
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9fd08a;
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(159, 208, 138, 0.5); }
  60% { box-shadow: 0 0 0 6px rgba(159, 208, 138, 0); }
}
.case-soon {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 169, 106, 0.1);
  border: 1px dashed var(--border-strong);
  border-radius: 100px;
  padding: 0.12rem 0.65rem;
}
.case-desc { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.case-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.6rem;
}
.case-stats li {
  background: rgba(212, 169, 106, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.case-stats strong { color: var(--gold); font-size: 0.98rem; }
.case-stats span { color: var(--muted); font-size: 0.76rem; }
.case-card .btn { align-self: flex-start; }

/* ═════════════ TESTIMONIAL SLIDER ═════════════ */
.t-slider {
  margin-top: 2.6rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  padding: 0 2.9rem;
}
.t-viewport { overflow: hidden; border-radius: var(--radius); }
.t-track {
  display: flex;
  transition: transform 0.55s var(--ease);
}
.t-slide {
  min-width: 100%;
  text-align: center;
  padding: 2.2rem 1.2rem 1.9rem;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(212, 169, 106, 0.09), transparent 70%),
    linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.t-slide blockquote {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  line-height: 2.05;
  color: var(--text-soft);
  max-width: 44ch;
  margin: 0 auto 1.4rem;
  position: relative;
}
.t-slide blockquote::before {
  content: '«';
  display: block;
  font-size: 3.4rem;
  line-height: 0.6;
  color: rgba(212, 169, 106, 0.35);
  margin-bottom: 0.9rem;
}
.t-slide figcaption { display: flex; flex-direction: column; gap: 0.15rem; }
.t-author { font-weight: 700; color: var(--gold); }
.t-role { font-size: 0.85rem; color: var(--muted); }
.t-slide[aria-hidden='true'] { visibility: hidden; }

.t-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--gold);
  z-index: 2;
  transition: all 0.25s var(--ease);
}
.t-arrow:hover { background: var(--gold); color: #191207; border-color: var(--gold); }
.t-prev { right: 0; }
.t-next { left: 0; }

.t-dots { display: flex; justify-content: center; gap: 0.5rem; }
.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 100px;
  background: var(--border-strong);
  transition: all 0.3s var(--ease);
  padding: 0;
}
.t-dot.is-active { width: 26px; background: var(--gold); }

/* ═════════════ PRICING ═════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
}
.plan-name { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-bottom: 0.5rem; }
.plan-price {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}
.plan-for { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.3rem; }
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: right;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}
.plan-features li {
  position: relative;
  padding-inline-start: 1.9rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.plan-features li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7-8' fill='none' stroke='%23d4a96a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat,
    rgba(212, 169, 106, 0.1);
}
.price-card .btn { align-self: center; }

.price-featured {
  border: 1.5px solid var(--gold);
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(212, 169, 106, 0.14), transparent 70%),
    linear-gradient(165deg, var(--surface-2), var(--bg-2));
  box-shadow: 0 18px 50px rgba(212, 169, 106, 0.13);
}
.plan-ribbon {
  position: absolute;
  top: -15px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #191207;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 1.15rem;
  border-radius: 100px;
  box-shadow: 0 6px 18px rgba(212, 169, 106, 0.35);
  white-space: nowrap;
}
[dir='rtl'] .plan-ribbon { transform: translateX(50%); }
.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 1.9rem;
}
.pricing-note strong { color: var(--gold); }

/* ═════════════ FAQ ═════════════ */
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease);
}
.faq-item:has(.faq-q[aria-expanded='true']) { border-color: var(--border-strong); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: right;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s var(--ease);
}
.faq-q:hover { color: var(--gold-light); }
.faq-icon {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}
.faq-q[aria-expanded='true'] .faq-icon { transform: rotate(135deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0 1.35rem;
}
.faq-a.is-open { max-height: 420px; opacity: 1; padding: 0.2rem 1.35rem 1.3rem; }
.faq-a p { color: var(--muted); font-size: 0.95rem; }
.faq-a strong { color: var(--gold-light); font-weight: 500; }

/* ═════════════ CTA BAND ═════════════ */
.cta-band {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  isolation: isolate;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(24, 17, 10, 0.88), rgba(24, 17, 10, 0.94)),
    url('../images/og.png') center / cover no-repeat;
}
.cta-inner { text-align: center; }
.cta-inner h2 {
  font-size: clamp(1.5rem, 4.6vw, 2.4rem);
  font-weight: 700;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.9rem;
}
.cta-inner > p {
  color: var(--text-soft);
  max-width: 52ch;
  margin: 0 auto 2rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
}
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gold-light);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.9rem;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  transition: all 0.25s var(--ease);
}
.cta-phone:hover { border-style: solid; background: rgba(212, 169, 106, 0.07); }

/* ═════════════ CONTACT ═════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: start;
}
.contact-info h3 { font-size: 1.2rem; margin-bottom: 1.3rem; }
.contact-list { display: flex; flex-direction: column; gap: 1.05rem; margin-bottom: 1.6rem; }
.contact-list li { display: flex; align-items: center; gap: 0.95rem; }
.ci-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--gold);
  background: rgba(212, 169, 106, 0.08);
  border: 1px solid var(--border);
}
.contact-list > li > div { display: flex; flex-direction: column; line-height: 1.7; }
.ci-label { font-size: 0.78rem; color: var(--muted); }
.ci-value { font-weight: 700; font-size: 1.02rem; color: var(--text); }
a.ci-value:hover { color: var(--gold); }

.contact-social { display: flex; gap: 0.7rem; }
.social-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  color: var(--gold);
  background: rgba(212, 169, 106, 0.05);
  transition: all 0.25s var(--ease);
}
.social-link:hover {
  background: var(--gold);
  color: #191207;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(212, 169, 106, 0.3);
}

/* Form */
.contact-form h3 { font-size: 1.2rem; margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-field label { font-size: 0.88rem; font-weight: 500; color: var(--text-soft); }
.req { color: var(--terra); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.78rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a96a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 16px;
  padding-inline-end: 1rem;
}
.form-field select option { background: var(--surface); color: var(--text); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(168, 158, 144, 0.55); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 169, 106, 0.15);
}
.form-field input.is-invalid { border-color: #c96a5a; box-shadow: 0 0 0 3px rgba(201, 106, 90, 0.15); }
.form-hint { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.8rem; }

/* ═════════════ FOOTER ═════════════ */
.footer {
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(212, 169, 106, 0.05), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3.2rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding-bottom: 2.6rem;
}
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 1rem; max-width: 38ch; }
.footer-note {
  border-inline-start: 2px solid var(--gold-dark);
  padding-inline-start: 0.9rem;
  color: var(--gold-light) !important;
  font-size: 0.85rem !important;
}
.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col h3.mt { margin-top: 1.6rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease), padding-inline-start 0.25s var(--ease);
}
.footer-col a:hover { color: var(--gold); padding-inline-start: 4px; }

.footer-bottom { border-top: 1px solid var(--border); padding: 1.15rem 0; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-made {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ═════════════ TOAST ═════════════ */
.toast {
  position: fixed;
  bottom: 1.2rem;
  inset-inline: 1.2rem;
  z-index: 150;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: toastIn 0.35s var(--ease);
  max-width: 480px;
  margin-inline: auto;
}
.toast[hidden] { display: none; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.toast-body { display: flex; align-items: flex-start; gap: 0.8rem; }
.toast-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #9fd08a;
  background: rgba(143, 174, 116, 0.14);
  border: 1px solid rgba(143, 174, 116, 0.35);
}
.toast-text { display: flex; flex-direction: column; line-height: 1.7; }
.toast-text strong { font-size: 0.95rem; }
.toast-text span { font-size: 0.82rem; color: var(--muted); }
.toast-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.toast-close {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 0.9rem;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.toast-close:hover { background: rgba(240, 233, 223, 0.1); color: var(--text); }

/* ═════════════ SCROLL REVEAL ═════════════ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

/* ═════════════ RESPONSIVE ═════════════ */
@media (min-width: 576px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .toast { inset-inline: auto; right: 1.2rem; bottom: 1.2rem; }
  [dir='rtl'] .toast { right: auto; left: 1.2rem; }
}

@media (min-width: 768px) {
  .section { padding: 5.5rem 0 6rem; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.15fr; }
  .hero { padding-top: calc(var(--nav-h) + 5rem); }
}

@media (min-width: 992px) {
  .nav-links { display: inline-flex; }
  .nav-toggle { display: none; }
  /* safety: reset overlay styles if menu was left open before resize */
  .nav.is-open .nav-links {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    animation: none;
  }
  .nav.is-open .nav-links a:not(.btn) { padding: 0.45rem 0.85rem; font-size: 0.95rem; }
  .nav.is-open .nav-links a:not(.btn)::after { display: block; }
  .nav.is-open .btn-nav { margin: 0 0 0 0.8rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 3.5rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 42px;
    inset-inline-start: calc(100% - 14px);
    width: 28px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold-dark) 0 6px, transparent 6px 12px);
    opacity: 0.55;
    z-index: -1;
  }
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
  .price-featured { transform: scale(1.035); }
  .price-featured:hover { transform: scale(1.035) translateY(-5px); }
  .t-slider { grid-template-columns: 44px 1fr 44px; gap: 1.1rem; padding: 0; }
  .t-arrow { position: static; transform: none; align-self: center; }
  .t-dots { grid-column: 1 / -1; }
}

/* ─── Services CTA ─── */
.services-cta {
  margin-top: 2.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.services-cta p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
