/* =====================
   RESET & VARIABLES
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-primary: #0D2B52;
  --c-primary-light: #1A4A8A;
  --c-accent: #F47A25;
  --c-green: #2ECC71;
  --c-white: #FFFFFF;
  --c-surface: #F5F7FA;
  --c-text: #1A1A2E;
  --c-text2: #6B7A8D;
  --radius-btn: 8px;
  --radius-card: 12px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--c-text); background: #fff; line-height: 1.6; font-size: 16px; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* =====================
   CONTAINER
   ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-lg { padding: 18px 36px; font-size: 18px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-light); }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: #e06b15; }
.btn-sub, .btn-sub-light { display: block; margin-top: 10px; font-size: 13px; font-weight: 400; }
.btn-sub { color: var(--c-text2); }
.btn-sub-light { color: rgba(255,255,255,0.7); }

/* =====================
   HEADER
   ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13, 43, 82, 0.97);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: #fff; }
.logo-sub { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }
.header-nav { display: flex; gap: 24px; margin-left: auto; }
.header-nav a { color: rgba(255,255,255,0.85); font-size: 14px; transition: color var(--transition); }
.header-nav a:hover { color: var(--c-accent); }
.header-cta { margin-left: 8px; }

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,43,82,0.88) 0%, rgba(13,43,82,0.70) 60%, rgba(13,43,82,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 720px;
  padding: 80px 20px;
}
.superline {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-hint { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 12px; }
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 36px;
}
.trust-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}
.check-icon { color: var(--c-green); font-weight: 700; }

/* =====================
   SECTIONS
   ===================== */
