/*
Theme Name: Dcode Template
Theme URI: https://sigmacode.it/
Author: Dcode
Author URI: https://sigmacode.it/
Description: Minimal full custom theme for Dcode.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: dcode-template
*/

:root {
  --dcode-bg: #050505;
  --dcode-bg-soft: #101010;
  --dcode-surface: rgba(12, 12, 12, 0.9);
  --dcode-surface-strong: #171717;
  --dcode-border: rgba(255, 255, 255, 0.08);
  --dcode-text: #f5f5f5;
  --dcode-text-soft: rgba(245, 245, 245, 0.72);
  --dcode-accent: #c6ff00;
  --dcode-accent-hover: #d4ff3f;
  --dcode-max: 1280px;
  --dcode-radius: 8px;
  --dcode-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
  background-color: #050505;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  padding-top: 0;
  background:
    radial-gradient(
      circle at top center,
      rgba(229, 9, 20, 0.15),
      transparent 28%
    ),
    linear-gradient(180deg, #0a0a0a 0%, #030303 100%);
  color: var(--dcode-text);
  font-family: "Inter", "Segoe UI", sans-serif;
}

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dcode-site {
  min-height: 100vh;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.dcode-container {
  width: min(calc(100% - 32px), var(--dcode-max));
  margin: 0 auto;
}

.dcode-header {
  position: relative;
  width: 100%;
  z-index: 50;
  padding: 0;
  padding-top: env(safe-area-inset-top, 0px);
  min-height: 82px;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dcode-header .dcode-container {
  position: relative;
  width: min(calc(100% - 32px), 1440px);
}

.dcode-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 82px;
  padding: 14px 20px;
  border-radius: 0;
  background: transparent;
}

.dcode-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex-shrink: 0;
  line-height: 0;
}

.dcode-logo__image {
  width: auto;
  height: auto;
  max-width: 50%;
  max-height: 36px;
}

.dcode-mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--dcode-text);
  cursor: pointer;
}

.dcode-mobile-nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  border-radius: 8px;
  background: currentColor;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.dcode-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.dcode-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.dcode-nav__item,
.dcode-nav .menu-item {
  position: relative;
}

.dcode-nav__link,
.dcode-dropdown__trigger,
.dcode-nav .menu-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 4px;
  padding: 10px 4px;
  color: var(--dcode-text-soft);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 160ms ease;
}

.dcode-nav__link:hover,
.dcode-dropdown:hover > .dcode-dropdown__trigger,
.dcode-dropdown:focus-within > .dcode-dropdown__trigger,
.dcode-nav .current-menu-item > a,
.dcode-nav .current-menu-parent > a,
.dcode-nav .menu-item > a:hover {
  color: var(--dcode-text);
}

body:not(.home) .dcode-nav__link:hover,
body:not(.home) .dcode-dropdown:hover > .dcode-dropdown__trigger,
body:not(.home) .dcode-dropdown:focus-within > .dcode-dropdown__trigger,
body:not(.home) .dcode-nav .current-menu-item > a,
body:not(.home) .dcode-nav .current-menu-parent > a,
body:not(.home) .dcode-nav .menu-item > a:hover {
  color: var(--dcode-accent);
}

.dcode-dropdown__caret {
  font-size: 0.8rem;
}

.dcode-dropdown__menu,
.dcode-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 260px;
  margin: 0;
  padding: 14px;
  padding-top: 28px;
  border: 1px solid var(--dcode-border);
  border-radius: var(--dcode-radius);
  background: rgba(10, 10, 10, 0.98);
  box-shadow: var(--dcode-shadow);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity 160ms ease,
    visibility 160ms ease;
}

.dcode-dropdown:hover .dcode-dropdown__menu,
.dcode-dropdown:focus-within .dcode-dropdown__menu,
.dcode-nav .menu-item-has-children:hover > .sub-menu,
.dcode-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}

.dcode-dropdown__menu a,
.dcode-nav .sub-menu a {
  display: block;
  padding: 12px 14px 12px 26px;
  border-radius: 12px;
  color: var(--dcode-text-soft);
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.dcode-nav .sub-menu .menu-item > a {
  position: relative;
}

.dcode-dropdown__menu a:hover,
.dcode-nav .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--dcode-text);
}

.dcode-submenu-toggle {
  display: none;
}

.dcode-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--dcode-accent);
  color: #050505;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.dcode-header__cta:hover {
  background: var(--dcode-accent-hover);
  transform: translateY(-1px);
}

.gtranslate_wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  line-height: 1;
  white-space: nowrap;
}

