/* =============================================
   CRM PLATFORMS & INTEGRATION — ISOLATED CSS
   All classes prefixed "crm-" — zero conflicts
   ============================================= */

.crm-page {
    --crm-bg: #0a0e14;
    --crm-card: #141b24;
    --crm-card2: #1c232d;
    --crm-orange: #eb773e;
    --crm-white: #ffffff;
    --crm-dark: #0a0e14;
    --crm-muted: #8e99a5;
    --crm-border: #2a3441;
    --crm-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Inter', sans-serif;
    color: var(--crm-white);
}

/* ---- LAYOUT UTILS ---- */
.crm-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.crm-wrap--mid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.crm-wrap--narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.crm-accent-bar {
    width: 50px;
    height: 3px;
    background: var(--crm-orange);
    border-radius: 2px;
    margin-top: 10px;
}

/* =============================================
   HERO
   ============================================= */
.crm-hero {
    background: var(--crm-bg);
    padding: 110px 20px 90px;
    position: relative;
    overflow: hidden;
}

.crm-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.crm-hero__content {
    flex: 1.1;
}

.crm-hero__visual {
    flex: 1;
}

.crm-hero__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--crm-orange);
    margin-bottom: 18px;
    display: block;
}

.crm-hero__title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.08;
    color: var(--crm-white);
    margin: 0 0 20px;
}

.crm-hero__title span {
    color: var(--crm-orange);
    display: block;
}

.crm-hero__desc {
    font-size: 1rem;
    color: var(--crm-muted);
    line-height: 1.72;
    max-width: 460px;
    margin: 0 0 34px;
}

.crm-hero__btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.crm-btn--primary {
    background: var(--crm-orange);
    color: #fff;
    padding: 13px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: background 0.25s;
}

.crm-btn--primary:hover {
    background: #d4662c;
    color: #fff;
    text-decoration: none;
}

.crm-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 13px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-block;
    transition: background 0.25s;
}

.crm-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

.crm-hero__img {
    width: 100%;
    border-radius: 18px;
    display: block;
    box-shadow: 0 0 80px rgba(235, 119, 62, 0.15), 0 0 40px rgba(0, 0, 0, 0.5);
}

/* =============================================
   FEATURE CARDS (4-col strip)
   ============================================= */
.crm-features {
    background: white;
    padding: 60px 20px;
}

.crm-features__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.crm-feat-card {
    background: var(--crm-card2);
    padding: 30px 26px;
    border-left: 1px solid var(--crm-border);
    transition: border-color 0.3s;
}

.crm-feat-card:first-child {
    border-left: none;
}

.crm-feat-card:hover {
    border-color: var(--crm-orange);
}

.crm-feat-card__icon {
    width: 40px;
    height: 40px;
    background: rgba(235, 119, 62, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--crm-orange);
    font-size: 1rem;
    margin-bottom: 16px;
}

.crm-feat-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--crm-white);
    margin: 0 0 8px;
}

.crm-feat-card__text {
    font-size: 0.82rem;
    color: var(--crm-muted);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   STATS ROW
   ============================================= */
.crm-stats {
    background: var(--crm-bg);
    padding: 80px 20px;
}

.crm-stats__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--crm-border);
    border-radius: 10px;
    overflow: hidden;
}

.crm-stat {
    padding: 50px 40px;
    border-right: 1px solid var(--crm-border);
    text-align: center;
}

.crm-stat:last-child {
    border-right: none;
}

.crm-stat__val {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--crm-white);
    margin: 0 0 6px;
    line-height: 1;
}

.crm-stat__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--crm-muted);
    margin: 0;
}

/* =============================================
   CORE CRM CAPABILITIES
   ============================================= */
.crm-capabilities {
    background: var(--crm-bg);
    padding: 0 0 90px;
}

.crm-capabilities__head {
    margin-bottom: 36px;
}

.crm-capabilities__head h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--crm-white);
    margin: 0 0 10px;
}

.crm-cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--crm-border);
    border: 1px solid var(--crm-border);
    border-radius: 8px;
    overflow: hidden;
}

.crm-cap-item {
    background: var(--crm-card);
    padding: 26px 24px;
    transition: background 0.25s;
}

.crm-cap-item:hover {
    background: var(--crm-card2);
}

.crm-cap-item__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--crm-white);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.crm-cap-item__title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--crm-orange);
    border-radius: 2px;
    flex-shrink: 0;
}

.crm-cap-item__text {
    font-size: 0.8rem;
    color: var(--crm-muted);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   DATA FLOW STRATEGY
   ============================================= */
.crm-strategy {
    background: white;
    padding: 90px 0;
}

.crm-strategy__row {
    display: flex;
    align-items: center;
    gap: 70px;
}

.crm-strategy__img-wrap {
    flex: 1;
}

.crm-strategy__img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.crm-strategy__body {
    flex: 1.2;
}

.crm-strategy__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--crm-orange);
    margin-bottom: 14px;
    display: block;
}

.crm-strategy__title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--crm-white);
    margin: 0 0 18px;
    line-height: 1.2;
}

.crm-strategy__desc {
    font-size: 0.95rem;
    color: var(--crm-muted);
    line-height: 1.72;
    margin: 0 0 28px;
}

.crm-strategy__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.crm-strategy__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--crm-muted);
    margin-bottom: 14px;
    font-weight: 500;
}

.crm-strategy__list li:last-child {
    margin-bottom: 0;
}

.crm-strategy__list i {
    color: var(--crm-orange);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* =============================================
   ENGINEERING LIFECYCLE
   ============================================= */
.crm-lifecycle {
    background: var(--crm-bg);
    padding: 90px 0;
    text-align: center;
}

.crm-lifecycle__head {
    margin-bottom: 16px;
}

.crm-lifecycle__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--crm-white);
    margin: 0 0 10px;
}

