/* =====================================================
   DEPARCHE APP SAS
   LANDING PAGE
   MORADO + BLANCO + LILA
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --morado: #9032BB;

    --morado-oscuro: #71258F;

    --morado-profundo: #59206F;

    --lila: #F3E7F8;

    --lila-suave: #FAF5FC;

    --lila-borde: #E7D4ED;

    --blanco: #FFFFFF;

    --texto: #241B28;

    --gris: #766B7A;

    --gris-claro: #A79EAA;

    --sombra:
        0 22px 55px rgba(110, 47, 130, 0.11);

    --sombra-suave:
        0 10px 28px rgba(110, 47, 130, 0.09);

}


/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    font-family:
        "DM Sans",
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #FCF8FD 50%,
            #F5EAF9 100%
        );

    color: var(--texto);

}


/* =====================================================
   LANDING
===================================================== */

.landing {

    width: 100%;

    min-height: 100vh;

    overflow: hidden;

    position: relative;

}


.landing::before {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

    top: -260px;

    right: -150px;

    background:
        radial-gradient(
            circle,
            rgba(144, 50, 187, 0.12),
            transparent 68%
        );

    pointer-events: none;

}


.landing::after {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    bottom: -230px;

    left: -180px;

    background:
        radial-gradient(
            circle,
            rgba(144, 50, 187, 0.08),
            transparent 68%
        );

    pointer-events: none;

}


/* =====================================================
   TOPBAR
===================================================== */

.topbar {

    width: 100%;

    min-height: 82px;

    padding:
        18px
        clamp(22px, 5vw, 70px);

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;

    z-index: 10;

    border-bottom:
        1px solid
        rgba(144, 50, 187, 0.08);

}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: var(--texto);

}


.brand img {

    width: 47px;

    height: 47px;

    object-fit: contain;

    transition:
        transform .3s ease;

}


.brand:hover img {

    transform:
        rotate(-4deg)
        scale(1.05);

}


.brand-text {

    display: flex;

    flex-direction: column;

    gap: 2px;

}


.brand-text strong {

    font-size: 13px;

    font-weight: 900;

    letter-spacing: .3px;

}


.brand-text span {

    font-size: 8px;

    color: var(--morado);

    font-weight: 800;

    letter-spacing: 1.7px;

}


.website-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--morado);

    text-decoration: none;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    padding:
        10px
        15px;

    border:
        1px solid
        var(--lila-borde);

    background:
        rgba(255,255,255,.8);

    border-radius: 999px;

    transition:
        .25s ease;

}


.website-link:hover {

    background: var(--morado);

    color: var(--blanco);

    border-color: var(--morado);

    transform:
        translateY(-2px);

}


/* =====================================================
   HERO
===================================================== */

.hero {

    width: min(1240px, calc(100% - 44px));

    margin:
        0 auto;

    min-height:
        calc(100vh - 82px);

    padding:
        58px 0 42px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(390px, 470px);

    gap:
        clamp(45px, 7vw, 100px);

    align-items: center;

    position: relative;

    z-index: 2;

}


/* =====================================================
   HERO LEFT
===================================================== */

.hero-left {

    max-width: 680px;

}


.mini-label {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--morado);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2.2px;

    margin-bottom: 20px;

}


.mini-label span {

    width: 25px;

    height: 3px;

    background: var(--morado);

    border-radius: 999px;

}


.hero h1 {

    font-size:
        clamp(46px, 6.2vw, 82px);

    line-height:
        .91;

    letter-spacing:
        -4.5px;

    font-weight: 900;

    max-width: 760px;

    margin-bottom: 25px;

}


.hero h1 span {

    display: block;

    color: var(--morado);

}


.hero-description {

    max-width: 540px;

    color: var(--gris);

    font-size: 15px;

    line-height: 1.7;

    margin-bottom: 25px;

}


/* =====================================================
   BOTONES
===================================================== */

.hero-actions {

    display: flex;

    align-items: center;

    gap: 11px;

    flex-wrap: wrap;

    margin-bottom: 31px;

}


.btn-primary,
.btn-secondary {

    min-height: 49px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding:
        0 21px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: .7px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;

}


.btn-primary {

    color: var(--blanco);

    background:
        linear-gradient(
            135deg,
            #9032BB,
            #7B28A0
        );

    box-shadow:
        0 12px 27px
        rgba(144, 50, 187, .22);

}


.btn-primary:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 17px 32px
        rgba(144, 50, 187, .28);

}


