:root {
  /* ——— هوية رويال: ثروة، ثقة، استشارة راقية ——— */
  --bonds-white: #fffcf7;
  --bonds-blue: #1a4d7c;
  --bonds-gold-mid: #b8942f;
  --bonds-gold-light: #d4b44a;

  --royal-deep: #050d18;
  --royal-navy: #0f1e2e;
  --royal-slate: #1a2d42;
  --cream: #f2ebe0;
  --ivory: #faf6ee;
  --ivory-soft: #f7f1e6;
  --gold: #c5a028;
  --gold-rich: #d4b44a;
  --gold-muted: #9a7b2d;
  --champagne: #e8dcc4;

  --bg: #ebe4d8;
  --surface: #fffcf7;
  --surface-elevated: #ffffff;
  --text: #121820;
  --muted: #5a5c62;
  --primary: #1a4d7c;
  --primary-dark: #0f3560;
  --accent: #b8942f;
  --accent-soft: #e8dbc0;
  --border: rgba(26, 77, 124, 0.12);
  --border-gold: rgba(184, 148, 47, 0.35);
  --dark: #050d18;
  --shadow-royal: 0 18px 48px rgba(15, 30, 46, 0.12), 0 2px 8px rgba(15, 30, 46, 0.06);
  --shadow-card: 0 12px 40px rgba(18, 24, 32, 0.07), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  --max: 1140px;
  --radius: 14px;
  --font: "IBM Plex Sans Arabic", ui-sans-serif, system-ui, sans-serif;
  /* عناوين بنفس عائلة النص — مظهر أوضح وموحّد (بدون خط عرض منفصل) */
  --font-display: "IBM Plex Sans Arabic", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(197, 160, 40, 0.08), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(26, 77, 124, 0.06), transparent 45%),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 45%, var(--bg) 100%);
  line-height: 1.75;
  font-size: 1.05rem;
}

h1,
h2,
h3,
.section__title,
.trio__item h2,
.split__copy h2,
.feature h3,
.service h3,
.blog-card h3,
.case-card h3,
.step__title,
.faq__item summary,
.contact h2,
.highlight h2,
.section--split h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--royal-navy);
  letter-spacing: 0.01em;
}

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

/* عرض الشعار المرجعي: contain يحافظ على نسبة أبعاد الملف الأصلية دون ضغط أو تشويه */
.brand-logo {
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--primary);
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.topbar {
  background: linear-gradient(180deg, var(--royal-deep) 0%, var(--royal-navy) 100%);
  color: #e8e4da;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(197, 160, 40, 0.35);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
}

.topbar__link {
  color: var(--gold-rich);
  font-weight: 600;
}

.topbar__link:hover {
  color: #f0e6c8;
}

.header,
.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border-gold);
  padding-inline: max(0px, env(safe-area-inset-left, 0px)) max(0px, env(safe-area-inset-right, 0px));
}

.main-header {
  box-shadow: var(--shadow-royal);
}

/* شعار يمين — روابط وسط — زر يسار */
.main-header__inner {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  gap: 1rem;
  box-sizing: border-box;
}

.logo-container {
  flex-shrink: 0;
  line-height: 0;
}

/* خانة جاهزة لوضع الصورة — تظهر إطاراً منقطاً إن لم يُحمّل الملف بعد */
.logo-slot {
  min-width: 108px;
  min-height: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 252, 247, 0.98) 0%, rgba(237, 228, 210, 0.35) 100%);
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(15, 30, 46, 0.06);
}

.logo-slot img {
  /* الأبعاد الفعلية تُستمد من الملف؛ لا نفرض عرضاً وارتفاعاً معاً */
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-slot.is-using-fallback {
  border: none;
  background: transparent;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

.footer__logo-wrap.is-using-fallback {
  padding: 0;
  min-width: 0;
  min-height: 0;
}

.logo-container__link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

/* شعار بدون تشويه: قيود قصوى فقط + نسبة أبعاد من الملف الأصلي */
.site-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 120px;
  max-width: min(480px, 100%);
  object-fit: contain;
  object-position: center;
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--royal-slate);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font);
  padding: 0.25rem 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold-muted);
}

.main-header__action {
  flex-shrink: 0;
}

.main-header .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8cf74 0%, #c5a028 42%, #9a7b2d 100%);
  color: var(--royal-deep) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  border: 1px solid rgba(122, 98, 32, 0.45);
  box-shadow: 0 4px 18px rgba(197, 160, 40, 0.28);
  transition: filter 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.main-header .btn-primary:hover {
  filter: brightness(1.05);
  color: var(--royal-deep) !important;
  box-shadow: 0 6px 24px rgba(197, 160, 40, 0.35);
}

