/*
Theme Name: DIGICODE Elementor
Theme URI: http://localhost/digicode/
Author: DIGICODE
Description: Tema institucional leve para DIGICODE, otimizado para páginas editáveis em Elementor.
Version: 1.0.0
Text Domain: digicode-elementor
*/

:root {
  --digicode-blue: #0b4f8f;
  --digicode-cyan: #1db6e5;
  --digicode-navy: #09223d;
  --digicode-ink: #172033;
  --digicode-muted: #5f6f83;
  --digicode-line: #dce7f2;
  --digicode-soft: #f5f8fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--digicode-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #ffffff;
}

a {
  color: var(--digicode-blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(220, 231, 242, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

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

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: 176px;
  max-width: 44vw;
  height: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--digicode-ink);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: var(--digicode-blue);
}

.site-main {
  min-height: 60vh;
}

.dc-page {
  overflow: hidden;
}

.dc-hero {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: center;
  overflow: hidden;
  background: var(--digicode-navy);
  color: #ffffff;
}

.dc-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-hero > p {
  margin: 0;
}

.dc-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 34, 61, 0.82) 0%, rgba(9, 34, 61, 0.55) 48%, rgba(9, 34, 61, 0.12) 100%),
    linear-gradient(180deg, rgba(9, 34, 61, 0.06) 0%, rgba(9, 34, 61, 0.28) 100%);
  content: "";
}

.dc-hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 82px 0;
}

.dc-hero .dc-eyebrow,
.dc-hero .dc-title,
.dc-hero .dc-lead {
  color: #ffffff;
}

.dc-hero .dc-eyebrow {
  color: #6fe4ff;
}

.dc-hero .dc-lead {
  max-width: 620px;
  opacity: 0.92;
}

.dc-hero .dc-title,
.dc-hero .dc-lead,
.dc-hero .dc-eyebrow {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.dc-hero .dc-button {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--digicode-blue);
}

.dc-hero .dc-button--outline {
  background: transparent;
  color: #ffffff;
}

.dc-hero__hint {
  position: absolute;
  right: 28px;
  bottom: 22px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}

.dc-page-hero {
  position: relative;
  display: flex;
  min-height: 390px;
  align-items: center;
  overflow: hidden;
  background: var(--digicode-navy);
  color: #ffffff;
}

.dc-page-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(9, 34, 61, 0.9) 0%, rgba(9, 34, 61, 0.68) 52%, rgba(9, 34, 61, 0.34) 100%);
  content: "";
}

.dc-page-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 72px 0;
}

.dc-page-hero .dc-eyebrow,
.dc-page-hero .dc-title,
.dc-page-hero .dc-lead {
  color: #ffffff;
}

.dc-page-hero .dc-eyebrow {
  color: #6fe4ff;
}

.dc-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.dc-mini-card {
  border: 1px solid var(--digicode-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 18px 48px rgba(9, 34, 61, 0.06);
}

.dc-mini-card strong {
  display: block;
  color: var(--digicode-navy);
  font-size: 1.05rem;
}

.dc-mini-card span {
  display: block;
  margin-top: 6px;
  color: var(--digicode-muted);
  line-height: 1.55;
}

.dc-section {
  padding: 88px 0;
}

.dc-section--compact {
  padding: 68px 0;
}

.dc-section--soft {
  background: var(--digicode-soft);
}

.dc-section--white {
  background: #ffffff;
}

.dc-grid {
  display: grid;
  gap: 36px;
}

.dc-grid--2 {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

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

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

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

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

.dc-title {
  max-width: 820px;
  margin: 0;
  color: var(--digicode-navy);
  font-size: clamp(2.1rem, 4vw, 3.9rem);
  font-weight: 800;
  line-height: 1.08;
}

.dc-title--section {
  font-size: clamp(1.85rem, 3vw, 2.85rem);
}

.dc-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--digicode-muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.dc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.dc-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--digicode-blue);
  border-radius: 8px;
  padding: 13px 20px;
  background: var(--digicode-blue);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.dc-button:hover {
  background: #083f73;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(11, 79, 143, 0.18);
  transform: translateY(-1px);
}

.dc-button--outline {
  background: #ffffff;
  color: var(--digicode-blue);
}

.dc-button--outline:hover {
  background: #edf6fb;
  color: var(--digicode-blue);
}

.dc-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.dc-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(9, 34, 61, 0.14);
}

