:root {
  --header-height: 88px;
  --orange: #f97316;
  --orange-soft: #fb923c;
  --orange-pale: #fff3e8;
  --navy: #10233f;
  --ink: #061936;
  --cyan: #18a8c8;
  --text: #4b5f77;
  --paper: #fffdfc;
  --line: #edf0f4;
  --shadow: 0 18px 50px rgba(16, 35, 63, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: rgba(255, 253, 252, 0.94);
  border-bottom: 1px solid rgba(237, 240, 244, 0.9);
  backdrop-filter: blur(18px);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

.brand img {
  width: 260px;
  height: auto;
  display: block;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::before {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(90deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--navy);
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transition: width 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-bottom: 1px solid #f4eee8;
  background:
    linear-gradient(115deg, #fffdfc 0%, #fffdfc 39%, #fff4e9 74%, #fff8f2 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero::before {
  background-image:
    linear-gradient(rgba(16, 35, 63, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 63, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.68), transparent 72%);
  opacity: 0.58;
  animation: gridDrift 18s linear infinite;
}

.hero::after {
  top: 88px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 168, 200, 0.52), rgba(249, 115, 22, 0.5), transparent);
  opacity: 0.78;
  animation: scanLine 5.8s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  min-height: 500px;
  align-items: center;
  gap: 46px;
  padding: 54px 0 42px;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 3.4vw, 3.1rem);
  line-height: 1.07;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 18px;
  color: #314b6d;
  font-size: 1.18rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 590px;
  margin-bottom: 26px;
  padding: 12px 16px;
  border: 1px solid rgba(249, 115, 22, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 252, 0.82);
  box-shadow: 0 12px 34px rgba(16, 35, 63, 0.06);
}

.hero-proof span {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-proof p {
  margin-bottom: 0;
  color: #314b6d;
  font-size: 0.96rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), #ff4f1c);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.28);
}

.button.secondary {
  border-color: rgba(249, 115, 22, 0.7);
  background: #fff;
  color: var(--orange);
  box-shadow: none;
}

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

.wave-field {
  position: absolute;
  inset: -30px -80px -84px -42px;
  z-index: 1;
  opacity: 0.9;
}

.wave-field svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tech-system {
  position: relative;
  z-index: 3;
  width: min(590px, 100%);
  aspect-ratio: 1.44;
  animation: floatIn 700ms ease both;
}

.tech-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(16, 35, 63, 0.08));
}

.line,
.flow-line path {
  fill: none;
  stroke: rgba(24, 168, 200, 0.6);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 13;
  animation: dashFlow 15s linear infinite;
}

.line-a,
.line-d {
  stroke: rgba(249, 115, 22, 0.72);
}

.packet {
  fill: var(--orange);
  filter: drop-shadow(0 0 9px rgba(249, 115, 22, 0.5));
}

.packet-a {
  offset-path: path("M119 110 C205 58 279 90 310 199");
  animation: packetMove 5.6s ease-in-out infinite;
}

.packet-b {
  fill: var(--cyan);
  offset-path: path("M501 108 C414 63 337 91 310 199");
  animation: packetMove 6.2s ease-in-out 900ms infinite;
}

.packet-c {
  offset-path: path("M88 314 C174 264 239 286 310 226");
  animation: packetMove 6s ease-in-out 1500ms infinite;
}

.tech-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 250px;
  min-height: 132px;
  place-items: center;
  padding: 20px 22px 16px;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 252, 0.94);
  box-shadow: 0 24px 60px rgba(16, 35, 63, 0.14);
  transform: translate(-50%, -50%);
}

.tech-core::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(249, 115, 22, 0.16);
  border-radius: 6px;
  content: "";
}

.tech-core img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 205px;
  height: auto;
  display: block;
}

.tech-core span {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-node {
  position: absolute;
  display: grid;
  min-width: 138px;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 35, 63, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  box-shadow: 0 16px 38px rgba(16, 35, 63, 0.1);
  animation: nodePulse 4.8s ease-in-out infinite;
}

.tech-node::before {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.12);
  content: "";
  transform: translateY(-50%);
}

