@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/roboto/roboto-v30-latin-ext_latin-300.woff2") format("woff2"),
    url("../fonts/roboto/roboto-v30-latin-ext_latin-300.woff") format("woff");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/roboto/roboto-v30-latin-ext_latin-regular.woff2") format("woff2"),
    url("../fonts/roboto/roboto-v30-latin-ext_latin-regular.woff") format("woff");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/roboto/roboto-v30-latin-ext_latin-700.woff2") format("woff2"),
    url("../fonts/roboto/roboto-v30-latin-ext_latin-700.woff") format("woff");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/roboto/roboto-v30-latin-ext_latin-900.woff2") format("woff2"),
    url("../fonts/roboto/roboto-v30-latin-ext_latin-900.woff") format("woff");
}

:root {
  --color-primary: #bf1917;
  --color-primary-dark: #991412;
  --color-primary-soft: #fff1f1;
  --color-soft: #f8fafc;
  --color-secondary: #e2e8f0;
  --color-text: #1e293b;
  --color-muted: #64748b;
  --color-dark: #0f172a;
  --color-white: #ffffff;
  --shadow-soft: 0 28px 80px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 22px 52px rgba(15, 23, 42, 0.12);
  --shadow-card-subtle: 0 12px 34px rgba(15, 23, 42, 0.07);
  --radius-sm: 10px;
  --radius-button: 12px;
  --radius-panel: 24px;
  --section-space: clamp(4rem, 7vw, 6.75rem);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text);
  background: var(--color-white);
  font-family: "Roboto", Arial, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  overflow-wrap: break-word;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(191, 25, 23, 0.35);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  color: var(--color-white);
  background: var(--color-dark);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container-xl {
  width: 100%;
  max-width: 1240px;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  padding: 0.85rem 0;
  transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  padding: 0.45rem 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
}

.navbar {
  padding: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.site-header .brand-mark {
  color: var(--color-white);
}

.site-header.is-scrolled .brand-mark,
.site-header.nav-active .brand-mark {
  color: var(--color-text);
}

.brand-mark img {
  display: block;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.nav-link {
  position: relative;
  margin: 0 0.1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-header.is-scrolled .nav-link,
.site-header.nav-active .nav-link {
  color: var(--color-text);
}

.site-header.is-scrolled .nav-link-cta,
.site-header.nav-active .nav-link-cta {
  color: var(--color-white);
}

.nav-link::after {
  position: absolute;
  right: 0.5rem;
  bottom: 0.25rem;
  left: 0.5rem;
  height: 2px;
  content: "";
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-white);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link:focus,
.site-header.nav-active .nav-link:hover,
.site-header.nav-active .nav-link:focus {
  color: var(--color-primary);
}

.site-header.is-scrolled .nav-link-cta:hover,
.site-header.is-scrolled .nav-link-cta:focus,
.site-header.nav-active .nav-link-cta:hover,
.site-header.nav-active .nav-link-cta:focus {
  color: var(--color-white);
}

.nav-link:hover::after,
.nav-link:focus::after {
  transform: scaleX(1);
}

.nav-link-cta {
  margin-left: 0.8rem;
  padding-right: 1.1rem !important;
  padding-left: 1.1rem !important;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--radius-button);
  box-shadow: 0 12px 28px rgba(191, 25, 23, 0.22);
}

.nav-link-cta:hover,
.nav-link-cta:focus {
  color: var(--color-white);
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.nav-link-cta::after {
  display: none;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-button);
  background: var(--color-white);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section-shell,
.content-section,
.zcms-section,
.partners-section,
.contact-section {
  position: relative;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) 0 5rem;
  overflow: hidden;
  background:
    linear-gradient(122deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.94) 58%, rgba(30, 41, 59, 0.96) 100%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.06) 0 24%, transparent 24% 100%),
    linear-gradient(330deg, rgba(191, 25, 23, 0.16) 0 16%, transparent 16% 100%);
}

.hero-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--color-text);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: break-word;
  hyphens: none;
}

