:root {
  --blue: #0d5fc8;
  --blue-dark: #0a4da6;
  --blue-soft: #eef6ff;
  --green: #69b233;
  --green-dark: #4d8523;
  --text: #173255;
  --muted: #667b93;
  --line: #dbe6f1;
  --white: #ffffff;
  --bg: #f5fbff;
  --card: #ffffff;
  --shadow: 0 14px 34px rgba(14, 47, 93, 0.12);
  --radius: 20px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13,95,200,0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/*
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 24px 6px 6px 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.16));
  border-radius: 20px 20px 14px 14px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  left: 8px;
  bottom: 7px;
  background: linear-gradient(180deg, #79c94e, #4f9e2d);
  border-radius: 22px 22px 4px 22px;
  transform: rotate(-28deg);
}
*/
.brand-text strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  color: #0d4fa8;
  letter-spacing: -0.02em;
}

.brand-text .span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #56708c;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav-menu a {
  padding: 10px 6px;
  font-size: 15px;
  font-weight: 700;
  color: #1b426f;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #69cfff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 10px 18px rgba(14,67,132,.16);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #1871db, #0c56b7);
}

.btn-light {
  color: #173d6b;
  background: linear-gradient(180deg, #ffffff, #eef4fb);
}

.btn-green {
  color: #fff;
  background: linear-gradient(180deg, #77bf39, #5d9f2b);
  box-shadow: 0 10px 18px rgba(93,159,43,.20);
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: #16457d;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    /*linear-gradient(rgba(10, 32, 56, .28), rgba(10, 32, 56, .28)),*/
    url('img/hero_banner.webp') center center / cover no-repeat;
}
/*
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.18));
}
*/

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(245,251,255,0), rgba(245,251,255,1));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 48px 0 56px;
}

.hero h1 {
  margin: 0 auto;
  max-width: 860px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(0,0,0,.28);
}

.hero p {
  margin: 14px auto 0;
  max-width: 740px;
  font-size: clamp(18px, 1.8vw, 28px);
  color: rgba(255,255,255,.96);
  font-weight: 700;
  text-shadow: 0 3px 14px rgba(0,0,0,.22);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero .btn {
  min-width: 190px;
  padding: 15px 26px;
  font-size: 16px;
  border-radius: 10px;
}

.hero-badge,
.hero-stats {
  display: none;
}


.stat-box {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 16px 14px;
  backdrop-filter: blur(6px);
}

.stat-box strong {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.stat-box span {
  font-size: 14px;
  color: rgba(255,255,255,.88);
}

section { padding: 42px 0; }

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.section-title span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #0e4fa8;
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.1;
  font-weight: 900;
}

.section-title span::before,
.section-title span::after {
  content: "";
  width: clamp(50px, 9vw, 150px);
  height: 2px;
  background: linear-gradient(90deg, transparent, #9fc2e8);
}

.section-title span::after {
  background: linear-gradient(90deg, #9fc2e8, transparent);
}

.section-lead {
  max-width: 760px;
  margin: -6px auto 0;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

.card {
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border: 1px solid #dfe8f3;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.service-grid,
.page-grid,
.process-grid,
.gallery-grid,
.benefit-grid,
.blog-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  margin-top: -34px;
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 22px;
  min-height: 220px;
}

.service-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #dbe7f4;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: linear-gradient(180deg, #f5fbff, #d8eeff);
}

.service-card h3,
.page-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  color: #0e4fa8;
}

.check-list,
.dot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li,
.dot-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  color: #18385f;
}

.check-list li::before,
.dot-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.check-list li::before { content: '✓'; color: #1188d8; }
.dot-list li::before { content: '•'; color: #5cae27; font-size: 22px; line-height: 1; }

.benefits {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-top: 1px solid #ebf2f9;
  border-bottom: 1px solid #ebf2f9;
}

.benefit-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
}

.benefit {
  text-align: center;
  padding: 10px 8px;
}

.benefit-icon {
  font-size: 46px;
  line-height: 1;
  margin-bottom: 12px;
}

.benefit strong {
  display: block;
  font-size: 20px;
  color: #0e4fa8;
  margin-bottom: 6px;
}

.benefit p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.process {
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.95), rgba(255,255,255,0) 28%),
    radial-gradient(circle at 80% 70%, rgba(210,241,255,.9), rgba(210,241,255,0) 28%),
    linear-gradient(180deg, #eff9ff, #ffffff);
}

.process-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
}

.step-number {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(180deg, #166cd7, #0b56b7);
}

.step strong {
  display: block;
  font-size: 21px;
  color: #0e4fa8;
  margin-bottom: 6px;
}

.step p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #2a466b;
}

.step-visual {
  font-size: 50px;
  line-height: 1;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-height: 280px;
  background: #dfefff;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

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

.gallery-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(4,24,48,.88));
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  text-align: center;
}

.cta-box {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11,86,183,.95), rgba(13,95,200,.98)),
    url('img/contact_banner.webp') center / cover no-repeat;
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(8,58,123,.22);
}

.cta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.cta-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}

.cta-body {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  padding: 24px 28px 28px;
}

.contact-info h3,
.contact-form h3,
.page-intro h2,
.faq h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 17px;
}

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

.socials a {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
}

.contact-form,
.page-card,
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
  color: var(--text);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid #dfe8f3;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #cad9ea;
  background: #fff;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text);
  outline: none;
}

textarea.field {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin-top: 10px;
  color: #577193;
  font-size: 13px;
}

.success-msg {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 14px;
  background: #ecf8e4;
  color: #2a6621;
  font-weight: 700;
  font-size: 14px;
  display: none;
}

.page-hero {
  padding: 60px 0 26px;
}

.page-shell {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: stretch;
}

.page-intro {
  padding: 28px;
}

.page-intro .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0d5fc8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.page-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  color: #0d4fa8;
}

.page-intro p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}

.page-image {
  min-height: 360px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.page-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.page-card .icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #f5fbff, #d8eeff);
  font-size: 28px;
}

.faq {
  margin-top: 10px;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.footer {
  padding: 26px 0 36px;
  color: #56708f;
  text-align: center;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-brand {
  font-size: 24px;
  font-weight: 800;
  color: #0d4fa8;
  margin-bottom: 8px;
}

.footer-text {
  max-width: 720px;
  margin: 0 auto 10px;
}

@media (max-width: 980px) {
  .hamburger { display: inline-flex; }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid #dde8f4;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-menu.open { display: flex; }
  .nav-actions .btn { display: none; }

  .service-grid,
  .process-grid,
  .gallery-grid,
  .benefit-grid,
  .page-grid,
  .cta-body,
  .page-shell {
    grid-template-columns: 1fr 1fr;
  }

  .cta-head {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 720px) {
  .nav { min-height: 70px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-text strong { font-size: 20px; }
  .brand-text span { font-size: 12px; }

  .hero {
    min-height: 520px;
    background-position: center;
  }

  .hero-inner { padding: 56px 0 88px; }
  .btn { width: 100%; }
  .hero-cta,
  .inline-cta { flex-direction: column; }

  .service-grid,
  .process-grid,
  .gallery-grid,
  .benefit-grid,
  .page-grid,
  .cta-body,
  .page-shell {
    grid-template-columns: 1fr;
  }

  .page-intro,
  .contact-form,
  .page-card,
  .faq-item,
  .service-card,
  .step { padding: 20px; }

  .page-image { min-height: 240px; }
  .cta-head,
  .cta-body { padding-left: 20px; padding-right: 20px; }
  .section-title span::before,
  .section-title span::after { width: 34px; }
} 