:root {
  --ink: #031327;
  --muted: #607086;
  --line: #dbe3ee;
  --paper: #f7f9fc;
  --white: #ffffff;
  --navy: #071f43;
  --navy-soft: #12356b;
  --blue: #0877f2;
  --blue-strong: #075fc0;
  --cyan: #61ccff;
  --green: #30a46c;
  --shadow: 0 22px 70px rgba(3, 19, 39, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 249, 252, 0.94);
  border-bottom: 1px solid rgba(219, 227, 238, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(3, 19, 39, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

nav a {
  padding: 9px 11px;
  color: #253246;
  font-size: 0.95rem;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta,
.button,
.social-cta,
.footer-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(11, 116, 216, 0.26);
}

.button.secondary {
  color: #11233a;
  background: var(--white);
  border: 1px solid var(--line);
}

.social-cta {
  color: #11233a;
  background: var(--white);
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px) 42px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 252, 0.82)),
    radial-gradient(circle at 82% 16%, rgba(97, 204, 255, 0.22), transparent 30%),
    radial-gradient(circle at 24% 88%, rgba(8, 119, 242, 0.1), transparent 28%),
    linear-gradient(180deg, #f7f9fc, #eef4fb);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 820px;
  font-size: clamp(1.95rem, 4.8vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3.2vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

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

.trust-row {
  color: #334258;
  font-size: 0.94rem;
}

.trust-row span {
  padding: 8px 0;
  border-bottom: 2px solid rgba(8, 119, 242, 0.22);
}

.hero-visual {
  min-height: 520px;
}

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 44%, rgba(97, 204, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(7, 31, 67, 0.98), rgba(3, 19, 39, 0.98));
  box-shadow: var(--shadow);
}

.logo-stage::before,
.logo-stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(97, 204, 255, 0.22);
  border-radius: 50%;
}

.logo-stage::before {
  width: min(78%, 420px);
  aspect-ratio: 1;
}

.logo-stage::after {
  width: min(94%, 520px);
  aspect-ratio: 1;
  opacity: 0.45;
}

.logo-stage img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(64%, 330px);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.circuit-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(97, 204, 255, 0.42), transparent);
}

.circuit-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(97, 204, 255, 0.58);
  border-radius: 50%;
  background: var(--navy);
}

.circuit-line.one {
  top: 86px;
  right: 42px;
  width: 42%;
  transform: rotate(-28deg);
}

.circuit-line.two {
  left: 34px;
  bottom: 118px;
  width: 48%;
  transform: rotate(-38deg);
}

.circuit-line.three {
  right: 58px;
  bottom: 92px;
  width: 32%;
}

.hero-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 16px;
  color: #d8e6f4;
  font-weight: 750;
}

.hero-note strong {
  color: var(--white);
}

.intro-band,
.services-section,
.web-project-section,
.pricing-section,
.offers-section,
.contact-section,
.legal-section,
.legal-page {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.intro-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background: var(--navy);
}

.intro-band div {
  max-width: 900px;
}

.intro-band p {
  color: #c8d3e1;
  font-size: 1.08rem;
}

.text-link {
  flex: 0 0 auto;
  color: var(--cyan);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 32px;
}

.section-heading p,
.pricing-note,
.contact-section p {
  color: var(--muted);
}