h1 {
  max-width: 960px;
  margin-bottom: 1.4rem;
  font-size: 2.25rem;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: 1.45rem;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 2rem;
  color: rgba(248, 250, 252, 0.78);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-section h1 {
  color: var(--color-white);
}

.hero-section .eyebrow {
  color: #fca5a5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.mobile-break {
  display: block;
}

.btn {
  --bs-btn-border-radius: var(--radius-button);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  --bs-btn-bg: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary-dark);
  --bs-btn-hover-border-color: var(--color-primary-dark);
  --bs-btn-active-bg: var(--color-primary-dark);
  --bs-btn-active-border-color: var(--color-primary-dark);
  box-shadow: 0 18px 36px rgba(191, 25, 23, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(191, 25, 23, 0.34);
}

.btn-quiet {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(248, 250, 252, 0.22);
}

.btn-quiet:hover,
.btn-quiet:focus {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(248, 250, 252, 0.38);
  transform: translateY(-2px);
}

.hero-visual {
  display: none;
}

.network-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 28px;
  /*background:
    radial-gradient(circle at 28% 42%, rgba(191, 25, 23, 0.16), transparent 24%),
    radial-gradient(circle at 76% 64%, rgba(248, 250, 252, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(30, 64, 102, 0.36), rgba(15, 23, 42, 0.05));*/
  transform: translateZ(0);
}

.network-map::before {
  position: absolute;
  inset: 12%;
  content: "";
  /*background:
    linear-gradient(rgba(248, 250, 252, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.08) 1px, transparent 1px);*/
  background-size: 44px 44px;
  mask-image: radial-gradient(circle, #000 0 46%, transparent 72%);
  opacity: 0.35;
}

.network-lines {
  position: absolute;
  inset: 8% 0 0 2%;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
}

.network-link {
  stroke: url("#networkLine");
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.3;
  animation: connectionGlow 6.5s ease-in-out infinite;
}

.network-node {
  fill: var(--color-primary);
  stroke: rgba(248, 250, 252, 0.72);
  stroke-width: 4;
  filter: drop-shadow(0 16px 26px rgba(191, 25, 23, 0.24));
  animation: nodePulse 3.4s ease-in-out infinite;
}

.network-node.node-b {
  animation-delay: 0.5s;
}

.network-node.node-c {
  animation-delay: 1s;
}

.network-node.node-d,
.network-node.node-f {
  animation-delay: 1.45s;
}

.network-card,
.network-pill {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(248, 250, 252, 0.18);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.network-card {
  top: 38%;
  left: 6%;
  width: min(250px, 50%);
  padding: 1.15rem 1.25rem;
  background: rgba(248, 250, 252, 0.96);
  animation: floatSoft 7.5s ease-in-out infinite;
}

.network-card span,
.network-pill {
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.network-card span {
  display: block;
  margin-bottom: 0;
}

.network-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 58px;
  padding: 0.8rem 1rem;
  color: var(--color-white);
  background: rgba(15, 23, 42, 0.82);
  animation: floatSoft 8s ease-in-out infinite;
}

.network-pill-concept {
  top: 6.5rem;
  right: 15%;
  background: rgba(248, 250, 252, 0.96);
  color: var(--color-primary);
  animation-delay: 0.4s;
}

.network-pill-project {
  right: 0;
  bottom: 3.4rem;
  min-width: 168px;
  background: rgba(248, 250, 252, 0.96);
  color: var(--color-text);
  animation-delay: 1.1s;
}

.network-pill-api {
  top: 38%;
  right: 4%;
  background: var(--color-primary);
  animation-delay: 1.7s;
}

.network-pill-data {
  right: 2%;
  bottom: 30%;
  min-width: 142px;
  background: rgba(248, 250, 252, 0.96);
  color: var(--color-primary);
  animation-delay: 2.15s;
}

.network-pill-ai {
  left: 20%;
  bottom: 8rem;
  min-width: 142px;
  background: rgba(2, 6, 23, 0.9);
  animation-delay: 2.75s;
}

.content-section,
.zcms-section,
.partners-section,
.contact-section {
  padding: var(--section-space) 0;
}

.section-intro {
  max-width: 780px;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.section-intro p:not(.eyebrow),
.about-section p,
.zcms-panel p,
.contact-panel p {
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.service-card,
.project-card {
  height: 100%;
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
  background: var(--color-white);
  border: 1px solid var(--color-secondary);
  border-radius: 14px;
  box-shadow: var(--shadow-card-subtle);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card {
  min-height: 230px;
}

.service-card:hover,
.project-card:hover {
  border-color: rgba(191, 25, 23, 0.24);
  box-shadow: var(--shadow-card);
  transform: translateY(-7px);
}

.service-card p,
.project-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.zcms-section {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-soft) 100%);
}

.zcms-panel {
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16));
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.zcms-panel .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin: 0;
}

.zcms-panel .row > * {
  width: auto;
  padding: 0;
}

.zcms-panel h2,
.zcms-panel .eyebrow {
  color: var(--color-white);
}

.zcms-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.75rem 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.feature-list li::before {
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  background: var(--color-primary);
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.zcms-visual {
  position: relative;
  min-height: 420px;
  isolation: isolate;
}

.zcms-visual::before {
  position: absolute;
  inset: 5%;
  width: auto;
  height: auto;
  content: "";
  background:
    radial-gradient(circle at 35% 35%, rgba(191, 25, 23, 0.24), transparent 24%),
    radial-gradient(circle at 72% 60%, rgba(248, 250, 252, 0.18), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  opacity: 0.85;
  z-index: -1;
}

.zcms-brand-visual {
  display: grid;
  place-items: center;
}

.zcms-logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(410px, 86vw);
  aspect-ratio: 1;
  border: 1px solid rgba(248, 250, 252, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(rgba(248, 250, 252, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.08) 1px, transparent 1px),
    rgba(248, 250, 252, 0.045);
  background-size: 34px 34px;
  box-shadow: inset 0 0 70px rgba(248, 250, 252, 0.06), 0 28px 70px rgba(2, 6, 23, 0.26);
}

.zcms-logo-stage img {
  width: min(270px, 62%);
  height: auto;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(248, 250, 252, 0.36);
  border-radius: 18px;
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.28);
}

.zcms-orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(248, 250, 252, 0.22);
  border-radius: 50%;
  animation: orbitTurn 20s linear infinite;
}

.zcms-orbit-two {
  inset: 23%;
  border-color: rgba(191, 25, 23, 0.36);
  animation-duration: 15s;
  animation-direction: reverse;
}

.zcms-orbit::before,
.zcms-orbit-two::after {
  position: absolute;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--color-primary);
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(191, 25, 23, 0.25);
}

