/* Public "Book a demo" page. Loaded after landing.css (tokens, nav, footer). */

.bd-body {
  --bd-mint: #72d9b3;
  --bd-radius: 18px;
  --bd-red: #c2412f;
  background: var(--lp-bg);
}

.bd-body button,
.bd-body input,
.bd-body select,
.bd-body textarea {
  font-family: inherit;
}

.bd-body svg {
  flex: none;
}

/* ---------- hero ---------- */
.bd-hero {
  padding: 54px 0 132px;
  color: #fff;
  background: #061a13;
}

.bd-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.bd-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}

.bd-crumbs a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.bd-crumbs a:hover {
  color: var(--lp-gold);
}

.bd-crumbs b {
  color: #fff;
  font-weight: 600;
}

.bd-hero h1 {
  max-width: 820px;
  margin: 16px 0 16px;
  color: #fff;
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
}

.bd-hero h1 span {
  background: linear-gradient(100deg, var(--lp-gold) 0%, #f3dc9d 45%, var(--bd-mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bd-hero-inner > p {
  max-width: 640px;
  margin: 0;
  color: #a9bdb4;
  font-size: 15.5px;
  line-height: 1.8;
}

/* ---------- layout ---------- */
.bd-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: -86px auto 84px;
}

/* ---------- form card ---------- */
.bd-card {
  padding: 32px clamp(20px, 3.4vw, 40px) 34px;
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, rgba(223, 189, 109, .75), rgba(114, 217, 179, .55) 45%, rgba(213, 225, 219, .9)) border-box;
  box-shadow: 0 30px 70px rgba(7, 42, 29, .14);
}

.bd-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #d9e7e0;
}

.bd-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b3a29, #07865c);
  box-shadow: 0 10px 22px rgba(7, 134, 92, .25);
}

.bd-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bd-card-head h2 {
  margin: 0;
  color: var(--lp-ink);
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -.015em;
}

.bd-card-head p {
  margin: 3px 0 0;
  color: var(--lp-muted);
  font-size: 13.5px;
}

.bd-form-error {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid #f3c9c2;
  border-left: 4px solid var(--bd-red);
  border-radius: 12px;
  color: #8f2c1f;
  background: #fff4f2;
  font-size: 13.5px;
}

.bd-form {
  display: grid;
  gap: 18px;
}

.bd-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bd-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.bd-field label {
  color: var(--lp-ink);
  font-size: 13px;
  font-weight: 600;
}

.bd-field label span {
  color: var(--bd-red);
}

.bd-field input,
.bd-field select,
.bd-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d5e1db;
  border-radius: 12px;
  outline: none;
  color: var(--lp-ink);
  background: #fbfdfc;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.bd-field input,
.bd-field select {
  height: 48px;
  padding: 0 14px;
}

.bd-field textarea {
  min-height: 132px;
  padding: 13px 14px;
  line-height: 1.6;
  resize: vertical;
}

.bd-field input::placeholder,
.bd-field textarea::placeholder {
  color: #9aaca4;
}

.bd-field input:focus,
.bd-field select:focus,
.bd-field textarea:focus {
  border-color: var(--lp-green-bright);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 171, 119, .14);
}

.bd-field.has-error input,
.bd-field.has-error select,
.bd-field.has-error textarea {
  border-color: #e3a196;
  background: #fffaf9;
}

.bd-error {
  color: var(--bd-red);
  font-size: 12px;
  font-weight: 500;
}

.bd-error:empty {
  display: none;
}

.bd-phone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
}

/* ---- country code picker ---- */
.bd-cc {
  position: relative;
}

.bd-cc-native {
  width: 128px;
}

.bd-cc.is-ready .bd-cc-native {
  display: none;
}

.bd-cc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 12px 0 14px;
  border: 1px solid #d5e1db;
  border-radius: 12px;
  color: var(--lp-ink);
  background: #fbfdfc;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.bd-cc-trigger:hover {
  border-color: #b6d2c4;
}

.bd-cc-trigger:focus-visible,
.bd-cc.is-open .bd-cc-trigger {
  outline: none;
  border-color: var(--lp-green-bright);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 171, 119, .14);
}

.has-error .bd-cc-trigger {
  border-color: #e3a196;
  background: #fffaf9;
}

.bd-cc-flag {
  display: inline-flex;
}

.bd-flag {
  display: block;
  width: 22px;
  height: 16px;
  flex: none;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(7, 28, 20, .12);
}

.bd-cc-trigger svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--lp-muted);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s;
}

.bd-cc.is-open .bd-cc-trigger svg {
  transform: rotate(180deg);
}

.bd-cc-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: 320px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(7, 42, 29, .2);
  animation: bd-cc-in .18s ease;
}