.btn-secondary {

    color: var(--morado);

    background: var(--lila);

    border:
        1px solid
        var(--lila-borde);

}


.btn-secondary:hover {

    background: var(--morado);

    color: var(--blanco);

    border-color: var(--morado);

    transform:
        translateY(-3px);

}


/* =====================================================
   SERVICIOS DESTACADOS
===================================================== */

.services-highlight {

    margin-top: 4px;

}


.services-label {

    display: block;

    margin-bottom: 11px;

    color: var(--gris-claro);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(190px, 1fr));

    gap: 9px;

    max-width: 625px;

}


.service-pill {

    min-height: 57px;

    padding:
        9px 12px;

    display: flex;

    align-items: center;

    gap: 10px;

    background:
        rgba(243, 231, 248, .72);

    border:
        1px solid
        rgba(144, 50, 187, .14);

    border-radius: 15px;

    cursor: default;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}


.service-pill:hover {

    transform:
        translateY(-3px);

    background:
        var(--morado);

    border-color:
        var(--morado);

    box-shadow:
        0 12px 25px
        rgba(144, 50, 187, .18);

}


.service-icon {

    width: 36px;

    height: 36px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background:
        rgba(255,255,255,.85);

    color:
        var(--morado);

    font-size: 14px;

    transition:
        .25s ease;

}


.service-pill:hover .service-icon {

    background:
        rgba(255,255,255,.18);

    color:
        var(--blanco);

}


.service-content {

    display: flex;

    flex-direction: column;

    min-width: 0;

}


.service-content strong {

    color:
        var(--morado-oscuro);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .3px;

    line-height: 1.15;

    transition:
        color .25s ease;

}


.service-content small {

    color:
        #947B9D;

    font-size: 8px;

    font-weight: 700;

    margin-top: 2px;

    letter-spacing: .4px;

    transition:
        color .25s ease;

}


.service-pill:hover .service-content strong,
.service-pill:hover .service-content small {

    color:
        var(--blanco);

}


/* =====================================================
   FORMULARIO
===================================================== */

.hero-right {

    width: 100%;

}


.form-card {

    width: 100%;

    padding: 29px;

    background:
        rgba(255,255,255,.95);

    border:
        1px solid
        rgba(144, 50, 187, .13);

    border-radius: 27px;

    box-shadow:
        var(--sombra);

    position: relative;

    overflow: hidden;

}


.form-card::before {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    top: -100px;

    right: -80px;

    background:
        radial-gradient(
            circle,
            rgba(144,50,187,.13),
            transparent 70%
        );

}


.form-heading {

    display: flex;

    align-items: center;

    gap: 12px;

    position: relative;

    z-index: 1;

}


.form-icon {

    width: 43px;

    height: 43px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background:
        var(--lila);

    color:
        var(--morado);

    font-size: 16px;

}


.form-heading span {

    display: block;

    color: var(--morado);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;

    margin-bottom: 2px;

}


.form-heading h2 {

    font-size: 27px;

    line-height: 1;

    letter-spacing: -1px;

    font-weight: 900;

}


.form-description {

    color: var(--gris);

    font-size: 11px;

    line-height: 1.55;

    margin:
        17px 0 20px;

}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

}


.field {

    margin-bottom: 13px;

}


.field label {

    display: block;

    font-size: 9px;

    font-weight: 800;

    margin-bottom: 6px;

}


.field input,
.field textarea {

    width: 100%;

    border:
        1px solid
        #E2D9E5;

    border-radius: 10px;

    background:
        #FFFFFF;

    padding:
        11px 12px;

    font-family: inherit;

    font-size: 11px;

    color: var(--texto);

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;

}


.field input {

    height: 40px;

}


.field textarea {

    min-height: 82px;

    resize: vertical;

}


.field input::placeholder,
.field textarea::placeholder {

    color:
        #B4ACB7;

}


.field input:focus,
.field textarea:focus {

    border-color:
        var(--morado);

    box-shadow:
        0 0 0 3px
        rgba(144,50,187,.08);

}


.form-button {

    width: 100%;

    height: 46px;

    border: none;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #9032BB,
            #75248F
        );

    color: var(--blanco);

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    font-family: inherit;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .8px;

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        opacity .25s ease;

}


.form-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(144,50,187,.24);

}


.form-button:disabled {

    opacity: .6;

    cursor: wait;

    transform: none;

}


.form-status {

    min-height: 17px;

    margin-top: 9px;

    text-align: center;

    font-size: 9px;

    font-weight: 700;

    line-height: 1.4;

}