.zcms-orbit::before {
  top: 12%;
  right: 18%;
}

.zcms-orbit-two::after {
  bottom: 8%;
  left: 21%;
}

.zcms-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(248, 250, 252, 0.36);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.22);
  animation: floatSoft 7s ease-in-out infinite;
}

.zcms-badge-content {
  top: 14%;
  left: -3%;
  color: var(--color-primary);
}

.zcms-badge-speed {
  right: -7%;
  bottom: 26%;
}

.zcms-badge-secure {
  bottom: 8%;
  left: 12%;
  animation-delay: 1.3s;
}

.references-section {
  background:
    linear-gradient(180deg, var(--color-soft) 0, var(--color-white) 34%),
    var(--color-white);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  background:
    linear-gradient(160deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.96) 52%),
    var(--color-white);
  overflow: hidden;
}

.project-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--color-primary), rgba(191, 25, 23, 0));
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.project-card:hover::before,
.project-card:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.project-type {
  margin-bottom: 0.8rem !important;
  color: var(--color-primary) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card a {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--color-primary);
  font-weight: 900;
  text-decoration: none;
}

.project-card a::after {
  content: "→";
  margin-left: 0.45rem;
  transition: transform 0.2s ease;
}

.project-card a:hover::after,
.project-card a:focus::after {
  transform: translateX(4px);
}

.partners-section {
  padding-top: 0;
}

.trust-panel {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: clamp(1.6rem, 4vw, 2.75rem);
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.96)),
    var(--color-soft);
  border: 1px solid var(--color-secondary);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-card-subtle);
  overflow: hidden;
}

.trust-panel::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  content: "";
  background: radial-gradient(circle, rgba(191, 25, 23, 0.12), rgba(191, 25, 23, 0));
  pointer-events: none;
}

.trust-panel::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  content: "";
  background: var(--color-primary);
}

.trust-panel h2 {
  max-width: 460px;
  margin-bottom: 1rem;
}

