/* =========================================================
   NivAk Technologies — Website V2
   Shared Components
   ========================================================= */


/* =========================================================
   Buttons
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  min-height: 48px;
  padding: 0 22px;

  border: 1px solid transparent;
  border-radius: var(--radius-pill);

  font-weight: var(--font-weight-semibold);
  line-height: 1;

  cursor: pointer;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

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

.button:focus-visible {
  outline: 3px solid rgba(23, 105, 210, 0.24);
  outline-offset: 3px;
}

.button--primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(23, 105, 210, 0.22);
}

.button--primary:hover {
  box-shadow: 0 14px 34px rgba(23, 105, 210, 0.30);
}

.button--accent {
  background: var(--gradient-orange);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 98, 0, 0.22);
}

.button--accent:hover {
  box-shadow: 0 14px 34px rgba(255, 98, 0, 0.30);
}

.button--secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.button--secondary:hover {
  border-color: var(--brand-blue);
}

.button--ghost {
  background: transparent;
  color: var(--brand-blue);
}

.button--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: var(--text-sm);
}


/* =========================================================
   Eyebrow / Section Label
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-bottom: var(--space-4);
  padding: 7px 12px;

  border: 1px solid var(--border-brand);
  border-radius: var(--radius-pill);

  background: rgba(23, 105, 210, 0.06);

  color: var(--brand-blue);

  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;

  background: var(--brand-orange);
  border-radius: 50%;

  content: "";
  flex: 0 0 auto;
}


/* =========================================================
   Section Headings
   ========================================================= */

.section-heading {
  max-width: 760px;
  margin-bottom: var(--space-12);
}

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

.section-title {
  margin-bottom: var(--space-4);

  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.035em;
}

.section-description {
  max-width: 680px;
  margin-bottom: 0;

  color: var(--text-secondary);
  font-size: var(--text-lg);
}

.section-heading--center .section-description {
  margin-right: auto;
  margin-left: auto;
}


/* =========================================================
   Generic Cards
   ========================================================= */

.card {
  position: relative;

  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);

  background: var(--bg-card);
  box-shadow: var(--shadow-sm);

  overflow: hidden;

  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-8);
}

.card__title {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.card__text {
  margin-bottom: 0;
  color: var(--text-secondary);
}


/* =========================================================
   Icon Containers
   ========================================================= */

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  margin-bottom: var(--space-5);

  border: 1px solid var(--border-brand);
  border-radius: var(--radius-md);

  background: rgba(23, 105, 210, 0.07);
  color: var(--brand-blue);
}

.icon-box--orange {
  border-color: rgba(255, 98, 0, 0.20);
  background: rgba(255, 98, 0, 0.08);
  color: var(--brand-orange);
}


/* =========================================================
   Status / Information Badges
   ========================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 6px 10px;

  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);

  background: var(--bg-soft);

  color: var(--text-secondary);

  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
}

.badge--production {
  border-color: rgba(23, 105, 210, 0.18);
  background: rgba(23, 105, 210, 0.08);
  color: var(--brand-blue);
}

.badge--development {
  border-color: rgba(255, 98, 0, 0.20);
  background: rgba(255, 98, 0, 0.08);
  color: var(--brand-orange);
}


/* =========================================================
   Product Cards
   ========================================================= */

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);

  margin-bottom: var(--space-6);
}

.product-card__icon {
  width: 68px;
  height: 68px;

  border-radius: 16px;
  box-shadow: var(--shadow-sm);

  object-fit: cover;
}

.product-card__category {
  margin-bottom: var(--space-2);

  color: var(--brand-blue);

  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-card__title {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.product-card__description {
  margin-bottom: var(--space-6);
  color: var(--text-secondary);
}

.product-card__footer {
  margin-top: auto;
}


/* =========================================================
   Service Cards
   ========================================================= */

.service-card {
  height: 100%;
}

.service-card__number {
  margin-bottom: var(--space-5);

  color: var(--brand-orange);

  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
}

.service-card__title {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.service-card__description {
  margin-bottom: 0;
  color: var(--text-secondary);
}


/* =========================================================
   Offer Cards
   ========================================================= */

.offer-card {
  position: relative;
  height: 100%;
}

.offer-card__code {
  display: inline-flex;

  margin-bottom: var(--space-5);
  padding: 7px 11px;

  border: 1px dashed rgba(255, 98, 0, 0.45);
  border-radius: var(--radius-sm);

  background: rgba(255, 98, 0, 0.07);
  color: var(--brand-orange);

  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
}

.offer-card__title {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.offer-card__description {
  color: var(--text-secondary);
}


/* =========================================================
   Feature / Value Items
   ========================================================= */

.feature-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.feature-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  border-radius: 13px;

  background: rgba(255, 98, 0, 0.09);
  color: var(--brand-orange);

  flex: 0 0 auto;
}

.feature-item__title {
  margin-bottom: 4px;
  font-size: var(--text-base);
}

.feature-item__text {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}


/* =========================================================
   Forms
   ========================================================= */

.form-group {
  display: grid;
  gap: var(--space-2);
}

.form-label {
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
}

.form-control {
  width: 100%;
  min-height: 50px;

  padding: 12px 15px;

  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);

  outline: none;

  background: var(--bg-card);
  color: var(--text-primary);

  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 210, 0.10);
}


/* =========================================================
   Inline Links
   ========================================================= */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--brand-blue);
  font-weight: var(--font-weight-semibold);

  transition:
    color var(--transition-fast),
    gap var(--transition-fast);
}

.text-link:hover {
  gap: 10px;
  color: var(--brand-orange);
}


/* =========================================================
   Dividers
   ========================================================= */

.divider {
  width: 100%;
  height: 1px;
  margin: var(--space-8) 0;

  border: 0;
  background: var(--border-light);
}

/* =========================================================
   Product Status — Nearly Complete
   ========================================================= */

.badge--nearly {
  border-color: rgba(255, 98, 0, 0.24);
  background: rgba(255, 98, 0, 0.09);
  color: var(--brand-orange);
}


/* =========================================================
   Featured Product Card — Premium Visual Upgrade
   ========================================================= */

#featured-products {
  gap: 28px;
}

#featured-products .product-card {
  min-height: 320px;
}

#featured-products .card__body {
  display: flex;
  flex-direction: column;

  height: 100%;
  padding: 28px;
}

#featured-products .product-card__top {
  align-items: flex-start;
  margin-bottom: 24px;
}

#featured-products .product-card__icon {
  width: 86px;
  height: 86px;

  border: 1px solid var(--border-light);
  border-radius: 20px;

  box-shadow:
    0 12px 30px rgba(3, 19, 47, 0.13);

  object-fit: cover;
}

#featured-products .product-card__category {
  margin-bottom: 8px;

  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

#featured-products .product-card__title {
  margin-bottom: 12px;

  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

#featured-products .product-card__description {
  margin-bottom: 26px;

  color: var(--text-secondary);
  line-height: 1.65;
}

