@charset "utf-8";

/* Booking page /demo/{profile} (Pages/Demo/Index.cshtml). Laid out like the zcal booking card, with the video
   beside the details and the HubSpot calendar underneath. Two themes: Reality Radar (rr) and Deal Intelligence. */

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/deal-radar/fraunces.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/deal-radar/inter.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; }

.dp-body {
    --dp-bg: #F4F6FA;
    --dp-card: #fff;
    --dp-text: #0B1B3F;
    --dp-muted: #5B6478;
    --dp-line: #E3E7EF;
    --dp-accent: #2194CE;
    --dp-button: #206BC4;
    --dp-button-hover: #1A58A3;
    --dp-button-text: #fff;
    --dp-heading-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    background: var(--dp-bg);
    color: var(--dp-text);
    font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.dp-body--deal {
    --dp-bg: #F5F1E8;
    --dp-card: #FBF9F4;
    --dp-text: #16302A;
    --dp-muted: #5E6E66;
    --dp-line: #DDD5C4;
    --dp-accent: #9A7A3E;
    --dp-button: #0C1714;
    --dp-button-hover: #1B332B;
    --dp-button-text: #F5F1E8;
    --dp-heading-font: 'Fraunces', Georgia, serif;
    font-family: 'Inter', system-ui, sans-serif;
}

.dp { max-width: 1020px; margin: 0 auto; padding: 32px 16px 48px; }

.dp-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--dp-line);
    border-radius: 16px;
    background: var(--dp-card);
    box-shadow: 0 1px 2px rgba(11, 27, 63, .04), 0 12px 32px -12px rgba(11, 27, 63, .14);
}

.dp-body--deal .dp-card { border-radius: 4px; }

.dp-banner img { display: block; width: 100%; aspect-ratio: 3 / 1; height: auto; object-fit: cover; }

.dp-photo { display: block; }

.dp-photo img {
    position: relative;
    display: block;
    margin: -95px 0 0 40px;
    width: 190px;
    height: 190px;
    border: 6px solid var(--dp-card);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .3);
}

.dp-cols {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 40px;
    padding: 20px 40px 8px;
}

.dp-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--dp-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dp-host { color: var(--dp-muted); font-size: 15px; font-weight: 600; }

.dp-title {
    margin: 4px 0 14px;
    font-family: var(--dp-heading-font);
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.dp-body--deal .dp-title { font-weight: 500; }

.dp-desc { margin: 0 0 20px; color: var(--dp-muted); }

.dp-label { margin: 0 0 8px; font-size: 15px; font-weight: 700; }

.dp-bullets { margin: 0 0 20px; padding: 0; list-style: none; }

.dp-bullets li { position: relative; padding: 4px 0 4px 28px; }

.dp-bullets li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 10px;
    width: 14px;
    height: 8px;
    border-left: 2.5px solid var(--dp-accent);
    border-bottom: 2.5px solid var(--dp-accent);
    transform: rotate(-45deg);
}

.dp-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--dp-muted); font-weight: 600; }

.dp-meta li { display: inline-flex; align-items: center; gap: 8px; }

.dp-meta svg { width: 18px; height: 18px; }

.dp-subtitle {
    margin: 0 0 6px;
    font-family: var(--dp-heading-font);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.dp-body--deal .dp-subtitle { font-weight: 500; }

.dp-lead { margin: 0 0 16px; color: var(--dp-muted); }

.dp-watch .pv { max-width: none; }

.dp-book { margin-top: 32px; padding: 32px 40px 36px; border-top: 1px solid var(--dp-line); scroll-margin-top: 16px; }

.dp-calendar { margin-top: 12px; }

.meetings-iframe-container { position: relative; min-height: 780px; }

/* HubSpot sizes its iframe inline to 715px while the month view needs 756px, which leaves a scrollbar inside. */
.meetings-iframe-container iframe { min-height: 780px !important; }

/* Covers the calendar until HubSpot's iframe has loaded, so the box keeps its height and never shows blank. */
.dp-calendar-loading {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--dp-accent) 5%, var(--dp-card));
    color: var(--dp-muted);
    font-weight: 600;
}

.dp-body--deal .dp-calendar-loading { border-radius: 4px; }

.meetings-iframe-container.is-loaded .dp-calendar-loading { display: none; }