.trust-panel p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.partner-grid a {
  position: relative;
  display: grid;
  gap: 0.35rem;
  min-height: 64px;
  align-content: center;
  padding: 1rem 1.1rem;
  color: var(--color-text);
  text-decoration: none;
  background: var(--color-white);
  border: 1px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-grid a::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--color-primary);
  content: "→";
  font-weight: 900;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-grid span {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.partner-grid small {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.partner-grid a:hover,
.partner-grid a:focus {
  color: var(--color-primary);
  border-color: rgba(191, 25, 23, 0.24);
  box-shadow: var(--shadow-card-subtle);
  transform: translateY(-3px);
}

.partner-grid a:hover::after,
.partner-grid a:focus::after {
  opacity: 1;
  transform: translateX(0);
}

.js .trust-panel.reveal:not(.is-visible) .partner-grid a {
  opacity: 0;
  transform: translateY(18px);
}

.js .trust-panel.reveal.is-visible .partner-grid a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .trust-panel.reveal.is-visible .partner-grid a:hover,
.js .trust-panel.reveal.is-visible .partner-grid a:focus {
  transform: translateY(-3px);
}

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

.about-figure {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(226, 232, 240, 0.7)),
    var(--color-soft);
  border: 1px solid var(--color-secondary);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.developer-figure::before,
.developer-figure::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(191, 25, 23, 0.16);
  border-radius: 50%;
}

.developer-figure::before {
  width: 260px;
  height: 260px;
}

.developer-figure::after {
  width: 380px;
  height: 380px;
}

.code-window {
  position: relative;
  z-index: 1;
  width: min(360px, 88%);
  padding: 1rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transform: translateZ(0);
}

.code-window-bar {
  display: flex;
  gap: 0.45rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
}

.code-window-bar span {
  position: static;
  display: block;
  width: 10px;
  height: 10px;
  min-height: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.7);
  border: 0;
  border-radius: 50%;
  backdrop-filter: none;
}

.code-window-bar span:first-child {
  background: var(--color-primary);
}

.code-lines {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem 0.2rem 0.25rem;
}

.code-lines i {
  display: block;
  height: 12px;
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.28));
  border-radius: 999px;
  animation: codePulse 4.5s ease-in-out infinite;
}

.code-lines i:nth-child(1) {
  width: 88%;
}

.code-lines i:nth-child(2) {
  width: 68%;
  margin-left: 1.4rem;
  background: linear-gradient(90deg, rgba(191, 25, 23, 0.95), rgba(248, 250, 252, 0.22));
  animation-delay: 0.25s;
}

.code-lines i:nth-child(3) {
  width: 78%;
}

.code-lines i:nth-child(4) {
  width: 58%;
  margin-left: 2.1rem;
  animation-delay: 0.5s;
}

.code-lines i:nth-child(5) {
  width: 72%;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.75), rgba(191, 25, 23, 0.42));
  animation-delay: 0.75s;
}

.dev-card {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 900;
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  animation: floatSoft 5.5s ease-in-out infinite;
}

.dev-card-api {
  top: 3.5rem;
  right: 2.25rem;
}

.dev-card-db {
  bottom: 7.3rem;
  left: 2rem;
  background: var(--color-dark);
  animation-delay: 0.55s;
}

.dev-card-cms {
  right: 3.2rem;
  bottom: 6.1rem;
  color: var(--color-text);
  background: var(--color-white);
  animation-delay: 1.1s;
}

