/* ============================================
   KWT Labs — Contact Section
   ============================================ */

.ct-hero h1 .text-gradient {
  background: linear-gradient(90deg, #0F6FFF 0%, #6366f1 45%, #FF3D3D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct-hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 56px;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(15, 111, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #eef4ff 0%, var(--white) 100%);
  text-align: center;
}

.ct-hero--sub {
  text-align: left;
  padding-bottom: 40px;
}

.ct-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.ct-hero__lead {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 28px;
}

.ct-hero--sub .ct-hero__lead {
  margin-left: 0;
  max-width: 560px;
}

.ct-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ct-hero--sub .ct-hero__actions {
  justify-content: flex-start;
}

.ct-hero__sub {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 24px;
}

.ct-hero__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.ct-hero__icon .icon {
  width: 32px;
  height: 32px;
}

/* Breadcrumb */
.ct-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.ct-breadcrumb a {
  color: var(--gray-600);
}

.ct-breadcrumb a:hover {
  color: var(--primary);
}

.ct-breadcrumb .icon {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
}

/* Quick links */
.ct-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.ct-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ct-quick-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.ct-quick-link .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Section headings */
.ct-section__desc {
  color: var(--gray-500);
  margin-top: 8px;
  margin-bottom: 32px;
  max-width: 600px;
}

.ct-hero + .ct-selector .ct-section__desc,
.ct-selector .ct-section__desc {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ct-selector h2,
.ct-departments h2,
.ct-products h2,
.ct-before h2,
.ct-faq h2,
.ct-timeline h2,
.ct-business h2,
.ct-social h2,
.ct-form-section h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: var(--dark);
}

/* Inquiry selector */
.ct-selector {
  text-align: center;
}

.ct-selector__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  text-align: left;
}

.ct-selector-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.ct-selector-card:hover {
  border-color: rgba(15, 111, 255, 0.35);
  box-shadow: var(--shadow-md);
}

.ct-selector-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ct-selector-card:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 111, 255, 0.12);
  transform: translateY(-2px);
}

.ct-selector-card__icon .icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.ct-selector-card__title {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9375rem;
}

.ct-selector-card__desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Department cards */
.ct-dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.ct-dept-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.ct-dept-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}

.ct-dept-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 111, 255, 0.1);
}

.ct-dept-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.ct-dept-card__icon .icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.ct-dept-card h3 {
  font-size: 1.0625rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.ct-dept-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  flex: 1;
  margin-bottom: 16px;
}

.ct-dept-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.ct-dept-card__link .icon {
  width: 16px;
  height: 16px;
}

/* Trust badges */
.ct-trust {
  padding: 32px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

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

.ct-trust__badge {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  text-align: left;
}

.ct-trust__badge > [data-icon] .icon,
.ct-trust__badge > .icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.ct-trust__badge strong {
  display: block;
  font-size: 0.875rem;
  color: var(--dark);
}

.ct-trust__badge span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Form layout */
.ct-form-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.ct-form-col h2 {
  margin-bottom: 8px;
}

.ct-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition);
}

.ct-form.is-focused {
  box-shadow: 0 0 0 3px rgba(15, 111, 255, 0.15);
}

.ct-form__helper {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.6;
}

.ct-form__success {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  color: #065f46;
}

.ct-form__success .icon {
  width: 28px;
  height: 28px;
  color: var(--success);
  flex-shrink: 0;
}

.ct-form__success p {
  margin-top: 4px;
  font-size: 0.9375rem;
}

.ct-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ct-form__field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.ct-form__optional {
  font-weight: 400;
  color: var(--gray-400);
}

.ct-form__field input,
.ct-form__field select,
.ct-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ct-form__field input:focus,
.ct-form__field select:focus,
.ct-form__field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 111, 255, 0.12);
}

.ct-form__field textarea {
  resize: vertical;
  min-height: 140px;
}

.ct-form__field--full {
  grid-column: 1 / -1;
}

.ct-form__hint {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 6px;
}

/* Info aside */
.ct-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ct-info-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ct-info-card.is-highlighted {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 111, 255, 0.1);
}

.ct-info-card--muted {
  background: var(--gray-50);
}

.ct-info-card__icon .icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.ct-info-card h3 {
  font-size: 0.9375rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.ct-info-card a {
  font-weight: 600;
  font-size: 0.875rem;
}

.ct-info-card p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 4px;
  line-height: 1.5;
}

/* Product support */
.ct-products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ct-product-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.ct-product-card--mind {
  border-top: 3px solid #a855f7;
}

.ct-product-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ct-product-card__head .icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.ct-product-card--mind .ct-product-card__head .icon {
  color: #a855f7;
}

.ct-product-card h3 {
  font-size: 1.125rem;
  color: var(--dark);
}

.ct-product-card ul li {
  margin-bottom: 8px;
}

.ct-product-card ul a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.ct-product-card ul a:hover {
  color: var(--primary);
}

.ct-product-card ul .icon {
  width: 14px;
  height: 14px;
}

/* Before contact */
.ct-before__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.ct-before-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ct-before-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.ct-before-card .icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.ct-before-card h3 {
  font-size: 1rem;
  color: var(--dark);
}

.ct-before-card p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* FAQ */
.ct-faq__list {
  max-width: 800px;
}

.ct-faq .faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
}

.ct-faq .faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
}

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

.ct-faq .faq-item__answer {
  padding: 0 20px 16px;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Timeline */
.ct-timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  list-style: none;
  counter-reset: none;
  padding: 0;
}

.ct-timeline__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, #6366f1 50%, var(--success) 100%);
  z-index: 0;
}

.ct-timeline__step {
  position: relative;
  text-align: center;
  padding: 0 16px;
  z-index: 1;
}

.ct-timeline__num {
  display: none;
}

.ct-timeline__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.ct-timeline__icon .icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.ct-timeline__step h3 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.ct-timeline__step p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Business info */
.ct-business__card {
  max-width: 640px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.ct-business__list {
  display: grid;
  gap: 16px;
}

.ct-business__list dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.ct-business__list dd {
  font-size: 0.9375rem;
  color: var(--gray-700);
}

/* Social */
.ct-social__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ct-social-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ct-social-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.ct-social-card__label {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}

.ct-social-card__handle {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Back link */
.ct-back__inner {
  text-align: center;
  color: var(--gray-500);
}

/* Final CTA */
.ct-final-cta__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.ct-final-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.ct-final-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.ct-final-cta .btn .icon {
  width: 18px;
  height: 18px;
  margin-left: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
  .ct-form-layout {
    grid-template-columns: 1fr;
  }

  .ct-timeline__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .ct-timeline__steps::before {
    display: none;
  }

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

@media (max-width: 768px) {
  .ct-trust__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ct-trust__badge {
    justify-content: flex-start;
  }

  .ct-form__grid {
    grid-template-columns: 1fr;
  }

  .ct-products__grid {
    grid-template-columns: 1fr;
  }

  .ct-timeline__steps {
    grid-template-columns: 1fr;
  }

  .ct-social__grid {
    grid-template-columns: 1fr;
  }

  .ct-hero__sub {
    flex-direction: column;
  }

  .ct-selector__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ct-quick-links {
    flex-direction: column;
    align-items: stretch;
  }

  .ct-quick-link {
    justify-content: center;
  }

  .ct-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .ct-hero__actions .btn {
    width: 100%;
  }
}