#featured-products .product-card__footer {
  margin-top: auto;
  padding-top: 4px;
}

#featured-products .badge {
  margin-top: 2px;
}

@media (max-width: 640px) {
  #featured-products .product-card {
    min-height: auto;
  }

  #featured-products .product-card__icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }
}


/* =========================================================
   V2 — Premium Card System
   ========================================================= */

main .card {
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(6, 27, 70, 0.11);
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.84)
    );

  box-shadow:
    0 8px 24px rgba(6, 27, 70, 0.07),
    0 2px 6px rgba(6, 27, 70, 0.035);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}


/* Fine brand highlight along the top */

main .card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;

  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(23, 105, 210, 0.55),
    rgba(255, 98, 0, 0.48),
    transparent
  );

  opacity: 0.65;
}


/* Desktop interaction */

@media (hover: hover) {

  main .card:hover {
    transform: translateY(-5px);

    border-color: rgba(23, 105, 210, 0.20);

    box-shadow:
      0 18px 42px rgba(6, 27, 70, 0.12),
      0 5px 12px rgba(6, 27, 70, 0.05);
  }

}


/* Product cards */

#featured-products .product-card {
  min-height: 330px;
}

#featured-products .card__body {
  padding: 28px;
}

#featured-products .product-card__icon {
  width: 88px;
  height: 88px;

  border-radius: 21px;

  border: 1px solid rgba(6, 27, 70, 0.10);

  box-shadow:
    0 10px 24px rgba(6, 27, 70, 0.14);
}


/* Service / generic icon containers */

main .icon-box {
  width: 48px;
  height: 48px;

  border-radius: 13px;

  border: 1px solid rgba(23, 105, 210, 0.15);

  background:
    linear-gradient(
      145deg,
      rgba(23, 105, 210, 0.10),
      rgba(255, 255, 255, 0.82)
    );

  box-shadow:
    0 5px 14px rgba(6, 27, 70, 0.06);
}


/* Alternate orange icon treatment where already marked accent */

main .icon-box--accent {
  border-color: rgba(255, 98, 0, 0.18);

  background:
    linear-gradient(
      145deg,
      rgba(255, 98, 0, 0.12),
      rgba(255, 255, 255, 0.84)
    );
}


/* Offer cards get a slightly warmer character */

main .offer-card {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 248, 242, 0.88)
    );
}


/* Keep dark feature cards independent */

main .section--brand-dark .feature-item {
  border: 1px solid rgba(255, 255, 255, 0.11);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.035)
    );

  box-shadow: none;
}


/* Mobile */

@media (max-width: 640px) {

  main .card {
    border-radius: 16px;
  }

  #featured-products .product-card {
    min-height: auto;
  }

  #featured-products .product-card__icon {
    width: 78px;
    height: 78px;
    border-radius: 19px;
  }

}
/* =========================================================
   V2 — Clean Premium Cards
   ========================================================= */

main .card:not(.feature-item) {
  background: rgba(255, 255, 255, 0.92);

  border: 1px solid rgba(6, 27, 70, 0.12);

  box-shadow:
    0 10px 26px rgba(6, 27, 70, 0.075);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


/* Small brand accent — not a full-card gradient */

main .card:not(.feature-item)::before {
  content: "";

  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;

  height: 2px;

  background: linear-gradient(
    90deg,
    #1769d2,
    #6fb5f5 38%,
    #ffb37d 68%,
    #ff6200
  );

  opacity: 0.65;
}


@media (hover: hover) {

  main .card:not(.feature-item):hover {
    transform: translateY(-4px);

    background: #ffffff;

    border-color: rgba(23, 105, 210, 0.22);

    box-shadow:
      0 18px 38px rgba(6, 27, 70, 0.12);
  }

}


/* Why NivAk feature cards stay dark glass */

main .section--brand-dark .feature-item {
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.14);
}


/* =========================================================
   V2 — Remove Card Top Accent
   ========================================================= */

main .card:not(.feature-item)::before {
  display: none !important;
  content: none !important;
}

main .card:not(.feature-item) {
  border: 1px solid rgba(6, 27, 70, 0.14);

  background: rgba(255, 255, 255, 0.94);

  box-shadow:
    0 10px 28px rgba(6, 27, 70, 0.08);
}


/* =========================================================
   V2 — Full Card Border
   ========================================================= */

main .card:not(.feature-item) {
  border: 1.5px solid rgba(23, 105, 210, 0.24);

  background: rgba(255, 255, 255, 0.94);

  box-shadow:
    0 8px 24px rgba(6, 27, 70, 0.07);
}


/* Full border remains visible on hover */

@media (hover: hover) {

  main .card:not(.feature-item):hover {
    border-color: rgba(255, 98, 0, 0.38);

    box-shadow:
      0 16px 34px rgba(6, 27, 70, 0.11);
  }

}


/* =========================================================
   V2 — Dark Mode Card Contrast Fix
   ========================================================= */

[data-theme="dark"] main .card:not(.feature-item) {
  background: rgba(248, 251, 255, 0.97);

  border-color: rgba(105, 167, 255, 0.34);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.24);
}


/* Main card headings */

[data-theme="dark"] main .card:not(.feature-item) h2,
[data-theme="dark"] main .card:not(.feature-item) h3,
[data-theme="dark"] main .card:not(.feature-item) h4,
[data-theme="dark"] main .card:not(.feature-item) .card__title,
[data-theme="dark"] main .card:not(.feature-item) .product-card__title,
[data-theme="dark"] main .card:not(.feature-item) .service-card__title,
[data-theme="dark"] main .card:not(.feature-item) .offer-card__title {
  color: #061b46 !important;
}


/* Card descriptions / secondary text */

[data-theme="dark"] main .card:not(.feature-item) p,
[data-theme="dark"] main .card:not(.feature-item) .card__text,
[data-theme="dark"] main .card:not(.feature-item) .product-card__description,
[data-theme="dark"] main .card:not(.feature-item) .service-card__description,
[data-theme="dark"] main .card:not(.feature-item) .offer-card__description {
  color: #536783 !important;
}


/* Links remain clearly visible */

[data-theme="dark"] main .card:not(.feature-item) a {
  color: #075fc4;
}


/* Product/category labels */

[data-theme="dark"] main .card:not(.feature-item) .product-card__category {
  color: #1769d2;
}


/* Process cards */

[data-theme="dark"] main .card:not(.feature-item) .card__eyebrow {
  color: #ff6200;
}


/* Keep Why NivAk glass cards LIGHT TEXT on DARK */

[data-theme="dark"] .section--brand-dark .feature-item,
[data-theme="dark"] .section--brand-dark .feature-item__title,
[data-theme="dark"] .section--brand-dark .feature-item__text {
  color: #ffffff;
}

[data-theme="dark"] .section--brand-dark .feature-item__text {
  color: rgba(255, 255, 255, 0.76);
}


/* =========================================================
   PRODUCT CATALOG
   Used by Apps & Games
   ========================================================= */