.hero {
  padding: 4rem 0 3.25rem;
  background:
    radial-gradient(ellipse 95% 75% at 85% 0%, rgba(197, 160, 40, 0.14), transparent 58%),
    radial-gradient(ellipse 70% 55% at 5% 100%, rgba(26, 77, 124, 0.1), transparent 52%),
    linear-gradient(180deg, var(--ivory) 0%, rgba(245, 239, 232, 0.4) 100%);
  border-bottom: 1px solid var(--border-gold);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.hero__copy {
  max-width: 52rem;
}

.hero__copy h1 {
  font-size: clamp(1.95rem, 3.2vw, 2.75rem);
  line-height: 1.22;
  margin: 0.35rem 0 1rem;
  color: var(--royal-deep);
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 252, 247, 0.9);
}

.eyebrow {
  margin: 0;
  color: var(--gold-muted);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(145deg, #e8cf74 0%, #c5a028 45%, #8a7020 100%);
  color: var(--royal-deep);
  border: 1px solid rgba(122, 98, 32, 0.4);
  box-shadow: 0 6px 22px rgba(197, 160, 40, 0.22);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary:hover {
  filter: brightness(1.06);
  color: var(--royal-deep);
  box-shadow: 0 8px 28px rgba(197, 160, 40, 0.3);
}

.btn--ghost {
  background: rgba(255, 252, 247, 0.75);
  border: 2px solid var(--accent);
  color: var(--royal-navy);
}

.btn--ghost:hover {
  background: rgba(232, 219, 192, 0.55);
  border-color: var(--gold-muted);
  color: var(--royal-deep);
}

.hero__tagline {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-muted);
  line-height: 1.5;
  font-family: var(--font-display);
}

.band {
  padding: 2.75rem 0;
}

.band--muted {
  background: linear-gradient(180deg, rgba(232, 220, 196, 0.5) 0%, rgba(247, 241, 232, 0.95) 100%);
  border-block: 1px solid var(--border-gold);
}

.band--dark {
  background: linear-gradient(165deg, var(--royal-deep) 0%, var(--royal-navy) 45%, var(--royal-slate) 100%);
  color: var(--champagne);
  border-block: 1px solid rgba(197, 160, 40, 0.22);
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trio__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.55rem 1.35rem;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--accent);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.trio__item:hover {
  box-shadow: var(--shadow-royal);
  transform: translateY(-2px);
}

.trio__item h2 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.trio__item p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.text-link {
  font-weight: 600;
}

.text-link:hover {
  color: var(--gold-muted);
}

.section {
  padding: 3rem 0;
}

.section__title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin: 0 0 0.35rem;
  text-align: center;
}

.section__title--light {
  color: #fdf6e8;
  text-shadow: 0 1px 2px rgba(5, 13, 24, 0.2);
}

.section__subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.section__subtitle--light {
  color: rgba(232, 220, 196, 0.85);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.pill {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(15, 30, 46, 0.05);
}

.section--split .split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.split__copy h2 {
  margin-top: 0;
}

.checklist {
  padding: 0;
  margin: 0 0 1.25rem;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-inline-start: 1.4rem;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold-muted);
  font-weight: 700;
}

.note {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(255, 252, 247, 0.92) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  border-inline-start: 4px solid var(--accent);
  box-shadow: 0 4px 18px rgba(15, 30, 46, 0.05);
}

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

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 4px 20px rgba(15, 30, 46, 0.06);
  border-top: 2px solid rgba(184, 148, 47, 0.45);
}

.feature h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  box-shadow: 0 3px 16px rgba(15, 30, 46, 0.05);
  transition: box-shadow 0.2s ease;
}

.service:hover {
  box-shadow: 0 8px 28px rgba(15, 30, 46, 0.09);
}

.service h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.service p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.35rem 0.75rem;
}

.stat__num {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: #fdf6e8;
  text-shadow: 0 1px 2px rgba(5, 13, 24, 0.35);
}

.stat__label {
  font-size: 0.95rem;
  color: rgba(232, 220, 196, 0.85);
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-pillar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  text-align: start;
}

.trust-pillar h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fdf6e8;
  letter-spacing: 0.01em;
}

.trust-pillar p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: rgba(232, 220, 196, 0.88);
}