.gtranslate_wrapper a,
.gtranslate_wrapper span {
  color: var(--dcode-text-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.gtranslate_wrapper a:hover,
.gtranslate_wrapper a:focus-visible {
  color: var(--dcode-accent);
}

.gtranslate_wrapper img {
  width: 14px;
  height: 14px;
  border-radius: 8px;
  object-fit: cover;
}

.gtranslate_wrapper .gt_switcher,
.gtranslate_wrapper .gt-selected,
.gtranslate_wrapper .gt-current-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gtranslate_wrapper select {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dcode-text-soft);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  outline: none;
  box-shadow: none;
}

.dcode-header__gtranslate {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.dcode-nav .menu-item-gtranslate {
  display: none !important;
}

.dcode-header__gtranslate div[id^="gtranslate_wrapper_"] {
  position: static !important;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.dcode-header__gtranslate #gt_float_wrapper {
  position: static !important;
  width: auto !important;
  max-width: 100% !important;
}

.dcode-header__gtranslate .gt_switcher,
.dcode-header__gtranslate .gt_selected a,
.dcode-header__gtranslate .gt_option,
.dcode-header__gtranslate .gt_options,
.dcode-header__gtranslate #gt_float_wrapper,
.dcode-header__gtranslate .gt_float_switcher,
.dcode-header__gtranslate .gt_float_switcher .gt_options a,
.dcode-header__gtranslate a.gt_switcher-popup span {
  box-sizing: border-box;
}

.dcode-header__gtranslate .gt_float_switcher {
  display: inline-flex !important;
  align-items: center;
  min-height: 34px;
  max-width: 78px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  font-family: inherit !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.dcode-header__gtranslate .gt_selected,
.dcode-header__gtranslate .gt-selected {
  background: transparent !important;
}

.dcode-header__gtranslate .gt_selected a,
.dcode-header__gtranslate .gt-selected a,
.dcode-header__gtranslate .gt-selected .gt-current-lang {
  background: transparent !important;
  color: var(--dcode-text-soft) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.dcode-header__gtranslate .gt_selected a:hover,
.dcode-header__gtranslate .gt-selected a:hover,
.dcode-header__gtranslate .gt-selected:hover .gt-current-lang {
  background: transparent !important;
  color: var(--dcode-text) !important;
}

.dcode-header__gtranslate .gt-selected {
  position: relative;
  max-width: 100%;
}

.dcode-header__gtranslate .gt-selected .gt-current-lang {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 7px 10px !important;
  color: var(--dcode-text-soft) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
}

.dcode-header__gtranslate .gt-selected:hover .gt-current-lang {
  color: var(--dcode-accent) !important;
}

.dcode-header__gtranslate .gt-selected .gt-lang-code,
.dcode-header__gtranslate a.gt_switcher-popup span {
  display: inline-block;
  max-width: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dcode-header__gtranslate .gt_float_switcher img {
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
  border-radius: 8px;
  object-fit: cover;
}

.dcode-header__gtranslate .gt-selected .gt_float_switcher-arrow {
  position: static !important;
  width: 10px !important;
  height: 10px !important;
  margin-left: 2px;
  opacity: 1;
  filter: hue-rotate(35deg) saturate(2.2) brightness(1.1);
}

.dcode-header__gtranslate .gt_options {
  position: absolute !important;
  top: calc(100% + 10px);
  right: 0;
  left: auto !important;
  min-width: 150px;
  max-width: 190px;
  margin-top: 10px;
  padding: 8px !important;
  border: 1px solid var(--dcode-border) !important;
  border-radius: 16px !important;
  background: rgba(10, 10, 10, 0.98) !important;
  box-shadow: var(--dcode-shadow) !important;
  white-space: normal;
  z-index: 80;
}

.dcode-header__gtranslate .gt_options a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px !important;
  border-radius: 10px;
  color: var(--dcode-text-soft) !important;
  font-size: 0.78rem !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  word-break: break-word;
}

.dcode-header__gtranslate .gt_options a:hover,
.dcode-header__gtranslate .gt_options a.gt-current {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--dcode-text) !important;
}

.dcode-main {
  min-height: calc(100vh - 110px);
  background: #ffffff;
  color: #111111;
}

.dcode-home {
  padding: 56px 0 96px;
}

.dcode-home__content {
  max-width: 980px;
  margin: 0 auto;
}

.dcode-home__title {
  margin: 0 0 24px;
  color: #111111;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.dcode-home .entry-content {
  color: #2a2a2a;
  font-size: 1.05rem;
  line-height: 1.75;
}

.dcode-home .entry-content > *:first-child {
  margin-top: 0;
}

.dcode-home .entry-content > *:last-child {
  margin-bottom: 0;
}

.dcode-homepage-main {
  background:
    radial-gradient(
      circle at top left,
      rgba(198, 255, 0, 0.14),
      transparent 22%
    ),
    radial-gradient(
      circle at top right,
      rgba(229, 9, 20, 0.12),
      transparent 20%
    ),
    linear-gradient(180deg, #090909 0%, #040404 100%);
  color: var(--dcode-text);
}

.dcode-homepage-hero,
.dcode-homepage-section {
  padding: 88px 0;
}

.dcode-homepage-hero {
  padding-top: 104px;
}

.dcode-homepage-hero__grid,
.dcode-homepage-about,
.dcode-homepage-testimonials__top,
.dcode-homepage-cta {
  display: grid;
  gap: 36px;
  align-items: center;
}

.dcode-homepage-hero__grid {
  justify-items: center;
}

.dcode-homepage-hero__copy {
  width: 100%;
  max-width: 980px;
  text-align: center;
}

.dcode-homepage-hero__copy .dcode-section-eyebrow {
  justify-content: center;
}

.dcode-homepage-hero__title,
.dcode-homepage-section__intro h2,
.dcode-homepage-cta h2 {
  margin: 0;
  color: var(--dcode-text);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.dcode-homepage-hero__title {
  max-width: none;
  font-size: clamp(3rem, 6.4vw, 5.6rem);
}

.dcode-homepage-hero__lead,
.dcode-homepage-section__intro p,
.dcode-homepage-card p,
.dcode-homepage-service-card p,
.dcode-homepage-testimonial p,
.dcode-homepage-cta p,
.dcode-homepage-stat span {
  color: var(--dcode-text-soft);
  line-height: 1.8;
}

.dcode-homepage-hero__lead {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 1.06rem;
  margin-left: auto;
  margin-right: auto;
}

.dcode-homepage-hero__actions,
.dcode-homepage-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.dcode-homepage-hero__actions {
  justify-content: center;
}

.dcode-homepage-about__box,
.dcode-homepage-rating,
.dcode-homepage-stat,
.dcode-homepage-card,
.dcode-homepage-service-card,
.dcode-homepage-testimonial,
.dcode-homepage-cta {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--dcode-shadow);
}

.dcode-homepage-section__intro {
  max-width: 820px;
  margin-bottom: 34px;
}

.dcode-homepage-section__intro h2,
.dcode-homepage-cta h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.dcode-homepage-section__intro p {
  margin: 20px 0 0;
}

.dcode-homepage-best,
.dcode-homepage-services,
.dcode-homepage-testimonials {
  display: grid;
  gap: 24px;
}

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

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

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

.dcode-homepage-card,
.dcode-homepage-service-card,
.dcode-homepage-testimonial {
  padding: 30px;
}

.dcode-homepage-card h3,
.dcode-homepage-service-card h3,
.dcode-homepage-testimonial h3 {
  margin: 0 0 14px;
  color: var(--dcode-text);
  font-size: 1.4rem;
  line-height: 1.2;
}

.dcode-homepage-section--soft {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
}

.dcode-homepage-about__box {
  padding: 28px;
}

.dcode-homepage-about__label {
  display: block;
  margin-bottom: 18px;
  color: var(--dcode-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dcode-homepage-points,
.dcode-homepage-service-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dcode-homepage-points li,
.dcode-homepage-service-card__list li {
  position: relative;
  padding-left: 22px;
  color: var(--dcode-text);
  line-height: 1.75;
}

.dcode-homepage-points li + li,
.dcode-homepage-service-card__list li + li {
  margin-top: 10px;
}

.dcode-homepage-points li::before,
.dcode-homepage-service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dcode-accent);
}

.dcode-homepage-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dcode-homepage-stat {
  padding: 30px;
}

.dcode-homepage-stat strong,
.dcode-homepage-rating strong {
  display: block;
  margin-bottom: 10px;
  color: var(--dcode-text);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.dcode-homepage-service-card__number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--dcode-accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.dcode-homepage-service-card__list {
  margin-top: 18px;
}

.dcode-homepage-rating {
  padding: 26px 28px;
  justify-self: end;
  text-align: left;
}

.dcode-homepage-testimonial p,
.dcode-homepage-testimonial h3 {
  margin: 0;
}

.dcode-homepage-testimonial h3 {
  margin-top: 18px;
  color: var(--dcode-accent);
  font-size: 1rem;
}

.dcode-homepage-section--cta {
  padding-bottom: 110px;
}

.dcode-homepage-cta {
  padding: 34px;
}

.dcode-home-main {
  background:
    radial-gradient(
      circle at top left,
      rgba(198, 255, 0, 0.12),
      transparent 22%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(229, 9, 20, 0.12),
      transparent 24%
    ),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  color: var(--dcode-text);
}

.dcode-home-portfolio {
  padding: 96px 0 86px;
}

.dcode-home-portfolio__intro {
  display: block;
  margin-bottom: 40px;
  text-align: center;
}

.dcode-home-portfolio__intro .dcode-section-eyebrow {
  justify-content: center;
  margin-inline: auto;
}

.dcode-home-portfolio__title {
  margin: 0;
  max-width: none;
  color: var(--dcode-text);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.dcode-home-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 34px;
}

.dcode-portfolio-card {
  min-width: 0;
  grid-column: span 4;
}

.dcode-portfolio-reveal-enabled .dcode-portfolio-card--reveal {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  filter: blur(10px);
  transition:
    opacity 300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 300ms ease;
  will-change: opacity, transform, filter;
}

.dcode-portfolio-reveal-enabled .dcode-portfolio-card--reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.dcode-portfolio-card--wide {
  grid-column: span 8;
}

.dcode-portfolio-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  border: 1px solid var(--dcode-border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--dcode-shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.dcode-portfolio-card__link:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 255, 0, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.dcode-portfolio-card__visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  isolation: isolate;
  min-height: 300px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(198, 255, 0, 0.12), transparent 45%),
    radial-gradient(
      circle at bottom left,
      rgba(255, 255, 255, 0.08),
      transparent 26%
    ),
    linear-gradient(180deg, #171717 0%, #0d0d0d 100%);
}

.dcode-portfolio-card--wide .dcode-portfolio-card__visual {
  min-height: 360px;
}

.dcode-portfolio-card:nth-child(2) .dcode-portfolio-card__visual {
  background:
    linear-gradient(145deg, rgba(229, 9, 20, 0.16), transparent 45%),
    radial-gradient(
      circle at bottom left,
      rgba(255, 255, 255, 0.08),
      transparent 26%
    ),
    linear-gradient(180deg, #171717 0%, #0d0d0d 100%);
}

.dcode-portfolio-card:nth-child(3) .dcode-portfolio-card__visual {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 45%),
    radial-gradient(
      circle at bottom left,
      rgba(198, 255, 0, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, #171717 0%, #0d0d0d 100%);
}

.dcode-portfolio-card:nth-child(4) .dcode-portfolio-card__visual {
  background:
    linear-gradient(145deg, rgba(198, 255, 0, 0.12), transparent 45%),
    radial-gradient(
      circle at bottom left,
      rgba(229, 9, 20, 0.12),
      transparent 24%
    ),
    linear-gradient(180deg, #171717 0%, #0d0d0d 100%);
}

.dcode-portfolio-card__visual--has-image {
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.08) 0%,
      rgba(10, 10, 10, 0.52) 100%
    ),
    linear-gradient(145deg, rgba(198, 255, 0, 0.12), transparent 45%),
    radial-gradient(
      circle at bottom left,
      rgba(255, 255, 255, 0.08),
      transparent 26%
    ),
    var(--dcode-portfolio-image) center / cover no-repeat;
}

.dcode-portfolio-card:nth-child(2) .dcode-portfolio-card__visual--has-image {
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.08) 0%,
      rgba(10, 10, 10, 0.52) 100%
    ),
    linear-gradient(145deg, rgba(229, 9, 20, 0.16), transparent 45%),
    radial-gradient(
      circle at bottom left,
      rgba(255, 255, 255, 0.08),
      transparent 26%
    ),
    var(--dcode-portfolio-image) center / cover no-repeat;
}

.dcode-portfolio-card:nth-child(3) .dcode-portfolio-card__visual--has-image {
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.08) 0%,
      rgba(10, 10, 10, 0.52) 100%
    ),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 45%),
    radial-gradient(
      circle at bottom left,
      rgba(198, 255, 0, 0.08),
      transparent 24%
    ),
    var(--dcode-portfolio-image) center / cover no-repeat;
}

.dcode-portfolio-card:nth-child(4) .dcode-portfolio-card__visual--has-image {
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.08) 0%,
      rgba(10, 10, 10, 0.52) 100%
    ),
    linear-gradient(145deg, rgba(198, 255, 0, 0.12), transparent 45%),
    radial-gradient(
      circle at bottom left,
      rgba(229, 9, 20, 0.12),
      transparent 24%
    ),
    var(--dcode-portfolio-image) center / cover no-repeat;
}

.dcode-portfolio-card__visual::after {
  content: "";
  position: absolute;
  inset: auto 28px 28px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(2px);
  z-index: 0;
}