.product-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 26px;
}

.product-summary__item {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 20px;
  text-align: center;
  border: 1.5px solid rgba(23, 105, 210, .24);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(6, 27, 70, .07);
}

.product-summary__item strong {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--brand-blue);
}

.product-summary__item span {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-muted);
}

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

.product-filter {
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid rgba(23, 105, 210, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--text-secondary);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.product-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 105, 210, .42);
}

.product-filter.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(
    110deg,
    var(--brand-blue),
    #0b4f9f
  );
  box-shadow: 0 8px 20px rgba(23, 105, 210, .18);
}

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

.catalog-product-card {
  min-width: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1.5px solid rgba(23, 105, 210, .24);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 28px rgba(6, 27, 70, .08);
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.catalog-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 98, 0, .38);
  box-shadow: 0 18px 38px rgba(6, 27, 70, .12);
}

.catalog-product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.catalog-product-card__icon {
  width: 82px;
  height: 82px;
  display: block;
  flex: 0 0 82px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(6, 27, 70, .15);
}

.catalog-product-card__content {
  flex: 1;
}

.catalog-product-card__type {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.catalog-product-card__content h3 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 1.28rem;
}

.catalog-product-card__content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: .94rem;
  line-height: 1.7;
}

.catalog-product-card__footer {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-top: auto;
  padding-top: 24px;
}

.catalog-product-card__availability {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(23, 105, 210, .18);
  border-radius: 999px;
  background: rgba(23, 105, 210, .07);
  color: var(--brand-blue);
  font-size: .82rem;
  font-weight: 800;
}


/* Product catalog dark mode */

[data-theme="dark"] .product-summary__item,
[data-theme="dark"] .catalog-product-card {
  border-color: rgba(105, 167, 255, .22);
  background: rgba(10, 31, 65, .92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

[data-theme="dark"] .product-summary__item strong,
[data-theme="dark"] .catalog-product-card__type {
  color: #69a7ff;
}

[data-theme="dark"] .product-summary__item span,
[data-theme="dark"] .catalog-product-card__content p {
  color: var(--text-secondary);
}

[data-theme="dark"] .catalog-product-card__content h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .product-filter {
  border-color: rgba(105, 167, 255, .20);
  background: rgba(10, 31, 65, .82);
  color: var(--text-secondary);
}

[data-theme="dark"] .product-filter.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(110deg, #1769d2, #0b4f9f);
}

[data-theme="dark"] .catalog-product-card__availability {
  border-color: rgba(105, 167, 255, .22);
  background: rgba(105, 167, 255, .10);
  color: #8abaff;
}


/* =========================================================
   APPS & GAMES PAGE
   ========================================================= */

.apps-hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.apps-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(23, 105, 210, .20);
  border-radius: 999px;
  background: rgba(255, 255, 255, .70);
  color: var(--text-secondary);
  font-size: .84rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.apps-hero-stats strong {
  color: var(--brand-blue);
  font-size: 1rem;
}


/* =========================================================
   DARK BRAND PANELS — TEXT CONTRAST
   ========================================================= */

/* Main headings */
.section--brand-dark .section-heading h2,
.cta-panel h2 {
  color: #ffffff !important;
}

/* Main descriptions */
.section--brand-dark .section-heading p,
.cta-panel p {
  color: rgba(255, 255, 255, .78) !important;
}

/* Eyebrow labels */
.section--brand-dark .eyebrow,
.cta-panel .eyebrow {
  color: #d9e9ff !important;
  border-color: rgba(255, 255, 255, .20) !important;
  background: rgba(255, 255, 255, .07) !important;
}

/* Feature cards */
.section--brand-dark .feature-item h3 {
  color: #ffffff !important;
}

.section--brand-dark .feature-item p {
  color: rgba(255, 255, 255, .76) !important;
}

/* CTA links/buttons */
.cta-panel .button,
.cta-panel .btn {
  color: #ffffff;
}

.cta-panel .button--outline,
.cta-panel .btn--outline-light {
  border-color: rgba(255, 255, 255, .42);
  color: #ffffff !important;
}

/* Keep contrast identical in dark mode */
[data-theme="dark"] .section--brand-dark .section-heading h2,
[data-theme="dark"] .section--brand-dark .feature-item h3,
[data-theme="dark"] .cta-panel h2 {
  color: #ffffff !important;
}

[data-theme="dark"] .section--brand-dark .section-heading p,
[data-theme="dark"] .section--brand-dark .feature-item p,
[data-theme="dark"] .cta-panel p {
  color: rgba(255, 255, 255, .78) !important;
}


/* =========================================================
   APPS CATALOG — FINAL DESKTOP POLISH
   ========================================================= */

.apps-page .products-catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.apps-page .catalog-product-card {
  min-height: 330px;
  padding: 22px;
}

.apps-page .catalog-product-card__icon {
  width: 74px;
  height: 74px;
  flex-basis: 74px;
  border-radius: 18px;
}

.apps-page .catalog-product-card__top {
  margin-bottom: 18px;
}

.apps-page .catalog-product-card__type {
  margin-bottom: 6px;
  font-size: .72rem;
  letter-spacing: .075em;
}

.apps-page .catalog-product-card__content h3 {
  margin-bottom: 9px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.apps-page .catalog-product-card__content p {
  font-size: .9rem;
  line-height: 1.62;
}

.apps-page .catalog-product-card__footer {
  padding-top: 20px;
}

.apps-page .catalog-product-card__footer .btn {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}

/* Center final row when the catalog contains 7 products */
.apps-page .products-catalog-grid > :nth-child(5):nth-last-child(3) {
  grid-column: 2;
}


/* =========================================================
   APPS CATALOG — FINAL DESKTOP POLISH
   ========================================================= */

.apps-page .products-catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.apps-page .catalog-product-card {
  min-height: 330px;
  padding: 22px;
}

.apps-page .catalog-product-card__icon {
  width: 74px;
  height: 74px;
  flex-basis: 74px;
  border-radius: 18px;
}

.apps-page .catalog-product-card__top {
  margin-bottom: 18px;
}

.apps-page .catalog-product-card__type {
  margin-bottom: 6px;
  font-size: .72rem;
  letter-spacing: .075em;
}

.apps-page .catalog-product-card__content h3 {
  margin-bottom: 9px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.apps-page .catalog-product-card__content p {
  font-size: .9rem;
  line-height: 1.62;
}

.apps-page .catalog-product-card__footer {
  padding-top: 20px;
}

.apps-page .catalog-product-card__footer .btn {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}

/* Center final row when the catalog contains 7 products */
.apps-page .products-catalog-grid > :nth-child(5):nth-last-child(3) {
  grid-column: 2;
}


/* Keep incomplete product rows left aligned */
.apps-page .products-catalog-grid > :nth-child(5):nth-last-child(3) {
  grid-column: auto;
}


/* CTA actions on dark panels */

.cta-panel .button--outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1.5px solid rgba(255,255,255,.68);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.06);
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.cta-panel .button--outline-light:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
  border-color: #ffffff;
}


/* =========================================================
   SERVICES PAGE
   ========================================================= */

.services-page .page-hero {
  padding-top: 72px;
  padding-bottom: 52px;
}

.services-page .page-hero__content {
  max-width: 790px;
}

.services-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.services-page main > .section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.services-page .page-hero + .section {
  padding-top: 46px;
}

.services-page .section-heading {
  margin-bottom: 28px;
}

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

.service-detail-card {
  min-height: 320px;
}

.service-detail-card .card__body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-detail-card__list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(23, 105, 210, .13);
  list-style: none;
}

.service-detail-card__list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: .86rem;
  line-height: 1.45;
}