.dc-visual--photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dc-floating-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 230px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
  color: var(--digicode-navy);
  box-shadow: 0 18px 42px rgba(9, 34, 61, 0.18);
  backdrop-filter: blur(10px);
}

.dc-floating-note strong {
  display: block;
  margin-bottom: 4px;
}

.dc-floating-note span {
  color: var(--digicode-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.dc-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--digicode-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 30px;
  box-shadow: 0 18px 48px rgba(9, 34, 61, 0.06);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.dc-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(29, 182, 229, 0.16), transparent 44%);
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.dc-card::after {
  position: absolute;
  top: -70%;
  left: -45%;
  width: 42%;
  height: 220%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  content: "";
  opacity: 0;
  transform: rotate(24deg) translateX(-130%);
  transition: transform 650ms ease, opacity 260ms ease;
  pointer-events: none;
}

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

.dc-card--visual {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.91) 58%, rgba(239, 248, 252, 0.84) 100%),
    var(--dc-card-bg) right bottom / 62% auto no-repeat,
    #ffffff;
}

.dc-card--visual::before {
  background:
    linear-gradient(135deg, rgba(11, 79, 143, 0.08), rgba(29, 182, 229, 0.18)),
    var(--dc-card-bg) right bottom / 72% auto no-repeat;
  opacity: 0.5;
}

.dc-card--visual:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 250, 253, 0.84) 54%, rgba(222, 246, 253, 0.74) 100%),
    var(--dc-card-bg) right bottom / 78% auto no-repeat,
    #ffffff;
}

.dc-card--visual:hover::before {
  opacity: 0.85;
}

.dc-card:hover {
  border-color: rgba(29, 182, 229, 0.45);
  box-shadow: 0 24px 64px rgba(9, 34, 61, 0.12);
  transform: translateY(-8px) scale(1.015);
}

.dc-card:hover::before {
  opacity: 1;
}

.dc-card:hover::after {
  opacity: 1;
  transform: rotate(24deg) translateX(430%);
}

.dc-card__icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e7f7fc;
  color: var(--digicode-blue);
  font-size: 1.25rem;
  font-weight: 800;
  transition: transform 260ms ease, background 260ms ease, color 260ms ease, box-shadow 260ms ease;
}

.dc-card__icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dc-card:hover .dc-card__icon {
  background: var(--digicode-blue);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(11, 79, 143, 0.22);
  transform: translateY(-4px) rotate(-4deg) scale(1.08);
}

.dc-card h2,
.dc-card h3,
.dc-card p {
  transition: transform 260ms ease, color 260ms ease;
}

.dc-card:hover h2,
.dc-card:hover h3 {
  color: var(--digicode-blue);
  transform: translateX(2px);
}

.dc-card:hover p {
  color: #40526a;
}

.dc-card h2,
.dc-card h3 {
  margin: 20px 0 12px;
  color: var(--digicode-navy);
  font-size: 1.22rem;
  line-height: 1.28;
}

.dc-card p {
  margin: 0;
  color: var(--digicode-muted);
  line-height: 1.68;
}

.dc-section-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.dc-section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.dc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.dc-stat {
  border: 1px solid var(--digicode-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 26px;
  box-shadow: 0 18px 48px rgba(9, 34, 61, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.dc-stat:hover {
  box-shadow: 0 24px 64px rgba(9, 34, 61, 0.12);
  transform: translateY(-5px);
}

.dc-stat strong {
  display: block;
  color: var(--digicode-blue);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1;
}

.dc-stat span {
  display: block;
  margin-top: 9px;
  color: var(--digicode-muted);
  line-height: 1.45;
}

.dc-panel {
  border: 1px solid var(--digicode-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 34px;
  box-shadow: 0 18px 48px rgba(9, 34, 61, 0.06);
}

.dc-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.dc-list li {
  position: relative;
  padding-left: 30px;
  color: var(--digicode-muted);
  line-height: 1.6;
}

.dc-list li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e7f7fc;
  color: var(--digicode-blue);
  content: "✓";
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.dc-process {
  counter-reset: process;
}

.dc-process .dc-card {
  position: relative;
}

.dc-process .dc-card::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--digicode-navy);
  color: #ffffff;
  font-weight: 800;
}

.dc-process .dc-card .dc-card__icon {
  display: none;
}

.dc-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #09223d 0%, #0b4f8f 62%, #1db6e5 100%);
  padding: 54px;
  color: #ffffff;
}

.dc-cta::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("http://localhost/digicode/wp-content/uploads/digicode/people-tech-1.webp") right center / cover no-repeat;
  content: "";
  opacity: 0.78;
}

