﻿/* ==========================================================================
   Hamrah Aval × Fediya Proposal
   Soft UI Evolution · MCI brand · mobile-first editorial bento
   Primary #0095DA · Navy #295CAB · Ink #071422
   ========================================================================== */

@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-SemiBold.woff2') format('woff2');
  font-weight: 600;
  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;
}

:root {
  --mci-blue: #0095DA;
  --mci-navy: #295CAB;
  --mci-ink: #071422;
  --mci-orange: #FF4F00;

  --bg: #F2F7FB;
  --bg-soft: #E7F2F9;
  --surface: #FFFFFF;
  --ink: #0B1C2C;
  --muted: #4A6273;
  --faint: #7B93A3;
  --line: #D4E6F1;
  --line-soft: #E4F0F7;
  --ring: #0095DA;
  --on-dark: #F4FBFF;

  --font: 'Vazirmatn', Tahoma, system-ui, sans-serif;
  --radius: 22px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --nav-h: 64px;
  --index-w: 260px;
  --ease: 240ms cubic-bezier(0.22, 1, 0.36, 1);
  --touch: 44px;

  --shadow-sm: 0 1px 2px rgba(9, 45, 72, 0.05), 0 4px 12px rgba(0, 149, 218, 0.05);
  --shadow: 0 8px 28px rgba(9, 45, 72, 0.07), 0 2px 8px rgba(0, 149, 218, 0.06);
  --shadow-lg: 0 18px 50px rgba(9, 45, 72, 0.12), 0 6px 16px rgba(0, 149, 218, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(0, 149, 218, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(41, 92, 171, 0.08), transparent 50%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -120px;
  right: 16px;
  z-index: 500;
  background: var(--mci-blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-xs);
  font-weight: 600;
}

.skip-link:focus { top: 12px; }

/* --- Progress --- */

.read-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 260;
  height: 3px;
  background: transparent;
}

.read-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--mci-navy), var(--mci-blue));
  transform-origin: right;
}

/* --- Nav --- */

.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(212, 230, 241, 0.8);
  transition: box-shadow var(--ease), background var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(0, 149, 218, 0.08);
}

.nav-inner {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  cursor: pointer;
  border-radius: var(--radius-xs);
}

.nav-brand:hover { opacity: 0.9; }

.nav-brand-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--mci-blue), var(--mci-navy));
  box-shadow: 0 6px 16px rgba(0, 149, 218, 0.28);
}

.nav-brand-mark svg { width: 20px; height: 20px; }

.nav-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.nav-brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-chip {
  display: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--mci-navy);
  background: rgba(0, 149, 218, 0.08);
  border: 1px solid rgba(0, 149, 218, 0.14);
  white-space: nowrap;
}

.nav-mci-logo { display: none; }

.index-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: var(--touch);
  min-height: var(--touch);
  padding: 0 14px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.index-toggle:hover {
  border-color: rgba(0, 149, 218, 0.4);
  box-shadow: var(--shadow);
}

.index-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.index-toggle-bar {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease, width 0.2s ease;
}

.index-toggle-bar:nth-child(2) { width: 12px; }

.index-toggle-label {
  font-size: 0.78rem;
  font-weight: 700;
}

/* --- Index --- */

.page {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

.catalog-index {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  z-index: 160;
  width: min(320px, 88vw);
  height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: 1px solid var(--line-soft);
  box-shadow: -16px 0 48px rgba(9, 45, 72, 0.16);
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

body.index-open { overflow: hidden; }
body.index-open .catalog-index { transform: translateX(0); }

body.index-open .index-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 16px; }
body.index-open .index-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.index-open .index-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 16px; }

.index-overlay {
  display: block;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  z-index: 140;
  background: rgba(7, 20, 34, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

body.index-open .index-overlay {
  opacity: 1;
  pointer-events: auto;
}

.catalog-index-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 18px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.index-kicker {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mci-blue);
  margin-bottom: 4px;
}

.index-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.index-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch);
  height: var(--touch);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  cursor: pointer;
}

.index-close:hover {
  color: var(--mci-blue);
  background: rgba(0, 149, 218, 0.08);
}

.catalog-index-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scrollbar-width: thin;
}

.catalog-index-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}

.catalog-index-nav a:hover {
  color: var(--ink);
  background: rgba(0, 149, 218, 0.07);
}

.catalog-index-nav a.active {
  color: var(--ink);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(0, 149, 218, 0.12), rgba(41, 92, 171, 0.08));
  box-shadow: inset 3px 0 0 var(--mci-blue);
}

