:root {
  --bg: #f4f8ff;
  --bg-soft: #eef5ff;
  --panel: #ffffff;
  --text: #07152b;
  --muted: #5f7189;
  --line: #dbe7f6;
  --blue: #0f62fe;
  --blue-dark: #083ea7;
  --sky: #35b5f2;
  --navy: #071b3a;
  --orange: #ff7a2f;
  --green: #0f9f6e;
  --violet: #7b61ff;
  --shadow: 0 22px 60px rgba(15, 34, 68, 0.10);
  --shadow-soft: 0 12px 30px rgba(15, 34, 68, 0.07);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(53, 181, 242, 0.13), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #ffffff 100%);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: #f9fbff;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(15, 98, 254, 0.65);
  box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.10);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

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

.section {
  padding: 76px 0;
}

.section-soft {
  padding: 82px 0 72px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2,
.contact-copy h2,
.connection-card h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-head p,
.contact-copy p,
.connection-card p,
.final-cta p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 900;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 16px 28px rgba(15, 98, 254, 0.22);
}

.btn-secondary {
  color: var(--blue);
  background: #ffffff;
  border-color: rgba(15, 98, 254, 0.25);
}

.btn-light {
  color: var(--blue-dark);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(219, 231, 246, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  box-shadow: 0 14px 30px rgba(15, 98, 254, 0.18);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #203554;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

/* Hero */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy h1::after {
  content: "";
  display: block;
  width: 138px;
  height: 5px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--sky), var(--orange));
}

.hero-text {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: #314866;
  font-size: 14px;
  font-weight: 750;
}

.hero-points span::before {
  content: "✓";
  color: var(--blue);
  margin-right: 8px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 460px;
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(53, 181, 242, 0.16), transparent 36%),
    linear-gradient(135deg, #ffffff, #f5faff);
}

.orbit-bg,
.orbit-bg::before,
.orbit-bg::after {
  position: absolute;
  border: 1px dashed rgba(15, 98, 254, 0.18);
  border-radius: 50%;
}

.orbit-bg {
  inset: 38px;
}

.orbit-bg::before {
  content: "";
  inset: 54px;
}

.orbit-bg::after {
  content: "";
  inset: 112px;
}

.hub-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.main-hub {
  top: 50%;
  left: 50%;
  width: 148px;
  height: 148px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sky), #65cfff);
  color: #00152f;
  border: 8px solid rgba(255, 255, 255, 0.85);
}

.hub-logo {
  font-size: 24px;
  line-height: 0.9;
  font-weight: 600;
  transform: rotate(-4deg);
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  min-width: 176px;
}

.mini-card strong {
  display: block;
  font-size: 14px;
}

.mini-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.mini-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 950;
}

.blue { background: rgba(15, 98, 254, 0.10); color: var(--blue); }
.green { background: rgba(15, 159, 110, 0.12); color: var(--green); }
.orange { background: rgba(255, 122, 47, 0.12); color: var(--orange); }
.violet { background: rgba(123, 97, 255, 0.12); color: var(--violet); }

.card-site { top: 58px; left: 88px; }
.card-crm { top: 190px; left: 30px; }
.card-auto { top: 80px; right: 28px; }
.card-meta { top: 220px; right: 20px; }
.card-results { bottom: 46px; left: 175px; }

/* Cards */
.cards-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.product-card,
.method-grid article,
.why-grid div,
.contact-form,
.connection-card,
.connection-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.service-card {
  padding: 26px;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 25px;
  font-weight: 950;
}

.service-card h3,
.product-card h3,
.method-grid h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.service-card p,
.product-card p,
.method-grid p,
.why-grid p,
.flow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

