.ct-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 3rem;
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 99, 235, 0.12), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(34, 211, 238, 0.14), transparent 38%),
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
}

.ct-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ct-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ks-primary);
}

.ct-h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0.9rem 0 0;
}

.ct-lead {
  font-size: 1.05rem;
  color: var(--ks-fg2);
  line-height: 1.6;
  margin: 1.1rem 0 0;
  font-weight: 500;
  max-width: 34rem;
}

.ct-points {
  display: grid;
  gap: 0.9rem;
  margin: 1.8rem 0 0;
}

.ct-point {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.ct-point .ic {
  width: 38px;
  height: 38px;
  border-radius: var(--ks-r-md);
  background: var(--ks-primary-soft);
  color: var(--ks-primary-deep);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.ct-point .t {
  font-weight: 800;
  font-size: 0.92rem;
}

.ct-point .s {
  font-size: 0.82rem;
  color: var(--ks-fg2);
  margin-top: 0.1rem;
  line-height: 1.5;
}

.ct-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.ct-chan {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--ks-line);
  background: #fff;
  border-radius: var(--ks-r-pill);
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ks-fg1);
  box-shadow: var(--ks-shadow-card);
  text-decoration: none;
}

.ct-chan:hover {
  border-color: rgba(37, 99, 255, 0.35);
  color: var(--ks-primary-deep);
}

.ct-chan .ks-icon {
  color: var(--ks-primary);
}

.ct-card {
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: var(--ks-r-2xl);
  box-shadow: var(--ks-shadow-pop);
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  justify-self: end;
}

.ct-steps {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--ks-line);
  background: var(--ks-soft);
}

.ct-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ks-fg3);
}

.ct-step .n {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ks-line);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex: 0 0 auto;
  transition: 0.2s;
}

.ct-step.active {
  color: var(--ks-primary-deep);
  font-weight: 700;
}

.ct-step.active .n {
  background: var(--ks-gradient-strong);
  color: #fff;
  border-color: transparent;
}

.ct-step.done .n {
  background: var(--ks-success);
  color: #fff;
  border-color: transparent;
}

.ct-body {
  padding: 1.5rem 1.3rem 1.4rem;
}

.ct-card .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.9rem;
  row-gap: 0.75rem;}

.ct-card .field {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.ct-card .ct-phone {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.ct-card .ct-phone-trigger {
  flex: 0 0 auto;
}

.ct-card .ct-phone-input {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.ct-card .field > span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ks-fg1);
}

.ct-card .input,
.ct-card .select,
.ct-card .textarea {
  padding: 0.48rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  min-height: 0;
  color: var(--ks-fg1);
}

.ct-card .input::placeholder,
.ct-card .textarea::placeholder {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ks-fg3);
}

.ct-card .textarea {
  min-height: 72px;
  line-height: 1.45;
  resize: vertical;
}

.ct-card .ks-btn {
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  gap: 0.35rem;
}

.ct-card .ks-btn .ks-icon {
  width: 14px;
  height: 14px;
}

.ct-card .ct-recaptcha {
  margin-top: 0.35rem;
  padding: 0.75rem 0 0.15rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.ct-card .ct-recaptcha .g-recaptcha {
  display: inline-block;
  line-height: 0;
}

.ct-card .ct-recaptcha iframe {
  max-width: 100%;
}

.ct-phone {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: var(--ks-r-md);
  min-height: 2.35rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ct-phone:focus-within {
  border-color: var(--ks-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 255, 0.12);
}

.ct-phone.ct-field-error {
  border-color: var(--ks-danger) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.ct-phone-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0.48rem 0.55rem 0.48rem 0.7rem;
  cursor: pointer;
  color: var(--ks-fg1);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  font-family: inherit;
}

.ct-phone-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.ct-phone-dial {
  font-variant-numeric: tabular-nums;
}

.ct-phone-caret {
  font-size: 0.65rem;
  color: var(--ks-fg3);
  margin-left: 0.05rem;
}

.ct-phone-sep {
  width: 1px;
  align-self: stretch;
  margin: 0.4rem 0;
  background: var(--ks-line);
  flex: 0 0 auto;
}

.ct-phone-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.48rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ks-fg1);
  font-family: inherit;
  outline: none;
}

.ct-phone-input::placeholder {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ks-fg3);
}

.ct-phone-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.35rem);
  bottom: auto;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: var(--ks-r-md);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.ct-phone-search-wrap {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--ks-line);
}

.ct-phone-search {
  width: 100%;
  border: 1px solid var(--ks-line);
  border-radius: 0.4rem;
  padding: 0.42rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--ks-fg1);
  outline: none;
}

.ct-phone-search:focus {
  border-color: var(--ks-primary);
}

.ct-phone-list {
  max-height: 220px;
  overflow: auto;
  padding: 0.3rem;
}

.ct-phone-option {
  width: 100%;
  display: grid;
  grid-template-columns: 1.4rem 1fr auto;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  border-radius: 0.4rem;
  padding: 0.45rem 0.5rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ks-fg1);
}

