:root {
    --bg-dark: #0b0b0f;
    --violet: #7a2eff;
    --blue: #2f8bff;
    --text-light: #f5f7fa;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
}

.text-gradient {
    background: linear-gradient(90deg, var(--violet), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-nav {
    background: rgba(11,11,15,0.7);
    backdrop-filter: blur(10px);
}


.section {
    padding: 100px 0;
}

.section-alt {
    background: #111;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}



.project-card {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 40px;
}

.tags span {
    display: inline-block;
    padding: 6px 12px;
    margin-right: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.85rem;
}

.step {
    font-size: 1.2rem;
    padding: 20px;
}

.cta {
    padding: 120px 0;
    background: linear-gradient(120deg, var(--violet), var(--blue));
}

.btn-gradient {
    background: linear-gradient(90deg, var(--violet), var(--blue));
    border: none;
    color: white;
}


.hero-subtitle{
    padding-top: 10px;
    padding-bottom: 10px;
}

.hero {
    min-height: 100vh;
    overflow: hidden;
    padding-top: 50px;
}
.hero h1{
    font-size: 4rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* FOCO DE LUZ ORGÁNICO */
.core-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    right: -300px;
    top: -150px;
    background:
        radial-gradient(
            ellipse at center,
            rgba(122,46,255,0.45) 0%,
            rgba(47,139,255,0.35) 35%,
            rgba(47,139,255,0.15) 55%,
            transparent 70%
        );
    filter: blur(80px);
    animation: glowDrift 18s ease-in-out infinite;
}

@keyframes glowDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-80px, 60px) scale(1.1);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}
.flow-lines span {
    position: absolute;
    height: 2px;
    width: 480px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.15),
        var(--violet),
        var(--blue),
        transparent
    );
    opacity: 0.8;
    animation: flowMove 10s linear infinite;
}

/* DISTRIBUCIÓN VERTICAL */
.flow-lines span:nth-child(1) { top: 15%; animation-duration: 9s; }
.flow-lines span:nth-child(2) { top: 22%; animation-duration: 11s; }
.flow-lines span:nth-child(3) { top: 30%; animation-duration: 8s; }
.flow-lines span:nth-child(4) { top: 38%; animation-duration: 12s; }
.flow-lines span:nth-child(5) { top: 46%; animation-duration: 10s; }
.flow-lines span:nth-child(6) { top: 54%; animation-duration: 9s; }
.flow-lines span:nth-child(7) { top: 62%; animation-duration: 11s; }
.flow-lines span:nth-child(8) { top: 70%; animation-duration: 8s; }
.flow-lines span:nth-child(9) { top: 78%; animation-duration: 12s; }
.flow-lines span:nth-child(10){ top: 86%; animation-duration: 10s; }

/* PROFUNDIDAD (rotaciones suaves) */
.flow-lines span:nth-child(even) {
    transform: rotate(-6deg);
}
.flow-lines span:nth-child(odd) {
    transform: rotate(4deg);
}

/* MOVIMIENTO GLOBAL: de derecha a izquierda */
@keyframes flowMove {
    from {
        right: -40%;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    to {
        right: 120%;
        opacity: 0;
    }
}
.hero .container {
    position: relative;
    z-index: 2;
}


/* ===============================
   SERVICIOS
   =============================== */

.services-section {
    position: relative;
}

.section-subtitle {
    max-width: 720px;
    margin: 15px auto 0;
    font-size: 1.1rem;
    opacity: 0.75;
}

/* CARD BASE */
.service-card {
    position: relative;
    height: 100%;
    padding: 34px;
    border-radius: 18px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.045),
        rgba(255,255,255,0.01)
    );

    border: 1px solid rgba(255,255,255,0.06);

    transition: all 0.35s ease;
}

/* ETIQUETA SUPERIOR */
.service-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
    opacity: 0.85;
}

/* TÍTULO */
.service-card h5 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    font-weight: 600;
}

/* TEXTO */
.service-card p {
    font-size: 0.96rem;
    line-height: 1.65;
    opacity: 0.85;
}

/* HOVER */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.45);
    border-color: rgba(122,46,255,0.35);
}

/* CARD DESTACADA (EMPRESAS) */
.service-card.featured {
    background: linear-gradient(
        180deg,
        rgba(122,46,255,0.20),
        rgba(47,139,255,0.10)
    );

    border-color: rgba(122,46,255,0.55);
}

