:root {
  --blue: #1268f3;
  --blue-dark: #0b4fc2;
  --blue-soft: #eaf3ff;
  --blue-pale: #f5f9ff;
  --navy: #061736;
  --navy-2: #0b2148;
  --text: #17233c;
  --muted: #5f6f89;
  --line: #dbe7f7;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(22, 89, 180, .10);
  --radius: 18px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 231, 247, .82);
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-logo {
  width: 54px;
  height: 54px;
  display: block;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 44px;
  color: var(--navy-2);
  font-weight: 650;
  font-size: 14px;
}

.main-nav a {
  position: relative;
  padding: 33px 0 30px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 5px 5px 0 0;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 99px;
}

.section-first {
  padding: 78px 0 76px;
}

.section {
  padding: 112px 0 86px;
}

.section-header {
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header .eyebrow {
  justify-content: center;
}

.section-header p:not(.eyebrow) {
  margin: 14px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
}

h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -.045em;
}

h1 span {
  color: var(--blue);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.2vw, 43px);
  letter-spacing: -.035em;
}

h3 {
  font-size: 20px;
  letter-spacing: -.02em;
}

.lead {
  max-width: 590px;
  color: #40506a;
  font-size: 20px;
  line-height: 1.75;
}

.hero {
  background:
    radial-gradient(circle at 70% 18%, #dcecff 0, rgba(220,236,255,0) 34%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  border-bottom: 1px solid rgba(219, 231, 247, .8);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 50px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  padding: 14px 25px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

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

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 28px rgba(18, 104, 243, .22);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  color: var(--blue);
  background: #fff;
  border-color: var(--blue);
}

.btn-outline:hover {
  background: #f1f7ff;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 48px;
  color: var(--navy-2);
  font-size: 13px;
  font-weight: 800;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-points svg {
  width: 21px;
  height: 21px;
  color: var(--blue);
  padding: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(18,104,243,.12);
}

.hero-visual {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.hero-visual img {
  width: min(100%, 780px);
  max-width: none;
  height: auto;
  display: block;
  transform: translateX(34px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 220px;
  padding: 38px 34px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 8px 26px rgba(6, 23, 54, .035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #bad6fb;
  box-shadow: var(--shadow);
}

.icon-box,
.project-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 50%;
  font-size: 36px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  max-width: 310px;
  margin: 0 auto;
  color: #465875;
}

.projects-section {
  background:
    radial-gradient(circle at 50% 15%, rgba(18,104,243,.10), transparent 42%),
    linear-gradient(180deg, #f2f8ff 0%, #ffffff 100%);
  border-top: 1px solid rgba(219,231,247,.7);
  border-bottom: 1px solid rgba(219,231,247,.7);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.project-card {
  min-height: 372px;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 8px 34px rgba(18,104,243,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: #b8d7ff;
  box-shadow: 0 18px 45px rgba(18,104,243,.13);
}

.project-icon {
  margin: 0 0 24px;
}

.project-card h3 {
  min-height: 92px;
  margin-bottom: 14px;
  font-size: 23px;
}

.project-card p {
  color: #42516b;
  margin-bottom: 18px;
}

.project-card .field {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
}

.project-card .field svg {
  width: 18px;
  height: 18px;
}

.tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: flex-end;
}

.tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 8px;
  color: var(--blue);
  background: #eef6ff;
  border: 1px solid #a8cbff;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.process-section {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
}

.process-grid article {
  position: relative;
  padding-left: 55px;
}

.process-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 10px;
  right: -28px;
  color: var(--blue);
  font-size: 30px;
}

.step {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.process-icon {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 34px;
}

.process-grid h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.process-grid p {
  color: var(--muted);
}

.about-contact-section {
  padding-top: 92px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.about-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: start;
}

.about-panel {
  display: grid;
  gap: 30px;
  align-items: start;
}

.about-box h2,
.contact-box h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.about-box p,
.contact-box p {
  color: var(--muted);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.mini-stats span {
  display: block;
  padding: 16px;
  background: var(--blue-pale);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.mini-stats strong,
.mini-stats small {
  display: block;
}

.mini-stats strong {
  color: var(--navy);
}

.mini-stats small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.benefit-box {
  padding: 30px;
  background: var(--blue-pale);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.benefit-box h3 {
  margin-bottom: 20px;
}

.benefit-box ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-box li:last-child {
  grid-column: 1 / -1;
}

.benefit-box li {
  position: relative;
  padding-left: 28px;
  color: #465875;
}

.benefit-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label:not(.consent-check):not(.hp-field) {
  position: relative;
  display: grid;
  gap: 7px;
}

.contact-form label:not(.consent-check):not(.hp-field) > span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #cfdbeb;
  border-radius: 6px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #8a9ab4;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18,104,243,.12);
}

.contact-form label.has-error input,
.contact-form label.has-error textarea {
  border-color: #e00022;
  box-shadow: 0 0 0 4px rgba(224, 0, 34, .10);
}

.field-error {
  position: absolute;
  right: 12px;
  top: calc(100% - 3px);
  transform: translateY(8px);
  z-index: 3;
  width: max-content;
  max-width: min(290px, calc(100vw - 48px));
  padding: 7px 10px;
  color: var(--navy);
  background: #e00022;
  border-radius: 4px;
  font-size: 12px;
  font-family: inherit;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 10px 24px rgba(132, 0, 20, .22);
}

.field-error::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 14px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 7px solid #e00022;
}

.contact-form .btn {
  width: max-content;
  margin-top: 2px;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}

.contact-list p {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 12px;
  color: var(--navy);
  background: var(--blue-pale);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-list svg {
  width: 36px;
  height: 36px;
  padding: 9px;
  color: var(--blue);
  background: #fff;
  border-radius: 8px;
}

.site-footer {
  color: #d7e7ff;
  background:
    radial-gradient(circle at 25% 0, rgba(18,104,243,.20), transparent 34%),
    linear-gradient(135deg, #061736 0%, #082653 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr 1.25fr;
  gap: 42px;
  padding: 52px 0;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text small {
  color: #fff;
}

.site-footer p {
  margin-bottom: 0;
  color: #c7d8f2;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.site-footer a:not(.brand) {
  display: block;
  margin-bottom: 7px;
  color: #c7d8f2;
}

.site-footer a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
}

.socials svg {
  width: 18px;
  height: 18px;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.copyright p {
  font-size: 14px;
}

.recaptcha-disclaimer {
  margin-top: 8px;
  max-width: 760px;
  color: #8B8B8B !important;
  font-size: 12px !important;
  line-height: 1.5;
}

.recaptcha-disclaimer a {
  display: inline !important;
  margin: 0 !important;
  color: #8B8B8B !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.grecaptcha-badge {
  visibility: hidden;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 1180px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-box {
    grid-column: 1 / -1;
  }

  .about-panel {
    grid-column: 1 / -1;
  }

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

  .benefit-box ul {
    grid-template-columns: 1fr;
  }

  .benefit-box li:last-child {
    grid-column: auto;
  }
}

@media (max-width: 940px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
    border-radius: 8px;
  }

  .main-nav a::after {
    display: none;
  }

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

  .hero-visual {
    min-height: 360px;
    justify-content: center;
  }

  .hero-visual img {
    width: min(100%, 680px);
    max-width: 100%;
    transform: none;
  }

  .services-grid,
  .projects-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid article:not(:last-child)::after {
    display: none;
  }

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

@media (max-width: 680px) {
  .section-first {
    padding: 48px 0 56px;
  }

  .section {
    padding: 78px 0 64px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-points {
    gap: 14px;
  }

  .services-grid,
  .projects-grid,
  .process-grid,
  .about-contact-grid,
  .about-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-card h3 {
    min-height: auto;
  }

  .form-row,
  .mini-stats {
    grid-template-columns: 1fr;
  }

  .contact-form .btn {
    width: 100%;
  }

  .contact-box {
    grid-column: auto;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    text-align: left;
  }
}


.consent-check {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--blue);
}

.consent-check.has-error input {
  outline: 2px solid #e00022;
  outline-offset: 2px;
}

.consent-check.has-error {
  margin-bottom: 38px;
}

.consent-check .field-error {
  left: 0;
  right: auto;
  top: calc(100% + 10px);
  transform: none;
  font-size: 13px;
  font-family: inherit;
  font-weight: 800;
  line-height: 1.25;
}

.consent-check .field-error::before {
  left: 7px;
  right: auto;
}

.consent-check a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.cookie-banner {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-panel {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 26px;
  color: var(--text);
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(6, 23, 54, .22);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.cookie-main h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.cookie-main p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
}

.cookie-options {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--blue-pale);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.cookie-options label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.cookie-options input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.cookie-options strong,
.cookie-options small {
  display: block;
}

.cookie-options small {
  margin-top: 2px;
  color: var(--muted);
}

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

.btn-ghost {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--blue-pale);
}

@media (max-width: 760px) {
  .cookie-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}


.form-alert {
  margin: 22px 0 20px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  font-weight: 750;
}

.form-alert-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.form-alert-ok {
  color: #0f5132;
  background: #dff5e8;
  border: 1px solid #b7e4c7;
}

.form-alert-ok .form-alert-icon {
  color: #198754;
}

.form-alert-error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f1aeb5;
}

.form-alert-error .form-alert-icon {
  color: #e00022;
}


/* FIX: cookie/consent */
button,
.btn,
.cookie-actions button,
.nav-toggle,
.consent-check input {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.consent-check > span:not(.field-error) {
  position: static !important;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.cookie-actions .btn {
  cursor: pointer;
  user-select: none;
}