.crm-lifecycle__sub {
    font-size: 0.9rem;
    color: var(--crm-muted);
    margin: 0 0 50px;
}

.crm-lifecycle__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    position: relative;
}

/* connecting line */
.crm-lifecycle__grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 1px;
    background: var(--crm-border);
    z-index: 0;
}

.crm-lc-step {
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.crm-lc-step__num {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--crm-card2);
    border: 2px solid var(--crm-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--crm-orange);
    margin: 0 auto 16px;
    transition: border-color 0.3s, background 0.3s;
}

.crm-lc-step:hover .crm-lc-step__num {
    border-color: var(--crm-orange);
    background: rgba(235, 119, 62, 0.1);
}

.crm-lc-step__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--crm-white);
    margin: 0 0 8px;
}

.crm-lc-step__text {
    font-size: 0.75rem;
    color: var(--crm-muted);
    line-height: 1.55;
    margin: 0;
}

/* =============================================
   INDUSTRY SPECIALIZATION
   ============================================= */
.crm-industries {
    background: white;
    padding: 90px 0;
    text-align: center;
}

.crm-industries__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--crm-orange);
    margin-bottom: 44px;
    display: block;
}

.crm-industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.crm-ind-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.crm-ind-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.4) brightness(0.6);
    transition: filter 0.4s, transform 0.4s;
}

.crm-ind-card:hover .crm-ind-card__bg {
    filter: grayscale(0) brightness(0.7);
    transform: scale(1.04);
}

.crm-ind-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 20, 0.92) 0%, transparent 60%);
}

.crm-ind-card__body {
    position: relative;
    z-index: 2;
    padding: 24px 20px;
    text-align: left;
    width: 100%;
}

.crm-ind-card__icon {
    font-size: 1.4rem;
    color: var(--crm-orange);
    margin-bottom: 8px;
    display: block;
}

.crm-ind-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--crm-white);
    margin: 0;
}

/* =============================================
   FAQ + CONTACT SPLIT
   ============================================= */
.crm-bottom {
    background: var(--crm-bg);
    padding: 90px 0;
}

.crm-bottom__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* FAQ side */
.crm-faq__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--crm-white);
    margin: 0 0 30px;
}

.crm-faq__item {
    background: var(--crm-card2);
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 12px;
}

.crm-faq__btn {
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: none;
    color: var(--crm-white);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    gap: 12px;
    transition: background 0.2s;
}

.crm-faq__btn:hover {
    background: rgba(255, 255, 255, 0.04);
}

.crm-faq__btn i {
    font-size: 0.8rem;
    color: var(--crm-muted);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.crm-faq__item.crm-open .crm-faq__btn i {
    transform: rotate(180deg);
}

.crm-faq__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.crm-faq__item.crm-open .crm-faq__body {
    max-height: 180px;
}

.crm-faq__body p {
    padding: 4px 22px 18px;
    color: var(--crm-muted);
    font-size: 0.85rem;
    line-height: 1.65;
    margin: 0;
}

/* Inline 2-col FAQ grid */
.crm-faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.crm-faq__grid .crm-faq__item {
    margin-bottom: 0;
}

/* Contact / form side */
.crm-contact__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--crm-white);
    margin: 0 0 6px;
}

.crm-contact__title span {
    color: var(--crm-orange);
}

.crm-contact__sub {
    font-size: 0.85rem;
    color: var(--crm-muted);
    margin: 0 0 24px;
    line-height: 1.6;
}

.crm-form__row {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.crm-form__row .crm-field {
    flex: 1;
}

.crm-field {
    display: block;
    width: 100%;
    background: var(--crm-card2);
    border: 1px solid var(--crm-border);
    padding: 13px 15px;
    color: var(--crm-white);
    border-radius: 5px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.crm-field:focus {
    border-color: var(--crm-orange);
}

.crm-field::placeholder {
    color: var(--crm-muted);
    font-size: 0.78rem;
}

.crm-field option {
    background: var(--crm-card);
    color: var(--crm-white);
}

.crm-submit {
    width: 100%;
    background: var(--crm-orange);
    color: #fff;
    border: none;
    padding: 16px;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    transition: background 0.25s;
    text-transform: uppercase;
    margin-top: 4px;
}

.crm-submit:hover {
    background: #d4662c;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    .crm-cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .crm-lifecycle__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .crm-lifecycle__grid::before {
        display: none;
    }

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

@media (max-width: 992px) {
    .crm-hero__inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .crm-hero__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .crm-hero__btns {
        justify-content: center;
    }

    .crm-hero__title {
        font-size: 2.8rem;
    }

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

    .crm-stats__inner {
        grid-template-columns: 1fr;
    }

    .crm-stat {
        border-right: none;
        border-bottom: 1px solid var(--crm-border);
    }

    .crm-stat:last-child {
        border-bottom: none;
    }

    .crm-strategy__row {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .crm-strategy__list li {
        justify-content: center;
    }

    .crm-bottom__row {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .crm-faq__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .crm-hero__title {
        font-size: 2.2rem;
    }

    .crm-features__grid {
        grid-template-columns: 1fr;
    }

    .crm-cap-grid {
        grid-template-columns: 1fr;
    }

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

    .crm-industries__grid {
        grid-template-columns: 1fr;
    }

    .crm-form__row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .crm-hero__title {
        font-size: 1.9rem;
    }

    .crm-lifecycle__grid {
        grid-template-columns: 1fr;
    }

    .crm-stat__val {
        font-size: 2.4rem;
    }
}