@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg:      #ffffff;
  --text:    #0a0f1f;
  --muted:   #4a5568;
  --border:  #cbd5e1;
  --accent:  #2941be;
  --accent2: #1e34a2;
  --light:   #f0f4fa;
  --font:    'Inter', sans-serif;
  --radius:  18px;
  --radius-sm: 10px;
  --radius-lg: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Nav ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(26, 65, 190, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent) 0%, #1e34a2 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 10px rgba(41, 65, 190, 0.35);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-size: 0.93rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo-sub {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.5rem;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li:not(:last-child)::after {
  content: '';
  display: none;
  width: 1px;
  height: 1.1rem;
  background: var(--border);
  margin: 0 0.1rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent);
  background: #fff;
  box-shadow: 0 1px 6px rgba(41,65,190,0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(41, 65, 190, 0.35);
  transition: background 0.15s, box-shadow 0.15s, transform 0.12s;
  white-space: nowrap;
  margin-left: 1rem;
}

.nav-cta:hover {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 4px 16px rgba(41, 65, 190, 0.45);
  transform: translateY(-1px);
}

/* ─── Block Stripe ─── */
.stripe {
  display: flex;
  width: 100%;
  height: 6px;
  position: relative;
  z-index: 10;
  overflow: visible;
}

.stripe-block {
  flex: 1;
  height: 6px;
}


.stripe-block:nth-child(5) {
  position: relative;
  height: 6px;
  background: #1a56db;
  z-index: 11;
  padding-left: auto;
  padding-right: 60%;
}





.stripe-block:nth-child(1),

.stripe-block:nth-child(1) { background: #d0d9f9; }

.stripe-block:nth-child(2),
.stripe-block:nth-child(7) { background: #a8b1f4; }

.stripe-block:nth-child(3),
.stripe-block:nth-child(6) { background: #7a88ee; }

.stripe-block:nth-child(4),

.stripe-block:nth-child(5) { background: #2941be; }


.stripe-block:nth-child(8) { background: #d0e0f9; }


/* ─── Hero ─── */
.hero {
  margin-top: 10px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 480px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--light);
}

/* diagonal split */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: polygon(0 0, 52% 0, 44% 100%, 0 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 3rem 5rem 4rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}



.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

.hero-tagline strong { color: var(--accent); }

.hero-sub {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2.2rem;
  font-weight: 300;
  max-width: 34ch;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(26,86,219,0.07);
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--accent2); }

/* Hero image side */
.hero-image {
  margin-right: 20px;
  position: relative;
  z-index: 0;
  height: 100%;
  min-height: 480px;
  max-height: 700px;
  max-width: 800px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) saturate(0.9);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  border-radius:  0 var(--radius) var(--radius) 0;
}

/* Floating badge on image */
.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 0.5rem;
  background: linear-gradient(135deg, #fff 80%, #eaf1fb 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 12px 36px 0 rgba(26,86,219,0.18), 0 2px 8px rgba(26,86,219,0.07);
  z-index: 5;
  transition: box-shadow 0.2s, transform 0.2s;
  backdrop-filter: blur(2px);
  border-bottom: 4px solid var(--accent);
  transform: translateY(0);
}

.hero-badge:hover {
  box-shadow: 0 20px 48px 0 rgba(26,86,219,0.22), 0 4px 16px rgba(26,86,219,0.10);
  transform: translateY(-4px) scale(1.03);
}
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent) 60%, var(--accent2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 2px 12px rgba(26,86,219,0.13);
  flex-shrink: 0;
}

.hero-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-badge-label {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-badge-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

/* ─── Stats ─── */
.stats {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.stat {
  flex: 1;
  max-width: 200px;
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

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

.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ─── Services ─── */
.services {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5.5rem 2.5rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.section-sub {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
  max-width: 60ch;
}

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

.service-card {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(10,15,31,0.08);
  padding: 1.5rem 1.2rem;
  border-top: 4px solid var(--border);
  transition: border-top-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

/* subtle corner shape */
.service-card::after {
  content: '';
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 60px;
  height: 60px;
  background: rgba(26,86,219,0.05);
  border-radius: 50%;
}

.service-card:hover {
  border-top-color: var(--accent);
  box-shadow: 0 4px 20px rgba(26,86,219,0.08);
}

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}

.service-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.service-desc {
  font-size: 0.81rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Process ─── */
.process {
    border-radius: var(--radius);
  background: var(--text);
  padding: 4.5rem 2rem;
  position: relative;
  overflow: hidden;
}

/* big decorative circle */
.process::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,0.03);
  pointer-events: none;
}

.process::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 30px solid rgba(26,86,219,0.12);
  pointer-events: none;
}

.process-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.process .section-label { color: #7aabee; }
.process .section-label::before { background: #7aabee; }
.process .section-title { color: #fff; }
.process .section-sub { color: rgba(255,255,255,0.5); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.2rem;
}

.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #7aabee;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #fff;
}

.step-desc {
  font-size: 0.81rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

/* ─── CTA ─── */
.cta-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-section p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.5rem;
  max-width: 45ch;
}

.cta-right {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  flex-shrink: 0;
  min-width: 240px;
}

.cta-right .owner {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.cta-right a.phone {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cta-right a.phone:hover { color: var(--accent); }

.cta-right a.mail {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.cta-right a.mail:hover { color: var(--accent); }

.cta-right .btn-primary {
  margin-top: 0.6rem;
  width: 100%;
  justify-content: center;
}

/* ─── Footer ─── */
footer {
    border-radius: var(--radius) var(--radius) 0 0;
  background: var(--text);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.footer-logo span { color: #7aabee; }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ─── Responsive ─── */
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero::before { clip-path: none; }
  .hero-image { min-height: 260px; }
  .hero-badge { left: 1rem; bottom: 1rem; }
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { flex-wrap: wrap; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); max-width: 100%; width: 100%; }
  .cta-section { flex-direction: column; }
  .cta-right { width: 100%; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 1.2rem; }
  .hero-content { padding: 3rem 1.5rem; }
}