:root {
  --dk-navy: #0b2f64;
  --dk-blue: #1e5ba8;
  --dk-light-blue: #e8f1ff;
  --dk-text: #152238;
  --dk-muted: #65758b;
  --dk-border: #d9e4f2;
  --dk-bg: #f4f8ff;
  --dk-white: #ffffff;
  --dk-danger: #d62828;
  --dk-success: #1b8f55;
  --dk-shadow: 0 24px 70px rgba(12, 47, 100, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--dk-text);
  background:
    radial-gradient(circle at top left, rgba(30, 91, 168, 0.12), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #eef5ff 48%, #ffffff 100%);
}

.dk-consultation {
  padding: 80px 20px;
}

.dk-shell {
  max-width: 1220px;
  margin: 0 auto;
}

.dk-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 760px;
  background: var(--dk-white);
  border: 1px solid rgba(30, 91, 168, 0.12);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--dk-shadow);
}

.dk-visual {
  position: relative;
  overflow: hidden;
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11,47,100,0.96), rgba(30,91,168,0.94)),
    url('../img/consultation-placeholder.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}

.dk-visual::before,
.dk-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  z-index: -1;
}

.dk-visual::before {
  width: 330px;
  height: 330px;
  right: -120px;
  top: -95px;
}

.dk-visual::after {
  width: 240px;
  height: 240px;
  left: -90px;
  bottom: -90px;
}

.dk-badge {
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dk-image-placeholder {
  min-height: 390px;
  border-radius: 28px;
  border: 2px dashed rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  margin: 36px 0;
}

.dk-image-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 auto 18px;
}

.dk-image-placeholder strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.dk-image-placeholder span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.dk-visual-copy h2 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.7px;
  color: #fff;
}

.dk-visual-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.dk-trust-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.dk-trust-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.dk-trust-list span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--dk-navy);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.dk-form-panel {
  padding: 52px 54px;
  background: #fff;
}

.dk-form-heading {
  margin-bottom: 30px;
}

.dk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--dk-light-blue);
  color: var(--dk-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dk-form-heading h1 {
  margin: 17px 0 12px;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--dk-text);
}

.dk-form-heading p {
  margin: 0;
  color: var(--dk-muted);
  line-height: 1.75;
  font-size: 15.5px;
}

.dk-grid {
  display: grid;
  gap: 18px;
}

.dk-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.dk-field {
  margin-bottom: 18px;
}

.dk-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: #1f2e42;
}

.dk-field em,
.dk-consent em {
  color: var(--dk-danger);
  font-style: normal;
}

.dk-field input,
.dk-field select,
.dk-field textarea {
  width: 100%;
  border: 1px solid var(--dk-border);
  border-radius: 15px;
  padding: 15px 16px;
  font: inherit;
  font-size: 15px;
  color: #172033;
  background: #f9fbff;
  outline: none;
  transition: 0.22s ease;
}

.dk-field textarea {
  resize: vertical;
  min-height: 125px;
}

.dk-field input:focus,
.dk-field select:focus,
.dk-field textarea:focus {
  border-color: var(--dk-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 91, 168, 0.08);
}

.dk-field.is-invalid input,
.dk-field.is-invalid select,
.dk-field.is-invalid textarea,
.dk-consent-wrap.is-invalid {
  border-color: var(--dk-danger);
}

.dk-error {
  display: none;
  margin-top: 7px;
  color: var(--dk-danger);
  font-size: 12px;
  font-weight: 600;
}

.dk-field.is-invalid .dk-error,
.dk-consent-error.is-visible {
  display: block;
}

.dk-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 15px;
  border: 1px solid var(--dk-border);
  border-radius: 16px;
  background: #fbfdff;
  color: var(--dk-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.dk-consent input {
  margin-top: 3px;
  accent-color: var(--dk-blue);
}

.dk-actions {
  margin-top: 22px;
}

.dk-submit-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 17px 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--dk-blue), var(--dk-navy));
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(30, 91, 168, 0.30);
  transition: 0.25s ease;
}

.dk-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(30, 91, 168, 0.38);
}

.dk-submit-btn:active {
  transform: translateY(0);
}

.dk-actions p {
  margin: 12px 0 0;
  text-align: center;
  color: var(--dk-muted);
  font-size: 12.5px;
}

.dk-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  max-width: 360px;
  padding: 15px 18px;
  border-radius: 16px;
  color: #fff;
  background: var(--dk-success);
  box-shadow: 0 14px 35px rgba(0,0,0,.18);
  font-weight: 700;
  transform: translateY(25px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.dk-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1060px) {
  .dk-card {
    grid-template-columns: 1fr;
  }

  .dk-visual {
    min-height: auto;
  }

  .dk-image-placeholder {
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  .dk-consultation {
    padding: 44px 14px;
  }

  .dk-card {
    border-radius: 22px;
  }

  .dk-visual,
  .dk-form-panel {
    padding: 28px 20px;
  }

  .dk-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dk-form-heading h1 {
    font-size: 28px;
  }

  .dk-visual-copy h2 {
    font-size: 26px;
  }
}