.section { padding: 80px 0; }
.section-light { background: #fff; }
.section-dark { background: var(--c-primary); }
.section-gap { background: linear-gradient(135deg, #fff8f5 0%, #fff 100%); border-top: 4px solid var(--c-accent); }
.section-faq { background: var(--c-surface); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-header-light h2 { color: #fff; }
.section-sub { font-size: 18px; color: var(--c-text2); max-width: 640px; margin: 0 auto; }
.section-header-light .section-sub { color: rgba(255,255,255,0.75); }

/* =====================
   BLOCK 2: PROBLEM
   ===================== */
.problem-layout { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.risk-card {
  display: flex; gap: 20px;
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 16px;
  border-left: 4px solid var(--c-accent);
}
.risk-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.risk-body h3 { font-size: 17px; font-weight: 700; color: var(--c-primary); margin-bottom: 8px; }
.risk-body p { font-size: 15px; color: var(--c-text2); line-height: 1.6; }
.risk-conclusion { margin-top: 28px; }
.risk-conclusion p { font-size: 18px; color: var(--c-text); margin-bottom: 20px; }
.problem-img img { border-radius: 16px; width: 100%; box-shadow: 0 20px 60px rgba(13,43,82,0.15); }

/* =====================
   BLOCK 3: DECISIONS
   ===================== */
.decisions-intro {
  text-align: center;
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}
.decisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.decision-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: background var(--transition);
}
.decision-card:hover { background: rgba(255,255,255,0.12); }
.dec-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--c-accent);
  display: block;
  margin-bottom: 10px;
}
.decision-card h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.decision-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.dark-cta { text-align: center; }
.dark-cta p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 24px; }

/* =====================
   BLOCK 4: COMPETENCIES
   ===================== */
.comp-intro { font-size: 17px; color: var(--c-text2); text-align: center; max-width: 680px; margin: 0 auto 48px; }
.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.comp-card {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 28px;
  border-top: 3px solid var(--c-green);
}
.comp-card.comp-accent {
  background: var(--c-primary);
  color: rgba(255,255,255,0.9);
  border-top-color: var(--c-accent);
}
.comp-card.comp-accent strong { color: #fff; }
.comp-icon { font-size: 32px; margin-bottom: 12px; }
.comp-card h4 { font-size: 16px; font-weight: 700; color: var(--c-primary); margin-bottom: 10px; }
.comp-card.comp-accent h4 { color: #fff; }
.comp-card p { font-size: 14px; color: var(--c-text2); line-height: 1.6; }
.comp-card.comp-accent p { color: rgba(255,255,255,0.8); margin-bottom: 8px; }

/* =====================
   BLOCK 5: GAP
   ===================== */
.stories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.story-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(244,122,37,0.1);
  border-left: 4px solid var(--c-accent);
}
.story-quote { font-size: 60px; color: var(--c-accent); line-height: 0.8; margin-bottom: 8px; font-family: Georgia, serif; }
.story-card p { font-size: 16px; color: var(--c-text); line-height: 1.7; margin-bottom: 20px; }
.story-result {
  background: #fff3ec;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #b85a10;
}
.gap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.gap-stat {
  text-align: center;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.gap-num { font-family: var(--font-heading); font-size: 32px; font-weight: 800; color: var(--c-accent); margin-bottom: 8px; }
.gap-label { font-size: 13px; color: var(--c-text2); }
.gap-cta { text-align: center; }
.gap-cta p { font-size: 17px; color: var(--c-text); margin-bottom: 24px; }

/* =====================
   BLOCK 6: SOLUTION
   ===================== */
.solution-layout { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }
.solution-intro { font-size: 17px; color: var(--c-text2); margin-bottom: 32px; }
.service-list { display: flex; flex-direction: column; gap: 20px; }
.service-item { display: flex; gap: 16px; align-items: flex-start; }
.svc-icon { font-size: 28px; flex-shrink: 0; width: 48px; text-align: center; }
.svc-text h4 { font-size: 16px; font-weight: 700; color: var(--c-primary); margin-bottom: 4px; }
.svc-text p { font-size: 14px; color: var(--c-text2); line-height: 1.6; }
.solution-img img { border-radius: 16px; width: 100%; box-shadow: 0 20px 60px rgba(13,43,82,0.12); }

/* =====================
   BLOCK 7: THESES
   ===================== */
.theses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.thesis-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card);
  padding: 32px;
}
.thesis-icon { font-size: 40px; margin-bottom: 16px; }
.thesis-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.thesis-card p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 12px; }
.thesis-card strong { color: #fff; }
.thesis-img-wrap { display: none; }

/* =====================
   BLOCK 8: HOW
   ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}
.step-card {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 28px;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}
.step-card h4 { font-size: 16px; font-weight: 700; color: var(--c-primary); margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--c-text2); line-height: 1.6; }
.step-arrow {
  align-self: center;
  font-size: 28px;
  color: var(--c-accent);
  font-weight: 700;
  padding: 0 4px;
}

/* =====================
   BLOCK 9: CASES
   ===================== */
.cases-layout { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card);
  padding: 28px;
}
.fact-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--c-accent);
  margin-bottom: 6px;
}
.fact-card h4 { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.fact-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.cases-img img { border-radius: 16px; width: 100%; }

/* =====================
   BLOCK 10: REVIEWS
   ===================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 32px;
  border-top: 3px solid var(--c-accent);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review-text {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
}
.review-text::before { content: '"'; }
.review-text::after { content: '"'; }
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 44px; height: 44px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 15px; color: var(--c-primary); }
.review-author span { font-size: 12px; color: var(--c-text2); }

/* =====================
   BLOCK 11: FAQ
   ===================== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #dde3eb; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-body);
  transition: color var(--transition);
}
.faq-q:hover { color: var(--c-accent); }
.faq-chevron { flex-shrink: 0; font-size: 12px; transition: transform var(--transition); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a {
  font-size: 16px;
  color: var(--c-text2);
  line-height: 1.7;
  padding-bottom: 20px;
  display: none;
}
.faq-a.open { display: block; }

/* =====================
   BLOCK 12: CTA FINAL
   ===================== */
.section-cta-final {
  background: var(--c-primary);
  padding: 100px 0;
  text-align: center;
}
.section-cta-final h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta-sub { font-size: 20px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-text { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 48px; line-height: 1.8; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-text strong { color: #fff; }
.cta-form { max-width: 760px; margin: 0 auto 32px; }
.form-row {
  display: flex; gap: 16px; align-items: flex-end;
  flex-wrap: wrap;
}
.form-group { flex: 1; min-width: 200px; }
.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-btn);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 16px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input::placeholder { color: rgba(255,255,255,0.5); }
.form-group input:focus { border-color: var(--c-accent); background: rgba(255,255,255,0.15); }
.form-submit { flex-shrink: 0; }
.form-legal { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 12px; }
.cta-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.trust-badge-dark {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

/* =====================
   FOOTER
   ===================== */
.site-footer { background: #081e3e; padding: 40px 0 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-main { color: #fff; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; }
.footer-info p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--c-accent); }
.footer-bottom { padding: 16px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

/* =====================
   MOBILE FLOATING BAR
   ===================== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(13,43,82,0.97);
  padding: 12px 20px;
  z-index: 999;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.mobile-cta-bar .btn { width: 100%; max-width: 400px; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .problem-layout { grid-template-columns: 1fr; }
  .problem-img { order: -1; max-width: 480px; margin: 0 auto; }
  .solution-layout { grid-template-columns: 1fr; }
  .solution-img { max-width: 480px; margin: 0 auto; }
  .cases-layout { grid-template-columns: 1fr; }
  .cases-img { max-width: 480px; margin: 0 auto; }
  .theses-grid { grid-template-columns: 1fr; }
  .thesis-img-wrap { display: block; max-width: 480px; margin: 0 auto 32px; }
  .thesis-img-wrap img { border-radius: 16px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .gap-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .header-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-content { padding: 60px 20px; }
  .stories-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .gap-stats { grid-template-columns: 1fr 1fr; }
  .decisions-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .form-group { min-width: auto; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
  .comp-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gap-stats { grid-template-columns: 1fr; }
  .trust-badges { gap: 8px; }
  .cta-trust { gap: 10px; }
}
