:root {
    --desptek-primary: #6D62FF; /* azul principal de textos / acentos */
    --desptek-accent: #B3A9F7; /* color principal de botones */
    --desptek-dark: #111322;
    --desptek-muted: #6c6f7f;
    --desptek-border: #E5E7FF;
    --desptek-bg-soft: #F6F5FF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--desptek-dark);
    background-color: #ffffff;
}
section {
    background-color: #ffffff;
}
.main-header {
    border-bottom: 1px solid var(--desptek-border);
    background-color: #ffffff;
}

/* Logo en encabezado */
.logo-header {
    height: 42px; /* tamaño ideal según la maqueta */
    width: auto;
    display: block;
}

/* Logo en footer */
.logo-footer {
    height: 40px;
    width: auto;
    opacity: 0.9;
}


.navbar {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.03em;
    font-size: 1.25rem;
    color: var(--desptek-dark);
}

    .navbar-brand:hover {
        color: var(--desptek-dark);
    }

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--desptek-muted);
    margin-left: 1.5rem;
    position: relative;
    padding-bottom: 0.2rem;
}

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -0.2rem;
        width: 0;
        height: 2px;
        border-radius: 999px;
        background-color: var(--desptek-primary);
        transition: width 0.2s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: var(--desptek-primary);
    }

        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link:focus::after {
            width: 100%;
        }

/* Móvil: que no se vea tan pegado */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin-left: 0;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

.btn-primary {
    background-color: var(--desptek-accent);
    border-color: var(--desptek-accent);
    color: #1f1f2b;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.65rem 1.6rem;
    font-size: 0.95rem;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #9f95f4; /* un poquito más oscuro */
        border-color: #9f95f4;
        color: #1f1f2b;
    }
    /* Quitar el focus azul de Bootstrap y usar uno lila */
    .btn-outline-primary:focus,
    .btn-outline-primary:focus-visible,
    .btn-outline-primary:active:focus,
    .btn-outline-primary.show:focus,
    .btn-primary:focus,
    .btn-primary:focus-visible,
    .btn-modal-back:focus,
    .btn-modal-back:focus-visible {
        outline: none;
        box-shadow: 0 0 0 0.18rem rgba(179, 169, 247, 0.7); /* #B3A9F7 lila de tu paleta */
    }


/* Hero */
.hero-section {
    background-color: #ffffff;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}


.hero-title {
    font-weight: 800;
    line-height: 1.1;
    color: var(--desptek-dark);
    font-size: clamp(2.3rem, 3.2vw + 1rem, 3.1rem);
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--desptek-muted);
    max-width: 480px;
}

.hero-illustration {
    max-width: 460px;
    border-radius: 1.75rem;
    box-shadow: 0 26px 60px rgba(17, 19, 34, 0.18);
    display: inline-block;
}


/* Cards */
.service-card {
    border: 1px solid var(--desptek-border); /* #E5E7FF */
    border-radius: 1.25rem;
    padding: 2rem 1.5rem !important;
    box-shadow: 0 8px 24px rgba(17, 19, 34, 0.04);
    transition: all .2s ease;
}

    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 32px rgba(17, 19, 34, 0.08);
    }


/* Sección contacto, botones, etc. */
/* Espaciado general de secciones */
.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.btn-outline-primary {
    border-color: var(--desptek-accent);
    color: var(--desptek-primary);
    font-weight: 600;
    border-radius: 999px;
}

    .btn-outline-primary:hover {
        background-color: var(--desptek-accent);
        border-color: var(--desptek-accent);
        color: #fff;
    }


/* Títulos y subtítulos */
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--desptek-dark);
    margin-bottom: .25rem;
}

    .section-title::after {
        content: "";
        display: block;
        width: 55px;
        height: 3px;
        background-color: var(--desptek-primary); /* azul del diseño */
        margin: .35rem auto 0 auto;
        border-radius: 10px;
    }


/* Tarjetas info (Misión / Visión) */
.info-card {
    background: #ffffff;
    padding: 2rem 2.2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--desptek-border); /* #E5E7FF */
    box-shadow: 0 8px 24px rgba(17, 19, 34, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .info-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(17, 19, 34, 0.08);
    }

.info-card-title {
    font-size: 1.20rem;
    font-weight: 500; /* no tan bold */
    color: var(--desptek-dark);
}


.info-card-header {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .7rem;
}

    .info-card-header h5 {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0;
        color: var(--desptek-dark);
    }


.info-icon-clean {
    width: 36px; 
    height: 36px;
    margin-right: 0.6rem;
    object-fit: contain;
    display: inline-block;
    /* color lila */
    filter: brightness(0) saturate(100%) invert(33%) sepia(59%) saturate(7441%) hue-rotate(233deg) brightness(101%) contrast(101%);
}




