:root {
  --blue: #2f62f9;
  --blue-deep: #223bd1;
  --navy: #041660;
  --ink: rgba(0, 0, 0, 0.82);
  --muted: rgba(255, 255, 255, 0.82);
  --paper: #f4f6f8;
  --line: #e4e7ee;
  --green: #4ade80;
  --header: 78px;
  --max: 1140px;
  --font: "Be Vietnam Pro", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  flex: none;
}
.eyebrow.light { color: #fff; }
.eyebrow.dark { color: #111; }
.rule {
  width: 72px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  margin: 0 0 22px;
  border: 0;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 { font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 28px; }

.lead { margin: 0 0 22px; font-size: 18px; }
.center { text-align: center; }
.center .eyebrow,
.center .rule { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 28px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(47, 98, 249, 0.22);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-block { width: 100%; }
.btn:hover { background: #1d4fe0; }

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
}
.header.scrolled {
  position: fixed;
  background: #fff;
  box-shadow: 0 1px 0 rgba(4, 22, 96, 0.08);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { width: 210px; height: auto; }
.logo-dark { display: none; }
.header.scrolled .logo-light { display: none; }
.header.scrolled .logo-dark { display: block; }
.nav {
  display: flex;
  gap: 28px;
  color: #fff;
  font-weight: 500;
}
.header.scrolled .nav { color: var(--navy); }
.nav a:hover { color: var(--blue); }
.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.header.scrolled .menu-btn { color: var(--navy); }
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #10203f;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: heroFade 18s infinite;
}
.hero__slide:nth-child(1) { background-image: url("../images/hero-1.jpg"); animation-delay: 0s; }
.hero__slide:nth-child(2) { background-image: url("../images/hero-2.jpg"); animation-delay: 6s; }
.hero__slide:nth-child(3) { background-image: url("../images/hero-3.jpg"); animation-delay: 12s; }
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.08); }
  8% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 40, 0.28) 0%, rgba(4, 12, 40, 0.55) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto 72px;
  text-align: center;
  padding-top: calc(var(--header) + 40px);
}
.hero__kicker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 18px;
  font-size: 18px;
}
.hero__kicker { flex-direction: column; gap: 4px; }
.hero p { color: var(--muted); font-size: 18px; }

.estimate { padding: 72px 0 40px; }
.estimate h2 { color: var(--blue-deep); }
.form {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: left;
}
.form-row { display: grid; gap: 8px; }
label { font-weight: 700; font-size: 16px; }
input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  height: 52px;
  margin: 8px 0 18px;
  padding: 0 14px;
  border: 1px solid #d5d8e0;
  border-radius: 2px;
  font-size: 16px;
  color: var(--ink);
}
input::placeholder { color: #b0b4be; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  opacity: 0;
}
.note {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: #eefaf3;
  color: #146c43;
  border-radius: 8px;
}
.note.error { background: #fff1f1; color: #9b1c1c; }

.about { padding: 48px 0 0; }
.about h2 { color: var(--blue-deep); }
.about .copy p { margin: 0 0 16px; }
.about .btn { margin-top: 8px; }
.about__photo { margin: 36px 0 0; }
.about__photo img { width: min(720px, 100%); margin: 0 auto; }
.stats {
  display: grid;
  background: var(--paper);
  margin-top: 10px;
}
.stat {
  padding: 28px 8px 28px 22px;
  border-left: 3px solid #d5dbe6;
}
.stat__label { display: block; margin-bottom: 8px; font-size: 18px; }
.stat__num {
  color: var(--blue);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
}

.services {
  background: var(--navy);
  color: #fff;
  padding: 88px 0 36px;
}
.services h2 { color: var(--blue); }
.services .lead { color: var(--muted); }
.services .btn { margin-top: 8px; }
.cards {
  display: grid;
  gap: 22px;
  margin-top: 48px;
}
.card {
  position: relative;
  min-height: 430px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 40, 0.15) 0%, rgba(8, 16, 40, 0.72) 100%);
}
.card > * { position: relative; z-index: 1; }
.card__kicker {
  position: absolute;
  top: 28px;
  left: 26px;
  right: 26px;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.card__kicker::after {
  content: "";
  display: block;
  width: 42%;
  height: 1px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.85);
}
.card h3 { font-size: 30px; margin-bottom: 8px; }
.card p { margin: 0; color: rgba(255, 255, 255, 0.9); }