.tech-node strong {
  font-size: 0.92rem;
  line-height: 1;
}

.tech-node span {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

.node-data {
  left: 0;
  top: 17%;
}

.node-ai {
  right: 0;
  top: 16%;
  animation-delay: 500ms;
}

.node-api {
  left: 2%;
  bottom: 20%;
  animation-delay: 900ms;
}

.node-cloud {
  right: 0;
  bottom: 20%;
  animation-delay: 1300ms;
}

.node-app {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  animation-delay: 1700ms;
}

.node-app::before {
  left: 50%;
  top: -5px;
  transform: translateX(-50%);
}

.services {
  padding: 34px 0 28px;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  position: relative;
  min-height: 185px;
  padding: 0 30px;
  text-align: center;
  transition: transform 180ms ease, color 180ms ease;
}

.service-card::before {
  position: absolute;
  top: -34px;
  left: 50%;
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, transparent, rgba(249, 115, 22, 0.72));
  content: "";
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 180ms ease, height 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card:hover::before {
  height: 34px;
  opacity: 1;
}

.service-card + .service-card {
  border-left: 1px solid #e4e9f0;
}

.service-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  color: var(--orange);
  transition: transform 180ms ease, color 180ms ease;
}

.service-card:hover .service-icon {
  color: var(--cyan);
  transform: translateY(-3px);
}

.service-card h2 {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.service-card p {
  margin-bottom: 0;
  color: #314b6d;
}

.architecture-section {
  position: relative;
  overflow: hidden;
  padding: 54px 0 30px;
  background:
    linear-gradient(180deg, #fff 0%, #fffdfc 100%);
}

.architecture-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(16, 35, 63, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 63, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.8;
  content: "";
}

.architecture-layout {
  position: relative;
  z-index: 1;
}

.architecture-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.flow-line {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 30px;
  z-index: 0;
  width: 90%;
  height: 84px;
}

.architecture-flow article {
  position: relative;
  z-index: 1;
  min-height: 190px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(16, 35, 63, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.architecture-flow article:hover {
  border-color: rgba(249, 115, 22, 0.28);
  box-shadow: 0 24px 54px rgba(16, 35, 63, 0.1);
  transform: translateY(-4px);
}

.architecture-flow article span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: 8px;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
}

.architecture-flow h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.architecture-flow p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.92rem;
}

.ai-first {
  padding: 26px 0 18px;
  background: linear-gradient(180deg, #fff, #fffdfc);
}

.ai-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 44px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(249, 115, 22, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 243, 232, 0.72), rgba(255, 255, 255, 0.92) 48%, rgba(237, 240, 244, 0.42)),
    #fff;
  box-shadow: var(--shadow);
}

.ai-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  line-height: 1.1;
}

.ai-copy p {
  margin-bottom: 18px;
  color: #314b6d;
  font-size: 1.06rem;
}

