/* ==========================================================================
   ANALYTIX CHILD THEME — Custom CSS
   ARCHIVO GENERADO POR _build.py — NO EDITAR A MANO.
   Para cambiar algo: edita el HTML en _raw/ y vuelve a correr _build.py
   ========================================================================== */

/* ─── VARIABLES GLOBALES ──────────────────────────────────────────── */
:root {
    /* Base (fondos oscuros) */
    --vc-bg-deepest:    #080F17;
    --vc-bg-dark:       #0D1B2A;
    --vc-bg-card:       #142840;

    /* Azul marca */
    --vc-primary:       #185FA5;
    --vc-primary-light: #378ADD;

    /* Ámbar accent */
    --vc-accent:        #E8A020;
    --vc-accent-alt:    #F5C842;

    /* Texto */
    --vc-text-white:    #FFFFFF;
    --vc-text-light:    #C9D3E0;
    --vc-text-muted:    #7C8CA3;

    /* Bordes */
    --vc-border:        #1E3350;
    --vc-border-light:  #2F4A6E;

    /* Gradientes */
    --vc-gradient-primary: linear-gradient(135deg, #185FA5 0%, #378ADD 100%);
    --vc-gradient-accent:  linear-gradient(90deg, #E8A020 0%, #F5C842 100%);
    --vc-gradient-dark:    linear-gradient(180deg, #080F17 0%, #0D1B2A 50%, #142840 100%);
}

/* ─── GLOBAL: Neutralizar contenedores de Kadence ─────────────────── */
/* El fondo NO se fuerza en body: cada página lo define en su wrapper
   .vc-page-<slug>, porque conviven páginas claras (Home) y oscuras. */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body .site-main,
body .content-area,
body .entry-content,
body .wp-block-post-content,
body .page-content,
body article.type-page,
body article.type-post {
    background-color: transparent;
}


/* ─── PÁGINA: HOME ──────────────────────────────────────────────── */
/* Origen: _raw/Home/Home-analytix.html */

.vc-page-home {
    --vc-text-body: #333333;
    --vc-text-body-soft: rgba(51, 51, 51, 0.8);
    --vc-text-body-faint: rgba(51, 51, 51, 0.6);
    --vc-surface: #FFFFFF;
    --vc-surface-muted: #F9FAFB;
    --vc-line: #F3F4F6;
    --vc-card-from: #16283D;
    --vc-card-to: #0F1E30;
    --vc-container: 80rem;
    --vc-gutter: 1.5rem;
}

.vc-page-home .vc-home {
    font-family: 'Inter', sans-serif;
    color: var(--vc-text-body);
    background: var(--vc-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.vc-page-home .vc-home h1,
.vc-page-home .vc-home h2,
.vc-page-home .vc-home h3,
.vc-page-home .vc-home p {
    margin: 0;
}

.vc-page-home .vc-home h1,
.vc-page-home .vc-home h2,
.vc-page-home .vc-home h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.vc-page-home .vc-home ul,
.vc-page-home .vc-home ol {
    margin: 0; padding: 0; list-style: none;
}

.vc-page-home .vc-home img {
    display: block; max-width: 100%;
}

.vc-page-home .vc-home a {
    color: inherit; text-decoration: none;
}

.vc-page-home .vc-home svg {
    display: block;
}

.vc-page-home .vc-container {
    max-width: var(--vc-container);
    margin-inline: auto;
    padding-inline: var(--vc-gutter);
}

.vc-page-home .vc-section {
    padding-block: 6rem;
}

.vc-page-home .vc-section--vc-light {
    background: var(--vc-surface);
}

.vc-page-home .vc-section--vc-muted {
    background: var(--vc-surface-muted);
    border-top: 1px solid var(--vc-line);
    border-bottom: 1px solid var(--vc-line);
}

.vc-page-home .vc-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--vc-primary);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.vc-page-home .vc-section__head {
    max-width: 42rem;
}

.vc-page-home .vc-section__head--vc-wide {
    max-width: 48rem;
}

.vc-page-home .vc-section__title {
    font-weight: 600;
    font-size: 1.875rem;
    line-height: 1.25;
    color: var(--vc-bg-dark);
    margin-top: 1rem;
}

.vc-page-home .vc-section__lead {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.625;
}

.vc-page-home .vc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    min-height: 44px;
    padding: 1rem 1.75rem;
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease;
}

.vc-page-home .vc-btn--vc-primary {
    background: var(--vc-primary); color: #fff;
}

.vc-page-home .vc-btn--vc-primary:hover {
    background: var(--vc-primary-light);
}

.vc-page-home .vc-btn--vc-ghost {
    border: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
}

.vc-page-home .vc-btn--vc-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vc-page-home .vc-btn--vc-wide {
    padding-inline: 2rem;
}

.vc-page-home .vc-glow-btn {
    box-shadow: 0 16px 32px -12px rgba(24, 95, 165, 0.5);
    transition: box-shadow .25s ease, transform .1s ease-out, background-color .25s ease;
}

.vc-page-home .vc-glow-btn:hover {
    box-shadow: 0 20px 40px -12px rgba(55, 138, 221, 0.55);
}

.vc-page-home .vc-hero {
    position: relative;
    background: var(--vc-bg-dark);
    color: #fff;
    overflow: hidden;
}

.vc-page-home .vc-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

.vc-page-home .vc-hero__orb--vc-a {
    right: -8rem; top: -8rem; width: 560px; height: 560px; opacity: 0.2;
}

.vc-page-home .vc-hero__orb--vc-b {
    left: -10rem; bottom: 0; width: 420px; height: 420px; opacity: 0.1;
}

.vc-page-home .vc-hero__inner {
    position: relative; padding-block: 6rem;
}

.vc-page-home .vc-hero__grid {
    display: grid; gap: 4rem; align-items: center;
}

.vc-page-home .vc-hero__col {
    max-width: 42rem;
}

.vc-page-home .vc-hero__platforms {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem 0.75rem 1.25rem;
}

.vc-page-home .vc-hero__platform-logo {
    height: 1.25rem; width: auto;
}

.vc-page-home .vc-hero__platform-sep {
    width: 1px; height: 1.25rem; background: rgba(255, 255, 255, 0.15);
}

.vc-page-home .vc-hero__title {
    font-weight: 600;
    font-size: 2.25rem;
    line-height: 1.1;
    margin-top: 1.5rem;
}

.vc-page-home .vc-hero__lead {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.625;
    color: rgba(255, 255, 255, 0.75);
}

.vc-page-home .vc-hero__actions {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vc-page-home .vc-hero-stage {
    position: relative; perspective: 1600px; display: none;
}

.vc-page-home .vc-hero-card {
    position: relative;
    border-radius: 1rem;
    padding: 1.5rem;
    background: linear-gradient(to bottom right, var(--vc-card-from), var(--vc-card-to));
    border: 1px solid rgba(255, 255, 255, 0.15);

    transform: rotateX(6deg) rotateY(-10deg);
    will-change: transform;

    transition: transform .1s cubic-bezier(.22, 1, .36, 1);
    box-shadow:
    0 40px 80px -30px rgba(3, 10, 20, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.vc-page-home .vc-hero-card__shine {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 55%);
}

.vc-page-home .vc-hero-card__tags {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.vc-page-home .vc-hero-card__tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(24, 95, 165, 0.25);
    color: var(--vc-primary-light);
    border-radius: 9999px;
    padding: 0.375rem 0.75rem;
}

.vc-page-home .vc-hero-card__label {
    position: relative;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.75rem;
}

.vc-page-home .vc-hero-card__list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vc-page-home .vc-hero-card__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.vc-page-home .vc-hero-card__check {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: rgba(55, 138, 221, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vc-page-home .vc-hero-card__check svg {
    width: 0.75rem; height: 0.75rem; color: var(--vc-primary-light);
}

.vc-page-home .vc-hero-card__chart {
    position: relative;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-end;
    gap: 0.375rem;
    height: 4rem;
}

.vc-page-home .vc-hero-card__bar {
    width: 1rem;
    border-radius: 0.25rem 0.25rem 0 0;
    background: var(--vc-primary-light);
}

.vc-page-home .vc-hero-card__chart-label {
    margin-left: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.vc-page-home .vc-hero-badge {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 5rem;
    height: 5rem;
    padding: 0.75rem;
    border-radius: 1rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(60px);
    box-shadow: 0 20px 40px -12px rgba(232, 160, 32, 0.45);
}

.vc-page-home .vc-hero-badge img {
    width: 100%; height: 100%; object-fit: contain;
}

.vc-page-home .vc-hero-note {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.vc-page-home .vc-hero-note__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--vc-bg-dark);
}

.vc-page-home .vc-hero-note__text {
    font-size: 0.75rem; color: var(--vc-text-body-soft);
}

.vc-page-home .vc-value-grid {
    display: grid; gap: 2rem;
}

.vc-page-home .vc-value-card {
    background: var(--vc-surface);
    border: 1px solid var(--vc-line);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.vc-page-home .vc-value-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    background: rgba(24, 95, 165, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.vc-page-home .vc-value-card__icon svg {
    width: 1.5rem; height: 1.5rem; color: var(--vc-primary);
}

.vc-page-home .vc-value-card__title {
    font-weight: 600; font-size: 1.25rem; color: var(--vc-bg-dark);
}

.vc-page-home .vc-value-card__text {
    margin-top: 0.75rem; line-height: 1.625;
}

.vc-page-home .vc-lift-card {
    transition: transform .25s ease-out, box-shadow .25s ease-out;
}

.vc-page-home .vc-lift-card:hover,
.vc-page-home .vc-lift-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -20px rgba(24, 95, 165, 0.28);
}

.vc-page-home .vc-services-grid {
    margin-top: 3.5rem; display: grid; gap: 1.5rem;
}

.vc-page-home .vc-service-card {
    position: relative;
    background: var(--vc-surface);
    border: 1px solid var(--vc-line);
    border-radius: 1rem;
    overflow: hidden;
}

.vc-page-home .vc-tilt-card {
    will-change: transform;
    transition: transform .09s ease-out, box-shadow .25s ease-out;
    box-shadow: 0 1px 2px rgba(13, 27, 42, 0.04);
}

.vc-page-home .vc-tilt-card:hover,
.vc-page-home .vc-tilt-card:focus-within {
    box-shadow: 0 30px 60px -20px rgba(24, 95, 165, 0.35);
}

.vc-page-home .vc-tilt-card__spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(320px circle at var(--vc-mx, 50%) var(--vc-my, 0%), rgba(255, 255, 255, 0.16), transparent 65%);
    opacity: 0;
    transition: opacity .3s ease;
}

.vc-page-home .vc-tilt-card:hover .vc-tilt-card__spotlight,
.vc-page-home .vc-tilt-card:focus-within .vc-tilt-card__spotlight {
    opacity: 1;
}

.vc-page-home .vc-service-card__head {
    position: relative;
    overflow: hidden;
    background: var(--vc-bg-dark);
    color: #fff;
    padding: 2rem;
    min-height: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vc-page-home .vc-service-card__kicker {
    position: relative;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--vc-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.vc-page-home .vc-service-card__title {
    position: relative;
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.vc-page-home .vc-service-card__body {
    padding: 2rem;
}

.vc-page-home .vc-service-card__text {
    line-height: 1.625;
}

.vc-page-home .vc-service-card__quote {
    margin-top: 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    color: var(--vc-bg-dark);
    border-left: 2px solid var(--vc-accent);
    padding-left: 1rem;
}

.vc-page-home .vc-services-note {
    margin-top: 2rem;
    max-width: 42rem;
    font-size: 0.875rem;
    color: var(--vc-text-body-soft);
}

.vc-page-home .vc-steps {
    margin-top: 3.5rem; display: grid; gap: 2rem;
}

.vc-page-home .vc-step {
    background: var(--vc-surface);
    border: 1px solid var(--vc-line);
    border-radius: 1rem;
    padding: 1.5rem;
}

.vc-page-home .vc-step__num {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 2.25rem;
}

.vc-page-home .vc-step__title {
    font-weight: 600; font-size: 1.25rem; color: var(--vc-bg-dark); margin-top: 1rem;
}

.vc-page-home .vc-step__text {
    margin-top: 0.75rem; line-height: 1.625;
}

.vc-page-home .vc-amber-gradient-text {
    background: linear-gradient(90deg, var(--vc-accent), var(--vc-accent-alt));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vc-page-home .vc-clients {
    padding-block: 5rem; background: var(--vc-surface);
}

.vc-page-home .vc-clients__label {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--vc-text-body-faint);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.vc-page-home .vc-clients__logos {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 4rem;
    row-gap: 2.5rem;
}

.vc-page-home .vc-clients__logo {
    height: 2rem;
    width: auto;
    opacity: 0.7;
    transition: opacity .25s ease;
}

.vc-page-home .vc-clients__logo--vc-lg {
    height: 2.5rem;
}

.vc-page-home .vc-clients__logo:hover {
    opacity: 1;
}

.vc-page-home .vc-cta {
    position: relative;
    background: var(--vc-bg-dark);
    color: #fff;
    overflow: hidden;
}

.vc-page-home .vc-cta__orb {
    position: absolute;
    left: 50%;
    top: 50%;

    margin-left: -350px;
    margin-top: -350px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(64px);
    pointer-events: none;
}

.vc-page-home .vc-cta__inner {
    position: relative; text-align: center; padding-block: 6rem;
}

.vc-page-home .vc-cta__title {
    font-weight: 600;
    font-size: 1.875rem;
    line-height: 1.25;
    max-width: 48rem;
    margin-inline: auto;
}

.vc-page-home .vc-cta__text {
    margin-top: 1.5rem;
    max-width: 36rem;
    margin-inline: auto;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
}

.vc-page-home .vc-cta__actions {
    margin-top: 2.5rem;
}

.vc-page-home .vc-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.vc-page-home .vc-reveal.vc-is-visible {
    opacity: 1; transform: translateY(0);
}

.vc-page-home .vc-float-slow {
    animation: home-float-slow 7s ease-in-out infinite;
}

.vc-page-home .vc-float-slow--vc-delayed {
    animation: home-float-slow 7s ease-in-out infinite; animation-delay: -3.2s;
}

@keyframes home-float-slow {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-14px); }
}

.vc-page-home .vc-drift {
    animation: home-drift 18s ease-in-out infinite;
}

@keyframes home-drift {
0%, 100% { transform: translate(0, 0); }
50% { transform: translate(-30px, 20px); }
}

.vc-page-home .vc-cursor-icon,
.vc-page-home .vc-cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 200;
    will-change: transform;
}

.vc-page-home .vc-cursor-icon {
    width: 34px;
    height: 34px;

    transform-origin: 21% 1%;
    filter: drop-shadow(0 3px 6px rgba(13, 27, 42, 0.35));
    transition: opacity .2s ease, width .25s cubic-bezier(.16, 1, .3, 1), height .25s cubic-bezier(.16, 1, .3, 1);
}

.vc-page-home .vc-cursor-icon.vc-cursor-hover {
    width: 46px; height: 46px;
}

.vc-page-home .vc-cursor-glow {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(55, 138, 221, 0.6), transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.55;
}

.vc-page-home .vc-custom-cursor-active,
.vc-page-home .vc-custom-cursor-active a,
.vc-page-home .vc-custom-cursor-active button {
    cursor: none;
}

@media (min-width: 640px) {
    .vc-page-home .vc-hero__title {
        font-size: 3rem;
    }

    .vc-page-home .vc-hero__actions {
        flex-direction: row;
    }

    .vc-page-home .vc-section__title,
    .vc-page-home .vc-cta__title {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .vc-page-home .vc-section {
        padding-block: 7rem;
    }

    .vc-page-home .vc-hero__inner {
        padding-block: 8rem;
    }

    .vc-page-home .vc-clients {
        padding-block: 6rem;
    }

    .vc-page-home .vc-cta__inner {
        padding-block: 7rem;
    }

    .vc-page-home .vc-value-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vc-page-home .vc-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vc-page-home .vc-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .vc-page-home .vc-container {
        padding-inline: 2rem;
    }

    .vc-page-home .vc-hero__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vc-page-home .vc-hero-stage {
        display: block;
    }

    .vc-page-home .vc-hero__title {
        font-size: 3.75rem;
    }

    .vc-page-home .vc-cta__title {
        font-size: 3rem;
    }
}

@media (max-width: 1023px) {
    .vc-page-home .vc-hero-card {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vc-page-home .vc-reveal {
        opacity: 1; transform: none; transition: none;
    }

    .vc-page-home .vc-float-slow,
    .vc-page-home .vc-float-slow--vc-delayed,
    .vc-page-home .vc-drift {
        animation: none;
    }

    .vc-page-home .vc-hero-card,
    .vc-page-home .vc-tilt-card,
    .vc-page-home .vc-lift-card,
    .vc-page-home .vc-glow-btn {
        transition: none;
    }
}

/* ─── PÁGINA: SERVICIOS ─────────────────────────────────────────── */
/* Origen: _raw/Servicios/servicios-analytix.html */
/* (sin HTML en _raw/Servicios/servicios-analytix.html) */

/* ─── PÁGINA: CÓMO TRABAJAMOS ───────────────────────────────────── */
/* Origen: _raw/ComoTrabajamos/como-trabajamos-analytix.html */
/* (sin HTML en _raw/ComoTrabajamos/como-trabajamos-analytix.html) */

/* ─── PÁGINA: PLAYBOOK ──────────────────────────────────────────── */
/* Origen: _raw/Playbook/ */
/* (pendiente de diseño) */

/* ─── PÁGINA: CONTACTO ──────────────────────────────────────────── */
/* Origen: _raw/Contacto/contacto-analytix.html */
/* (sin HTML en _raw/Contacto/contacto-analytix.html) */

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) { }
@media (max-width: 768px) { }
@media (max-width: 480px) { }