@keyframes bd-cc-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.bd-cc-search {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid #edf3f0;
}

.bd-cc-search svg {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #91a49b;
  stroke-width: 2.2;
  stroke-linecap: round;
  transform: translateY(-50%);
}

.bd-cc-search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 36px;
  border: 1px solid #dfe9e4;
  border-radius: 10px;
  outline: none;
  color: var(--lp-ink);
  background: #f7faf8;
  font-size: 13.5px;
}

.bd-cc-search input:focus {
  border-color: var(--lp-green-bright);
  background: #fff;
}

.bd-cc-list {
  max-height: 290px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  overscroll-behavior: contain;
}

.bd-cc-group {
  padding: 8px 10px 6px;
  color: #8a6a1d;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bd-cc-list [role="option"] {
  display: grid;
  grid-template-columns: 22px 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #3c5148;
  font-size: 13.5px;
  cursor: pointer;
}

.bd-cc-list [role="option"] b {
  color: var(--lp-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bd-cc-list [role="option"] span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bd-cc-list [role="option"].is-active {
  background: #f0f7f3;
}

.bd-cc-list [role="option"][aria-selected="true"] {
  color: var(--lp-green);
  background: #e6f5ee;
  box-shadow: inset 3px 0 0 var(--lp-green);
}

.bd-cc-list [role="option"][aria-selected="true"] b {
  color: var(--lp-green);
}

.bd-cc-list [hidden],
.bd-cc-empty[hidden] {
  display: none !important;
}

.bd-cc-empty {
  margin: 0;
  padding: 18px;
  color: var(--lp-muted);
  font-size: 13px;
  text-align: center;
}

.bd-phone select {
  padding-right: 30px;
  cursor: pointer;
  appearance: none;
  background: #fbfdfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2361796f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 14px no-repeat;
  text-overflow: ellipsis;
}

.bd-field-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.bd-count {
  margin-left: auto;
  color: #91a49b;
  font-size: 11.5px;
}

.bd-count b {
  font-weight: 600;
}

/* captcha */
.bd-captcha {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px dashed #c9dcd2;
  border-radius: 14px;
  background: linear-gradient(135deg, #f6fbf8, #eef7f2);
}

.bd-captcha-q {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 16px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #0b3a29, #07865c);
  box-shadow: 0 8px 18px rgba(7, 134, 92, .22);
}

.bd-captcha-q small {
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bd-captcha-q b {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bd-captcha-refresh {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d5e1db;
  border-radius: 11px;
  color: var(--lp-green);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, transform .3s;
}

.bd-captcha-refresh:hover {
  border-color: var(--lp-green-bright);
}

.bd-captcha-refresh.is-spinning {
  transform: rotate(360deg);
}

.bd-captcha-refresh svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bd-captcha input {
  flex: 1;
  height: 46px !important;
  font-size: 15px !important;
  font-weight: 600;
}

/* honeypot: off-screen for people, visible to naive bots */
.bd-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bd-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  color: var(--lp-deep);
  background: linear-gradient(135deg, #f0d48c, var(--lp-gold));
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(169, 131, 39, .28);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}

.bd-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(169, 131, 39, .34);
}

.bd-submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s;
}

.bd-submit:hover svg {
  transform: translateX(3px);
}

.bd-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(6, 26, 19, .25);
  border-top-color: var(--lp-deep);
  border-radius: 50%;
  animation: bd-spin .7s linear infinite;
}

.bd-submit.is-loading {
  pointer-events: none;
  opacity: .85;
}

.bd-submit.is-loading svg {
  display: none;
}

.bd-submit.is-loading .bd-spinner {
  display: block;
}

@keyframes bd-spin {
  to {
    transform: rotate(360deg);
  }
}

.bd-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  color: #8a9d94;
  font-size: 12px;
  text-align: center;
}

.bd-note svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.bd-note a {
  color: var(--lp-green);
  font-weight: 600;
  text-decoration: none;
}

/* success */
.bd-success {
  padding: 40px 10px 30px;
  text-align: center;
  animation: bd-pop .45s cubic-bezier(.2, .9, .3, 1.2);
}

@keyframes bd-pop {
  from {
    opacity: 0;
    transform: scale(.96);
  }
}

.bd-success-icon {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e8a62, #064f39);
  box-shadow: 0 0 0 10px #e6f5ee, 0 18px 40px rgba(7, 134, 92, .3);
}

.bd-success-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bd-success h2 {
  margin: 26px 0 10px;
  color: var(--lp-ink);
  font-size: 1.7rem;
  font-weight: 700;
}

.bd-success p {
  max-width: 480px;
  margin: 0 auto;
  color: var(--lp-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.bd-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.bd-success-primary,
.bd-success-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.bd-success-primary {
  color: #fff;
  background: var(--lp-deep);
}

.bd-success-secondary {
  border: 1px solid var(--lp-line);
  color: var(--lp-ink);
  background: #f5faf7;
}

/* ---------- sidebar ---------- */
.bd-side {
  display: grid;
  gap: 16px;
}

.bd-side-card {
  display: block;
  padding: 22px 22px 20px;
  border: 1px solid var(--lp-line);
  border-radius: var(--bd-radius);
  color: inherit;
  background: #fff;
  box-shadow: 0 14px 36px rgba(8, 47, 33, .07);
  text-decoration: none;
}

.bd-side-card h3 {
  margin: 0 0 14px;
  color: var(--lp-ink);
  font-size: 1.05rem;
  font-weight: 650;
}

.bd-side-dark {
  border-color: rgba(255, 255, 255, .08);
  color: #fff;
  background:
    radial-gradient(320px 180px at 100% 0%, rgba(223, 189, 109, .2), transparent 70%),
    radial-gradient(320px 200px at 0% 100%, rgba(14, 171, 119, .25), transparent 70%),
    #0b2a1f;
  box-shadow: 0 24px 56px rgba(6, 26, 19, .25);
}

.bd-side-dark h3 {
  margin-top: 6px;
  color: #fff;
}

.bd-side-kicker {
  color: var(--lp-gold);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bd-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bd-list li {
  position: relative;
  padding-left: 30px;
  color: #a9bdb4;
  font-size: 12.5px;
  line-height: 1.55;
}

.bd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: rgba(223, 189, 109, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dfbd6d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.bd-list b {
  display: block;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}

.bd-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 -10px;
  padding: 13px 10px;
  border-radius: 12px;
  color: var(--lp-ink);
  text-decoration: none;
  transition: background .2s;
}

.bd-contact + .bd-contact {
  position: relative;
}

/* divider between rows, inset so it lines up with the text column */
.bd-contact + .bd-contact::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 1px;
  background: #edf3f0;
}

.bd-contact-address {
  align-items: flex-start;
}

.bd-contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e3f4ec;
  transition: background .2s;
}

.bd-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--lp-green);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .2s;
}

