/* ============================================================
   AUTOMATIZACIONES — Rvolucion
   Reutiliza variables de :root definidas en rvolucion.css
   ============================================================ */
.au-hero, .au-catalog, .au-vs, .au-recipes, .au-calc, .au-cta { position: relative; }

/* Cabeceras de sección */
.au-sec-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.au-sec-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0.6rem 0 1rem;
}
.au-sec-sub { color: var(--gray); font-size: 1.1rem; line-height: 1.65; }

/* ============================================================
   HERO — texto vivo izquierda · fondo video/canvas · tech derecha
   ============================================================ */
.au-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-bottom: 5rem;
    background: var(--ink);
    overflow: hidden;
}
/* Fondo: canvas animado (respaldo) + video encima si carga */
.au-hero-canvas, .au-hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.au-hero-video {
    opacity: 0;
    transition: opacity 1.2s ease;
}
.au-hero-video.is-ready { opacity: 0.5; } /* video tenue */
/* Velo para legibilidad: oscurece izquierda, deja respirar el centro/derecha */
.au-hero-veil {
    position: absolute; inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(6,8,13,0.94) 0%, rgba(6,8,13,0.75) 32%, rgba(6,8,13,0.35) 60%, rgba(6,8,13,0.6) 100%),
        linear-gradient(0deg, rgba(6,8,13,0.7), transparent 40%);
    pointer-events: none;
}

/* Contenido a la izquierda */
.au-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding-left: clamp(1.5rem, 6vw, 7rem);
    padding-right: 2rem;
    text-align: left;
}
.au-hero-content .sec-tag { justify-content: flex-start; }
.au-hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.2rem, 5.5vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 1.2rem 0;
    min-height: 2.3em; /* evita salto cuando cambia la frase */
}
/* Texto vivo (máquina de escribir) */
.au-type {
    background: var(--grad-main);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.au-caret {
    display: inline-block;
    color: var(--fire);
    font-weight: 300;
    animation: auCaret 1s step-end infinite;
    margin-left: 2px;
}
@keyframes auCaret { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.au-hero-sub {
    color: var(--gray);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 0 2.2rem;
}
.au-hero-actions { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }

/* Columna de tecnologías — fila inferior, alineada a la derecha, horizontal */
.au-hero-tech {
    position: absolute;
    right: clamp(1.5rem, 6vw, 7rem);
    bottom: 2.2rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 70vw;
}
.au-hero-tech-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--gray);
    text-transform: uppercase;
    line-height: 1.4;
    text-align: right;
    max-width: 180px;
    padding-right: 1.5rem;
    border-right: 1px solid var(--line);
}
.au-hero-tech-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.4rem;
    align-items: center;
}
.au-techlogo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.au-techlogo svg { width: 20px; height: 20px; flex-shrink: 0; }
.au-techlogo:hover { color: var(--fire); transform: translateY(-3px); }