.dcode-portfolio-card__index {
  color: rgba(255, 255, 255, 0.18);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.dcode-portfolio-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--dcode-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dcode-portfolio-card__content {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 18px;
  padding: 30px 32px 34px;
  min-height: 320px;
}

.dcode-portfolio-card--wide .dcode-portfolio-card__content {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  grid-template-rows: auto auto 1fr;
  align-items: end;
  gap: 24px 36px;
  min-height: 0;
}

.dcode-portfolio-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dcode-portfolio-card__content h2 {
  margin: 0;
  color: var(--dcode-text);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.dcode-portfolio-card__content p {
  margin: 0;
  color: var(--dcode-text-soft);
  font-size: 0.98rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.dcode-portfolio-card--wide .dcode-portfolio-card__meta,
.dcode-portfolio-card--wide .dcode-portfolio-card__content h2 {
  grid-column: 1 / -1;
}

.dcode-portfolio-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--dcode-accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 100%;
}

.dcode-portfolio-card--wide .dcode-portfolio-card__cta {
  justify-self: start;
  align-self: end;
}

@media (prefers-reduced-motion: reduce) {
  .dcode-portfolio-reveal-enabled .dcode-portfolio-card--reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.dcode-home-content {
  padding-top: 0;
  background: transparent;
  color: var(--dcode-text);
}

.dcode-home-content .dcode-home__title,
.dcode-home-content .entry-content {
  color: var(--dcode-text);
}

.dcode-home-content .entry-content {
  color: var(--dcode-text-soft);
}

.dcode-about-main {
  background:
    radial-gradient(
      circle at top left,
      rgba(198, 255, 0, 0.16),
      transparent 24%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(229, 9, 20, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
  color: var(--dcode-text);
}

.dcode-about-hero,
.dcode-about-section {
  padding: 88px 0;
}

.dcode-about-hero {
  position: relative;
  overflow: hidden;
  padding-top: 104px;
}

.dcode-about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 40px;
  align-items: start;
}

.dcode-about-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
  text-align: center;
}

.dcode-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--dcode-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dcode-section-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.dcode-about-hero__title,
.dcode-about-section__intro h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.dcode-about-hero__title {
  max-width: none;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.dcode-about-hero__lead,
.dcode-about-section__intro p,
.dcode-about-card p,
.dcode-team-card__focus,
.dcode-about-stat span {
  color: var(--dcode-text-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.dcode-about-hero__lead {
  max-width: 760px;
  margin: 28px 0 0;
}

.dcode-about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.dcode-about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.dcode-about-button:hover {
  transform: translateY(-1px);
}

.dcode-about-button--primary {
  background: var(--dcode-accent);
  color: #050505;
}

.dcode-about-button--secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--dcode-text);
}

.dcode-about-card,
.dcode-team-card {
  border: 1px solid var(--dcode-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--dcode-shadow);
}

.dcode-about-section--soft {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
}

.dcode-about-section__intro {
  max-width: 820px;
  margin-bottom: 42px;
}

.dcode-about-section__intro--media {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 36px;
}

.dcode-about-section__intro-copy {
  max-width: 820px;
}

.dcode-about-section__intro-media {
  position: relative;
}

.dcode-about-section__intro-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--dcode-shadow);
}

.dcode-about-section__intro h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.dcode-about-section__intro p {
  margin: 22px 0 0;
}

.dcode-about-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.dcode-about-card {
  padding: 30px;
}

.dcode-about-card h3,
.dcode-team-card__content h3 {
  margin: 0 0 14px;
  color: var(--dcode-text);
  font-size: 1.4rem;
  line-height: 1.2;
}

.dcode-about-card p,
.dcode-team-card__focus {
  margin: 0;
}

.dcode-about-card--feature {
  position: relative;
  overflow: hidden;
}

.dcode-about-section--team {
  padding-bottom: 110px;
}

.dcode-case-study-single .dcode-about-hero__title {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.dcode-case-study-single .dcode-about-section__intro h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.dcode-about-section__intro p strong,
.dcode-about-section__intro p b,
.dcode-about-card p strong,
.dcode-about-card p b,
.dcode-about-hero__lead strong,
.dcode-about-hero__lead b,
.dcode-homepage-section__intro p strong,
.dcode-homepage-section__intro p b,
.dcode-homepage-service-card p strong,
.dcode-homepage-service-card p b,
.dcode-homepage-cta p strong,
.dcode-homepage-cta p b,
.dcode-contact-section__intro p strong,
.dcode-contact-section__intro p b,
.dcode-contact-card p strong,
.dcode-contact-card p b,
.dcode-contact-form-shell p strong,
.dcode-contact-form-shell p b,
.dcode-career-benefit__copy p strong,
.dcode-career-benefit__copy p b,
.dcode-career-list li strong,
.dcode-career-list li b,
.dcode-dev-faq__answer p strong,
.dcode-dev-faq__answer p b {
  font-weight: 700;
  color: var(--dcode-text);
}

.dcode-case-study-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dcode-case-study-gallery__item {
  margin: 0;
}

.dcode-case-study-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--dcode-shadow);
}

.dcode-contact-main {
  background:
    radial-gradient(
      circle at top left,
      rgba(198, 255, 0, 0.12),
      transparent 22%
    ),
    radial-gradient(
      circle at top right,
      rgba(229, 9, 20, 0.14),
      transparent 22%
    ),
    linear-gradient(180deg, #0b0b0d 0%, #050505 100%);
  color: var(--dcode-text);
}

.dcode-career-main {
  background:
    radial-gradient(
      circle at top center,
      rgba(198, 255, 0, 0.12),
      transparent 20%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(229, 9, 20, 0.1),
      transparent 26%
    ),
    linear-gradient(180deg, #0b0b0d 0%, #040404 100%);
  color: var(--dcode-text);
}

.dcode-career-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
}

.dcode-career-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 28%,
      rgba(198, 255, 0, 0.14),
      transparent 20%
    ),
    radial-gradient(
      circle at 82% 12%,
      rgba(255, 255, 255, 0.08),
      transparent 16%
    );
  pointer-events: none;
}

.dcode-career-hero__copy {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 46px 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(8, 8, 8, 0.68);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  text-align: center;
  backdrop-filter: blur(12px);
}

.dcode-career-hero__copy .dcode-section-eyebrow {
  justify-content: center;
}