.projects { padding: 28px 0 20px; background: #fff; }
.compares { display: grid; gap: 18px; }
.compare {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ddd;
  user-select: none;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare__before { clip-path: inset(0 50% 0 0); }
.compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}
.compare__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  z-index: 2;
  pointer-events: none;
}
.compare__bar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.compare__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(4, 22, 96, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.compare__tag.before { left: 14px; }
.compare__tag.after { right: 14px; }

.approach, .why, .trust, .faq { padding: 72px 0; }
.approach { background: var(--paper); }
.approach h2, .why h2 { color: var(--blue-deep); }
.steps, .reasons { display: grid; gap: 18px; margin-top: 28px; }
.approach .steps + .wrap { margin-top: 32px; }
.step, .reason {
  background: #fff;
  padding: 26px 22px;
  border-radius: 12px;
}
.approach .step { background: #fff; }
.step__n {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.step h3, .reason h3 { font-size: 22px; margin-bottom: 8px; color: var(--navy); }
.step p, .reason p { margin: 0; }
.reason__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--blue);
}

.trust { background: #fff; padding-top: 20px; }
.slider { position: relative; overflow: hidden; }
.slide {
  display: none;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
.slide.active { display: grid; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slide blockquote { margin: 0 0 16px; font-size: 20px; line-height: 1.45; }
.slide strong { display: block; }
.slide span { color: #5c6475; }
.dots { display: flex; gap: 8px; margin-top: 18px; }
.dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #cfd5e4;
  cursor: pointer;
}
.dots button.active { background: var(--blue); }

.faq h2 { color: #041660; }
.accordion { display: grid; gap: 10px; }
.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0 12px;
}
.accordion summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 26px; color: var(--blue); font-weight: 400; }
.accordion details[open] summary::after { content: "–"; }
.accordion details p { margin: 10px 0 6px; }

.cta {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: #041660 center/cover no-repeat url("../images/cta.jpg");
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 48, 0.62);
}
.cta .wrap { position: relative; z-index: 1; padding: 72px 0; }
.cta .lead { color: var(--muted); }

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 56px 0 28px;
}
.footer .logo { width: 230px; margin-bottom: 22px; }
.footer p { max-width: 560px; margin: 0; }
.footer nav, .footer .contact-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  font-size: 18px;
}
.footer__grid { display: grid; gap: 28px; margin-bottom: 28px; }
.footer a:hover { color: #fff; }
.footer hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); margin: 10px 0 18px; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.footer small { display: block; }

.page-thanks .header {
  position: sticky;
  background: #fff;
  box-shadow: 0 1px 0 rgba(4, 22, 96, 0.08);
}
.page-thanks .logo-light { display: none; }
.page-thanks .logo-dark { display: block; }
.page-thanks .nav,
.page-thanks .menu-btn { color: var(--navy); }
.thanks {
  padding: 88px 0 104px;
  text-align: center;
}
.thanks h1 { color: var(--blue-deep); }
.thanks .lead { max-width: 560px; margin-left: auto; margin-right: auto; }
.thanks .btn { margin-top: 8px; }

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.whatsapp svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    color: var(--navy);
    padding: 8px 0 16px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 22px; }
  .menu-btn { display: grid; place-items: center; }
  .header { background: rgba(4, 22, 96, 0.28); }
  .btn-block, .hero .btn, .about .btn, .services .btn, .faq .btn { width: 100%; }
}

@media (min-width: 861px) {
  .hero__kicker { flex-direction: row; gap: 22px; }
  .form-row.two { grid-template-columns: 1fr 1fr; gap: 16px; }
  .about__grid, .faq__grid, .slide.active {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
  }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .compares { grid-template-columns: 1fr 1fr; }
  .steps, .reasons { grid-template-columns: repeat(4, 1fr); }
  .faq .btn { width: auto; }
  .footer__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
    gap: 48px;
    align-items: start;
  }
  .footer .contact-list { margin-top: 8px; }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; opacity: 0; transform: none; }
  .hero__slide:first-child { opacity: 1; }
  html { scroll-behavior: auto; }
}