/* HOVER MÁS SUTIL PARA LA DESTACADA */
.service-card.featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(122,46,255,0.35);
}
/* ===============================
   MÉTODO
   =============================== */

.metodo-section {
    position: relative;
}

.metodo-step {
    height: 100%;
    padding: 34px;
    border-radius: 18px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.04),
        rgba(255,255,255,0.01)
    );

    border: 1px solid rgba(255,255,255,0.05);

    transition: all 0.35s ease;
}

/* NÚMERO */
.step-number {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    color: var(--violet);
    opacity: 0.9;
}

/* TÍTULO */
.metodo-step h5 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

/* TEXTO */
.metodo-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* HOVER */
.metodo-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.45);
    border-color: rgba(122,46,255,0.35);
}

/* ===============================
   CTA
   =============================== */
/* ===============================
   CTA FULL WIDTH – NÚCLEO EDITORIAL
   =============================== */

.cta-wide {
    position: relative;
    padding: 180px 0;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at center,
            rgba(122,46,255,0.18),
            rgba(47,139,255,0.12) 45%,
            transparent 70%
        );
}

/* SUAVE OSCURECIDO EN BORDES */
.cta-wide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 35%,
        rgba(11,11,15,0.85) 75%
    );
    pointer-events: none;
}

/* CONTENIDO CENTRAL */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TÍTULO – MISMO ESTILO QUE TE GUSTÓ */
.cta-wide .cta-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

/* TEXTO */
.cta-wide .cta-subtitle {
    max-width: 700px;
    margin: 24px auto 0;
    font-size: 1.08rem;
    opacity: 0.85;
}

/* BOTÓN */
.cta-wide .btn {
    margin-top: 38px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cta-wide {
        padding: 140px 0;
    }

    .cta-wide .cta-title {
        font-size: 2.2rem;
    }
}
/* ===============================
   CONTACTO
   =============================== */

.contacto-section {
    position: relative;
    background:
        radial-gradient(
            ellipse at center,
            rgba(122,46,255,0.08),
            transparent 70%
        );
}

/* CAJA CENTRAL */
.contacto-box {
    max-width: 860px;
    margin: 0 auto;
    padding: 70px 50px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.04),
        rgba(255,255,255,0.015)
    );

    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(14px);
}

/* TÍTULO */
.contacto-title {
    font-size: 2.6rem;
    font-weight: 700;
}

/* SUBTÍTULO */
.contacto-subtitle {
    max-width: 620px;
    margin: 22px auto 0;
    font-size: 1.05rem;
    opacity: 0.85;
}

/* INPUTS */
.contacto-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;

    padding: 16px 18px;
    font-size: 0.95rem;
    color: var(--text-light);

    transition: all 0.25s ease;
}

.contacto-input::placeholder {
    color: rgba(255,255,255,0.55);
}

.contacto-input:focus {
    outline: none;
    box-shadow: none;

    background: rgba(255,255,255,0.06);
    border-color: rgba(122,46,255,0.6);
}

/* NOTA */
.contacto-note {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .contacto-box {
        padding: 60px 28px;
    }

    .contacto-title {
        font-size: 2.1rem;
    }
}

/* ===============================
   CONTACTO COLAPSABLE
   =============================== */

.contacto-hidden {
    display: none;
}

.contacto-visible {
    display: block;
    animation: contactoFadeUp 0.45s ease forwards;
}

@keyframes contactoFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BOTÓN CERRAR */
.contacto-close {
    position: absolute;
    top: 22px;
    right: 26px;

    background: none;
    border: none;
    color: rgba(255,255,255,0.6);

    font-size: 2rem;
    line-height: 1;
    cursor: pointer;

    transition: all 0.2s ease;
}

.contacto-close:hover {
    color: white;
    transform: scale(1.1);
}
.contacto-mail {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contacto-mail:hover {
    color: var(--violet);
    text-decoration: underline;
}
/* TEXTO NORMAL */
.contacto-input {
    color: #ffffff;
    background: rgba(255,255,255,0.06);
}

/* PLACEHOLDER */
.contacto-input::placeholder {
    color: rgba(255,255,255,0.55);
}

/* FOCUS */
.contacto-input:focus {
    color: #ffffff;
    background: rgba(255,255,255,0.08);
    border-color: rgba(122,46,255,0.7);
    box-shadow: 0 0 0 2px rgba(122,46,255,0.25);
}

/* PLACEHOLDER EN FOCUS */
.contacto-input:focus::placeholder {
    color: rgba(255,255,255,0.35);
}