.ai-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-points span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.telco-section {
  position: relative;
  overflow: hidden;
  padding: 48px 0 34px;
  background:
    linear-gradient(180deg, #fffdfc 0%, #fff 100%);
}

.telco-section::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(24, 168, 200, 0.1), transparent 28%),
    linear-gradient(rgba(16, 35, 63, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 63, 0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  content: "";
}

.telco-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.telco-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.telco-copy p {
  color: #314b6d;
  font-size: 1.04rem;
}

.telco-capabilities {
  display: grid;
  gap: 14px;
}

.telco-capabilities article {
  padding: 18px 20px;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 38px rgba(16, 35, 63, 0.07);
}

.telco-capabilities span {
  display: block;
  margin-bottom: 7px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telco-capabilities h3 {
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.telco-capabilities p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.94rem;
}

.telco-stack {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 2px;
}

.telco-stack span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(24, 168, 200, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 780;
}

.projects-section {
  position: relative;
  overflow: hidden;
  padding: 58px 0 44px;
  background:
    linear-gradient(180deg, #fffdfc 0%, #fff 62%, #fffdfc 100%);
}

.projects-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(16, 35, 63, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 63, 0.026) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.projects-section .shell {
  position: relative;
  z-index: 1;
}

.projects-heading {
  margin-bottom: 34px;
}

.project-category {
  margin-top: 32px;
}

.category-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.category-heading span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: 8px;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

.category-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

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

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

.project-card,
.process-card,
.social-card {
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(16, 35, 63, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover,
.process-card:hover,
.social-card:hover {
  border-color: rgba(249, 115, 22, 0.26);
  box-shadow: 0 24px 56px rgba(16, 35, 63, 0.11);
  transform: translateY(-3px);
}

.project-card {
  overflow: hidden;
}

.project-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
  background: #f6f8fb;
}

.project-card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.project-type,
.process-card span {
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card h4,
.process-card h4,
.social-card h4 {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.project-card p,
.process-card p,
.social-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.92rem;
}

.project-card a,
.process-card a {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 850;
}

.project-card a:hover,
.process-card a:hover {
  color: var(--orange);
}

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

.process-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.process-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 8px;
  background: #f6f8fb;
}

.process-card div,
.social-card div {
  display: grid;
  gap: 7px;
}

.social-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 16px;
}

.social-card img {
  width: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 8px;
}

.social-card .button {
  width: fit-content;
  min-height: 44px;
  padding: 0 20px;
}

.purpose {
  padding: 10px 0 36px;
}

.purpose-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(237, 240, 244, 0.8);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 243, 232, 0.45)),
    #fff;
  box-shadow: var(--shadow);
}

.purpose-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.purpose-text {
  padding-left: 34px;
  border-left: 1px solid #b9c5d3;
  color: #314b6d;
  font-size: 1.04rem;
}

.purpose-text p {
  margin-bottom: 0;
}

.estimator-section {
  padding: 24px 0 44px;
  background:
    linear-gradient(180deg, #fffdfc 0%, #fff 100%);
}

.estimator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.estimator-section.is-open .estimator-layout {
  grid-template-columns: minmax(0, 1fr);
}

.estimator-copy {
  max-width: 760px;
}

.estimator-section.is-open .estimator-copy {
  position: static;
}

.estimator-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 1.75vw, 1.65rem);
  font-weight: 750;
  line-height: 1.18;
}

.estimator-copy > p,
.token-note p {
  color: var(--text);
  font-size: 0.92rem;
}

.token-note {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 8px;
  background: rgba(255, 243, 232, 0.58);
}

.token-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.token-note p {
  margin-bottom: 0;
}

.estimator-toggle {
  margin-top: 18px;
}

.estimate-form,
.contact-form {
  display: grid;
  gap: 14px;
}

.estimate-form[hidden] {
  display: none;
}

.estimate-form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: floatIn 360ms ease both;
}

@media (min-width: 921px) {
  .estimator-section.is-open .estimator-layout {
    grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.45fr);
  }

  .estimator-section.is-open .estimator-copy {
    position: sticky;
    top: calc(var(--header-height) + 28px);
  }
}

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

label,
fieldset {
  min-width: 0;
}

.estimate-form label,
.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 620;
}

input,
select,
textarea {
  width: 100%;
  min-height: 39px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #fffdfc;
  color: var(--navy);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 10px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(249, 115, 22, 0.78);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
}

legend {
  padding: 0 6px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 680;
}

fieldset label,
.privacy-check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}

fieldset label.is-hidden {
  display: none !important;
}

fieldset input,
.privacy-check input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
  accent-color: var(--orange);
}

.optional-label {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 500;
}

