/* Shared marketing detail pages — thin overrides on home + program CSS */
.guest-about-page,
.guest-services-page,
.guest-contact-page {
    --mkt-accent: var(--vaanii-primary, #51b5eb);
    --mkt-accent-2: var(--vaanii-secondary, #1c4a63);
    --mkt-accent-dark: var(--vaanii-primary-dark, #2d8bc4);
    --mkt-ink: #0f172a;
    --mkt-muted: #64748b;
    --mkt-surface: #ffffff;
    --mkt-border: rgba(15, 23, 42, 0.08);
    --mkt-radius: 0.85rem;
    --mkt-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.04);
}

body.layout-guest .guest-content-wrapper .guest-about-page > .showcase-hero,
body.layout-guest .guest-content-wrapper .guest-services-page > .showcase-hero,
body.layout-guest .guest-content-wrapper .guest-contact-page > .showcase-hero {
    margin-bottom: 0 !important;
    overflow-x: clip;
}

.guest-about-page .guest-mkt-soft-hero__bc,
.guest-services-page .guest-mkt-soft-hero__bc,
.guest-contact-page .guest-mkt-soft-hero__bc {
    position: relative;
    z-index: 2;
}
.guest-about-page .guest-mkt-soft-hero__bc .guest-breadcrumb-bar,
.guest-services-page .guest-mkt-soft-hero__bc .guest-breadcrumb-bar,
.guest-contact-page .guest-mkt-soft-hero__bc .guest-breadcrumb-bar {
    margin-bottom: 0;
    background: transparent;
    box-shadow: none;
}

.guest-about-page .guest-hero-cta-secondary,
.guest-services-page .guest-hero-cta-secondary,
.guest-contact-page .guest-hero-cta-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px !important;
    padding: 0.4rem 1.05rem !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}

/* Unify CTAs to homepage blue — slightly darker fill for AA contrast with white text */
body.layout-guest .guest-content-wrapper .guest-about-page.guest-program-page .btn-accent,
body.layout-guest .guest-content-wrapper .guest-services-page.guest-program-page .btn-accent,
body.layout-guest .guest-content-wrapper .guest-contact-page.guest-program-page .btn-accent,
body.layout-guest .guest-content-wrapper .guest-about-page .showcase-hero .btn.btn-accent,
body.layout-guest .guest-content-wrapper .guest-services-page .showcase-hero .btn.btn-accent,
body.layout-guest .guest-content-wrapper .guest-contact-page .showcase-hero .btn.btn-accent {
    background: var(--vaanii-primary-dark, #2d8bc4) !important;
    border-color: var(--vaanii-primary-dark, #2d8bc4) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(45, 139, 196, 0.28) !important;
}
body.layout-guest .guest-content-wrapper .guest-about-page.guest-program-page .btn-accent:hover,
body.layout-guest .guest-content-wrapper .guest-about-page.guest-program-page .btn-accent:focus-visible,
body.layout-guest .guest-content-wrapper .guest-services-page.guest-program-page .btn-accent:hover,
body.layout-guest .guest-content-wrapper .guest-services-page.guest-program-page .btn-accent:focus-visible,
body.layout-guest .guest-content-wrapper .guest-contact-page.guest-program-page .btn-accent:hover,
body.layout-guest .guest-content-wrapper .guest-contact-page.guest-program-page .btn-accent:focus-visible,
body.layout-guest .guest-content-wrapper .guest-about-page .showcase-hero .btn.btn-accent:hover,
body.layout-guest .guest-content-wrapper .guest-services-page .showcase-hero .btn.btn-accent:hover,
body.layout-guest .guest-content-wrapper .guest-contact-page .showcase-hero .btn.btn-accent:hover {
    background: #2476a8 !important;
    border-color: #2476a8 !important;
    color: #ffffff !important;
}

/* Center dividers under centered heads */
body.layout-guest .guest-content-wrapper .guest-about-page .guest-program-section-head.text-center .section-divider,
body.layout-guest .guest-content-wrapper .guest-services-page .guest-program-section-head.text-center .section-divider,
body.layout-guest .guest-content-wrapper .guest-contact-page .guest-program-section-head.text-center .section-divider,
body.layout-guest .guest-content-wrapper .guest-about-page .section-divider.mx-auto,
body.layout-guest .guest-content-wrapper .guest-services-page .section-divider.mx-auto,
body.layout-guest .guest-content-wrapper .guest-contact-page .section-divider.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
}

.guest-about-page .guest-program-section-head:not(.text-center) .section-divider,
.guest-services-page .guest-program-section-head:not(.text-center) .section-divider,
.guest-contact-page .guest-program-section-head:not(.text-center) .section-divider,
.guest-about-page .guest-program-cta-panel__copy .section-divider,
.guest-services-page .guest-program-cta-panel__copy .section-divider,
.guest-contact-page .guest-program-cta-panel__copy .section-divider {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Value / channel / topic / timeline cards */
.guest-about-page .guest-mkt-value-card,
.guest-about-page .guest-mkt-timeline-card,
.guest-services-page .guest-mkt-pillar-card,
.guest-contact-page .guest-mkt-channel-card,
.guest-contact-page .guest-mkt-topic-card {
    position: relative;
    overflow: hidden;
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius);
    box-shadow: var(--mkt-shadow-sm);
    padding: 1.35rem 1.3rem 1.45rem;
    height: 100%;
}
.guest-about-page .guest-mkt-value-card::before,
.guest-about-page .guest-mkt-timeline-card::before,
.guest-services-page .guest-mkt-pillar-card::before,
.guest-contact-page .guest-mkt-channel-card::before,
.guest-contact-page .guest-mkt-topic-card::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--mkt-accent-2) 0%, var(--mkt-accent-dark) 48%, var(--mkt-accent) 100%);
}
.guest-about-page .guest-mkt-value-card__title,
.guest-services-page .guest-mkt-pillar-card__title,
.guest-contact-page .guest-mkt-topic-card__title {
    margin: 0 0 0.45rem;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--mkt-ink);
}
.guest-about-page .guest-mkt-value-card__text,
.guest-services-page .guest-mkt-pillar-card__text,
.guest-contact-page .guest-mkt-topic-card__text,
.guest-contact-page .guest-mkt-channel-card__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--mkt-muted);
}
.guest-about-page .guest-mkt-timeline-year {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mkt-accent-dark);
    margin-bottom: 0.45rem;
}
.guest-about-page .guest-mkt-timeline-card__title {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mkt-ink);
}
.guest-about-page .guest-mkt-timeline-card__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--mkt-muted);
}