/* Scroll centrado abajo */
.au-hero-scroll {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    z-index: 2;
}
.au-hero-scroll span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gray-dim); text-transform: uppercase; }
.au-hero-scroll-line { width: 1px; height: 50px; background: linear-gradient(var(--fire), transparent); animation: auScroll 2s ease-in-out infinite; }
@keyframes auScroll { 0%,100% { opacity: 0.3; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* Responsive hero */
@media (max-width: 900px) {
    .au-hero {
        padding: 7rem 0 4rem;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
    .au-hero-content { padding-top: 1rem; max-width: none; }
    .au-hero-veil { background: linear-gradient(180deg, rgba(6,8,13,0.85), rgba(6,8,13,0.92)); }
    /* tech: fila estática debajo del contenido */
    .au-hero-tech {
        position: static;
        max-width: none;
        margin-top: 2.5rem;
        padding: 0 clamp(1.5rem, 6vw, 7rem);
        justify-content: flex-start;
    }
    .au-hero-tech-label { max-width: none; }
    .au-hero-scroll { display: none; }
}
@media (max-width: 560px) {
    .au-hero-tech { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .au-hero-tech-label { border-right: none; padding-right: 0; text-align: left; }
}

/* ============================================================
   1 · CATÁLOGO
   ============================================================ */
.au-catalog { padding: 7rem 0; background: var(--ink-2); }
.au-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.au-cat-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.au-cat-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(255,87,34,0.1), transparent 60%);
    opacity: 0; transition: opacity 0.3s ease;
}
.au-cat-card:hover { transform: translateY(-5px); border-color: rgba(255,87,34,0.3); }
.au-cat-card:hover::before { opacity: 1; }
.au-cat-ic {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(255,87,34,0.1);
    border: 1px solid rgba(255,87,34,0.25);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.3rem;
    position: relative; z-index: 1;
}
.au-cat-ic svg { width: 28px; height: 28px; stroke: var(--fire); }
.au-cat-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.7rem;
    position: relative; z-index: 1;
}
.au-cat-card > p { color: var(--gray); font-size: 0.95rem; line-height: 1.55; margin-bottom: 1.2rem; position: relative; z-index: 1; }
.au-cat-list { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.au-cat-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--white);
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}
.au-cat-list li::before {
    content: '';
    position: absolute; left: 0; top: 0.45em;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--fire);
}

/* ============================================================
   2 · ANTES vs DESPUÉS
   ============================================================ */
.au-vs { padding: 7rem 0; background: var(--ink); }
.au-vs-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
.au-vs-col {
    border-radius: 20px;
    padding: 2.2rem;
    border: 1px solid var(--line);
}
.au-vs-before { background: rgba(255,255,255,0.02); }
.au-vs-after { background: linear-gradient(160deg, rgba(255,87,34,0.08), rgba(44,232,245,0.05)); border-color: rgba(255,87,34,0.3); }
.au-vs-label {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}
.au-vs-label svg { width: 26px; height: 26px; }
.au-vs-before .au-vs-label { color: var(--gray); }
.au-vs-before .au-vs-label svg { stroke: var(--gray-dim); }
.au-vs-after .au-vs-label { color: var(--white); }
.au-vs-after .au-vs-label svg { stroke: var(--lime); }
.au-vs-list { list-style: none; padding: 0; margin: 0; }
.au-vs-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.98rem;
}
.au-vs-before .au-vs-list li { color: var(--gray); }
.au-vs-before .au-vs-list li::before {
    content: '×';
    position: absolute; left: 0; top: -0.1em;
    color: var(--fire);
    font-weight: 700;
    font-size: 1.2rem;
}
.au-vs-after .au-vs-list li { color: var(--white); }
.au-vs-after .au-vs-list li::before {
    content: '';
    position: absolute; left: 0; top: 0.5em;
    width: 12px; height: 7px;
    border-left: 2px solid var(--lime);
    border-bottom: 2px solid var(--lime);
    transform: rotate(-45deg);
}
.au-vs-divider {
    display: flex; align-items: center; justify-content: center;
}
.au-vs-divider span {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--gray-dim);
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--ink-2);
    display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   3 · RECETAS
   ============================================================ */
.au-recipes { padding: 7rem 0; background: var(--ink-2); }
.au-recipe-list { display: flex; flex-direction: column; gap: 1.2rem; max-width: 980px; margin: 0 auto; }
.au-recipe {
    display: grid;
    grid-template-columns: 1fr auto 1.4fr;
    gap: 1.5rem;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.au-recipe:hover { border-color: rgba(44,232,245,0.3); transform: translateX(4px); }
.au-recipe-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.au-recipe-trigger .au-recipe-tag { color: var(--cyan); }
.au-recipe-action .au-recipe-tag { color: var(--fire); }
.au-recipe-trigger p, .au-recipe-action p { color: var(--white); font-size: 0.98rem; line-height: 1.45; margin: 0; }
.au-recipe-action p { font-weight: 500; }
.au-recipe-arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,87,34,0.1);
    border: 1px solid rgba(255,87,34,0.25);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.au-recipe-arrow svg { width: 20px; height: 20px; stroke: var(--fire); }