.dcode-career-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.dcode-career-hero__lead {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--dcode-text-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.dcode-career-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

/* ── CAREER BENEFITS ────────────────────────────────────── */

.dcode-career-benefits {
  padding: 72px 0;
  border-bottom: 1px solid var(--dcode-border);
}

.dcode-career-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dcode-career-benefit {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 22px;
  border: 1px solid var(--dcode-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 200ms ease,
    background 200ms ease;
}

.dcode-career-benefit:hover {
  border-color: rgba(198, 255, 0, 0.22);
  background: rgba(198, 255, 0, 0.04);
}

.dcode-career-benefit__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  border-radius: 14px;
  background: rgba(198, 255, 0, 0.1);
}

.dcode-career-benefit__copy h3 {
  margin: 0 0 8px;
  color: var(--dcode-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.dcode-career-benefit__copy p {
  margin: 0;
  color: var(--dcode-text-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── CAREER JOBS SECTION ────────────────────────────────── */

.dcode-career-jobs {
  padding: 88px 0;
}

.dcode-career-section-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.dcode-career-section-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.dcode-career-section-intro p {
  margin: 18px 0 0;
  color: var(--dcode-text-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.dcode-career-jobs__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── JOB ACCORDION (details/summary) ───────────────────── */

.dcode-career-job {
  border: 1px solid var(--dcode-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 200ms ease;
}

.dcode-career-job[open] {
  border-color: rgba(198, 255, 0, 0.28);
  background: rgba(198, 255, 0, 0.03);
}

.dcode-career-job__summary {
  list-style: none;
  padding: 28px 30px;
  cursor: pointer;
  user-select: none;
}

.dcode-career-job__summary::-webkit-details-marker {
  display: none;
}

.dcode-career-job__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dcode-career-job__meta {
  flex: 1;
  min-width: 0;
}

.dcode-career-job__title {
  margin: 0 0 14px;
  color: var(--dcode-text);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.15;
}

.dcode-career-job__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dcode-career-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--dcode-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--dcode-text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.dcode-career-tag--accent {
  border-color: rgba(198, 255, 0, 0.35);
  background: rgba(198, 255, 0, 0.1);
  color: var(--dcode-accent);
}

.dcode-career-job__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--dcode-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--dcode-text-soft);
  transition:
    transform 220ms ease,
    color 200ms ease,
    border-color 200ms ease;
}

.dcode-career-job[open] .dcode-career-job__chevron {
  transform: rotate(180deg);
  color: var(--dcode-accent);
  border-color: rgba(198, 255, 0, 0.35);
}

.dcode-career-job__lead {
  margin: 18px 0 0;
  color: var(--dcode-text-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ── JOB BODY ───────────────────────────────────────────── */

.dcode-career-job__body {
  padding: 0 30px 32px;
  border-top: 1px solid var(--dcode-border);
  margin-top: 0;
  padding-top: 28px;
}

.dcode-career-job__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.dcode-career-job__col h4 {
  margin: 0 0 16px;
  color: var(--dcode-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dcode-career-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dcode-career-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--dcode-text-soft);
  font-size: 0.93rem;
  line-height: 1.65;
}

.dcode-career-list li::before {
  content: "";
  flex-shrink: 0;
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--dcode-accent);
}

.dcode-career-job__nice {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--dcode-border);
}

.dcode-career-job__nice h4 {
  margin: 0 0 14px;
  color: var(--dcode-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dcode-career-list--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.dcode-career-list--inline li {
  padding: 6px 14px;
  border: 1px solid var(--dcode-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  gap: 8px;
}

.dcode-career-list--inline li::before {
  width: 5px;
  height: 5px;
  margin-top: 6px;
}

.dcode-career-job__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--dcode-border);
}

.dcode-career-job__cta-note {
  color: var(--dcode-text-soft);
  font-size: 0.85rem;
}

/* ── CAREER SPONTANEOUS CTA ─────────────────────────────── */

.dcode-career-cta {
  padding: 0 0 100px;
}

.dcode-career-cta__card {
  padding: 64px 48px;
  border: 1px solid var(--dcode-border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(198, 255, 0, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 8, 8, 0.6);
  text-align: center;
}

.dcode-career-cta__card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.dcode-career-cta__card > p {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--dcode-text-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.dcode-career-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.sc_careers_modal[hidden] {
  display: none;
}

.sc_careers_modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sc_careers_modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.82);
  backdrop-filter: blur(10px);
}

.sc_careers_modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: min(90vh, 860px);
  overflow: auto;
  padding: 24px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(8, 8, 8, 0.94);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.45);
}

.sc_careers_modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--dcode-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--dcode-text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.sc_careers_modal__close:hover,
.sc_careers_modal__close:focus {
  border-color: rgba(198, 255, 0, 0.35);
  color: var(--dcode-accent);
}

.sc_careers_modal__eyebrow {
  margin-bottom: 12px;
}

.sc_careers_modal__title {
  margin: 0;
  padding-right: 48px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.sc_careers_modal__lead {
  margin: 10px 0 0;
  color: var(--dcode-text-soft);
  font-size: 0.94rem;
  line-height: 1.62;
}

.sc_careers_modal__selected-job {
  margin: 14px 0 18px;
  font-size: 0.92rem;
  color: var(--dcode-text-soft);
}

.sc_careers_modal__selected-job strong {
  color: var(--dcode-accent);
}

.sc_careers_modal__form_shell {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sc_careers_modal__form_shell .dcode-contact-form-shell__form {
  margin-top: 0;
}

.sc_careers_modal__form_shell .wpforms-form .wpforms-field-container {
  gap: 12px;
}

.sc_careers_modal__form_shell .wpforms-form label.wpforms-field-label,
.sc_careers_modal__form_shell .wpforms-form legend.wpforms-field-label {
  margin-bottom: 6px;
  font-size: 0.82rem;
}

.sc_careers_modal__form_shell .wpforms-form input[type="text"],
.sc_careers_modal__form_shell .wpforms-form input[type="email"],
.sc_careers_modal__form_shell .wpforms-form input[type="tel"],
.sc_careers_modal__form_shell .wpforms-form input[type="number"],
.sc_careers_modal__form_shell .wpforms-form textarea,
.sc_careers_modal__form_shell .wpforms-form select {
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
}

.sc_careers_modal__form_shell .wpforms-form textarea {
  min-height: 116px;
}

.sc_careers_modal__form_shell
  .wpforms-form
  .wpforms-field-name
  .wpforms-field-row {
  gap: 12px;
}

.sc_careers_modal__form_shell .wpforms-form button[type="submit"] {
  min-height: 48px;
  padding: 12px 18px;
  font-size: 0.92rem;
}

.sc_careers_modal__form_shell .wpforms-field-file-upload .wpforms-field-label {
  margin-bottom: 4px;
}

.sc_careers_modal__form_shell .wpforms-field-file-upload .wpforms-uploader {
  min-height: 46px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 22, 0.96),
    rgba(11, 11, 15, 0.98)
  );
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.sc_careers_modal__form_shell .wpforms-field-file-upload .dz-message {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--dcode-text-soft);
}

.sc_careers_modal__form_shell .wpforms-field-file-upload .dz-message svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-bottom: 0;
  color: var(--dcode-accent);
}

.sc_careers_modal__form_shell .wpforms-field-file-upload .modern-title {
  display: inline;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

.sc_careers_modal__form_shell .wpforms-field-file-upload .modern-title span {
  display: inline;
  color: var(--dcode-text);
  font-weight: 600;
}

.sc_careers_modal__form_shell
  .wpforms-field-file-upload
  .wpforms-uploader:hover,
.sc_careers_modal__form_shell
  .wpforms-field-file-upload
  .wpforms-uploader:focus-within {
  border-color: rgba(198, 255, 0, 0.56);
  box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.1);
}

.sc_careers_modal__form_shell
  .wpforms-field-file-upload
  .dz-message:hover
  .modern-title
  span {
  color: var(--dcode-accent);
}

.sc_careers_modal__form_shell .wpforms-submit {
  width: 100%;
}

.sc_careers_modal__form_shell .wpforms-field-html.dcode-career-form-note {
  margin-bottom: 2px;
}

.sc_careers_modal__form_shell .wpforms-field-html.dcode-career-form-note > div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--dcode-text-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.sc_careers_modal__form_shell .wpforms-field-html.dcode-career-form-note a {
  color: var(--dcode-accent);
}

.sc_careers_modal__form_shell
  .wpforms-field-gdpr-checkbox.dcode-career-consent {
  padding: 2px 0 0;
}

.sc_careers_modal__form_shell
  .wpforms-field-gdpr-checkbox.dcode-career-consent
  .wpforms-field-label {
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.72);
}

.sc_careers_modal__form_shell
  .wpforms-field-gdpr-checkbox.dcode-career-consent
  ul {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  list-style: none;
}

.sc_careers_modal__form_shell
  .wpforms-field-gdpr-checkbox.dcode-career-consent
  li {
  margin: 0;
}

.sc_careers_modal__form_shell
  .wpforms-field-gdpr-checkbox.dcode-career-consent
  input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  accent-color: #c6ff00;
}

.sc_careers_modal__form_shell
  .wpforms-field-gdpr-checkbox.dcode-career-consent
  .wpforms-field-label-inline {
  color: var(--dcode-text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.sc_careers_modal__form_shell .wpforms-submit-container {
  padding-top: 10px;
}

.dcode-section-eyebrow--center {
  justify-content: center;
}

.dcode-contact-hero,
.dcode-contact-section {
  padding: 64px 0;
}

.dcode-contact-hero {
  padding-top: 84px;
}

.dcode-contact-hero__copy {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.dcode-contact-hero__copy .dcode-section-eyebrow {
  justify-content: center;
}

.dcode-contact-hero__title,
.dcode-contact-section__intro h2,
.dcode-contact-form-shell h2 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.dcode-contact-hero__title {
  font-size: clamp(2.2rem, 4.3vw, 3.7rem);
}

.dcode-contact-hero__lead,
.dcode-contact-section__intro p,
.dcode-contact-card p,
.dcode-contact-process__list p,
.dcode-contact-form-shell > p {
  color: var(--dcode-text-soft);
  line-height: 1.72;
  font-size: 0.94rem;
}

.dcode-contact-hero__lead {
  max-width: 780px;
  margin: 18px auto 0;
  font-size: 0.92rem;
}

.dcode-contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.dcode-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.dcode-contact-copy {
  display: grid;
  gap: 20px;
}

.dcode-contact-section__intro {
  max-width: 760px;
}

.dcode-contact-section__intro h2,
.dcode-contact-form-shell h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.dcode-contact-section__intro p,
.dcode-contact-form-shell > p {
  margin: 14px 0 0;
}

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

.dcode-contact-card,
.dcode-contact-process,
.dcode-contact-form-shell {
  border: 1px solid var(--dcode-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--dcode-shadow);
}

.dcode-contact-card {
  padding: 20px;
}

.dcode-contact-card__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--dcode-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dcode-contact-card h3,
.dcode-contact-process h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--dcode-text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dcode-contact-card p {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dcode-contact-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  color: var(--dcode-text);
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dcode-contact-card__link:hover {
  color: var(--dcode-accent);
}

.dcode-contact-process {
  padding: 26px;
}

.dcode-contact-process__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.dcode-contact-process__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.dcode-contact-process__list li + li {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dcode-contact-process__list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(198, 255, 0, 0.12);
  color: var(--dcode-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.dcode-contact-process__list p {
  margin: 8px 0 0;
}

.dcode-contact-form-shell {
  padding: 24px;
  color: var(--dcode-text);
}

.dcode-contact-form-shell__form {
  margin-top: 18px;
}

.dcode-contact-form-shell__placeholder {
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.dcode-contact-form-shell__placeholder strong {
  display: block;
  margin-bottom: 10px;
  color: var(--dcode-text);
}

.dcode-contact-form-shell__placeholder p {
  margin: 0;
  color: var(--dcode-text-soft);
  line-height: 1.7;
}

.dcode-contact-form-shell .wpforms-container {
  margin: 0;
  color: var(--dcode-text);
}

.dcode-contact-form-shell .wpforms-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.dcode-contact-form-shell .wpforms-form .wpforms-field-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dcode-contact-form-shell .wpforms-form .wpforms-field-medium,
.dcode-contact-form-shell .wpforms-form .wpforms-field-large {
  width: 100% !important;
  max-width: none !important;
}

.dcode-contact-form-shell
  .wpforms-form
  .wpforms-field:has(> input[tabindex="-1"][aria-hidden="true"]),
.dcode-contact-form-shell
  .wpforms-form
  .wpforms-field:has(> input[aria-hidden="true"][style*="visibility: hidden"]),
.dcode-contact-form-shell .wpforms-form #wpforms-58-field_5-container {
  display: none !important;
}

.dcode-contact-form-shell .wpforms-form .wpforms-field {
  padding: 0;
  width: 100%;
  margin-bottom: 0;
}

.dcode-contact-form-shell .wpforms-form label.wpforms-field-label,
.dcode-contact-form-shell .wpforms-form legend.wpforms-field-label {
  display: block;
  margin: 0 0 10px;
  color: var(--dcode-text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.dcode-contact-form-shell .wpforms-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.dcode-contact-form-shell .wpforms-form .wpforms-field-name .wpforms-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 0;
  width: 100%;
}

.dcode-contact-form-shell
  .wpforms-form
  .wpforms-field-name
  .wpforms-field-row-block {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.dcode-contact-form-shell .wpforms-form .wpforms-field-sublabel {
  display: block;
  margin-top: 8px;
  color: rgba(245, 245, 245, 0.72);
  font-size: 0.8rem;
  line-height: 1.25;
}

.dcode-contact-form-shell .wpforms-form,
.dcode-contact-form-shell .wpforms-form *:not(button) {
  color: var(--dcode-text);
}

.dcode-contact-form-shell .wpforms-form .wpforms-required-label,
.dcode-contact-form-shell .wpforms-form label.wpforms-error,
.dcode-contact-form-shell .wpforms-form em.wpforms-error {
  color: #ff4d4f;
}

.dcode-contact-form-shell .wpforms-form input[type="text"],
.dcode-contact-form-shell .wpforms-form input[type="email"],
.dcode-contact-form-shell .wpforms-form input[type="tel"],
.dcode-contact-form-shell .wpforms-form input[type="number"],
.dcode-contact-form-shell .wpforms-form textarea,
.dcode-contact-form-shell .wpforms-form select {
  display: block;
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 22, 0.96),
    rgba(11, 11, 15, 0.98)
  );
  color: var(--dcode-text);
  padding: 14px 16px;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.5;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.dcode-contact-form-shell .wpforms-form input[type="text"],
.dcode-contact-form-shell .wpforms-form input[type="email"],
.dcode-contact-form-shell .wpforms-form input[type="tel"],
.dcode-contact-form-shell .wpforms-form input[type="number"],
.dcode-contact-form-shell .wpforms-form textarea {
  -webkit-text-fill-color: var(--dcode-text) !important;
  caret-color: var(--dcode-text) !important;
}

.dcode-contact-form-shell .wpforms-form textarea {
  min-height: 168px;
  resize: vertical;
}

.dcode-contact-form-shell .wpforms-form .wpforms-field-email,
.dcode-contact-form-shell .wpforms-form .wpforms-field-textarea,
.dcode-contact-form-shell .wpforms-form .wpforms-field-text,
.dcode-contact-form-shell .wpforms-form .wpforms-field-name {
  width: 100%;
}

.dcode-contact-form-shell .wpforms-form #wpforms-58-field_6-container {
  margin-bottom: -6px;
}

.dcode-contact-form-shell
  .wpforms-form
  #wpforms-58-field_1-container
  legend.wpforms-field-label,
.dcode-contact-form-shell
  .wpforms-form
  #wpforms-58-field_2-container
  > .wpforms-field-label,
.dcode-contact-form-shell
  .wpforms-form
  #wpforms-58-field_4-container
  > .wpforms-field-label,
.dcode-contact-form-shell
  .wpforms-form
  #wpforms-58-field_6-container
  > .wpforms-field-label,
.dcode-contact-form-shell .wpforms-form .wpforms-field-label:empty,
.dcode-contact-form-shell
  .wpforms-form
  .wpforms-field-name
  legend.wpforms-field-label:empty {
  display: none;
}

.dcode-contact-form-shell
  .wpforms-form
  .wpforms-field-name
  .wpforms-field-sublabel {
  display: none;
}

.dcode-contact-form-shell
  .wpforms-form
  #wpforms-58-field_3-container
  .wpforms-field-label {
  display: none;
}

.dcode-contact-form-shell .wpforms-form select option {
  color: var(--dcode-text);
  background: #111111;
}

.dcode-contact-form-shell .wpforms-form input::placeholder,
.dcode-contact-form-shell .wpforms-form textarea::placeholder {
  color: rgba(245, 245, 245, 0.36);
}

.dcode-contact-form-shell .wpforms-form input:focus,
.dcode-contact-form-shell .wpforms-form textarea:focus,
.dcode-contact-form-shell .wpforms-form select:focus {
  border-color: rgba(198, 255, 0, 0.56);
  box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.1);
  color: var(--dcode-text) !important;
  -webkit-text-fill-color: var(--dcode-text) !important;
  outline: none;
}

.dcode-contact-form-shell .wpforms-form input:-webkit-autofill,
.dcode-contact-form-shell .wpforms-form input:-webkit-autofill:hover,
.dcode-contact-form-shell .wpforms-form input:-webkit-autofill:focus,
.dcode-contact-form-shell .wpforms-form textarea:-webkit-autofill,
.dcode-contact-form-shell .wpforms-form textarea:-webkit-autofill:hover,
.dcode-contact-form-shell .wpforms-form textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--dcode-text) !important;
  caret-color: var(--dcode-text) !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(14, 14, 18, 0.96) inset !important;
  box-shadow: 0 0 0 1000px rgba(14, 14, 18, 0.96) inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

.dcode-contact-form-shell .wpforms-form input.wpforms-error,
.dcode-contact-form-shell .wpforms-form textarea.wpforms-error,
.dcode-contact-form-shell .wpforms-form select.wpforms-error {
  border-color: rgba(255, 77, 79, 0.82);
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.12);
}

.dcode-contact-form-shell .wpforms-form .wpforms-submit-container {
  padding: 0;
  margin-top: 6px;
  width: 100%;
}

.dcode-contact-form-shell .wpforms-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent !important;
  border-radius: 8px;
  background: var(--dcode-accent) !important;
  background-color: var(--dcode-accent) !important;
  color: #050505 !important;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: none !important;
  transform: none !important;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.dcode-contact-form-shell .wpforms-form .wpforms-submit-spinner {
  margin-left: 12px;
  vertical-align: middle;
}

.dcode-contact-form-shell .wpforms-form .wpforms-error-noscript,
.dcode-contact-form-shell .wpforms-form #wpforms-error-noscript {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 77, 79, 0.18);
  background: rgba(255, 77, 79, 0.08);
  color: var(--dcode-text);
  font-size: 0.88rem;
  line-height: 1.5;
}

.dcode-contact-form-shell .wpforms-form button[type="submit"]:hover {
  background: var(--dcode-accent-hover) !important;
  background-color: var(--dcode-accent-hover) !important;
  transform: none !important;
  box-shadow:
    0 0 0 1px rgba(198, 255, 0, 0.18),
    0 10px 24px rgba(198, 255, 0, 0.08) !important;
}

.dcode-contact-form-shell .wpforms-form button[type="submit"]:focus,
.dcode-contact-form-shell .wpforms-form button[type="submit"]:active {
  transform: none !important;
  box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.16) !important;
}

.dcode-contact-form-shell .wpforms-form input[type="submit"],
.dcode-contact-form-shell .wpforms-form .wpforms-submit,
.dcode-contact-form-shell
  .wpforms-form
  .wpforms-submit-spinner
  ~ button[type="submit"] {
  background: var(--dcode-accent) !important;
  background-color: var(--dcode-accent) !important;
  color: #050505 !important;
  border-color: transparent !important;
}

.dcode-contact-form-shell .wpforms-form input[type="submit"]:hover,
.dcode-contact-form-shell .wpforms-form .wpforms-submit:hover {
  background: var(--dcode-accent-hover) !important;
  background-color: var(--dcode-accent-hover) !important;
  transform: none !important;
}

.dcode-contact-form-shell .wpforms-form .wpforms-confirmation-container,
.dcode-contact-form-shell .wpforms-form .wpforms-confirmation-container-full,
.dcode-contact-form-shell .wpforms-form .wpforms-error-container {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--dcode-text);
}

.dcode-contact-form-shell .wpforms-confirmation-container,
.dcode-contact-form-shell .wpforms-confirmation-container-full {
  position: relative;
  padding: 20px 22px 20px 56px;
  border: 1px solid rgba(198, 255, 0, 0.24);
  background: linear-gradient(
    180deg,
    rgba(198, 255, 0, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  color: var(--dcode-text);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.dcode-contact-form-shell .wpforms-confirmation-container::before,
.dcode-contact-form-shell .wpforms-confirmation-container-full::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: var(--dcode-accent);
  box-shadow: 0 0 0 6px rgba(198, 255, 0, 0.12);
}

.dcode-contact-form-shell .wpforms-confirmation-container p,
.dcode-contact-form-shell .wpforms-confirmation-container-full p {
  margin: 0;
  color: var(--dcode-text);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.65;
}

.dcode-contact-form-shell .wpforms-field-phone-input-container {
  position: relative;
}

.dcode-contact-form-shell .wpforms-field-phone-country-container {
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.dcode-contact-form-shell .dcode-smart-phone {
  display: flex;
  align-items: stretch;
  min-height: 54px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 22, 0.96),
    rgba(11, 11, 15, 0.98)
  );
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.dcode-contact-form-shell .dcode-smart-phone__select,
.dcode-contact-form-shell .dcode-smart-phone__input {
  margin: 0 !important;
}

.dcode-contact-form-shell .dcode-smart-phone__picker {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.dcode-contact-form-shell .dcode-smart-phone__toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--dcode-text);
  padding: 0 10px 0 16px;
  cursor: pointer;
  transition: opacity 160ms ease;
}

.dcode-contact-form-shell .dcode-smart-phone__toggle:focus {
  box-shadow: none;
  outline: none;
}

.dcode-contact-form-shell .dcode-smart-phone__toggle-flag,
.dcode-contact-form-shell .dcode-smart-phone__option-flag {
  font-size: 0.9rem;
  line-height: 1;
}

.dcode-contact-form-shell .dcode-smart-phone__toggle-dial {
  margin-left: 8px;
  color: rgba(245, 245, 245, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.dcode-contact-form-shell .dcode-smart-phone__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 25;
  display: none;
  width: min(340px, calc(100vw - 48px));
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(10, 10, 14, 0.98);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

.dcode-contact-form-shell
  .dcode-smart-phone__picker.is-open
  .dcode-smart-phone__menu {
  display: block;
}

.dcode-contact-form-shell .dcode-smart-phone__option {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--dcode-text);
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
}

.dcode-contact-form-shell .dcode-smart-phone__option:hover,
.dcode-contact-form-shell .dcode-smart-phone__option.is-active {
  background: rgba(255, 255, 255, 0.06);
}

.dcode-contact-form-shell .dcode-smart-phone__option-label {
  min-width: 0;
  font-size: 0.84rem;
  line-height: 1.3;
}

.dcode-contact-form-shell .dcode-smart-phone__option-dial {
  color: rgba(245, 245, 245, 0.58);
  font-size: 0.78rem;
  white-space: nowrap;
}

.dcode-contact-form-shell .dcode-smart-phone__select {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0 !important;
}

.dcode-contact-form-shell .dcode-smart-phone__input {
  flex: 1 1 auto;
  width: auto !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  min-height: 52px !important;
  padding: 14px 16px 14px 0 !important;
}

.dcode-contact-form-shell .dcode-smart-phone:focus-within {
  border-color: rgba(198, 255, 0, 0.56);
  box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.12);
}

.dcode-contact-form-shell .dcode-smart-phone .dcode-smart-phone__picker::after {
  content: "";
  width: 1px;
  height: 18px;
  margin-right: 10px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .dcode-contact-form-shell
    .wpforms-form
    .wpforms-field-name
    .wpforms-field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .dcode-contact-form-shell .dcode-smart-phone {
    display: flex;
  }
}

.dcode-services-main {
  background:
    radial-gradient(
      circle at top left,
      rgba(198, 255, 0, 0.16),
      transparent 24%
    ),
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.08),
      transparent 20%
    ),
    linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
  color: var(--dcode-text);
}

.dcode-dev-main {
  background:
    radial-gradient(
      circle at top left,
      rgba(198, 255, 0, 0.14),
      transparent 20%
    ),
    radial-gradient(
      circle at top right,
      rgba(229, 9, 20, 0.12),
      transparent 22%
    ),
    linear-gradient(180deg, #0b0b0d 0%, #040404 100%);
  color: var(--dcode-text);
}

.dcode-dev-hero {
  position: relative;
}

.dcode-dev-hero__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.dcode-dev-hero__logo {
  width: min(100%, 180px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.34));
}

.dcode-dev-hero__logo--wordpress {
  width: auto;
  max-width: min(100%, 520px);
  max-height: 150px;
}

.dcode-dev-hero__logo--shoper {
  width: auto;
  max-width: min(100%, 320px);
  max-height: 116px;
}

.dcode-dev-hero__logo--mobile {
  width: auto;
  max-width: min(100%, 130px);
  max-height: 130px;
}

.dcode-dev-hero__logo--custom {
  width: auto;
  width: clamp(160px, 20vw, 220px);
  max-width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.dcode-dev-hero__lead {
  max-width: 920px;
}

.dcode-dev-showcase {
  padding-top: 0;
  padding-bottom: 96px;
}

.dcode-dev-showcase__intro {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.dcode-dev-showcase__intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.dcode-dev-showcase__media {
  width: min(100%, 860px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--dcode-shadow);
}

.dcode-dev-showcase__image {
  display: block;
  width: 100%;
  height: auto;
}

.dcode-dev-showcase__media--web {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  margin-bottom: 0;
}

.dcode-dev-showcase__image--web {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.dcode-dev-showcase__media--inline {
  max-width: 520px;
  justify-self: end;
}

.dcode-dev-showcase__image--inline {
  width: 100%;
  height: auto;
  object-fit: contain;
}

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

.dcode-dev-project-card {
  grid-column: span 1;
}

.dcode-dev-project-card .dcode-portfolio-card__visual {
  min-height: 200px;
}

.dcode-dev-project-card__content {
  min-height: 0;
  gap: 14px;
  padding: 24px 24px 28px;
}

.dcode-dev-project-card__content h2 {
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
}

.dcode-dev-project-card__content p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.dcode-dev-project-card .dcode-portfolio-card__meta {
  justify-content: flex-end;
}

.dcode-dev-faq-section {
  padding-bottom: 110px;
}

.dcode-dev-faq {
  display: grid;
  gap: 14px;
}

.dcode-dev-faq__item {
  border: 1px solid var(--dcode-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--dcode-shadow);
  overflow: hidden;
}

.dcode-dev-faq__item summary {
  position: relative;
  padding: 24px 64px 24px 24px;
  color: var(--dcode-text);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.dcode-dev-faq__item summary::-webkit-details-marker {
  display: none;
}

.dcode-dev-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: var(--dcode-accent);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.dcode-dev-faq__item[open] summary::after {
  content: "-";
}

.dcode-dev-faq__answer {
  padding: 0 24px 24px;
  color: var(--dcode-text-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

.dcode-dev-faq__answer p,
.dcode-dev-faq__answer ul {
  margin: 0;
}

.dcode-dev-faq__answer p + p,
.dcode-dev-faq__answer p + ul,
.dcode-dev-faq__answer ul + p,
.dcode-dev-faq__answer ul + ul {
  margin-top: 14px;
}

.dcode-dev-faq__answer ul {
  padding-left: 20px;
}

.dcode-dev-faq__answer li + li {
  margin-top: 8px;
}

.dcode-services-hero,
.dcode-services-section {
  padding: 88px 0;
}

.dcode-services-hero {
  padding-top: 104px;
}

.dcode-services-list {
  display: grid;
  gap: 34px;
}

.dcode-services-item {
  padding: 0 0 34px;
  scroll-margin-top: 132px;
}

.dcode-services-reveal-enabled .dcode-services-item--reveal {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  filter: blur(10px);
  transition:
    opacity 300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 300ms ease;
  will-change: opacity, transform, filter;
}

.dcode-services-reveal-enabled .dcode-services-item--reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.dcode-services-item__layout {
  display: block;
}

.dcode-services-item__content {
  min-width: 0;
}

.dcode-services-item .dcode-section-eyebrow {
  margin-bottom: 16px;
}

.dcode-services-item p {
  margin: 0;
  max-width: 760px;
  color: var(--dcode-text-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.dcode-services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 42px;
  align-items: start;
}

.dcode-services-layout--no-visual {
  grid-template-columns: minmax(0, 1fr);
}

.dcode-services-layout--reverse .dcode-services-layout__copy {
  order: 2;
}

.dcode-services-layout--reverse .dcode-services-layout__visual {
  order: 1;
}

.dcode-services-layout__copy {
  min-width: 0;
}

.dcode-services-layout__title {
  margin: 0;
  max-width: 680px;
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  line-height: 1.14;
  text-wrap: balance;
}

.dcode-services-layout__lead {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--dcode-text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.dcode-services-layout__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
  max-width: 520px;
}

.dcode-services-layout__item {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
}

.dcode-services-layout__item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.dcode-services-layout__item p {
  margin: 0;
  max-width: none;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.dcode-services-layout__item--text-only p {
  padding-left: 0;
  color: var(--dcode-text);
  font-size: 0.88rem;
  line-height: 1.6;
}

.dcode-services-layout__item-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 8px;
  background: var(--dcode-accent);
}

.dcode-services-layout__visual {
  position: relative;
  display: grid;
  gap: 18px;
}

.dcode-services-layout__image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      circle at top left,
      rgba(198, 255, 0, 0.14),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    );
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.dcode-services-layout__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.dcode-services-layout__highlight {
  min-height: 96px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.dcode-services-layout__highlight-value {
  display: block;
  margin-bottom: 10px;
  color: var(--dcode-accent);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.dcode-services-layout__highlight-label {
  display: block;
  color: var(--dcode-text);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .dcode-services-reveal-enabled .dcode-services-item--reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .dcode-dev-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dcode-services-layout__highlights {
    grid-template-columns: 1fr;
  }

  .dcode-services-layout__highlight {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .dcode-services-layout {
    grid-template-columns: 1fr;
  }

  .dcode-services-layout--reverse .dcode-services-layout__copy,
  .dcode-services-layout--reverse .dcode-services-layout__visual {
    order: initial;
  }

  .dcode-services-layout__items,
  .dcode-services-layout__highlights {
    max-width: none;
    grid-template-columns: 1fr;
  }
}

.dcode-about-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dcode-team-card {
  overflow: hidden;
}

.dcode-team-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  background: #0f0f0f;
}

.dcode-team-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dcode-team-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at top right,
      rgba(198, 255, 0, 0.2),
      transparent 22%
    ),
    linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  color: var(--dcode-text);
}

.dcode-team-card__placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dcode-team-card__content {
  padding: 26px 26px 30px;
}

.dcode-team-card__role {
  margin: 0 0 14px;
  color: var(--dcode-accent);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dcode-scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--dcode-text);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
}

.dcode-scroll-top[hidden] {
  display: none;
}

.dcode-scroll-top:hover {
  background: var(--dcode-accent);
  border-color: var(--dcode-accent);
  color: #050505;
  transform: translateY(-2px);
}

.dcode-scroll-top svg {
  width: 20px;
  height: 20px;
}

.dcode-footer {
  position: relative;
  overflow: hidden;
  padding: 34px 0 calc(42px + env(safe-area-inset-bottom, 0px));
  background:
    linear-gradient(
      115deg,
      transparent 0 44%,
      rgba(198, 255, 0, 0.06) 44%,
      transparent 50%
    ),
    linear-gradient(
      115deg,
      transparent 0 68%,
      rgba(198, 255, 0, 0.05) 68%,
      transparent 74%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(4, 4, 4, 0.98));
  color: var(--dcode-text);
}

.dcode-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    transparent 24%
  );
  pointer-events: none;
}

.dcode-footer .dcode-container {
  position: relative;
  z-index: 1;
  width: calc(100% - 64px);
  max-width: none;
}

.dcode-footer__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 80px;
}

.dcode-footer__group {
  min-width: 0;
}

.dcode-footer__group--brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: auto;
}

.dcode-footer__group--location {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  justify-self: end;
  gap: 14px;
  color: var(--dcode-text-soft);
  font-size: 0.95rem;
  text-align: left;
}

.dcode-footer__location-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dcode-footer__group--location address,
.dcode-footer__location-copy a {
  font-style: normal;
  color: var(--dcode-text-soft);
}

.dcode-footer__location-copy a:hover {
  color: var(--dcode-accent);
}

.dcode-footer__nav .dcode-nav__list,
.dcode-footer__menu-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dcode-footer__nav {
  width: 100%;
}

.dcode-footer__nav .menu-item,
.dcode-footer__menu-list .menu-item {
  list-style: none;
}

.dcode-footer__nav a,
.dcode-footer__menu-list a {
  color: var(--dcode-text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.dcode-footer__nav a:hover,
.dcode-footer__menu-list a:hover,
.dcode-footer__nav .current-menu-item > a,
.dcode-footer__menu-list .current-menu-item > a {
  color: var(--dcode-accent);
}

.dcode-footer__nav .sub-menu,
.dcode-footer__menu-list .sub-menu {
  display: none;
}

.dcode-footer__location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--dcode-accent);
  flex-shrink: 0;
}

.dcode-footer__location-icon svg {
  width: 18px;
  height: 18px;
}

.dcode-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.dcode-footer__logo .custom-logo-link,
.dcode-footer__logo .custom-logo {
  display: block;
}

.dcode-footer__logo-image,
.dcode-footer__logo .custom-logo {
  width: auto;
  max-width: 170px;
  max-height: 64px;
}

.dcode-footer__social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.dcode-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--dcode-text-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.dcode-footer__social-link:hover {
  color: var(--dcode-accent);
  border-color: var(--dcode-accent);
}

.dcode-footer__social-link svg {
  width: 16px;
  height: 16px;
}

.dcode-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
}

.dcode-footer__legal-label {
  color: rgba(245, 245, 245, 0.52);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dcode-footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  margin: 0;
  padding: 0 72px 0 0;
  list-style: none;
}

.dcode-footer__legal-list a {
  color: var(--dcode-text-soft);
  font-size: 0.88rem;
}

.dcode-footer__legal-list a:hover {
  color: var(--dcode-accent);
}

@media (max-width: 1180px) {
  .dcode-header__bar {
    border-radius: 0;
    align-items: center;
    flex-wrap: wrap;
  }

  .dcode-footer__group--location {
    display: flex;
    justify-content: center;
  }

  .dcode-footer__social {
    justify-content: center;
  }

  .dcode-footer__logo {
    display: flex;
    justify-content: center;
  }

  .dcode-nav {
    order: 3;
    width: 100%;
  }

  .dcode-nav__list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .dcode-footer__bar {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .dcode-homepage-hero,
  .dcode-homepage-section {
    padding: 72px 0;
  }

  .dcode-homepage-hero__grid,
  .dcode-homepage-about,
  .dcode-homepage-testimonials__top,
  .dcode-homepage-cta,
  .dcode-homepage-best,
  .dcode-homepage-testimonials,
  .dcode-homepage-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dcode-about-hero,
  .dcode-about-section {
    padding: 72px 0;
  }

  .dcode-contact-hero,
  .dcode-contact-section {
    padding: 72px 0;
  }

  .dcode-contact-layout,
  .dcode-contact-cards {
    grid-template-columns: 1fr;
  }

  .dcode-home-portfolio {
    padding: 80px 0 72px;
  }

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

  .dcode-portfolio-card,
  .dcode-portfolio-card--wide {
    grid-column: span 1;
  }

  .dcode-portfolio-card--wide .dcode-portfolio-card__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    gap: 12px;
    min-height: 320px;
  }

  .dcode-about-grid--three,
  .dcode-about-grid--services,
  .dcode-about-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dcode-dev-projects-grid {
    grid-template-columns: 1fr;
  }

  .dcode-footer__group--primary,
  .dcode-footer__group--brand,
  .dcode-footer__group--location {
    justify-self: center;
  }

  .dcode-footer__nav .dcode-nav__list,
  .dcode-footer__menu-list {
    justify-content: center;
  }

  .dcode-footer__legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dcode-footer__legal-list {
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 1100px) {
  body {
    padding-top: 0;
  }

  .dcode-header {
    position: sticky;
    top: 0;
    padding: env(safe-area-inset-top, 0px) 0 0;
  }

  .dcode-header .dcode-container {
    width: min(calc(100% - 24px), var(--dcode-max));
  }

  .dcode-header__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: auto;
    padding: 14px 0;
    gap: 14px;
  }

  .dcode-mobile-nav-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .dcode-header__gtranslate {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .dcode-logo {
    width: auto;
    min-width: 0;
    justify-content: flex-start;
  }

  .dcode-logo__image,
  .dcode-logo .custom-logo {
    max-width: min(180px, 100%);
    max-height: 44px;
    width: auto;
  }

  .dcode-mobile-nav-toggle {
    display: inline-flex;
  }

  .dcode-header.is-mobile-nav-open .dcode-mobile-nav-toggle__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .dcode-header.is-mobile-nav-open .dcode-mobile-nav-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .dcode-header.is-mobile-nav-open .dcode-mobile-nav-toggle__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .dcode-nav,
  .dcode-header__cta {
    width: 100%;
    grid-column: 1 / -1;
  }

  .dcode-nav {
    display: none;
  }

  .dcode-header.is-mobile-nav-open .dcode-nav {
    display: block;
  }

  .dcode-header__gtranslate .gt_options {
    left: 0 !important;
    right: auto !important;
  }

  .dcode-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 8px;
  }

  .dcode-nav .menu-item,
  .dcode-nav .menu-item > a {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .dcode-nav .menu-item > a {
    padding: 12px 0;
  }

  .dcode-nav .menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 10px;
  }

  .dcode-nav .menu-item-has-children > a::after {
    content: none;
  }

  .dcode-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--dcode-accent);
    cursor: pointer;
  }

  .dcode-nav .sub-menu {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dcode-nav .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }

  .dcode-header__cta {
    display: none;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .dcode-header.is-mobile-nav-open .dcode-header__cta {
    display: flex;
  }

  .dcode-homepage-hero,
  .dcode-homepage-section {
    padding: 56px 0;
  }

  .dcode-homepage-hero {
    padding-top: 72px;
  }

  .dcode-homepage-hero__grid,
  .dcode-homepage-about,
  .dcode-homepage-testimonials__top,
  .dcode-homepage-cta,
  .dcode-homepage-best,
  .dcode-homepage-services,
  .dcode-homepage-testimonials,
  .dcode-homepage-stats {
    grid-template-columns: 1fr;
  }

  .dcode-homepage-hero__title {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .dcode-homepage-about__box,
  .dcode-homepage-rating,
  .dcode-homepage-stat,
  .dcode-homepage-card,
  .dcode-homepage-service-card,
  .dcode-homepage-testimonial,
  .dcode-homepage-cta {
    padding: 24px;
  }

  .dcode-homepage-hero__actions,
  .dcode-homepage-cta__actions {
    flex-direction: column;
  }

  .dcode-homepage-hero__actions .dcode-about-button,
  .dcode-homepage-cta__actions .dcode-about-button {
    width: 100%;
  }

  .dcode-about-hero {
    padding-top: 72px;
  }

  .dcode-career-hero,
  .dcode-contact-hero,
  .dcode-contact-section {
    padding: 56px 0;
  }

  .dcode-career-hero {
    padding-top: 72px;
  }

  .dcode-career-hero__copy {
    padding: 28px 24px;
  }

  .dcode-career-hero__title {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .dcode-career-hero__actions {
    flex-direction: column;
  }

  .dcode-career-hero__actions .dcode-about-button {
    width: 100%;
  }

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

  .dcode-career-job__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .dcode-career-cta__card {
    padding: 40px 28px;
  }

  .sc_careers_modal {
    padding: 16px;
  }

  .sc_careers_modal__dialog {
    width: min(100%, 620px);
    padding: 20px 18px;
    max-height: 92vh;
  }

  .dcode-contact-hero {
    padding-top: 72px;
  }

  .dcode-contact-hero__title {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .dcode-contact-hero__actions {
    flex-direction: column;
  }

  .dcode-contact-hero__actions .dcode-about-button {
    width: 100%;
  }

  .dcode-contact-process,
  .dcode-contact-card,
  .dcode-contact-form-shell {
    padding: 24px;
  }

  .dcode-contact-form-shell .wpforms-form button[type="submit"] {
    width: 100%;
  }

  .dcode-home-portfolio {
    padding: 64px 0 56px;
  }

  .dcode-home-portfolio__title {
    max-width: none;
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .dcode-home-portfolio__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .dcode-portfolio-card,
  .dcode-portfolio-card--wide {
    grid-column: auto;
  }

  .dcode-portfolio-card__visual,
  .dcode-portfolio-card--wide .dcode-portfolio-card__visual {
    min-height: 220px;
    padding: 22px;
  }

  .dcode-portfolio-card__content {
    padding: 24px 24px 28px;
    min-height: 0;
  }

  .dcode-portfolio-card__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .dcode-about-hero,
  .dcode-about-section {
    padding: 56px 0;
  }

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

  .dcode-about-hero__grid .dcode-about-section__intro-media {
    order: -1;
  }

  .dcode-about-section__intro--media {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dcode-about-grid--two,
  .dcode-about-grid--three,
  .dcode-about-grid--services,
  .dcode-about-team {
    grid-template-columns: 1fr;
  }

  .dcode-case-study-gallery {
    grid-template-columns: 1fr;
  }

  .dcode-dev-projects-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .dcode-about-card,
  .dcode-team-card__content {
    padding: 24px;
  }

  .dcode-dev-faq__item summary {
    padding: 22px 56px 22px 22px;
    font-size: 1rem;
  }

  .dcode-dev-faq__answer {
    padding: 0 22px 22px;
  }

  .dcode-about-hero__title {
    max-width: none;
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .dcode-about-hero__actions {
    flex-direction: column;
  }

  .dcode-about-button {
    width: 100%;
  }

  .dcode-dropdown__menu,
  .dcode-nav .sub-menu {
    position: static;
    left: 0;
    min-width: 100%;
    margin-top: 8px;
    padding: 8px;
    box-shadow: none;
    transform: translateX(0) translateY(8px);
  }

  .dcode-dropdown:hover .dcode-dropdown__menu,
  .dcode-dropdown:focus-within .dcode-dropdown__menu,
  .dcode-nav .menu-item-has-children:hover > .sub-menu,
  .dcode-nav .menu-item-has-children:focus-within > .sub-menu {
    transform: translateX(0) translateY(0);
  }

  .dcode-footer {
    padding: 28px 0 calc(34px + env(safe-area-inset-bottom, 0px));
  }

  .dcode-footer__nav .dcode-nav__list,
  .dcode-footer__menu-list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .dcode-footer__group--location {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .dcode-footer__location-copy {
    align-items: center;
  }

  .dcode-footer__legal-list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .dcode-container {
    width: min(calc(100% - 24px), var(--dcode-max));
  }

  .dcode-homepage-about__box,
  .dcode-homepage-rating,
  .dcode-homepage-stat,
  .dcode-homepage-card,
  .dcode-homepage-service-card,
  .dcode-homepage-testimonial,
  .dcode-homepage-cta,
  .dcode-about-card,
  .dcode-team-card__content,
  .dcode-contact-process,
  .dcode-contact-card,
  .dcode-contact-form-shell,
  .dcode-dev-project-card__content {
    padding: 20px;
  }

  .dcode-contact-layout,
  .dcode-contact-cards,
  .dcode-about-grid,
  .dcode-homepage-best,
  .dcode-homepage-services,
  .dcode-homepage-testimonials,
  .dcode-homepage-stats,
  .dcode-dev-projects-grid,
  .dcode-home-portfolio__grid {
    gap: 18px;
  }

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

  .dcode-career-job__summary {
    padding: 22px 18px;
  }

  .dcode-career-job__body {
    padding: 20px 18px 24px;
  }

  .dcode-career-job__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .dcode-career-job__cta .dcode-about-button {
    width: 100%;
  }

  .sc_careers_modal__dialog {
    padding: 18px 16px;
  }

  .dcode-portfolio-card__visual,
  .dcode-portfolio-card--wide .dcode-portfolio-card__visual,
  .dcode-dev-project-card .dcode-portfolio-card__visual {
    min-height: 180px;
    padding: 20px;
  }

  .dcode-portfolio-card__visual::after {
    inset: auto 20px 20px auto;
    width: 120px;
    height: 120px;
  }

  .dcode-portfolio-card__content,
  .dcode-portfolio-card--wide .dcode-portfolio-card__content {
    padding: 20px 20px 24px;
    gap: 14px;
  }

  .dcode-portfolio-card__meta {
    gap: 10px;
  }

  .dcode-portfolio-card__pill {
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }

  .dcode-contact-card__link,
  .dcode-about-button,
  .dcode-header__cta,
  .dcode-nav .menu-item > a {
    min-height: 44px;
  }

  .dcode-dev-faq__item summary {
    padding: 20px 52px 20px 20px;
  }

  .dcode-dev-faq__answer {
    padding: 0 20px 20px;
  }

  .dcode-services-layout {
    gap: 28px;
  }

  .dcode-services-layout__item,
  .dcode-services-layout__highlight {
    padding: 14px;
  }
}

/* =========================================================
   BLOG — WordPress block style resets
   ========================================================= */

/* Prevent WordPress block/global styles from overriding heading colors */
.dcode-blog-main h1,
.dcode-blog-main h2,
.dcode-blog-main h3,
.dcode-post-main h1,
.dcode-post-main h2,
.dcode-post-main h3 {
  background: transparent;
  color: var(--dcode-text);
}

/* =========================================================
   BLOG — single post CTA section override
   ========================================================= */

.dcode-post-main .dcode-about-section--team {
  background: var(--dcode-bg);
}

.dcode-post-main .dcode-homepage-cta {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dcode-border);
}

.dcode-post-main .dcode-homepage-cta h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
}

.dcode-post-main .dcode-homepage-cta p {
  font-size: 0.94rem;
}

/* =========================================================
   BLOG — listing (home.php)
   ========================================================= */

.dcode-blog-hero {
  padding: 104px 0 72px;
  text-align: center;
  background:
    radial-gradient(
      ellipse 70% 50% at 10% 0%,
      rgba(198, 255, 0, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 40% at 90% 10%,
      rgba(229, 9, 20, 0.08) 0%,
      transparent 55%
    ),
    var(--dcode-bg);
}

.dcode-blog-hero__title {
  margin: 16px 0 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dcode-text);
}

.dcode-blog-hero__lead {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--dcode-text-soft);
}

.dcode-blog-listing {
  padding: 72px 0 100px;
  background: var(--dcode-bg);
}

.dcode-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.dcode-blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dcode-border);
  border-radius: var(--dcode-radius);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.dcode-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 255, 0, 0.22);
  box-shadow: var(--dcode-shadow);
}

.dcode-blog-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: var(--dcode-text);
}

