:root {
  --bg:            #ffffff;
  --bg-soft:       #f0f4ff;
  --bg-dark:       #003087;
  --bg-darker:     #001f5c;
  --bg-mid:        #e8eef8;
  --accent:        #0047cc;
  --accent-hover:  #003aaa;
  --accent-light:  #dbeafe;
  --text:          #0f1729;
  --text-muted:    #4b5a7a;
  --text-light:    #8899bb;
  --border:        #d0d9ee;
  --border-dark:   #003087;
  --shadow-sm:     0 2px 8px rgba(0, 48, 135, 0.08);
  --shadow-md:     0 4px 24px rgba(0, 48, 135, 0.12);
  --shadow-lg:     0 8px 48px rgba(0, 48, 135, 0.16);
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;
  --transition:    all 0.2s ease;
  --container:     1200px;
  --section-pad:   96px 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; }

h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

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

.section-title {
  margin-bottom: 12px;
  color: var(--text);
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  font-weight: 700;
  font-size: 18px;
}

.logo-mark-left {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  background: #003087;
  color: #ffffff;
}

.logo-mark-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  background: #0047cc;
  color: #ffffff;
}

.logo-name {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #003087;
}

.footer .logo-name { color: #ffffff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 48px; font-size: 16px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  height: 76px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header.header-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.nav a:hover { color: var(--accent); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.burger-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-active span:nth-child(2) { opacity: 0; }
.burger-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 80px 0 96px;
  background: var(--bg);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 64px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title { margin-bottom: 24px; }
.hero-title-accent { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-metric-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.hero-metric-label {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.hero-photo-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-md);
}

.hero-photo-badge-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.hero-photo-badge-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* Services / Pricing */
.services {
  padding: var(--section-pad);
  background: var(--bg);
}

.services .section-sub { margin-left: auto; margin-right: auto; text-align: center; }
.services .section-title { text-align: center; }

.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 15px;
  min-width: 720px;
}

.pricing-table thead th {
  padding: 32px 28px 24px;
  text-align: left;
  background: var(--bg-soft);
  border-bottom: 2px solid var(--border);
  vertical-align: bottom;
}

.pricing-feature-col {
  width: 35%;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.pricing-plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.pricing-plan-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.pricing-plan-period {
  font-size: 12px;
  color: var(--text-muted);
}

.pricing-popular {
  background: var(--bg-dark) !important;
  position: relative;
}

.pricing-popular .pricing-plan-name,
.pricing-popular .pricing-plan-period {
  color: rgba(255, 255, 255, 0.7) !important;
}

.pricing-popular .pricing-plan-price {
  color: #ffffff !important;
}

.pricing-popular-badge {
  display: inline-block;
  background: #ffffff;
  color: var(--bg-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-table tbody td {
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

.pricing-row-alt td { background: var(--bg-soft); }

.pricing-popular.pricing-row-alt,
.pricing-table tbody td.pricing-popular {
  background: rgba(0, 48, 135, 0.92) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.check { color: #16a34a; font-weight: 700; font-size: 16px; text-align: center; }
.cross { color: var(--text-light); text-align: center; }

.pricing-cta-row td {
  padding: 24px 28px;
  border-bottom: none;
  text-align: center;
}

.pricing-popular .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.pricing-popular .btn-outline:hover {
  background: #ffffff;
  color: var(--bg-dark);
}

/* Cases */
.cases {
  padding: var(--section-pad);
  background: var(--bg-soft);
}

.cases .section-title,
.cases .section-sub { text-align: center; margin-left: auto; margin-right: auto; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.case-card-photo-wrap { position: relative; }

.case-card-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.case-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--bg-dark);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-card-body { padding: 28px; }

.case-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.case-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.case-card-results {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.case-result-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.case-result-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.case-card-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.case-card-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Stats */
.stats {
  background: var(--bg-dark);
  padding: var(--section-pad);
}

.stats .section-title {
  text-align: center;
  color: #ffffff;
  margin-bottom: 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-block:last-child { border-right: none; }

.stat-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.stat-num {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Industries */
.industries {
  padding: var(--section-pad);
  background: var(--bg-soft);
}

.industries-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
}

.industries-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  cursor: default;
  transition: var(--transition);
  overflow: hidden;
}

.industry-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.industry-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 12px;
}

.industry-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.industry-meta {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.industry-hover {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.industry-card:hover .industry-hover { opacity: 1; }

/* Guarantees */
.guarantees {
  padding: var(--section-pad);
  background: #ffffff;
}

.guarantees-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.guarantees-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.guarantees-quote {
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  line-height: 1.7;
}

.guarantee-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.guarantee-item:last-child { border-bottom: none; }

.guarantee-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.guarantee-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.guarantee-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.guarantee-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Certs */
.certs {
  padding: 56px 0;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.certs-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.certs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 48px;
  gap: 6px;
}

.cert-icon { font-size: 28px; }

.cert-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.cert-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.cert-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* Process */
.process {
  padding: var(--section-pad);
  background: var(--bg-soft);
}

.process .section-title,
.process .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.process-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.process-step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--border);
}

.process-step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.process-step-text {
  flex: 1;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Contacts form */
.contacts {
  padding: var(--section-pad);
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.contacts-sub {
  margin-bottom: 32px;
}

.contacts-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts-bullets li {
  font-size: 15px;
  color: var(--text-muted);
}

.contacts-form-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contacts-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contacts-form input,
.contacts-form textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  transition: var(--transition);
}

.contacts-form input:focus,
.contacts-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
}

.contacts-form input::placeholder,
.contacts-form textarea::placeholder {
  color: var(--text-light);
}

.form-agree {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}

.contacts-success {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

/* CTA banner */
.cta-banner {
  padding: 56px 0;
  background: var(--bg-dark);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-banner-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #000d1f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 240px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover { color: #ffffff; }

.footer-copy {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* Responsive */
@media (max-width: 1024px) {
  .header .btn-sm { display: none; }
}

@media (max-width: 768px) {
  .nav { display: none; }

  .nav.nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 76px 0 0;
    background: #ffffff;
    padding: 32px 24px;
    z-index: 99;
    gap: 24px;
    border-top: 1px solid var(--border);
  }

  .burger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-wrap { display: none; }
  .hero-btns .btn { flex: 1; min-width: 140px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .stat-block:nth-child(2n) { border-bottom: none; }

  .cases-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-head { grid-template-columns: 1fr; }
  .guarantees-inner { grid-template-columns: 1fr; gap: 48px; }
  .contacts-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

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

  .certs-row { gap: 24px; }
  .cert-divider { display: none; }
  .cert-item { padding: 0 24px; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-metrics { flex-wrap: wrap; }
  .hero-metric-divider { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-block { border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; }
  .stat-block:last-child { border-bottom: none; }
  .industries-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-copy { flex-direction: column; }
  .case-card-results { flex-wrap: wrap; }
  .contacts-form-wrap { padding: 28px 24px; }
}