.au-recipe-foot { text-align: center; color: var(--gray); font-size: 1.05rem; margin-top: 2.5rem; }
.au-recipe-foot strong { color: var(--white); }

/* ============================================================
   4 · CALCULADORA
   ============================================================ */
.au-calc { padding: 7rem 0; background: var(--ink); overflow: hidden; }
.au-calc-glow {
    position: absolute;
    top: 20%; left: 50%; transform: translateX(-50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse, rgba(255,87,34,0.12), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}
.au-calc-inner { position: relative; z-index: 1; }
.au-calc-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
}
.au-calc-controls { padding: 2.5rem; border-right: 1px solid var(--line); }
.au-calc-field { margin-bottom: 2rem; }
.au-calc-field:last-child { margin-bottom: 0; }
.au-calc-field label {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.9rem;
}
.au-calc-slider-row { display: flex; align-items: center; gap: 1rem; }
.au-calc-out {
    flex-shrink: 0;
    min-width: 72px;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fire);
}

/* Slider custom */
.au-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 50px;
    background: var(--ink-3);
    outline: none;
    cursor: pointer;
}
.au-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--grad-fire);
    border: 2px solid var(--white);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255,87,34,0.5);
}
.au-slider::-moz-range-thumb {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--fire);
    border: 2px solid var(--white);
    cursor: pointer;
}

.au-calc-results {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.3rem;
    background: rgba(255,87,34,0.03);
}
.au-calc-result { text-align: center; }
.au-calc-result-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--white);
}
.au-calc-result-label { font-size: 0.85rem; color: var(--gray); }
.au-calc-result-main .au-calc-result-num {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--grad-main);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.au-calc-result-main { padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.au-calc-disclaimer { font-size: 0.75rem; color: var(--gray-dim); line-height: 1.5; text-align: center; margin: 0.5rem 0 0; }

/* ============================================================
   CTA
   ============================================================ */
.au-cta { padding: 7rem 0; background: var(--ink-2); overflow: hidden; }
.au-cta-glow {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(255,87,34,0.15), transparent 70%);
    filter: blur(90px);
    pointer-events: none;
}
.au-cta-inner { position: relative; z-index: 1; text-align: center; }
.au-cta-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}
.au-cta-sub { color: var(--gray); font-size: 1.15rem; line-height: 1.6; max-width: 620px; margin: 0 auto 2.2rem; }
.au-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .au-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .au-vs-grid { grid-template-columns: 1fr; }
    .au-vs-divider { padding: 0.5rem 0; }
    .au-vs-divider span { transform: rotate(90deg); }
    .au-recipe { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
    .au-recipe-arrow { transform: rotate(90deg); margin: 0 auto; }
    .au-recipe:hover { transform: none; }
    .au-calc-card { grid-template-columns: 1fr; }
    .au-calc-controls { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
    .au-cat-grid { grid-template-columns: 1fr; }
    .au-hero-actions .btn, .au-cta-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .au-hero-scroll-line { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   FLUJO DESTACADO — cadena vertical animada (marketing)
   ============================================================ */
.au-flow { padding: 7rem 0 8rem; background: var(--ink); overflow: hidden; }
.au-flow-grid-bg {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(255,87,34,0.08), transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(44,232,245,0.06), transparent 50%);
    pointer-events: none;
}
.au-flow-inner { position: relative; z-index: 1; }

.au-chain {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

/* Nodo */
.au-node {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.au-node.in { opacity: 1; transform: none; }

/* Punto/ícono del nodo */
.au-node-dot {
    position: relative;
    flex-shrink: 0;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--ink-3);
    border: 2px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
}
.au-node-dot svg { width: 28px; height: 28px; stroke: var(--white); position: relative; z-index: 2; }
.au-node-ring {
    position: absolute; inset: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
}
/* Respiración del anillo cuando el nodo está activo */
.au-node.in .au-node-ring {
    border-color: var(--fire);
    animation: auBreathe 2.6s ease-in-out infinite;
}
@keyframes auBreathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,87,34,0.4); opacity: 1; }
    50%      { box-shadow: 0 0 0 10px rgba(255,87,34,0); opacity: 0.6; }
}

