/* ==========================================================================
   Utilities
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn--navy {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 40, 75, 0.25);
}

.btn--navy:hover {
  background: #0a1d38;
  color: #ffffff;
  transform: translateY(-2px);
}

.check-icon--sm {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Home Hero – full-bleed background (same pattern as style.css .hero)
   ========================================================================== */
.home-hero {
  --home-hero-bg-pos-x: 82%;
  --home-hero-bg-pos-y: 40%;
  --home-hero-min-height: clamp(720px, 52vh, 880px);

  position: relative;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  min-height: var(--home-hero-min-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #ffffff;
}

/* Background image layer – separate from gradient */
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/home/hero-bg.jpg");
  background-size: cover;
  background-position: var(--home-hero-bg-pos-x) var(--home-hero-bg-pos-y);
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* White → transparent gradient across full hero width */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.95) 25%,
    rgba(255, 255, 255, 0.75) 40%,
    rgba(255, 255, 255, 0.35) 55%,
    rgba(255, 255, 255, 0.15) 65%,
    rgba(255, 255, 255, 0.05) 75%,
    rgba(255, 255, 255, 0) 85%
  );
  z-index: 1;
  pointer-events: none;
}

.home-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 80px clamp(24px, 5vw, 80px);
  min-height: var(--home-hero-min-height);
  display: flex;
  align-items: center;
}

.home-hero__content {
  max-width: 560px;
  width: 100%;
  margin-left: max(0px, calc((100% - 1200px) / 2));
}

.home-hero__badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-green);
  background: var(--color-green-light);
  border-radius: 999px;
  margin-bottom: 24px;
}

.home-hero__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.home-hero__accent {
  color: var(--color-green);
}

.home-hero__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-paragraph);
  margin-bottom: 36px;
  max-width: 500px;
}

/* Payment card */
.home-hero__card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 16px 48px rgba(16, 40, 75, 0.12);
  border: 1px solid rgba(232, 232, 232, 0.9);
  max-width: 420px;
  container-type: inline-size;
  container-name: home-pay-card;
}

.home-hero__card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 6px;
}

.home-hero__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.home-hero__form {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.home-hero__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-primary);
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.home-hero__input::placeholder {
  color: #9ca3af;
}

.home-hero__input:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(103, 194, 58, 0.15);
}

.home-hero__submit {
  flex-shrink: 0;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  gap: 8px;
}

/* Narrow card: stack form (mobile / small containers) */
@container home-pay-card (max-width: 380px) {
  .home-hero__form {
    flex-direction: column;
    gap: 12px;
  }

  .home-hero__input,
  .home-hero__submit {
    width: 100%;
    height: 52px;
    min-height: 52px;
    border-radius: 14px;
  }

  .home-hero__submit {
    justify-content: center;
  }
}

.home-hero__payments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.home-hero__pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 40, 75, 0.04);
  line-height: 0;
  overflow: hidden;
}

.home-hero__pay-logo {
  display: block;
  width: 100%;
  max-width: 36px;
  height: 12px;
  object-fit: contain;
  object-position: center;
}

.home-hero__pay-logo--mc {
  max-width: 30px;
  height: 16px;
}

.home-hero__pay-logo--amex {
  max-width: 34px;
  height: 10px;
}

/* ==========================================================================
   Audience Cards Section
   ========================================================================== */
.home-audience {
  padding: 80px 0 72px;
  background: #ffffff;
}

.home-audience__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.home-audience__title {
  font-size: clamp(1.625rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.home-audience__subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-paragraph);
  margin: 0;
}

.home-audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.home-card {
  position: relative;
  display: block;
  border-radius: 24px;
  padding: 40px 42% 40px 40px;
  overflow: hidden;
  min-height: 460px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 40, 75, 0.1);
}

.home-card--companies {
  background: #f3fbf0;
  border: 1.5px solid #bfe4a8;
  box-shadow: 0 4px 20px rgba(103, 194, 58, 0.08);
}

.home-card--debtors {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(16, 40, 75, 0.04);
}

.home-card__body {
  position: relative;
  z-index: 2;
  max-width: 340px;
}

.home-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 12px;
}

.home-card__title {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.home-card__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-paragraph);
  margin-bottom: 22px;
}

.home-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.home-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-primary);
}

.home-card__btn {
  gap: 8px;
  padding: 14px 22px;
  font-size: 0.9375rem;
  border-radius: 14px;
}

.home-card--debtors .home-card__btn {
  border-width: 1.5px;
}

.home-card__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.home-card__image {
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(0 18px 36px rgba(16, 40, 75, 0.18));
}

.home-card__image--laptop {
  max-height: 92%;
  width: 118%;
  max-width: none;
  margin-right: -18%;
  margin-bottom: -4%;
}

.home-card__image--mobile {
  max-height: 96%;
  width: auto;
  margin-right: -12%;
  margin-bottom: -2%;
}

/* ==========================================================================
   Responsive – Large Desktop (same breakpoints as style.css)
   ========================================================================== */
@media (min-width: 1440px) {
  .home-hero {
    --home-hero-bg-pos-x: 84%;
    --home-hero-bg-pos-y: 38%;
    --home-hero-min-height: clamp(760px, 54vh, 920px);
  }
}

@media (min-width: 1680px) {
  .home-hero {
    --home-hero-bg-pos-x: 86%;
    --home-hero-bg-pos-y: 36%;
    --home-hero-min-height: clamp(800px, 56vh, 960px);
  }
}

@media (min-width: 1920px) {
  .home-hero {
    --home-hero-bg-pos-x: 88%;
    --home-hero-bg-pos-y: 34%;
    --home-hero-min-height: clamp(840px, 58vh, 1000px);
  }
}

@media (min-width: 2560px) {
  .home-hero {
    --home-hero-bg-pos-x: 90%;
    --home-hero-bg-pos-y: 32%;
    --home-hero-min-height: clamp(880px, 60vh, 1080px);
  }
}

@media (max-width: 1440px) {
  .home-hero {
    --home-hero-bg-pos-x: 80%;
    --home-hero-bg-pos-y: 40%;
  }

  .home-hero__container {
    padding: 72px clamp(32px, 4vw, 64px);
  }
}

@media (max-width: 1280px) {
  .home-hero {
    --home-hero-bg-pos-x: 78%;
    --home-hero-bg-pos-y: 42%;
    --home-hero-min-height: 680px;
  }
}

@media (max-width: 1200px) {
  .home-hero {
    --home-hero-bg-pos-x: 75%;
    --home-hero-bg-pos-y: 42%;
    --home-hero-min-height: 640px;
  }

  .home-hero__container {
    padding: 60px clamp(24px, 3vw, 40px);
  }

  .home-hero__content {
    margin-left: 0;
  }

  .home-card {
    padding: 36px 44% 36px 32px;
    min-height: 420px;
  }

  .home-card__body {
    max-width: 300px;
  }

  .home-card__image--laptop {
    width: 130%;
    margin-right: -28%;
  }

  .home-card__image--mobile {
    margin-right: -18%;
  }
}

@media (max-width: 1024px) {
  .home-audience__grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-inline: auto;
    gap: 24px;
  }

  .home-card {
    padding: 36px 42% 36px 36px;
    min-height: 400px;
  }

  .home-card__body {
    max-width: 320px;
  }

  .home-hero {
    --home-hero-bg-pos-x: 70%;
    --home-hero-bg-pos-y: 45%;
    --home-hero-min-height: 600px;
  }
}

