/* Contact, Book a Demo & Sales — page-specific (ct-) */

.ct-hero-title {
  margin: 0 0 1rem;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--ink);
}

.ct-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--red);
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.ct-band--calm {
  background: var(--page-muted);
}

.ct-band--dark {
  background: var(--ink);
  color: #fff;
}

.ct-band--dark .hp-eyebrow { color: rgba(255, 255, 255, 0.5); }
.ct-band--dark .hp-h2 { color: #fff; }
.ct-band--dark .hp-lede { color: rgba(255, 255, 255, 0.65); }

/* Consultation scene */
.ct-consult-scene {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-consult-panel {
  width: min(100%, 400px);
  background: var(--ink);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.ct-consult-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ct-consult-panel__header strong {
  font-size: 0.82rem;
  color: #fff;
}

.ct-consult-panel__header span {
  font-size: 0.62rem;
  color: var(--success);
  font-weight: 600;
}

.ct-consult-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ct-consult-kpi {
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.ct-consult-kpi label {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.ct-consult-kpi b {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.ct-consult-chat {
  padding: 0.75rem;
  background: rgba(177, 18, 38, 0.12);
  border: 1px solid rgba(177, 18, 38, 0.25);
  border-radius: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.ct-consult-float {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  animation: hp-float-card 6s ease-in-out infinite;
}

.ct-consult-float--1 { top: 8%; left: 0; animation-delay: 0s; }
.ct-consult-float--2 { bottom: 15%; right: -2%; animation-delay: -2s; }

@media (max-width: 700px) {
  .ct-consult-float { display: none; }
}

/* Business type cards */
.ct-biz-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}

.ct-biz-card {
  padding: 1.1rem 0.85rem;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
  font-family: inherit;
  width: 100%;
}

.ct-biz-card:hover {
  transform: translateY(-2px);
  border-color: rgba(177, 18, 38, 0.25);
}

.ct-biz-card.is-selected {
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: 0 0 0 1px rgba(177, 18, 38, 0.15);
}

.ct-biz-card__icon {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.ct-biz-card strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
}

.ct-biz-hint {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.ct-biz-hint b { color: var(--red); }

/* Forms */
.ct-form-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .ct-form-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

.ct-form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-md);
}

.ct-form-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.ct-form-panel > p {
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.ct-form-progress {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.ct-form-progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  transition: background 0.3s var(--ease);
}

.ct-form-progress span.is-active,
.ct-form-progress span.is-done {
  background: var(--red);
}

.ct-form-steps .ct-form-step {
  display: none;
}

.ct-form-steps .ct-form-step.is-active {
  display: block;
}

.ct-form .mk-field {
  margin-bottom: 0.85rem;
}

.ct-form .mk-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.ct-form .mk-field input,
.ct-form .mk-field select,
.ct-form .mk-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.85rem;
  transition: border-color 0.2s;
}

.ct-form .mk-field input:focus,
.ct-form .mk-field select:focus,
.ct-form .mk-field textarea:focus {
  outline: none;
  border-color: rgba(177, 18, 38, 0.45);
}

.ct-form .mk-field input.is-invalid,
.ct-form .mk-field select.is-invalid {
  border-color: #dc2626;
}

.ct-form .mk-field-error {
  font-size: 0.68rem;
  color: #dc2626;
  font-weight: 600;
  margin-top: 0.25rem;
  display: none;
}

.ct-form .mk-field.has-error .mk-field-error {
  display: block;
}

.ct-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 500px) {
  .ct-form-grid { grid-template-columns: 1fr; }
}

.ct-form-nav {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ct-form-nav .btn-primary { flex: 1; min-width: 8rem; }

.ct-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.ct-form-success {
  display: none;
  padding: 1rem 1.15rem;
  background: rgba(13, 122, 78, 0.08);
  border: 1px solid rgba(13, 122, 78, 0.25);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--success);
  margin-top: 1rem;
}

.ct-form-success.is-visible { display: block; }

.ct-form-aside {
  padding: 1.5rem;
  background: var(--ink);
  border-radius: 20px;
  color: #fff;
}

.ct-form-aside h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.ct-form-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.ct-form-aside li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}

.ct-form-aside li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

/* Demo benefits */
.ct-demo-benefits {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}

.ct-demo-benefit {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

/* Consultants */
.ct-consultants {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .ct-consultants { grid-template-columns: repeat(2, 1fr); }
}

.ct-consultant {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.ct-consultant__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ct-consultant strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.ct-consultant span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.ct-consultant p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Journey timeline */
.ct-journey {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.35rem;
}

.ct-journey-step {
  flex: 1 1 7rem;
  max-width: 9rem;
  padding: 0.85rem 0.65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  color: var(--ink);
  opacity: 0.45;
  transition: opacity 0.4s var(--ease), background 0.4s;
}

.ct-journey-step.is-visible {
  opacity: 1;
  background: var(--red-soft);
  border-color: rgba(177, 18, 38, 0.2);
  color: var(--ink);
}

.ct-journey-step strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.ct-band--dark .ct-journey-arrow {
  color: rgba(255, 255, 255, 0.45);
}

.ct-journey-arrow {
  align-self: center;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 700px) {
  .ct-journey-arrow { display: none; }
  .ct-journey-step { max-width: 100%; flex: 1 1 45%; }
}

/* Contact cards */
.ct-contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ct-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.ct-contact-card {
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.ct-contact-card__icon {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.ct-contact-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.ct-contact-card a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
}

.ct-contact-card p {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.ct-map-placeholder {
  margin-top: 1.5rem;
  padding: 2rem;
  background: var(--page);
  border: 2px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

/* Support, trust */
.ct-support-grid,
.ct-trust-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}

.ct-support-card,
.ct-trust-badge {
  padding: 1.15rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}

.ct-support-card__icon,
.ct-trust-badge__icon {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.ct-support-card strong,
.ct-trust-badge strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.ct-support-card p {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Final CTA */
.ct-final {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--ink);
  text-align: center;
}

.ct-final .hp-h2 { color: #fff; }
.ct-final .hp-lede { color: rgba(255, 255, 255, 0.65); }

.ct-final .mk-cta-row {
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 600px) {
  .ct-final .mk-cta-row a { width: 100%; text-align: center; }
}