/* Cuerpo del nodo */
.au-node-body {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.4rem 1.6rem;
    flex: 1;
    transition: border-color 0.3s ease;
}
.au-node.in .au-node-body { border-color: rgba(255,255,255,0.1); }
.au-node-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.4rem;
}
.au-node-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.au-node-body p { color: var(--gray); font-size: 0.95rem; line-height: 1.55; margin: 0; }
.au-node-body p strong { color: var(--white); }

/* Línea conectora con impulso que viaja */
.au-link {
    width: 2px;
    height: 38px;
    margin-left: 31px; /* centro del dot (64/2 - 1) */
    background: var(--line);
    position: relative;
    overflow: hidden;
}
.au-link i {
    position: absolute; left: 0; top: -20px;
    width: 100%; height: 20px;
    background: linear-gradient(to bottom, transparent, var(--fire), transparent);
    animation: auPulse 2s linear infinite;
}
@keyframes auPulse {
    0%   { top: -20px; }
    100% { top: 100%; }
}

/* Variantes de color por tipo de nodo */
.au-node-ai .au-node-dot { border-color: rgba(44,232,245,0.5); background: rgba(44,232,245,0.08); }
.au-node-ai .au-node-dot svg { stroke: var(--cyan); }
.au-node-ai.in .au-node-ring { border-color: var(--cyan); animation: auBreatheCyan 2.6s ease-in-out infinite; }
@keyframes auBreatheCyan {
    0%, 100% { box-shadow: 0 0 0 0 rgba(44,232,245,0.4); opacity: 1; }
    50%      { box-shadow: 0 0 0 10px rgba(44,232,245,0); opacity: 0.6; }
}
.au-node-ai .au-ia { color: var(--cyan); }

/* Nodo humano destacado */
.au-node-human .au-node-dot { border-color: var(--lime); background: rgba(198,242,78,0.12); }
.au-node-human .au-node-dot svg { stroke: var(--lime); }
.au-node-human .au-node-body {
    background: linear-gradient(135deg, rgba(198,242,78,0.08), rgba(255,87,34,0.05));
    border-color: rgba(198,242,78,0.3) !important;
}
.au-node-human.in .au-node-ring { border-color: var(--lime); animation: auBreatheLime 2.2s ease-in-out infinite; }
@keyframes auBreatheLime {
    0%, 100% { box-shadow: 0 0 0 0 rgba(198,242,78,0.5); opacity: 1; }
    50%      { box-shadow: 0 0 0 12px rgba(198,242,78,0); opacity: 0.6; }
}
.au-human-k { color: var(--lime) !important; font-weight: 600; }

/* Mini calendario */
.au-mini-cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 1.2rem;
    max-width: 320px;
}
.au-mini-cal .d {
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    border-radius: 7px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    color: var(--gray-dim);
}
.au-mini-cal .d.on {
    background: var(--grad-fire);
    color: var(--ink);
    font-weight: 700;
    border-color: transparent;
}