/* Visual / image */
.dcode-blog-card__visual {
  position: relative;
  width: 100%;
  min-height: 220px;
  background:
    radial-gradient(
      ellipse 80% 60% at 20% 50%,
      rgba(198, 255, 0, 0.08) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 70% at 85% 25%,
      rgba(198, 255, 0, 0.04) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, #0e0e0e 0%, #080808 100%);
  flex-shrink: 0;
  overflow: hidden;
}

.dcode-blog-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.025) 39px,
      rgba(255, 255, 255, 0.025) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.025) 39px,
      rgba(255, 255, 255, 0.025) 40px
    );
  pointer-events: none;
}

.dcode-blog-card__visual--has-image {
  background-image: var(--dcode-blog-image);
  background-size: cover;
  background-position: center;
}

.dcode-blog-card__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dcode-blog-card__icon svg {
  width: 72px;
  height: 72px;
  color: rgba(198, 255, 0, 0.4);
}

/* Content */
.dcode-blog-card__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: 26px 28px 28px;
  background: #0a0a0a;
}

.dcode-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dcode-blog-card__category {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(198, 255, 0, 0.3);
  border-radius: 8px;
  background: rgba(198, 255, 0, 0.07);
  color: var(--dcode-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dcode-blog-card__date {
  color: var(--dcode-text-soft);
  font-size: 0.82rem;
}

.dcode-blog-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dcode-text);
  transition: color 160ms ease;
}

