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

:root {
  --bg: #FFFFFF;
  --bg-alt: #F8FAFF;
  --bg-dark: #1E3A5F;
  --primary: #1B4FD8;
  --primary-dark: #1440B0;
  --primary-light: #EFF6FF;
  --text: #1E293B;
  --muted: #64748B;
  --border: #E2E8F0;
  --accent: #F97316;
  --success: #16A34A;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 48px;
}
h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }

.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 16px;
}

section { padding: 100px 120px; border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(27,79,216,0.1);
}
.card-accent {
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 36px;
}

.btn-primary,
.btn-accent,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 16px 36px;
  border: none;
  box-shadow: 0 4px 16px rgba(27,79,216,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(27,79,216,0.4);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  padding: 16px 36px;
  border: none;
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}
.btn-accent:hover { background: #EA6C0A; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 15px 34px;
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-mini { padding: 10px 16px; font-size: 13px; }
.full { width: 100%; }

.nav-top {
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--primary-light);
  border-bottom: 1px solid var(--border);
}
.nav-top p {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-main {
  height: 72px;
  padding: 0 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.brand svg { width: 32px; height: 32px; flex-shrink: 0; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--primary); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-link {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.burger span {
  width: 18px;
  height: 2px;
  background: var(--primary);
}

.hero {
  border-top: none;
  position: relative;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #EFF6FF 100%);
  padding: 100px 120px 80px;
  overflow: hidden;
}
.hero-bg-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  object-fit: cover;
  opacity: .04;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px;
  align-items: center;
}

.shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 32px;
}
.shield-badge svg { width: 20px; height: 20px; }
.shield-badge span {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 500px;
  margin: 24px 0 36px;
}

.proof-facts {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.proof-fact {
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.proof-fact:first-child { padding-left: 0; }
.proof-fact:last-child { border-right: 0; }
.proof-fact strong {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.proof-fact span {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.ceo-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.ceo-note img {
  border-radius: 50%;
  width: 52px;
  height: 52px;
  border: 2px solid var(--primary);
}
.ceo-note p { font-size: 13px; font-weight: 600; }

.hero-form {
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border-radius: 16px;
  padding: 40px;
}
.form-sub { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

input, select, textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 14px;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,79,216,0.1);
}

.privacy-note {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.privacy-note svg { width: 14px; height: 14px; flex-shrink: 0; }
.privacy-note a { text-decoration: underline; }

.thank-you { display: none; text-align: center; }
.thank-you.show { display: block; }
.thank-you svg { width: 48px; margin: 0 auto 14px; }

.guarantee-strip {
  background: var(--primary);
  color: #fff;
  padding: 28px 120px;
  border-top: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.guarantee-strip article {
  display: flex;
  align-items: center;
  gap: 12px;
}
.guarantee-strip svg { width: 24px; height: 24px; opacity: .9; }
.guarantee-strip p { font-size: 15px; font-weight: 600; }

.trust { padding: 80px 120px; }
.trust-flex {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.trust-item {
  flex: 1;
  border-right: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}
.trust-item:last-child { border-right: none; }
.trust-item strong {
  display: block;
  font-size: clamp(36px,5vw,56px);
  font-weight: 700;
  color: var(--primary);
}
.trust-item p {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .5px;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.lead { font-size: 19px; line-height: 1.7; }
.steps-list { margin-top: 36px; }
.steps-list article {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}
.steps-list span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contract-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.check-list { list-style: none; margin: 18px 0; }
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.check-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.note {
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
  color: var(--muted);
}

.intro { margin-bottom: 28px; color: var(--muted); max-width: 880px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-top {
  height: 3px;
  background: var(--primary);
  border-radius: 12px 12px 0 0;
  margin: -36px -36px 24px;
}
.services-grid .card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
}
.tags { font-size: 14px; color: var(--primary); margin-top: 12px; font-weight: 600; }

.slider { position: relative; overflow: hidden; }
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slider-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 60px;
  align-items: center;
}
.slider-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}
.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #BFDBFE;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.case-metrics div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.case-metrics strong { display: block; color: var(--primary); font-size: 24px; }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.slider-btn {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: var(--bg);
  cursor: pointer;
}
.slider-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--border);
  cursor: pointer;
}
.dot.active { background: var(--primary); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price { font-size: 32px; font-weight: 700; color: var(--primary); margin: 8px 0; }
.pricing-grid ul { margin: 12px 0 18px 18px; }
.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 40px rgba(27,79,216,0.15);
  position: relative;
}
.popular {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 12px;
  margin-bottom: 10px;
}
.pricing-note {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.process-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.process-step {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.process-step:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 28px rgba(27,79,216,.12);
  transform: translateY(-2px);
}
.process-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 26px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { color: var(--muted); margin-bottom: 8px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reviews-grid .card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 12px;
  object-fit: cover;
}
.meta { color: var(--muted); font-size: 13px; margin-bottom: 10px; }

.faq-list {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-btn {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.faq-btn svg { width: 20px; height: 20px; transition: transform .2s; }
.faq-item.open .faq-btn svg { transform: rotate(45deg); }
.faq-answer {
  padding: 0 28px 24px;
  color: var(--muted);
  font-size: 16px;
}
.faq-item:not(.open) .faq-answer { display: none; }

.final-cta { text-align: center; }
.final-cta p {
  color: rgba(255,255,255,.7);
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto 40px;
}
.final-cta-facts {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.final-cta-facts span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
}
.final-cta-facts svg { width: 20px; height: 20px; }
.final-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-outline.white {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.btn-outline.white:hover {
  background: #fff;
  color: var(--bg-dark);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.contact-ico { width: 32px; height: 32px; margin-bottom: 12px; }
.contact-main {
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.contacts-grid iframe {
  width: 100%;
  border: 0;
  border-radius: 8px;
  height: 200px;
  margin-top: 16px;
}
.contacts-grid .card a {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.contacts-grid .card a svg { width: 20px; height: 20px; }

footer {
  background: var(--text);
  color: #fff;
  padding: 60px 120px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.footer-brand span { color: #fff; }
.footer-grid p,
.footer-grid li,
.footer-grid a { color: rgba(255,255,255,.75); }
.footer-lead { color: #fff !important; font-weight: 700; margin: 10px 0 8px; }
.footer-muted { color: rgba(255,255,255,.62) !important; }
.footer-grid ul { list-style: none; margin-bottom: 18px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { display: block; margin-bottom: 8px; }
.socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  margin-bottom: 0;
  color: #fff;
  font-weight: 700;
}
.socials a:hover { background: rgba(255,255,255,.12); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(27,79,216,.35);
  z-index: 150;
}
.floating-call.show { display: inline-flex; }
.floating-call svg { width: 28px; height: 28px; }

.fade { opacity: 0; transform: translateY(16px); transition: .6s ease; }
.fade.visible { opacity: 1; transform: none; }

@media (max-width: 767px) {
  section { padding: 70px 24px; }
  h2 {font-size: 31px;}
  .nav-main { padding: 0 24px; height: 64px; }
  .nav-top { display: none; }
  .shield-badge {padding: 6px 10px; gap:4px;}
  .shield-badge span {font-size: 12px;}
  .hero { padding: 90px 24px 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-form {padding: 20px;}
  .privacy-note {flex-wrap: wrap; gap:0;}
  .btn-outline {width: 100%;}
  .proof-facts { flex-wrap: wrap; gap: 0; }
  .proof-fact { width: 50%; border-right: none; border-bottom: 1px solid var(--border); padding: 20px; }
  .guarantee-strip { flex-direction: column; gap: 16px; text-align: center; padding: 25px;}
  .trust {padding: 80px 60px;}
  .card-accent {padding: 10px;}
  .btn-outline {padding: 15px 20px;}
  .btn-accent {padding: 16px 20px;}
  .faq-btn {padding: 18px 14px;}
  .pricing-note {flex-direction: column;}
  .trust-flex { flex-direction: column; border-radius: 12px; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); padding: 24px; }
  .guarantee-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .slider-slide { grid-template-columns: 1fr; }
  .slider-photo { height: 240px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-board { grid-template-columns: 1fr; gap: 14px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; gap: 20px; }
  footer {padding: 58px 20px 40px;}
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .final-cta-facts { flex-direction: column; align-items: center; gap: 16px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .burger { display: inline-flex; }
}

@media (min-width: 768px) and (max-width: 1279px) {
  section { padding: 80px 60px; }
  .nav-main { padding: 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .slider-slide { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
}

@media (min-width: 1280px) {
  .hero-grid { grid-template-columns: 55fr 45fr; gap: 80px; align-items: center; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .slider-slide { grid-template-columns: 45fr 55fr; gap: 60px; align-items: center; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .process-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .contacts-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .guarantee-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