@media (max-width: 768px) {
  .home-hero {
    --home-hero-min-height: auto;
  }

  .home-hero::after {
    display: none;
  }

  .home-hero::before {
    display: none;
  }

  .home-hero__container {
    padding: 40px 16px 48px;
    min-height: auto;
  }

  .home-hero__content {
    max-width: 100%;
  }

  .home-hero__badge {
    margin-bottom: 14px;
  }

  .home-hero__title {
    margin-bottom: 14px;
  }

  .home-hero__text {
    margin-bottom: 24px;
  }

  .home-hero__card {
    max-width: 100%;
    width: 100%;
    padding: 22px 18px 20px;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(16, 40, 75, 0.1);
  }

  .home-hero__card-label {
    font-size: 0.625rem;
    margin-bottom: 8px;
  }

  .home-hero__card-title {
    font-size: 1.125rem;
    margin-bottom: 18px;
    line-height: 1.3;
  }

  .home-hero__form {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }

  .home-hero__input {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    font-size: 1rem;
    border-radius: 14px;
  }

  .home-hero__submit {
    width: 100%;
    height: 52px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 1rem;
    justify-content: center;
  }

  .home-hero__payments {
    justify-content: flex-start;
    gap: 8px;
    padding-top: 2px;
  }

  .home-hero__pay {
    width: 56px;
    height: 32px;
    border-radius: 8px;
  }

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

  .home-audience__header {
    margin-bottom: 36px;
  }

  .home-card {
    padding: 28px 24px 0;
    min-height: auto;
    overflow: hidden;
  }

  .home-card__body {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .home-card__media {
    position: relative;
    width: 100%;
    height: 240px;
    justify-content: center;
    align-items: flex-end;
  }

  .home-card__image--laptop,
  .home-card__image--mobile {
    width: auto;
    max-width: 85%;
    max-height: 230px;
    margin-right: 0;
    margin-bottom: -8px;
  }
}

@media (max-width: 480px) {
  .home-hero__container {
    padding: 32px 14px 40px;
  }

  .home-hero__title {
    font-size: 1.75rem;
  }

  .home-hero__text {
    font-size: 0.9375rem;
    margin-bottom: 20px;
  }

  .home-hero__card {
    padding: 20px 16px 18px;
    border-radius: 16px;
  }

  .home-hero__card-title {
    font-size: 1.0625rem;
    margin-bottom: 16px;
  }

  .home-hero__form {
    gap: 10px;
    margin-bottom: 14px;
  }

  .home-hero__input {
    height: 50px;
    padding: 0 14px;
    font-size: 0.9375rem;
  }

  .home-hero__input::placeholder {
    font-size: 0.875rem;
  }

  .home-hero__submit {
    height: 50px;
    min-height: 50px;
    font-size: 0.9375rem;
  }

  .home-hero__payments {
    gap: 8px;
    width: 100%;
  }

  .home-hero__pay {
    flex: 0 0 auto;
    width: 54px;
    height: 30px;
    padding: 0 8px;
  }

  .home-hero__pay-logo {
    max-width: 34px;
    height: 12px;
  }

  .home-hero__pay-logo--mc {
    max-width: 28px;
    height: 15px;
  }

  .home-hero__pay-logo--amex {
    max-width: 32px;
    height: 10px;
  }

  .home-card__title {
    font-size: 1.125rem;
  }

  .home-card__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Trust Stats Bar
   ========================================================================== */
.home-trust {
  padding: 0 0 64px;
  background: #ffffff;
}

.home-trust__panel {
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 28px 32px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(16, 40, 75, 0.04);
}

.home-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
  align-items: center;
}

.home-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.home-trust__item--badge {
  gap: 16px;
}

.home-trust__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f5f7fa;
  color: var(--color-green);
}

.home-trust__copy {
  min-width: 0;
}

.home-trust__value {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.home-trust__label {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-paragraph);
  margin: 0;
}

.home-trust__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px dashed var(--color-green);
  border-radius: 12px;
  background: var(--color-green-light);
}

.home-trust__badge-mark {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-green);
}

.home-trust__badge-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0 0 4px;
}

.home-trust__item--badge .home-trust__label {
  font-size: 0.75rem;
  line-height: 1.35;
}

/* ==========================================================================
   Trusted Partners – seamless infinite logo marquee
   ========================================================================== */
.home-partners {
  --partners-gap: clamp(48px, 7vw, 80px);
  --partners-speed: 10s;

  padding: 0 0 72px;
  background: #ffffff;
}

.home-partners__eyebrow {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b0b8c4;
  margin: 0 0 36px;
}

.home-partners__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.home-partners__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: home-partners-scroll var(--partners-speed) linear infinite;
  will-change: transform;
}

.home-partners__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Equal margin after EVERY logo (including last) = seamless loop, no blank gap */
.home-partners__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: var(--partners-gap);
}

.home-partners__logo-img {
  display: block;
  
  object-fit: contain;
  object-position: center;
 

}

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

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

@media (prefers-reduced-motion: reduce) {
  .home-partners__marquee {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-partners__marquee::-webkit-scrollbar {
    display: none;
  }

  .home-partners__track {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .home-partners__group[aria-hidden="true"] {
    display: none;
  }
}

/* ==========================================================================
   Consultation CTA – white card matching design
   ========================================================================== */
.home-consultation {
  padding: 0 0 80px;
  background: #ffffff;
}

.home-consultation__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 28px 36px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(16, 40, 75, 0.04);
}

.home-consultation__main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}

.home-consultation__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #eef8e8;
  color: #67c23a;
}

.home-consultation__copy {
  min-width: 0;
}

.home-consultation__title {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 700;
  color: #10284b;
  line-height: 1.3;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.home-consultation__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 400;
  color: #757575;
  margin: 0;
}

.home-consultation__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.home-consultation__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #10284b;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.home-consultation__phone:hover {
  color: #67c23a;
}

.home-consultation__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #67c23a;
  line-height: 0;
}

.home-consultation__btn {
  white-space: nowrap;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9375rem;
  gap: 10px;
}

/* ==========================================================================
   Trust / Partners / CTA – Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .home-trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-trust__item--badge {
    grid-column: span 2;
  }
}

@media (max-width: 1024px) {
  .home-consultation__panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
    gap: 24px;
  }

  .home-consultation__actions {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .home-trust {
    padding: 0 0 48px;
  }

  .home-trust__panel {
    padding: 24px 20px;
  }

  .home-trust__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .home-trust__item--badge {
    grid-column: 1 / -1;
  }

  .home-partners {
    --partners-gap: 40px;
    --partners-speed: 100s;
    padding: 0 0 56px;
  }

  .home-consultation {
    padding: 0 0 64px;
  }

  .home-consultation__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home-consultation__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .home-consultation__phone {
    justify-content: center;
  }

  .home-consultation__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Home FAQ
   ========================================================================== */
.home-faq {
  padding: 0 0 88px;
  background: #ffffff;
}

.home-faq__header {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.home-faq__eyebrow {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-green);
}

.home-faq__title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #111827;
}

.home-faq__subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #6b7280;
}

.home-faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-faq__item {
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 40, 75, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-faq__item[open] {
  border-color: rgba(103, 194, 58, 0.35);
  box-shadow: 0 8px 22px rgba(16, 40, 75, 0.06);
}

.home-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
}

.home-faq__question::-webkit-details-marker {
  display: none;
}

.home-faq__question::marker {
  content: "";
}

.home-faq__question-text {
  flex: 1;
  min-width: 0;
}

.home-faq__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: var(--color-green);
  background: #eef9e8;
  transition: transform 0.2s ease;
}

.home-faq__item[open] .home-faq__icon {
  transform: rotate(180deg);
}

.home-faq__answer {
  padding: 0 20px 18px;
}

.home-faq__answer p {
  margin: 0;
  padding-top: 2px;
  border-top: 1px solid #eef1f5;
  padding-top: 14px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4b5563;
}

.home-faq__footer {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #6b7280;
}

.home-faq__footer a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-faq__footer a:hover {
  color: var(--color-green);
}

