/* =====================================================
   CRM PYMEVI
===================================================== */

:root {
    --crm-blue: #0d62ad;
    --crm-blue-dark: #063b6d;
    --crm-blue-light: #eaf4ff;
    --crm-text: #172033;
    --crm-muted: #6d7889;
    --crm-border: #e4e9f0;
    --crm-bg: #f7f9fc;
}


/* =====================================================
   CONTENEDOR
===================================================== */

.crm-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}


/* =====================================================
   HERO
===================================================== */

.crm-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 110px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(13, 98, 173, 0.15),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f9fd 100%
        );
}


.crm-hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        rgba(13, 98, 173, 0.07);

    filter: blur(80px);

    top: -200px;
    right: -150px;
}


.crm-hero .crm-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}


/* =====================================================
   TAG
===================================================== */

.crm-tag,
.section-tag {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--crm-blue);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.crm-tag span,
.section-tag span {
    display: block;

    width: 35px;
    height: 2px;

    background: var(--crm-blue);
}


/* =====================================================
   HERO TEXTO
===================================================== */

.crm-hero h1 {
    margin-top: 25px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 700;

    color: var(--crm-text);

    letter-spacing: -2px;
}


.crm-hero h1 strong {
    display: block;

    color: var(--crm-blue);
}


.crm-description {
    margin-top: 28px;

    max-width: 580px;

    font-size: 18px;

    line-height: 1.8;

    color: var(--crm-muted);
}


/* =====================================================
   BOTONES HERO
===================================================== */

.crm-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}


.crm-btn-primary {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 16px 25px;

    border-radius: 12px;

    background: var(--crm-blue);

    color: white;

    text-decoration: none !important;

    font-weight: 600;

    box-shadow:
        0 12px 30px
        rgba(13, 98, 173, 0.22);

    transition: 0.3s;
}


.crm-btn-primary:hover {
    background: var(--crm-blue-dark);

    color: white;

    transform: translateY(-3px);
}


.crm-btn-primary i {
    transition: 0.3s;
}


.crm-btn-primary:hover i {
    transform: translateX(5px);
}


.crm-btn-secondary {
    display: inline-flex;

    align-items: center;

    padding: 16px 25px;

    border: 1px solid #d7e0ea;

    border-radius: 12px;

    background: white;

    color: var(--crm-text);

    text-decoration: none !important;

    font-weight: 600;

    transition: 0.3s;
}


.crm-btn-secondary:hover {
    border-color: var(--crm-blue);

    color: var(--crm-blue);

    transform: translateY(-3px);
}


/* =====================================================
   ESTADISTICAS RAPIDAS
===================================================== */

.crm-quick-stats {
    display: flex;

    gap: 30px;

    margin-top: 45px;
}


.quick-stat {
    display: flex;

    align-items: center;

    gap: 13px;
}


.quick-icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: white;

    color: var(--crm-blue);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.06);
}


.quick-stat strong {
    display: block;

    font-size: 14px;

    color: var(--crm-text);
}


.quick-stat span {
    display: block;

    margin-top: 3px;

    font-size: 12px;

    color: var(--crm-muted);
}


/* =====================================================
   DASHBOARD
===================================================== */

.crm-hero-visual {
    position: relative;

    min-height: 540px;

    display: flex;

    align-items: center;
}


.crm-glow {
    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background:
        rgba(13, 98, 173, 0.18);

    filter: blur(80px);

    top: 60px;
    left: 50px;
}


.crm-dashboard {
    position: relative;

    z-index: 2;

    width: 100%;

    padding: 30px;

    background:
        rgba(255, 255, 255, 0.92);

    border: 1px solid
        rgba(220, 228, 238, 0.9);

    border-radius: 25px;

    box-shadow:
        0 30px 70px
        rgba(20, 50, 90, 0.15);

    backdrop-filter:
        blur(15px);
}


/* =====================================================
   DASHBOARD HEADER
===================================================== */

.dashboard-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;
}


.dashboard-label {
    display: block;

    font-size: 10px;

    letter-spacing: 1.5px;

    font-weight: 700;

    color: var(--crm-blue);
}