.catalog-index-nav a.active .index-num {
  background: linear-gradient(145deg, var(--mci-blue), var(--mci-navy));
  color: #fff;
}

.index-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--mci-blue);
  background: rgba(0, 149, 218, 0.08);
}

.catalog-index-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.72rem;
  color: var(--faint);
}

.index-foot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mci-blue);
  box-shadow: 0 0 0 4px rgba(0, 149, 218, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(0, 149, 218, 0.06); }
}

/* --- Main --- */

.catalog-main {
  width: 100%;
  padding: 16px 12px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-spread {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--nav-h) + 16px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.catalog-spread:not(.cover) {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.catalog-spread.is-visible {
  opacity: 1;
  transform: none;
}

.spread-alt {
  background: linear-gradient(180deg, #FBFDFF 0%, #F4F9FC 100%);
}

.spread-inner { width: 100%; }

/* --- Cover --- */

.cover {
  opacity: 1;
  transform: none;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px);
  background:
    linear-gradient(165deg, #FFFFFF 0%, #F3FAFE 48%, #DFF0FA 100%);
  min-height: calc(100dvh - var(--nav-h) - 40px);
  display: flex;
  align-items: center;
}

.cover-glow {
  position: absolute;
  inset: auto -20% -30% 20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 149, 218, 0.18), transparent 65%);
  pointer-events: none;
}

.cover-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 36px;
}

.cover-brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cover-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mci-navy);
  background: rgba(0, 149, 218, 0.1);
  border: 1px solid rgba(0, 149, 218, 0.16);
}

.cover h1 {
  font-size: clamp(1.55rem, 6vw, 2.7rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  max-width: 18ch;
}

.cover-tagline {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  color: var(--mci-blue);
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 40ch;
}

.cover-sub {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 22px;
  max-width: 52ch;
}

.cover-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.cover-pillar {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.cover-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--mci-blue), var(--mci-navy));
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 24px rgba(0, 149, 218, 0.28);
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 149, 218, 0.34);
}

.cover-to {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mci-navy);
}

.cover-stage {
  position: relative;
  min-height: 280px;
  padding-bottom: 8px;
}

.stage-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
}

.stage-card--hero {
  inset-inline-start: 8%;
  top: 8%;
  width: 72%;
  padding: 28px 24px;
  background: linear-gradient(160deg, #0B2A4A 0%, #295CAB 58%, #0095DA 120%);
  color: #fff;
  border: 0;
}

.stage-kicker {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 8px;
}

.stage-card--hero strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stage-card--hero p {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.88;
}

.stage-card--mid {
  bottom: 18%;
  inset-inline-end: 4%;
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.stage-card--metric {
  bottom: 8px;
  inset-inline-start: 0;
  padding: 14px 18px;
}

.stage-card--metric span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}

.stage-card--metric b {
  font-size: 0.95rem;
  color: var(--mci-navy);
}

/* --- Section head --- */

.spread-head { margin-bottom: 28px; }

.spread-head-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.spread-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--mci-blue);
  letter-spacing: 0.04em;
}

.spread-rule {
  flex: 1;
  height: 1px;
  max-width: 72px;
  background: linear-gradient(90deg, var(--mci-blue), transparent);
}

.spread-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.spread-head h2,
.spread-inner > h2 {
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 68ch;
}

.sub-heading {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 36px 0 18px;
}

.muted-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--faint);
  line-height: 1.8;
}

.highlight-box {
  margin: 8px 0 28px;
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(135deg, rgba(0, 149, 218, 0.08), rgba(41, 92, 171, 0.05));
  border-right: 4px solid var(--mci-blue);
}

.highlight-box p {
  color: var(--mci-navy);
  font-weight: 600;
  line-height: 1.85;
}

/* --- Icons --- */

.p-icon {
  display: inline-flex;
  color: var(--mci-blue);
  line-height: 0;
}

.p-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p-icon--sm { width: 22px; height: 22px; }
.p-icon--md { width: 28px; height: 28px; }
.p-icon--lg { width: 36px; height: 36px; }

/* --- Bento --- */

.bento {
  display: grid;
  gap: 12px;
}

.tile {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 149, 218, 0.22);
}

.tile-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(0, 149, 218, 0.08);
  color: var(--mci-blue);
}

.tile h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.tile p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

