:root {
  color-scheme: light;
  --deep: #071525;
  --ocean: #0e2236;
  --magenta: #d20a45;
  --magenta-dark: #a50636;
  --mint: #9fd6c8;
  --off: #f5f3ee;
  --paper: #fffaf4;
  --ink: #112033;
  --muted: #536273;
  --line: rgba(14, 34, 54, 0.14);
  --light-line: rgba(245, 243, 238, 0.14);
  --shadow: 0 22px 70px rgba(7, 21, 37, 0.14);
  --radius: 8px;
  --shell: min(1240px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--deep);
  color: white;
  border-radius: var(--radius);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 128px 0;
  position: relative;
}

.section-dark {
  background: var(--deep);
  color: var(--off);
}

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

.section-heading-wide {
  max-width: 910px;
}

.eyebrow,
.mega-label,
.service-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
}

.section-dark .eyebrow,
.section-dark .service-kicker {
  color: var(--mint);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: rgba(245, 243, 238, 0.78);
  max-width: 720px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.btn-primary {
  background: var(--magenta);
  color: white;
  border-color: var(--magenta);
}

.btn-primary:hover {
  background: var(--magenta-dark);
  border-color: var(--magenta-dark);
}

.btn-secondary {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
  border-bottom: 1px solid transparent;
}

[id] {
  scroll-margin-top: 106px;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 250, 244, 0.88);
  backdrop-filter: blur(18px);
  border-color: rgba(7, 21, 37, 0.1);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
  color: white;
}

