/* =========================================================
   MALA LABS – BOOK CALL PAGE STYLES
   Scope: book-call.html only
   Purpose: Premium, professional booking experience
========================================================= */

/* =========================================================
   PAGE SCOPE SAFETY
========================================================= */

body {
    background-color: #ffffff;
}

/* =========================================================
   HERO SECTION – BOOK CALL PAGE
========================================================= */

.hero {
    background-color: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.hero-wrapper {
    max-width: 820px;
}

.hero-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-description {
    max-width: 720px;
    font-size: 1.05rem;
    color: #475569;
}

/* =========================================================
   BOOK CALL BUTTON EMPHASIS
========================================================= */

.hero .primary-button {
    margin-top: 2rem;
    min-width: 200px;
    font-size: 1rem;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.hero .primary-button:hover {
    transform: translateY(-1px);
}

/* =========================================================
   CONTENT SECTIONS (WHY / BENEFITS)
========================================================= */

.call-why,
.call-benefits {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.call-why p,
.call-benefits p {
    max-width: 760px;
    line-height: 1.65;
}

/* =========================================================
   BENEFITS LIST
========================================================= */

.call-benefits ul {
    margin-top: 1.5rem;
    max-width: 760px;
}

.call-benefits li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.25rem;
    color: #334155;
}

.call-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 600;
}

/* =========================================================
   CALENDLY OVERLAY (POPUP BACKDROP)
========================================================= */

.calendly-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.calendly-overlay.active {
    display: flex;
}

/* =========================================================
   CALENDLY MODAL CONTAINER
========================================================= */

.calendly-modal {
    width: 100%;
    max-width: 960px;
    height: 90vh;
    background-color: #ffffff;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* =========================================================
   CALENDLY MODAL HEADER
========================================================= */

.calendly-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.calendly-modal-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #020617;
}

/* =========================================================
   CLOSE BUTTON
========================================================= */

.calendly-close-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    color: #020617;
    padding: 0.25rem;
}

.calendly-close-btn:hover {
    color: #2563eb;
}

/* =========================================================
   CALENDLY MODAL BODY
========================================================= */

.calendly-modal-body {
    flex: 1;
    position: relative;
    background-color: #ffffff;
}

.calendly-inline-widget {
    width: 100%;
    height: 100%;
}

/* =========================================================
   SCROLL LOCK SAFETY
========================================================= */

body.modal-open {
    overflow: hidden;
}

/* =========================================================
   ACCESSIBILITY – FOCUS STATES
========================================================= */

.primary-button:focus-visible,
.calendly-close-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.6);
    outline-offset: 3px;
}

/* =========================================================
   SECTION SPACING ADJUSTMENTS
========================================================= */

.call-why {
    padding-top: 4.5rem;
}

.call-benefits {
    padding-bottom: 4.5rem;
}

/* =========================================================
   MOBILE RESPONSIVE – TABLET
========================================================= */

@media (max-width: 1024px) {

    .hero-title {
        font-size: 2rem;
    }

    .calendly-modal {
        max-width: 90%;
    }
}

/* =========================================================
   MOBILE RESPONSIVE – SMALL SCREENS
========================================================= */

@media (max-width: 768px) {

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .calendly-modal {
        height: 100vh;
        border-radius: 0;
    }

    .calendly-modal-header {
        padding: 0.75rem 1rem;
    }

}

/* =========================================================
   PRINT MODE SAFETY
========================================================= */

@media print {

    .hero .primary-button,
    .calendly-overlay {
        display: none !important;
    }

    body {
        color: #000000;
        background-color: #ffffff;
    }
}

/* =========================================================
   FUTURE EXTENSIONS (INTENTIONALLY EMPTY)
========================================================= */

/*
.book-call-faq {}
.book-call-testimonials {}
.book-call-video-intro {}
*/

/* =========================================================
   END OF BOOK-CALL.CSS
   Clean. Premium. Production-ready.
========================================================= */
