/* Contact page — page 338 */

.kn-ct-page {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1rem 4.5rem;
}

@media (min-width: 640px) {
  .kn-ct-page { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .kn-ct-page { padding-left: 2rem; padding-right: 2rem; }
}

.kn-ct-hero {
  text-align: center;
  margin-bottom: 3rem;
  animation: kn-ct-rise 0.7s ease both;
}

.kn-ct-hero__brand {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 1rem;
  font-size: 0.72rem;
  font-weight: 900;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 9999px;
}

.kn-ct-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.22);
}

.kn-ct-hero__lead {
  margin: 0 auto 1.5rem;
  max-width: 38rem;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #9ca3af;
}

.kn-ct-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.kn-ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.kn-ct-btn--primary {
  color: #04040d;
  background: linear-gradient(135deg, #ffd700, #f5c542);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.35);
}

.kn-ct-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.kn-ct-btn--ghost {
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.kn-ct-btn--ghost:hover {
  border-color: rgba(0, 229, 255, 0.45);
  color: #00e5ff;
  transform: translateY(-2px);
}

.kn-ct-btn--wide {
  width: 100%;
  max-width: 24rem;
  margin: 0.5rem auto 0;
}

.kn-ct-section {
  margin-bottom: 3rem;
  animation: kn-ct-rise 0.65s ease both;
}

.kn-ct-section__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 900;
  color: #fff;
}

.kn-ct-section__text {
  margin: 0 0 1.35rem;
  max-width: 40rem;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #9ca3af;
}

.kn-ct-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .kn-ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .kn-ct-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.kn-ct-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 1.15rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(27, 29, 68, 0.55), rgba(8, 9, 26, 0.8));
  text-decoration: none !important;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.kn-ct-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.kn-ct-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.45rem;
  border-radius: 0.75rem;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.kn-ct-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #9ca3af;
}

.kn-ct-card__value {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  word-break: break-word;
}

.kn-ct-address {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 960px) {
  .kn-ct-address {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
  }
}

.kn-ct-socials {
  display: grid;
  gap: 0.75rem;
}

.kn-ct-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 229, 255, 0.05);
  text-decoration: none !important;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.kn-ct-social:hover {
  border-color: rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

.kn-ct-social > i {
  font-size: 1.25rem;
  color: #00e5ff;
}

.kn-ct-social span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.kn-ct-social strong {
  font-size: 0.9rem;
  color: #fff;
}

.kn-ct-social small {
  font-size: 0.78rem;
  color: #9ca3af;
}

.kn-ct-map {
  overflow: hidden;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 18rem;
  background: rgba(8, 9, 26, 0.7);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.kn-ct-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.kn-ct-form-wrap {
  margin-top: 1rem;
  padding: 2rem 1.25rem 2.25rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(16, 18, 44, 0.92), rgba(4, 4, 13, 0.96));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: kn-ct-rise 0.7s ease both;
}

@media (min-width: 640px) {
  .kn-ct-form-wrap { padding: 2.5rem 2rem; }
}

.kn-ct-form-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.kn-ct-form-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.85rem;
  border-radius: 1rem;
  color: #ffd700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.kn-ct-form-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: #fff;
}

.kn-ct-form-head p {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: #9ca3af;
}

.kn-ct-alert {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.7;
  text-align: center;
}

.kn-ct-alert--ok {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.kn-ct-alert--warn {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.kn-ct-alert--err {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.kn-ct-form__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 700px) {
  .kn-ct-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.kn-ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.kn-ct-field span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #d1d5db;
}

.kn-ct-field em,
.kn-ct-services legend em {
  color: #ffd700;
  font-style: normal;
}

.kn-ct-field input,
.kn-ct-field select {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 4, 13, 0.75);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kn-ct-field input::placeholder { color: #6b7280; }

.kn-ct-field input:focus,
.kn-ct-field select:focus {
  border-color: rgba(255, 215, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.kn-ct-field select option { background: #10122c; color: #fff; }

.kn-ct-services {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

.kn-ct-services legend {
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #d1d5db;
}

.kn-ct-services__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .kn-ct-services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.kn-ct-chip {
  position: relative;
  cursor: pointer;
}

.kn-ct-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kn-ct-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #e5e7eb;
  font-size: 0.88rem;
  font-weight: 800;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.kn-ct-chip span i { color: #00e5ff; }

.kn-ct-chip input:checked + span {
  border-color: rgba(255, 215, 0, 0.55);
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
}

.kn-ct-chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.kn-ct-services__hint {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  color: #6b7280;
}

.kn-ct-form .kn-ct-btn--wide {
  display: flex;
}

@keyframes kn-ct-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .kn-ct-hero,
  .kn-ct-section,
  .kn-ct-form-wrap { animation: none; }
}