/* Logos de redes */
.au-social-row { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.au-social {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}
.au-social:hover { background: rgba(255,87,34,0.12); border-color: var(--fire); color: var(--fire); transform: translateY(-3px); }
.au-social svg { width: 20px; height: 20px; }

/* Beneficios del flujo */
.au-flow-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 4rem auto 0;
}
.au-benefit {
    text-align: center;
    padding: 1.8rem 1.4rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.au-benefit svg { width: 32px; height: 32px; stroke: var(--fire); margin-bottom: 0.8rem; }
.au-benefit p { color: var(--gray); font-size: 0.92rem; line-height: 1.5; margin: 0; }
.au-benefit strong { color: var(--white); font-size: 1rem; }

@media (max-width: 560px) {
    .au-node { gap: 1rem; }
    .au-node-dot { width: 52px; height: 52px; }
    .au-node-dot svg { width: 24px; height: 24px; }
    .au-link { margin-left: 25px; }
    .au-flow-benefits { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .au-node-ring, .au-link i { animation: none !important; }
    .au-node { opacity: 1; transform: none; }
}

/* ============================================================
   BANDA "EL IMPACTO" — full-width crema, 3 columnas
   ============================================================ */
.au-impact {
    padding: 6rem 0;
    background: #f7f5f0;
    position: relative;
    overflow: hidden;
}
.au-impact::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,87,34,0.05), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(44,232,245,0.05), transparent 40%);
    pointer-events: none;
}
.au-impact-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 clamp(1.5rem, 5vw, 5rem);
}
.au-impact-head { text-align: center; margin-bottom: 3.5rem; }
.au-impact-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.9rem, 4vw, 3rem);
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-top: 0.6rem;
}