.bd-contact-text {
  flex: 1;
  min-width: 0;
  color: var(--lp-ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bd-contact-text small {
  display: block;
  margin-bottom: 2px;
  color: var(--lp-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bd-contact-address .bd-contact-text {
  line-height: 1.55;
}

.bd-contact-go {
  align-self: center;
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: var(--lp-green);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .2s, transform .2s;
}

a.bd-contact:hover {
  background: #f3f9f6;
}

a.bd-contact:hover + .bd-contact::before,
a.bd-contact:hover::before {
  opacity: 0;
}

a.bd-contact:hover .bd-contact-icon {
  background: var(--lp-green);
}

a.bd-contact:hover .bd-contact-icon svg {
  stroke: #fff;
}

a.bd-contact:hover .bd-contact-go {
  opacity: 1;
  transform: none;
}

a.bd-contact:focus-visible {
  outline: 2px solid var(--lp-green-bright);
  outline-offset: 2px;
}

.bd-tour {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.bd-tour:hover {
  border-color: #c9a347;
  box-shadow: 0 18px 40px rgba(8, 47, 33, .1);
  transform: translateY(-2px);
}

.bd-tour-play {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--lp-deep);
  background: var(--lp-gold);
  box-shadow: 0 0 0 6px rgba(223, 189, 109, .2);
}

.bd-tour-play svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  fill: currentColor;
}

.bd-tour b {
  display: block;
  color: var(--lp-ink);
  font-size: 14px;
}

.bd-tour small {
  color: var(--lp-muted);
  font-size: 12px;
}

.bd-tour-arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
  fill: none;
  stroke: var(--lp-green);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .bd-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .bd-hero {
    padding: 38px 0 112px;
  }

  .bd-hero-inner,
  .bd-shell {
    width: min(100% - 28px, 1180px);
  }

  .bd-row {
    grid-template-columns: 1fr;
  }

  .bd-captcha {
    flex-wrap: wrap;
  }

  .bd-captcha input {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bd-success,
  .bd-captcha-refresh,
  .bd-submit {
    animation: none;
    transition: none;
  }
}

.bd-side-card h3 + .bd-contact {
  margin-top: -6px;
}

/* contact card: gold kicker like the dark card above */
.bd-contact-card .bd-side-kicker {
  color: #8a6a1d;
}

.bd-contact-card h3 {
  margin-top: 6px;
}

/* sidebar ends level with the form; the contact card takes the extra height */
@media (min-width: 1041px) {
  .bd-shell {
    align-items: stretch;
  }

  .bd-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .bd-contact-card {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .bd-contact-card .bd-contact {
    flex: 1;
  }
}