.guest-about-page .guest-mkt-prose-panel {
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius);
    box-shadow: var(--mkt-shadow-sm);
    padding: 1.5rem 1.5rem 1.6rem;
}

.guest-contact-page .guest-mkt-channel-card__label {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mkt-muted);
}
.guest-contact-page .guest-mkt-channel-card__icon {
    color: var(--mkt-accent-dark);
    margin-bottom: 0.55rem;
}
.guest-contact-page .guest-mkt-channel-card a {
    font-weight: 700;
    text-decoration: none;
    color: var(--mkt-accent-2);
}
.guest-contact-page .guest-mkt-channel-card a:hover {
    color: var(--mkt-accent-dark);
    text-decoration: underline;
}

.guest-contact-page .guest-mkt-tips {
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius);
    box-shadow: var(--mkt-shadow-sm);
    padding: 1.35rem 1.4rem;
}

/* Contact form shell */
.guest-contact-page .guest-mkt-form-shell {
    border-radius: var(--mkt-radius);
    overflow: hidden;
    border: 1px solid var(--mkt-border);
    box-shadow: var(--mkt-shadow-sm);
    background: var(--mkt-surface);
}
.guest-contact-page .guest-mkt-form-aside {
    background: rgba(var(--vaanii-primary-rgb, 81, 181, 235), 0.06);
    border-right: 1px solid var(--mkt-border);
    border-left: 3px solid var(--mkt-accent-dark);
    color: var(--mkt-ink);
    padding: 1.65rem 1.5rem;
}
@media (max-width: 767.98px) {
    .guest-contact-page .guest-mkt-form-aside {
        border-right: none;
        border-bottom: 1px solid var(--mkt-border);
    }
}
.guest-contact-page .guest-mkt-form-body {
    padding: 1.5rem;
}
@media (min-width: 768px) {
    .guest-contact-page .guest-mkt-form-body {
        padding: 1.75rem 2rem;
    }
}
.guest-contact-page .guest-mkt-trust-strip {
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius);
    box-shadow: var(--mkt-shadow-sm);
    padding: 1.35rem 1.4rem;
}