.dcode-blog-card:hover .dcode-blog-card__title {
  color: var(--dcode-accent);
}

.dcode-blog-card__excerpt {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--dcode-text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dcode-blog-card__cta {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dcode-accent);
  transition: color 160ms ease;
}

/* Reveal animation — opacity:0 only when JS class is present, so cards never get stuck hidden */
.dcode-blog-reveal-enabled .dcode-blog-card--reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 200ms ease,
    box-shadow 200ms ease;
  will-change: opacity, transform;
}

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

/* Pagination */
.dcode-blog-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.dcode-blog-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.dcode-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid var(--dcode-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--dcode-text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.dcode-blog-pagination .page-numbers:hover,
.dcode-blog-pagination .page-numbers.current {
  background: rgba(198, 255, 0, 0.08);
  border-color: rgba(198, 255, 0, 0.3);
  color: var(--dcode-accent);
}

.dcode-blog-empty {
  text-align: center;
  color: var(--dcode-text-soft);
  font-size: 1rem;
  padding: 60px 0;
}

/* =========================================================
BLOG — single post (single.php)
   ========================================================= */

.dcode-post-hero {
  padding: 100px 0 56px;
  background:
    radial-gradient(
      ellipse 70% 50% at 5% 0%,
      rgba(198, 255, 0, 0.08) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 55% 40% at 95% 10%,
      rgba(229, 9, 20, 0.06) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #050505 0%, #050505 100%);
}

.dcode-post-content {
  background: #050505;
  padding: 0 0 80px;
}

/* WordPress global styles injection override */
body.single,
body.single-post {
  background-color: #050505 !important;
}

/* Ukryj duplikat tytułu w treści wpisu */
.dcode-post-content__body h1 {
  display: none;
}

/* Nadpisz WordPress global styles dla treści */
.dcode-post-content__body * {
  color: inherit;
}

.dcode-post-content__body code {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #c6ff00 !important;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88em;
}

.dcode-post-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.dcode-post-hero__category {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(198, 255, 0, 0.3);
  border-radius: 8px;
  background: rgba(198, 255, 0, 0.07);
  color: var(--dcode-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dcode-post-hero__date,
.dcode-post-hero__author {
  color: var(--dcode-text-soft);
  font-size: 0.88rem;
}

.dcode-post-hero__date::before {
  content: "·";
  margin-right: 14px;
  color: var(--dcode-border);
}

.dcode-post-hero__author::before {
  content: "·";
  margin-right: 14px;
  color: var(--dcode-border);
}

.dcode-post-hero__title {
  margin: 0 0 48px;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 900px;
  color: var(--dcode-text);
  background: transparent;
}

/* Featured image */
.dcode-post-featured-image {
  padding: 0 0 56px;
}

.dcode-post-featured-image__img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--dcode-radius);
  border: 1px solid var(--dcode-border);
}

.dcode-post-content__body {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--dcode-text);
}

/* Gutenberg content typography */
.dcode-post-content__body h2,
.dcode-post-content__body h3,
.dcode-post-content__body h4 {
  color: var(--dcode-text);
  font-weight: 700;
  line-height: 1.2;
  margin: 2em 0 0.6em;
}

.dcode-post-content__body h2 {
  font-size: 1.8rem;
  letter-spacing: -0.01em;
}

.dcode-post-content__body h3 {
  font-size: 1.3rem;
}

.dcode-post-content__body h4 {
  font-size: 1.05rem;
}

.dcode-post-content__body p {
  margin: 0 0 1.4em;
}

.dcode-post-content__body ul,
.dcode-post-content__body ol {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
}

.dcode-post-content__body li {
  margin-bottom: 0.5em;
}

.dcode-post-content__body ul li::marker {
  color: var(--dcode-accent);
}

.dcode-post-content__body a {
  color: var(--dcode-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

.dcode-post-content__body a:hover {
  color: var(--dcode-accent-hover);
}

.dcode-post-content__body strong {
  color: var(--dcode-text);
  font-weight: 700;
}

.dcode-post-content__body blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  border-left: 3px solid var(--dcode-accent);
  background: rgba(198, 255, 0, 0.04);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--dcode-text);
}

.dcode-post-content__body blockquote p {
  margin: 0;
}

.dcode-post-content__body img {
  border-radius: 12px;
  border: 1px solid var(--dcode-border);
  margin: 1em 0;
}

.dcode-post-content__body pre,
.dcode-post-content__body code {
  font-family: "Fira Code", "Cascadia Code", monospace;
  font-size: 0.9em;
}

.dcode-post-content__body pre {
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--dcode-surface-strong);
  border: 1px solid var(--dcode-border);
  overflow-x: auto;
  margin: 1.4em 0;
}

