@charset "UTF-8";

/* =========================
   Contact / Demo request forms
   Extends landing-page.css + sales-page.css
========================= */

.menu a.is-active {
  color: var(--sales-blue, #2C86D3);
}

.form-page {
  padding: 48px var(--sales-pad-x, 7%) 72px;
  background: linear-gradient(180deg, #F8FBFE 0%, #EEF6FC 100%);
  min-height: calc(100vh - 78px - 80px);
}

.form-page-intro {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.form-page-intro .pill {
  margin-bottom: 14px;
}

.form-page-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: var(--sales-navy, #071735);
}

.form-page-intro p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--sales-muted, #64748B);
}

.form-page-phone {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sales-navy, #071735);
}

.form-page-phone a {
  color: var(--sales-blue, #2C86D3);
  text-decoration: none;
}

.creata-form {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--sales-border, rgba(44, 134, 211, 0.12));
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(44, 134, 211, 0.1);
  padding: 40px 44px 36px;
  color: #33475b;
}

.creata-form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.creata-form-field {
  flex: 1;
  min-width: 260px;
  margin-bottom: 20px;
}

.creata-form-field.full {
  flex: 1 1 100%;
  min-width: 0;
}

.creata-form label:not(.creata-check) {
  font-size: 15px;
  color: #33475b;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.creata-form .req {
  color: #2C86D3;
}

.creata-form input[type="text"],
.creata-form input[type="email"],
.creata-form input[type="tel"],
.creata-form input[type="date"],
.creata-form select,
.creata-form textarea {
  width: 100%;
  height: 50px;
  padding: 12px 14px;
  font-size: 17px;
  line-height: 1.3;
  border: 1px solid #cbd6e2;
  border-radius: 8px;
  background: #f5f8fa;
  box-sizing: border-box;
  color: #071735;
  font-family: inherit;
}

.creata-form textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.creata-form input:focus,
.creata-form select:focus,
.creata-form textarea:focus {
  outline: none;
  border-color: #2C86D3;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44, 134, 211, 0.15);
}

.creata-form-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #b71c1c;
}

.creata-features {
  border: 1px solid #cbd6e2;
  border-radius: 12px;
  padding: 20px;
  margin: 0 0 22px;
  background: #fbfcfd;
}

.creata-features legend {
  padding: 0 8px;
  font-size: 15px;
  color: #33475b;
  font-weight: 700;
}

.creata-features-hint {
  margin: 0 0 14px;
  color: #5c6f7e;
  font-size: 14px;
}

.creata-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 16px;
  text-align: left;
}

.creata-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dce4eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  color: #33475b;
  font-size: 15px;
  font-weight: 500;
}

.creata-check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #2C86D3;
}

.creata-form-actions {
  margin-top: 8px;
  text-align: center;
}

.creata-form-actions .btn-primary {
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 15px 36px;
  min-width: 220px;
}

.creata-form-actions .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.creata-form-status {
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
  min-height: 1.4em;
}

/* Mobile only — desktop rules above stay unchanged */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .topbar {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .logo img {
    max-width: min(170px, 48vw);
    max-height: 52px;
    width: auto;
    height: auto;
  }

  .demo-btn {
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nav-toggle {
    flex-shrink: 0;
  }

  .form-page {
    padding: 20px 0 40px;
    min-height: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .form-page-intro {
    margin: 0 auto 18px;
    padding: 0 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .form-page-intro .pill {
    margin-bottom: 10px;
  }

  .form-page-intro h1 {
    margin: 0 0 10px;
    font-size: clamp(34px, 9vw, 38px);
    line-height: 1.15;
  }

  .form-page-intro > p:not(.form-page-phone) {
    font-size: clamp(18px, 4.5vw, 20px);
    line-height: 1.35;
  }

  .form-page-phone {
    margin-top: 8px;
    font-size: 15px;
  }

  .creata-form {
    width: calc(100% - 32px);
    max-width: 920px;
    margin: 0 auto;
    padding: 22px 20px 24px;
    border-radius: 14px;
    box-sizing: border-box;
  }

  .creata-form-row {
    gap: 0;
  }

  .creata-form-field {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
    margin-bottom: 14px;
  }

  .creata-form label:not(.creata-check) {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .creata-form input[type="text"],
  .creata-form input[type="email"],
  .creata-form input[type="tel"],
  .creata-form input[type="date"],
  .creata-form select {
    width: 100%;
    max-width: 100%;
    height: 50px;
    min-height: 48px;
    max-height: 54px;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.25;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
  }

  .creata-form select {
    background-color: #f5f8fa;
    background-image: linear-gradient(45deg, transparent 50%, #64748B 50%),
      linear-gradient(135deg, #64748B 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 32px;
  }

  .creata-form textarea {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 110px;
    max-height: none;
    padding: 12px;
    font-size: 16px;
    line-height: 1.4;
    box-sizing: border-box;
  }

  .creata-features {
    padding: 14px;
    margin: 0 0 16px;
    box-sizing: border-box;
  }

  .creata-features legend {
    font-size: 16px;
  }

  .creata-features-hint {
    margin: 0 0 10px;
    font-size: 14px;
  }

  .creata-features-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .creata-check {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
    box-sizing: border-box;
  }

  .creata-form-actions .btn-primary {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 14px 20px;
    box-sizing: border-box;
  }
}
