/* OCD Marketing Pages — shared design language for public marketing pages */

.mk-page {
    overflow-x: hidden;
}

.mk-section {
    padding: 72px 0;
}

.mk-section--alt {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 86%, #e8e8e8 100%);
}

.mk-section--light {
    background: #fafafa;
}

.mk-section__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #03b895;
    margin-bottom: 12px;
}

.mk-section__title {
    font-size: 37px;
    font-weight: 700;
    color: #19233d;
    margin-bottom: 16px;
    line-height: 1.2;
}

.mk-section__title span {
    color: #03b895;
}

.mk-section__lead {
    font-size: 16px;
    color: #595959;
    font-weight: 500;
    max-width: 720px;
    margin-bottom: 0;
    line-height: 1.7;
}

.mk-section__lead--center {
    margin-left: auto;
    margin-right: auto;
}

.mk-text-center {
    text-align: center;
}

/* Hero */
.mk-hero {
    padding: 48px 0 72px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fffc 100%);
}

.mk-hero__title {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 700;
    color: #19233d;
    line-height: 1.15;
    margin-bottom: 20px;
}

.mk-hero__title span {
    color: #03b895;
}

.mk-hero__description {
    font-size: 17px;
    color: #595959;
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 560px;
}

.mk-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mk-hero__image-wrap {
    position: relative;
}

.mk-hero__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 12px 32px rgba(25, 35, 61, 0.12);
}

/* Photo placeholders */
.mk-photo-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 280px;
    border-radius: 15px;
    background: linear-gradient(145deg, #e8f8f4 0%, #d4efe8 45%, #c5e8df 100%);
    border: 1px dashed rgba(3, 184, 149, 0.35);
    overflow: hidden;
    text-align: center;
    padding: 24px;
}

.mk-photo-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.mk-photo-placeholder--hero {
    min-height: 420px;
}

.mk-photo-placeholder--card {
    min-height: 220px;
    margin-bottom: 20px;
}

.mk-photo-placeholder--feature {
    min-height: 340px;
}

.mk-photo-placeholder--small {
    min-height: 180px;
    margin-bottom: 16px;
}

.mk-photo-placeholder__label {
    position: relative;
    z-index: 1;
    font-size: 15px;
    font-weight: 700;
    color: #19233d;
    letter-spacing: 0.02em;
    max-width: 280px;
}

.mk-photo-placeholder__hint {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7c76;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Cards */
.mk-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mk-card {
    background: #fff;
    border-radius: 15px;
    padding: 28px 24px;
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.mk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.mk-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #19233d;
    margin-bottom: 10px;
}

.mk-card__text {
    font-size: 14px;
    color: #595959;
    font-weight: 500;
    line-height: 1.65;
    margin-bottom: 20px;
}

.mk-card--category {
    padding: 0;
    overflow: hidden;
}

.mk-card--category .mk-card__body {
    padding: 24px;
}

.mk-card__image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.mk-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mk-feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 28px 24px;
    border: 1px solid #ebebeb;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mk-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(3, 184, 149, 0.12);
    border-color: rgba(3, 184, 149, 0.25);
}

.mk-feature-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #19233d;
    margin-bottom: 8px;
}

.mk-feature-card__text {
    font-size: 14px;
    color: #595959;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* Alternating feature rows */
.mk-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.mk-feature-row:last-child {
    margin-bottom: 0;
}

.mk-feature-row--reverse .mk-feature-row__media {
    order: 2;
}

.mk-feature-row--reverse .mk-feature-row__content {
    order: 1;
}

.mk-feature-row__title {
    font-size: 28px;
    font-weight: 700;
    color: #19233d;
    margin-bottom: 14px;
    line-height: 1.25;
}

.mk-feature-row__text {
    font-size: 15px;
    color: #595959;
    font-weight: 500;
    line-height: 1.7;
    margin: 0;
}

/* Timeline */
.mk-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.mk-timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, #03b895 0%, rgba(3, 184, 149, 0.2) 100%);
    z-index: 0;
}

.mk-timeline__step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 8px;
}

.mk-timeline__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(180deg, #02e7b9 0%, #04b894 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(3, 184, 149, 0.25);
}