.tile-index {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--mci-blue);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.tile--featured {
  background: linear-gradient(160deg, #0B2A4A 0%, #295CAB 70%);
  color: #fff;
  border: 0;
}

.tile--featured h3,
.tile--featured .tile-index { color: #fff; }
.tile--featured p { color: rgba(255, 255, 255, 0.82); }
.tile--featured .tile-icon { background: rgba(255, 255, 255, 0.12); color: #fff; }

.tile--compact {
  text-align: center;
  padding: 22px 12px;
}

.tile--compact .tile-icon { margin: 0 auto 12px; }
.tile--compact h3 { margin: 0; font-size: 0.92rem; }

.tile--metric h3 {
  font-size: 1.6rem;
  color: var(--mci-blue);
}

.tile--kpi ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.tile--kpi li {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 149, 218, 0.06);
  font-size: 0.88rem;
  font-weight: 600;
}

.tile--featured.tile--kpi li {
  background: rgba(255, 255, 255, 0.1);
}

.bento-4,
.bento-6,
.bento-objectives,
.bento-campaign,
.bento-kpi,
.bento-why {
  grid-template-columns: 1fr;
}

/* --- Chips --- */

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.chip--accent {
  background: rgba(0, 149, 218, 0.1);
  border-color: rgba(0, 149, 218, 0.22);
  color: var(--mci-navy);
}

/* --- Path track --- */

.path-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.path-track li {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 700;
}

.path-track li.is-goal {
  background: linear-gradient(145deg, var(--mci-blue), var(--mci-navy));
  color: #fff;
  border: 0;
}

/* --- Step grid / GOSTA / plan --- */

.step-grid,
.plan-list,
.gosta,
.journey,
.check-grid {
  display: grid;
  gap: 10px;
}

.step-grid li,
.plan-list li,
.gosta li,
.journey li,
.check-grid li {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}

.step-grid li span,
.plan-list li span,
.journey li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(0, 149, 218, 0.1);
  color: var(--mci-navy);
  font-weight: 800;
  font-size: 0.82rem;
}

.step-grid h3,
.plan-list h3,
.gosta strong,
.journey h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.step-grid p,
.journey p,
.gosta span {
  font-size: 0.86rem;
  color: var(--muted);
}

.step-grid li.is-goal,
.plan-list li.is-goal,
.gosta li.is-goal,
.journey li.is-goal {
  background: linear-gradient(160deg, #0B2A4A, #295CAB);
  color: #fff;
  border: 0;
}

.step-grid li.is-goal span,
.plan-list li.is-goal span,
.journey li.is-goal span {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.step-grid li.is-goal p,
.gosta li.is-goal span,
.journey li.is-goal p { color: rgba(255, 255, 255, 0.8); }

.gosta li {
  display: grid;
  gap: 4px;
}

.gosta b {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--mci-blue);
  letter-spacing: -0.04em;
}

.gosta li.is-goal b { color: #fff; }

.plan-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.plan-list li span { margin: 0; }
.plan-list h3 { margin: 0; font-size: 0.95rem; }

.check-grid li {
  position: relative;
  padding-right: 44px;
  font-weight: 700;
  font-size: 0.95rem;
}

.check-grid li::before {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 16px;
  height: 8px;
  border-right: 2.5px solid var(--mci-blue);
  border-bottom: 2.5px solid var(--mci-blue);
  transform: translateY(-70%) rotate(45deg);
}

/* --- Quote / phones --- */

.quote-card {
  margin-top: 24px;
  padding: 24px 22px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #0B2A4A 0%, #295CAB 80%);
  color: #fff;
}

.quote-card p {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.8;
}

.phone-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.phone-card {
  min-height: 220px;
  padding: 22px 20px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  box-shadow: var(--shadow);
}

.phone-card span {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 700;
}

.phone-card p {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.55;
}

.phone-card b {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 600;
}

.phone-card--a { background: linear-gradient(165deg, #071422, #295CAB); }
.phone-card--b { background: linear-gradient(165deg, #0095DA, #1D4E89); }
.phone-card--c { background: linear-gradient(165deg, #0E3A67, #57B7E8); }

/* --- Dark summary / contact / footer --- */

.spread-dark {
  background: linear-gradient(165deg, #071422 0%, #12345C 55%, #1B4F86 100%);
  color: var(--on-dark);
  border: 0;
}

.spread-head--on-dark .spread-kicker,
.spread-head--on-dark .spread-label { color: #8FD3F4; }
.spread-head--on-dark .spread-rule { background: linear-gradient(90deg, #8FD3F4, transparent); }
.spread-head--on-dark .section-lead { color: rgba(244, 251, 255, 0.78); }

.summary-partners {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 0 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--mci-blue);
  font-weight: 800;
  font-size: 0.82rem;
}

.timeline h3 { font-size: 0.95rem; margin: 0; }

.contact-card {
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 36px);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #071422, #295CAB);
  color: #fff;
  text-align: center;
}

.contact-logos,
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.contact-role {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.contact-text {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 22px;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--ease);
}

.info-chip:hover { background: rgba(255, 255, 255, 0.18); }
.info-chip strong { margin-left: 8px; }

.footer {
  width: 100%;
  margin: 8px 0 0;
  padding: 28px 16px;
  text-align: center;
  color: #fff;
  background: #071422;
  border-radius: var(--radius);
}

.footer p { font-size: 0.88rem; }
.footer-sub { margin-top: 6px; opacity: 0.6; }

/* --- Logos --- */

.mci-logo { width: auto; }
.mci-logo--sm { max-height: 26px; }
.mci-logo--md { max-height: 38px; }
.mci-logo--lg { max-height: 44px; }
.mci-logo--on-dark { filter: brightness(0) invert(1); opacity: 0.95; }

.brand-logos { margin-bottom: 12px; }

.brand-logos__fediya {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-logos__fediya-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
}

.brand-logos__fediya--on-dark { color: #fff; }

.brand-logos__sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 640px) {
  .catalog-main { padding: 20px 20px 48px; gap: 20px; }
  .bento-4 { grid-template-columns: 1fr 1fr; }
  .bento-6 { grid-template-columns: 1fr 1fr 1fr; }
  .bento-objectives { grid-template-columns: 1fr 1fr; }
  .bento-campaign { grid-template-columns: 1fr 1fr; }
  .bento-kpi { grid-template-columns: 1fr; }
  .bento-why { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .gosta { grid-template-columns: 1fr 1fr; }
  .plan-list { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .phone-grid { grid-template-columns: 1fr 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .cover-stage { min-height: 340px; }
  .nav-chip { display: inline-flex; }
}

@media (min-width: 768px) {
  .cover-layout {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 40px;
  }

  .cover { min-height: calc(100dvh - var(--nav-h) - 48px); }
  .bento-campaign { grid-template-columns: 1.15fr 1fr; }
  .bento-campaign .tile--featured { grid-row: span 2; }
  .bento-kpi { grid-template-columns: 1fr 1fr 1fr; }
  .plan-list { grid-template-columns: 1fr 1fr; }
  .plan-list li.is-goal { grid-column: 1 / -1; }
  .step-grid { grid-template-columns: 1fr 1fr 1fr; }
  .bento-why .tile--featured { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .nav-mci-logo { display: block; max-height: 24px; }
}

@media (min-width: 1024px) {
  .catalog-main { padding: 24px 28px 64px; }
  .bento-4 { grid-template-columns: repeat(4, 1fr); }
  .bento-6 { grid-template-columns: repeat(6, 1fr); }
  .bento-objectives { grid-template-columns: repeat(3, 1fr); }
  .bento-objectives .tile--featured { grid-column: 1 / -1; }
  .bento-why {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-why .tile { grid-column: span 2; }
  .bento-why .tile--featured { grid-column: span 2; }
  .gosta { grid-template-columns: repeat(5, 1fr); }
  .journey { grid-template-columns: repeat(5, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .cover h1 { max-width: 14ch; }
}

@media (min-width: 1180px) {
  .index-toggle,
  .index-close,
  .index-overlay { display: none; }

  .catalog-index {
    width: var(--index-w);
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
  }

  body.index-open { overflow: auto; }

  .catalog-main {
    width: calc(100% - var(--index-w));
    margin-right: var(--index-w);
  }

  .nav-inner {
    padding-right: calc(var(--index-w) + 24px);
  }
}

@media (max-width: 639px) {
  .index-toggle-label { display: none; }
  .index-toggle {
    padding: 0;
    width: var(--touch);
    border-radius: 12px;
  }

  .nav-brand-sub { max-width: 42vw; }
  .phone-card { min-height: 200px; }
}

@media (max-width: 374px) {
  .cover h1 { font-size: 1.4rem; }
  .catalog-spread { padding: 28px 14px; }
}

@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;
  }
  .catalog-spread { opacity: 1; transform: none; }
  .index-foot-dot { animation: none; }
  .btn-primary:hover,
  .tile:hover { transform: none; }
}

@media print {
  .nav, .catalog-index, .index-toggle, .index-overlay, .skip-link, .read-progress { display: none !important; }
  .catalog-main { margin: 0; width: 100%; }
  .catalog-spread { box-shadow: none; opacity: 1; transform: none; break-inside: avoid; }
  body { background: #fff; }
}