/*.info-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 76, 139, 0.08);
    color: #ff4c8b;
    font-size: 1.2rem;
}*/
    /*.info-card-icon img.info-card-image {
        width: 22px;*/ /* tamaño ajustable */
        /*height: 22px;
        object-fit: contain;
        display: block;
    }*/


.info-card-text {
    color: var(--desptek-muted); /* gris */
    font-size: 0.95rem;
    line-height: 1.6;
}

.text-highlight-primary {
    color: var(--desptek-primary); /* lila/azul del diseño */
    font-weight: 600;
}


/* Valores */

.valores-list {
    margin-top: 2rem;
}

.valor-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--desptek-dark);
    margin-bottom: 0.3rem;
}


.valor-text {
    font-size: 0.95rem;
    color: var(--desptek-muted);
    line-height: 1.5;
    margin: 0;
}

 /*servicios*/

/* Lista de actividades en los modales de servicios */
.modal-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.5rem;
}

    .modal-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.35rem;
        font-size: 0.9rem;
    }

/* Icono pequeño morado en cada bullet */
.modal-list-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(33%) sepia(59%) saturate(7441%) hue-rotate(233deg) brightness(101%) contrast(101%);
}




/* Casos de éxito */
.case-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(255, 76, 139, 0.12);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.03);
}

.case-tag {
    font-size: 0.8rem;
    color: #ff4c8b;
    margin-bottom: 0.5rem;
}

.case-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.8rem;
}

.case-link {
    font-size: 0.85rem;
    color: #ff4c8b;
}

/* Contacto */
.contact-section {
    background-color: #ffffff;
}


/* CARD DE CONTACTO – BORDE NEGRO */
.contact-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #000000 !important; /* borde negro */
    box-shadow: none !important; /* sin glow rosado */
}

/* Avatar grande de usuario */
.contact-big-avatar {
    width: 250px; /* ajústalo a tu gusto: 170–200px */
    height: 250px;
    object-fit: contain;
    display: block;
}

/* ===== ICONOS EN INPUTS DEL FORMULARIO DE CONTACTO ===== */

.input-icon {
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 18px;
    padding-left: 40px !important;
}

/* Icono usuario (Nombre) */
.icon-user {
    background-image: url('/img/icons/Vector.png');
}

/* Icono empresa */
.icon-company {
    background-image: url('/img/icons/domain.png'); /* o el que tú tengas */
}

/* Icono correo */
.icon-mail {
    background-image: url('/img/icons/alternate_email.png');
}

/* Icono teléfono */
.icon-phone {
    background-image: url('/img/icons/call.png');
}



.contact-info p {
    color: #555;
}

.contact-card .form-label {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Banda final (franja rosa de la maqueta) */
.cta-band {
    border-radius: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #ff4c8b, #ff99c2);
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Responsive pequeño ajuste */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.6rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

/* ===== MODALES SERVICIOS DESPTEK ===== */

.modal-soft .modal-dialog {
    max-width: 920px;
}

.modal-soft .modal-content {
    border-radius: 1.75rem;
    border: 1px solid var(--desptek-border);
    box-shadow: 0 24px 70px rgba(17, 19, 34, 0.25);
}

.modal-soft .modal-header {
    padding-top: 1.5rem;
    padding-bottom: 0.75rem;
}

    .modal-soft .modal-header .modal-title {
        font-size: 1.28rem; 
        font-weight: 700; 
        color: var(--desptek-dark); 
        margin-top: .35rem;
        text-align: center;
        letter-spacing: -0.3px; 
    }



.modal-soft .modal-body {
    font-size: 0.9rem;
    color: var(--desptek-muted);
    padding-top: 0;
}

.modal-soft .modal-footer {
    border-top: 0;
    padding-top: 0;
    padding-bottom: 1.5rem;
    justify-content: flex-end;
}

/* Icono superior del modal */
.modal-top-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(33%) sepia(59%) saturate(7441%) hue-rotate(233deg) brightness(101%) contrast(101%);
}

/* Imagen principal dentro del modal */
.modal-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* Lista con iconitos morados dentro del modal */
.modal-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.5rem;
}

    .modal-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.35rem;
        font-size: 0.9rem;
    }

.modal-list-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(33%) sepia(59%) saturate(7441%) hue-rotate(233deg) brightness(101%) contrast(101%);
}

/* Botón "Regresar" estilo Figma */
.btn-modal-back {
    border-radius: 999px;
    border: 1px solid var(--desptek-accent);
    background-color: #ffffff;
    color: var(--desptek-primary);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4rem 1.4rem;
}

    .btn-modal-back:hover {
        background-color: var(--desptek-accent);
        border-color: var(--desptek-accent);
        color: #ffffff;
    }


