:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #647084;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --line: #e5e9f2;
  --blue: #2754d8;
  --blue-dark: #142d79;
  --cyan: #00a6c8;
  --green: #08a66c;
  --rose: #e5497f;
  --shadow: 0 18px 50px rgba(24, 32, 51, 0.12);
  --header-bg: rgba(255, 255, 255, 0.92);
  --panel: #ffffff;
  --panel-soft: rgba(255, 255, 255, 0.68);
  --hero-bg:
    linear-gradient(120deg, rgba(39, 84, 216, 0.1), rgba(0, 166, 200, 0.09) 45%, rgba(229, 73, 127, 0.08)),
    #ffffff;
  --text-soft: #4c586f;
  --nav-text: #344057;
  --icon-bg: #eef4ff;
  --tile-bg: #f8fbff;
  --image-bg: #edf1f7;
  --badge-bg: #172033;
  --badge-ink: #ffffff;
  --product-bg: #172033;
  --radius: 8px;
  --max: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef4ff;
  --muted: #a9b7d0;
  --paper: #0b1020;
  --soft: #111a2e;
  --line: #26334d;
  --blue: #7ea2ff;
  --blue-dark: #4f78f4;
  --cyan: #36d7f3;
  --green: #34d399;
  --rose: #fb7185;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  --header-bg: rgba(11, 16, 32, 0.9);
  --panel: #151f35;
  --panel-soft: rgba(21, 31, 53, 0.78);
  --hero-bg:
    linear-gradient(120deg, rgba(126, 162, 255, 0.17), rgba(54, 215, 243, 0.11) 45%, rgba(251, 113, 133, 0.11)),
    #0b1020;
  --text-soft: #c1cbe0;
  --nav-text: #d9e3f5;
  --icon-bg: rgba(126, 162, 255, 0.14);
  --tile-bg: #121c31;
  --image-bg: #1d2940;
  --badge-bg: #7ea2ff;
  --badge-ink: #071021;
  --product-bg: #111827;
}

* {
  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.6;
}

img {
  display: block;
  max-width: 100%;
}

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

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

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

.section {
  padding: 92px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  max-width: 780px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.lead {
  max-width: 690px;
  color: var(--text-soft);
  font-size: 19px;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}

.brand img {
  width: 100px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--nav-text);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 84, 216, 0.34);
}

.theme-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(39, 84, 216, 0.28);
  outline-offset: 3px;
}

.theme-toggle svg {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-toggle .moon-icon,
:root[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 0;
  transform: scale(0.7) rotate(-20deg);
}

:root[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  top: 20px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.nav-toggle::before {
  position: absolute;
  left: 12px;
  top: 14px;
}

.nav-toggle::after {
  position: absolute;
  left: 12px;
  top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(39, 84, 216, 0.24);
  background: var(--blue-dark);
}

.btn.secondary {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

.btn.secondary:hover {
  background: var(--soft);
  box-shadow: none;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero {
  padding: 98px 0 64px;
}

.page-hero {
  padding: 88px 0 70px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.72fr);
  gap: 54px;
  align-items: center;
}

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

.hero-panel,
.media-panel {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.hero-panel img,
.media-panel img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-icon-visual {
  display: grid;
  min-height: 470px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-icon-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at 32% 28%, rgba(39, 84, 216, 0.16), transparent 30%),
    radial-gradient(circle at 72% 70%, rgba(0, 166, 200, 0.14), transparent 32%),
    linear-gradient(90deg, rgba(39, 84, 216, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 166, 200, 0.08) 1px, transparent 1px);
  background-size: auto, auto, 38px 38px, 38px 38px;
}

.hero-main-icon {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(260px, 68%);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(39, 84, 216, 0.2);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: 0 22px 58px rgba(39, 84, 216, 0.18);
}

.hero-main-icon svg {
  width: 64%;
  height: 64%;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-orbit {
  position: absolute;
  inset: 60px;
  z-index: 1;
  border: 1px solid rgba(39, 84, 216, 0.16);
  border-radius: 50%;
}

.hero-orbit span {
  position: absolute;
  overflow: hidden;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(0, 166, 200, 0.11);
  color: transparent;
  font-size: 0;
}

.hero-orbit span:nth-child(1) {
  left: 18%;
  top: 5%;
}

.hero-orbit span:nth-child(2) {
  right: 2%;
  top: 46%;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(39, 84, 216, 0.12);
}

.hero-orbit span:nth-child(3) {
  left: 40%;
  bottom: -6px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(8, 166, 108, 0.12);
}

.hero-float-icon {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 82px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 16px 36px rgba(24, 32, 51, 0.12);
}

.hero-float-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-ai {
  left: 12%;
  top: 18%;
  color: var(--blue);
}

.float-app {
  right: 13%;
  top: 20%;
  color: var(--cyan);
}

.float-flow {
  left: 15%;
  bottom: 24%;
  color: var(--green);
}

.float-brand {
  right: 17%;
  bottom: 17%;
  color: var(--rose);
}

.hero-card {
  position: absolute;
  left: -24px;
  bottom: 34px;
  max-width: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(24, 32, 51, 0.16);
}

.hero-card strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.stats,
.service-grid,
.work-grid,
.why-grid,
.contact-grid,
.project-meta {
  display: grid;
  gap: 22px;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.stat,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.stat {
  padding: 20px;
  background: var(--panel-soft);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.service-grid,
.work-grid,
.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(39, 84, 216, 0.34);
  box-shadow: 0 16px 38px rgba(24, 32, 51, 0.1);
}

.service-card,
.info-card {
  padding: 26px;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--icon-bg);
}

.service-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:nth-child(3n + 2) .service-icon svg {
  stroke: var(--cyan);
}

.service-card:nth-child(3n) .service-icon svg {
  stroke: var(--green);
}

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

.step {
  padding: 24px;
  border-left: 3px solid var(--blue);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(24, 32, 51, 0.07);
}

.step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--badge-ink);
  font-weight: 900;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.about-media {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 16px;
  align-items: end;
}

.about-media img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(24, 32, 51, 0.12);
}

.about-media img:first-child {
  margin-bottom: 52px;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-soft);
  font-weight: 650;
}

.check-list li::before {
  content: "OK";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 166, 108, 0.13);
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}

