/* Variables de color */
:root {
    --morado: #6B1FB1;
    --magenta: #E255C5;
    --violeta-oscuro: #2B0A64;
    --rosa-neon: #FF00A8;
    --gris-oscuro: #3A3A3A;
    --blanco: #FFFFFF;
    --fondo-gris: #F5F5F5;
}

.metodo-list li {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    display: flex;
    align-items: flex-start;
}

.metodo-list .bullet {
    color: var(--morado);
    /* tu color corporativo */
    font-weight: bold;
    margin-right: 10px;
}

/* Tipografía general */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--gris-oscuro);
    background-color: var(--blanco);
    line-height: 1.6;
}

.navbar-custom {
    background-color: rgba(255, 255, 255, 0.966);
    z-index: 1050;
}



.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-top: 4px solid var(--morado);
}


/* Encabezados */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}


/* Navbar */
.navbar .nav-link {
    font-weight: 600;
    color: var(--gris-oscuro);
    transition: color 0.2s ease;
    transition: all 0.2s ease-in-out;
}


.navbar .nav-link:hover {
    color: var(--morado);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    font-weight: 1000;
    font-size: 17px;
}

.navbar-brand img {
    max-height: 40px;
    max-width: 120px;
    padding-bottom: 7px;
}

.bg-white.rounded.shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded.shadow:hover {
    transform: scale(1.05);
    /* Se agranda un 5% */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    /* Sombra más fuerte */
}

/* Botones */
.btn-primary {

    background-color: #bb27e0;
    border-color: var(--gris-oscuro);
    border: 1.5px solid black;
    transition: all 0.3s ease;
    /* transición suave */
}

.btn-primary:hover {
    background-color: var(--violeta-oscuro);
    border-color: var(--violeta-oscuro);
    border: 2px solid black;
    transform: scale(1.02);
    /* lo agranda un 5% */
}

.btm-custom-nav {
    border: 1.5px solid black;
    transition: all 0.5s ease;
}

.btm-custom-nav:hover {
    transform: scale(1.05);
}

.btn-outline-light {
    border-color: var(--blanco);
}

.btn-outline-light:hover {
    background-color: var(--blanco);
    color: var(--morado);
}

/* Hero */
.hero {
    min-height: 80vh;
    overflow: hidden;
    background: linear-gradient(to right, var(--morado), var(--magenta));
    /* Fallback */
    position: relative;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 10, 100, 0.5);
    /* Oscurece para que se lea el texto */
    z-index: 1;
}

.hero .container {
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
}

.hero p {
    font-size: 1.2rem;
}

/* Secciones */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--fondo-gris) !important;
}

/* Tarjetas de servicios */
#portafolio .bg-white {
    border-top: 4px solid var(--morado);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#portafolio .bg-white:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
}

/* Metodología */
#metodologia h5 {
    color: var(--morado);
    font-weight: 600;
}

/* Equipo */
#equipo img {

    transition: transform 0.3s ease;
}

#equipo img:hover {
    transform: scale(1.05);
}

/* Contacto */
#contacto h5 {
    color: var(--morado);
}

form .form-control:focus {
    border-color: var(--magenta);
    box-shadow: 0 0 0 0.2rem rgba(226, 85, 197, 0.25);
}

.gradient-text {
    background: linear-gradient(90deg, var(--morado), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#sociedad ul li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    position: relative;
    padding-left: 1.5rem;
}

#sociedad ul li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: var(--morado);
    font-weight: bold;
}

.card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background-color: var(--violeta-oscuro);
}

footer small {
    font-size: 0.9rem;
}

.logo {
    max-height: 70px;
    height: auto;
    width: auto;
    transition: transform 0.3s ease;
    /* transición suave */
}

.logo:hover {
    transform: scale(1.1);
    /* aumenta un 10% al pasar el mouse */
}

@media (max-width: 768px) {
    .logo {
        max-height: 50px;
        /* Se ajusta en pantallas pequeñas */
    }
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

form .form-control {
    border: none;
    border-radius: 10px;
    background: #f9f9f9;
    padding: 14px 18px;
    font-size: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

form .form-control:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(107, 31, 177, 0.2);
    outline: none;
}

form .form-label {
    font-weight: 600;
    color: var(--morado);
}

form button {
    background: linear-gradient(90deg, var(--morado), var(--magenta));
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    transition: transform 0.2s ease;
}

form button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}