:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #171923;
  --muted: #5b6073;
  --primary: #0052cc;
  --primary-strong: #003f9f;
  --line: #e4e7ef;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(23, 25, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  font-weight: 500;
  color: #2f3448;
}

nav a.active {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  border: 1px solid var(--primary);
  padding: 12px 18px;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  color: #fff;
}

.btn-sm {
  padding: 9px 14px;
}

.hero {
  padding: 90px 0 70px;
  background: linear-gradient(180deg, #fff 0%, #f4f7ff 100%);
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(0, 82, 204, 0.15), transparent 42%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.12;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 64ch;
}

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

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transform: translateY(0);
  transition: transform 0.25s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
}

.hero-card h3 {
  margin: 0 0 8px;
}

.hero-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
}

.section {
  padding: 72px 0;
}

.page-hero {
  padding: 80px 0 36px;
  background: linear-gradient(180deg, #fff 0%, #eef3ff 100%);
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
}

.section-intro {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 74ch;
}

.cards,
.atouts-grid,
.gallery {
  display: grid;
  gap: 16px;
}

.content-grid,
.cases {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.image-card {
  overflow: hidden;
  padding: 0;
}

.image-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.image-card>div {
  padding: 18px 20px 20px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.content-card,
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.content-card h3,
.case-card h3 {
  margin: 0 0 8px;
}

.content-card p,
.case-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

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

.chips span {
  border: 1px solid #c6d6f3;
  background: #edf3ff;
  color: #164276;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 12px;
}

.trust-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.trust-box h2 {
  margin-bottom: 12px;
}

.trust-box ul {
  margin: 0;
  padding-left: 20px;
}

.trust-box li {
  margin-bottom: 8px;
  color: var(--muted);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.steps span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
  color: #fff;
  background: var(--primary);
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.atouts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.atouts-grid article {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 18px;
}

.atouts-grid h3 {
  margin: 0 0 6px;
}

.atouts-grid p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  min-height: 170px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dfe9ff 0%, #b8ceff 100%);
  border: 1px solid #b4c7ef;
  display: flex;
  align-items: end;
  padding: 16px;
  overflow: hidden;
  position: relative;
}

.rich-gallery .gallery-item {
  min-height: 260px;
  padding: 0;
  cursor: zoom-in;
}

.rich-gallery .gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rich-gallery .gallery-item figcaption {
  position: relative;
  z-index: 2;
  margin-top: auto;
  width: 100%;
  padding: 14px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 29, 0.75) 100%);
}

.rich-gallery .gallery-item:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(7, 10, 20, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  width: min(1100px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox p {
  margin: 10px 0 0;
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 22px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-item span {
  font-weight: 600;
  font-size: 0.95rem;
}

.narrow {
  width: min(850px, 92%);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-q {
  width: 100%;
  background: #fff;
  border: 0;
  text-align: left;
  font: inherit;
  font-weight: 600;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-q::after {
  content: "+";
  font-size: 1.15rem;
  line-height: 1;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 16px;
  color: var(--muted);
  transition: max-height 0.35s ease, opacity 0.28s ease, padding 0.35s ease;
}

.faq-item.open .faq-a {
  opacity: 1;
  padding: 0 16px 16px;
}

.faq-item.open {
  border-color: #c5d7ff;
  box-shadow: 0 8px 26px rgba(0, 82, 204, 0.12);
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

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

.contact-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
}

.contact-card h2 {
  font-size: 1.35rem;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card li:last-child {
  border-bottom: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.stat strong {
  display: block;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1;
  margin-bottom: 7px;
}

.stat span {
  color: var(--muted);
}

.footer {
  background: #101322;
  color: #d9def0;
  padding: 56px 0;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: start;
}

.footer h3,
.footer h4 {
  margin-top: 0;
  color: #fff;
}

.footer p,
.footer li {
  color: #d9def0;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 34px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  border-radius: 2px;
  background: #2f3448;
}

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 250;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 82, 204, 0.28);
}

.floating-cta:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {

  .hero-grid,
  .steps,
  .atouts-grid,
  .gallery,
  .footer-grid,
  .stats,
  .content-grid,
  .cases {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    text-align: center;
  }

  nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  nav.open {
    display: flex;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid,
  .cards,
  .steps,
  .atouts-grid,
  .gallery,
  .footer-grid,
  .contact-grid,
  .stats,
  .content-grid,
  .cases {
    grid-template-columns: 1fr;
  }
}