.ct-phone-option:hover,
.ct-phone-option.is-selected {
  background: var(--ks-soft);
}

.ct-phone-option-flag {
  font-size: 1rem;
  line-height: 1;
}

.ct-phone-option-name {
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct-phone-option-dial {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ks-fg3);
  font-variant-numeric: tabular-nums;
}

.ct-pane {
  display: none;
}

.ct-pane.show {
  display: block;
  animation: ctFade 0.25s var(--ks-ease);
}

@keyframes ctFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ct-cal {
  margin-top: 0.35rem;
  border: 1px solid var(--ks-line);
  border-radius: var(--ks-r-lg);
  background: #fff;
  padding: 0.55rem 0.65rem 0.65rem;
}

.ct-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.ct-cal-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ks-fg1);
  letter-spacing: -0.01em;
}

.ct-cal-nav {
  width: 28px;
  height: 28px;
  border: 1px solid var(--ks-line);
  border-radius: var(--ks-r-sm);
  background: #fff;
  color: var(--ks-fg2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.14s;
  padding: 0;
  font-family: inherit;
}

.ct-cal-nav:hover:not(:disabled) {
  border-color: var(--ks-primary);
  color: var(--ks-primary-deep);
  background: var(--ks-primary-soft);
}

.ct-cal-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ct-cal-dows {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
  margin-bottom: 0.25rem;
}

.ct-cal-dows span {
  text-align: center;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ks-fg3);
  padding: 0.2rem 0;
}

.ct-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.ct-cal-cell {
  height: 2.90rem;
  border: 1px solid transparent;
  border-radius: var(--ks-r-sm);
  background: transparent;
  color: var(--ks-fg1);
  font-size: 0.76rem;
  font-weight: 700;
  font-family: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.14s;
  padding: 0;
}

.ct-cal-cell.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.ct-cal-cell.is-disabled {
  color: var(--ks-fg3);
  opacity: 0.4;
  cursor: not-allowed;
  font-weight: 600;
}

.ct-cal-cell:not(.is-disabled):not(.is-empty):hover {
  border-color: var(--ks-primary);
  background: var(--ks-primary-soft);
  color: var(--ks-primary-deep);
}

.ct-cal-cell.is-active {
  border-color: var(--ks-primary);
  background: var(--ks-gradient-strong);
  color: #fff;
  box-shadow: 0 0 0 1px var(--ks-primary);
}

.ct-cal-time-label {
  margin: 0.5rem 0 0.25rem !important;
}

.ct-cal-time {
  margin: 0;
}

.ct-time-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ks-fg3);
  line-height: 1.45;
}

.ct-summary {
  background: var(--ks-soft);
  border: 1px solid var(--ks-line);
  border-radius: var(--ks-r-lg);
  padding: 1.15rem 1.2rem;
  margin-top: 1.1rem;
}

.ct-summary .row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0;
  font-size: 0.8rem;
  font-weight: 600;
}

.ct-summary .row .ks-icon {
  color: var(--ks-primary);
  flex: 0 0 auto;
}

.ct-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.ct-pane[data-pane="2"] > .panel-label:first-of-type {
  margin-bottom: 0.3rem !important;
}

.ct-pane[data-pane="2"] > .ct-foot {
  margin-top: 0.6rem;
}

.ct-pane[data-pane="3"] > .section-title {
  margin-bottom: 0.45rem;
}

.ct-pane[data-pane="3"].show {
  display: flex;
  flex-direction: column;
}

.ct-pane[data-pane="3"] > .ct-summary {
  margin-top: 0.75rem;
  border-radius: 18px;
  padding: 1.5rem;
  background: #F4F7FC;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 1px 3px rgba(15, 23, 42, 0.03);
  flex: 0 0 auto;
  display: block;
  gap: 0;
  align-items: stretch;
}

.ct-confirm {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.ct-confirm-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.ct-confirm-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #2563EB;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  flex: 0 0 auto;
}

.ct-confirm-person-text {
  min-width: 0;
}

.ct-confirm-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  letter-spacing: -0.2px;
  overflow-wrap: anywhere;
}

.ct-confirm-email {
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.4;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

.ct-confirm-divider {
  font-size: 0.100rem;
  height: 1px;
  width: 100%;
  background: rgba(226, 232, 240, 0.95);
  border: none;
}

.ct-confirm-details {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.ct-confirm-detail,
.ct-confirm-ready {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ct-confirm-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #2563EB;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  flex: 0 0 auto;
}

.ct-confirm-badge.is-success {
  color: var(--ks-success);
}

.ct-confirm-detail-text {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.4;
  letter-spacing: normal;
  overflow-wrap: anywhere;
  min-width: 0;
}

.ct-confirm-detail-text.is-duration {
  font-weight: 500;
  color: #374151;
}

.ct-confirm-ready-text {
  min-width: 0;
}

.ct-confirm-ready-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

.ct-confirm-ready-cap {
  margin-top: 0.15rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.4;
  letter-spacing: normal;
}

.ct-pane[data-pane="3"] > .ct-foot {
  margin-top: auto;
  padding-top: 1rem;
  flex: 0 0 auto;
}

.ct-foot .muted {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ct-success {
  text-align: center;
  padding: 1.15rem 0.4rem;
}

.ct-success .chk {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ks-success-bg);
  color: var(--ks-success);
  display: grid;
  place-items: center;
  margin: 0 auto 0.85rem;
}

.ct-success h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}

.ct-success .done-lead {
  font-size: 0.9rem;
  margin: 0.5rem auto 0;
  max-width: 34ch;
  line-height: 1.55;
}

.ct-success .ct-summary {
  text-align: left;
  max-width: 360px;
  margin: 1.3rem auto 0;
}

.ct-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.4rem;
}