.trust-pillars__hint {
  text-align: center;
  margin: 1.5rem auto 0;
  max-width: 520px;
  font-size: 0.88rem;
  color: rgba(232, 220, 196, 0.65);
}

  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.blog-soon p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.blog-soon .btn {
  margin-top: 1.25rem;
}

.footer__subnav {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  padding-top: 1.1rem;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__subnav a {
  color: var(--champagne);
  font-size: 0.92rem;
}

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

.highlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.highlight h2 {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

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

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.1rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 2px 12px rgba(15, 30, 46, 0.04);
}

.faq__item summary {
  font-weight: 700;
  cursor: pointer;
}

.faq__item p {
  margin: 0.65rem 0 0.15rem;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 4px 18px rgba(15, 30, 46, 0.05);
  transition: box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 10px 32px rgba(15, 30, 46, 0.09);
}

.blog-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.blog-card a {
  text-decoration: none;
  color: inherit;
}

.blog-card a:hover {
  color: var(--gold-muted);
}

.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.form {
  background: linear-gradient(180deg, var(--surface) 0%, var(--ivory-soft) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow-card);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--ivory);
}

.form textarea {
  resize: vertical;
}

.form__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form__intro {
  margin: 0 0 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--accent);
  background: rgba(255, 252, 247, 0.95);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}

.form__success {
  display: none;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(26, 77, 124, 0.08);
  border: 1px solid rgba(26, 77, 124, 0.2);
  color: var(--primary-dark);
  font-weight: 600;
}

.form.is-sent .form__success {
  display: block;
}

.form.is-sent .form__fields {
  display: none;
}

.form__checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.92rem;
}

.form__checkbox input {
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.form__checkbox a {
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin-inline: auto;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.25rem 1.15rem;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--accent);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-rich), var(--gold-muted));
  color: var(--royal-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.step__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  box-shadow: 0 4px 18px rgba(15, 30, 46, 0.05);
  border-inline-start: 4px solid var(--primary);
}

.case-card__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold-muted);
  margin-bottom: 0.4rem;
}

.case-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

/* ——— بطاقات المشاريع التقنية ——— */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 4px 18px rgba(15, 30, 46, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
}

.tech-card:hover {
  box-shadow: var(--shadow-royal);
  transform: translateY(-3px);
}

.tech-card__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.tech-card__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold-muted);
  margin-bottom: 0.35rem;
}

.tech-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.tech-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  flex: 1 1 auto;
}

.tech-card__stack {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-card__stack li {
  background: linear-gradient(180deg, var(--ivory-soft) 0%, var(--cream) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--royal-slate);
}

.tech-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tech-card__link:hover {
  color: var(--gold-muted);
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.scope-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  margin-top: 1rem;
  box-shadow: 0 2px 14px rgba(15, 30, 46, 0.04);
}

.scope-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-family: var(--font-display);
  color: var(--royal-navy);
}

.scope-box .checklist {
  margin-bottom: 0;
}

.scope-box--muted {
  border-color: rgba(184, 148, 47, 0.25);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(255, 252, 247, 0.88) 100%);
}

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

.privacy-block h3 {
  font-family: var(--font-display);
  color: var(--royal-navy);
  font-size: 1.08rem;
  margin: 1.5rem 0 0.5rem;
}

.privacy-block h3:first-child {
  margin-top: 0;
}

.privacy-block p,
.privacy-block li {
  color: var(--muted);
  font-size: 0.98rem;
}

.privacy-block ul {
  margin: 0.35rem 0 0;
  padding-inline-start: 1.25rem;
}

.footer__legal {
  flex: 1 1 100%;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #8a8680;
  line-height: 1.65;
}

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

.footer {
  background: linear-gradient(180deg, var(--royal-deep) 0%, #02060d 100%);
  color: #b8b4aa;
  padding: 2.5rem 0;
  margin-top: 1rem;
  border-top: 3px solid var(--accent);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.footer a {
  color: var(--champagne);
  margin-inline-start: 0;
}

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

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__logo-wrap.logo-slot {
  min-height: 87px;
  min-width: 78px;
  padding: 0.2rem 0.35rem;
}

.footer__logo-wrap .footer__logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 84px;
  max-width: 210px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero__grid,
  .trio,
  .section--split .split,
  .features,
  .stats,
  .highlight,
  .blog-grid,
  .contact,
  .steps,
  .case-grid,
  .trust-pillars {
    grid-template-columns: 1fr;
  }

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

  .main-header__inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.75rem;
  }

  .main-nav {
    flex: 1 1 100%;
  }

  .main-nav ul {
    gap: 16px;
  }
}