.dp-calendar-dots { display: inline-flex; gap: 8px; }

.dp-calendar-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dp-accent);
    animation: dp-dot 1.2s ease-in-out infinite;
}

.dp-calendar-dots i:nth-child(2) { animation-delay: .15s; }

.dp-calendar-dots i:nth-child(3) { animation-delay: .3s; }

@keyframes dp-dot {
    0%, 80%, 100% { opacity: .25; transform: scale(.8); }
    40% { opacity: 1; transform: scale(1); }
}

.dp-calendar--fallback { display: flex; align-items: center; padding: 12px 0; }

.dp-booked {
    margin-top: 12px;
    padding: 20px 24px;
    border-radius: 12px;
    background: rgba(46, 107, 80, .1);
    color: #1F5A40;
    font-size: 18px;
}

.dp-btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    background: var(--dp-button);
    color: var(--dp-button-text);
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease;
}

.dp-btn:hover { background: var(--dp-button-hover); }

.dp-body--deal .dp-btn { border-radius: 2px; }

/* Quieter than the booking buttons: it only brings the visitor down to the calendar. */
.dp-btn--jump {
    gap: 8px;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 20px;
    border: 1.5px solid var(--dp-button);
    background: transparent;
    color: var(--dp-button);
}

.dp-btn--jump:hover { background: var(--dp-button); color: var(--dp-button-text); }

.dp-refs-wrap { margin-top: 48px; }

.dp-refs-wrap .dp-subtitle { margin-bottom: 16px; }

.dp-refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

.dp-ref {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 28px 24px 22px;
    border: 1px solid var(--dp-line);
    border-top: 4px solid var(--dp-accent);
    border-radius: 12px;
    background: var(--dp-card);
    box-shadow: 0 12px 30px -18px rgba(11, 27, 63, .35);
}

.dp-body--deal .dp-ref { border-radius: 4px; }

.dp-ref::before {
    content: '„';
    position: absolute;
    right: 20px;
    top: -38px;
    color: var(--dp-accent);
    font: 700 72px/1 Georgia, serif;
    opacity: .18;
}

.dp-ref blockquote { flex: 1; margin: 0 0 20px; font-size: 17px; font-weight: 500; line-height: 1.55; }

.dp-body--deal .dp-ref blockquote { font-family: 'Fraunces', Georgia, serif; font-size: 18px; }

.dp-ref figcaption { display: flex; align-items: center; gap: 12px; color: var(--dp-muted); font-size: 14px; line-height: 1.35; }

.dp-ref figcaption > span:last-child { display: flex; flex-direction: column; }

.dp-ref figcaption strong { color: var(--dp-text); }

.dp-ref-avatar {
    display: grid;
    flex: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--dp-accent);
    color: #fff;
    font-weight: 700;
    letter-spacing: .02em;
}

.dp-faq { margin-top: 48px; }

.dp-faq .dp-subtitle { margin-bottom: 16px; }

.dp-faq details {
    margin-bottom: 12px;
    border: 1px solid var(--dp-line);
    border-left: 4px solid transparent;
    border-radius: 12px;
    background: var(--dp-card);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.dp-faq details:hover { box-shadow: 0 6px 20px -12px rgba(11, 27, 63, .35); }

.dp-faq details[open] { border-left-color: var(--dp-accent); box-shadow: 0 10px 28px -16px rgba(11, 27, 63, .4); }

.dp-body--deal .dp-faq details { border-radius: 4px; }

.dp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.dp-faq summary::-webkit-details-marker { display: none; }

.dp-faq-icon {
    position: relative;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--dp-accent) 14%, transparent);
    transition: transform .25s ease, background-color .2s ease;
}

.dp-faq-icon::before, .dp-faq-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--dp-accent);
    transform: translate(-50%, -50%);
}

.dp-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s ease; }

.dp-faq details[open] .dp-faq-icon { transform: rotate(180deg); background: var(--dp-accent); }