.au-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* Columna */
.au-imp-col {
    background: #fff;
    border: 1px solid rgba(6,8,13,0.08);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    box-shadow: 0 20px 50px rgba(6,8,13,0.06);
    display: flex;
    flex-direction: column;
}
.au-imp-col-head { margin-bottom: 1.5rem; }
.au-imp-num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    background: var(--grad-fire);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
}
.au-imp-col-head h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0.4rem 0 0.5rem;
}
.au-imp-col-head p { color: #6a6760; font-size: 0.95rem; line-height: 1.5; margin: 0; }

/* Col 1: el cambio */
.au-imp-vs { display: flex; flex-direction: column; gap: 0.7rem; }
.au-imp-vs-row {
    display: flex; align-items: center; gap: 0.7rem;
    font-size: 0.92rem;
    line-height: 1.4;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
}
.au-imp-before { background: rgba(6,8,13,0.03); color: #8a8780; }
.au-imp-after { background: rgba(198,242,78,0.14); color: var(--ink); font-weight: 500; }
.au-imp-x { color: #c0392b; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.au-imp-check {
    width: 16px; height: 10px; flex-shrink: 0;
    border-left: 2.5px solid #6ba300;
    border-bottom: 2.5px solid #6ba300;
    transform: rotate(-45deg);
    margin-bottom: 3px;
}
.au-imp-vs-arrow {
    display: flex; justify-content: center;
    padding: 0.2rem 0;
}
.au-imp-vs-arrow svg { width: 22px; height: 22px; stroke: var(--fire); }

/* Col 2: recetas */
.au-imp-recipes { display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.au-imp-recipe {
    background: rgba(6,8,13,0.02);
    border: 1px solid rgba(6,8,13,0.06);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    text-align: center;
}
.au-imp-r-when { color: var(--ink); font-size: 0.92rem; }
.au-imp-r-when strong { color: var(--cyan-deep); }
.au-imp-r-arrow { display: flex; justify-content: center; padding: 0.4rem 0; }
.au-imp-r-arrow svg { width: 18px; height: 18px; stroke: var(--fire); }
.au-imp-r-then { color: #4a4742; font-size: 0.9rem; line-height: 1.4; font-weight: 500; }
.au-imp-recipe-foot { text-align: center; color: #6a6760; font-size: 0.9rem; margin: 1.2rem 0 0; }
.au-imp-recipe-foot strong { color: var(--fire); }

/* Col 3: calculadora */
.au-imp-col-calc { background: linear-gradient(160deg, #fff, #fbf3ee); }
.au-imp-calc-fields { display: flex; flex-direction: column; gap: 1.3rem; margin-bottom: 1.5rem; }
.au-imp-calc-fields .au-calc-field label {
    display: flex; justify-content: space-between; align-items: center;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
}
.au-imp-calc-fields .au-calc-out { color: var(--fire); font-family: var(--font-mono); font-weight: 600; }
.au-imp-calc-fields .au-slider { width: 100%; background: rgba(6,8,13,0.1); }
.au-imp-calc-result {
    margin-top: auto;
    text-align: center;
    padding: 1.5rem;
    background: var(--ink);
    border-radius: 16px;
}
.au-imp-calc-money {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1;
    background: var(--grad-main);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.au-imp-calc-label { color: var(--gray); font-size: 0.85rem; }
.au-imp-calc-extra {
    display: flex; justify-content: center; gap: 1.5rem;
    margin-top: 1rem; padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.78rem; color: var(--gray);
}
.au-imp-calc-extra strong { color: var(--white); display: block; font-size: 0.95rem; }
.au-impact-disclaimer { text-align: center; color: #8a8780; font-size: 0.78rem; margin: 2.5rem auto 0; max-width: 640px; }

@media (max-width: 960px) {
    .au-impact-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 1.5rem; }
}

/* ============================================================
   MARCA EN LA CADENA + VIDA EN LA BANDA CREMA
   ============================================================ */
/* Isotipo en el nodo gatillante */
.au-node-dot-brand {
    border-color: var(--fire) !important;
    background: var(--grad-fire) !important;
}
.au-node-iso { width: 34px; height: 34px; object-fit: contain; position: relative; z-index: 2; }
.au-iso-fallback .au-iso-r,
.au-node-dot-brand.au-iso-fallback .au-iso-r {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.7rem;
    color: var(--ink);
    line-height: 1;
    position: relative; z-index: 2;
}
.au-node-brand.in .au-node-ring { border-color: var(--fire); animation: auBreatheBrand 2.4s ease-in-out infinite; }
@keyframes auBreatheBrand {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,87,34,0.6); }
    50%      { box-shadow: 0 0 0 14px rgba(255,87,34,0); }
}
.au-brand-k { color: var(--fire) !important; font-weight: 600; }

/* Isotipo en la cabecera de la banda crema */
.au-impact-iso {
    width: 64px; height: 64px;
    margin: 0 auto 1.2rem;
    border-radius: 18px;
    background: var(--grad-fire);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(255,87,34,0.3);
    animation: auIsoFloat 4s ease-in-out infinite;
}
.au-impact-iso img { width: 36px; height: 36px; object-fit: contain; }
.au-impact-iso.au-iso-fallback span {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    color: var(--ink);
    line-height: 1;
}
@keyframes auIsoFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* Marca de agua R gigante de fondo */
.au-impact-watermark {
    position: absolute;
    right: -2vw; bottom: -8vw;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 40vw;
    line-height: 0.7;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,87,34,0.07);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* Vida en las columnas: entrada escalonada + hover */
.au-imp-col {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.3s ease;
}
.au-imp-col:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(6,8,13,0.12);
    border-color: rgba(255,87,34,0.2);
}
/* Entrada escalonada cuando la sección se revela */
.au-impact.in .au-imp-col { animation: auColIn 0.7s cubic-bezier(0.16,1,0.3,1) backwards; }
.au-impact.in .au-imp-col:nth-child(1) { animation-delay: 0.05s; }
.au-impact.in .au-imp-col:nth-child(2) { animation-delay: 0.18s; }
.au-impact.in .au-imp-col:nth-child(3) { animation-delay: 0.31s; }
@keyframes auColIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: none; }
}

/* Flecha del comparador con leve pulso */
.au-imp-vs-arrow svg { animation: auArrowPulse 2s ease-in-out infinite; }
@keyframes auArrowPulse {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50%      { transform: translateY(4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .au-impact-iso, .au-node-brand.in .au-node-ring, .au-imp-vs-arrow svg { animation: none; }
    .au-impact.in .au-imp-col { animation: none; }
}
