/* ============================================================
   PROGRAM CYFRYZACJI FIRM — STYLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy-900: #05254B;
  --navy-800: #0A3563;
  --navy-700: #0D4280;
  --accent:   #AB1B22;
  --accent-light: #D4252E;
  --white:    #FFFFFF;
  --gray-50:  #F5F7FA;
  --gray-100: #EEF1F6;
  --gray-200: #D8DDE8;
  --gray-400: #8A95AB;
  --text:     #0B1220;
  --text-muted: #5A6880;

  --card-radius: 16px;
  --card-shadow: 0 2px 16px rgba(5,37,75,0.07), 0 0 0 1px rgba(5,37,75,0.07);
  --card-shadow-hover: 0 8px 32px rgba(5,37,75,0.13), 0 0 0 1px rgba(5,37,75,0.10);

  --max-w: 1160px;
  --section-gap: 100px;
  --font-head: 'Manrope', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,0.80);
  font-size: 13px;
  text-align: center;
  padding: 8px 24px;
  letter-spacing: 0.02em;
}
.topbar strong { color: var(--white); }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(5,37,75,0.10); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px !important;
  gap: 32px;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 55px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
}
.navbar__logo-fallback {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar__logo-fallback span {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.navbar__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.navbar__links a:hover { color: var(--navy-900); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(171,27,34,0.30);
  transform: translateY(-1px);
}
.btn-primary svg { flex-shrink: 0; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy-900);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  border-color: var(--navy-900);
  background: var(--gray-50);
  transform: translateY(-1px);
}

.btn-ghost {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gray-200);
}
.btn-ghost:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* mobile nav */
.navbar__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--gray-100);
  gap: 16px;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

/* ── Section Utilities ──────────────────────────────────────── */
.section {
  padding: var(--section-gap) 0;
}
.section--gray { background: var(--gray-50); }
.section--navy {
  background: var(--navy-900);
  color: var(--white);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin-bottom: 16px;
}
.section--navy .section__title { color: var(--white); }

.section__subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}
.section--navy .section__subtitle { color: rgba(255,255,255,0.72); }

.section__header { margin-bottom: 56px; }
.section__header--center { text-align: center; }
.section__header--center .section__label { justify-content: center; }
.section__header--center .section__subtitle { margin: 0 auto; }

/* ── Card ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 28px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, #EBF0F8 100%);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(171,27,34,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,37,75,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(171,27,34,0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--navy-900);
  margin-bottom: 20px;
}
.hero__h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero__benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.hero__benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.hero__benefit-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.hero__benefit-icon svg { width: 11px; height: 11px; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 16px;
  background: rgba(255,255,255,0.80);
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  width: fit-content;
}
.hero__trust-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}

/* Video */
.hero__video-wrap {
  position: relative;
}
.hero__video-inner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(5,37,75,0.18), 0 0 0 1px rgba(5,37,75,0.10);
  background: var(--navy-900);
  aspect-ratio: 16/9;
}
.hero__video-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.60);
  font-size: 14px;
  min-height: 280px;
}
.hero__video-placeholder svg { opacity: 0.4; }

.hero__video-decor {
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: -16px;
  border-radius: 24px;
  border: 2px solid rgba(171,27,34,0.20);
  z-index: -1;
}

/* ── Program intro ──────────────────────────────────────────── */
.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.intro-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 32px 28px;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.intro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.intro-card:hover::before { transform: scaleX(1); }
.intro-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }

.intro-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.intro-card__icon svg { width: 26px; height: 26px; }

.intro-card__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.intro-card__text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.60;
}

/* ── Timeline ───────────────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(10% + 10px);
  right: calc(10% + 10px);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.timeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.timeline__num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--gray-400);
  margin-bottom: 20px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  position: relative;
  z-index: 2;
  background: var(--white);
}
.timeline__step:hover .timeline__num,
.timeline__step.active .timeline__num {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.timeline__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-900);
  margin-bottom: 8px;
  line-height: 1.30;
}
.timeline__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Support scope cards ────────────────────────────────────── */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scope-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 28px;
  display: flex;
  gap: 18px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.scope-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
.scope-card__num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(171,27,34,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
}
.scope-card__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
  line-height: 1.35;
}
.scope-card__text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.58;
}