.dashboard-top h3 {
    margin: 7px 0 0;

    font-size: 20px;

    color: var(--crm-text);
}


.dashboard-avatar {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--crm-blue),
            #35a4f3
        );

    color: white;

    font-weight: 700;
}


/* =====================================================
   STATS DASHBOARD
===================================================== */

.dashboard-stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 28px;
}


.dashboard-stat {
    padding: 16px;

    border-radius: 14px;

    background: #f7f9fc;
}


.dashboard-stat span {
    display: block;

    font-size: 11px;

    color: var(--crm-muted);
}


.dashboard-stat strong {
    display: block;

    margin-top: 8px;

    font-size: 25px;

    color: var(--crm-text);
}


.dashboard-stat small {
    display: block;

    margin-top: 5px;

    font-size: 10px;

    color: #28a96b;
}


/* =====================================================
   PIPELINE
===================================================== */

.crm-pipeline {
    padding-top: 5px;
}


.pipeline-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;
}


.pipeline-header h4 {
    margin: 0;

    font-size: 15px;

    color: var(--crm-text);
}


.pipeline-header span {
    font-size: 11px;

    color: var(--crm-blue);
}


.pipeline-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 14px 0;

    border-bottom:
        1px solid var(--crm-border);
}


.pipeline-info {
    display: flex;

    align-items: center;

    gap: 12px;
}


.pipeline-info strong {
    display: block;

    font-size: 13px;

    color: var(--crm-text);
}


.pipeline-info small {
    display: block;

    margin-top: 3px;

    font-size: 11px;

    color: var(--crm-muted);
}


.pipeline-dot {
    width: 10px;
    height: 10px;

    border-radius: 50%;
}


.pipeline-dot.blue {
    background: #1685df;
}

.pipeline-dot.purple {
    background: #7d5cff;
}

.pipeline-dot.orange {
    background: #f59e0b;
}

.pipeline-dot.green {
    background: #22b573;
}


/* =====================================================
   TARJETA FLOTANTE
===================================================== */

.crm-floating-card {
    position: absolute;

    z-index: 3;

    left: -40px;
    bottom: 20px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px 20px;

    background: white;

    border-radius: 15px;

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.14);

    animation:
        floatingCRM 4s ease-in-out infinite;
}


@keyframes floatingCRM {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }

}


.floating-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--crm-blue-light);

    color: var(--crm-blue);
}


.crm-floating-card strong {
    display: block;

    font-size: 12px;

    color: var(--crm-text);
}


.crm-floating-card span {
    display: block;

    margin-top: 3px;

    font-size: 10px;

    color: var(--crm-muted);
}


/* =====================================================
   INTRO
===================================================== */

.crm-intro {
    padding: 120px 0;

    background: white;
}


.crm-intro-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    align-items: center;

    gap: 100px;
}


/* =====================================================
   CONTACT CARD
===================================================== */

.crm-contact-card {
    padding: 35px;

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eef5fb
        );

    border:
        1px solid #e2eaf2;

    box-shadow:
        0 25px 70px
        rgba(20, 60, 100, 0.12);
}


.contact-header {
    display: flex;

    align-items: center;

    gap: 15px;
}


.contact-avatar {
    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            var(--crm-blue),
            #3aa6f4
        );

    color: white;

    font-weight: 700;
}


.contact-header strong {
    display: block;

    color: var(--crm-text);
}


.contact-header span {
    display: block;

    margin-top: 4px;

    font-size: 13px;

    color: var(--crm-muted);
}


.contact-company {
    margin-top: 30px;

    padding: 15px;

    border-radius: 12px;

    background: white;

    color: var(--crm-muted);

    font-size: 13px;
}


.contact-company i {
    margin-right: 8px;

    color: var(--crm-blue);
}


.contact-status {
    margin-top: 25px;
}


.contact-status span {
    display: inline-block;

    padding: 7px 12px;

    border-radius: 30px;

    background: #e7f8ef;

    color: #20905a;

    font-size: 11px;

    font-weight: 600;
}


.contact-progress {
    margin-top: 35px;
}


.progress-line {
    width: 100%;
    height: 8px;

    overflow: hidden;

    border-radius: 20px;

    background: #dfe8f0;
}