.service-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.service-items {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-items article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: clamp(14px, 3vw, 26px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(8, 119, 242, 0.2);
  border-radius: 8px;
  color: var(--blue);
  background: #eef7ff;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-items h3 {
  margin-bottom: 7px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.service-items p {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
}

.web-project-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.7fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: #edf4fb;
}

.web-project-copy p {
  color: var(--muted);
}

.web-project-panel {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(8, 119, 242, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(3, 19, 39, 0.08);
}

.web-project-panel strong {
  display: block;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.web-project-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.web-project-panel li {
  position: relative;
  padding-left: 22px;
  color: #24344c;
}

.web-project-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 2px;
  background: var(--blue);
}

.web-project-panel a {
  color: var(--blue-strong);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.service-summary {
  position: sticky;
  top: 100px;
  padding: 26px;
  border: 1px solid rgba(8, 119, 242, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  box-shadow: 0 18px 50px rgba(3, 19, 39, 0.08);
}

.service-summary strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-summary p {
  color: var(--muted);
}

.service-summary > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.remote-links {
  display: grid;
  gap: 8px;
  margin: 18px 0 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.remote-links span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.remote-links a {
  color: var(--blue-strong);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.pricing-grid article,
.offer-card {
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(26, 45, 72, 0.05);
}

.pricing-grid p,
.offer-card p {
  color: var(--muted);
}

.pricing-section {
  background: var(--white);
}

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

.pricing-grid article {
  background: #f7f9fc;
}

.pricing-grid strong,
.pricing-grid span {
  display: block;
}

.pricing-grid span {
  margin: 12px 0;
  color: var(--blue-strong);
  font-size: 1.55rem;
  font-weight: 850;
}

.pricing-note {
  max-width: 860px;
  margin-top: 22px;
}

.offers-section {
  background: var(--navy);
}

.offers-section h2,
.offers-section h3 {
  color: var(--white);
}

.offers-section .section-heading p,
.offer-card p {
  color: #c8d3e1;
}

.offer-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.offer-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--cyan);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.contact-section {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(97, 204, 255, 0.16), transparent 30%),
    linear-gradient(135deg, var(--navy), #031327);
}

.contact-section p {
  color: #c8d3e1;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.16);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #eaf4ff;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .full,
.contact-form button,
.contact-form p {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
}

.contact-form select {
  padding-right: 8px;
  text-overflow: ellipsis;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.contact-form p {
  margin: 0;
  color: #c8d3e1;
  font-size: 0.9rem;
}

.contact-status {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.contact-status.is-success,
.contact-status.is-error {
  display: block;
}

.contact-status.is-success {
  color: #0b3b24;
  background: #dff7e9;
}

.contact-status.is-error {
  color: #5b1b1b;
  background: #ffe4e4;
}

.legal-section,
.legal-page {
  background: var(--white);
}

.legal-page {
  min-height: calc(100vh - 220px);
}

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

.legal-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
}

.legal-grid h3 {
  font-size: 1.04rem;
}

.legal-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(360px, 1fr) auto;
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #031327;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand small,
.footer-details span {
  color: #b9c7d8;
}

.footer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.footer-details a,
.footer-details span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #eaf4ff;
  font-weight: 750;
  text-decoration: none;
}

.footer-details span[aria-hidden="true"] {
  color: #536172;
  font-weight: 500;
}

.footer-facebook {
  color: var(--white);
  background: var(--blue);
  text-decoration: none;
}

.help-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(320px, calc(100vw - 88px));
  padding: 18px 44px 18px 18px;
  border: 1px solid rgba(8, 119, 242, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 52px rgba(3, 19, 39, 0.18);
  backdrop-filter: blur(14px);
}

.help-widget[hidden] {
  display: none;
}

.help-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.help-widget strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.02rem;
}

.help-widget p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.help-widget div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.help-widget a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.help-widget .messenger-link {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.help-widget .phone-link {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.back-to-top {
  position: fixed;
  right: 18px;
  top: 72%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 38px rgba(3, 19, 39, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

.back-to-top svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .header-actions {
    margin-left: auto;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .web-project-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .logo-stage {
    min-height: 430px;
  }

  .service-list,
  .pricing-grid,
  .offer-list,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .service-summary {
    position: static;
  }

  .intro-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 660px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

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

  .header-cta {
    display: none;
  }

  .social-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  nav a {
    padding-inline: 4px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  nav {
    justify-content: space-between;
    gap: 4px;
  }

  h1 {
    font-size: clamp(1.9rem, 9.6vw, 2.8rem);
  }

  .hero {
    padding-top: 36px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual,
  .logo-stage {
    min-height: 360px;
  }

  .logo-stage img {
    width: min(70%, 250px);
    border-radius: 28px;
  }

  .hero-note {
    gap: 10px;
    font-size: 0.9rem;
  }

  .service-list,
  .pricing-grid,
  .offer-list {
    grid-template-columns: 1fr;
  }

  .service-items article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

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

  .help-widget {
    right: 14px;
    bottom: 14px;
    width: min(300px, calc(100vw - 28px));
    padding: 14px 40px 14px 14px;
  }

  .help-widget p {
    display: none;
  }

  .back-to-top {
    right: 10px;
    top: 70%;
    bottom: auto;
    width: 58px;
    height: 58px;
  }
}