.mk-timeline__title {
    font-size: 16px;
    font-weight: 700;
    color: #19233d;
    margin-bottom: 8px;
}

.mk-timeline__text {
    font-size: 13px;
    color: #595959;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* Customer grid */
.mk-customer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mk-customer-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #ebebeb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mk-customer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.mk-customer-card__body {
    padding: 20px;
}

.mk-customer-card__image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.mk-customer-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #19233d;
    margin-bottom: 6px;
}

.mk-customer-card__text {
    font-size: 13px;
    color: #595959;
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
}

/* Calculator */
.mk-calculator {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    border: 1px solid #ebebeb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 640px;
    margin: 0 auto;
}

.mk-calculator__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #19233d;
    margin-bottom: 8px;
}

.mk-calculator__input {
    width: 100%;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #19233d;
    margin-bottom: 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-calculator__input:focus {
    outline: none;
    border-color: #03b895;
    box-shadow: 0 0 0 3px rgba(3, 184, 149, 0.15);
}

.mk-calculator__result {
    background: linear-gradient(135deg, #02e7b9 0%, #04b894 100%);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-top: 8px;
}

.mk-calculator__result-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.mk-calculator__result-value {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.mk-calculator__disclaimer {
    font-size: 12px;
    color: #6f6f6f;
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 0;
    text-align: center;
}

/* FAQ section */
.mk-faq-section .accordion-button:not(.collapsed) {
    color: #19233d;
}

.mk-faq-banner__image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 280px;
    object-fit: cover;
    border-radius: 15px;
}

/* CTA */
.mk-cta {
    background: linear-gradient(180deg, #02e7b9 0%, #04b894 100%);
    border-radius: 20px;
    padding: 64px 48px;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 16px 40px rgba(3, 184, 149, 0.2);
}

.mk-cta__title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.mk-cta__text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 28px;
}

.mk-cta .btn-light {
    background: #fff;
    color: #03b895;
    border-color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mk-cta .btn-light:hover {
    background: #fff;
    color: #028f74;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Partner modal */
.mk-partner-modal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.mk-partner-modal .modal-header {
    border-bottom: 1px solid #ebebeb;
    padding: 20px 24px;
}

.mk-partner-modal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #19233d;
}

.mk-partner-modal .modal-body {
    padding: 28px 24px;
}

.mk-partner-modal__placeholder {
    background: #fafafa;
    border: 1px dashed #ebebeb;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    color: #595959;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
}

.mk-partner-modal .modal-footer {
    border-top: 1px solid #ebebeb;
    padding: 16px 24px;
}

/* Buttons */
.mk-btn-partner {
    cursor: pointer;
}

.btn-primary.mk-btn-partner:hover,
.btn-outline-primary.mk-btn-partner:hover {
    transform: translateY(-1px);
}

/* Scroll reveal animations */
.mk-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mk-reveal.mk-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.mk-reveal--delay-1 { transition-delay: 0.1s; }
.mk-reveal--delay-2 { transition-delay: 0.2s; }
.mk-reveal--delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 991px) {
    .mk-card-grid,
    .mk-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-customer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .mk-timeline::before {
        display: none;
    }

    .mk-feature-row,
    .mk-feature-row--reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mk-feature-row--reverse .mk-feature-row__media,
    .mk-feature-row--reverse .mk-feature-row__content {
        order: unset;
    }

    .mk-hero {
        padding-top: 24px;
    }

    .mk-hero__image-wrap {
        margin-top: 32px;
    }
}

@media (max-width: 767px) {
    .mk-section {
        padding: 48px 0;
    }

    .mk-section__title {
        font-size: 28px;
    }

    .mk-card-grid,
    .mk-feature-grid,
    .mk-customer-grid,
    .mk-timeline {
        grid-template-columns: 1fr;
    }

    .mk-photo-placeholder--hero {
        min-height: 280px;
    }

    .mk-cta {
        padding: 40px 24px;
        border-radius: 15px;
    }

    .mk-calculator {
        padding: 28px 20px;
    }

    .mk-hero__actions {
        flex-direction: column;
    }

    .mk-hero__actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mk-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .mk-card:hover,
    .mk-feature-card:hover,
    .mk-customer-card:hover {
        transform: none;
    }
}
