/* Suvichar Editorial v0.4: inline Zoho booking calendar on the Book a call page.
   The calendar sits in a card that matches the site's form cards. */

.cal-embed {
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.cal-embed iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    border: 0;
}

/* One column: the calendar first, the message form after it, so the two forms are never side by side. */
.book-grid.book-grid--stack {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    gap: 36px;
}
.book-or {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--gray);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.book-or::before, .book-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.cal-steps {
    margin: 18px 0 0;
    padding-left: 22px;
    color: var(--dark);
    font-size: 0.95rem;
}
.cal-steps li { margin-bottom: 6px; }
.cal-newtab {
    margin-top: 14px;
    color: var(--gray);
    font-size: 0.92rem;
}
.cal-newtab a {
    color: var(--accent);
    font-weight: 600;
}

.cal-fallback {
    margin-top: 20px;
    color: var(--gray);
    font-size: 0.92rem;
}
.cal-fallback a {
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 600px) {
    .cal-embed { border-radius: 16px; }
}

/* Booking page, compact layout: a thin title strip, then the calendar on the first screen.
   On desktop the "What to bring" panel sits beside the calendar; on phones it moves below it. */
.book-intro { padding: 26px 0 14px; }
.book-intro h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; margin: 6px 0 10px; }
.book-intro-note { margin: 0; max-width: 62ch; color: var(--gray); font-size: 0.95rem; }
.book-main { padding: 6px 0 56px; scroll-margin-top: 90px; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.book-layout .cal-embed { margin-top: 0; }
.book-aside { position: sticky; top: 100px; }
.book-write { max-width: 720px; margin-top: 44px; display: grid; gap: 36px; }
@media (max-width: 900px) {
    .book-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .book-aside { position: static; }
}
@media (max-width: 600px) {
    .book-intro { padding: 18px 0 10px; }
    .book-intro-note { font-size: 0.9rem; }
}

/* The calendar box fits the screen: the booking form scrolls inside it, and after "Schedule Appointment"
   Zoho shows the confirmation at the top of the box, so nobody has to scroll the page back up. */
.book-layout .cal-embed iframe {
    height: clamp(480px, calc(100vh - 300px), 800px) !important;
    height: clamp(480px, calc(100dvh - 300px), 800px) !important;
}