.work-card img,
.project-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--image-bg);
}

.work-icon {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 190px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(39, 84, 216, 0.12), rgba(0, 166, 200, 0.1)),
    var(--tile-bg);
}

.work-icon svg {
  width: 82px;
  height: 82px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-card:nth-child(3n + 2) .work-icon svg {
  stroke: var(--cyan);
}

.work-card:nth-child(3n) .work-icon svg {
  stroke: var(--green);
}

.work-card .body {
  padding: 20px;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stack-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--nav-text);
  font-weight: 800;
}

.stack-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.product,
.cta {
  border-radius: 18px;
  color: #fff;
}

.ai-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 34px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(39, 84, 216, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(39, 84, 216, 0.1), rgba(0, 166, 200, 0.1)),
    var(--panel);
  box-shadow: 0 18px 50px rgba(24, 32, 51, 0.09);
}

.ai-highlight p {
  max-width: 680px;
  color: var(--text-soft);
  font-size: 18px;
}

.ai-highlight .product-points span {
  border-color: rgba(39, 84, 216, 0.18);
  background: var(--panel-soft);
  color: var(--ink);
}

.ai-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(39, 84, 216, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 166, 200, 0.08) 1px, transparent 1px),
    var(--tile-bg);
  background-size: 36px 36px;
  overflow: hidden;
}

.ai-core {
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  border: 1px solid rgba(39, 84, 216, 0.2);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(39, 84, 216, 0.16);
}

.ai-core svg {
  width: 82px;
  height: 82px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-chip {
  position: absolute;
  min-width: 68px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 28px rgba(24, 32, 51, 0.1);
}

.chip-one {
  left: 12%;
  top: 20%;
}

.chip-two {
  right: 12%;
  top: 28%;
}

.chip-three {
  right: 24%;
  bottom: 18%;
}

.chip-four {
  left: 16%;
  bottom: 24%;
}

.chip-five {
  right: 10%;
  bottom: 38%;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 34px;
  align-items: center;
  padding: 42px;
  background: var(--product-bg);
  overflow: hidden;
}

.product h2,
.product p,
.product .eyebrow,
.cta h2,
.cta p,
.cta .eyebrow {
  color: #fff;
}

.product p {
  color: rgba(255, 255, 255, 0.72);
}

.product-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.product-points span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.product-visual {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(39, 84, 216, 0.32), rgba(0, 166, 200, 0.18));
}

.product-visual img {
  width: min(220px, 76%);
}

.clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.client-logo {
  display: grid;
  place-items: center;
  min-height: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.client-logo img {
  max-height: 46px;
  object-fit: contain;
}

.cta {
  padding: 58px;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta .btn {
  background: #fff;
  color: var(--blue-dark);
}

.project-meta {
  grid-template-columns: repeat(3, 1fr);
}

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

.project-gallery img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--image-bg);
}

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

.network-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.network-card .body {
  padding: 22px;
}

.network-icon-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.network-icon {
  display: grid;
  place-items: center;
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(39, 84, 216, 0.12), rgba(0, 166, 200, 0.12)),
    var(--tile-bg);
  border-bottom: 1px solid var(--line);
}

.network-icon svg {
  width: 78px;
  height: 78px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.network-icon-card:nth-child(3n + 2) .network-icon svg {
  stroke: var(--cyan);
}

.network-icon-card:nth-child(3n) .network-icon svg {
  stroke: var(--green);
}

.network-hero-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.network-hero-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(280px, 74%);
  aspect-ratio: 1;
  border: 1px solid rgba(39, 84, 216, 0.18);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 18px 52px rgba(24, 32, 51, 0.14);
}

.network-hero-icon svg {
  width: 62%;
  height: 62%;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.network-hero-lines {
  position: absolute;
  inset: 18px;
  z-index: 1;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(39, 84, 216, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 166, 200, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.network-hero-lines span {
  position: absolute;
  overflow: hidden;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(0, 166, 200, 0.11);
  color: transparent;
  font-size: 0;
}

.network-hero-lines span:nth-child(1) {
  left: 18%;
  top: 22%;
}

.network-hero-lines span:nth-child(2) {
  right: 16%;
  top: 30%;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(39, 84, 216, 0.12);
}

.network-hero-lines span:nth-child(3) {
  left: 22%;
  bottom: 20%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(8, 166, 108, 0.12);
}

.network-hero-lines span:nth-child(4) {
  right: 24%;
  bottom: 18%;
}

.contact-hero-visual {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.contact-hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(39, 84, 216, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 166, 200, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
}

.contact-hero-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(260px, 70%);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(39, 84, 216, 0.2);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 18px 52px rgba(24, 32, 51, 0.14);
}

.contact-hero-icon svg {
  width: 62%;
  height: 62%;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-hero-chip {
  position: absolute;
  z-index: 3;
  min-width: 74px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 28px rgba(24, 32, 51, 0.1);
}

.chip-call {
  left: 12%;
  top: 22%;
}

.chip-mail {
  right: 10%;
  top: 32%;
}

.chip-plan {
  left: 18%;
  bottom: 22%;
}

.contact-hero-lines span {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(0, 166, 200, 0.11);
  color: transparent;
  font-size: 0;
}

.contact-hero-lines span:nth-child(1) {
  left: 20%;
  top: 18%;
}

.contact-hero-lines span:nth-child(2) {
  right: 20%;
  top: 20%;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(39, 84, 216, 0.12);
}

.contact-hero-lines span:nth-child(3) {
  right: 18%;
  bottom: 20%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(8, 166, 108, 0.12);
}

.contact-hero-lines span:nth-child(4) {
  left: 28%;
  bottom: 16%;
}

.contact-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--nav-text);
  font-weight: 800;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: var(--panel);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  padding: 64px 0 28px;
  background: #111827;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.8fr;
  gap: 34px;
  padding-bottom: 38px;
}

.footer-logo {
  width: 168px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

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

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.32);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

  .section-head,
  .hero-grid,
  .split-grid,
  .about-grid,
  .ai-highlight,
  .product,
  .cta-row,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-panel img,
  .media-panel img {
    min-height: 320px;
  }

  .hero-icon-visual {
    min-height: 390px;
  }

  .service-grid,
  .work-grid,
  .why-grid,
  .process,
  .network-grid,
  .project-gallery,
  .project-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

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

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

  .hero-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-icon-visual {
    min-height: 360px;
  }

  .hero-orbit {
    inset: 46px;
  }

  .hero-main-icon {
    width: min(210px, 64%);
  }

  .hero-float-icon {
    width: 64px;
    border-radius: 16px;
  }

  .hero-float-icon svg {
    width: 38px;
    height: 38px;
  }

  .stats,
  .service-grid,
  .work-grid,
  .why-grid,
  .process,
  .clients,
  .network-grid,
  .project-gallery,
  .project-meta,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .about-media img:first-child {
    margin-bottom: 0;
  }

  .product,
  .ai-highlight,
  .cta {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
