/* Premium appointment page */

.apt-page {
  --apt-blue: #075ca8;
  --apt-blue-dark: #06355f;
  --apt-blue-soft: #e8f3fb;
  --apt-ink: #102033;
  --apt-muted: #5c7084;
  --apt-line: rgba(12, 83, 142, 0.14);
  --apt-radius: 18px;
  background:
    linear-gradient(180deg, rgba(232, 243, 251, 0.82) 0%, rgba(255, 255, 255, 0.96) 48%, #f7fafc 100%);
  color: var(--apt-ink);
}

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

.apt-hero {
  padding: 42px 0 34px;
}

.apt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.08fr);
  gap: 34px;
  align-items: start;
}

.apt-copy {
  position: sticky;
  top: 112px;
  padding: 22px 0 0;
}

.apt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--apt-blue-dark);
  background: rgba(7, 92, 168, 0.08);
  border: 1px solid rgba(7, 92, 168, 0.12);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apt-kicker svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.apt-copy h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
  margin: 22px 0 18px;
  color: #0d2035;
}

.apt-lead {
  color: var(--apt-muted);
  font-size: 18px;
  line-height: 1.72;
  max-width: 570px;
  margin: 0 0 24px;
}

.apt-call-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  max-width: 570px;
  background: #fff;
  border: 1px solid var(--apt-line);
  border-radius: var(--apt-radius);
  box-shadow: 0 16px 38px rgba(9, 66, 116, 0.08);
}

.apt-call-panel span {
  display: block;
  color: var(--apt-muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.apt-call-panel a {
  color: var(--apt-blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.apt-mini-link {
  white-space: nowrap;
  border-radius: 999px;
  background: var(--apt-blue-soft);
  padding: 10px 14px;
}

.apt-proof-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  max-width: 570px;
}

.apt-proof-grid div {
  padding: 16px 17px;
  border: 1px solid rgba(7, 92, 168, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.apt-proof-grid strong,
.apt-proof-grid span {
  display: block;
}

.apt-proof-grid strong {
  font-size: 14px;
  color: var(--apt-blue-dark);
  margin-bottom: 5px;
}

.apt-proof-grid span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--apt-muted);
}

.apt-form-shell {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(7, 92, 168, 0.16);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(8, 54, 94, 0.16), 0 5px 18px rgba(13, 32, 53, 0.06);
}

.apt-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #06355f 0%, #075ca8 58%, #0b74c9 100%);
  color: #fff;
}

.apt-form-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 6px;
}

.apt-form-head h2 {
  font-family: "Sora", sans-serif;
  font-size: 26px;
  line-height: 1.1;
  margin: 0;
}

.apt-form-lock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.apt-form-lock svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.apt-privacy-strip {
  padding: 13px 28px;
  background: #f0f7fc;
  color: #34536e;
  border-bottom: 1px solid var(--apt-line);
  font-size: 13px;
  line-height: 1.5;
}

.apt-form-body {
  padding: 24px 28px 28px;
}

.apt-section-label {
  margin: 18px 0 12px;
  color: var(--apt-blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.apt-section-label:first-of-type {
  margin-top: 0;
}

.apt-row {
  display: grid;
  gap: 14px;
}

.apt-row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apt-field {
  margin-bottom: 14px;
}

.apt-label {
  display: block;
  margin: 0 0 7px;
  color: #253b51;
  font-size: 13px;
  font-weight: 800;
}

.req {
  color: #d92d20;
}

.apt-input,
.apt-select,
.apt-textarea {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1.5px solid rgba(16, 32, 51, 0.12);
  border-radius: 13px;
  background: #fbfdff;
  color: var(--apt-ink);
  font: 500 15px/1.45 "Inter", sans-serif;
  padding: 13px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.apt-textarea {
  min-height: 92px;
  resize: vertical;
}

.apt-input:focus,
.apt-select:focus,
.apt-textarea:focus {
  outline: none;
  border-color: #0b74c9;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 116, 201, 0.15);
}

.apt-field-help {
  margin-top: 7px;
  color: var(--apt-muted);
  font-size: 12px;
  line-height: 1.45;
}

.apt-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.apt-checks {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 15px;
  border: 1px solid rgba(7, 92, 168, 0.13);
  border-radius: 16px;
  background: #f8fbfe;
}

.apt-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #40556a;
  font-size: 12.5px;
  line-height: 1.5;
}

.apt-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--apt-blue);
}

.apt-submit-wrap {
  margin-top: 18px;
}

.apt-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #075ca8 0%, #06355f 100%);
  box-shadow: 0 16px 30px rgba(7, 92, 168, 0.28);
  cursor: pointer;
  font: 800 16px/1 "Sora", sans-serif;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.apt-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(7, 92, 168, 0.34);
}

.apt-submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.apt-note {
  margin: 12px 0 0;
  color: var(--apt-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.apt-status {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.apt-status ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.apt-status--err {
  color: #8a1f11;
  background: #fff4f2;
  border: 1px solid #ffd0c8;
}

.apt-success-panel {
  text-align: center;
  padding: 58px 32px;
}

.apt-success-panel svg {
  width: 60px;
  height: 60px;
  color: #059669;
  margin-bottom: 18px;
}

.apt-success-panel h2 {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
  font-size: 28px;
}

.apt-success-panel p {
  max-width: 460px;
  margin: 0 auto 24px;
  color: var(--apt-muted);
  line-height: 1.65;
}

.apt-success-panel .btn-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.apt-support {
  padding: 18px 0 70px;
}

.apt-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.apt-support-card {
  padding: 22px;
  border: 1px solid var(--apt-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 66, 116, 0.06);
}

.apt-support-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--apt-blue-soft);
  color: var(--apt-blue-dark);
  font-weight: 900;
  margin-bottom: 14px;
}

.apt-support-card h2 {
  margin: 0 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 18px;
}

.apt-support-card p {
  margin: 0;
  color: var(--apt-muted);
  line-height: 1.6;
  font-size: 14px;
}

@media (max-width: 1040px) {
  .apt-hero-grid {
    grid-template-columns: 1fr;
  }

  .apt-copy {
    position: static;
    padding-top: 0;
  }

  .apt-copy h1,
  .apt-lead {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .apt-shell {
    width: min(100% - 28px, 1180px);
  }

  .apt-hero {
    padding-top: 28px;
  }

  .apt-copy h1 {
    font-size: 34px;
  }

  .apt-call-panel,
  .apt-form-head {
    display: grid;
  }

  .apt-proof-grid {
    display: none;
  }

  .apt-row-2,
  .apt-support-grid {
    grid-template-columns: 1fr;
  }

  .apt-form-body,
  .apt-form-head,
  .apt-privacy-strip {
    padding-left: 18px;
    padding-right: 18px;
  }
}
