/* Metalogix.ai — Consultation booking (page-based, no overlays) */

body.page-booking {
    --mx-orange: #FF6B35;
    --mx-gold: #F59E0B;
    --mx-dark: #0B1120;
    --mx-bg: #FAFBFD;
    --mx-header-h: 80px;
    background: var(--mx-bg);
    scroll-padding-top: var(--mx-header-h);
}

body.page-booking .breadcumb-area {
    display: none;
}

/* Header — fixed 80px on booking pages */
body.page-booking .trp_nav_area,
body.page-booking .trp_nav_area .row.logo-left,
body.page-booking.hbg2 .trp_nav_area,
body.page-booking .hbg2 .trp_nav_area,
body.page-booking .hbg2 .trp_nav_area .row.logo-left {
    min-height: var(--mx-header-h);
    height: var(--mx-header-h);
}

body.page-booking .trp_nav_area .metalogix_menu > ul.sub-menu > li > a,
body.page-booking.hbg2 .trp_nav_area .metalogix_menu > ul.sub-menu > li > a {
    line-height: var(--mx-header-h);
}

body.page-booking .mobile_logo_area {
    min-height: var(--mx-header-h);
}

@media (max-width: 991px) {
    body.page-booking .mx-booking-hero {
        padding-top: 48px;
    }

    body.page-booking .mobile_logo_area {
        min-height: 72px;
        height: 72px;
    }
}

/* Hero — below navbar, no overlap */
.mx-booking-hero {
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 48px;
    min-height: 420px;
    background: linear-gradient(135deg, #0B1120 0%, #1a2744 100%);
    text-align: center;
    box-sizing: border-box;
}

.mx-booking-hero .container {
    width: 100%;
}

.mx-booking-hero h1 {
    font-size: clamp(28px, 3.5vw, 40px);
    color: #fff;
    margin: 0 0 10px;
    font-weight: 700;
}

.mx-booking-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0 auto;
    max-width: 640px;
}

.mx-booking-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* Package grid — 4 / 2 / 1 columns, equal height */
.mx-packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: stretch;
}

.mx-package-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid #eef0f4;
    border-radius: 20px;
    padding: 24px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mx-package-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.mx-package-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    width: fit-content;
}

.mx-package-card--featured {
    border-top: 4px solid #FF6B35;
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.12);
}

.mx-package-card--featured .mx-package-badge {
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
}

