main.site-main.front-page-template {
  position: relative;
  z-index: 2;
  overflow: clip;
}

/* Fixed 3D stage behind content */

.stage {
    position: fixed;
    inset: 0;
    z-index: 3;
    overflow: hidden;
}

.stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

#wrap {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.front-page-template section:not(.hero) {
  position: relative;
}

.front-page-template section:not(.hero) .container {
  padding-top: 72px;
  padding-bottom: 72px;
}

.front-page-template .section-content {
  position: relative;
  z-index: 1;
}

.front-page-template ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.front-page-template .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  background: var(--bg);
}

body.admin-bar .hero {
  min-height: calc(100vh - 32px);
  margin-top: -32px;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero .container {
    min-height: 100vh;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  min-height: calc(100svh - 220px);
}

.hero-col {
  position: relative;
  z-index: 2;
}

.hero .section-title {
  margin: 0 0 24px;
}

.hero .section-description {
  max-width: 680px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero .bg-overlay {
  background: #e0e3ea;
  
  /*background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;*/
}

.hero .bg-overlay img {
    max-width: 640px;
    position: absolute;
    display: block;
    bottom: 0;
    right: 0;
}

/* About */

#about .container {
  padding-top: 240px;
  padding-bottom: 120px;
}

/* Brief form */

.cta-with-separators {
  position: relative;
  margin-top: 80px;
}

.cta-with-separators .separator {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  z-index: 5;

  /* shift by half of its own height */
  transform: translateY(-50%);
}

.cta-with-separators .separator.top {
  top: 0;
}

.cta-with-separators .separator.bottom {
  bottom: 0;
  transform: translateY(50%);
}

/* optional: so the section sits below/above the overlay nicely */
.cta-with-separators .cta {
  position: relative;
  z-index: 1;
}

#brief-form {
    padding: 120px 0;
    background: url(../img/blue-paper.webp);
    background-size: 400px;
}

/* OIlympiads */

.olympiads-logos {
  padding: 40px 0;
}

.olympiad-logo-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.olympiad-logo-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;

  padding: 20px 16px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.04);

  transition: all 0.25s ease;
}

.olympiad-logo-list li:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

/* Logo wrapper feel without extra markup */
.olympiad-logo-list .stat-image {
  width: 64px;
  height: 64px;
  object-fit: contain;

  padding: 10px;
  border-radius: 12px;

  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Title */
.olympiad-logo-list h3 {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
}

/* Subtitle */
.olympiad-logo-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: #6b6b6b;

  max-width: 140px;
}

/* Better spacing if no <p> exists */
.olympiad-logo-list li:not(:has(p)) h3 {
  margin-bottom: 6px;
}

/* Shared cards and lists */

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.card-tag {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(22, 75, 153, 0.08);
  color: #164b99;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-group,
.support-card,
.wordpress-block,
.drupal-block,
.cms-card,
.stat-card,
.process-step,
.section-form {
  position: relative;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.support-card,
.wordpress-block,
.drupal-block,
.cms-card,
.stat-card,
.process-step {
  padding: 28px;
}

.service-group {
  padding: 30px;
}

.accent-card {
  background:
    radial-gradient(circle at top left, rgba(57, 160, 237, 0.16), transparent 48%),
    linear-gradient(160deg, rgba(22, 75, 153, 0.94), rgba(13, 33, 64, 0.96));
  color: #f8fbff;
  border-color: rgba(255, 255, 255, 0.12);
}

.accent-card h3,
.accent-card p {
  color: inherit;
}

/* Partners */

.partners-marquee {
  --partners-marquee-height: clamp(112px, 14vw, 176px);
  --partners-marquee-duration: 42s;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: var(--partners-marquee-height);
  padding: 0;
  overflow: hidden;
}

.partners-marquee__viewport {
  width: 100%;
  overflow: hidden;
}

.partners-marquee__track {
  display: flex;
  width: max-content;
  animation: partners-marquee-scroll var(--partners-marquee-duration) linear infinite;
  will-change: transform;
}

.partners-marquee__image {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: var(--partners-marquee-height);
  max-width: none;
}

@keyframes partners-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee__track {
    animation: none;
  }
}

/* Website development */

.website-development {
  --website-dev-top-offset: 134px;
}

.website-development .container {
    padding-top: 240px !important;
}

body.admin-bar .website-development {
  --website-dev-top-offset: 166px;
}

section.website-development {
    position: relative;
    display: grid;
    background-color: rgba(13, 36, 53, 0);
}

section.website-development > .container {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
}

.website-dev-stack {
  display: grid;
  gap: clamp(72px, 10vh, 128px);
  padding-bottom: 6vh;
}

.website-dev-card {
    position: sticky;
    top: var(--website-dev-top-offset);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    min-height: 560px;
    padding: 34px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 28px;
    background: #fff;
    overflow: hidden;
    transform-origin: center top;
}

.website-dev-card > * {
  position: relative;
  z-index: 1;
}

.website-dev-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.website-dev-card__intro,
.website-dev-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.website-dev-card__index,
.website-dev-card__eyebrow,
.website-dev-card__meta span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
}