.progress-line span {
    display: block;

    width: 68%;
    height: 100%;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--crm-blue),
            #45a9ef
        );
}


.progress-labels {
    display: flex;

    justify-content: space-between;

    margin-top: 10px;

    font-size: 10px;

    color: var(--crm-muted);
}


/* =====================================================
   INTRO TEXTO
===================================================== */

.crm-intro-content h2 {
    margin-top: 25px;

    font-size: 42px;

    line-height: 1.2;

    color: var(--crm-text);
}


.crm-intro-content h2 strong {
    display: block;

    color: var(--crm-blue);
}


.crm-intro-content p {
    margin-top: 22px;

    font-size: 16px;

    line-height: 1.8;

    color: var(--crm-muted);
}


.crm-check-list {
    margin-top: 30px;

    padding: 0;

    list-style: none;
}


.crm-check-list li {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 16px;

    color: var(--crm-text);

    font-size: 14px;
}


.crm-check-list i {
    width: 25px;
    height: 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--crm-blue-light);

    color: var(--crm-blue);

    font-size: 11px;
}


/* =====================================================
   FEATURES
===================================================== */

.crm-features-section {
    padding: 120px 0;

    background: var(--crm-bg);
}


.crm-section-header {
    max-width: 700px;

    margin: 0 auto 65px;

    text-align: center;
}


.section-tag.center {
    justify-content: center;
}


.crm-section-header h2 {
    margin-top: 25px;

    font-size: 45px;

    line-height: 1.2;

    color: var(--crm-text);
}


.crm-section-header h2 strong {
    display: block;

    color: var(--crm-blue);
}


.crm-section-header p {
    margin-top: 20px;

    font-size: 16px;

    color: var(--crm-muted);
}


.crm-features-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.crm-feature-card {
    padding: 35px;

    border-radius: 20px;

    background: white;

    border:
        1px solid transparent;

    transition: 0.3s;
}


.crm-feature-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(13, 98, 173, 0.25);

    box-shadow:
        0 20px 50px
        rgba(20, 60, 100, 0.1);
}


.feature-icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: var(--crm-blue-light);

    color: var(--crm-blue);

    font-size: 21px;

    margin-bottom: 25px;
}


.crm-feature-card h3 {
    font-size: 19px;

    color: var(--crm-text);
}


.crm-feature-card p {
    margin-top: 13px;

    font-size: 14px;

    line-height: 1.7;

    color: var(--crm-muted);
}


/* =====================================================
   PROCESO
===================================================== */

.crm-process-section {
    padding: 120px 0;

    background: white;
}


.crm-process-header {
    text-align: center;

    margin-bottom: 70px;
}


.crm-process-header h2 {
    margin-top: 25px;

    font-size: 45px;

    color: var(--crm-text);
}


.crm-process-header h2 strong {
    color: var(--crm-blue);
}


.crm-process {
    display: flex;

    align-items: flex-start;

    justify-content: center;
}


.process-step {
    width: 220px;

    text-align: center;

    position: relative;
}


.process-number {
    margin-bottom: 18px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    color: var(--crm-blue);
}


.process-icon {
    width: 80px;
    height: 80px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background: var(--crm-blue-light);

    color: var(--crm-blue);

    font-size: 27px;
}


.process-step h3 {
    font-size: 19px;

    color: var(--crm-text);
}


.process-step p {
    margin-top: 12px;

    font-size: 13px;

    line-height: 1.7;

    color: var(--crm-muted);
}


.process-line {
    width: 60px;

    height: 1px;

    margin-top: 75px;

    background:
        linear-gradient(
            90deg,
            var(--crm-blue),
            #dbe6f0
        );
}


/* =====================================================
   CTA
===================================================== */

.crm-cta {
    padding: 100px 0 120px;

    background: var(--crm-bg);
}


.crm-cta-box {
    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 70px 80px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            var(--crm-blue-dark),
            var(--crm-blue)
        );

    color: white;
}


.crm-cta-box::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);

    top: -250px;
    right: -100px;
}