.mx-package-card--standard {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.mx-package-card--enterprise {
    background: linear-gradient(160deg, #0B1120 0%, #1a2744 100%);
    border-color: rgba(255, 107, 53, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.2), 0 12px 36px rgba(255, 107, 53, 0.15);
}

.mx-package-card--talk {
    position: relative;
    border: 2px dashed rgba(255, 107, 53, 0.45);
    background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
    padding-bottom: 32px;
}

.mx-package-card--talk .mx-package-badge {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.mx-package-card--talk .mx-price-inr--spacer {
    visibility: hidden;
    pointer-events: none;
}

.mx-package-card-hint {
    position: absolute;
    bottom: 10px;
    left: 24px;
    right: 24px;
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

/* Executive advisory — collapsible scope panel */
.mx-advisory-scope {
    max-width: 1100px;
    margin: 48px auto 0;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.mx-advisory-scope__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 24px;
}

.mx-advisory-scope__header h2 {
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 700;
    color: var(--mx-dark);
    margin: 0 0 8px;
}

.mx-advisory-scope__header p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.mx-advisory-accordion {
    border: 1px solid #eef0f4;
    border-radius: 16px;
    overflow: hidden;
    background: #fafbfc;
}

.mx-advisory-accordion__item {
    border-bottom: 1px solid #eef0f4;
    background: #fff;
}

.mx-advisory-accordion__item:last-child {
    border-bottom: none;
}

.mx-advisory-accordion__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 700;
    color: var(--mx-dark);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s;
}

.mx-advisory-accordion__item summary::-webkit-details-marker {
    display: none;
}

.mx-advisory-accordion__item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    line-height: 1;
    transition: transform 0.2s, color 0.2s, border-color 0.2s;
}

.mx-advisory-accordion__item[open] summary::after {
    content: "−";
    color: #FF6B35;
    border-color: rgba(255, 107, 53, 0.35);
}

.mx-advisory-accordion__item summary:hover {
    background: rgba(255, 107, 53, 0.04);
}

.mx-advisory-accordion__body {
    padding: 0 22px 20px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
}

.mx-advisory-accordion__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mx-advisory-accordion__body li {
    margin-bottom: 6px;
}

.mx-advisory-accordion__body p {
    margin: 0 0 10px;
}

.mx-advisory-accordion__body p:last-child {
    margin-bottom: 0;
}

/* Payment result pages */
.mx-payment-result {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.mx-payment-result-panel {
    background: #fff;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef0f4;
    text-align: center;
}

.mx-payment-result-panel--failed {
    border-color: rgba(239, 68, 68, 0.2);
}

.mx-payment-result-panel i.mx-payment-icon {
    font-size: 52px;
    margin-bottom: 16px;
}

.mx-payment-result-panel i.mx-payment-icon--success {
    color: #22c55e;
}

.mx-payment-result-panel i.mx-payment-icon--failed {
    color: #ef4444;
}

.mx-payment-result-panel h1 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--mx-dark);
    margin: 0 0 12px;
}

.mx-payment-result-panel > p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.mx-payment-summary {
    text-align: left;
    background: #f8f9fc;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #4b5563;
}

.mx-payment-summary dl {
    margin: 0;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px 16px;
}

.mx-payment-summary dt {
    font-weight: 600;
    color: var(--mx-dark);
    margin: 0;
}

.mx-payment-summary dd {
    margin: 0;
    word-break: break-all;
}

.mx-payment-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.mx-payment-fail-detail {
    font-size: 13px;
    color: #9ca3af;
    margin-top: -12px;
    margin-bottom: 24px;
}

.mx-package-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0B1120;
    margin: 0 0 6px;
}

.mx-package-card--enterprise h3,
.mx-package-card--enterprise .mx-package-desc,
.mx-package-card--enterprise .mx-package-includes li,
.mx-package-card--enterprise .mx-package-duration {
    color: rgba(255, 255, 255, 0.88);
}

.mx-package-card--enterprise .mx-price-inr {
    color: #FDBA3B;
}

.mx-package-card--enterprise .mx-price-note {
    color: rgba(255, 255, 255, 0.55);
}

.mx-package-card--enterprise .mx-package-badge {
    background: rgba(255, 107, 53, 0.2);
    color: #FDBA3B;
}

.mx-package-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 14px;
    flex-grow: 1;
}

.mx-package-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.7;
}

.mx-package-includes li {
    margin-bottom: 4px;
}

.mx-package-duration {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 18px;
}

.mx-price-inr {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 8px;
}

.mx-price-note {
    font-size: 12px;
    color: #9ca3af;
    margin: -4px 0 10px;
    line-height: 1.3;
}

.mx-booking-checkout-summary {
    margin: 8px 0 20px;
    padding: 16px 18px;
}

.mx-booking-checkout-summary dl {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
}

.mx-booking-checkout-summary dt,
.mx-booking-checkout-summary dd {
    font-size: 14px;
}

.mx-booking-checkout-summary dt:last-of-type,
.mx-booking-checkout-summary dd:last-of-type {
    font-weight: 700;
    color: var(--mx-dark);
}

.mx-package-book {
    display: block;
    width: 100%;
    margin-top: auto;
    text-align: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(90deg, #FF6B35, #F59E0B);
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mx-package-book:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
    color: #fff !important;
}

.mx-booking-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    padding: 40px 0 8px;
}

