/* Shared reading layout for the consulting page and personal pages.
   Ivory throughout. The soft red band is only .page-lower, used on the buying page. */

* {
    box-sizing: border-box;
}

html {
    background-color: var(--cc-ivory);
    font-size: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    background: var(--cc-ivory);
    color: #222222;
    font-family: var(--cc-font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.buy-nav {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    min-height: 80px;
    margin: 0;
    padding: 12px calc(40px + env(safe-area-inset-right, 0px)) 12px 24px;
    gap: 2px;
}

.buy-nav a {
    font-family: var(--cc-font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #052a47;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

.buy-nav a:hover {
    background: rgba(13, 59, 102, 0.08);
}

.buy-nav a:focus-visible {
    outline: 2px solid #052a47;
    outline-offset: 2px;
}

.buy-nav .buy-mark {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 14px;
    line-height: 0;
}

.page-buying .buy-nav {
    justify-content: flex-start;
    padding-left: calc(40px + env(safe-area-inset-left, 0px));
}

.buy-nav .buy-nav__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: auto;
    padding: 8px 10px;
    line-height: 0;
}

.buy-nav .buy-nav__back svg {
    width: 20px;
    height: 20px;
    display: block;
}

.page-buying .buy-nav .buy-mark {
    margin-left: 0;
    padding: 0;
    gap: 8px;
    align-items: flex-end;
    border: 0;
    background: none;
    box-shadow: none;
}

.buy-mark__shape {
    display: block;
    width: 22px;
    height: 22px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.buy-mark__shape--circle {
    border-radius: 50%;
    background: rgba(245, 183, 0, 0.84);
}

.buy-mark__shape--square {
    border-radius: 2px;
    background: rgba(37, 99, 235, 0.82);
}

.buy-mark__shape--tri {
    width: 24px;
    height: 21px;
    border: 0;
    background: rgba(239, 68, 68, 0.84);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.page-buying .buy-nav a:first-of-type {
    margin-left: auto;
}

.buy-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.buy-lang__btn {
    font-family: var(--cc-font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #052a47;
    background: transparent;
    border: 0;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.buy-lang__btn:hover {
    background: rgba(13, 59, 102, 0.08);
}

.buy-lang__btn:focus-visible {
    outline: 2px solid #052a47;
    outline-offset: 2px;
}

.buy-lang__menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    padding: 4px;
    border: 1px solid rgba(13, 59, 102, 0.16);
    border-radius: 8px;
    background: #faf8f4;
    box-shadow: 0 8px 24px rgba(5, 42, 71, 0.12);
}

.buy-lang__menu[hidden] {
    display: none !important;
}

.buy-nav a.buy-lang__option {
    display: block;
    font-family: var(--cc-font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #052a47;
    background: transparent;
    border: 0;
    padding: 7px 12px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.buy-lang__option {
    font-family: var(--cc-font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #052a47;
    background: transparent;
    border: 0;
    padding: 7px 12px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.buy-lang__option:hover,
.buy-lang__option[aria-checked="true"] {
    background: rgba(13, 59, 102, 0.08);
}


.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 108px 24px 32px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.content > div {
    width: min(760px, 100%);
    min-width: 0;
}

.content h1 {
    margin: 0 0 0.85em;
    max-width: 22em;
    font-family: var(--cc-font-sans);
    font-size: clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.011em;
    color: #222222;
}

.page-buying .content {
    padding-top: clamp(156px, 21vh, 232px);
}

.page-buying .content h1 {
    margin: 0 0 0.55em;
    max-width: 19ch;
    font-size: clamp(2.15rem, 1.45rem + 2.4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #111111;
    background-image:
        radial-gradient(circle at 74% 35%, rgba(124, 58, 237, 0.78) 0%, rgba(236, 72, 153, 0.62) 28%, rgba(249, 115, 22, 0.5) 50%, transparent 72%),
        linear-gradient(108deg, #111111 0%, #111111 46%, #3b1d7a 68%, #9d174d 84%, #1e1b4b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-buying .content > div:first-child > p {
    max-width: min(65ch, 100%);
    margin-bottom: 2.25rem;
    font-size: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
    line-height: 1.6;
    letter-spacing: normal;
    color: #4a5568;
}

.content h2 {
    scroll-margin-top: 96px;
    margin: 1.6em 0 0.45em;
    max-width: 40em;
    font-family: var(--cc-font-sans);
    font-size: clamp(1.125rem, 1.05rem + 0.2vw, 1.25rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.006em;
    color: #222222;
}

.content p,
.content li,
.content dd {
    margin: 0 0 1.15em;
    max-width: min(65ch, 100%);
    font-family: var(--cc-font-sans);
    font-size: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: left;
    color: #222222;
}

.content p:last-child {
    margin-bottom: 0;
}

.content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content a:hover {
    text-decoration: none;
}

.content ul:not(.look-list) {
    margin: 0 0 1.15em;
    padding-left: 1.2em;
    max-width: min(65ch, 100%);
}

.content ul:not(.look-list) li {
    margin: 0 0 8px;
}

.look-list {
    list-style: none;
    margin: 0 0 1.5em;
    padding: 0;
    max-width: min(65ch, 100%);
}

.look-list li {
    margin: 0 0 1.05em;
}

.look-list li:last-child {
    margin-bottom: 0;
}

.route {
    list-style: none;
    margin: 0.4em 0 0;
    padding: 0;
    max-width: min(65ch, 100%);
    counter-reset: none;
}

.content .route li {
    position: relative;
    margin: 0;
    padding: 0 0 1.85rem 2.7rem;
    max-width: none;
}

.content .route li:last-child {
    padding-bottom: 0;
}

.content .route li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: calc(0.8125rem - 1px);
    top: 1.7rem;
    bottom: 0;
    width: 2px;
    background: #0d3b66;
}

.route__stop {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 1.625rem;
    height: 1.625rem;
    border: 2px solid #0d3b66;
    border-radius: 50%;
    background: var(--cc-ivory);
    color: #0d3b66;
    font-family: var(--cc-font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content .route h2 {
    margin: 0 0 0.2em;
    max-width: none;
    min-height: 1.625rem;
    display: flex;
    align-items: center;
    font-size: clamp(1.05rem, 1rem + 0.15vw, 1.15rem);
    font-weight: 500;
    line-height: 1.3;
}

.content .route p {
    margin: 0;
}

.buy-gallery {
    position: relative;
    width: min(760px, 100%);
    margin: 2.25rem 0 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e7e2da;
}

.buy-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buy-gallery__nav {
    position: absolute;
    bottom: 12px;
    top: auto;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(1px) saturate(170%) contrast(1.08) url(#gallery-liquid-glass);
    -webkit-backdrop-filter: blur(1px) saturate(170%) contrast(1.08) url(#gallery-liquid-glass);
    color: #1a3348;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.buy-gallery__nav svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    stroke-width: 2.5;
}

.buy-gallery__nav--prev { left: 12px; }
.buy-gallery__nav--next { left: 72px; }

.buy-gallery__nav:hover,
.buy-gallery__nav:focus-visible {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    outline: none;
}

.look-list span {
    display: block;
    margin-bottom: 0.15em;
    font-family: var(--cc-font-sans);
    font-size: 1em;
    font-weight: 500;
    letter-spacing: -0.006em;
    line-height: 1.4;
    text-transform: none;
    color: #222222;
}

.content dt {
    display: block;
    margin-bottom: 0.15em;
    font-family: var(--cc-font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
    color: #0d3b66;
}

.content dl {
    margin: 0 0 1.15em;
    max-width: min(65ch, 100%);
}

.content dl div {
    margin: 0 0 20px;
}

.content dd {
    margin: 0;
}

.content > div:has(.contact-split) {
    width: min(960px, 100%);
}

.contact-split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.contact-split dl {
    flex: 1 1 16rem;
    min-width: 0;
    margin: 0;
    max-width: none;
}

.office-map {
    flex: 0 0 460px;
    width: 460px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 460 / 400;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #efe8dc;
    border: 1px solid rgba(13, 59, 102, 0.12);
}

@media (max-width: 900px) {
    .contact-split {
        flex-direction: column;
        align-items: stretch;
    }

    .office-map {
        flex: none;
        width: min(460px, 100%);
    }
}

/* Same soft red as xyz.html .page-lower. Only the buying page uses this band. */
.content > .page-lower {
    align-self: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 2.25rem;
    background: #fff0f0;
    padding: 36px 24px max(64px, env(safe-area-inset-bottom, 0px));
    box-shadow: 0 0 0 100vmax #fff0f0;
    clip-path: inset(0 -100vmax -100vh -100vmax);
}

.page-lower > div {
    width: min(760px, 100%);
    margin: 0 auto;
}

.page-lower > div > h2:first-child {
    margin-top: 0;
}

#a-conversation,
#consulting {
    scroll-margin-top: 96px;
}

.consult {
    margin-top: 2.4rem;
    padding-top: 0.2rem;
}

.consult[hidden] {
    display: none !important;
}

.consult-reveal-btn {
    margin-top: 0.5rem;
    border: 1px solid #0d3b66;
    background: transparent;
    color: #0d3b66;
    border-radius: 8px;
    padding: 10px 18px;
    font-family: var(--cc-font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.consult-reveal-btn:hover,
.consult-reveal-btn:focus-visible {
    background: #0d3b66;
    color: #faf8f4;
    outline: none;
}

.consult-reveal-btn[hidden] {
    display: none !important;
}

.consult__lead {
    margin-top: 0;
}

.consult__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 1.35rem;
}

.consult__label {
    font-family: var(--cc-font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
    color: #0d3b66;
}

.consult__optional,
.consult__hint {
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    color: #222222;
}

.consult__hint {
    margin: -0.4rem 0 1.2rem;
}

.consult__ends {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 1rem;
    color: #222222;
}

.consult__ends strong {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.consult-range {
    position: relative;
    display: block;
    width: 100%;
    height: 32px;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.consult-range__track,
.consult-range__fill {
    position: absolute;
    top: 14px;
    height: 4px;
    border-radius: 999px;
    pointer-events: none;
}

.consult-range__track {
    left: 0;
    right: 0;
    background: rgba(13, 59, 102, 0.22);
}

.consult-range__fill {
    background: #0d3b66;
}

.consult-range input[type="range"],
.consult-range input[type="range"]:focus,
.consult-range input[type="range"]:focus-visible {
    position: absolute;
    left: 0;
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    touch-action: none;
}

.consult-range input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.consult-range input[type="range"]::-moz-range-track {
    height: 4px;
    background: transparent;
}

.consult-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 22px;
    height: 22px;
    margin-top: -9px;
    border-radius: 50%;
    border: 2px solid #fff0f0;
    background: #0d3b66;
    cursor: grab;
}

.consult-range input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff0f0;
    background: #0d3b66;
    cursor: grab;
}

body:not(.page-buying) .consult-range input[type="range"]::-webkit-slider-thumb {
    border-color: var(--cc-ivory);
}

body:not(.page-buying) .consult-range input[type="range"]::-moz-range-thumb {
    border-color: var(--cc-ivory);
}

.consult__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.consult__pill {
    border: 1px solid #0d3b66;
    background: transparent;
    color: #0d3b66;
    border-radius: 999px;
    padding: 7px 13px;
    font-family: var(--cc-font-sans);
    font-size: 0.95rem;
    line-height: 1.3;
    cursor: pointer;
}

.consult__pill.is-selected {
    background: #0d3b66;
    color: #faf8f4;
}

.consult__contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.consult input:not([type="range"]),
.consult textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(13, 59, 102, 0.35);
    background: #faf8f4;
    color: #222222;
    border-radius: 8px;
    padding: 11px 12px;
    font-family: var(--cc-font-sans);
    font-size: 1rem;
    line-height: 1.4;
}

body:not(.page-buying) .consult input:not([type="range"]),
body:not(.page-buying) .consult textarea {
    background: #ffffff;
}

.consult textarea {
    min-height: 96px;
    resize: vertical;
}

.consult__error {
    margin: 0 0 12px;
    color: #8d1d1d;
}

.consult__send {
    border: 0;
    background: #0d3b66;
    color: #faf8f4;
    border-radius: 8px;
    padding: 11px 18px;
    font-family: var(--cc-font-sans);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.consult__send:disabled {
    opacity: 0.6;
    cursor: default;
}

.consult__thanks h2 {
    margin-top: 0;
}

.packages__lead {
    margin: 0 0 1.5rem;
    color: #222222;
}

.packages__free-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(13, 59, 102, 0.28);
    background: #faf8f4;
    color: #0d3b66;
    font-family: var(--cc-font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
}

.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.package-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #faf8f4;
    border: 1px solid rgba(13, 59, 102, 0.18);
    border-radius: 12px;
    padding: 22px 20px 20px;
}

.package-card__top h3 {
    margin: 0 0 0.35em;
    font-family: var(--cc-font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #111111;
}

.package-card__price {
    margin: 0 0 0.55rem;
    font-family: var(--cc-font-sans);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0d3b66;
}

.package-card__who {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #333333;
}

.package-card__list {
    margin: 0 0 1.15rem;
    padding: 0 0 0 1.15rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #222222;
}

.package-card__list li {
    margin: 0 0 0.55rem;
}

.package-card__list li:last-child {
    margin-bottom: 0;
}

.package-card__list strong {
    font-weight: 600;
}

.package-card__note {
    display: block;
    margin: 0 0 0.9rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0d3b66;
}

.content a.package-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    background: #0d3b66;
    color: #faf8f4;
    font-family: var(--cc-font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
}

.content a.package-card__cta:hover {
    background: #0a2e50;
    text-decoration: none;
}

.wizard-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(13, 59, 102, 0.14);
    border-radius: 14px;
    padding: 28px 28px 24px;
    box-shadow: 0 10px 30px rgba(5, 42, 71, 0.05);
}

.wizard-step[hidden] {
    display: none !important;
}

#consult-form {
    margin: 0;
}

#consult-pay[hidden] {
    display: none !important;
}

.content:has(#consult-pay:not([hidden])) > div {
    width: min(920px, 100%);
}

.wizard-card:has(#consult-pay:not([hidden])) {
    overflow: visible;
    padding: 24px 24px 20px;
}

.consult-pay__summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 28px;
    margin: 0 0 18px;
}

.consult-pay__name {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    color: #333333;
}

.consult-pay__amount {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #111111;
    white-space: nowrap;
}

.consult-pay__grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(380px, 1.3fr);
    gap: 8px 32px;
    align-items: start;
}

.consult-pay__grid.is-card-only {
    grid-template-columns: 1fr;
}

.consult-pay__wallets,
.consult-pay__card {
    min-width: 0;
}

.consult-pay__wallets[hidden] {
    display: none !important;
}

#consult-express,
#consult-payment-element {
    width: 100%;
}

.consult-pay__submit {
    width: 100%;
    margin-top: 14px;
}

@media (min-width: 721px) {
    .consult-pay__grid:not(.is-card-only) .consult-pay__card {
        padding-left: 28px;
        border-left: 1px solid rgba(13, 59, 102, 0.12);
    }
}

@media (max-width: 720px) {
    .consult-pay__summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .consult-pay__grid {
        grid-template-columns: 1fr;
    }
}

.wizard-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0d3b66;
}

.wizard-card h1,
.wizard-card h2 {
    margin: 0 0 0.75em;
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
    font-weight: 500;
    line-height: 1.3;
    color: #111111;
}

.wizard-choices {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 1.25rem;
}

.wizard-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    border: 1px solid rgba(13, 59, 102, 0.28);
    border-radius: 10px;
    background: #faf8f4;
    color: #111111;
    font-family: var(--cc-font-sans);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.wizard-choice:hover {
    border-color: #0d3b66;
    background: rgba(13, 59, 102, 0.05);
}

.wizard-choice.is-selected {
    border-color: #0d3b66;
    background: #0d3b66;
    color: #faf8f4;
}

.wizard-pkg {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    border: 1px solid rgba(13, 59, 102, 0.28);
    border-radius: 10px;
    background: #faf8f4;
    color: #111111;
    font-family: var(--cc-font-sans);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.wizard-pkg:hover {
    border-color: #0d3b66;
    background: rgba(13, 59, 102, 0.05);
}

.wizard-pkg.is-selected {
    border-color: #0d3b66;
    background: #0d3b66;
    color: #faf8f4;
}

.wizard-pkg__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.wizard-pkg__price {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.wizard-pkg__desc {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.45;
    opacity: 0.85;
}

/* Discreet 10% washes. Hairline borders stay on .package-card and .wizard-pkg.
   Titles and prices keep the existing ink / navy. Selected wizard choices
   keep the navy fill. */
.packages-grid .package-card:nth-child(1) {
    background: rgba(239, 68, 68, 0.1);
}

.packages-grid .package-card:nth-child(2) {
    background: rgba(27, 137, 255, 0.1);
}

.packages-grid .package-card:nth-child(3) {
    background: rgba(0, 168, 45, 0.1);
}

.packages-grid .package-card:nth-child(4) {
    background: rgba(120, 90, 60, 0.1);
}

.wizard-pkg[data-pkg="search"]:not(.is-selected) {
    background: rgba(239, 68, 68, 0.1);
}

.wizard-pkg[data-pkg="review"]:not(.is-selected) {
    background: rgba(27, 137, 255, 0.1);
}

.wizard-pkg[data-pkg="inspection"]:not(.is-selected) {
    background: rgba(0, 168, 45, 0.1);
}

.wizard-pkg[data-pkg="meeting"]:not(.is-selected) {
    background: rgba(120, 90, 60, 0.1);
}

.wizard-free-note {
    margin: -0.25rem 0 1rem;
    font-size: 0.92rem;
    color: #0d3b66;
    font-weight: 500;
}

.wizard-meeting-lead {
    margin: -0.2rem 0 1.15rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #222222;
}

.wizard-review {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0.15rem 0 0.25rem;
}

.wizard-review p {
    margin: 0;
    line-height: 1.45;
}

.wizard-step[data-step="review"] .wizard-actions .consult__send {
    margin-left: auto;
}

.consult input[type="date"] {
    max-width: 18rem;
    min-height: 46px;
    color-scheme: light;
}

.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 1.5rem;
}

.wizard-back {
    border: 1px solid rgba(13, 59, 102, 0.3);
    background: transparent;
    color: #0d3b66;
    border-radius: 8px;
    padding: 10px 16px;
    font-family: var(--cc-font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
}

.wizard-back:hover {
    background: rgba(13, 59, 102, 0.06);
}

.wizard-next {
    margin-left: auto;
    border: 0;
    background: #0d3b66;
    color: #faf8f4;
    border-radius: 8px;
    padding: 11px 20px;
    font-family: var(--cc-font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
}

.wizard-step[data-step="payment"] .wizard-actions {
    flex-wrap: wrap;
    row-gap: 10px;
}

.wizard-pay-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
    max-width: 100%;
}

.wizard-pay-later {
    border: 1px solid rgba(13, 59, 102, 0.3);
    background: transparent;
    color: #0d3b66;
    border-radius: 8px;
    padding: 10px 16px;
    font-family: var(--cc-font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
}

.wizard-pay-later:hover {
    background: rgba(13, 59, 102, 0.06);
}

.wizard-pay-later:disabled {
    opacity: 0.6;
    cursor: default;
}

@media (max-width: 560px) {
    .wizard-pay-actions {
        flex-basis: 100%;
        margin-left: 0;
    }

    .wizard-pay-actions > .wizard-pay-later,
    .wizard-pay-actions > .consult__send {
        flex: 1 1 11.5rem;
        text-align: center;
    }
}

.content:has(.wizard-step[data-step="location"]:not([hidden])) > div,
.content:has(.wizard-step[data-step="marker"]:not([hidden])) > div {
    width: min(920px, 100%);
}

.wizard-card:has(.wizard-step[data-step="location"]:not([hidden])),
.wizard-card:has(.wizard-step[data-step="marker"]:not([hidden])) {
    padding: 0;
}

.wizard-card:has(.wizard-step[data-step="location"]:not([hidden])) .wizard-meta,
.wizard-card:has(.wizard-step[data-step="marker"]:not([hidden])) .wizard-meta {
    position: absolute;
    top: 28px;
    left: 28px;
    margin: 0;
    z-index: 2;
}

.location-split {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 390px;
    gap: 28px;
    align-items: stretch;
}

.location-split__left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    padding: 62px 0 24px 28px;
}

.location-split__left .wizard-actions {
    margin-top: auto;
}

.location-split__left .consult__pills {
    flex-direction: column;
    align-items: flex-start;
}

.location-split__right {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.form-map-wrap {
    position: relative;
    width: 100%;
    height: 560px;
    border: 0;
    border-left: 1px solid rgba(13, 59, 102, 0.14);
    border-radius: 0;
    overflow: hidden;
    background: #e7e2da;
}

#form-mapbox {
    width: 100%;
    height: 100%;
}

#form-mapbox .mapboxgl-ctrl-logo,
#form-mapbox .mapboxgl-ctrl-attrib {
    display: none !important;
}

#form-mapbox.is-drawing,
#form-mapbox.is-drawing .mapboxgl-canvas {
    cursor: crosshair !important;
    user-select: none;
    -webkit-user-select: none;
}

/* Armed draw mode: dim the page so the eye goes to the map. The map stays clickable. */
body.is-draw-spotlight::before {
    content: "";
    position: fixed;
    z-index: 40;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

body.is-draw-spotlight .form-map-wrap {
    z-index: 41;
}

.form-map-draw-hint {
    display: none;
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: calc(100% - 48px);
    pointer-events: none;
    color: #0d3b66;
    font-family: var(--cc-font-sans);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 0 10px #faf8f4, 0 0 3px #faf8f4, 0 1px 0 #fff;
}

body.is-draw-spotlight .form-map-draw-hint {
    display: block;
}

body.is-draw-spotlight .form-map-wrap:hover .form-map-draw-hint {
    display: none;
}

.form-map-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 1.35rem;
}

@media (max-width: 768px) {
    .wizard-card:has(.wizard-step[data-step="location"]:not([hidden])) .wizard-meta,
    .wizard-card:has(.wizard-step[data-step="marker"]:not([hidden])) .wizard-meta {
        top: 20px;
        left: 18px;
    }

    .location-split {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .location-split__left {
        padding: 50px 18px 20px;
    }

    .form-map-wrap {
        width: 100%;
        max-width: none;
        height: 460px;
        margin: 0;
        border-left: 0;
        border-top: 1px solid rgba(13, 59, 102, 0.14);
    }
}

.form-map-btn {
    border: 1px solid #0d3b66;
    border-radius: 999px;
    background: transparent;
    color: #0d3b66;
    padding: 7px 13px;
    font-family: var(--cc-font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.3;
    cursor: pointer;
}

.form-map-btn:hover {
    background: rgba(13, 59, 102, 0.08);
}

#form-map-draw-btn:not(.is-secondary) {
    background: #0d3b66;
    color: #faf8f4;
}

#form-map-draw-btn:not(.is-secondary):hover {
    background: #0a2e50;
}

.form-map-count {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(13, 59, 102, 0.06);
    color: #0d3b66;
    font-family: var(--cc-font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.form-map-count[hidden] {
    display: none !important;
}

.form-map-hint {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: #4a5568;
}

@media (max-width: 600px) {
    .wizard-card {
        padding: 20px 18px 18px;
    }
}

@media (max-width: 600px) {
    .consult__contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .content p,
    .content li,
    .content dd {
        overflow-wrap: break-word;
    }

    .buy-nav {
        min-height: 64px;
        padding-right: calc(12px + env(safe-area-inset-right, 0px));
    }

    .buy-nav a {
        padding: 8px;
    }

    .buy-nav .buy-mark {
        margin-left: 8px;
    }

    .page-buying .buy-nav .buy-mark {
        margin-left: 0;
        gap: 6px;
    }

    .buy-mark__shape {
        width: 18px;
        height: 18px;
    }

    .buy-mark__shape--tri {
        width: 20px;
        height: 17px;
    }

    .content > .page-lower {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    .content {
        padding-top: 88px;
    }

    .page-buying .content {
        padding-top: 112px;
    }

    body.page-person .content {
        padding-top: 120px;
    }

    .buy-nav {
        min-height: 64px;
        padding-right: calc(10px + env(safe-area-inset-right, 0px));
    }

    .page-buying .buy-nav {
        padding-left: calc(10px + env(safe-area-inset-left, 0px));
    }

    .buy-nav a {
        padding: 8px 7px;
    }
}

@media print {
    body {
        background: #ffffff;
        color: #000000;
    }

    .buy-nav,
    .buy-gallery__nav,
    .consult {
        display: none !important;
    }

    .content {
        padding-top: 24px;
    }

    .content > .page-lower {
        background: transparent;
        box-shadow: none;
        clip-path: none;
        padding-top: 16px;
    }
}