.website-dev-card__index {
    border: 1px solid rgba(22, 75, 153, 0.16);
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.website-dev-card__eyebrow,
.website-dev-card__meta span {
  background: rgba(22, 75, 153, 0.08);
  color: #264768;
  font-size: 13px;
  font-weight: 600;
}

.website-dev-card__copy {
  display: grid;
  gap: 18px;
}

.website-dev-card__copy h3 {
    margin: 0;
}

.website-dev-card__copy h3 a {
  color: inherit;
  text-decoration: none;
}

.website-dev-card__copy p,
.website-dev-card__list {
  margin: 0;
  color: #5a6778;
}

.website-dev-card__copy p {
    font-size: 1.05em;
}

.website-dev-card__list {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.website-dev-card__list li {
  position: relative;
  padding-left: 24px;
}

.website-dev-card__list li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 18px;
  height: 18px;
  background: url('../img/icons/checkmark.svg') center / contain no-repeat;
}

.website-dev-card__visual {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.website-dev-card__visual .btn {
    position: absolute;
    bottom: 20px;
    right: 0;
    z-index: 2;
    background: #fff;
    border-radius: 100px;
    right: 20px;
}

.website-dev-card__visual .desktop-preview {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    box-shadow: 0 0 30px -10px rgba(0, 0, 0, 0.2);
    outline: 2px solid #fff;
    outline-offset: 4px;
    z-index: 1;
}

.website-dev-visual {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(16, 24, 38, 0.94), rgba(18, 37, 62, 0.98));
  overflow: hidden;
}

.website-dev-visual__bar {
  width: 42%;
  height: 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7dd3fc, rgba(255, 255, 255, 0.1));
}