.dc-cta::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 84% 24%, rgba(111, 228, 255, 0.18), transparent 30%),
    linear-gradient(105deg, rgba(9, 34, 61, 0.92) 0%, rgba(9, 34, 61, 0.72) 42%, rgba(29, 182, 229, 0.34) 100%);
  content: "";
}

.dc-cta--visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 34px;
  box-shadow: 0 26px 70px rgba(9, 34, 61, 0.18);
}

.dc-cta__content {
  max-width: 760px;
}

.dc-cta__info {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.dc-cta__info span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.dc-cta__info svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.dc-cta__info strong,
.dc-cta__info small {
  display: block;
}

.dc-cta__info strong {
  margin-top: 18px;
  font-size: 1.1rem;
}

.dc-cta__info small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.dc-cta .dc-title,
.dc-cta .dc-lead,
.dc-cta .dc-eyebrow {
  color: #ffffff;
}

.dc-cta .dc-lead {
  opacity: 0.9;
}

.dc-cta .dc-button {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--digicode-blue);
}

.dc-cta .dc-button--outline {
  background: transparent;
  color: #ffffff;
}

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.dc-grid .dc-card[data-animate]:nth-child(2) {
  transition-delay: 80ms;
}

.dc-grid .dc-card[data-animate]:nth-child(3) {
  transition-delay: 160ms;
}

.dc-grid .dc-card[data-animate]:nth-child(4) {
  transition-delay: 240ms;
}

.dc-grid .dc-card[data-animate]:nth-child(5) {
  transition-delay: 320ms;
}

.dc-grid .dc-card[data-animate]:nth-child(6) {
  transition-delay: 400ms;
}

[data-animate="fade-left"] {
  transform: translateX(28px);
}

[data-animate="fade-right"] {
  transform: translateX(-28px);
}

[data-animate="fade-left"].is-visible,
[data-animate="fade-right"].is-visible {
  transform: translateX(0);
}

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

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .dc-card::after {
    display: none;
  }
}

.dc-portfolio-card {
  overflow: hidden;
  border: 1px solid var(--digicode-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(9, 34, 61, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.dc-portfolio-card:hover {
  box-shadow: 0 24px 64px rgba(9, 34, 61, 0.12);
  transform: translateY(-6px);
}

.dc-portfolio-card img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--digicode-soft);
}

.dc-portfolio-card__body {
  padding: 24px;
}

.dc-category {
  color: var(--digicode-cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dc-portfolio-card h2 {
  margin: 10px 0 18px;
  color: var(--digicode-navy);
  font-size: 1.25rem;
}

.dc-partners-section {
  overflow: hidden;
  padding: 82px 0;
  background: #ffffff;
}

.dc-partners-section .dc-section-head {
  max-width: 680px;
  margin-bottom: 34px;
}

.dc-partners-section .dc-title--section {
  font-size: clamp(1.7rem, 2.35vw, 2.55rem);
}

.dc-partners-section .dc-lead {
  margin-top: 14px;
  font-size: 1rem;
}

.dc-partners-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 42px;
}

.dc-partners-carousel::before,
.dc-partners-carousel::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 110px;
  content: "";
  pointer-events: none;
}

.dc-partners-carousel::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.dc-partners-carousel::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.dc-partners-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: dc-scroll-logos 26s linear infinite;
}

.dc-partners-track:hover {
  animation-play-state: paused;
}

