/* Connect With Mark — page-specific styles */

.connect-mark-page {
    background: #faf9f6 !important;
    min-height: 100vh;
    overflow-x: hidden;
}

.connect-mark-page .connect-mark-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(88px, 12vw, 120px) 20px clamp(48px, 8vw, 80px);
    box-sizing: border-box;
    width: 100%;
}

/* Hero */
.connect-mark-hero {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 48px);
}

.connect-mark-hero-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35em 0.5em;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #1a1a2e;
}

.connect-mark-pill {
    display: inline-block;
    background: #8330c2;
    color: #ffffff;
    padding: 0.12em 0.55em 0.18em;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(131, 48, 194, 0.28);
}

.connect-mark-title-rest {
    color: #1a1a2e;
}

.connect-mark-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.65;
    color: #334155;
    max-width: 640px;
    margin: 0 auto;
    font-weight: 500;
}

/* Profile / LinkedIn card */
.connect-mark-profile-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: clamp(24px, 4vw, 40px);
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(24px, 4vw, 38px);
    margin-bottom: clamp(40px, 6vw, 56px);
    box-shadow:
        0 12px 40px rgba(131, 48, 194, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(131, 48, 194, 0.10);
    box-sizing: border-box;
    width: 100%;
}

.connect-mark-profile-left {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.connect-mark-photo-wrap {
    flex-shrink: 0;
}

.connect-mark-photo {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8330c2;
    box-shadow: 0 4px 16px rgba(131, 48, 194, 0.2);
    display: block;
}

.connect-mark-profile-info {
    min-width: 0;
    flex: 1;
}

.connect-mark-person-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.2;
}

.connect-mark-title-separator {
    color: #64748b;
    font-weight: 500;
}

.connect-mark-profile-info p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.connect-mark-profile-info a {
    color: #8330c2;
    text-decoration: none;
    font-weight: 500;
}

.connect-mark-profile-info a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.connect-mark-bio {
    margin-top: 10px;
    max-width: 680px;
    font-size: 0.92rem !important;
    color: #475569 !important;
    line-height: 1.65 !important;
}

/* LinkedIn mini-card */
.connect-mark-linkedin-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(131, 48, 194, 0.045);
    border: 1px solid rgba(131, 48, 194, 0.10);
    text-align: center;
    align-self: stretch;
}

.connect-mark-linkedin-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.connect-mark-linkedin-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.connect-mark-qr {
    width: 128px;
    height: 128px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 14px;
    padding: 8px;
    border: 1px solid rgba(131, 48, 194, 0.08);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    display: block;
}

.connect-mark-btn-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 220px;
    background: #8330c2;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none !important;
    border: 2px solid #8330c2;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 14px rgba(131, 48, 194, 0.25);
    white-space: nowrap;
}

.connect-mark-btn-linkedin:hover {
    background: #6b28a0;
    border-color: #6b28a0;
    box-shadow: 0 6px 20px rgba(131, 48, 194, 0.35);
    transform: translateY(-1px);
}

.connect-mark-btn-linkedin svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* SEO content section */
.connect-mark-seo-content {
    margin-bottom: clamp(36px, 5vw, 48px);
}

.connect-mark-seo-card {
    background: #ffffff;
    border-radius: 20px;
    padding: clamp(24px, 4vw, 32px);
    box-shadow:
        0 12px 40px rgba(131, 48, 194, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(131, 48, 194, 0.08);
}

.connect-mark-seo-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
    line-height: 1.3;
    text-align: center;
}

.connect-mark-story-body {
    max-width: 720px;
    margin: 0 auto;
}

.connect-mark-seo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.92rem, 1.8vw, 1rem);
    line-height: 1.65;
    color: #475569;
    margin: 0 auto 1.15em;
    max-width: 720px;
    text-align: center;
}

.connect-mark-story-body .connect-mark-seo-text:last-child {
    margin-bottom: 0;
}

.connect-mark-story-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.92rem, 1.8vw, 1rem);
    line-height: 1.65;
    color: #334155;
    font-style: italic;
    font-weight: 500;
    text-align: center;
    margin: 0 auto 1.15em;
    padding: clamp(16px, 3vw, 22px) clamp(18px, 3.5vw, 28px);
    max-width: 720px;
    background: rgba(131, 48, 194, 0.045);
    border: 1px solid rgba(131, 48, 194, 0.10);
    border-radius: 14px;
    border-left: 4px solid #8330c2;
}

.connect-mark-seo-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.connect-mark-seo-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.45;
    text-align: center;
    background: rgba(131, 48, 194, 0.045);
    border: 1px solid rgba(131, 48, 194, 0.10);
    border-radius: 14px;
    padding: 14px 12px;
}

/* Booking section */
.connect-mark-booking {
    text-align: center;
    margin-bottom: 24px;
}

.connect-mark-booking-heading-wrap {
    display: inline-block;
    margin-bottom: clamp(24px, 4vw, 36px);
}

.connect-mark-booking-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    letter-spacing: -0.01em;
}

.connect-mark-booking-underline {
    display: block;
    width: min(200px, 60%);
    height: 4px;
    background: #8330c2;
    border-radius: 2px;
    margin: 10px auto 0;
}

.connect-mark-calendly-card {
    background: #ffffff;
    border-radius: clamp(20px, 4vw, 36px);
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(131, 48, 194, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(131, 48, 194, 0.1);
    margin: 0 auto;
    max-width: 100%;
}

.connect-mark-calendly-card .calendly-inline-widget {
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
}

/* Referral CTA */
.connect-mark-referral {
    margin-top: clamp(32px, 5vw, 48px);
}

.connect-mark-referral-card {
    background: #ffffff;
    border-radius: 20px;
    padding: clamp(24px, 4vw, 32px);
    text-align: center;
    box-shadow:
        0 12px 40px rgba(131, 48, 194, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(131, 48, 194, 0.08);
}

.connect-mark-referral-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
    line-height: 1.35;
}

.connect-mark-referral-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.65;
    color: #475569;
    margin: 0 auto 20px;
    max-width: 680px;
}

.connect-mark-referral-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8330c2;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none !important;
    border: 2px solid #8330c2;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 14px rgba(131, 48, 194, 0.25);
}

.connect-mark-referral-btn:hover {
    background: #6b28a0;
    border-color: #6b28a0;
    box-shadow: 0 6px 20px rgba(131, 48, 194, 0.35);
    transform: translateY(-1px);
}

/* Trust strip */
.connect-mark-trust {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    line-height: 1.6;
    color: #64748b;
    max-width: 720px;
    margin: clamp(28px, 4vw, 40px) auto 0;
    padding: 0 12px;
}

/* Responsive — tablet / mobile stack */
@media (max-width: 900px) {
    .connect-mark-profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .connect-mark-seo-list {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .connect-mark-profile-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .connect-mark-profile-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .connect-mark-person-title {
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
    }

    .connect-mark-bio {
        margin-left: auto;
        margin-right: auto;
    }

    .connect-mark-linkedin-block {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
        align-self: center;
    }
}

@media (max-width: 767px) {
    .connect-mark-calendly-card .calendly-inline-widget {
        height: 700px !important;
    }

    .connect-mark-referral-btn {
        width: 100%;
        max-width: 360px;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
    }
}

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

    .connect-mark-photo {
        width: 96px;
        height: 96px;
    }

    .connect-mark-person-title {
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
    }

    .connect-mark-btn-linkedin {
        max-width: 280px;
        white-space: normal;
        line-height: 1.35;
    }
}