.website-dev-visual__screen {
  position: absolute;
  inset: 68px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.website-dev-visual__hero,
.website-dev-visual__columns span,
.website-dev-visual__timeline span,
.website-dev-visual__cards span,
.website-dev-visual__chart,
.website-dev-visual__grid span {
  position: absolute;
  border-radius: 18px;
}

.website-dev-visual--landing .website-dev-visual__hero {
  inset: 12% 10% auto 10%;
  height: 28%;
  background:
    linear-gradient(135deg, rgba(125, 211, 252, 0.7), rgba(57, 160, 237, 0.18)),
    rgba(255, 255, 255, 0.04);
}

.website-dev-visual__grid span:nth-child(1) {
  inset: 48% 58% 18% 10%;
  background: rgba(255, 255, 255, 0.08);
}

.website-dev-visual__grid span:nth-child(2) {
  inset: 48% 10% 18% 60%;
  background: rgba(125, 211, 252, 0.18);
}

.website-dev-visual__grid span:nth-child(3) {
  inset: 82% 58% 8% 10%;
  background: rgba(255, 255, 255, 0.05);
}

.website-dev-visual__grid span:nth-child(4) {
  inset: 82% 10% 8% 60%;
  background: rgba(255, 255, 255, 0.05);
}

.website-dev-visual--corporate .website-dev-visual__columns span:nth-child(1) {
  inset: 12% 54% 40% 10%;
  background: rgba(255, 255, 255, 0.08);
}

.website-dev-visual--corporate .website-dev-visual__columns span:nth-child(2) {
  inset: 12% 10% 40% 58%;
  background: rgba(218, 179, 49, 0.18);
}

.website-dev-visual--corporate .website-dev-visual__timeline span:nth-child(1) {
  inset: 68% 12% auto 12%;
  height: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.website-dev-visual--corporate .website-dev-visual__timeline span:nth-child(2) {
  inset: 76% 12% auto 12%;
  height: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.website-dev-visual--corporate .website-dev-visual__timeline span:nth-child(3) {
  inset: 84% 12% auto 12%;
  height: 16px;
  background: rgba(218, 179, 49, 0.18);
}

.website-dev-visual--shop .website-dev-visual__cards span:nth-child(1) {
  inset: 12% 62% 46% 10%;
  background: rgba(255, 255, 255, 0.09);
}

.website-dev-visual--shop .website-dev-visual__cards span:nth-child(2) {
  inset: 12% 36% 46% 36%;
  background: rgba(255, 255, 255, 0.07);
}

.website-dev-visual--shop .website-dev-visual__cards span:nth-child(3) {
  inset: 12% 10% 46% 62%;
  background: rgba(255, 255, 255, 0.09);
}

.website-dev-visual--shop .website-dev-visual__chart {
  inset: 60% 10% 12% 10%;
  background:
    linear-gradient(180deg, transparent 78%, rgba(255, 255, 255, 0.06) 78%),
    linear-gradient(90deg, transparent 8%, rgba(125, 211, 252, 0.55) 8% 16%, transparent 16% 28%, rgba(218, 179, 49, 0.62) 28% 36%, transparent 36% 50%, rgba(125, 211, 252, 0.82) 50% 58%, transparent 58% 72%, rgba(255, 255, 255, 0.22) 72% 80%, transparent 80%);
}

.service-grid,
.platform-grid,
.support-grid,
.support-layout {
  display: grid;
  gap: 24px;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.process-step {
  overflow: hidden;
}

.process-step__index {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.22em;
}

.process-step h3,
.support-checklist h3,
.support-card h3,
.wordpress-block h3,
.drupal-block h3,
.cms-card h3,
.stat-card strong {
  margin: 0 0 14px;
}

.service-group p,
.support-card p,
.wordpress-block p,
.drupal-block p,
.cms-card p,
.stat-card span,
.process-step p {
  margin: 0;
  color: #5c6a7b;
}

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

.services {
  --service-bg: #0f1623;
  --service-bg-soft: #131d2e;
  --service-surface: rgba(255, 255, 255, 0.05);
  --service-border: rgba(255, 255, 255, 0.1);
  --service-text: #ffffff;
  --service-muted: #c2bab3;
  --service-accent: #dab331;
}

.product-card {
  display: grid;
  gap: 26px;
  padding: 34px;
  min-height: 420px;
  border: 1px solid var(--service-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(218, 179, 49, 0.08), transparent 22%),
    linear-gradient(160deg, var(--service-bg), var(--service-bg-soft));
  box-shadow: 0 28px 80px rgba(5, 10, 18, 0.28);
}

.product-card[data-service="corporate"] {
  background:
    radial-gradient(circle at top right, rgba(218, 179, 49, 0.1), transparent 28%),
    linear-gradient(160deg, #101826, #162334 60%, #15273a);
}

.product-card[data-service="ecommerce"] {
  background:
    radial-gradient(circle at top left, rgba(218, 179, 49, 0.1), transparent 26%),
    linear-gradient(160deg, #0f1724, #162133 55%, #101b2a);
}

.product-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.product-header__main h3 {
  margin: 14px 0 10px;
  color: var(--service-text);
}

.product-header__main p {
  margin: 0;
  color: var(--service-muted);
  font-size: 18px;
}

.dev-deadline {
  color: #fff;
  line-height: 1.65;
  text-align: right;
  font-size: 20px;
}

.dev-deadline .colored {
  display: inline-block;
  margin: 6px 3px;
  padding: 0 6px;
  border-radius: 4px;
  outline: 1.5px solid var(--service-accent);
  outline-offset: 1px;
  color: var(--service-accent);
  font-weight: 500;
  line-height: 1.5;
}

.product-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

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

.topbar-toggles .toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--service-muted);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s ease-in-out;
}

.topbar-toggles .toggle-btn:hover,
.topbar-toggles .toggle-btn.active {
  color: #fff;
  cursor: pointer;
  border-bottom-color: var(--service-accent);
}

.product-panel {
  display: none;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--service-surface);
}

.product-panel.active {
  display: grid;
}

.product-panel h4,
.step-card h5,
.portfolio-item strong {
  margin: 0;
}

.product-panel h4 {
  color: var(--service-accent);
  font-size: 22px;
}

.product-panel p,
.portfolio-item p,
.step-card p {
  margin: 0;
  color: var(--service-muted);
}

.benefits {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0 0 30px;
  color: var(--service-accent);
  font-weight: 500;
}

.not-included {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 300;
}

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

.step-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  min-height: 220px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-name {
  color: var(--service-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step-card h5 {
  font-size: 20px;
  line-height: 1.25;
  color: var(--service-text);
}

.portfolio-grid {
  display: grid;
  gap: 14px;
}

.portfolio-item {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item__type {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-item strong {
  color: var(--service-text);
}

.product-footer {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  gap: 16px;
}

.product-footer .price-col {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.product-footer .fixed-price {
  display: flex;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 300;
}

.product-footer .action-col {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.product-footer .current-price {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}

.product-footer .current-price .prefix {
  font-size: 18px;
  font-weight: 500;
  color: #ccc;
}

.product-footer .order-btn {
  display: inline-flex;
  min-height: 56px;
  padding: 0 24px;
  align-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--service-accent) !important;
  font-weight: 600;
  font-size: 18px;
  outline: 2px solid rgba(255, 255, 255, 0.15);
  outline-offset: 4px;
  transition: all 0.25s ease-in-out;
}

.product-footer .order-btn:hover {
  color: #fff !important;
  outline: 2px solid var(--service-accent);
  outline-offset: 2px;
}

.product-footer .info-btn {
  display: inline-flex;
  min-height: 56px;
  padding: 0 24px;
  align-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--service-muted) !important;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease-in-out;
}

.product-footer .info-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

/* General section */

.general {
  overflow: hidden !important;
}

.general .container {
  padding-top: 40px;
}

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

.stat-card {

}

.stat-card::before,
.stat-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 60px;
}

#stat1::before {
  top: -20px;
  left: -40px;
  transform: rotate(-16deg);
  background: url('../img/tape/tape-1.webp');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

#stat2::before {
  top: -20px;
  left: 80px;
  transform: rotate(9deg);
  background: url('../img/tape/tape-7.webp');
  width: 120px;
  height: 50px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

#stat2::after {
  bottom: -38px;
  right: 40px;
  transform: rotate(-6deg);
  background: url('../img/tape/tape-6.webp');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

#stat3::before {
  top: -30px;
  right: 120px;
  transform: rotate(6deg);
  background: url('../img/tape/tape-9.webp');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.stat-card img.stat-image {
    max-width: 110px;
    height: auto;
    width: 100%;
    margin: 0 auto 30px;
}

.stat-card strong {
  display: block;
  color: #172334;
  font-size: 22px;
  text-align: center;
}

.stat-card span {
    position: relative;
    display: block;
    text-align: center;
}

/* Forms */

.section-form input,
.section-form textarea,
.section-form select {
  width: 100%;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero {
    min-height: 90vh;
  }

  .hero-split {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .front-page-template section:not(.hero) .container {
      padding-top: 54px;
      padding-bottom: 54px;
    }

  .cta-shell,
  .process-strip,
  .general-layout,
  .platform-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .website-development {
    --website-dev-top-offset: 96px;
  }

  .website-dev-stack {
    padding-bottom: 0;
  }

  .website-dev-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 24px;
  }

  .cms-card {
    min-height: 420px;
  }

  .front-portfolio .portfolio-projects-swiper .swiper-slide {
    flex-basis: calc((100% - 24px) / 2);
  }

  .website-dev-card::before {
    display: none;
  }

  .website-dev-card__content {
    gap: 20px;
  }

  .website-dev-card__copy p,
  .website-dev-card__list {
    font-size: 16px;
  }

  .support-showcase__panel {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .support-showcase__step + .support-showcase__step {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

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

  .product-header,
  .product-sections {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-footer,
  .product-footer .action-col {
    flex-direction: column;
    align-items: stretch;
  }

  .dev-deadline {
    text-align: left;
  }

  .cta .section-form {
    padding: 24px;
  }

  .cta-grid-overlay__mesh {
    background-size: var(--cta-grid-size) var(--cta-grid-size);
    opacity: 0.65;
  }

  .cta-shell {
    --cta-grid-size: 34px;
  }

  .cta-form-frame {
    --trace-padding: 5px;
  }
}

@media (max-width: 767px) {
  .front-page-template .section-header {
      margin-bottom: 22px;
      gap: 30px;
  }

  body.admin-bar .hero {
    min-height: calc(100vh - 32px);
    margin-top: 0;
  }

  .hero .container {
      padding-top: 144px;
      padding-bottom: 60px;
  }

  .hero .bg-overlay img {
    max-width: 80vw;
  }

  .hero-split {
    min-height: auto;
  }

  .cta-shell {
    overflow: visible;
    --cta-grid-size: 20px;
  }

  .front-portfolio .portfolio-timeline-wrap {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
    margin-bottom: 26px;
  }

  .front-portfolio .portfolio-timeline__arrow {
    width: 40px;
    height: 40px;
  }

  .front-portfolio .portfolio-timeline__point {
    width: 104px;
  }

  .front-portfolio .portfolio-projects-swiper .swiper-slide {
    flex-basis: 100%;
  }

  .front-portfolio .portfolio-card__logo-link {
    min-height: 180px;
    padding: 26px;
  }

  .front-portfolio .portfolio-card__body {
    padding: 18px;
  }

  .cta-copy {
    padding: 0;
  }

  .cta-points {
    flex-direction: row;
    flex-wrap: nowrap;
    width: calc(100% + 44px);
    transform: translateX(-22px);
    padding: 0 22px 10px;
    overflow-x: auto;
    -ms-overflow-x: hidden; 
    scrollbar-width: none; 
  }

  .cta-points::-webkit-scrollbar { 
    display: none; 
  }

  .cta-points span {
      display: flex;
      min-width: fit-content;
  }

  .support-card,
  .wordpress-block,
  .drupal-block,
  .stat-card,
  .process-step {
    padding: 22px;
  }

  .support-showcase__flow {
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  .support-showcase__ticket,
  .support-showcase__slot {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .support-showcase__step {
    min-height: 360px;
    padding: 28px 22px 0;
  }

  .support-showcase__cta {
    width: 100%;
    min-width: 0;
  }

  .website-development {
    --website-dev-top-offset: 94px !important;
  }

  .website-dev-stack {
    gap: 30px;
  }

  .website-dev-card {
    display: flex;
    position: relative;
    top: auto;
    padding: 20px;
    border-radius: 22px;
    flex-direction: column-reverse;
  }

  #brief-form {
      padding: 30px 0 40px;
  }

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

  .website-dev-card__meta span,
  .website-dev-card__eyebrow {
    font-size: 12px;
  }

  .cta-points span,
  .map-caption {
    font-size: 14px;
  }

  .cta-grid-overlay__mesh {
    background-size: var(--cta-grid-size) var(--cta-grid-size);
    mask-image: radial-gradient(circle at 50% 65%, rgba(0, 0, 0, 0.8), transparent 88%);
  }

  .cta-grid-overlay__focus {
    background:
      radial-gradient(circle at 50% 68%, rgba(225, 183, 63, 0.16), transparent 20%),
      radial-gradient(circle at 50% 68%, rgba(22, 75, 153, 0.12), transparent 34%);
  }

  .cta-form-frame {
    --trace-padding: 4px;
  }

  .product-card {
    padding: 24px;
  }

  .product-panel {
    padding: 20px;
  }

  .product-footer .order-btn,
  .product-footer .info-btn {
    width: 100%;
    justify-content: center;
  }

  .product-footer .fixed-price,
  .product-footer .current-price {
    justify-content: center;
    text-align: center;
  }

  #about .container {
      padding-top: 100px;
      padding-bottom: 0;
  }

  .general-stats {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      width: calc(100% + 40px);
      transform: translateX(-22px);
      padding: 50px 20px;
      gap: 18px;
      overflow-x: scroll;
      -ms-overflow-x: hidden;
      scrollbar-width: none;
  }

  .general-stats::-webkit-scrollbar { 
    display: none; 
  }

  .stat-card {
      min-width: 320px;
      max-width: 65vw;
      box-shadow: none;
  }

  .map-point span {
    padding: 5px 10px;
    font-size: 12px;
  }

  .map-caption {
    left: 18px;
    right: 18px;
    max-width: none;
    bottom: 18px;
  }
}
