:root {
  --bg: #f5f8ff;
  --bg-soft: #eef3ff;
  --primary: #226ad6;
  --primary-strong: #0f5ed1;
  --muted: #4b5668;
  --card: #ffffff;
  --border: #dce5f5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: #0f1a2e;
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}

.nav {
  margin: 0 auto;
  padding: 16px 28px;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f1a2e;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.logo:hover {
  background: #e7efff;
}

.logo img {
  display: block;
  height: 32px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  align-items: center;
}

nav a {
  color: #243045;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

nav a:hover {
  background: #e7efff;
  color: var(--primary-strong);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 22px;
  color: #0f1a2e;
  cursor: pointer;
  line-height: 1;
  margin-left: 12px;
}

nav {
  margin-left: auto;
}

.mobile-phone {
  display: none;
}

.cta-small {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 35px rgba(15, 127, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(15, 127, 255, 0.3);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 28px 72px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
  padding: 40px 32px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff, #f1f5ff);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 520px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #1e2b3f;
  font-size: 14px;
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: #0f1a2e;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 16px 50px rgba(15, 127, 255, 0.18);
}

.btn-ghost {
  background: #f3f6ff;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-card {
  padding: 18px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 126, 215, 0.08), transparent 45%);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat strong {
  font-size: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

section {
  margin-top: 28px;
}

.hero + section {
  margin-top: 16px;
}

h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.subhead {
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 640px;
}

.card {
  padding: 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  min-height: 180px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border 0.2s ease;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 106, 214, 0.1), rgba(15, 94, 209, 0.14));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.card-icon i {
  font-size: 18px;
  color: #0f1a2e;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(46, 126, 215, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9cc6ff;
  margin-bottom: 6px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: var(--muted);
}

.list li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-strong);
  box-shadow: 0 0 0 6px rgba(46, 126, 215, 0.15);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.step {
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed #d5e1f5;
  background: #f7f9ff;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(46, 126, 215, 0.2);
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta {
  margin-top: 52px;
  padding: 26px 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(46, 126, 215, 0.14), #e8f0ff);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: center;
}

.cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact {
  margin: 8px 0 0;
  color: var(--muted);
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid #d6e3fb;
  background: #eef3ff;
  color: #1c2b42;
  font-size: 14px;
}

.service-price {
  font-weight: 700;
  margin: 10px 0 6px;
  color: #0f1a2e;
}

.service-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  color: #0f1a2e;
  text-decoration: none;
  font-weight: 700;
  border: none;
}

.dropzone {
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed #c8d6f2;
  border-radius: 12px;
  background: #f7f9ff;
  display: grid;
  gap: 8px;
}

.dropzone button {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #eef3ff;
  color: #1c2b42;
  font-weight: 600;
  cursor: pointer;
}

.previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.preview {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dce5f5;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview button {
  position: absolute;
  top: 6px;
  right: 6px;
  border: none;
  background: rgba(15, 30, 50, 0.8);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.file-count {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 32px 12px 24px;
  font-size: 14px;
}

.floating-mail {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 45px rgba(15, 127, 255, 0.22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 34px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 20;
}

.floating-mail:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(15, 127, 255, 0.3);
}

.floating-mail i {
  font-size: 32px;
  color: #ffffff;
}

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  z-index: 30;
}

.cookie-text {
  flex: 1;
  color: #1f2a3c;
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 780px) {
  .nav {
    position: relative;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .cta-small {
    display: none;
  }

  nav ul {
    position: absolute;
    top: 58px;
    left: 16px;
    right: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    padding: 12px;
    gap: 10px;
    display: none;
    min-width: 0;
    z-index: 25;
    align-items: stretch;
  }

  nav ul.open {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: 10px 12px;
  }

  .mobile-phone {
    display: block;
    border-top: 1px solid var(--border);
    padding-top: 6px;
    margin-top: 4px;
  }

  .cta {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