.service-detail-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.service-step {
  display: inline-flex;
  margin-bottom: 13px;
  color: #8fc0ff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.services-page .section--brand-dark .feature-item h3 {
  color: #ffffff !important;
}

.services-page .section--brand-dark .feature-item p {
  color: rgba(255, 255, 255, .76) !important;
}

.services-page .section--brand-dark .section-heading h2 {
  color: #ffffff !important;
}

.services-page .section--brand-dark .section-heading p {
  color: rgba(255, 255, 255, .78) !important;
}

.services-page .services-cta-section {
  padding-top: 20px;
}

[data-theme="dark"] .service-detail-card__list {
  border-top-color: rgba(105, 167, 255, .16);
}

[data-theme="dark"] .service-detail-card__list li {
  color: var(--text-secondary);
}

[data-theme="dark"] .service-detail-card__list li::before {
  background: #69a7ff;
}


/* =========================================================
   FULL SERVICES CATALOG
   ========================================================= */

.services-page .services-category {
  padding-top: 54px;
  padding-bottom: 54px;
}

.services-page .services-category + .services-category {
  padding-top: 42px;
}

.services-page .service-detail-card {
  min-height: 270px;
}

.services-page .service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  margin-bottom: 18px;
  border: 1px solid rgba(23,105,210,.20);
  border-radius: 8px;
  background: rgba(23,105,210,.07);
  color: var(--brand-blue);
  font-size: .72rem;
  font-weight: 900;
}

.services-page .service-quote-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--brand-blue);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.services-page .service-quote-link span {
  transition: transform var(--transition-fast);
}

.services-page .service-quote-link:hover span {
  transform: translateX(4px);
}

[data-theme="dark"] .services-page .service-number {
  border-color: rgba(105,167,255,.22);
  background: rgba(105,167,255,.09);
  color: #8abaff;
}

[data-theme="dark"] .services-page .service-quote-link {
  color: #8abaff;
}


/* =========================================================
   CONTACT / PROJECT REQUEST
   ========================================================= */

.contact-page .contact-hero {
  padding-top: 72px;
  padding-bottom: 48px;
}

.contact-page .contact-hero .page-hero__content {
  max-width: 760px;
}

.contact-page .contact-section {
  padding-top: 28px;
  padding-bottom: 70px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr);
  gap: 28px;
  align-items: start;
}

/* Left information */

.contact-info {
  padding: 30px;
  border: 1px solid rgba(23, 105, 210, .24);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-sm);
}

.contact-info h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.18;
}

.contact-info > p {
  margin: 0 0 26px;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--border-color);
}

.contact-info-label {
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-info-card a {
  color: var(--brand-blue);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-info-card a:hover {
  text-decoration: underline;
}


/* Form panel */

.contact-form-panel {
  padding: 32px;
  border: 1px solid rgba(23, 105, 210, .28);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-md);
}

.contact-form-heading {
  margin-bottom: 28px;
}

.contact-form-heading h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
}

.contact-form-heading p {
  margin: 0;
  color: var(--text-muted);
}


/* Form */

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

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.contact-form label {
  color: var(--text-primary);
  font-size: .86rem;
  font-weight: 750;
}

.contact-form label span {
  color: var(--brand-orange);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 105, 210, .25);
  border-radius: 11px;
  background: rgba(255, 255, 255, .92);
  color: var(--text-primary);
  font: inherit;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.contact-form input,
.contact-form select {
  min-height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 155px;
  padding: 14px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  opacity: .72;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 210, .10);
}


/* Selected service */

.contact-form .service-field {
  display: none;
  margin-bottom: 20px;
}

.contact-page.project-request-mode .contact-form .service-field {
  display: block;
}

.contact-form #selectedService {
  border-color: rgba(23, 105, 210, .32);
  background: rgba(23, 105, 210, .07);
  color: var(--brand-blue);
  font-weight: 800;
  cursor: default;
}


/* Submit */

.contact-form .form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.contact-form .form-actions .button {
  min-width: 180px;
}

.contact-form .form-status {
  margin: 0;
  color: var(--text-muted);
  font-size: .86rem;
}


/* Dark mode */

[data-theme="dark"] .contact-info,
[data-theme="dark"] .contact-form-panel {
  border-color: rgba(105, 167, 255, .20);
  background: rgba(11, 31, 62, .82);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea {
  border-color: rgba(105, 167, 255, .22);
  background: rgba(5, 22, 48, .78);
  color: var(--text-primary);
}

[data-theme="dark"] .contact-form #selectedService {
  border-color: rgba(105, 167, 255, .28);
  background: rgba(105, 167, 255, .08);
  color: #8abaff;
}

[data-theme="dark"] .contact-info-card a {
  color: #8abaff;
}


/* Responsive */

@media (max-width: 850px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-form-panel {
    order: 1;
  }
}

@media (max-width: 600px) {
  .contact-page .contact-hero {
    padding-top: 52px;
    padding-bottom: 34px;
  }

  .contact-page .contact-section {
    padding-top: 18px;
    padding-bottom: 52px;
  }

  .contact-form-panel,
  .contact-info {
    padding: 22px;
  }

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

  .contact-form .form-group {
    grid-column: 1 / -1;
  }

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

  .contact-form .form-actions .button {
    width: 100%;
  }
}


/* Hide general-contact-only fields during service project requests */
.project-request-mode .general-field {
  display: none !important;
}


/* Project/contact form status message */
.contact-form .form-status {
  display: none;
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
}

.contact-form .form-status:not(:empty) {
  display: block;
  flex: 1;
  border: 1px solid rgba(22, 121, 75, .25);
  background: rgba(22, 121, 75, .08);
  color: #12633f !important;
}

[data-theme="dark"] .contact-form .form-status:not(:empty) {
  border-color: rgba(74, 222, 128, .25);
  background: rgba(74, 222, 128, .08);
  color: #86efac !important;
}

@media (max-width: 600px) {
  .contact-form .form-status:not(:empty) {
    width: 100%;
  }
}


/* =========================================================
   V2 OFFERS PAGE
   ========================================================= */

.offers-page .offers-hero {
  padding-bottom: 54px;
}

.offers-page .offers-section {
  padding-top: 46px;
  padding-bottom: 34px;
}