.crm-cta-content {
    position: relative;

    z-index: 2;

    max-width: 650px;
}


.section-tag.light {
    color: #bfe2ff;
}


.section-tag.light span {
    background: #bfe2ff;
}


.crm-cta h2 {
    margin-top: 25px;

    font-size: 45px;

    line-height: 1.2;

    color: white;
}


.crm-cta h2 strong {
    display: block;

    color: #bfe2ff;
}


.crm-cta p {
    margin-top: 20px;

    max-width: 600px;

    font-size: 16px;

    line-height: 1.8;

    color:
        rgba(255, 255, 255, 0.75);
}


.crm-btn-light {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 30px;

    padding: 16px 25px;

    border-radius: 12px;

    background: white;

    color: var(--crm-blue);

    text-decoration: none !important;

    font-weight: 700;

    transition: 0.3s;
}


.crm-btn-light:hover {
    color: var(--crm-blue-dark);

    transform: translateY(-3px);
}


.crm-cta-icon {
    position: relative;

    z-index: 2;

    width: 160px;
    height: 160px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 35px;

    background:
        rgba(255, 255, 255, 0.1);

    font-size: 65px;

    color:
        rgba(255, 255, 255, 0.9);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .crm-hero .crm-container {
        gap: 50px;
    }

    .crm-intro-grid {
        gap: 60px;
    }

    .crm-cta-box {
        padding: 60px;
    }

}


@media (max-width: 991px) {

    .crm-hero {
        padding-top: 120px;
    }


    .crm-hero .crm-container {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .crm-tag {
        justify-content: center;
    }


    .crm-description {
        margin-left: auto;
        margin-right: auto;
    }


    .crm-buttons,
    .crm-quick-stats {
        justify-content: center;
    }


    .crm-hero-visual {
        max-width: 650px;

        width: 100%;

        margin: 20px auto 0;
    }


    .crm-intro-grid {
        grid-template-columns: 1fr;
    }


    .crm-intro-content {
        text-align: center;
    }


    .crm-check-list {
        display: inline-block;

        text-align: left;
    }


    .crm-features-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .crm-process {
        flex-wrap: wrap;

        gap: 30px;
    }


    .process-line {
        display: none;
    }


    .crm-cta-box {
        text-align: center;

        flex-direction: column;

        gap: 40px;
    }

}


@media (max-width: 767px) {

    .crm-container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .crm-hero {
        padding: 100px 0 70px;
    }


    .crm-hero h1 {
        font-size: 42px;
    }


    .crm-description {
        font-size: 16px;
    }


    .crm-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .crm-btn-primary,
    .crm-btn-secondary {
        justify-content: center;
    }


    .crm-quick-stats {
        flex-direction: column;

        align-items: center;
    }


    .quick-stat {
        width: 100%;

        max-width: 280px;
    }


    .crm-dashboard {
        padding: 20px;
    }


    .dashboard-stats {
        grid-template-columns: 1fr;
    }


    .crm-floating-card {
        position: relative;

        left: auto;
        bottom: auto;

        margin: 20px auto 0;

        width: fit-content;
    }


    .crm-intro,
    .crm-features-section,
    .crm-process-section {
        padding: 80px 0;
    }


    .crm-intro-content h2,
    .crm-section-header h2,
    .crm-process-header h2,
    .crm-cta h2 {
        font-size: 34px;
    }


    .crm-features-grid {
        grid-template-columns: 1fr;
    }


    .crm-feature-card {
        padding: 28px;
    }


    .crm-process {
        flex-direction: column;

        align-items: center;
    }


    .process-step {
        width: 100%;
        max-width: 300px;
    }


    .crm-cta {
        padding: 70px 0;
    }


    .crm-cta-box {
        padding: 45px 25px;

        border-radius: 22px;
    }


    .crm-cta-icon {
        width: 110px;
        height: 110px;

        font-size: 45px;

        border-radius: 25px;
    }

}


@media (max-width: 400px) {

    .crm-hero h1 {
        font-size: 36px;
    }


    .crm-intro-content h2,
    .crm-section-header h2,
    .crm-process-header h2,
    .crm-cta h2 {
        font-size: 30px;
    }

}