.form-status.success {

    color:
        #26844D;

}


.form-status.error {

    color:
        #B43855;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    width: min(1240px, calc(100% - 44px));

    margin:
        0 auto;

    min-height: 57px;

    padding:
        13px 0;

    border-top:
        1px solid
        rgba(144, 50, 187, .11);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    position: relative;

    z-index: 5;

}


.footer-info {

    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;

    white-space: nowrap;

    color:
        #8D8491;

    font-size: 8px;

    font-weight: 600;

}


.footer-info a {

    color:
        #8D8491;

    text-decoration: none;

    transition:
        color .2s ease;

}


.footer-info a:hover {

    color:
        var(--morado);

}


.footer-separator {

    color:
        #C9BFD0;

}


.social-icons {

    display: flex;

    align-items: center;

    gap: 6px;

    flex-shrink: 0;

}


.social-icons a {

    width: 29px;

    height: 29px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        var(--lila);

    border:
        1px solid
        var(--lila-borde);

    color:
        var(--morado);

    text-decoration: none;

    font-size: 11px;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        box-shadow .25s ease;

}


.social-icons a:hover {

    background:
        var(--morado);

    border-color:
        var(--morado);

    color:
        var(--blanco);

    transform:
        translateY(-3px);

    box-shadow:
        0 7px 16px
        rgba(144,50,187,.18);

}


/* =====================================================
   ANIMACIONES
===================================================== */

@keyframes aparecer {

    from {

        opacity: 0;

        transform:
            translateY(18px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.hero-left {

    animation:
        aparecer .75s ease both;

}


.hero-right {

    animation:
        aparecer .75s .12s ease both;

}


.service-pill {

    animation:
        aparecer .6s ease both;

}


.service-pill:nth-child(1) {
    animation-delay: .15s;
}


.service-pill:nth-child(2) {
    animation-delay: .22s;
}


.service-pill:nth-child(3) {
    animation-delay: .29s;
}


.service-pill:nth-child(4) {
    animation-delay: .36s;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {

    .hero {

        grid-template-columns:
            1fr 400px;

        gap: 45px;

    }


    .hero h1 {

        font-size:
            clamp(44px, 6vw, 68px);

    }

}


@media (max-width: 850px) {

    .hero {

        min-height: auto;

        padding:
            48px 0 35px;

        grid-template-columns:
            1fr;

        gap: 45px;

    }


    .hero-left {

        max-width: 700px;

    }


    .hero-right {

        max-width: 600px;

    }


    .footer {

        flex-wrap: wrap;

    }

}


@media (max-width: 600px) {

    .topbar {

        padding:
            15px 20px;

    }


    .brand img {

        width: 40px;

        height: 40px;

    }


    .brand-text strong {

        font-size: 11px;

    }


    .website-link {

        padding:
            9px 11px;

        font-size: 8px;

    }


    .hero {

        width:
            min(100% - 30px, 600px);

        padding:
            40px 0 28px;

    }


    .hero h1 {

        font-size: 45px;

        letter-spacing:
            -2.8px;

    }


    .hero-description {

        font-size: 13px;

    }


    .hero-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .btn-primary,
    .btn-secondary {

        width: 100%;

    }


    .services-grid {

        grid-template-columns:
            1fr 1fr;

        gap: 7px;

    }


    .service-pill {

        min-height: 54px;

        padding:
            8px;

        gap: 7px;

    }


    .service-icon {

        width: 31px;

        height: 31px;

        font-size: 12px;

        border-radius: 9px;

    }


    .service-content strong {

        font-size: 8px;

    }


    .service-content small {

        font-size: 7px;

    }


    .form-card {

        padding: 23px 18px;

        border-radius: 22px;

    }


    .form-row {

        grid-template-columns:
            1fr;

        gap: 0;

    }


    .footer {

        width:
            min(100% - 30px, 600px);

        padding:
            16px 0;

        justify-content: center;

        gap: 12px;

    }


    .footer-info {

        white-space: normal;

        justify-content: center;

        flex-wrap: wrap;

        text-align: center;

    }


    .social-icons {

        width: 100%;

        justify-content: center;

    }

}


@media (max-width: 390px) {

    .hero h1 {

        font-size: 39px;

    }


    .services-grid {

        grid-template-columns:
            1fr;

    }

}


/* =====================================================
   REDUCIR MOVIMIENTO
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

        scroll-behavior: auto !important;

    }

}