.dp-faq details[open] .dp-faq-icon::before { background: #fff; }

.dp-faq details[open] .dp-faq-icon::after { opacity: 0; }

.dp-faq details p { margin: -4px 20px 20px; color: var(--dp-muted); line-height: 1.65; }

@media (prefers-reduced-motion: reduce) {
    .dp-faq details, .dp-faq-icon, .dp-faq-icon::after { transition: none; }

    .dp-calendar-dots i { animation: none; opacity: .6; }
}

.dp-again { margin-top: 36px; text-align: center; }

/* "Zavolajte mi" is always an underlined link, never a button: booking stays the one call to action (Q13). */
.dp-callback { margin: 0; color: var(--dp-muted); }

.dp-again .dp-callback { margin-top: 14px; }

.dp-callback-link {
    color: var(--dp-text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.dp-callback-link:hover { color: var(--dp-button); }

.dp-again .dp-callback-link { color: var(--dp-muted); font-weight: 500; }

.dp-again .dp-callback-link:hover { color: var(--dp-text); }

.dp-dialog {
    width: min(440px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 28px 24px 24px;
    overflow-y: auto;
    border: 1px solid var(--dp-line);
    border-radius: 16px;
    background: var(--dp-card);
    color: var(--dp-text);
    box-shadow: 0 24px 60px -20px rgba(11, 27, 63, .45);
}

.dp-body--deal .dp-dialog { border-radius: 4px; }

.dp-dialog::backdrop { background: rgba(11, 27, 63, .45); }

.dp-dialog-title {
    margin: 0 40px 18px 0;
    font-family: var(--dp-heading-font);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.dp-body--deal .dp-dialog-title { font-weight: 500; }

.dp-dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--dp-muted);
    cursor: pointer;
}

.dp-dialog-close:hover { background: color-mix(in srgb, var(--dp-accent) 12%, transparent); color: var(--dp-text); }

.dp-dialog-close svg { width: 20px; height: 20px; }

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

.dp-field label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }

.dp-field input {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--dp-line);
    border-radius: 8px;
    background: #fff;
    color: var(--dp-text);
    font: inherit;
}

.dp-body--deal .dp-field input { border-radius: 2px; }

.dp-field input:focus { border-color: var(--dp-button); outline: 2px solid color-mix(in srgb, var(--dp-button) 25%, transparent); outline-offset: 0; }

.dp-field input[aria-invalid="true"] { border-color: #C2410C; }

.dp-hp { position: absolute; left: -9999px; }

.dp-dialog-error { margin: 0 0 12px; color: #B42318; font-size: 14px; font-weight: 600; }

.dp-dialog-submit { justify-content: center; width: 100%; border: 0; font: inherit; font-weight: 600; cursor: pointer; }

.dp-dialog-submit:disabled { opacity: .6; cursor: wait; }

.dp-dialog-info { margin: 12px 0 0; color: var(--dp-muted); font-size: 13px; line-height: 1.5; }

.dp-dialog-info a { color: inherit; }

.dp-dialog-done { padding: 16px 0 4px; text-align: center; }

.dp-dialog-done p { margin: 12px 0 20px; font-size: 18px; font-weight: 600; }

.dp-dialog-done .dp-btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }

.dp-dialog-check {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: rgba(46, 107, 80, .12);
    color: #1F5A40;
    font-size: 24px;
}

.dp-dialog .turnstile-container { margin-bottom: 12px; }

.dp-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--dp-line);
    color: var(--dp-muted);
    font-size: 14px;
}

.dp-footer a { color: var(--dp-muted); }

.dp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--dp-text); font-weight: 700; text-decoration: none; }

.dp-brand:hover span { text-decoration: underline; text-underline-offset: 3px; }

.dp-brand img { border-radius: 6px; }

.dp-brand--deal { font-family: 'Fraunces', Georgia, serif; font-weight: 500; }

.dp-brand--deal svg { width: 26px; height: 26px; }

@media (max-width: 760px) {
    .dp { padding: 0 0 40px; }

    .dp-card { border-width: 0 0 1px; border-radius: 0; box-shadow: none; }

    .dp-photo img { margin: -60px 0 0 16px; width: 120px; height: 120px; border-width: 5px; }

    .dp-cols { grid-template-columns: 1fr; gap: 28px; padding: 16px 16px 0; }

    .dp-book { margin-top: 28px; padding: 28px 16px 32px; }

    .dp-refs-wrap, .dp-faq, .dp-again, .dp-footer { margin-left: 16px; margin-right: 16px; }
}