.offers-page .offers-how-section {
  padding-top: 28px;
  padding-bottom: 30px;
}

.offers-page .offers-terms-section {
  padding-top: 28px;
  padding-bottom: 30px;
}

.offers-page .offers-terms-section + .section {
  padding-top: 28px;
  padding-bottom: 52px;
}


/* OFFER GRID */

.offers-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}


/* OFFER CARD */

.offer-v2-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 24px;

  background: rgba(255, 255, 255, 0.88);

  border: 1px solid rgba(23, 105, 210, 0.38);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--motion-fast),
    box-shadow var(--motion-fast),
    border-color var(--motion-fast);
}

.offer-v2-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 105, 210, 0.72);
  box-shadow: var(--shadow-md);
}


/* CARD TOP */

.offer-v2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 22px;
}

.offer-v2-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 34px;
  padding: 7px 12px;

  border-radius: 999px;

  background: var(--color-orange);
  color: #ffffff;

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.offer-v2-type {
  color: var(--color-blue);

  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* CARD CONTENT */

.offer-v2-card h3 {
  margin: 0 0 12px;

  color: var(--color-navy);

  font-size: 1.16rem;
  line-height: 1.3;
}

.offer-v2-card > p {
  margin: 0 0 22px;

  color: var(--color-text-muted);

  font-size: 0.91rem;
  line-height: 1.65;
}


/* PROMO CODE */

.offer-v2-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  margin-top: auto;
  margin-bottom: 18px;
  padding: 13px 15px;

  background: rgba(23, 105, 210, 0.07);

  border: 1px solid rgba(23, 105, 210, 0.24);
  border-radius: var(--radius-md);
}

