.ag24cbf-shell,
.ag24cbf-shell * {
  box-sizing: border-box;
}

.ag24cbf-shell {
  --ag24cbf-blue: #003554;
  --ag24cbf-blue-dark: #00263d;
  --ag24cbf-orange: #f5a000;
  --ag24cbf-orange-hover: #df9200;
  --ag24cbf-text: #17212b;
  --ag24cbf-muted: #657482;
  --ag24cbf-border: #dce5eb;
  width: 100%;
  padding: clamp(25px, 4vw, 55px);
  color: var(--ag24cbf-text);
  background: #f3f7f9;
  border-radius: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.ag24cbf-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  width: min(100%, 1120px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 53, 84, .09);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 53, 84, .12);
}

.ag24cbf-copy {
  padding: clamp(36px, 5vw, 66px);
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(245,160,0,.22), transparent 35%),
    var(--ag24cbf-blue);
}

.ag24cbf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ag24cbf-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--ag24cbf-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(245,160,0,.16);
}

.ag24cbf-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 800;
}

.ag24cbf-copy > p {
  margin: 24px 0 30px;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.6;
}

.ag24cbf-trust {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.ag24cbf-trust__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  color: var(--ag24cbf-blue-dark);
  background: var(--ag24cbf-orange);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.ag24cbf-form {
  position: relative;
  padding: clamp(36px, 5vw, 66px);
  background: #fff;
}

.ag24cbf-field + .ag24cbf-field {
  margin-top: 24px;
}

.ag24cbf-field label {
  display: block;
  margin: 0 0 9px;
  color: var(--ag24cbf-blue-dark);
  font-size: 15px;
  font-weight: 800;
}

.ag24cbf-field label span {
  color: var(--ag24cbf-orange-hover);
}

.ag24cbf-field input[type="text"],
.ag24cbf-field input[type="tel"] {
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 14px 16px;
  color: var(--ag24cbf-text);
  background: #f8fafb;
  border: 1.5px solid var(--ag24cbf-border);
  border-radius: 9px;
  outline: none;
  box-shadow: none;
  font: inherit;
  font-size: 17px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.ag24cbf-field input::placeholder {
  color: #97a7b4;
  opacity: 1;
}

.ag24cbf-field input:focus {
  background: #fff;
  border-color: var(--ag24cbf-blue);
  box-shadow: 0 0 0 4px rgba(0,53,84,.1);
}

.ag24cbf-phone-wrap {
  position: relative;
}

.ag24cbf-phone-wrap input[type="tel"] {
  padding-left: 50px;
}

.ag24cbf-phone-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 2;
  width: 20px;
  height: 20px;
  color: var(--ag24cbf-blue);
  transform: translateY(-50%);
  pointer-events: none;
}

.ag24cbf-phone-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.ag24cbf-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  margin-top: 24px;
  color: var(--ag24cbf-muted);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.ag24cbf-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--ag24cbf-blue);
}

.ag24cbf-consent a {
  color: var(--ag24cbf-blue) !important;
  text-decoration: underline;
}

.ag24cbf-submit {
  display: inline-flex;
  width: 100%;
  min-height: 58px;
  margin-top: 26px;
  padding: 15px 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ag24cbf-blue-dark);
  background: var(--ag24cbf-orange);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 12px 25px rgba(245,160,0,.25);
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.ag24cbf-submit:hover {
  background: var(--ag24cbf-orange-hover);
  box-shadow: 0 15px 30px rgba(245,160,0,.34);
  transform: translateY(-2px);
}

.ag24cbf-submit:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.ag24cbf-submit__arrow {
  font-size: 22px;
  line-height: 1;
}

.ag24cbf-status {
  display: none;
  margin: 18px 0 0;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.ag24cbf-status.is-visible {
  display: block;
}

.ag24cbf-status.is-success {
  color: #165d32;
  background: #e9f7ef;
  border: 1px solid #bfe4cd;
}

.ag24cbf-status.is-error {
  color: #8a2630;
  background: #fff0f1;
  border: 1px solid #efc2c6;
}

.ag24cbf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 800px) {
  .ag24cbf-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ag24cbf-shell {
    padding: 14px;
    border-radius: 12px;
  }

  .ag24cbf-copy,
  .ag24cbf-form {
    padding: 32px 23px;
  }

  .ag24cbf-copy h2 {
    font-size: 34px;
  }
}