.about-figure > span {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  padding: 1rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.about-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.42rem 0.75rem;
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 800;
  background: var(--color-primary-soft);
  border: 1px solid rgba(191, 25, 23, 0.12);
  border-radius: 999px;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.about-facts span:hover {
  background: var(--color-white);
  border-color: rgba(191, 25, 23, 0.28);
  transform: translateY(-2px);
}

.js .reveal:not(.is-visible) .about-facts span {
  opacity: 0;
  transform: translateY(14px);
}

.js .reveal.is-visible .about-facts span {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible .about-facts span:hover {
  transform: translateY(-2px);
}

.contact-section {
  padding-top: 0;
}

.contact-panel {
  padding: clamp(2rem, 6vw, 5rem);
  color: var(--color-white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 34%, transparent 34% 100%);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-soft);
}

.contact-panel h2,
.contact-panel .eyebrow {
  color: var(--color-white);
}

.contact-panel p {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 2rem 0;
  background: var(--color-soft);
  border-top: 1px solid var(--color-secondary);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a,
.footer-link-button {
  color: var(--color-muted);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus,
.footer-link-button:hover,
.footer-link-button:focus {
  color: var(--color-primary);
}

.footer-link-button {
  padding: 0;
  appearance: none;
  color: var(--color-muted);
  font-family: inherit;
  font-size: inherit;
  font-weight: 800;
  line-height: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.termsfeed-com---nb {
  position: fixed !important;
  top: auto !important;
  right: 1.25rem !important;
  bottom: 1.25rem !important;
  left: auto !important;
  width: min(420px, calc(100vw - 2rem)) !important;
  z-index: 1200 !important;
  font-family: "Roboto", Arial, system-ui, sans-serif !important;
}

.termsfeed-com---nb .cc-nb-main-container {
  width: 100% !important;
  max-width: none !important;
  padding: 1.35rem !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: var(--radius-panel) !important;
  box-shadow: var(--shadow-soft) !important;
}

.termsfeed-com---nb .cc-nb-title {
  color: var(--color-text) !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.termsfeed-com---nb .cc-nb-text {
  color: var(--color-muted) !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}

.termsfeed-com---nb .cc-nb-buttons-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.65rem !important;
}

.termsfeed-com---nb button,
.termsfeed-com---pc button {
  border-radius: var(--radius-button) !important;
  font-family: "Roboto", Arial, system-ui, sans-serif !important;
  font-weight: 800 !important;
}

.termsfeed-com---nb .cc-nb-okagree,
.termsfeed-com---pc .cc-cp-foot-save {
  color: var(--color-white) !important;
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.termsfeed-com---nb .cc-nb-okagree:hover,
.termsfeed-com---pc .cc-cp-foot-save:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
}

.termsfeed-com---nb .cc-nb-reject,
.termsfeed-com---nb .cc-nb-changep {
  color: var(--color-text) !important;
  background: var(--color-soft) !important;
  border-color: var(--color-secondary) !important;
}

.termsfeed-com---pc .cc-cp-body,
.termsfeed-com---pc .cc-cp-foot,
.termsfeed-com---pc .cc-cp-head {
  font-family: "Roboto", Arial, system-ui, sans-serif !important;
}

.legal-modal {
  --bs-modal-border-radius: var(--radius-panel);
  --bs-modal-border-width: 0;
  --bs-modal-header-border-width: 0;
  --bs-modal-footer-border-width: 0;
}

.legal-modal .modal-dialog {
  margin-right: 1rem;
  margin-left: 1rem;
}

.legal-modal .modal-content {
  color: var(--color-text);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0) 260px),
    var(--color-white);
  box-shadow: var(--shadow-soft);
}

.legal-modal .modal-header {
  align-items: flex-start;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 3rem) 1rem;
}

.legal-modal .modal-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.legal-modal .modal-body {
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  color: var(--color-text);
}

.legal-modal section + section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.legal-modal h3,
.legal-modal h4,
.legal-modal h5 {
  color: var(--color-text);
  line-height: 1.25;
}

.legal-modal h3 {
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.legal-modal h4 {
  margin: 2rem 0 0.7rem;
  font-size: 1.12rem;
}

.legal-modal h5 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1rem;
}

.legal-modal p,
.legal-modal li,
.legal-modal address,
.legal-modal dd {
  font-size: 1rem;
  line-height: 1.75;
}

.legal-modal address {
  margin-bottom: 1.25rem;
}

.legal-modal a {
  color: var(--color-primary);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-modal ul,
.legal-modal ol {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.25rem;
  margin-bottom: 1.35rem;
}

.legal-index {
  font-weight: 800;
}

.legal-facts {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
}

.legal-facts div {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  background: var(--color-soft);
  border: 1px solid var(--color-secondary);
  border-radius: var(--radius-sm);
}

.legal-facts dt {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-facts dd {
  margin: 0;
  color: var(--color-text);
  font-weight: 800;
}

.legal-footer-note {
  margin: 2.25rem 0 0;
  padding-top: 1.25rem;
  color: var(--color-muted);
  font-weight: 800;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-delay {
  transition-delay: 0.12s;
}

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

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes connectionGlow {
  0%,
  100% {
    opacity: 0.22;
  }

  50% {
    opacity: 0.46;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.96);
    transform-origin: center;
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes orbitTurn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes codePulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scaleX(0.94);
    transform-origin: left;
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

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

  .js .reveal,
  .reveal,
  .js .trust-panel.reveal .partner-grid a,
  .js .reveal .about-facts span,
  .dev-card,
  .code-lines i {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    inset: 0;
    z-index: -1;
    min-height: 100vh;
    padding: 7rem 1.5rem 2rem;
    background:
      linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98)),
      var(--color-white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav {
    gap: 0.35rem;
  }

  .nav-link {
    padding: 0.9rem 0;
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .nav-link::after {
    right: auto;
    bottom: 0.25rem;
    left: 0;
    width: 4rem;
  }

  .nav-link-cta {
    display: inline-flex;
    width: fit-content;
    margin: 1rem 0 0;
    padding: 0.9rem 1.25rem !important;
    font-size: 1.2rem;
  }
}

@media (min-width: 576px) {
  .mobile-break {
    display: none;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 1.95rem;
  }

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

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .legal-modal .modal-dialog {
    margin-right: auto;
    margin-left: auto;
  }

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

@media (min-width: 768px) {
  h1 {
    font-size: 4.45rem;
  }

  h2 {
    font-size: 2.25rem;
  }

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

@media (min-width: 992px) {
  h1 {
    font-size: 4.65rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  h3 {
    font-size: 1.45rem;
  }

  .hero-text {
    font-size: 1.3rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
    gap: 4rem;
  }

  .hero-visual {
    display: block;
  }

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

  .trust-panel {
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
  }

  .zcms-panel .row {
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  }
}

@media (min-width: 1200px) {
  .hero-section {
    min-height: 94vh;
  }

  h1 {
    font-size: 4.85rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-text {
    font-size: 1.38rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-space: 3.6rem;
  }

  .site-header {
    padding: 0.6rem 0;
  }

  .container-xl {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .brand-mark span {
    font-size: 0.98rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2.75rem);
  }

  .hero-copy,
  .section-intro {
    max-width: 34ch;
  }

  .hero-text {
    max-width: 33ch;
    font-size: 0.98rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero-actions,
  .hero-actions .btn,
  .contact-panel .btn {
    width: 100%;
  }

  .content-section .row {
    --bs-gutter-x: 0;
    margin-right: 0;
    margin-left: 0;
    row-gap: 1rem;
  }

  .content-section .row > * {
    padding-right: 0;
    padding-left: 0;
  }

  .service-card,
  .project-card,
  .zcms-panel,
  .trust-panel,
  .about-figure,
  .contact-panel {
    border-radius: var(--radius-sm);
  }

  .service-card,
  .project-card {
    width: calc(100vw - 2.5rem);
    max-width: 100%;
  }

  .service-card p,
  .project-card p {
    max-width: none;
  }

  .zcms-panel {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .zcms-panel h2 {
    max-width: 18ch;
  }

  .zcms-panel p,
  .zcms-panel .feature-list {
    max-width: 29ch;
  }

  .zcms-visual {
    min-height: 360px;
    margin-top: 0.5rem;
  }

  .zcms-visual::before {
    inset: 5%;
    width: auto;
    height: auto;
  }

  .zcms-logo-stage {
    width: min(300px, 84vw);
  }

  .zcms-logo-stage img {
    width: 64%;
  }

  .zcms-badge {
    min-height: 40px;
    padding: 0.55rem 0.75rem;
    font-size: 0.7rem;
  }

  .zcms-badge-content {
    left: 1%;
  }

  .zcms-badge-speed {
    right: 0;
  }

  .dev-card {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-sm);
  }

  .dev-card-api {
    top: 2.5rem;
    right: 1rem;
  }

  .dev-card-db {
    bottom: 6.8rem;
    left: 1rem;
  }

  .dev-card-cms {
    right: 1.4rem;
    bottom: 5.8rem;
  }

  .legal-modal {
    --bs-modal-border-radius: 0;
  }

  .legal-modal .modal-dialog {
    min-height: 100%;
    margin: 0;
  }

  .legal-modal .modal-content {
    min-height: 100vh;
  }

  .legal-modal .modal-title {
    font-size: 1.65rem;
  }

  .legal-modal h3 {
    font-size: 1.25rem;
  }
}
