.ales-cdp {
  --ales-orange: #ef6c01;
  --ales-ink: #17191c;
  --ales-muted: #5d6875;
  --ales-line: #d9dee5;
  --ales-soft: #f5f7fa;
  --ales-green: #16866a;
  color: var(--ales-ink);
  background: #ffffff;
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.45;
}

.ales-cdp *,
.ales-cdp *::before,
.ales-cdp *::after {
  box-sizing: border-box;
}

.ales-cdp a {
  color: inherit;
  text-decoration: none;
}

.ales-cdp svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ales-cdp__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 30px;
}

.ales-cdp__intro {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 5px solid var(--ales-orange);
  padding: 34px 28px;
  background: var(--ales-soft);
}

.ales-cdp__eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--ales-orange);
  background: #fff4ea;
  border: 1px solid #ffd8b8;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ales-cdp h1,
.ales-cdp h2,
.ales-cdp p {
  margin: 0;
}

.ales-cdp h1 {
  max-width: 820px;
  margin-top: 18px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.ales-cdp__intro p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--ales-muted);
  font-size: 17px;
}

.ales-cdp__promise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ales-cdp__promise span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
  color: #114437;
  background: #eaf7f3;
  border: 1px solid #c3e8dc;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.ales-cdp__contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  background: var(--ales-ink);
  color: #ffffff;
  border-radius: 8px;
}

.ales-cdp__contact strong {
  font-size: 18px;
}

.ales-cdp__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  font-size: 14px;
}

.ales-cdp__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 70px;
}

.ales-cdp__form,
.ales-cdp__side,
.ales-cdp__map-card {
  border: 1px solid var(--ales-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(23, 25, 28, .08);
}

.ales-cdp__form {
  padding: 28px;
}

.ales-cdp__form-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.ales-cdp__form-head:not(:first-of-type) {
  margin-top: 30px;
}

.ales-cdp__notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.ales-cdp__notice--success {
  color: #0d493b;
  background: #eaf7f3;
  border: 1px solid #c3e8dc;
}

.ales-cdp__notice--error {
  color: #8a2b10;
  background: #fff4ea;
  border: 1px solid #ffd8b8;
}

.ales-cdp__form-head > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--ales-orange);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.ales-cdp__form-head h2,
.ales-cdp__side h2 {
  font-size: 22px;
  line-height: 1.2;
}

.ales-cdp__form-head p {
  margin-top: 4px;
  color: var(--ales-muted);
  font-size: 14px;
}

.ales-cdp__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ales-cdp__grid--top {
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, .7fr);
}

.ales-cdp__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.ales-cdp__field--wide {
  grid-column: 1 / -1;
}

.ales-cdp__field span,
.ales-cdp__segments legend {
  color: #2d333a;
  font-size: 13px;
  font-weight: 800;
}

.ales-cdp__field input,
.ales-cdp__field select,
.ales-cdp__field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ales-ink);
  background: var(--ales-soft);
  border: 1px solid #cfd6df;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.ales-cdp__field textarea {
  min-height: 132px;
  resize: vertical;
}

.ales-cdp__field input:focus,
.ales-cdp__field select:focus,
.ales-cdp__field textarea:focus {
  background: #ffffff;
  border-color: var(--ales-orange);
  box-shadow: 0 0 0 3px rgba(239, 108, 1, .14);
}

.ales-cdp__hint {
  margin: 12px 0 18px;
  padding: 11px 13px;
  color: #3d4a58;
  background: #f2f6fb;
  border-left: 4px solid #6a879f;
  border-radius: 4px;
  font-size: 14px;
}

.ales-cdp__segments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ales-cdp__segments legend {
  width: 100%;
  margin-bottom: 2px;
}

.ales-cdp__segments label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid var(--ales-line);
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.ales-cdp__segments input {
  accent-color: var(--ales-orange);
}

.ales-cdp__captcha {
  margin-top: 16px;
  padding: 14px;
  background: #fbfcfd;
  border: 1px solid var(--ales-line);
  border-radius: 6px;
}

.ales-cdp__captcha .ales-cdp__field {
  max-width: 320px;
}

.ales-cdp__captcha input {
  background: #ffffff;
}

.ales-cdp__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.ales-cdp__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  color: #ffffff;
  background: var(--ales-orange);
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.ales-cdp__actions p {
  flex: 1 1 260px;
  color: var(--ales-muted);
  font-size: 13px;
}

.ales-cdp__status:empty {
  display: none;
}

.ales-cdp__actions p.is-ready {
  color: var(--ales-green);
  font-weight: 700;
}

.ales-cdp__actions p.is-error {
  color: #8a2b10;
  font-weight: 700;
}

.ales-cdp__rail {
  display: grid;
  align-self: start;
  gap: 18px;
}

.ales-cdp__side {
  align-self: start;
  padding: 26px;
  background: #fbfcfd;
}

.ales-cdp__side ol {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: quoteStep;
}

.ales-cdp__side li {
  position: relative;
  padding: 0 0 14px 38px;
  border-bottom: 1px solid var(--ales-line);
  counter-increment: quoteStep;
}

.ales-cdp__side li::before {
  content: counter(quoteStep);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #ffffff;
  background: #2d333a;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.ales-cdp__side li strong,
.ales-cdp__side li span {
  display: block;
}

.ales-cdp__side li strong {
  font-size: 14px;
}

.ales-cdp__side li span {
  margin-top: 3px;
  color: var(--ales-muted);
  font-size: 13px;
}

.ales-cdp__wa {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--ales-line);
}

.ales-cdp__wa a {
  display: block;
  min-height: 40px;
  padding: 10px 12px;
  color: #0d493b;
  background: #eaf7f3;
  border: 1px solid #c3e8dc;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.ales-cdp__map-card {
  min-height: 451px;
  padding: 18px;
  background: #ffffff;
}

.ales-cdp__map-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.ales-cdp__map-head span {
  color: var(--ales-orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ales-cdp__map-head strong {
  font-size: 18px;
}

.ales-cdp__map-frame {
  height: 310px;
  overflow: hidden;
  background: var(--ales-soft);
  border: 1px solid var(--ales-line);
  border-radius: 6px;
}

.ales-cdp__map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.ales-cdp__map-card p {
  margin: 13px 0 12px;
  color: var(--ales-muted);
  font-size: 13px;
}

.ales-cdp__map-card > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  color: #ffffff;
  background: var(--ales-ink);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .ales-cdp__hero,
  .ales-cdp__body {
    grid-template-columns: 1fr;
  }

  .ales-cdp__contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .ales-cdp__contact strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .ales-cdp__hero {
    padding: 28px 16px 20px;
  }

  .ales-cdp__body {
    padding: 0 16px 96px;
  }

  .ales-cdp__intro {
    min-height: 0;
    padding: 26px 18px;
    background: var(--ales-soft);
  }

  .ales-cdp h1 {
    font-size: 32px;
  }

  .ales-cdp__intro p {
    font-size: 15px;
  }

  .ales-cdp__contact,
  .ales-cdp__grid,
  .ales-cdp__grid--top {
    grid-template-columns: 1fr;
  }

  .ales-cdp__form,
  .ales-cdp__side,
  .ales-cdp__contact,
  .ales-cdp__map-card {
    padding: 20px;
  }

  .ales-cdp__map-card {
    min-height: 0;
  }

  .ales-cdp__map-frame {
    height: 260px;
  }

  .ales-cdp__actions button {
    width: 100%;
  }
}
