.pd-consult {
  --pd-orange: var(--pd-gold, #d0a05a);
  --pd-orange-soft: var(--pd-soft-gold, #f7f1e9);
  --pd-bg: var(--pd-light, #f8f9fb);
}

.pd-consult *, .pd-consult *::before, .pd-consult *::after { box-sizing: border-box; }
.pd-consult { color: var(--pd-navy); font-family: inherit; max-width: 1220px; margin: 0 auto; padding: 0 18px 54px; }
.pd-consult button, .pd-consult input, .pd-consult select, .pd-consult textarea { font: inherit; }
.pd-consult h1, .pd-consult h2, .pd-consult h3, .pd-consult p { margin-top: 0; }
.pd-icon { width: 24px; height: 24px; flex: 0 0 auto; }

.pd-consult__hero { min-height: 410px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.25fr); align-items: center; gap: 25px; position: relative; overflow: hidden; padding: 24px 6px 26px; }
.pd-consult__hero-copy { position: relative; z-index: 2; max-width: 560px; }
.pd-consult__hero h1 { font-family: Manrope, sans-serif; font-size: 48px; font-weight: 700; line-height: 1.5; letter-spacing: normal; color: var(--pd-navy); margin-bottom: 25px; }
.pd-consult__lead { max-width: 560px; color: var(--pd-muted); font-size: 17px; line-height: 1.7; }
.pd-consult__promise { display: inline-flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--pd-line); border-radius: 6px; background: rgba(255,255,255,.9); box-shadow: 0 8px 25px rgba(5,35,78,.04); font-size: 14px; font-weight: 750; }
.pd-consult__promise .pd-icon { color: var(--pd-orange); }
.pd-consult__hero-image { position: absolute; z-index: 1; right: -30px; top: 0; bottom: 0; width: 67%; background-image: linear-gradient(90deg, #f8fafc 0%, rgba(248,250,252,.98) 13%, rgba(248,250,252,.54) 30%, rgba(248,250,252,0) 49%), linear-gradient(270deg, #f8fafc 0%, rgba(248,250,252,.9) 3%, rgba(248,250,252,.18) 8%, rgba(248,250,252,0) 12%), linear-gradient(180deg, #f8fafc 0%, rgba(248,250,252,.96) 8%, rgba(248,250,252,0) 24%, rgba(248,250,252,0) 74%, rgba(248,250,252,.84) 91%, #f8fafc 100%), var(--pd-hero); background-repeat: no-repeat; background-position: center, center, center, center right; background-size: 100% 100%, 100% 100%, 100% 100%, contain; }

.pd-consult__form { display: grid; gap: 20px; }
.pd-consult__honeypot { position: fixed !important; left: -10000px !important; opacity: 0 !important; pointer-events: none !important; }
.pd-consult__mode-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pd-mode-card { position: relative; min-height: 145px; width: 100%; display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 19px; text-align: left; color: var(--pd-navy); background: #fff; border: 1px solid var(--pd-line); border-radius: 6px; padding: 25px 30px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.pd-mode-card:hover { border-color: #9eb0c7; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(5,35,78,.06); }
.pd-mode-card.is-active { border: 2px solid var(--pd-gold); padding: 24px 29px; box-shadow: 0 12px 30px rgba(208,160,90,.10); }
.pd-mode-card.is-active:hover { border-color: var(--pd-gold); transform: none; box-shadow: 0 12px 30px rgba(208,160,90,.10); }
.pd-mode-card > .pd-icon { width: 62px; height: 62px; stroke-width: 1.35; }
.pd-mode-card strong { display: block; font-size: 20px; line-height: 1.25; margin-bottom: 9px; }
.pd-mode-card small { display: block; max-width: 390px; color: var(--pd-muted); font-size: 14px; line-height: 1.55; }
.pd-mode-card i { display: none; position: absolute; right: 13px; top: 13px; width: 22px; height: 22px; border: 2px solid var(--pd-gold); color: var(--pd-gold); border-radius: 50%; align-items: center; justify-content: center; font-size: 13px; font-style: normal; }
.pd-mode-card.is-active i { display: flex; }

.pd-consult__panel { background: #fff; border: 1px solid var(--pd-line); border-radius: 6px; padding: 28px 30px; box-shadow: 0 8px 28px rgba(5,35,78,.035); }
.pd-consult__panel h2 { font-size: 21px; margin-bottom: 22px; }
.pd-consult__grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 38px; row-gap: 19px; }
.pd-field { display: flex; flex-direction: column; gap: 8px; color: var(--pd-navy); font-size: 14px; font-weight: 750; }
.pd-field span em, .pd-privacy em { color: #e84231; font-style: normal; }
.pd-field input, .pd-field select, .pd-field textarea { width: 100%; border: 1px solid #cfd9e5; border-radius: 6px; background: #fff; color: var(--pd-navy); padding: 12px 14px; outline: 0; font-weight: 450; transition: border-color .18s ease, box-shadow .18s ease; }
.pd-field input, .pd-field select { min-height: 48px; }
.pd-field textarea { resize: vertical; min-height: 106px; }
.pd-field input:focus, .pd-field select:focus, .pd-field textarea:focus { border-color: var(--pd-navy-2); box-shadow: 0 0 0 3px rgba(11,58,115,.08); }

.pd-upload { margin-top: 25px; border: 1px dashed #bac9db; border-radius: 6px; overflow: hidden; transition: border-color .2s, background .2s; }
.pd-upload.is-dragging { border-color: var(--pd-orange); background: var(--pd-orange-soft); }
.pd-upload > label { display: block; cursor: pointer; }
.pd-upload > label > span:first-child { display: block; margin: 0 0 9px; font-size: 14px; font-weight: 750; transform: translateY(-30px); position: absolute; }
.pd-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pd-upload__drop { min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--pd-navy); padding: 18px; }
.pd-upload__drop .pd-icon { width: 35px; height: 35px; margin-bottom: 5px; }
.pd-upload__drop strong { font-size: 14px; line-height: 1.5; }
.pd-upload__drop small { color: var(--pd-muted); margin-top: 6px; }
.pd-upload__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pd-line); }
.pd-upload__list:empty { display: none; }
.pd-upload__list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 16px; border-bottom: 1px solid var(--pd-line); font-size: 13px; }
.pd-upload__list li:last-child { border-bottom: 0; }
.pd-upload__list button { border: 0; background: none; color: var(--pd-navy); font-size: 22px; line-height: 1; cursor: pointer; }

.pd-consult__secondary > div { animation: pdFade .2s ease; }
@keyframes pdFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.pd-calendar { display: grid; grid-template-columns: minmax(330px, .8fr) minmax(360px, 1.2fr); gap: 54px; align-items: stretch; }
.pd-calendar__month { border: 1px solid var(--pd-line); border-radius: 6px; padding: 18px; }
.pd-calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pd-calendar__head strong { font-size: 18px; }
.pd-calendar__head button { width: 35px; height: 35px; border: 0; background: transparent; color: var(--pd-navy); font-size: 29px; cursor: pointer; }
.pd-calendar__week, .pd-calendar__days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; gap: 4px; }
.pd-calendar__week { margin-bottom: 6px; color: var(--pd-muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.pd-calendar__days > span, .pd-calendar__days > button { aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--pd-navy); background: transparent; font-size: 13px; }
.pd-calendar__days > button:not(:disabled) { cursor: pointer; font-weight: 800; background: #edf3fa; }
.pd-calendar__days > button:not(:disabled):hover { background: #dce9f8; }
.pd-calendar__days > button.is-selected { color: #fff; background: var(--pd-navy) !important; }
.pd-calendar__days > button.is-today:not(.is-selected) { box-shadow: inset 0 0 0 1px var(--pd-orange); }
.pd-calendar__days > button.is-fully-booked:not(.is-selected) { color: #8490a0; background: #f1f3f5; text-decoration: line-through; }
.pd-calendar__days > button:disabled { opacity: .34; }
.pd-calendar__times { display: flex; flex-direction: column; }
.pd-calendar__times h3 { font-size: 15px; margin-bottom: 17px; }
.pd-calendar__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pd-calendar__slots > button { min-height: 43px; border: 1px solid var(--pd-line); border-radius: 6px; color: var(--pd-navy); background: #fff; font-weight: 750; cursor: pointer; transition: .15s ease; }
.pd-calendar__slots > button:hover { border-color: var(--pd-navy); }
.pd-calendar__slots > button.is-selected { color: #fff; background: var(--pd-navy); border-color: var(--pd-navy); }
.pd-calendar__slots > button.is-booked { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #8a94a2; background: #f1f3f5; border-color: #d8dde3; cursor: not-allowed; opacity: 1; }
.pd-calendar__slots > button.is-booked span { text-decoration: line-through; }
.pd-calendar__slots > button.is-booked small { font-size: 10px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.pd-calendar__slots > button.is-booked:hover { border-color: #d8dde3; }
.pd-calendar__loading, .pd-calendar__empty { grid-column: 1 / -1; color: var(--pd-muted); font-size: 14px; line-height: 1.55; }
.pd-calendar__note { display: flex; align-items: center; gap: 11px; margin: auto 0 0; padding: 11px 14px; background: var(--pd-bg); color: var(--pd-muted); border-radius: 6px; font-size: 12px; line-height: 1.45; }
.pd-consult__switch { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; padding: 14px 17px; border: 1px solid var(--pd-line); border-radius: 6px; color: var(--pd-muted); font-size: 14px; }
.pd-consult__switch button { border: 1px solid var(--pd-navy); border-radius: 6px; color: var(--pd-navy); background: #fff; padding: 9px 15px; font-weight: 750; cursor: pointer; }

.pd-contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pd-contact-options input { position: absolute; opacity: 0; }
.pd-contact-options span { min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--pd-line); border-radius: 6px; cursor: pointer; font-weight: 650; }
.pd-contact-options input:checked + span { border: 2px solid var(--pd-orange); background: var(--pd-orange-soft); }
.pd-contact-options .pd-icon { width: 22px; height: 22px; }
.pd-privacy { display: flex; align-items: flex-start; gap: 11px; margin: 22px 0 15px; color: #435873; font-size: 13px; line-height: 1.5; }
.pd-privacy input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--pd-navy); }
.pd-privacy a { color: var(--pd-navy); text-decoration: underline; }
.pd-consult__submit { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 6px; color: #fff; background: linear-gradient(90deg, #0f223e, #173f6d); font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 8px 20px rgba(15,34,62,.15); }
.pd-consult__submit:hover { filter: brightness(1.08); }
.pd-consult__submit:disabled { opacity: .65; cursor: wait; }
.pd-consult__status { display: none; margin-top: 13px; padding: 12px 14px; border-radius: 6px; font-size: 14px; }
.pd-consult__status:not(:empty) { display: block; }
.pd-consult__status.is-error { color: #8d251d; background: #fff0ee; border: 1px solid #f2c0bb; }
.pd-consult__status.is-success { color: #146733; background: #edfbf2; border: 1px solid #b5e2c4; font-weight: 750; }
.pd-consult__status.is-info { color: #204a76; background: #edf5fd; border: 1px solid #b9d4ee; }

.pd-next { padding-top: 30px; text-align: center; }
.pd-next > h2 { font-size: 23px; }
.pd-next__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pd-next article { min-height: 190px; position: relative; padding: 54px 24px 24px; border: 1px solid var(--pd-line); border-radius: 6px; background: #fff; }
.pd-next article > b { position: absolute; top: 17px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; padding: 0; color: #d0a05a; background: transparent; font-size: 16px; font-weight: 700; line-height: 1; }
.pd-next article > .pd-icon { width: 44px; height: 44px; margin-bottom: 9px; }
.pd-next h3 { font-size: 15px; margin-bottom: 7px; }
.pd-next p { color: var(--pd-muted); font-size: 12px; line-height: 1.5; margin-bottom: 0; }

.pd-warning { width: min(510px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 6px; color: var(--pd-navy); box-shadow: 0 24px 70px rgba(4,27,62,.25); }
.pd-warning::backdrop { background: rgba(5,27,59,.56); }
.pd-warning form { padding: 29px; }
.pd-warning h2 { font-size: 21px; }
.pd-warning p { color: var(--pd-muted); line-height: 1.6; }
.pd-warning form > div { display: flex; justify-content: flex-end; gap: 10px; }
.pd-warning button { padding: 10px 14px; border: 1px solid var(--pd-line); border-radius: 6px; background: #fff; color: var(--pd-navy); cursor: pointer; font-weight: 700; }
.pd-warning button.is-primary { border-color: var(--pd-navy); background: var(--pd-navy); color: #fff; }

@media (max-width: 900px) {
  .pd-consult__hero { grid-template-columns: 1fr; padding-top: 24px; min-height: 660px; align-items: start; }
  .pd-consult__hero-image { top: 270px; right: -20px; width: 105%; height: 390px; background-image: linear-gradient(180deg, #f8fafc 0%, rgba(248,250,252,.96) 9%, rgba(248,250,252,0) 27%, rgba(248,250,252,0) 78%, #f8fafc 100%), linear-gradient(90deg, #f8fafc 0%, rgba(248,250,252,0) 16%, rgba(248,250,252,0) 84%, #f8fafc 100%), var(--pd-hero); background-position: center, center, center bottom; background-size: 100% 100%, 100% 100%, contain; }
  .pd-consult__mode-cards, .pd-calendar { grid-template-columns: 1fr; }
  .pd-calendar { gap: 25px; }
  .pd-calendar__note { margin-top: 18px; }
}

@media (max-width: 650px) {
  .pd-consult { padding-inline: 12px; }
  .pd-consult__hero { min-height: 600px; }
  .pd-consult__hero h1 { font-size: 48px; }
  .pd-consult__hero-image { top: 330px; height: 280px; }
  .pd-consult__lead { font-size: 15px; }
  .pd-consult__promise { align-items: flex-start; font-size: 12px; }
  .pd-consult__mode-cards, .pd-consult__grid, .pd-contact-options, .pd-next__grid { grid-template-columns: 1fr; }
  .pd-mode-card { min-height: 120px; grid-template-columns: 52px 1fr; padding: 19px; }
  .pd-mode-card.is-active { padding: 18px; }
  .pd-mode-card > .pd-icon { width: 45px; height: 45px; }
  .pd-mode-card strong { font-size: 17px; }
  .pd-consult__panel { padding: 22px 17px; }
  .pd-calendar__slots { grid-template-columns: repeat(2, 1fr); }
  .pd-consult__switch { flex-direction: column; align-items: stretch; text-align: center; }
  .pd-next__grid { gap: 35px; }
  .pd-warning form > div { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .pd-consult *, .pd-consult *::before, .pd-consult *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