@media (max-width: 768px) {
  .home-faq {
    padding: 0 0 64px;
  }

  .home-faq__header {
    margin-bottom: 24px;
    text-align: left;
  }

  .home-faq__question {
    padding: 16px;
    font-size: 0.9375rem;
    align-items: flex-start;
  }

  .home-faq__answer {
    padding: 0 16px 16px;
  }

  .home-faq__footer {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .home-trust__grid {
    grid-template-columns: 1fr;
  }

  .home-trust__item--badge {
    grid-column: auto;
  }
}


/* ==========================================================================
   Home – About description (full width, under the belief heading)
   ========================================================================== */
.home-about {
  width: 100%;
  margin: 0 0 56px;
  padding: 28px 40px;
  background: var(--color-hero-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.home-about__text {
  max-width: none;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-paragraph);
}

/* ==========================================================================
   Our Process
   ========================================================================== */
.home-process {
  padding: 88px 0 88px;
  background: #ffffff;
}

.home-process__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.home-process__title {
  font-size: clamp(1.625rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.home-process__subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-paragraph);
  margin: 0;
}

.home-process__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-process__step {
  position: relative;
  padding: 28px 22px 26px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.home-process__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.home-process__num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #c3cad6;
}

.home-process__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: var(--color-hero-bg-end);
  color: var(--color-primary);
}

.home-process__step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.home-process__step-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-paragraph);
  margin: 0;
}

/* 3 per row, last two steps centred (6-column grid, each step spans 2) */
@media (max-width: 1279px) {
  .home-process__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .home-process__step {
    grid-column: span 2;
  }

  .home-process__step:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .home-process__step:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* 2 per row, last step centred */
@media (max-width: 1024px) {
  .home-process__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .home-process__step,
  .home-process__step:nth-child(4) {
    grid-column: span 2;
  }

  .home-process__step:nth-child(5) {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 768px) {
  .home-about {
    padding: 22px 20px;
    margin-bottom: 36px;
  }

  .home-process {
    padding: 56px 0;
  }

  .home-process__header {
    margin-bottom: 32px;
  }
}

@media (max-width: 560px) {
  .home-process__grid {
    grid-template-columns: 1fr;
  }

  .home-process__step,
  .home-process__step:nth-child(4),
  .home-process__step:nth-child(5) {
    grid-column: auto;
  }
}


/* ==========================================================================
   Home – Services grid (replaces audience cards)
   ========================================================================== */
.home-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-service {
  padding: 32px 28px;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.home-service:nth-child(odd) {
  background: #f3fbf0;
  border-color: #bfe4a8;
}

.home-service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.home-service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #ffffff;
}

.home-service__title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.home-service__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-paragraph);
  margin: 0;
}

@media (max-width: 1024px) {
  .home-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-service:nth-child(odd) {
    background: #ffffff;
    border-color: var(--color-border);
  }

  .home-service:nth-child(4n+1),
  .home-service:nth-child(4n+4) {
    background: #f3fbf0;
    border-color: #bfe4a8;
  }
}

@media (max-width: 640px) {
  .home-services {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-service {
    padding: 26px 22px;
  }
}

/* ==========================================================================
   About Us page (aboutus.php) – nx-* classes
   ========================================================================== */
.nx-about {
  padding: 80px 0 48px;
  background: #ffffff;
}

.nx-about__intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.nx-about__badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-hero-bg-end);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.nx-about__title {
  font-size: clamp(2.125rem, 4.2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 22px;
}

.nx-about__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}

.nx-about__lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.8;
  color: var(--color-paragraph);
  margin: 0;
}

/* Vision & Mission */
.nx-vm {
  padding: 0 0 64px;
  background: #ffffff;
}

.nx-vm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.nx-vm__card {
  position: relative;
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nx-vm__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.nx-vm__card--vision {
  background: var(--color-hero-bg);
  box-shadow: var(--shadow-card);
}

.nx-vm__card--mission {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(16, 40, 75, 0.22);
}

.nx-vm__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #ffffff;
}

.nx-vm__card--mission .nx-vm__icon {
  background: rgba(255, 255, 255, 0.12);
}

.nx-vm__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.nx-vm__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-paragraph);
  margin: 0;
}

.nx-vm__card--mission .nx-vm__title {
  color: #ffffff;
}

.nx-vm__card--mission .nx-vm__text {
  color: rgba(255, 255, 255, 0.82);
}

/* Why choose us */
.nx-why {
  padding: 0 0 72px;
  background: #ffffff;
}

.nx-why__panel {
  padding: 56px 48px 60px;
  background: var(--color-hero-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.nx-why__header {
  text-align: center;
  margin-bottom: 40px;
}

.nx-why__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin: 0;
  text-transform: none;
}

.nx-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nx-why__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.nx-why__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.nx-why__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  flex-shrink: 0;
}

.nx-why__text {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-primary);
}

@media (max-width: 1200px) {
  .nx-why__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .nx-vm__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nx-about {
    padding: 56px 0 36px;
  }

  .nx-vm {
    padding-bottom: 48px;
  }

  .nx-vm__card {
    padding: 32px 26px;
  }

  .nx-why {
    padding-bottom: 56px;
  }

  .nx-why__panel {
    padding: 36px 20px 40px;
  }
}

@media (max-width: 520px) {
  .nx-why__grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Services (sv-*) – home #services section and service.php
   ========================================================================== */
.sv-section {
  padding: 84px 0 88px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-hero-bg) 100%);
}

.sv-section--page {
  padding-top: 24px;
}

.sv-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.sv-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-hero-bg-end);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.sv-title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.sv-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-paragraph);
  margin: 0;
}

/* Hero (service.php) */
.sv-hero {
  padding: 84px 0 40px;
  background: #ffffff;
}

.sv-hero__inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.sv-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.sv-hero__lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.8;
  color: var(--color-paragraph);
  margin: 0;
}

/* Grid + cards */
.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px 32px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 24px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.sv-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #3b5b8c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.sv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 40, 75, 0.25);
  box-shadow: var(--shadow-float);
}

.sv-card:hover::before {
  transform: scaleX(1);
}

.sv-card__num {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-hero-bg-end);
  transition: color var(--transition);
  user-select: none;
}

.sv-card:hover .sv-card__num {
  color: #dbe2ee;
}

.sv-card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-primary), #2c4a7c);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(16, 40, 75, 0.25);
  transition: transform var(--transition);
}

.sv-card:hover .sv-card__icon {
  transform: rotate(-6deg) scale(1.08);
}

.sv-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.sv-card__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-paragraph);
  margin-bottom: 20px;
}

.sv-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 26px;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px dashed var(--color-border);
}

.sv-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.sv-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-hero-bg-end);
  color: var(--color-primary);
}

.sv-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
}

.sv-card__link svg {
  transition: transform var(--transition-fast);
}

.sv-card__link:hover svg {
  transform: translateX(5px);
}

.sv-cta {
  margin-top: 52px;
  text-align: center;
}

.sv-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

@media (max-width: 768px) {
  .sv-section {
    padding: 56px 0 60px;
  }

  .sv-hero {
    padding: 56px 0 24px;
  }

  .sv-head {
    margin-bottom: 36px;
  }
}

@media (max-width: 640px) {
  .sv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sv-card {
    padding: 30px 24px 26px;
  }
}

.home-audience .home-about {
  margin-bottom: 0;
}

/* ==========================================================================
   Alignment fixes
   ========================================================================== */
/* "View All Services" button – .btn has no padding of its own */
.sv-cta .btn {
  padding: 16px 32px;
  min-height: 54px;
  font-size: 1rem;
  gap: 10px;
}

/* Keep process cards compact while 5 sit in one row */
@media (min-width: 1280px) and (max-width: 1400px) {
  .home-process__step {
    padding: 26px 18px 24px;
  }
}

/* Equal-height, evenly spaced rows inside process cards */
.home-process__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-process__step-text {
  margin-top: 0;
}

/* Service cards: text grows so the feature lists and links line up across a row */
.sv-card__text {
  flex: 1 1 auto;
}

/* Tidy spacing between stacked homepage sections */
.home-audience {
  padding-bottom: 56px;
}

.sv-section + .home-process {
  padding-top: 88px;
}


/* ==========================================================================
   AI Solutions (ai-*) – aisolution.php and home #ai-solutions band
   ========================================================================== */