/* Lista con bullet rosita tipo maqueta */
.custom-list li {
    position: relative;
    list-style: none;
    padding-left: 1.8rem;
    margin-bottom: 0.45rem;
}

    .custom-list li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 2px;
        width: 16px;
        height: 16px;
        background-image: url('/img/icons/check.png'); /* <-- usa tu ícono */
        background-size: contain;
        background-repeat: no-repeat;
        /* pintar el icono de morado */
        filter: brightness(0) saturate(100%) invert(33%) sepia(59%) saturate(7441%) hue-rotate(233deg) brightness(101%) contrast(101%);
    }


/* ¿Por qué elegirnos? */
.why-section {
    background-color: #ffffff;
}


.why-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(255, 76, 139, 0.15);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.why-card-header {
    font-size: 1.1rem;
    color: #ff4c8b;
}

.why-arrow {
    font-weight: 600;
}

.why-title {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.why-text {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Card central con imagen tipo “gatito” de la maqueta */
.special-card {
    align-items: center;
}

.why-image-placeholder {
    width: 190px;
    height: 220px;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top, var(--desptek-primary), var(--desptek-secondary));
}

/* Responsive */
@media (max-width: 767.98px) {
    .why-image-placeholder {
        width: 160px;
        height: 190px;
    }
}

/* Asegura alineación correcta entre ícono y título */
.info-card-header {
    display: flex;
    align-items: center;
}


.service-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin: 0 auto 0.75rem auto;
    filter: brightness(0) saturate(100%) invert(33%) sepia(59%) saturate(7441%) hue-rotate(233deg) brightness(101%) contrast(101%);
}


.modal-top-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(33%) sepia(59%) saturate(7441%) hue-rotate(233deg) brightness(101%) contrast(101%);
}

/* Banner en la sección de contacto */
.banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem; /* opcional si quieres esquinas suaves */
}

/* El contenedor que lo envuelve */
.cta-band {
    padding: 0;
    background: none;
}

.modal-img {
    width: 100%;
    height: 260px; /* ajusta a tu gusto, o quítalo para full auto */
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* ===== CASOS DE ÉXITO ===== */

.case-card-modern {
    background: #fff;
    border: 1px solid var(--desptek-border);
    border-radius: 1.25rem;
    padding: 1.7rem 1.8rem;
    box-shadow: 0 12px 32px rgba(17, 19, 34, 0.05);
    transition: all .25s ease;
}

    .case-card-modern:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(17,19,34,0.08);
    }

.case-card-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--desptek-dark);
    margin-bottom: 0.35rem;
}


.case-sector {
    color: #ff4c8b;
    font-size: .9rem;
    margin-bottom: .4rem;
}

.case-desc {
    color: var(--desptek-muted);
    font-size: .92rem;
    margin-bottom: 0.8rem;
}

/* MODALES CASOS DE ÉXITO */
.modal-title-strong {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: var(--desptek-dark) !important;
    text-align: center;
}

.modal-section-title {
    font-weight: 700;
    font-size: .95rem;
    margin-top: 1.2rem;
    color: var(--desptek-dark);
}

.modal-text {
    color: var(--desptek-muted);
    font-size: .9rem;
    margin-bottom: .8rem;
}

.modal-list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: .45rem;
}

.modal-list-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(33%) sepia(59%) saturate(7441%) hue-rotate(233deg) brightness(101%) contrast(101%);
}
/* ==== BOTONES DEL FORMULARIO DE CONTACTO ==== */

/* Clase base: misma forma y altura para ambos */
.btn-form {
    border-radius: 10px; /* mismo radio para los dos */
    padding: 0.55rem 1.4rem; /* mismo alto para ambos */
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem; /* separación texto / icono */
    line-height: 1; /* evita que se vea más alto por line-height */
}

    /* Iconos dentro de los botones (img o <i> de bootstrap) */
    .btn-form .btn-icon,
    .btn-form i.bi {
        width: 16px;
        height: 16px;
        object-fit: contain;
    }

/* === BOTÓN PRIMARIO (Enviar – morado) === */
.btn-form-primary {
    background: var(--desptek-accent);
    border: 1px solid var(--desptek-accent);
    color: #ffffff;
    transition: 0.2s ease;
}

    .btn-form-primary:hover {
        background: #9f95f4;
        border-color: #9f95f4;
    }

/* === BOTÓN SECUNDARIO (Eliminar – blanco con borde lila) === */
.btn-form-secondary {
    background: #ffffff; /* blanco */
    border: 1px solid var(--desptek-accent); /* borde lila */
    color: var(--desptek-dark); /* texto oscuro */
    transition: 0.2s ease;
}

    .btn-form-secondary:hover {
        background: var(--desptek-accent); /* hover lila */
        color: #ffffff; /* texto blanco en hover */
    }