.dcode-post-content__body :not(pre) > code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(198, 255, 0, 0.08);
  color: var(--dcode-accent);
}

/* Post footer nav */
.dcode-post-content__footer {
  max-width: 780px;
  margin: 56px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--dcode-border);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dcode-post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dcode-text-soft);
  transition: color 160ms ease;
}

.dcode-post-back:hover {
  color: var(--dcode-accent);
}

.dcode-post-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.dcode-post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 200px;
  padding: 18px 20px;
  border: 1px solid var(--dcode-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.dcode-post-nav__link:hover {
  border-color: rgba(198, 255, 0, 0.22);
  background: rgba(198, 255, 0, 0.04);
}

.dcode-post-nav__link--next {
  text-align: right;
}

.dcode-post-nav__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dcode-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dcode-post-nav__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dcode-text);
  line-height: 1.3;
}

/* =========================================================
   Footer — 768px responsive
   ========================================================= */

@media (max-width: 768px) {
  .dcode-footer__bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
  }

  .dcode-footer__group--brand {
    position: static;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .dcode-footer__group--primary,
  .dcode-footer__group--location {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .dcode-footer__social {
    justify-content: center;
  }

  .dcode-footer__logo {
    display: flex;
    justify-content: center;
  }

  .dcode-footer__location-copy {
    align-items: center;
  }

  .dcode-footer {
    padding-top: 16px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .dcode-footer__bar {
    gap: 20px;
    padding: 12px 0;
  }

  .dcode-footer__legal {
    gap: 8px;
  }

  .dcode-footer__legal-list {
    text-align: center;
  }

  .dcode-footer__legal-list a {
    display: block;
    text-align: center;
  }

  .dcode-scroll-top {
    bottom: 20px;
    right: 16px;
  }
}

/* =========================================================
   BLOG responsive
   ========================================================= */

@media (max-width: 1100px) {
  .dcode-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dcode-blog-hero {
    padding: 80px 0 52px;
  }

  .dcode-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dcode-blog-card__content {
    padding: 20px 20px 22px;
  }

  .dcode-post-hero {
    padding: 72px 0 40px;
  }

  .dcode-post-content__body h2 {
    font-size: 1.4rem;
  }

  .dcode-post-nav {
    flex-direction: column;
  }

  .dcode-post-nav__link--next {
    text-align: left;
  }
}