/* ── Benefits ───────────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.benefit-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }
.benefit-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(5,37,75,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.benefit-card__icon svg { width: 28px; height: 28px; }
.benefit-card__title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
  margin-bottom: 6px;
}
.benefit-card:last-child .benefit-card__icon { background: rgba(171,27,34,0.09); }
.benefit-card:last-child svg { color: var(--accent); }

.benefits-disclaimer {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 24px;
  background: rgba(5,37,75,0.04);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}

/* ── Modules grid ───────────────────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.module-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 28px;
  transition: box-shadow 0.25s, transform 0.25s;
  border-top: 3px solid transparent;
}
.module-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
  border-top-color: var(--accent);
}
.module-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.module-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.module-card__icon svg { width: 22px; height: 22px; }
.module-card__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}
.module-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.module-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.50;
}
.module-card__list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray-200);
  margin-top: 7px;
}
.module-card__automations {
  padding: 12px 14px;
  background: rgba(5,37,75,0.04);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--navy-900);
  line-height: 1.55;
}
.module-card__automations strong {
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

/* ── Financing ──────────────────────────────────────────────── */
.finance-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.finance-item {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.finance-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
  gap: 16px;
}
.finance-item__head:hover { background: var(--gray-50); }
.finance-item__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 100px;
  background: rgba(5,37,75,0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-900);
  text-transform: uppercase;
  white-space: nowrap;
}
.finance-item__title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  flex: 1;
}
.finance-item__arrow {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s;
}
.finance-item.open .finance-item__arrow {
  transform: rotate(180deg);
  background: var(--accent);
  color: white;
}
.finance-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
}
.finance-item.open .finance-item__body { max-height: 200px; }
.finance-item__content {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

.finance-disclaimer {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(5,37,75,0.04);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.60;
  border-left: 3px solid var(--navy-800);
}

/* ── Why us ─────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.90);
  margin-bottom: 32px;
}
.why__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-feature__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-feature__icon svg { width: 22px; height: 22px; color: rgba(255,255,255,0.90); }
.why-feature__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.why-feature__text {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.60;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 760px;
  margin: 48px auto 0;
}
.faq-item {
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  background: var(--white);
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq-item__q-text {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
}
.faq-item__icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: white;
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-item__a { max-height: 300px; }
.faq-item__a-content {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.70;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

/* ── Contact / CTA ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, #122B5A 100%);
  padding: var(--section-gap) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(171,27,34,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-section__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.cta-section .btn-primary {
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 12px;
}
.cta-section__contact {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.cta-section__contact a {
  color: rgba(255,255,255,0.80);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: #030F20;
  color: rgba(255,255,255,0.55);
  padding: 48px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 10px;
}
.footer__brand-text {
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.footer__contact a {
  color: rgba(255,255,255,0.80);
}
.footer__contact a:hover { color: var(--white); }
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  margin-bottom: 6px;
}
.footer__col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 14px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__links a {
  font-size: 13.5px;
  transition: color 0.2s;
}
.footer__links a:hover { color: rgba(255,255,255,0.90); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}
.footer__bottom-links {
  display: flex;
  gap: 20px;
}
.footer__bottom-links a:hover { color: rgba(255,255,255,0.90); }

/* ── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,37,75,0.60);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 640px;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.28s;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-50);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.modal__close:hover { background: var(--gray-200); color: var(--text); }
.modal__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.modal__sub {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.modal__paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.path-card {
  border-radius: 16px;
  border: 2px solid var(--gray-200);
  padding: 24px 20px;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}
.path-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.path-card__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
  line-height: 1.30;
}
.path-card__desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.60;
}

/* mini form inside modal */
.mini-form { display: flex; flex-direction: column; gap: 10px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}
.form-input {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(5,37,75,0.10);
}
.form-input::placeholder { color: var(--gray-400); }
.form-input.error { border-color: var(--accent); }

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.checkbox-wrap input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--navy-900); width: 15px; height: 15px; }

/* ── Form page ──────────────────────────────────────────────── */
.form-page {
  min-height: 100vh;
  background: var(--gray-50);
  padding: 80px 0;
}
.form-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 4px 40px rgba(5,37,75,0.10);
  padding: 48px;
  max-width: 720px;
  margin: 0 auto;
}
.form-card__title {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.form-card__sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
}
.form-group .hint {
  font-size: 11.5px;
  color: var(--gray-400);
  margin-top: -2px;
}
.form-group select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group select:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(5,37,75,0.10);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
}
.check-item input { accent-color: var(--navy-900); width: 15px; height: 15px; }
.form-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 24px 0;
  grid-column: 1 / -1;
}
.form-section-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  grid-column: 1 / -1;
  margin-top: 8px;
}

/* ── Thank you page ─────────────────────────────────────────── */
.ty-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  padding: 48px 24px;
}
.ty-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 4px 40px rgba(5,37,75,0.10);
  padding: 60px 48px;
  max-width: 540px;
  text-align: center;
}
.ty-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.ty-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.ty-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.70;
  margin-bottom: 32px;
}

/* ── Animations ─────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__video-wrap { max-width: 520px; }
  .intro-cards { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline__step { flex-direction: row; text-align: left; gap: 16px; align-items: flex-start; padding: 0 0 28px; }
  .timeline__num { margin-bottom: 0; flex-shrink: 0; width: 56px; height: 56px; font-size: 16px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .scope-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: 1fr; }
  .modal__paths { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .check-grid { grid-template-columns: 1fr; }
  .modal { padding: 28px 24px; }
  .hero { padding: 56px 0 72px; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
}