.ct-btn-icon {
  display: inline-flex;
  transform: rotate(180deg);
}

.ct-field-error {
  border-color: var(--ks-danger) !important;
}

@media (max-width: 920px) {
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ct-card {
    max-width: none;
    justify-self: stretch;
  }

  .ct-cal-cell {
    height: 2.5rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 767px) {
  .ct-grid {
    padding: 0 1rem;
  }

  .ct-body {
    padding: 1.25rem 1rem 1.35rem;
  }

  .ct-pane,
  .ct-pane.show,
  .ct-pane[data-pane="3"].show {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .ct-pane[data-pane="3"].show {
    display: block;
  }

  .ct-card .form-grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 1rem;
  }

  .ct-card .field,
  .ct-card .field.full,
  .ct-card .ct-recaptcha {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ct-card .field > span {
    margin-bottom: 0.45rem;
  }

  .ct-card .input,
  .ct-card .select,
  .ct-card .textarea,
  .ct-card .ks-btn,
  .ct-card .ct-phone-trigger,
  .ct-card .ct-phone-input {
    min-height: 44px;
  }

  .ct-card .input,
  .ct-card .select,
  .ct-card .textarea,
  .ct-card .ks-btn {
    width: 100%;
  }

  .ct-card .textarea {
    min-height: 96px;
  }

  .ct-card .ct-phone {
    width: 100%;
    min-width: 0;
  }

  .ct-card .ct-phone-trigger {
    min-width: 92px;
  }

  .ct-card .ct-phone-input {
    min-width: 0;
  }

  .ct-card .ct-phone-menu {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
  }

  .ct-card .ct-recaptcha {
    margin-top: 0;
    padding-top: 0;
    justify-content: flex-start;
    overflow: hidden;
    min-height: 78px;
  }

  .ct-card .ct-recaptcha .g-recaptcha {
    width: 304px;
    max-width: 100%;
    transform: none;
    transform-origin: left top;
    margin: 0;
  }

  .ct-foot {
    margin-top: 1rem;
    gap: 0.9rem;
  }

  .ct-foot .muted {
    width: 100%;
  }

  .ct-pane[data-pane="2"] > .ct-foot,
  .ct-pane[data-pane="3"] > .ct-foot {
    margin-top: 0.85rem;
    padding-top: 0;
  }

  .ct-pane[data-pane="2"] > .panel-label:first-of-type {
    margin-bottom: 0.25rem !important;
  }

  .ct-cal {
    margin-top: 0.25rem;
  }

  .ct-cal-time-label {
    margin: 0.45rem 0 0.2rem !important;
  }

  .ct-time-hint {
    margin-top: 0.25rem;
  }

  .ct-pane[data-pane="3"] > .section-title {
    margin-bottom: 0.25rem;
  }

  .ct-pane[data-pane="3"] > .ct-summary {
    margin-top: 0.6rem;
    padding: 1.15rem;
  }

  .ct-confirm {
    gap: 0.95rem;
  }
}

@media (max-width: 320px) {
  .ct-card .ct-recaptcha {
    margin-top: 0;
    padding-top: 0;
    justify-content: flex-start;

    overflow: visible;
    min-height: 72px;
  }

  .ct-card .ct-recaptcha .g-recaptcha {
    width: 304px;
    max-width: none;

    transform: scale(0.88);
    transform-origin: left top;

    margin: 0;
  }

  .ct-card .ct-recaptcha iframe {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .ct-hero {
    padding: 5.5rem 0 2.5rem;
  }

  .ct-step span.lbl {
    display: none;
  }

  .ct-cal {
    padding: 0.45rem 0.5rem 0.5rem;
  }

  .ct-cal-cell {
    height: 2.25rem;
    font-size: 0.7rem;
  }

  .ct-pane[data-pane="3"] > .ct-summary {
    padding: 1.25rem;
  }

  .ct-confirm {
    gap: 1.05rem;
  }

  .ct-confirm-avatar {
    width: 48px;
    height: 48px;
  }

  .ct-confirm-badge {
    width: 38px;
    height: 38px;
  }

  .ct-confirm-name {
    font-size: 1.05rem;
  }

  .ct-confirm-detail-text,
  .ct-confirm-ready-title {
    font-size: 1rem;
  }

  .ct-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .ct-foot .ks-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-pane.show {
    animation: none;
  }
}