/* Flow */
.flow-section {
  padding-top: 40px;
}

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.flow-step {
  min-height: 160px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.flow-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.flow-step strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.flow-arrow {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  padding: 22px;
  display: grid;
  gap: 18px;
}

.product-preview {
  height: 135px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4f8ff, #ffffff);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-content: start;
}

.product-preview span {
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.product-preview div {
  grid-column: 1 / -1;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(15, 98, 254, 0.10), rgba(53, 181, 242, 0.08));
}

/* Connection */
.connection-section {
  padding-top: 40px;
}

.connection-card {
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(135deg, #ffffff, #f4faff);
}

.connection-box {
  padding: 22px;
  background: #fff;
}

.connection-box strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

/* Method */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.method-grid article {
  padding: 24px;
}

.method-grid span {
  display: inline-flex;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 12px;
}

/* Why */
.why-section {
  padding-top: 30px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-grid div {
  padding: 22px;
}

.why-grid strong {
  font-size: 19px;
}

/* Contact */
.contact-section {
  background:
    linear-gradient(180deg, rgba(238, 245, 255, 0.4), rgba(255, 255, 255, 0.8));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.contact-note {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.contact-note ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-form {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #203554;
  font-size: 13px;
  font-weight: 850;
}

.span-full,
.form-status,
.form-privacy {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.form-status.ok {
  color: var(--green);
}

.form-status.bad {
  color: #dc2626;
}

.form-privacy {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* CTA and footer */
.final-cta {
  padding: 34px 0;
}

.final-cta-inner {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: var(--shadow);
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta h2 {
  font-size: clamp(27px, 4vw, 42px);
}

.final-cta p {
  margin: 8px 0 0;
  opacity: 0.92;
}

.site-footer {
  margin-top: 26px;
  padding: 54px 0 24px;
  color: #dbeafe;
  background:
    radial-gradient(circle at 15% 0%, rgba(53, 181, 242, 0.18), transparent 26%),
    var(--navy);
  border-radius: 34px 34px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 26px;
  font-weight: 950;
}

.site-footer p {
  margin: 0;
  color: #a9bdd8;
  line-height: 1.6;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: #cbdaf0;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #92a9c8;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: flex;
  }

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

  .site-nav a:hover {
    background: var(--bg-soft);
  }

  .hero-grid,
  .connection-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .services-grid,
  .product-grid,
  .method-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .section,
  .section-soft {
    padding: 52px 0;
  }

  .brand-text small {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

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

  .main-hub {
    width: 126px;
    height: 126px;
  }

  .mini-card {
    min-width: 148px;
    padding: 10px;
  }

  .card-site { top: 28px; left: 18px; }
  .card-crm { top: 142px; left: 12px; }
  .card-auto { top: 58px; right: 8px; }
  .card-meta { top: 270px; right: 8px; }
  .card-results { bottom: 18px; left: 58px; }

  .services-grid,
  .product-grid,
  .method-grid,
  .why-grid,
  .footer-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .final-cta-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Internal pages */
.page-hero {
  padding: 82px 0 54px;
  background:
    radial-gradient(circle at 12% 0%, rgba(53, 181, 242, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff, #f4f8ff);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.74fr);
  gap: 38px;
  align-items: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.page-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.page-visual {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 60% 30%, rgba(15, 98, 254, 0.12), transparent 28%),
    #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.page-visual-card {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.page-visual-card strong {
  color: var(--navy);
}

.page-visual-card span {
  color: var(--blue);
  font-weight: 950;
}

.text-panel {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.text-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.list-check {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 30px;
  color: #30435d;
  line-height: 1.55;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 950;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.detail-card h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.detail-card p {
  color: var(--muted);
  line-height: 1.6;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.work-thumb {
  min-height: 190px;
  padding: 18px;
  background: linear-gradient(135deg, #f4f8ff, #ffffff);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.work-mini-bar {
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  width: 46%;
}

.work-mini-ui {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 10px;
}

.work-mini-ui span,
.work-mini-ui div {
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.work-card-content {
  padding: 22px;
}

.work-card-content h3 {
  margin: 0 0 8px;
}

.work-card-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
  gap: 26px;
  align-items: start;
}

.contact-options {
  display: grid;
  gap: 14px;
}

.contact-option {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-option strong {
  display: block;
  margin-bottom: 6px;
}

.contact-option p,
.contact-option a {
  color: var(--muted);
  line-height: 1.55;
}

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

.faq-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.faq-card strong {
  display: block;
  margin-bottom: 8px;
}

.faq-card p {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .page-hero-grid,
  .split-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .detail-grid,
  .work-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 58px 0 38px;
  }
}