.ai-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-hero-bg-end);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.ai-badge--dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Buttons */
.ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  min-height: 52px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition-fast),
    box-shadow var(--transition);
}

.ai-btn svg {
  transition: transform var(--transition-fast);
}

.ai-btn:hover svg {
  transform: translateX(4px);
}

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

.ai-btn--solid {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 40, 75, 0.28);
}

.ai-btn--solid:hover {
  background: #0a1d38;
  color: #ffffff;
}

.ai-btn--ghost {
  background: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.ai-btn--ghost:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.ai-btn--light {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.ai-btn--light:hover {
  background: var(--color-hero-bg-end);
  color: var(--color-primary);
}

.ai-btn--outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.ai-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
}

/* Section header */
.ai-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.ai-head__title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.ai-head__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-paragraph);
  margin: 0;
}

/* Hero */
.ai-hero {
  position: relative;
  padding: 88px 0 80px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(16, 40, 75, 0.08), transparent 70%),
    linear-gradient(180deg, var(--color-hero-bg) 0%, #ffffff 100%);
  overflow: hidden;
}

.ai-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.ai-hero__title {
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.ai-hero__accent {
  background: linear-gradient(90deg, var(--color-primary), #4a6fa8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-primary);
}

.ai-hero__lead {
  max-width: 540px;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-paragraph);
  margin-bottom: 32px;
}

.ai-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero visual – mock chat */
.ai-hero__visual {
  position: relative;
  padding: 28px 24px 28px 8px;
}

.ai-chat {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

.ai-chat__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-primary);
  color: #ffffff;
}

.ai-chat__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.ai-chat__name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.ai-chat__status {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}

.ai-chat__status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.ai-chat__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px 28px;
  background: var(--color-hero-bg);
}

.ai-chat__msg {
  max-width: 84%;
  margin: 0;
  padding: 12px 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  border-radius: 16px;
}

.ai-chat__msg--user {
  align-self: flex-end;
  background: var(--color-primary);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.ai-chat__msg--bot {
  align-self: flex-start;
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}

.ai-chat__msg--typing {
  display: inline-flex;
  align-self: flex-start;
  gap: 5px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}

.ai-chat__msg--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa7bd;
  animation: ai-typing 1.2s infinite ease-in-out;
}

.ai-chat__msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-chat__msg--typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes ai-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.ai-float {
  position: absolute;
  padding: 9px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-card-hover);
  animation: ai-float 5s ease-in-out infinite;
}

.ai-float--one { top: 6px; left: 0; }
.ai-float--two { bottom: 70px; left: -14px; animation-delay: 1.2s; }
.ai-float--three { bottom: 4px; right: 18px; animation-delay: 2.4s; }

@keyframes ai-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Solutions bento */
.ai-solutions {
  padding: 80px 0 72px;
  background: #ffffff;
  scroll-margin-top: var(--header-height);
}

.ai-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ai-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.ai-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 40, 75, 0.25);
  box-shadow: var(--shadow-float);
}

.ai-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d3f73 100%);
  border-color: var(--color-primary);
  color: #ffffff;
  overflow: hidden;
}

.ai-card--featured::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.ai-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--color-hero-bg-end);
  color: var(--color-primary);
  transition: transform var(--transition);
}

.ai-card:hover .ai-card__icon {
  transform: rotate(-6deg) scale(1.06);
}

.ai-card--featured .ai-card__icon {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.ai-card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.ai-card__text {
  flex: 0 1 auto;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-paragraph);
  margin-bottom: 20px;
}

.ai-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px dashed var(--color-border);
}

.ai-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.ai-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-hero-bg-end);
  color: var(--color-primary);
}

.ai-card--featured .ai-card__title {
  font-size: 1.5rem;
  color: #ffffff;
}

.ai-card--featured .ai-card__text {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
}

.ai-card--featured .ai-card__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  border-top-color: rgba(255, 255, 255, 0.2);
}

.ai-card--featured .ai-card__list li {
  color: #ffffff;
}

.ai-card--featured .ai-card__check {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* Outcomes */
.ai-outcomes {
  padding: 0 0 80px;
  background: #ffffff;
}

.ai-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 36px 32px;
  list-style: none;
  background: var(--color-hero-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.ai-outcome {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ai-outcome__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--color-primary);
  color: #ffffff;
}

.ai-outcome__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.ai-outcome__text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-paragraph);
  margin: 0;
}

/* Approach */
.ai-approach {
  padding: 0 0 84px;
  background: #ffffff;
}

.ai-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #c3cad6 0 8px, transparent 8px 16px);
}

.ai-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.ai-step__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--color-primary);
  border: 5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(16, 40, 75, 0.25);
}

.ai-step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.ai-step__text {
  max-width: 250px;
  margin: 0 auto;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-paragraph);
}

/* Stack */
.ai-stack {
  padding: 0 0 80px;
  background: #ffffff;
}

.ai-stack__panel {
  padding: 44px 40px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.ai-stack__title {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.ai-stack__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-chip {
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-hero-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.ai-chip:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* CTA */
.ai-cta {
  padding: 0 0 88px;
  background: #ffffff;
}

.ai-cta__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 52px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d3f73 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(16, 40, 75, 0.28);
}

.ai-cta__title {
  max-width: 560px;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 8px;
}

.ai-cta__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.ai-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

/* Home band (#ai-solutions on index.php) */
.ai-band {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d3f73 100%);
  scroll-margin-top: var(--header-height);
}

.ai-band__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.ai-band__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
}

.ai-band__text {
  max-width: 520px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 30px;
}

.ai-band__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-band__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition);
}

.ai-band__item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.ai-band__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.ai-band__label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1100px) {
  .ai-hero__grid,
  .ai-band__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ai-hero__lead,
  .ai-band__text {
    max-width: 640px;
  }

  .ai-hero__visual {
    max-width: 480px;
    margin: 0 auto;
    padding-left: 24px;
  }

  .ai-chat {
    margin-inline: auto;
  }

  .ai-outcomes__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }

  .ai-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .ai-steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .ai-bento {
    grid-template-columns: 1fr 1fr;
  }

  .ai-card--featured {
    grid-column: span 2;
  }

  .ai-cta__panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 30px;
  }
}

@media (max-width: 680px) {
  .ai-hero {
    padding: 56px 0 56px;
  }

  .ai-solutions {
    padding: 56px 0 48px;
  }

  .ai-outcomes,
  .ai-approach,
  .ai-stack {
    padding-bottom: 56px;
  }

  .ai-band {
    padding: 56px 0;
  }

  .ai-head {
    margin-bottom: 36px;
  }

  .ai-bento,
  .ai-band__list {
    grid-template-columns: 1fr;
  }

  .ai-card--featured {
    grid-column: auto;
  }

  .ai-card--featured .ai-card__list {
    grid-template-columns: 1fr;
  }

  .ai-outcomes__grid {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .ai-steps {
    grid-template-columns: 1fr;
  }

  .ai-stack__panel {
    padding: 32px 20px;
  }

  .ai-cta__actions,
  .ai-hero__actions {
    width: 100%;
  }

  .ai-cta__actions .ai-btn,
  .ai-hero__actions .ai-btn {
    flex: 1 1 100%;
  }

  .ai-float--two {
    left: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-float,
  .ai-chat__msg--typing span {
    animation: none;
  }
}


/* ==========================================================================
   Collaboration (co-*) – colloboration.php and home #collaboration band
   ========================================================================== */
.co-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-hero-bg-end);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.co-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  min-height: 52px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition-fast),
    box-shadow var(--transition);
}

.co-btn:hover { transform: translateY(-2px); }
.co-btn svg { transition: transform var(--transition-fast); }
.co-btn:hover svg { transform: translateX(4px); }

.co-btn--solid {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 40, 75, 0.28);
}