.privacy-check a {
  color: var(--orange);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.estimate-result div {
  padding: 10px 11px;
  border: 1px solid rgba(249, 115, 22, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, rgba(255, 243, 232, 0.62));
}

.estimate-result span {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 750;
}

.estimate-result strong {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 740;
}

.hidden-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.form-status.success {
  color: #0f8a55;
}

.form-status.error {
  color: #b42318;
}

.about-contact {
  padding: 42px 0 54px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.08;
}

.section-heading p {
  color: var(--text);
  font-size: 1.08rem;
}

.about-heading {
  max-width: 1040px;
}

.about-specialties {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.about-specialties article {
  padding: 16px 18px;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff, rgba(255, 243, 232, 0.38));
}

.about-specialties span {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-specialties strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-box {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

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

.contact-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.contact-message,
.contact-privacy,
.contact-submit,
.contact-form .form-status {
  grid-column: 1 / -1;
}

.contact-submit {
  justify-self: start;
}

.contact-box p {
  color: var(--text);
}

.legal-page {
  padding: 62px 0;
}

.legal-layout {
  max-width: 860px;
}

.legal-layout h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.legal-layout h2 {
  margin-top: 34px;
  font-size: 1.25rem;
}

.legal-layout p,
.legal-layout li {
  color: var(--text);
}

.legal-layout ul {
  padding-left: 20px;
}

.site-footer {
  padding: 30px 0 28px;
  background: #fffdfc;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
}

.footer-brand img {
  width: 260px;
  display: block;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-line {
  height: 1px;
  background: #dfe5ec;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-top: 18px;
  color: #4b5f77;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a:hover,
.nav-links a:hover,
.button.secondary:hover {
  color: var(--orange);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 48px 48px, 48px 48px;
  }
}

@keyframes scanLine {
  0%,
  100% {
    transform: translateX(-18%);
    opacity: 0.18;
  }
  45%,
  55% {
    opacity: 0.78;
  }
  50% {
    transform: translateX(18%);
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -230;
  }
}

@keyframes packetMove {
  0%,
  12% {
    offset-distance: 0%;
    opacity: 0;
  }
  26%,
  72% {
    opacity: 1;
  }
  88%,
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.node-app {
  animation-name: nodePulseApp;
}

@keyframes nodePulseApp {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-4px);
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .nav {
    min-height: 76px;
  }

  .brand img {
    width: 220px;
  }

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

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

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

  .nav-links a {
    padding: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 42px 0 26px;
  }

  .hero-art {
    min-height: 300px;
    order: -1;
  }

  .tech-system {
    width: min(520px, 100%);
  }

  .tech-core {
    width: 220px;
  }

  .tech-node {
    min-width: 118px;
    padding: 10px 12px;
  }

  .tech-node span {
    font-size: 0.72rem;
  }

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

  .flow-line {
    display: none;
  }

  .architecture-flow article {
    min-height: auto;
  }

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

  .project-grid.compact {
    grid-template-columns: 1fr;
  }

  .telco-layout {
    grid-template-columns: 1fr;
  }

  .process-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .social-card {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .ai-panel,
  .estimator-layout,
  .purpose-panel,
  .about-layout,
  .about-specialties,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .estimator-section.is-open .estimator-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .estimator-copy,
  .estimator-section.is-open .estimator-copy {
    position: static;
  }

  .estimate-form {
    width: 100%;
    min-width: 0;
  }

  .service-card {
    padding: 26px 18px;
  }

  .service-card::before {
    display: none;
  }

  .service-card + .service-card {
    border-left: 0;
    border-top: 1px solid #e4e9f0;
  }

  .purpose-text {
    padding-left: 0;
    border-left: 0;
  }

  .ai-panel {
    gap: 20px;
  }

  .estimate-result {
    grid-template-columns: 1fr;
  }
}

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

  .brand img,
  .footer-brand img {
    width: 200px;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    top: 76px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-copy {
    font-size: 1.03rem;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .tech-system {
    aspect-ratio: 1.08;
  }

  .tech-lines {
    display: none;
  }

  .tech-core {
    left: 50%;
    top: 45%;
    width: min(230px, 78vw);
  }

  .tech-node {
    min-width: 112px;
    padding: 8px 10px;
  }

  .tech-node strong {
    font-size: 0.82rem;
  }

  .node-data {
    left: 0;
    top: 0;
  }

  .node-ai {
    right: 0;
    top: 0;
  }

  .node-api {
    left: 0;
    bottom: 13%;
  }

  .node-cloud {
    right: 0;
    bottom: 13%;
  }

  .node-app {
    bottom: 0;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

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

  fieldset {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    grid-template-columns: 1fr;
  }

  .process-card img {
    aspect-ratio: 1.8;
  }

  .project-card-body,
  .social-card {
    padding: 14px;
  }

  .ai-panel,
  .estimate-form,
  .purpose-panel,
  .contact-box {
    padding: 22px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