.site-header.is-scrolled .brand,
.site-header.is-open .brand {
  color: var(--deep);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(245, 243, 238, 0.88);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-header.is-scrolled .desktop-nav,
.site-header.is-open .desktop-nav {
  color: var(--deep);
}

.desktop-nav a,
.nav-trigger {
  padding: 10px 0;
  color: inherit;
}

.nav-trigger {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
}

.has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -24px;
  width: min(820px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 24px;
  background: rgba(255, 250, 244, 0.98);
  color: var(--ink);
  border: 1px solid rgba(7, 21, 37, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid rgba(7, 21, 37, 0.08);
  color: var(--ink);
}

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

.header-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}

.site-header.is-scrolled .menu-toggle,
.site-header.is-open .menu-toggle {
  color: var(--deep);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: 100vh;
  padding: 150px 0 94px;
  overflow: clip;
}

.hero::before,
.contact::before,
.portfolio::before,
.tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 214, 200, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 214, 200, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 84%, transparent);
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 28%, rgba(159, 214, 200, 0.19), transparent 32%),
    linear-gradient(115deg, transparent 10%, rgba(210, 10, 69, 0.12), transparent 42%),
    repeating-linear-gradient(145deg, rgba(159, 214, 200, 0.12) 0 1px, transparent 1px 24px);
  opacity: 0.7;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-grid {
  min-height: calc(100vh - 244px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-copy {
  display: grid;
  gap: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  background: var(--light-line);
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-stats div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats dt {
  font-family: Sora, Inter, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--mint);
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(245, 243, 238, 0.66);
}

.hero-visual {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-symbol {
  width: min(100%, 520px);
  filter: drop-shadow(0 36px 70px rgba(0, 0, 0, 0.35));
  animation: hoverSymbol 8s ease-in-out infinite;
}

.course-line {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(159, 214, 200, 0.25);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.course-line span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--mint);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(159, 214, 200, 0.12);
}

.course-line span:nth-child(1) {
  left: 18%;
  top: 9%;
}

.course-line span:nth-child(2) {
  right: 7%;
  top: 48%;
}

.course-line span:nth-child(3) {
  left: 43%;
  bottom: 1%;
}

.waypoint {
  position: absolute;
  padding: 9px 12px;
  border: 1px solid rgba(159, 214, 200, 0.34);
  border-radius: var(--radius);
  background: rgba(7, 21, 37, 0.74);
  color: var(--off);
  font-size: 0.82rem;
  font-weight: 800;
}

.waypoint-one {
  top: 18%;
  left: 4%;
}

.waypoint-two {
  right: 2%;
  top: 42%;
}

.waypoint-three {
  left: 24%;
  bottom: 18%;
}

.trust-bar {
  padding: 20px 0;
  background: var(--off);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(7, 21, 37, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-grid span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ocean);
}

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

.area-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(7, 21, 37, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, var(--off));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.area-card:hover,
.service-card:hover,
.article-card:hover,
.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(210, 10, 69, 0.45);
  box-shadow: var(--shadow);
}

.area-card-dark {
  background:
    linear-gradient(135deg, rgba(159, 214, 200, 0.14), transparent),
    var(--ocean);
  color: var(--off);
}

.area-index {
  color: var(--magenta);
  font-weight: 900;
}

.area-card p {
  max-width: 520px;
  color: var(--muted);
}

.area-card-dark p {
  color: rgba(245, 243, 238, 0.72);
}

.arrow-link {
  font-weight: 900;
}

.services {
  background: var(--off);
}

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

.service-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(7, 21, 37, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:nth-child(1),
.service-card:nth-child(4) {
  grid-column: span 2;
}

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

.service-card ul {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.service-card li,
.portfolio-card li {
  padding: 6px 9px;
  border: 1px solid rgba(7, 21, 37, 0.14);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}

.service-card a {
  font-weight: 900;
  color: var(--magenta);
}

.service-landing {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 28px;
  align-items: start;
  padding: 32px;
  border: 1px solid rgba(7, 21, 37, 0.14);
  border-radius: var(--radius);
  background: #fff;
}

.landing-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.landing-tabs button,
.filters button {
  min-height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  font-weight: 900;
}

.landing-tabs button.active,
.filters button.active {
  background: var(--magenta);
  border-color: var(--magenta);
  color: white;
}

.landing-panel {
  grid-column: 2;
  padding: 20px;
  border-left: 3px solid var(--magenta);
  background: var(--off);
}

.portfolio {
  overflow: clip;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

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

.portfolio-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(245, 243, 238, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-card:nth-child(1),
.portfolio-card:nth-child(4) {
  grid-column: span 2;
}

.portfolio-cover {
  min-height: 176px;
  position: relative;
  overflow: hidden;
  background: var(--ocean);
}

.portfolio-cover::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(159, 214, 200, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(210, 10, 69, 0.36), transparent 48%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px);
  transform: perspective(600px) rotateX(58deg) rotateZ(-9deg) translateY(22px);
  transition: transform 220ms ease;
}

.portfolio-card:hover .portfolio-cover::before {
  transform: perspective(600px) rotateX(52deg) rotateZ(-6deg) translateY(12px) scale(1.04);
}

.portfolio-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.portfolio-body p {
  color: rgba(245, 243, 238, 0.7);
}

.portfolio-body ul {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.portfolio-card li {
  border-color: rgba(245, 243, 238, 0.18);
  color: rgba(245, 243, 238, 0.72);
}

.portfolio-meta {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}

.portfolio-card button {
  margin-top: 14px;
  align-self: start;
}

.portfolio-empty {
  padding: 34px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(7, 21, 37, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.why-item {
  min-height: 280px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.62);
}

.why-item span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--magenta);
  font-weight: 900;
}

.why-item p,
.section-heading p,
.article-card p,
.knowledge p,
.contact-copy p {
  color: var(--muted);
}

.why-item h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.38rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.process {
  background: var(--off);
}

.process-shell {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
}

.process-track {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 34px;
}

.process-track::before,
.process-fill {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  width: 2px;
  height: calc(100% - 20px);
  background: rgba(7, 21, 37, 0.12);
}

.process-fill {
  height: 0;
  background: var(--magenta);
  transition: height 80ms linear;
}

.process-step {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(7, 21, 37, 0.12);
  border-radius: var(--radius);
  background: white;
}

.process-step span {
  position: absolute;
  left: -43px;
  top: 24px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--magenta);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
}

.process-step p {
  color: var(--muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.tech-grid span {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  font-weight: 900;
}

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

.testimonial {
  margin: 0;
  padding: 30px;
  border: 1px solid rgba(7, 21, 37, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.testimonial blockquote {
  margin: 0;
  color: var(--ink);
}

.testimonial figcaption {
  margin-top: 22px;
  font-weight: 900;
}

.testimonial span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.knowledge {
  background: var(--off);
}

.article-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(7, 21, 37, 0.12);
  border-radius: var(--radius);
  background: white;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-card span,
.article-card small {
  color: var(--magenta);
  font-weight: 900;
}

.article-card small {
  margin-top: auto;
  color: var(--muted);
}

.contact {
  overflow: clip;
}

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

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-copy p {
  color: rgba(245, 243, 238, 0.72);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-weight: 900;
  color: var(--mint);
}

.project-form {
  position: relative;
  padding: 30px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.form-progress {
  height: 8px;
  background: rgba(245, 243, 238, 0.16);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.form-progress span {
  display: block;
  width: 16.66%;
  height: 100%;
  background: var(--mint);
  transition: width 180ms ease;
}

.form-step-label {
  color: rgba(245, 243, 238, 0.72);
  font-weight: 800;
  margin-bottom: 22px;
}

.form-step {
  display: none;
  padding: 0;
  margin: 0;
  border: 0;
}

.form-step.active {
  display: block;
}

legend {
  padding: 0;
  margin-bottom: 22px;
  font-family: Sora, Inter, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

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

.choice-grid label,
.consent,
.file-field {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(245, 243, 238, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.choice-grid input {
  accent-color: var(--magenta);
}

.form-row,
.file-field {
  display: grid;
  gap: 8px;
  align-items: start;
  margin-bottom: 14px;
}

.form-row label,
.file-field span {
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 243, 238, 0.22);
  border-radius: var(--radius);
  background: rgba(7, 21, 37, 0.38);
  color: var(--off);
}

textarea {
  resize: vertical;
}

::placeholder {
  color: rgba(245, 243, 238, 0.5);
}

select option {
  color: var(--ink);
}

.field-note,
.file-field small {
  color: rgba(245, 243, 238, 0.68);
}

.consent {
  align-items: flex-start;
  margin-top: 16px;
}

.consent input {
  width: auto;
  min-height: auto;
  margin-top: 6px;
  accent-color: var(--magenta);
}

.form-error {
  min-height: 28px;
  margin-top: 16px;
  color: #ffd1dc;
  font-weight: 800;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.site-footer {
  padding: 64px 0;
  background: #050d16;
  color: rgba(245, 243, 238, 0.74);
}

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

.footer-brand img {
  width: 230px;
  margin-bottom: 22px;
}

.site-footer h2 {
  font-size: 1rem;
  color: var(--off);
  margin-bottom: 16px;
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: rgba(245, 243, 238, 0.86);
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 18px;
  width: min(760px, calc(100vw - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(7, 21, 37, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 244, 0.96);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner div {
  display: flex;
  gap: 10px;
}

.sticky-mobile-cta {
  display: none;
}

dialog {
  width: min(860px, calc(100vw - 30px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(7, 21, 37, 0.72);
  backdrop-filter: blur(6px);
}

.case-dialog > div,
.success-dialog {
  padding: 34px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(7, 21, 37, 0.16);
  border-radius: var(--radius);
  background: white;
  color: var(--deep);
  font-size: 1.6rem;
  line-height: 1;
}

.case-hero {
  display: grid;
  gap: 18px;
  padding-right: 44px;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.case-meta div {
  padding: 16px;
  background: var(--off);
  border: 1px solid rgba(7, 21, 37, 0.1);
  border-radius: var(--radius);
}

.case-meta strong {
  display: block;
}

.case-section {
  margin-top: 24px;
}

.case-section p,
.case-section li {
  color: var(--muted);
}

.case-section ul {
  padding-left: 20px;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@keyframes hoverSymbol {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@media (max-width: 1100px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .mobile-menu {
    display: none;
    width: var(--shell);
    margin: 0 auto 18px;
    padding: 18px;
    border: 1px solid rgba(7, 21, 37, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 250, 244, 0.96);
    color: var(--ink);
  }

  .site-header.is-open .mobile-menu {
    display: grid;
    gap: 12px;
  }

  .hero-grid,
  .process-shell,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .testimonial-grid,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 112px 0 70px;
    min-height: auto;
  }

  .brand span {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    gap: 28px;
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats,
  .area-grid,
  .service-grid,
  .portfolio-grid,
  .testimonial-grid,
  .article-grid,
  .footer-grid,
  .contact-grid,
  .choice-grid,
  .case-meta {
    grid-template-columns: 1fr;
  }

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

  .service-card:nth-child(1),
  .service-card:nth-child(4),
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(4) {
    grid-column: auto;
  }

  .service-landing {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .landing-tabs,
  .landing-panel {
    grid-column: auto;
  }

  .landing-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-card,
  .service-card,
  .portfolio-card {
    min-height: auto;
  }

  .waypoint {
    font-size: 0.75rem;
  }

  .sticky-mobile-cta {
    position: fixed;
    z-index: 70;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .sticky-mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .cookie-banner {
    bottom: 12px;
    display: grid;
    gap: 10px;
    padding: 12px;
    font-size: 0.88rem;
  }

  .cookie-banner div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cookie-banner .btn {
    min-height: 40px;
    padding: 9px 10px;
  }
}

/* Placeholder: strona w budowie */
.construction-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--off);
}

.construction-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(159, 214, 200, 0.14);
}

.construction-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.construction-header .brand img {
  width: 68px;
  height: auto;
}

.construction-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(245, 243, 238, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.construction-back:hover {
  color: var(--mint);
  transform: translateX(-3px);
}

.construction-main {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 162px);
  padding: 72px 0;
  overflow: hidden;
}

.construction-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 214, 200, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 214, 200, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 24%, black 76%, transparent);
}

.construction-glow {
  position: absolute;
  z-index: -2;
  width: 34rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}

.construction-glow-one {
  top: -15rem;
  right: 3%;
  background: var(--magenta);
}

.construction-glow-two {
  bottom: -22rem;
  left: 12%;
  background: var(--mint);
}

.construction-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.construction-copy h1 {
  max-width: 850px;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
}

.construction-copy h1 span {
  color: var(--mint);
}

.construction-lead {
  max-width: 660px;
  margin-top: 28px;
  color: rgba(245, 243, 238, 0.72);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.construction-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}

.construction-contact {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(159, 214, 200, 0.5);
  color: var(--mint);
  font-weight: 700;
}

.construction-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.construction-visual > img {
  width: min(100%, 580px);
  opacity: 0.12;
  filter: saturate(0) brightness(2);
}

.construction-route {
  position: absolute;
  left: 3%;
  right: 3%;
  top: 51%;
  display: flex;
  align-items: center;
}

.route-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--mint) 0 58%, rgba(245, 243, 238, 0.18) 58% 100%);
}

.route-start,
.route-end {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 3px solid var(--deep);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--mint);
  background: var(--mint);
}

.route-end {
  box-shadow: 0 0 0 2px var(--magenta);
  background: var(--magenta);
}

.route-line::after {
  content: "";
  position: absolute;
  left: 58%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  border: 5px solid var(--deep);
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 2px var(--mint), 0 0 28px rgba(159, 214, 200, 0.58);
}

.route-label {
  position: absolute;
  top: calc(51% + 30px);
  color: rgba(245, 243, 238, 0.55);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-label-start { left: 3%; }
.route-label-progress { left: 58%; transform: translateX(-50%); color: var(--mint); }
.route-label-finish { right: 3%; color: rgba(245, 243, 238, 0.72); }

.construction-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(159, 214, 200, 0.14);
  color: rgba(245, 243, 238, 0.46);
  font-size: 0.78rem;
}

.construction-footer .shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 900px) {
  .construction-main {
    padding: 52px 0 70px;
  }

  .construction-content {
    grid-template-columns: 1fr;
  }

  .construction-visual {
    min-height: 230px;
  }
}

@media (max-width: 560px) {
  .construction-header-inner {
    min-height: 76px;
  }

  .construction-header .brand span {
    display: none;
  }

  .construction-copy h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .construction-lead {
    margin-top: 22px;
  }

  .construction-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
  }

  .construction-actions .btn {
    width: 100%;
  }

  .construction-visual {
    min-height: 180px;
  }

  .route-label {
    font-size: 0.62rem;
  }

  .construction-footer .shell {
    min-height: 82px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .construction-back,
  .construction-page .btn {
    transition: none;
  }
}

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

/* Premium dark redesign inspired by the supplied home-page direction. */
:root {
  --deep: #040d1b;
  --ocean: #08172b;
  --ocean-2: #0d2139;
  --magenta: #e20a4f;
  --magenta-dark: #b3063d;
  --mint: #53e1d6;
  --off: #f8fbff;
  --paper: #040d1b;
  --ink: #f8fbff;
  --muted: #98a8bd;
  --line: rgba(126, 169, 207, 0.18);
  --light-line: rgba(126, 169, 207, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --shell: min(1320px, calc(100vw - 64px));
}

body {
  font-size: 16px;
  line-height: 1.58;
  color: var(--off);
  background:
    radial-gradient(circle at 50% 0, rgba(45, 100, 142, 0.24), transparent 36rem),
    radial-gradient(circle at 84% 82%, rgba(226, 10, 79, 0.17), transparent 28rem),
    var(--deep);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 128px 128px;
  mask-image: linear-gradient(#000, transparent 95%);
}

.section,
.services,
.process,
.knowledge,
.trust-bar {
  background: transparent;
}

.section {
  padding: 74px 0;
}

h1 {
  max-width: 680px;
  font-size: 4.25rem;
  line-height: 1.02;
}

h1 span,
.contact h2 span {
  color: var(--magenta);
}

h2 {
  font-size: 2.48rem;
  line-height: 1.08;
}

h3 {
  font-size: 1.38rem;
  line-height: 1.12;
}

.eyebrow,
.mega-label,
.service-kicker {
  color: var(--magenta);
  letter-spacing: 0.12em;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 30px;
}

.section-heading-wide {
  max-width: none;
}

.section-heading p,
.article-card p,
.knowledge p,
.contact-copy p,
.why-item p {
  color: var(--muted);
}

.btn {
  min-height: 52px;
  padding: 15px 24px;
  border-radius: 14px;
  font-size: 0.94rem;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--magenta), #f02861);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(226, 10, 79, 0.24);
}

.btn-secondary {
  color: var(--off);
  border-color: rgba(248, 251, 255, 0.36);
  background: rgba(255, 255, 255, 0.035);
}

.site-header {
  background: transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(4, 13, 27, 0.82);
  border-color: rgba(126, 169, 207, 0.12);
}

.header-inner {
  min-height: 82px;
}

.brand,
.site-header.is-scrolled .brand,
.site-header.is-open .brand,
.desktop-nav,
.site-header.is-scrolled .desktop-nav,
.site-header.is-open .desktop-nav,
.menu-toggle,
.site-header.is-scrolled .menu-toggle,
.site-header.is-open .menu-toggle {
  color: var(--off);
}

.brand {
  gap: 14px;
}

.brand img {
  width: 74px;
}

.brand span {
  color: var(--magenta);
}

.desktop-nav {
  gap: 34px;
  font-size: 0.88rem;
}

.mega-menu {
  background: rgba(8, 23, 43, 0.98);
  color: var(--off);
  border-color: rgba(126, 169, 207, 0.18);
}

.mega-menu a {
  color: var(--off);
  border-color: rgba(126, 169, 207, 0.12);
}

.hero {
  min-height: 740px;
  padding: 122px 0 44px;
  background:
    radial-gradient(circle at 72% 20%, rgba(36, 104, 167, 0.28), transparent 34rem),
    radial-gradient(circle at 83% 43%, rgba(226, 10, 79, 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(4, 13, 27, 0.2), var(--deep));
}

.hero::before {
  background-image:
    repeating-radial-gradient(ellipse at 76% 38%, transparent 0 34px, rgba(83, 225, 214, 0.14) 35px 36px, transparent 37px 70px),
    linear-gradient(115deg, transparent 20%, rgba(226, 10, 79, 0.08), transparent 50%);
  background-size: auto;
  mask-image: linear-gradient(90deg, transparent 5%, #000 34%, #000 100%);
}

.hero-lines {
  opacity: 0.88;
  background:
    radial-gradient(circle at 66% 33%, rgba(226, 10, 79, 0.42) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 31%, rgba(226, 10, 79, 0.55) 0 6px, transparent 7px),
    radial-gradient(circle at 72% 61%, rgba(83, 225, 214, 0.55) 0 5px, transparent 6px),
    linear-gradient(130deg, transparent 55%, rgba(83, 225, 214, 0.26) 56%, transparent 58%),
    repeating-linear-gradient(155deg, rgba(83, 225, 214, 0.1) 0 1px, transparent 1px 34px);
}

.hero-grid {
  min-height: 574px;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 40px;
}

.hero-copy {
  align-self: center;
  gap: 24px;
}

.lead {
  max-width: 540px;
  font-size: 1.06rem;
  color: rgba(248, 251, 255, 0.78);
}

.hero-actions {
  gap: 22px;
}

.hero-stats {
  display: none;
}

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

.hero-symbol {
  width: min(82%, 560px);
  filter:
    drop-shadow(0 46px 80px rgba(0, 0, 0, 0.44))
    drop-shadow(0 0 38px rgba(226, 10, 79, 0.18));
}

.course-line {
  inset: 13% 3% 8% 10%;
  border-color: rgba(83, 225, 214, 0.18);
}

.course-line::before {
  content: "";
  position: absolute;
  right: 5%;
  top: 46%;
  width: 44%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--mint), var(--magenta));
  transform: rotate(-22deg);
  box-shadow: 0 0 22px rgba(83, 225, 214, 0.66);
}

.waypoint {
  color: rgba(248, 251, 255, 0.72);
  border-color: rgba(126, 169, 207, 0.22);
  background: rgba(8, 23, 43, 0.72);
  backdrop-filter: blur(14px);
}

.hero-goal {
  position: absolute;
  min-width: 178px;
  padding: 14px 18px;
  border: 1px solid rgba(126, 169, 207, 0.34);
  border-radius: 10px;
  background: rgba(8, 23, 43, 0.58);
  color: rgba(248, 251, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.hero-goal-top {
  top: 16%;
  right: 2%;
}

.hero-goal-bottom {
  right: 7%;
  bottom: 18%;
}

.trust-bar {
  padding: 0 0 30px;
}

.trust-grid {
  grid-template-columns: 1.15fr 1.15fr 1.25fr repeat(5, 0.8fr);
  gap: 0;
  border-color: rgba(126, 169, 207, 0.24);
  background: rgba(11, 28, 52, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.trust-grid span {
  min-height: 76px;
  background: transparent;
  color: rgba(248, 251, 255, 0.86);
  border-right: 1px solid rgba(126, 169, 207, 0.14);
}

.trust-grid span:first-child {
  color: var(--off);
}

.split-areas {
  padding-top: 6px;
}

.split-areas .section-heading {
  display: none;
}

.area-grid {
  gap: 18px;
}

.area-card {
  min-height: 250px;
  position: relative;
  padding: 46px 44px;
  overflow: hidden;
  border-color: rgba(126, 169, 207, 0.18);
  background:
    radial-gradient(circle at 13% 24%, rgba(226, 10, 79, 0.22), transparent 7rem),
    linear-gradient(135deg, rgba(16, 39, 69, 0.9), rgba(9, 23, 43, 0.88));
  color: var(--off);
}

.area-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -44px 40%;
  height: 160px;
  background:
    repeating-radial-gradient(ellipse at center, transparent 0 16px, rgba(226, 10, 79, 0.34) 17px 18px, transparent 19px 34px);
  opacity: 0.65;
}

.area-card-dark {
  background:
    radial-gradient(circle at 12% 24%, rgba(83, 225, 214, 0.2), transparent 7rem),
    linear-gradient(135deg, rgba(16, 39, 69, 0.92), rgba(9, 23, 43, 0.88));
}

.area-card-dark::after {
  background:
    linear-gradient(135deg, transparent 0 45%, rgba(83, 225, 214, 0.55) 46% 47%, transparent 48%),
    repeating-linear-gradient(155deg, transparent 0 20px, rgba(83, 225, 214, 0.2) 21px 22px, transparent 23px 42px);
}

.area-card p,
.area-card-dark p {
  max-width: 420px;
  color: rgba(248, 251, 255, 0.74);
}

.feature-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(226, 10, 79, 0.2);
  border: 1px solid rgba(226, 10, 79, 0.52);
  color: var(--off);
  font-size: 2rem;
  box-shadow: inset 0 0 0 8px rgba(226, 10, 79, 0.12), 0 0 42px rgba(226, 10, 79, 0.22);
}

.feature-icon-mint {
  background: rgba(83, 225, 214, 0.16);
  border-color: rgba(83, 225, 214, 0.5);
  box-shadow: inset 0 0 0 8px rgba(83, 225, 214, 0.1), 0 0 42px rgba(83, 225, 214, 0.18);
}

.area-index {
  display: none;
}

.services {
  padding-top: 28px;
}

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

.services .section-heading p:last-child {
  display: none;
}

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

.service-card,
.article-card,
.testimonial,
.why-item,
.process-step,
.project-form {
  border-color: rgba(126, 169, 207, 0.18);
  background: linear-gradient(145deg, rgba(16, 39, 69, 0.78), rgba(8, 23, 43, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.service-card {
  min-height: 286px;
  padding: 26px 24px;
  gap: 12px;
}

.service-card:nth-child(1),
.service-card:nth-child(4) {
  grid-column: auto;
}

.service-card:nth-child(7) {
  grid-column: 3 / span 2;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(226, 10, 79, 0.2);
  color: var(--off);
  border: 1px solid rgba(226, 10, 79, 0.45);
  font-weight: 900;
  box-shadow: 0 0 34px rgba(226, 10, 79, 0.2);
}

.service-icon-mint {
  background: rgba(83, 225, 214, 0.14);
  border-color: rgba(83, 225, 214, 0.4);
}

.service-icon-gray {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.22);
}

.service-icon-orange {
  background: rgba(237, 90, 23, 0.18);
  border-color: rgba(237, 90, 23, 0.38);
  color: #ff7635;
  font-size: 1.7rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.service-card ul {
  display: none;
}

.service-card a {
  margin-top: auto;
  color: var(--magenta);
}

.service-landing {
  display: none;
}

.portfolio {
  padding-top: 136px;
}

.portfolio .section-heading {
  display: block;
}

.portfolio .section-heading p:last-child {
  display: none;
}

.filters {
  margin: 0 0 28px;
  justify-content: end;
}

.filters button {
  min-height: 42px;
  padding: 8px 15px;
  color: rgba(248, 251, 255, 0.72);
  border-color: rgba(126, 169, 207, 0.24);
  background: rgba(255, 255, 255, 0.02);
}

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

.portfolio-card,
.portfolio-card:nth-child(1),
.portfolio-card:nth-child(4) {
  grid-column: auto;
}

.portfolio-card {
  min-height: 405px;
  border-color: rgba(126, 169, 207, 0.22);
  background: linear-gradient(145deg, rgba(16, 39, 69, 0.76), rgba(7, 19, 35, 0.88));
}

.portfolio-cover {
  min-height: 188px;
  background:
    linear-gradient(rgba(4, 13, 27, 0.1), rgba(4, 13, 27, 0.48)),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.7), transparent 23%),
    linear-gradient(135deg, #dfe8f2, #35455a);
}

.portfolio-cover::before {
  inset: 38px 58px 22px;
  border-radius: 4px;
  background:
    linear-gradient(#0f3158 0 20%, #f8fbff 20% 23%, #0e416e 23% 100%);
  transform: perspective(600px) rotateX(50deg) rotateZ(0deg);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.5);
}

.portfolio-cover span {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 58%;
  height: 8px;
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.64);
  transform: translateX(-50%);
}

.portfolio-cover-miasteczko-witkowice {
  background:
    linear-gradient(rgba(4, 13, 27, 0.1), rgba(4, 13, 27, 0.52)),
    linear-gradient(135deg, #d6e2e6, #65755e 46%, #2d3c30);
}

.portfolio-cover-tct-tools {
  background:
    linear-gradient(rgba(4, 13, 27, 0.2), rgba(4, 13, 27, 0.58)),
    linear-gradient(135deg, #202020, #e6b300 48%, #0e0e10);
}

.portfolio-cover-crm-panel,
.portfolio-cover-google-ads-leady,
.portfolio-cover-allegro-rentownosc {
  background:
    linear-gradient(rgba(4, 13, 27, 0.08), rgba(4, 13, 27, 0.58)),
    radial-gradient(circle at 72% 24%, rgba(83, 225, 214, 0.42), transparent 18%),
    linear-gradient(135deg, #122f4c, #091726 68%);
}

.portfolio-body {
  padding: 24px 24px 22px;
}

.portfolio-body p {
  color: var(--muted);
}

.portfolio-body strong {
  color: var(--magenta);
  font-size: 1.28rem;
}

.portfolio-card li,
.service-card li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(126, 169, 207, 0.16);
  color: rgba(248, 251, 255, 0.72);
}

.why {
  padding-top: 48px;
}

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

.why-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  border: 0;
  overflow: visible;
}

.why-item {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.why-item span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(226, 10, 79, 0.55);
  border-radius: 50%;
  color: var(--magenta);
}

.why-item h3 {
  color: var(--off);
  font-size: 1.02rem;
}

.why-item p {
  margin-top: 8px;
  font-size: 0.9rem;
}

.process {
  padding-top: 20px;
}

.process-shell {
  display: block;
}

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

.process-track {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  display: grid;
  gap: 18px;
  padding: 60px 0 0;
}

.process-track::before {
  left: 3%;
  right: 3%;
  top: 28px;
  width: auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(226, 10, 79, 0.78), rgba(83, 225, 214, 0.66), rgba(226, 10, 79, 0.78));
}

.process-fill {
  display: none;
}

.process-step {
  min-height: 166px;
  padding: 26px 20px 22px;
  background: transparent;
  border: 0;
}

.process-step span {
  left: 0;
  top: -54px;
  width: 74px;
  height: 74px;
  background: rgba(8, 23, 43, 0.92);
  border: 1px solid rgba(226, 10, 79, 0.7);
  color: var(--magenta);
  font-size: 1rem;
}

.process-step:nth-child(4) span,
.process-step:nth-child(6) span {
  border-color: rgba(83, 225, 214, 0.58);
  color: var(--mint);
}

.tech {
  padding: 34px 0;
  border-top: 1px solid rgba(126, 169, 207, 0.12);
  border-bottom: 1px solid rgba(126, 169, 207, 0.12);
}

.tech .section-heading {
  margin-inline: auto;
  text-align: center;
  margin-bottom: 20px;
}

.tech-grid {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  border: 0;
  gap: 0;
}

.tech-grid span {
  min-height: 64px;
  padding: 10px 16px;
  color: rgba(248, 251, 255, 0.72);
  border-right: 1px solid rgba(126, 169, 207, 0.18);
  background: transparent;
  font-size: 0.94rem;
}

.testimonials {
  padding-top: 54px;
}

.testimonials .section-heading,
.knowledge .section-heading {
  margin-inline: auto;
  text-align: center;
}

.testimonial-grid,
.article-grid {
  gap: 14px;
}

.testimonial,
.article-card {
  background: linear-gradient(145deg, rgba(16, 39, 69, 0.7), rgba(8, 23, 43, 0.78));
}

.testimonial blockquote {
  color: rgba(248, 251, 255, 0.86);
}

.testimonial span,
.article-card small {
  color: var(--muted);
}

.knowledge {
  display: none;
}

.contact {
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at 88% 38%, rgba(226, 10, 79, 0.42), transparent 24rem),
    linear-gradient(135deg, rgba(20, 38, 72, 0.98), rgba(11, 22, 42, 0.94));
}

.contact .shell {
  border: 1px solid rgba(126, 169, 207, 0.16);
  border-radius: 28px;
  padding: 54px 64px;
  background:
    radial-gradient(circle at 91% 42%, rgba(226, 10, 79, 0.22), transparent 18rem),
    rgba(8, 23, 43, 0.46);
}

.contact-grid {
  gap: 64px;
}

.project-form {
  background: rgba(4, 13, 27, 0.52);
  backdrop-filter: blur(14px);
}

input,
textarea,
select {
  background: rgba(3, 10, 20, 0.74);
}

.site-footer {
  background: #020813;
  border-top: 1px solid rgba(126, 169, 207, 0.12);
}

.cookie-banner {
  background: rgba(8, 23, 43, 0.96);
  color: var(--off);
  border-color: rgba(126, 169, 207, 0.22);
}

.dialog-close {
  background: var(--ocean);
  color: var(--off);
  border-color: rgba(126, 169, 207, 0.22);
}

dialog {
  background: #061326;
  color: var(--off);
}

.case-meta div {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(126, 169, 207, 0.16);
}

.case-section p,
.case-section li {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .service-grid,
  .portfolio-grid,
  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card:nth-child(7) {
    grid-column: auto;
  }

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

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 28px, 1320px);
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: 3.28rem;
  }

  h2 {
    font-size: 2.08rem;
  }

  h3 {
    font-size: 1.26rem;
  }

  .hero {
    padding-top: 104px;
  }

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

  .hero-visual {
    min-height: 312px;
    order: 2;
  }

  .hero-symbol {
    width: 74%;
  }

  .hero-goal,
  .waypoint {
    display: none;
  }

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

  .area-grid,
  .service-grid,
  .portfolio-grid,
  .testimonial-grid,
  .why-grid,
  .process-track,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .area-card {
    padding: 28px;
  }

  .service-card {
    min-height: 0;
  }

  .portfolio .section-heading {
    display: block;
  }

  .filters {
    margin-top: 0;
    justify-content: start;
  }

  .process-track {
    padding-top: 0;
  }

  .process-track::before {
    display: none;
  }

  .process-step {
    padding-left: 86px;
  }

  .process-step span {
    top: 22px;
    left: 0;
  }

  .tech-grid span {
    border-right: 0;
    border-bottom: 1px solid rgba(126, 169, 207, 0.14);
  }

  .contact .shell {
    padding: 28px 18px;
    border-radius: 18px;
  }

  .cookie-banner {
    bottom: 12px;
  }
}