.co-btn--solid:hover { background: #0a1d38; color: #ffffff; }

.co-btn--ghost {
  background: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.co-btn--ghost:hover { background: var(--color-primary); color: #ffffff; }

.co-btn--light {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.co-btn--light:hover { background: var(--color-hero-bg-end); color: var(--color-primary); }

.co-btn--outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.co-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
}

.co-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.co-head__title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.co-head__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-paragraph);
  margin: 0;
}

/* Hero */
.co-hero {
  padding: 88px 0 80px;
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(16, 40, 75, 0.07), transparent 70%),
    linear-gradient(180deg, var(--color-hero-bg) 0%, #ffffff 100%);
  overflow: hidden;
  scroll-margin-top: var(--header-height);
}

.co-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.co-hero__title {
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.co-hero__accent {
  background: linear-gradient(90deg, var(--color-primary), #4a6fa8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-primary);
}

.co-hero__lead {
  max-width: 540px;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-paragraph);
  margin-bottom: 32px;
}

.co-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Venn visual */
.co-venn {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1.15 / 1;
  margin: 0 auto;
}

.co-venn__circle {
  position: absolute;
  top: 16%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: clamp(0.8125rem, 1.6vw, 1rem);
  font-weight: 700;
  text-align: center;
}

.co-venn__circle--a {
  left: 0;
  padding-right: 22%;
  color: var(--color-primary);
  background: rgba(16, 40, 75, 0.1);
  border: 2px solid rgba(16, 40, 75, 0.35);
}

.co-venn__circle--b {
  right: 0;
  padding-left: 22%;
  color: #ffffff;
  background: rgba(16, 40, 75, 0.88);
  border: 2px solid var(--color-primary);
  mix-blend-mode: multiply;
}

.co-venn__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 16px;
  font-size: clamp(0.75rem, 1.4vw, 0.875rem);
  font-weight: 800;
  color: var(--color-primary);
  background: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-float);
  white-space: nowrap;
}

.co-float {
  position: absolute;
  padding: 8px 15px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-card-hover);
  animation: co-float 5s ease-in-out infinite;
}

.co-float--one { top: 2%; right: 4%; }
.co-float--two { bottom: 2%; left: 4%; animation-delay: 1.5s; }

@keyframes co-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Engagement models */
.co-models {
  padding: 80px 0;
  background: #ffffff;
  scroll-margin-top: var(--header-height);
}

.co-models__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.co-model {
  display: flex;
  flex-direction: column;
  padding: 36px 34px 32px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.co-model:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 40, 75, 0.25);
  box-shadow: var(--shadow-float);
}

.co-model__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.co-model__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-primary), #2c4a7c);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(16, 40, 75, 0.25);
  transition: transform var(--transition);
}

.co-model:hover .co-model__icon { transform: rotate(-6deg) scale(1.06); }

.co-model__tag {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-hero-bg-end);
  border-radius: var(--radius-full);
  text-align: right;
}

.co-model__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.co-model__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-paragraph);
  margin-bottom: 22px;
}

.co-model__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px dashed var(--color-border);
}

.co-model__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.co-model__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-hero-bg-end);
  color: var(--color-primary);
}

/* Who we work with */
.co-who { padding: 0 0 80px; background: #ffffff; }

.co-who__panel {
  padding: 52px 44px 48px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d3f73 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(16, 40, 75, 0.25);
}

.co-who__heading {
  margin-bottom: 36px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  text-align: center;
  color: #ffffff;
}

.co-who__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.co-who__item {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition);
}

.co-who__item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.co-who__title {
  margin-bottom: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
}

.co-who__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

/* Values */
.co-values { padding: 0 0 80px; background: #ffffff; }

.co-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.co-value {
  padding: 30px 26px;
  background: var(--color-hero-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.co-value:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.co-value__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--color-primary);
  color: #ffffff;
}

.co-value__title {
  margin-bottom: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
}

.co-value__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-paragraph);
}

/* Flow */
.co-flow { padding: 0 0 84px; background: #ffffff; }

.co-flow__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.co-flow__grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #c3cad6 0 8px, transparent 8px 16px);
}

.co-flow__step { position: relative; padding: 0 8px; text-align: center; }

.co-flow__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--color-primary);
  border: 5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(16, 40, 75, 0.25);
}

.co-flow__title {
  margin-bottom: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
}

.co-flow__text {
  max-width: 250px;
  margin: 0 auto;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-paragraph);
}