/* Services: keep CMS cards on cream */
.guest-services-page .service-card {
    background: var(--mkt-surface);
}

/* Doubt section on services — fit program cream/white bands */
.guest-services-page .guest-mkt-doubt {
    position: relative;
}
.guest-services-page .guest-mkt-doubt-card {
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius);
    box-shadow: var(--mkt-shadow-sm);
    padding: 1.4rem 1.35rem 1.5rem;
    height: 100%;
}
.guest-services-page .guest-mkt-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.guest-services-page .guest-mkt-feature-pills .feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(var(--vaanii-primary-rgb, 81, 181, 235), 0.1);
    color: var(--mkt-accent-2);
}

/* FAQ accordion spacing on contact */
.guest-contact-page .guest-program-faq-accordion .accordion-item {
    border-radius: var(--mkt-radius);
    overflow: hidden;
    margin-bottom: 0.65rem;
    border: 1px solid var(--mkt-border);
}
.guest-contact-page .guest-program-faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(var(--vaanii-primary-rgb, 81, 181, 235), 0.08);
    color: var(--mkt-ink);
    box-shadow: none;
}

/* Mobile + tablet hero: stack stats (brand-cohesion keeps 3-col !important on .guest-homepage) */
@media (max-width: 991.98px) {
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-about-page .guest-hero-stats,
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-services-page .guest-hero-stats,
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-contact-page .guest-hero-stats,
    body.layout-guest .guest-content-wrapper .guest-about-page .guest-hero-stats,
    body.layout-guest .guest-content-wrapper .guest-services-page .guest-hero-stats,
    body.layout-guest .guest-content-wrapper .guest-contact-page .guest-hero-stats {
        grid-template-columns: 1fr !important;
        gap: 0.55rem !important;
    }
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-about-page .guest-hero-stat,
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-services-page .guest-hero-stat,
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-contact-page .guest-hero-stat,
    body.layout-guest .guest-content-wrapper .guest-about-page .guest-hero-stat,
    body.layout-guest .guest-content-wrapper .guest-services-page .guest-hero-stat,
    body.layout-guest .guest-content-wrapper .guest-contact-page .guest-hero-stat {
        min-height: 0 !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between;
        text-align: left;
        padding: 0.7rem 0.9rem !important;
        gap: 0.75rem;
    }
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-about-page .guest-hero-stat__value,
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-services-page .guest-hero-stat__value,
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-contact-page .guest-hero-stat__value,
    body.layout-guest .guest-content-wrapper .guest-about-page .guest-hero-stat__value,
    body.layout-guest .guest-content-wrapper .guest-services-page .guest-hero-stat__value,
    body.layout-guest .guest-content-wrapper .guest-contact-page .guest-hero-stat__value {
        font-size: 1.15rem !important;
    }
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-about-page .guest-hero-stat__label,
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-services-page .guest-hero-stat__label,
    body.layout-guest .guest-content-wrapper.guest-homepage .guest-contact-page .guest-hero-stat__label,
    body.layout-guest .guest-content-wrapper .guest-about-page .guest-hero-stat__label,
    body.layout-guest .guest-content-wrapper .guest-services-page .guest-hero-stat__label,
    body.layout-guest .guest-content-wrapper .guest-contact-page .guest-hero-stat__label {
        font-size: 0.82rem !important;
    }
    body.layout-guest .guest-content-wrapper .guest-about-page .guest-hero-trust-note,
    body.layout-guest .guest-content-wrapper .guest-services-page .guest-hero-trust-note,
    body.layout-guest .guest-content-wrapper .guest-contact-page .guest-hero-trust-note {
        max-width: 100%;
        border-radius: 14px;
        align-items: flex-start;
    }
}