.mx-booking-trust span {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.mx-booking-trust span::before {
    content: "✓";
    color: #FF6B35;
    margin-right: 8px;
    font-weight: 700;
}

.mx-currency-note {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin: 8px 0 0;
}

/* Full-page form layout */
.mx-booking-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.mx-booking-form-panel {
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef0f4;
}

.mx-booking-form-panel h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--mx-dark);
    margin: 0 0 8px;
}

.mx-booking-form-panel > p {
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 24px;
}

.mx-booking-price {
    font-size: 28px;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 24px;
}

.mx-booking-form .form-group {
    margin-bottom: 18px;
}

.mx-booking-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--mx-dark);
    margin-bottom: 6px;
}

.mx-booking-form input,
.mx-booking-form select,
.mx-booking-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    color: var(--mx-dark);
    background: #fff;
}

.mx-booking-form textarea {
    min-height: 100px;
    resize: vertical;
}

.mx-recaptcha-wrap {
    margin: 20px 0;
}

.mx-recaptcha-wrap .g-recaptcha {
    display: inline-block;
    max-width: 100%;
}

.mx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mx-btn-primary {
    background: linear-gradient(90deg, #FF6B35, #F59E0B);
    color: #fff !important;
}

.mx-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
    color: #fff !important;
}

.mx-btn-secondary {
    background: #fff;
    color: var(--mx-dark) !important;
    border: 1px solid #e5e7eb;
}

.mx-booking-success {
    text-align: center;
    padding: 40px 20px;
}

.mx-booking-success[hidden] {
    display: none !important;
}

.mx-booking-success i {
    font-size: 48px;
    color: #22c55e;
    margin-bottom: 16px;
}

.mx-booking-success h2 {
    font-size: 24px;
    color: var(--mx-dark);
    margin: 0 0 12px;
}

.mx-booking-success p {
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 24px;
}

.mx-booking-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.mx-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 24px;
    text-decoration: none !important;
}

.mx-back-link:hover {
    color: #FF6B35;
}

/* Talk page — Calendly */
.mx-talk-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.mx-talk-section-title {
    text-align: center;
    margin-bottom: 32px;
}

.mx-talk-section-title h2 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--mx-dark);
    margin: 0 0 8px;
}

.mx-talk-section-title p {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
}

.mx-talk-form-panel {
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef0f4;
    margin-bottom: 40px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.mx-talk-form-panel[hidden],
.mx-calendly-section[hidden],
.mx-talk-success-panel[hidden] {
    display: none !important;
}

.mx-calendly-section {
    margin-bottom: 40px;
}

.mx-calendly-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--mx-dark);
    margin: 0 0 8px;
    text-align: center;
}

.mx-calendly-section > p {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 24px;
}

.mx-calendly-wrap {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eef0f4;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.mx-calendly-wrap .calendly-inline-widget {
    min-width: 320px;
    width: 100%;
    height: 900px;
}

.mx-talk-success-panel {
    max-width: 720px;
    margin: 0 auto;
}

/* Tablet */
@media (max-width: 1199px) {
    .mx-packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mx-booking-hero {
        min-height: 360px;
    }

    .mx-calendly-wrap .calendly-inline-widget {
        height: 800px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .mx-packages-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mx-booking-hero {
        min-height: 300px;
        padding-top: 140px;
        padding-bottom: 32px;
    }

    .mx-booking-form-panel,
    .mx-talk-form-panel {
        padding: 24px 20px;
    }

    .mx-recaptcha-wrap .g-recaptcha {
        display: block;
        width: 100%;
    }

    .mx-calendly-wrap .calendly-inline-widget {
        height: 700px;
    }

    .mx-advisory-scope {
        margin-top: 40px;
        padding: 24px 18px;
    }

    .mx-advisory-accordion__item summary {
        padding: 16px 18px;
        font-size: 14px;
    }

    .mx-advisory-accordion__body {
        padding: 0 18px 16px;
        font-size: 13px;
    }
}