@keyframes dc-scroll-logos {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.dc-logo-card {
  display: flex;
  min-width: 210px;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--digicode-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 26px 34px;
  box-shadow: 0 18px 42px rgba(9, 34, 61, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.dc-logo-card:hover {
  border-color: rgba(29, 182, 229, 0.45);
  box-shadow: 0 24px 58px rgba(9, 34, 61, 0.12);
  transform: translateY(-5px);
}

.dc-logo-card img {
  max-width: 150px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.62;
  filter: grayscale(100%);
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}

.dc-logo-card:hover img {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.04);
}

.dc-contact-box {
  border: 1px solid var(--digicode-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(9, 34, 61, 0.06);
}

.dc-contact-layout {
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  align-items: start;
}

.dc-contact-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.dc-contact-list a {
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--digicode-line);
  background: var(--digicode-navy);
  color: #d8e7f5;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 48px;
  padding: 56px 0 34px;
}

.site-footer img {
  width: 168px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer p {
  max-width: 440px;
  line-height: 1.7;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 0 0 10px;
}

.site-footer a {
  color: #d8e7f5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(216, 231, 245, 0.18);
  padding: 18px 0;
  color: #abc2d8;
  font-size: 0.92rem;
}

.digicode-contact-form input,
.digicode-contact-form textarea {
  width: 100%;
  border: 1px solid var(--digicode-line);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 6px;
  color: var(--digicode-ink);
  font: inherit;
}

.digicode-contact-form label {
  color: var(--digicode-navy);
  font-weight: 650;
}

.digicode-contact-form p {
  margin: 0;
}

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

.digicode-form-full {
  grid-column: 1 / -1;
}

.digicode-contact-form textarea {
  min-height: 128px;
  resize: vertical;
}

.digicode-form-actions {
  display: flex;
  justify-content: flex-end;
}

.digicode-contact-form button {
  border: 0;
  border-radius: 8px;
  background: var(--digicode-blue);
  color: #ffffff;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.digicode-form-success {
  border: 1px solid #bdebd6;
  border-radius: 8px;
  background: #effbf5;
  color: #17633e;
  padding: 14px 16px;
}

@media (max-width: 820px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
    gap: 16px;
  }

  .site-nav ul {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dc-hero {
    min-height: 470px;
  }

  .dc-page-hero {
    min-height: 340px;
  }

  .dc-hero::before {
    background: linear-gradient(90deg, rgba(9, 34, 61, 0.86), rgba(9, 34, 61, 0.52));
  }

  .dc-hero__content {
    padding: 62px 0;
  }

  .dc-page-hero__content {
    padding: 56px 0;
  }

  .dc-hero__hint {
    display: none;
  }

  .dc-section {
    padding: 62px 0;
  }

  .dc-grid--2,
  .dc-grid--3,
  .dc-grid--4,
  .dc-grid--5,
  .dc-mini-grid,
  .dc-contact-layout,
  .dc-stats {
    grid-template-columns: 1fr;
  }

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

  .dc-card,
  .dc-contact-box,
  .dc-panel,
  .dc-stat,
  .dc-cta {
    padding: 24px;
  }

  .dc-cta--visual {
    grid-template-columns: 1fr;
  }

  .dc-cta__info {
    display: none;
  }

  .dc-visual {
    margin: 0;
  }

  .dc-floating-note {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }

  .dc-partners-section {
    padding: 62px 0;
  }

  .dc-partners-carousel::before,
  .dc-partners-carousel::after {
    width: 54px;
  }

  .dc-logo-card {
    min-width: 160px;
    min-height: 98px;
    padding: 20px 24px;
  }

  .dc-logo-card img {
    max-width: 120px;
    max-height: 58px;
  }

}

/* Compact footer */
.site-footer {
  background: #202d36;
  color: #d8e0e7;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 48px;
  padding: 56px 0 34px;
}

.site-footer img {
  width: 168px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer p {
  max-width: 440px;
  line-height: 1.7;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 0 0 10px;
}

.site-footer__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(170, 196, 255, 0.9);
  padding: 22px 0;
}

.site-footer__copy {
  margin: 0;
  color: #d5dde6;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: none;
  white-space: nowrap;
}

.site-footer__credit {
  color: #ffd400 !important;
  font-weight: 800;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer__social a,
.site-floating-call {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #26a8d4;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-footer__social a:nth-child(1) {
  background: #1877f2;
}

.site-footer__social a:nth-child(2) {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
}

.site-footer__social a:nth-child(3) {
  background: #0a66c2;
}

.site-footer__social a:hover,
.site-floating-call:hover {
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.site-footer__social svg,
.site-floating-call svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__social svg {
  display: block;
}

.site-floating-call {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 80;
  width: 46px;
  height: 46px;
}

.site-floating-call svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 820px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__bar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    text-align: center;
  }

  .site-footer__copy {
    white-space: normal;
  }

  .site-floating-call {
    right: 16px;
    bottom: 18px;
  }
}