/* CTA */
.co-cta { padding: 0 0 88px; background: #ffffff; }

.co-cta__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 52px;
  background: var(--color-hero-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.co-cta__title {
  max-width: 560px;
  margin-bottom: 8px;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-primary);
}

.co-cta__text { margin: 0; font-size: 1rem; color: var(--color-paragraph); }

.co-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

.co-cta .co-btn--light {
  background: var(--color-primary);
  color: #ffffff;
}

.co-cta .co-btn--light:hover { background: #0a1d38; color: #ffffff; }

.co-cta .co-btn--outline-light {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.co-cta .co-btn--outline-light:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* Home band (#collaboration on index.php) */
.co-band { padding: 0 0 88px; background: #ffffff; scroll-margin-top: var(--header-height); }

.co-band__panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 56px 52px;
  background: var(--color-hero-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.co-band__title {
  margin-bottom: 14px;
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-primary);
}

.co-band__text {
  max-width: 500px;
  margin-bottom: 28px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-paragraph);
}

.co-band__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.co-band__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.co-band__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.co-band__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--color-primary);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1100px) {
  .co-hero__grid,
  .co-band__panel { grid-template-columns: 1fr; gap: 40px; }

  .co-hero__lead,
  .co-band__text { max-width: 640px; }

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

  .co-flow__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .co-flow__grid::before { display: none; }
}

@media (max-width: 900px) {
  .co-models__grid { grid-template-columns: 1fr; }
  .co-who__grid { grid-template-columns: 1fr; }

  .co-cta__panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 30px;
  }
}

@media (max-width: 680px) {
  .co-hero { padding: 56px 0; }
  .co-models { padding: 56px 0; }
  .co-who, .co-values, .co-flow { padding-bottom: 56px; }
  .co-band { padding-bottom: 56px; }
  .co-head { margin-bottom: 36px; }
  .co-model { padding: 28px 22px 26px; }
  .co-who__panel { padding: 36px 20px; }
  .co-values__grid,
  .co-flow__grid,
  .co-band__list { grid-template-columns: 1fr; }
  .co-band__panel { padding: 32px 22px; }

  .co-hero__actions,
  .co-cta__actions { width: 100%; }

  .co-hero__actions .co-btn,
  .co-cta__actions .co-btn { flex: 1 1 100%; }
}

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

/* ==========================================================================
   Technology page (tc-*) – technology.php
   Uses the site tokens from style.css (colors, radius, transition)
   ========================================================================== */
.tc {
  --tc-ink: var(--color-primary, #0f1a33);
  --tc-accent: var(--color-green, #2748f5);
  --tc-text: var(--color-paragraph, #55607a);
  --tc-line: var(--color-border, #dce2ef);
  --tc-soft: var(--color-hero-bg, #f4f6fb);
  --tc-radius: var(--radius-lg, 16px);
  background: var(--tc-soft);
  color: var(--tc-ink);
}

.tc h1,
.tc h2,
.tc h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--tc-ink); }
.tc p { margin: 0; }
.tc a:focus-visible,
.tc button:focus-visible { outline: 3px solid var(--tc-accent); outline-offset: 3px; }

/* Buttons */
.tc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: var(--tc-accent);
  border: 2px solid var(--tc-accent);
  border-radius: var(--radius-btn, 12px);
  transition: background var(--transition, 0.25s ease), color var(--transition, 0.25s ease), border-color var(--transition, 0.25s ease);
}
.tc-btn:hover { background: var(--tc-ink); border-color: var(--tc-ink); color: #ffffff; }
.tc-btn--ghost { background: transparent; color: var(--tc-ink); border-color: var(--tc-ink); }
.tc-btn--ghost:hover { background: var(--tc-ink); color: #ffffff; }

/* Hero */
.tc-hero { padding: clamp(56px, 9vw, 108px) 0 clamp(48px, 7vw, 84px); background: #ffffff; }
.tc-hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.tc-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; }
.tc-hero h1 span { display: block; color: var(--tc-accent); }
.tc-lead { margin-top: 22px; max-width: 52ch; font-size: 1.125rem; line-height: 1.75; color: var(--tc-text); }
.tc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Stacked layers (hero visual) */
.tc-plates { display: grid; gap: 14px; perspective: 1200px; }
.tc-plate {
  background: #ffffff;
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius);
  padding: 18px 22px;
  box-shadow: 0 18px 30px -22px rgba(16, 40, 75, 0.45);
  animation: tc-drop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 110ms);
}
.tc-plate:nth-child(2) { margin-left: 28px; }
.tc-plate:nth-child(3) { margin-left: 56px; }
.tc-plate:nth-child(4) { margin-left: 84px; border-left: 6px solid var(--tc-accent); }
.tc-plate b { font-size: 1.05rem; color: var(--tc-ink); }
.tc-plate small { display: block; margin-top: 2px; font-size: 0.85rem; color: var(--tc-text); }

.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.tc-chips li {
  padding: 5px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--tc-ink);
  background: var(--tc-soft);
  border: 1px solid var(--tc-line);
  border-radius: var(--radius-full, 999px);
}

@keyframes tc-drop {
  from { opacity: 0; transform: translateY(-26px) rotateX(18deg); }
  to   { opacity: 1; transform: none; }
}

/* Sections */
.tc-sec { padding: clamp(48px, 7vw, 92px) 0; }
.tc-sec--white { background: #ffffff; border-block: 1px solid var(--tc-line); }
/* Section label pill (same look as the About Us label) */
.tc-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 10px 28px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-primary, #0f1a33);
  background: var(--color-hero-bg-end, #eef2f9);
  border: 1px solid var(--color-border, #dce2ef);
  border-radius: 999px;
}
.tc-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.tc-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
.tc-head p { margin-top: 14px; font-size: 1.0625rem; line-height: 1.7; color: var(--tc-text); }

/* Stack explorer */
.tc-explorer { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.tc-tabs { display: flex; flex-direction: column; gap: 6px; }
.tc-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: var(--tc-ink);
  background: var(--tc-soft);
  border: 1px solid var(--tc-line);
  border-radius: 12px;
  transition: background var(--transition-fast, 0.2s ease), color var(--transition-fast, 0.2s ease), border-color var(--transition-fast, 0.2s ease);
}
.tc-tab span { font-size: 0.8rem; font-weight: 500; opacity: 0.65; }
.tc-tab:hover { border-color: var(--tc-accent); }
.tc-tab[aria-selected="true"] { background: var(--tc-ink); color: #ffffff; border-color: var(--tc-ink); }

.tc-panel {
  padding: clamp(24px, 4vw, 40px);
  background: var(--tc-soft);
  border: 1px solid var(--tc-line);
  border-radius: 20px;
}
.tc-panel[hidden] { display: none; }
.tc-panel h3 { font-size: 1.75rem; font-weight: 800; }
.tc-tagline { margin-top: 6px; font-weight: 700; color: var(--tc-accent); }
.tc-note { margin-top: 14px; max-width: 56ch; line-height: 1.7; color: var(--tc-text); }
.tc-panel .tc-chips { margin-top: 22px; }
.tc-panel .tc-chips li { padding: 9px 18px; font-size: 1rem; background: #ffffff; border-color: var(--tc-ink); }

.tc-uses { display: grid; gap: 10px; margin: 26px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px dashed var(--tc-line); color: var(--tc-ink); }
.tc-uses li { position: relative; padding-left: 28px; }
.tc-uses li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--tc-accent);
  border-bottom: 3px solid var(--tc-accent);
  transform: rotate(-45deg) translateY(-3px);
}

/* Principles */
.tc-pr {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--tc-line);
  border-radius: 20px;
}
.tc-pr article { padding: 28px 26px; border-right: 1px solid var(--tc-line); }
.tc-pr article:last-child { border-right: 0; }
.tc-pr h3 { font-size: 1.2rem; font-weight: 800; }
.tc-pr p { margin-top: 10px; font-size: 0.97rem; line-height: 1.7; color: var(--tc-text); }

/* Process (a real sequence, so numbered) */
.tc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: tcstep; }
.tc-steps li { position: relative; padding-top: 56px; counter-increment: tcstep; }
.tc-steps li::before {
  content: counter(tcstep);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-weight: 800;
  color: #ffffff;
  background: var(--tc-ink);
  border-radius: 50%;
}
.tc-steps li::after { content: ""; position: absolute; top: 19px; left: 52px; right: -12px; height: 2px; background: var(--tc-line); }
.tc-steps li:last-child::after { display: none; }
.tc-steps h3 { font-size: 1.2rem; font-weight: 800; }
.tc-steps p { margin-top: 8px; font-size: 0.97rem; line-height: 1.7; color: var(--tc-text); }

/* Call to action */
.tc-end { padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(48px, 7vw, 92px); }
.tc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  padding: clamp(32px, 6vw, 64px);
  color: #ffffff;
  background: var(--tc-ink);
  border-radius: 28px;
}
.tc-cta h2 { max-width: 18ch; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; color: #ffffff; }
.tc-cta p { margin-top: 12px; max-width: 46ch; line-height: 1.7; color: rgba(255, 255, 255, 0.75); }
.tc-cta .tc-btn { background: #ffffff; border-color: #ffffff; color: var(--tc-ink); }
.tc-cta .tc-btn:hover { background: var(--tc-accent); border-color: var(--tc-accent); color: #ffffff; }
.tc-cta-link { display: block; margin-top: 14px; color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.tc-cta-link:hover { color: #ffffff; }

/* Responsive */
@media (max-width: 980px) {
  .tc-hero .container { grid-template-columns: 1fr; }
  .tc-explorer { grid-template-columns: 1fr; }
  .tc-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .tc-tab { width: auto; gap: 10px; white-space: nowrap; }
  .tc-pr,
  .tc-steps { grid-template-columns: repeat(2, 1fr); }
  .tc-pr article:nth-child(2) { border-right: 0; }
  .tc-pr article:nth-child(-n+2) { border-bottom: 1px solid var(--tc-line); }
  .tc-steps li::after { display: none; }
}

@media (max-width: 560px) {
  .tc-plate:nth-child(n) { margin-left: 0; }
  .tc-pr,
  .tc-steps { grid-template-columns: 1fr; }
  .tc-pr article { border-right: 0; border-bottom: 1px solid var(--tc-line); }
  .tc-pr article:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-plate { animation: none; }
  .tc-btn,
  .tc-tab { transition: none; }
}


/* ==========================================================================
   Contact page (ct-*) – contacts.php
   Uses the site tokens from style.css (colors, radius, transition)
   ========================================================================== */
.ct {
  --ct-ink: var(--color-primary, #0f1a33);
  --ct-accent: var(--color-green, #2748f5);
  --ct-text: var(--color-paragraph, #55607a);
  --ct-line: var(--color-border, #dce2ef);
  --ct-soft: var(--color-hero-bg, #f4f6fb);
  --ct-radius: var(--radius-lg, 16px);
}

.ct a:focus-visible,
.ct button:focus-visible,
.ct input:focus-visible,
.ct textarea:focus-visible { outline: 3px solid var(--ct-accent); outline-offset: 2px; }

.ct-main { padding-bottom: 40px; }
.ct-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }

/* Form card */
.ct-card {
  padding: clamp(24px, 4vw, 44px);
  background: #ffffff;
  border: 1px solid var(--ct-line);
  border-radius: 24px;
  box-shadow: var(--shadow-card, 0 18px 40px -26px rgba(16, 40, 75, 0.35));
}
.ct-card h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ct-ink); }
.ct-card__lead { margin: 0 0 26px; line-height: 1.7; color: var(--ct-text); }

.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-field { margin-bottom: 18px; }
.ct-field label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 700; color: var(--ct-ink); }
.ct-field label small { font-weight: 500; color: var(--ct-text); }
.ct-field input,
.ct-field textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: var(--ct-ink);
  background: var(--ct-soft);
  border: 1.5px solid var(--ct-line);
  border-radius: 12px;
  transition: border-color var(--transition-fast, 0.2s ease), background var(--transition-fast, 0.2s ease);
}
.ct-field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.ct-field input:focus,
.ct-field textarea:focus { background: #ffffff; border-color: var(--ct-accent); }
.ct-field.has-error input,
.ct-field.has-error textarea { border-color: #d92d20; background: #fffbfa; }
.ct-error { margin: 6px 0 0; font-size: 0.85rem; font-weight: 600; color: #b42318; }

/* Honeypot: hidden from people, visible to simple bots */
.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font: inherit;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  background: var(--ct-accent);
  border: 2px solid var(--ct-accent);
  border-radius: var(--radius-btn, 12px);
  transition: background var(--transition, 0.25s ease), border-color var(--transition, 0.25s ease);
}
.ct-btn:hover { background: var(--ct-ink); border-color: var(--ct-ink); }
.ct-note { margin: 14px 0 0; font-size: 0.85rem; color: var(--ct-text); }

/* Alerts */
.ct-alert { margin-bottom: 22px; padding: 14px 18px; font-weight: 600; line-height: 1.6; border-radius: 12px; }
.ct-alert--ok { color: #05603a; background: #ecfdf3; border: 1px solid #12b76a; }
.ct-alert--err { color: #912018; background: #fef3f2; border: 1px solid #fda29b; }

/* Contact details */
.ct-info { display: grid; gap: 14px; }
.ct-item {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius);
}
.ct-item__icon {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--ct-accent);
  background: var(--ct-soft);
  border-radius: 50%;
}
.ct-item h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 800; color: var(--ct-ink); }
.ct-item p,
.ct-item a { margin: 0; font-size: 0.97rem; line-height: 1.65; color: var(--ct-text); text-decoration: none; overflow-wrap: anywhere; }
.ct-item a:hover { color: var(--ct-accent); }
.ct-social { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 6px; }
.ct-social a { font-weight: 700; color: var(--ct-ink); }

/* Map */
.ct-map-sec { padding: 24px 0 clamp(56px, 7vw, 92px); }
.ct-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.ct-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ct-ink); }
.ct-head p { margin: 12px 0 0; line-height: 1.7; color: var(--ct-text); }
.ct-map {
  overflow: hidden;
  background: var(--ct-soft);
  border: 1px solid var(--ct-line);
  border-radius: 24px;
  box-shadow: var(--shadow-card, 0 18px 40px -26px rgba(16, 40, 75, 0.35));
}
.ct-map iframe { display: block; width: 100%; height: clamp(300px, 42vw, 440px); border: 0; }
.ct-map__bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 16px 22px; background: #ffffff; border-top: 1px solid var(--ct-line); }
.ct-map__bar span { color: var(--ct-text); }
.ct-map__bar a { font-weight: 700; color: var(--ct-accent); text-decoration: none; }
.ct-map__bar a:hover { color: var(--ct-ink); }

@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ct-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-btn,
  .ct-field input,
  .ct-field textarea { transition: none; }
}


/* ==========================================================================
   Our Work / portfolio page (wk-*) – work.php
   Uses the site tokens from style.css (colors, radius, transition)
   ========================================================================== */
.wk {
  --wk-ink: var(--color-primary, #0f1a33);
  --wk-accent: var(--color-green, #2748f5);
  --wk-text: var(--color-paragraph, #55607a);
  --wk-line: var(--color-border, #dce2ef);
  --wk-soft: var(--color-hero-bg, #f4f6fb);
  --wk-radius: var(--radius-lg, 16px);
}
.wk a:focus-visible,
.wk button:focus-visible { outline: 3px solid var(--wk-accent); outline-offset: 3px; }

.wk-main { padding-bottom: clamp(40px, 6vw, 72px); }

/* Filter bar */
.wk-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 14px; padding: 0; list-style: none; }
.wk-filter {
  padding: 10px 22px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--wk-ink);
  background: #ffffff;
  border: 1.5px solid var(--wk-line);
  border-radius: var(--radius-full, 999px);
  transition: background var(--transition-fast, 0.2s ease), color var(--transition-fast, 0.2s ease), border-color var(--transition-fast, 0.2s ease);
}
.wk-filter:hover { border-color: var(--wk-ink); }
.wk-filter[aria-pressed="true"] { color: #ffffff; background: var(--wk-ink); border-color: var(--wk-ink); }
.wk-count { margin: 0 0 36px; text-align: center; font-size: 0.92rem; color: var(--wk-text); }

/* Project cards */
.wk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wk-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--wk-line);
  border-radius: 20px;
  transition: transform var(--transition, 0.25s ease), box-shadow var(--transition, 0.25s ease), border-color var(--transition, 0.25s ease);
}
.wk-card:hover { transform: translateY(-4px); border-color: var(--wk-accent); box-shadow: var(--shadow-card-hover, 0 24px 44px -28px rgba(16, 40, 75, 0.45)); }
.wk-card[hidden] { display: none; }

.wk-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--wk-soft);
  border: 0;
  border-bottom: 1px solid var(--wk-line);
}
.wk-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wk-shot__hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(16, 40, 75, 0.88);
  border-radius: var(--radius-full, 999px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition-fast, 0.2s ease), transform var(--transition-fast, 0.2s ease);
}
.wk-shot:hover .wk-shot__hint,
.wk-shot:focus-visible .wk-shot__hint { opacity: 1; transform: none; }

.wk-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 26px; }
.wk-type { align-self: flex-start; margin: 0 0 12px; padding: 4px 12px; font-size: 0.78rem; font-weight: 700; color: var(--wk-ink); background: var(--wk-soft); border: 1px solid var(--wk-line); border-radius: var(--radius-full, 999px); }
.wk-body h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; color: var(--wk-ink); }
.wk-desc { flex: 1; margin: 0; font-size: 0.97rem; line-height: 1.7; color: var(--wk-text); }
.wk-tech-label { margin: 18px 0 8px; font-size: 0.82rem; font-weight: 700; color: var(--wk-ink); }
.wk-tech { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wk-tech li { padding: 5px 12px; font-size: 0.83rem; font-weight: 600; color: var(--wk-ink); background: #ffffff; border: 1px solid var(--wk-ink); border-radius: var(--radius-full, 999px); }

/* Logo design */
.wk-logos-sec { padding: clamp(40px, 6vw, 72px) 0; background: #ffffff; border-block: 1px solid var(--wk-line); }
.wk-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.wk-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--wk-ink); }
.wk-head p { margin: 12px 0 0; line-height: 1.7; color: var(--wk-text); }
.wk-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.wk-logo { margin: 0; text-align: center; }
.wk-logo__img { display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 14px; background: #ffffff; border: 1px solid var(--wk-line); border-radius: var(--wk-radius); }
.wk-logo__img img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.wk-logo figcaption { margin-top: 10px; font-size: 0.9rem; font-weight: 700; color: var(--wk-ink); }

/* Call to action */
.wk-cta-sec { padding: clamp(48px, 7vw, 92px) 0; }
.wk-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  padding: clamp(32px, 6vw, 64px);
  color: #ffffff;
  background: var(--wk-ink);
  border-radius: 28px;
}
.wk-cta h2 { max-width: 18ch; margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; color: #ffffff; }
.wk-cta p { max-width: 46ch; margin: 12px 0 0; line-height: 1.7; color: rgba(255, 255, 255, 0.75); }
.wk-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  font-weight: 700;
  text-decoration: none;
  color: var(--wk-ink);
  background: #ffffff;
  border: 2px solid #ffffff;
  border-radius: var(--radius-btn, 12px);
  transition: background var(--transition, 0.25s ease), color var(--transition, 0.25s ease), border-color var(--transition, 0.25s ease);
}
.wk-cta__btn:hover { color: #ffffff; background: var(--wk-accent); border-color: var(--wk-accent); }
.wk-cta__link { display: block; margin-top: 14px; color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.wk-cta__link:hover { color: #ffffff; }

/* Screenshot viewer */
.wk-dialog { width: min(1100px, 94vw); max-height: 92vh; padding: 0; overflow: auto; background: #ffffff; border: 0; border-radius: 20px; }
.wk-dialog::backdrop { background: rgba(16, 40, 75, 0.78); }
.wk-dialog img { display: block; width: 100%; height: auto; }
.wk-dialog__bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 12px 12px 22px; background: #ffffff; border-bottom: 1px solid var(--wk-line); }
.wk-dialog__bar strong { font-size: 1rem; color: var(--wk-ink); }
.wk-dialog__close { padding: 8px 18px; font: inherit; font-weight: 700; cursor: pointer; color: #ffffff; background: var(--wk-ink); border: 0; border-radius: var(--radius-full, 999px); }
.wk-dialog__close:hover { background: var(--wk-accent); }

@media (max-width: 1000px) {
  .wk-grid { grid-template-columns: repeat(2, 1fr); }
  .wk-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .wk-grid { grid-template-columns: 1fr; }
  .wk-logos { grid-template-columns: repeat(2, 1fr); }
  .wk-shot__hint { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-card,
  .wk-filter,
  .wk-shot__hint,
  .wk-cta__btn { transition: none; }
  .wk-card:hover { transform: none; }
}


/* ==========================================================================
   Privacy policy (lg-*) and Career (cr-*) – privacypolicy.php, career.php
   Uses the site tokens from style.css (colors, radius, transition)
   ========================================================================== */
.lg,
.cr {
  --pg-ink: var(--color-primary, #0f1a33);
  --pg-accent: var(--color-green, #2748f5);
  --pg-text: var(--color-paragraph, #55607a);
  --pg-line: var(--color-border, #dce2ef);
  --pg-soft: var(--color-hero-bg, #f4f6fb);
}
.lg a:focus-visible,
.cr a:focus-visible { outline: 3px solid var(--pg-accent); outline-offset: 3px; }

/* ---- Privacy policy ---- */
.lg-main { padding-bottom: clamp(48px, 7vw, 92px); }
.lg-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }

.lg-toc {
  position: sticky;
  top: calc(var(--header-height, 80px) + 24px);
  padding: 22px 20px;
  background: #ffffff;
  border: 1px solid var(--pg-line);
  border-radius: 20px;
}
.lg-toc h2 { margin: 0 0 12px; font-size: 1rem; font-weight: 800; color: var(--pg-ink); }
.lg-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: lgtoc; }
.lg-toc li { counter-increment: lgtoc; }
.lg-toc a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--pg-text);
  text-decoration: none;
  border-radius: 10px;
  transition: background var(--transition-fast, 0.2s ease), color var(--transition-fast, 0.2s ease);
}
.lg-toc a::before { content: counter(lgtoc) "."; min-width: 1.5em; font-weight: 700; color: var(--pg-ink); }
.lg-toc a:hover { color: var(--pg-ink); background: var(--pg-soft); }

.lg-doc { padding: clamp(24px, 4vw, 48px); background: #ffffff; border: 1px solid var(--pg-line); border-radius: 24px; }
.lg-meta { margin: 0 0 28px; padding-bottom: 20px; font-size: 0.92rem; color: var(--pg-text); border-bottom: 1px solid var(--pg-line); }
.lg-sec { scroll-margin-top: calc(var(--header-height, 80px) + 24px); }
.lg-sec + .lg-sec { margin-top: 34px; }
.lg-sec h2 { margin: 0 0 12px; font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 800; letter-spacing: -0.01em; color: var(--pg-ink); }
.lg-sec p { margin: 0 0 12px; line-height: 1.8; color: var(--pg-text); }
.lg-sec ul { margin: 0 0 12px; padding: 0; list-style: none; }
.lg-sec li { position: relative; padding-left: 22px; margin-bottom: 8px; line-height: 1.75; color: var(--pg-text); }
.lg-sec li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 7px; height: 7px; background: var(--pg-accent); border-radius: 50%; }
.lg-sec a { font-weight: 600; color: var(--pg-ink); text-decoration-color: var(--pg-accent); text-underline-offset: 3px; }
.lg-sec a:hover { color: var(--pg-accent); }

/* ---- Career ---- */
.cr-main { padding-bottom: 24px; }
.cr-status {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--pg-line);
  border-radius: 28px;
  box-shadow: var(--shadow-card, 0 18px 40px -26px rgba(16, 40, 75, 0.35));
}
.cr-status__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; color: var(--pg-accent); background: var(--pg-soft); border-radius: 50%; }
.cr-status h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; color: var(--pg-ink); }
.cr-status p { max-width: 58ch; margin: 0 auto 12px; line-height: 1.8; color: var(--pg-text); }
.cr-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.cr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: var(--pg-accent);
  border: 2px solid var(--pg-accent);
  border-radius: var(--radius-btn, 12px);
  transition: background var(--transition, 0.25s ease), color var(--transition, 0.25s ease), border-color var(--transition, 0.25s ease);
}
.cr-btn:hover { background: var(--pg-ink); border-color: var(--pg-ink); color: #ffffff; }
.cr-btn--ghost { color: var(--pg-ink); background: transparent; border-color: var(--pg-ink); }
.cr-btn--ghost:hover { color: #ffffff; }

.cr-jobs { display: grid; gap: 16px; max-width: 820px; margin: 0 auto 40px; padding: 0; list-style: none; }
.cr-job { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 22px 26px; background: #ffffff; border: 1px solid var(--pg-line); border-radius: 18px; }
.cr-job h3 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 800; color: var(--pg-ink); }
.cr-job p { margin: 0; font-size: 0.95rem; color: var(--pg-text); }

.cr-values-sec { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 92px); }
.cr-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.cr-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--pg-ink); }
.cr-head p { margin: 12px 0 0; line-height: 1.7; color: var(--pg-text); }
.cr-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.cr-value { padding: 26px 24px; background: #ffffff; border: 1px solid var(--pg-line); border-top: 4px solid var(--pg-accent); border-radius: 18px; }
.cr-value h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; color: var(--pg-ink); }
.cr-value p { margin: 0; font-size: 0.95rem; line-height: 1.7; color: var(--pg-text); }

@media (max-width: 900px) {
  .lg-layout { grid-template-columns: 1fr; }
  .lg-toc { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-toc a,
  .cr-btn { transition: none; }
}


/* ==========================================================================
   TriSphere Studios collaboration (ts-*) – aboutus.php
   ========================================================================== */
.ts-sec { padding: clamp(40px, 6vw, 80px) 0; }
.ts-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  color: #ffffff;
  background: var(--color-primary, #0f1a33);
  border-radius: 28px;
}
.ts-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full, 999px);
}
.ts-title { margin: 0 0 18px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #ffffff; }
.ts-text { margin: 0 0 14px; max-width: 56ch; line-height: 1.8; color: rgba(255, 255, 255, 0.8); }
.ts-mark { margin: 24px 0 22px; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.ts-mark strong { display: block; font-size: 1.15rem; color: #ffffff; }
.ts-mark span { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.75); }
.ts-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-primary, #0f1a33);
  background: #ffffff;
  border: 2px solid #ffffff;
  border-radius: var(--radius-btn, 12px);
  transition: background var(--transition, 0.25s ease), color var(--transition, 0.25s ease), border-color var(--transition, 0.25s ease);
}
.ts-btn:hover { color: #ffffff; background: var(--color-green, #2748f5); border-color: var(--color-green, #2748f5); }
.ts-btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }

.ts-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ts-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 600;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
}
.ts-item__icon { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; color: var(--color-primary, #0f1a33); background: #ffffff; border-radius: 50%; }

@media (max-width: 900px) {
  .ts-panel { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ts-btn { transition: none; }
}