.offer-v2-code span {
  color: var(--color-text-muted);

  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-v2-code strong {
  color: var(--color-blue);

  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}


/* CLAIM BUTTON */

.offer-v2-action {
  width: 100%;
  justify-content: center;
}


/* HOW IT WORKS */

.offers-how-panel {
  padding: 38px;

  background:
    linear-gradient(
      135deg,
      #061b46 0%,
      #0a3474 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.offers-how-panel .eyebrow,
.offers-cta-panel .eyebrow {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.offers-how-panel h2,
.offers-cta-panel h2 {
  color: #ffffff;
}

.offers-how-panel .section-heading > p,
.offers-cta-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.offers-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;

  margin-top: 30px;
}

.offers-step {
  padding: 22px;

  background: rgba(255, 255, 255, 0.075);

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

.offers-step > span {
  display: block;
  margin-bottom: 16px;

  color: #ff8a3d;

  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.offers-step h3 {
  margin: 0 0 8px;

  color: #ffffff;

  font-size: 1.02rem;
}

.offers-step p {
  margin: 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 0.88rem;
  line-height: 1.6;
}


/* TERMS */

.offer-v2-terms {
  max-width: 900px;
  padding: 30px;

  background: rgba(255, 255, 255, 0.82);

  border: 1px solid rgba(23, 105, 210, 0.32);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.offer-v2-terms h2 {
  margin-top: 12px;
  margin-bottom: 12px;

  color: var(--color-navy);
}

.offer-v2-terms p {
  max-width: 780px;
  margin: 0;

  color: var(--color-text-muted);

  line-height: 1.7;
}


/* FINAL CTA */

.offers-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding: 36px 38px;

  background:
    linear-gradient(
      135deg,
      #061b46 0%,
      #0a3474 100%
    );

  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.offers-cta-panel h2 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.offers-cta-panel .cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.offers-cta-panel .button--outline-light {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.offers-cta-panel .button--outline-light:hover {
  color: #061b46;
  background: #ffffff;
  border-color: #ffffff;
}


/* DARK MODE */

[data-theme="dark"] .offer-v2-card,
[data-theme="dark"] .offer-v2-terms {
  background: rgba(11, 32, 67, 0.88);

  border-color: rgba(76, 145, 232, 0.38);
}

[data-theme="dark"] .offer-v2-card h3,
[data-theme="dark"] .offer-v2-terms h2 {
  color: #f4f8ff;
}

[data-theme="dark"] .offer-v2-card > p,
[data-theme="dark"] .offer-v2-terms p {
  color: rgba(229, 238, 251, 0.72);
}

[data-theme="dark"] .offer-v2-code {
  background: rgba(52, 126, 220, 0.12);

  border-color: rgba(76, 145, 232, 0.30);
}

[data-theme="dark"] .offer-v2-code span {
  color: rgba(229, 238, 251, 0.68);
}

[data-theme="dark"] .offer-v2-code strong,
[data-theme="dark"] .offer-v2-type {
  color: #78b4ff;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

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

}


@media (max-width: 760px) {

  .offers-v2-grid,
  .offers-steps {
    grid-template-columns: 1fr;
  }

  .offers-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .offers-cta-panel .cta-actions {
    width: 100%;
  }

}


@media (max-width: 560px) {

  .offers-page .offers-section,
  .offers-page .offers-how-section,
  .offers-page .offers-terms-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .offer-v2-card {
    min-height: 0;
    padding: 20px;
  }

  .offers-how-panel,
  .offers-cta-panel {
    padding: 26px 22px;
  }

  .offer-v2-terms {
    padding: 24px 20px;
  }

}



/* =========================================================
   V2 FAQ PAGE
   ========================================================= */

.faq-page .faq-hero {
  padding-bottom: 48px;
}

.faq-page .faq-section {
  padding-top: 36px;
  padding-bottom: 48px;
}


/* MAIN LAYOUT */

.faq-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}


/* CATEGORY SIDEBAR */

.faq-sidebar {
  position: sticky;
  top: 104px;

  padding: 24px;

  background: rgba(255, 255, 255, 0.84);

  border: 1px solid rgba(23, 105, 210, 0.34);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.faq-sidebar h2 {
  margin: 12px 0 20px;

  color: var(--color-navy);

  font-size: 1.35rem;
}

.faq-category-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.faq-category-nav a {
  display: block;

  padding: 11px 13px;

  color: var(--color-text);
  text-decoration: none;

  border: 1px solid transparent;
  border-radius: var(--radius-md);

  font-size: 0.88rem;
  font-weight: 700;

  transition:
    background var(--motion-fast),
    color var(--motion-fast),
    border-color var(--motion-fast);
}

.faq-category-nav a:hover {
  color: var(--color-blue);

  background: rgba(23, 105, 210, 0.07);
  border-color: rgba(23, 105, 210, 0.20);
}


/* FAQ CONTENT */

.faq-content {
  min-width: 0;
}

.faq-category {
  scroll-margin-top: 110px;
}

.faq-category + .faq-category {
  margin-top: 46px;
}


/* CATEGORY HEADING */

.faq-category-heading {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-bottom: 18px;
}

.faq-category-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  color: var(--color-blue);

  background: rgba(23, 105, 210, 0.08);

  border: 1px solid rgba(23, 105, 210, 0.26);
  border-radius: 12px;

  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.faq-category-heading h2 {
  margin: 0 0 3px;

  color: var(--color-navy);

  font-size: 1.35rem;
}

.faq-category-heading p {
  margin: 0;

  color: var(--color-text-muted);

  font-size: 0.88rem;
}


/* ACCORDION */

.faq-item {
  overflow: hidden;

  margin-bottom: 10px;

  background: rgba(255, 255, 255, 0.86);

  border: 1px solid rgba(23, 105, 210, 0.30);
  border-radius: var(--radius-md);

  box-shadow: 0 4px 14px rgba(6, 27, 70, 0.035);

  transition:
    border-color var(--motion-fast),
    box-shadow var(--motion-fast),
    background var(--motion-fast);
}

.faq-item:hover {
  border-color: rgba(23, 105, 210, 0.55);
}

.faq-item[open] {
  border-color: rgba(23, 105, 210, 0.58);

  box-shadow: 0 8px 22px rgba(6, 27, 70, 0.07);
}


/* QUESTION */

.faq-item summary {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 58px;
  padding: 15px 54px 15px 18px;

  color: var(--color-navy);

  cursor: pointer;

  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.45;

  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";

  position: absolute;
  right: 18px;
  top: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  transform: translateY(-50%);

  color: var(--color-blue);

  background: rgba(23, 105, 210, 0.08);

  border: 1px solid rgba(23, 105, 210, 0.22);
  border-radius: 8px;

  font-size: 1.15rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "\2212";
}


/* ANSWER */

.faq-answer {
  padding: 0 54px 18px 18px;
}

.faq-answer p {
  margin: 0;

  color: var(--color-text-muted);

  font-size: 0.9rem;
  line-height: 1.7;
}


/* FAQ CTA */

.faq-page .faq-cta-section {
  padding-top: 28px;
  padding-bottom: 54px;
}

.faq-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding: 36px 38px;

  background:
    linear-gradient(
      135deg,
      #061b46 0%,
      #0a3474 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.faq-cta-panel .eyebrow {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.faq-cta-panel h2 {
  margin: 10px 0 8px;
  color: #ffffff;
}

.faq-cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.faq-cta-panel .cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.faq-cta-panel .button--outline-light {
  color: #ffffff;

  background: transparent;

  border: 1px solid rgba(255, 255, 255, 0.72);
}

.faq-cta-panel .button--outline-light:hover {
  color: #061b46;

  background: #ffffff;
  border-color: #ffffff;
}


/* DARK MODE */

[data-theme="dark"] .faq-sidebar,
[data-theme="dark"] .faq-item {
  background: rgba(11, 32, 67, 0.88);
  border-color: rgba(76, 145, 232, 0.34);
}

[data-theme="dark"] .faq-sidebar h2,
[data-theme="dark"] .faq-category-heading h2,
[data-theme="dark"] .faq-item summary {
  color: #f4f8ff;
}

[data-theme="dark"] .faq-category-heading p,
[data-theme="dark"] .faq-answer p {
  color: rgba(229, 238, 251, 0.72);
}

[data-theme="dark"] .faq-category-nav a {
  color: rgba(244, 248, 255, 0.86);
}

[data-theme="dark"] .faq-category-nav a:hover {
  color: #78b4ff;
  background: rgba(52, 126, 220, 0.13);
}

[data-theme="dark"] .faq-category-heading > span,
[data-theme="dark"] .faq-item summary::after {
  color: #78b4ff;

  background: rgba(52, 126, 220, 0.12);
  border-color: rgba(76, 145, 232, 0.30);
}


/* RESPONSIVE */

@media (max-width: 900px) {

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    position: static;
  }

  .faq-category-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 700px) {

  .faq-cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-cta-panel .cta-actions {
    width: 100%;
    flex-wrap: wrap;
  }

}


@media (max-width: 560px) {

  .faq-page .faq-section {
    padding-top: 28px;
    padding-bottom: 38px;
  }

  .faq-category-nav {
    grid-template-columns: 1fr;
  }

  .faq-category + .faq-category {
    margin-top: 38px;
  }

  .faq-item summary {
    padding: 14px 50px 14px 16px;
  }

  .faq-answer {
    padding: 0 16px 17px;
  }

  .faq-cta-panel {
    padding: 26px 22px;
  }

}

/* =========================================================
   V2 ABOUT PAGE
   ========================================================= */

.about-page .about-hero {
  padding-bottom: 48px;
}

.about-page main > .section {
  padding-top: 50px;
  padding-bottom: 50px;
}


/* WHO WE ARE */

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.about-intro-grid h2 {
  max-width: 520px;
  margin: 12px 0 0;

  color: var(--color-navy);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.about-intro-copy {
  padding-left: 28px;

  border-left: 3px solid var(--color-blue);
}

.about-intro-copy p {
  margin: 0;

  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-intro-copy p + p {
  margin-top: 16px;
}


/* MISSION + VISION */

.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;

  margin-top: 30px;
}

.about-mission-card,
.about-build-card {
  padding: 28px;

  background: rgba(255, 255, 255, 0.86);

  border: 1px solid rgba(23, 105, 210, 0.34);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.about-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  margin-bottom: 22px;

  color: var(--color-blue);

  background: rgba(23, 105, 210, 0.08);

  border: 1px solid rgba(23, 105, 210, 0.24);
  border-radius: 12px;

  font-size: .76rem;
  font-weight: 850;
}

.about-mission-card h3,
.about-build-card h3 {
  margin: 0 0 12px;

  color: var(--color-navy);
  font-size: 1.2rem;
}

.about-mission-card p,
.about-build-card p {
  margin: 0;

  color: var(--color-text-muted);
  line-height: 1.7;
}


/* FOUNDER */

.about-founder-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 54px;

  padding: 40px;

  background:
    linear-gradient(
      135deg,
      #061b46 0%,
      #0a3474 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.about-founder-main .eyebrow {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.about-founder-main h2 {
  margin: 16px 0 5px;

  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.about-founder-role {
  margin: 0 0 20px !important;

  color: #ff9a57 !important;

  font-size: .9rem;
  font-weight: 750;
}

.about-founder-main > p:last-child {
  max-width: 600px;
  margin: 0;

  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.about-founder-focus {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-founder-focus-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;

  padding: 18px;

  background: rgba(255, 255, 255, 0.07);

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
}

.about-founder-focus-item > span {
  color: #ff9a57;

  font-size: .76rem;
  font-weight: 850;
}

.about-founder-focus-item strong {
  display: block;
  margin-bottom: 5px;

  color: #ffffff;
}

.about-founder-focus-item p {
  margin: 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: .86rem;
  line-height: 1.55;
}


/* PROCESS */

.about-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;

  margin-top: 28px;
}

.about-process-card {
  padding: 23px;

  background: rgba(255, 255, 255, 0.84);

  border: 1px solid rgba(23, 105, 210, 0.32);
  border-radius: var(--radius-lg);
}

.about-process-card > span {
  display: block;

  margin-bottom: 20px;

  color: var(--color-orange);

  font-size: .76rem;
  font-weight: 850;
}

.about-process-card h3 {
  margin: 0 0 9px;

  color: var(--color-navy);
}

.about-process-card p {
  margin: 0;

  color: var(--color-text-muted);

  font-size: .88rem;
  line-height: 1.6;
}


/* VALUES */

.about-values-panel {
  padding: 38px;

  background:
    linear-gradient(
      135deg,
      #061b46 0%,
      #0a3474 100%
    );

  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.about-values-panel .eyebrow {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.about-values-panel .section-heading h2 {
  color: #ffffff;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;

  margin-top: 28px;
}

.about-value {
  padding: 20px;

  background: rgba(255, 255, 255, 0.07);

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
}

.about-value h3 {
  margin: 0 0 8px;

  color: #ffffff;
  font-size: 1rem;
}

.about-value p {
  margin: 0;

  color: rgba(255, 255, 255, 0.70);

  font-size: .86rem;
  line-height: 1.6;
}


/* WHAT WE BUILD */

.about-build-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;

  margin-top: 30px;
}

.about-build-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-height: 280px;
}

.about-build-card p {
  margin-bottom: 24px;
}

.about-build-card .button {
  margin-top: auto;
}


/* CTA */

.about-page .about-cta-section {
  padding-top: 28px;
  padding-bottom: 54px;
}

.about-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding: 36px 38px;

  background:
    linear-gradient(
      135deg,
      #061b46 0%,
      #0a3474 100%
    );

  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.about-cta-panel .eyebrow {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.about-cta-panel h2 {
  margin: 10px 0 8px;
  color: #ffffff;
}

.about-cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.about-cta-panel .cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.about-cta-panel .button--outline-light {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.about-cta-panel .button--outline-light:hover {
  color: #061b46;
  background: #ffffff;
  border-color: #ffffff;
}


/* DARK MODE */

[data-theme="dark"] .about-mission-card,
[data-theme="dark"] .about-process-card,
[data-theme="dark"] .about-build-card {
  background: rgba(11, 32, 67, 0.88);
  border-color: rgba(76, 145, 232, 0.34);
}

[data-theme="dark"] .about-intro-grid h2,
[data-theme="dark"] .about-mission-card h3,
[data-theme="dark"] .about-process-card h3,
[data-theme="dark"] .about-build-card h3 {
  color: #f4f8ff;
}

[data-theme="dark"] .about-intro-copy p,
[data-theme="dark"] .about-mission-card p,
[data-theme="dark"] .about-process-card p,
[data-theme="dark"] .about-build-card p {
  color: rgba(229, 238, 251, 0.72);
}


/* RESPONSIVE */

@media (max-width: 1000px) {

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

}


@media (max-width: 800px) {

  .about-intro-grid,
  .about-founder-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-intro-copy {
    padding-left: 20px;
  }

  .about-cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

}


@media (max-width: 620px) {

  .about-page main > .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-mission-grid,
  .about-process-grid,
  .about-values-grid,
  .about-build-grid {
    grid-template-columns: 1fr;
  }

  .about-founder-panel,
  .about-values-panel,
  .about-cta-panel {
    padding: 26px 22px;
  }

  .about-cta-panel .cta-actions {
    width: 100%;
    flex-wrap: wrap;
  }

}



/* ABOUT — VALUES LIGHT PANEL */

.about-page .about-values-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 105, 210, 0.34);
  box-shadow: var(--shadow-sm);
}

.about-page .about-values-panel .eyebrow {
  color: var(--color-blue);
  background: rgba(23, 105, 210, 0.07);
  border-color: rgba(23, 105, 210, 0.28);
}

.about-page .about-values-panel .section-heading h2 {
  color: var(--color-navy);
}

.about-page .about-value {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 105, 210, 0.28);
}

.about-page .about-value h3 {
  color: var(--color-navy);
}

.about-page .about-value p {
  color: var(--color-text-muted);
}


/* Dark theme */

[data-theme="dark"] .about-page .about-values-panel {
  background: rgba(11, 32, 67, 0.88);
  border-color: rgba(76, 145, 232, 0.34);
}

[data-theme="dark"] .about-page .about-values-panel .section-heading h2,
[data-theme="dark"] .about-page .about-value h3 {
  color: #f4f8ff;
}

[data-theme="dark"] .about-page .about-value {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(76, 145, 232, 0.26);
}

[data-theme="dark"] .about-page .about-value p {
  color: rgba(229, 238, 251, 0.72);
}


/* =========================================================
   V2 SUPPORT PAGE
   ========================================================= */

.support-page .support-hero {
  padding-bottom: 48px;
}

.support-page main > .section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.support-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}


/* QUICK HELP */

.support-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.support-topic-card {
  display: flex;
  flex-direction: column;

  min-height: 250px;
  padding: 25px;

  color: inherit;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.86);

  border: 1px solid rgba(23, 105, 210, 0.36);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.support-topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 105, 210, 0.62);
  box-shadow: var(--shadow-md);
}

.support-topic-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  margin-bottom: 22px;

  color: var(--color-blue);

  background: rgba(23, 105, 210, 0.08);
  border: 1px solid rgba(23, 105, 210, 0.24);
  border-radius: 11px;

  font-size: .75rem;
  font-weight: 850;
}

.support-topic-card h3 {
  margin: 0 0 10px;

  color: var(--color-navy);
  font-size: 1.08rem;
}

.support-topic-card p {
  margin: 0 0 20px;

  color: var(--color-text-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.support-topic-link {
  margin-top: auto;

  color: var(--color-blue);

  font-size: .86rem;
  font-weight: 750;
}


/* SUPPORT CONTENT */

.support-content-container {
  max-width: 1000px;
}

.support-section-heading {
  margin-bottom: 22px;
}

.support-section-heading h2 {
  max-width: 680px;
  margin: 10px 0 0;

  color: var(--color-navy);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.18;
}


/* ACCORDIONS */

.support-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-faq-item {
  overflow: hidden;

  background: rgba(255, 255, 255, 0.86);

  border: 1px solid rgba(23, 105, 210, 0.30);
  border-radius: var(--radius-md);

  box-shadow: 0 5px 18px rgba(4, 28, 70, 0.035);
}

.support-faq-item summary {
  position: relative;

  padding: 18px 54px 18px 20px;

  color: var(--color-navy);

  cursor: pointer;

  font-size: .95rem;
  font-weight: 750;

  list-style: none;
}

.support-faq-item summary::-webkit-details-marker {
  display: none;
}

.support-faq-item summary::after {
  content: "+";

  position: absolute;
  top: 50%;
  right: 20px;

  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 25px;
  height: 25px;

  color: var(--color-blue);

  background: rgba(23, 105, 210, 0.08);
  border: 1px solid rgba(23, 105, 210, 0.20);
  border-radius: 50%;

  font-size: 1rem;
  font-weight: 700;
}

.support-faq-item[open] summary::after {
  content: "-";
}

.support-faq-item[open] summary {
  border-bottom: 1px solid rgba(23, 105, 210, 0.15);
}

.support-faq-answer {
  padding: 17px 20px 19px;
}

.support-faq-answer p {
  max-width: 850px;
  margin: 0;

  color: var(--color-text-muted);

  font-size: .9rem;
  line-height: 1.7;
}


/* KEEP HELP SECTIONS COMPACT */

.support-faq-section {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}

.support-topics-section + .support-faq-section {
  padding-top: 34px !important;
}


/* CONTACT SUPPORT */

.support-contact-section {
  padding-top: 34px !important;
  padding-bottom: 54px !important;
}

.support-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;

  padding: 38px;

  background:
    linear-gradient(
      135deg,
      #061b46 0%,
      #0a3474 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.support-contact-copy {
  max-width: 650px;
}

.support-contact-panel .eyebrow {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.support-contact-panel h2 {
  margin: 12px 0 8px;

  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.support-contact-panel p {
  margin: 0 0 16px;

  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.support-email {
  color: #ffffff;

  font-size: .92rem;
  font-weight: 750;

  text-decoration: none;
}

.support-email:hover {
  text-decoration: underline;
}

.support-contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.support-contact-panel .button--outline-light {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.support-contact-panel .button--outline-light:hover {
  color: #061b46;
  background: #ffffff;
  border-color: #ffffff;
}


/* DARK MODE */

[data-theme="dark"] .support-topic-card,
[data-theme="dark"] .support-faq-item {
  background: rgba(11, 32, 67, 0.88);
  border-color: rgba(76, 145, 232, 0.34);
}

[data-theme="dark"] .support-topic-card h3,
[data-theme="dark"] .support-section-heading h2,
[data-theme="dark"] .support-faq-item summary {
  color: #f4f8ff;
}

[data-theme="dark"] .support-topic-card p,
[data-theme="dark"] .support-faq-answer p {
  color: rgba(229, 238, 251, 0.72);
}


/* RESPONSIVE */

@media (max-width: 900px) {

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

  .support-contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }

}


@media (max-width: 620px) {

  .support-page main > .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .support-topic-grid {
    grid-template-columns: 1fr;
  }

  .support-topic-card {
    min-height: auto;
  }

  .support-contact-panel {
    padding: 26px 22px;
  }

  .support-contact-actions {
    width: 100%;
    flex-wrap: wrap;
  }

}


/* =========================================================
   CONTACT FORM MODE VISIBILITY
   ========================================================= */

/* Normal contact page:
   hide all project/service/offer fields */
.contact-page:not(.project-request-mode) .project-field,
.contact-page:not(.project-request-mode) .offer-field {
  display: none !important;
}

/* Project request:
   show project fields */
.contact-page.project-request-mode .project-field {
  display: block;
}

/* Project request without an offer:
   keep promotional fields hidden */
.contact-page.project-request-mode:not(.offer-request-mode) .offer-field {
  display: none !important;
}

/* Offer request:
   show promotional fields */
.contact-page.offer-request-mode .offer-field {
  display: block;
}

/* Project/offer requests do not use the general subject field */
.contact-page.project-request-mode .general-field {
  display: none !important;
}



/* =========================================================
   CONTACT — NEXT PATHS
   ========================================================= */

.contact-paths-section {
  padding-top: 48px;
  padding-bottom: 54px;
}

.contact-paths-heading {
  max-width: 650px;
  margin-bottom: 28px;
}

.contact-paths-heading h2 {
  margin: 10px 0 8px;

  color: var(--color-navy);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.contact-paths-heading p {
  margin: 0;

  color: var(--color-text-muted);
  line-height: 1.65;
}


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


.contact-path-card {
  display: flex;
  flex-direction: column;

  min-height: 230px;
  padding: 24px;

  background: rgba(255, 255, 255, 0.86);

  border: 1px solid rgba(23, 105, 210, 0.34);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.contact-path-card:hover {
  transform: translateY(-3px);

  border-color: rgba(23, 105, 210, 0.58);
  box-shadow: var(--shadow-md);
}


.contact-path-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  margin-bottom: 20px;

  color: var(--color-blue);

  background: rgba(23, 105, 210, 0.08);

  border: 1px solid rgba(23, 105, 210, 0.24);
  border-radius: 11px;

  font-size: .72rem;
  font-weight: 850;
}


.contact-path-card h3 {
  margin: 0 0 9px;

  color: var(--color-navy);
  font-size: 1.05rem;
}


.contact-path-card p {
  margin: 0 0 20px;

  color: var(--color-text-muted);

  font-size: .88rem;
  line-height: 1.65;
}


.contact-path-link {
  margin-top: auto;

  color: var(--color-blue);

  font-size: .86rem;
  font-weight: 750;

  text-decoration: none;
}

.contact-path-link:hover {
  text-decoration: underline;
}


/* BRAND PROCESS LINE */

.contact-brand-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  margin-top: 28px;
  padding: 22px 26px;

  background: rgba(255, 255, 255, 0.54);

  border: 1px solid rgba(23, 105, 210, 0.20);
  border-radius: var(--radius-lg);
}

.contact-brand-line > p {
  margin: 0;

  color: var(--color-navy);

  font-size: .95rem;
  font-weight: 750;
}


.contact-brand-steps {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-brand-steps span {
  color: var(--color-navy);

  font-size: .78rem;
  font-weight: 750;
}

.contact-brand-steps i {
  display: block;

  width: 4px;
  height: 4px;

  background: var(--color-orange);
  border-radius: 50%;
}


/* DARK */

[data-theme="dark"] .contact-path-card,
[data-theme="dark"] .contact-brand-line {
  background: rgba(11, 32, 67, 0.88);
  border-color: rgba(76, 145, 232, 0.34);
}

[data-theme="dark"] .contact-paths-heading h2,
[data-theme="dark"] .contact-path-card h3,
[data-theme="dark"] .contact-brand-line > p,
[data-theme="dark"] .contact-brand-steps span {
  color: #f4f8ff;
}

[data-theme="dark"] .contact-path-card p {
  color: rgba(229, 238, 251, 0.72);
}


/* RESPONSIVE */

@media (max-width: 850px) {

  .contact-paths-grid {
    grid-template-columns: 1fr;
  }

  .contact-path-card {
    min-height: auto;
  }

  .contact-brand-line {
    flex-direction: column;
    align-items: flex-start;
  }

}


@media (max-width: 560px) {

  .contact-paths-section {
    padding-top: 40px;
    padding-bottom: 46px;
  }

  .contact-brand-steps {
    flex-wrap: wrap;
  }

}


/* CONTACT — TIGHTEN VERTICAL SECTION GAP */

.contact-page .contact-paths-section {
  padding-top: 22px;
}

.contact-page .contact-section,
.contact-page .contact-main-section {
  padding-bottom: 22px;
}

