/* ===== AUTOMATIZACIÓN INTELIGENTE: EXPERIENCIA INMERSIVA ===== */
body.page-automatizacion {
    --auto-bg: #030811;
    --auto-surface: rgba(10, 21, 35, 0.72);
    --auto-border: rgba(115, 255, 219, 0.16);
    --auto-cyan: #67f7d0;
    --auto-blue: #56a8ff;
    --auto-amber: #ffc861;
    --auto-red: #ff6b7a;
    --auto-text: #eefcff;
    --auto-muted: #93abb9;
    --auto-ease: cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--auto-text);
    background:
        radial-gradient(circle at 12% 32%, rgba(15, 139, 159, 0.12), transparent 30%),
        radial-gradient(circle at 88% 58%, rgba(27, 111, 184, 0.1), transparent 32%),
        var(--auto-bg);
}

.page-automatizacion ::selection {
    color: #00130f;
    background: var(--auto-cyan);
}

.page-automatizacion :focus-visible {
    outline: 2px solid var(--auto-cyan);
    outline-offset: 3px;
}

.page-automatizacion .main-content {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.page-automatizacion .main-content::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(103, 247, 208, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 247, 208, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
}

.page-automatizacion .site-header {
    z-index: 20;
}

.page-automatizacion .site-footer {
    position: relative;
    z-index: 2;
    margin-top: 0;
    border-top: 1px solid rgba(103, 247, 208, 0.12);
    background: #02060d;
}

/* Las animaciones de un bloque se detienen cuando sale de pantalla (clase puesta por JS) */
.is-offscreen,
.is-offscreen *,
.is-offscreen *::before,
.is-offscreen *::after {
    animation-play-state: paused !important;
}

/* Barra de progreso de lectura */
.auto-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    height: 3px;
    pointer-events: none;
}

.auto-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--auto-cyan), var(--auto-blue));
    box-shadow: 0 0 12px rgba(103, 247, 208, 0.7);
    transform: scaleX(var(--progress, 0));
    transform-origin: left;
}

/* Foco de luz que sigue al cursor */
[data-spotlight] {
    --spot-x: 70%;
    --spot-y: 40%;
}

[data-spotlight]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle 420px at var(--spot-x) var(--spot-y), rgba(103, 247, 208, 0.09), transparent 70%);
}

/* ===== HERO ===== */
.auto-hero {
    position: relative;
    min-height: max(100vh, 860px);
    padding: 12rem 4rem 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: #020711;
}

.auto-hero-slides {
    position: absolute;
    inset: 0;
    z-index: -4;
}

.auto-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.68) contrast(1.1);
    transform: scale(1.08) translate3d(0, var(--hero-shift, 0), 0);
    transition: opacity 1.4s ease, transform 7s ease;
}

.auto-hero-slide.active {
    opacity: 1;
    transform: scale(1.02) translate3d(0, var(--hero-shift, 0), 0);
}

.auto-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(2, 7, 17, 0.98) 0%, rgba(2, 10, 21, 0.9) 42%, rgba(2, 10, 21, 0.42) 72%, rgba(2, 7, 17, 0.7) 100%),
        linear-gradient(0deg, #030811 0%, transparent 24%, rgba(1, 6, 14, 0.15) 80%);
}

.auto-network {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.auto-tech-grid {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
    opacity: 0.2;
    pointer-events: none;
    mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
    transform: perspective(650px) rotateX(58deg) scale(1.7) translateY(22%);
    transform-origin: bottom;
}

.auto-tech-grid::before {
    content: "";
    position: absolute;
    inset: -64px 0 0;
    background-image:
        linear-gradient(rgba(103, 247, 208, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 247, 208, 0.12) 1px, transparent 1px);
    background-size: 64px 64px;
    animation: auto-grid-drift 12s linear infinite;
    will-change: transform;
}

.auto-orb {
    position: absolute;
    z-index: -1;
    width: 760px;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.auto-orb--one {
    top: -6%;
    right: 6%;
    background: radial-gradient(circle, rgba(0, 229, 195, 0.17), transparent 68%);
    animation: auto-orbit 12s ease-in-out infinite alternate;
}

.auto-orb--two {
    bottom: -38%;
    left: 10%;
    background: radial-gradient(circle, rgba(8, 125, 255, 0.17), transparent 68%);
    animation: auto-orbit 16s ease-in-out -5s infinite alternate-reverse;
}

.auto-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1320px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.auto-hero-text {
    max-width: 700px;
}

.auto-hero-text > * {
    animation: auto-rise 0.9s var(--auto-ease) both;
}

.auto-hero-text > :nth-child(2) { animation-delay: 0.08s; }
.auto-hero-text > :nth-child(3) { animation-delay: 0.16s; }
.auto-hero-text > :nth-child(4) { animation-delay: 0.24s; }
.auto-hero-text > :nth-child(5) { animation-delay: 0.32s; }

.auto-pill,
.auto-kicker {
    color: var(--auto-cyan);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auto-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding: 0.52rem 0.9rem;
    border: 1px solid rgba(103, 247, 208, 0.22);
    border-radius: 999px;
    background: rgba(8, 28, 35, 0.78);
    font-size: 0.72rem;
}

.auto-pill i,
.auto-command-top i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--auto-cyan);
    box-shadow: 0 0 0 5px rgba(103, 247, 208, 0.1), 0 0 18px var(--auto-cyan);
    animation: auto-pulse 2s ease-out infinite;
}

.auto-hero-text h1 {
    max-width: 680px;
    margin-bottom: 1.35rem;
    color: #f5fdff;
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.auto-hero-text h1 span {
    color: transparent;
    background: linear-gradient(100deg, #fff 5%, var(--auto-cyan) 38%, var(--auto-blue) 62%, #fff 95%);
    background-size: 220% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: auto-shine 7s ease-in-out infinite;
}

.auto-hero-lead {
    max-width: 650px;
    margin-bottom: 1.8rem;
    color: #b8cbd4;
    font-size: 1.08rem;
    line-height: 1.75;
}

.auto-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2.2rem;
    padding: 0;
    list-style: none;
}

.auto-badge {
    position: relative;
    padding: 0.5rem 0.9rem 0.5rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #d6e9ed;
    background: rgba(3, 12, 23, 0.78);
    font-size: 0.84rem;
}

.auto-badge::before {
    content: "";
    position: absolute;
    left: 0.72rem;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--auto-cyan);
    box-shadow: 0 0 10px var(--auto-cyan);
    transform: translateY(-50%);
}

.auto-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.auto-primary-btn,
.auto-ghost-btn {
    position: relative;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.auto-primary-btn {
    overflow: hidden;
    color: #00130f;
    background: linear-gradient(135deg, #9affdf, #44ddb9);
    box-shadow: 0 12px 38px rgba(49, 232, 190, 0.22);
}

.auto-primary-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--auto-ease);
}

.auto-primary-btn:hover::after {
    transform: translateX(120%);
}

.auto-primary-btn:hover {
    box-shadow: 0 16px 45px rgba(49, 232, 190, 0.38);
}

.auto-ghost-btn {
    border-color: rgba(255, 255, 255, 0.18);
    color: #eafcff;
    background: rgba(12, 24, 36, 0.7);
}

.auto-ghost-btn:hover {
    border-color: rgba(103, 247, 208, 0.45);
    background: rgba(103, 247, 208, 0.08);
}

/* Centro de mando */
.auto-command-center {
    position: relative;
    padding: 1.1rem;
    border: 1px solid rgba(125, 244, 220, 0.22);
    border-radius: 28px;
    background:
        linear-gradient(150deg, rgba(17, 41, 55, 0.94), rgba(4, 12, 24, 0.92)),
        rgba(3, 10, 18, 0.9);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.08);
    transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.35s ease;
    animation: auto-rise 1s 0.2s var(--auto-ease) both;
}

.auto-command-center::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    opacity: 0.65;
    background: linear-gradient(120deg, rgba(103, 247, 208, 0.35), transparent 25%, transparent 70%, rgba(86, 168, 255, 0.26));
}

.auto-command-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.45rem 1.1rem;
    color: #d9faf2;
    font-size: 0.78rem;
}

.auto-command-top > span:first-child {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.auto-command-time {
    color: #7d9aa7;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
}

.auto-command-core {
    position: relative;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 3.2rem;
    border: 1px solid rgba(103, 247, 208, 0.1);
    border-radius: 20px;
    background:
        radial-gradient(circle at center, rgba(42, 228, 191, 0.12), transparent 48%),
        linear-gradient(rgba(103, 247, 208, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 247, 208, 0.025) 1px, transparent 1px),
        rgba(2, 10, 18, 0.48);
    background-size: auto, 25px 25px, 25px 25px, auto;
}

.auto-core-rings {
    position: relative;
    width: 168px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
}

.auto-core-rings span {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(103, 247, 208, 0.45);
    border-radius: 50%;
    box-shadow: inset 0 0 28px rgba(103, 247, 208, 0.06);
    animation: auto-ring 8s linear infinite;
}

.auto-core-rings span:nth-child(2) {
    inset: 20px;
    border-style: dashed;
    border-color: rgba(86, 168, 255, 0.52);
    animation-direction: reverse;
    animation-duration: 11s;
}

.auto-core-rings span:nth-child(3) {
    inset: 42px;
    border-width: 2px;
    box-shadow: 0 0 36px rgba(103, 247, 208, 0.2);
    animation-duration: 5s;
}

.auto-core-sat {
    position: absolute;
    inset: 0;
    animation: auto-ring 6s linear infinite;
}

.auto-core-sat::before {
    content: "";
    position: absolute;
    top: -4px;
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--auto-cyan);
    box-shadow: 0 0 14px 3px rgba(103, 247, 208, 0.6);
}

.auto-core-sat--2 {
    inset: 20px;
    animation-duration: 9s;
    animation-direction: reverse;
}

.auto-core-sat--2::before {
    background: var(--auto-blue);
    box-shadow: 0 0 14px 3px rgba(86, 168, 255, 0.6);
}

.auto-core-sat--3 {
    animation-duration: 14s;
    animation-delay: -7s;
}

.auto-core-sat--3::before {
    width: 6px;
    height: 6px;
    background: var(--auto-amber);
    box-shadow: 0 0 12px 3px rgba(255, 200, 97, 0.55);
}

.auto-core-rings strong {
    color: #efffff;
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    text-shadow: 0 0 22px var(--auto-cyan);
}

.auto-command-core p {
    margin: 0 0 0.25rem;
    color: var(--auto-cyan);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auto-command-core > strong {
    color: #d9e9ed;
    font-size: 0.92rem;
}

.auto-command-wave {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 48px;
}

.auto-command-wave path {
    fill: none;
    stroke: var(--auto-cyan);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 6px rgba(103, 247, 208, 0.7));
    vector-effect: non-scaling-stroke;
}

.auto-command-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-top: 0.7rem;
}

.auto-command-metrics > div {
    min-width: 0;
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.auto-command-metrics span,
.auto-command-metrics small {
    display: block;
    color: #7d98a5;
    font-size: 0.66rem;
}

.auto-command-metrics strong {
    display: inline-block;
    margin-top: 0.15rem;
    color: #efffff;
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
}

.auto-command-metrics small {
    display: inline;
}

.auto-scroll-cue {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 2.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6f8995;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.auto-scroll-cue span {
    position: relative;
    width: 1px;
    height: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.auto-scroll-cue span::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 14px;
    background: var(--auto-cyan);
    box-shadow: 0 0 10px var(--auto-cyan);
    animation: auto-scroll-line 2s ease-in-out infinite;
}

/* ===== MARCA + TICKER ===== */
.auto-brand {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 3rem;
    padding: 3rem 0 2rem;
}

.auto-brand-card {
    position: relative;
    display: grid;
    place-items: center;
    width: min(900px, calc(100% - 2rem));
    aspect-ratio: 2.15;
    overflow: hidden;
    border: 1px solid rgba(103, 247, 208, 0.16);
    border-radius: 32px;
    background:
        radial-gradient(ellipse 55% 60% at 50% 48%, #0b2c38, transparent 75%),
        linear-gradient(160deg, #061522, #030a14);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 0 80px rgba(103, 247, 208, 0.05);
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 0.3s ease;
}

.auto-brand-card.auto-reveal.is-visible {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

/* Líneas de escaneo tipo holograma */
.auto-brand-card::before,
.auto-brand-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.auto-brand-card::before {
    background: repeating-linear-gradient(to bottom, rgba(180, 255, 240, 0.035) 0 1px, transparent 1px 4px);
}

.auto-brand-card::after {
    inset: -30% 0 auto;
    height: 30%;
    background: linear-gradient(to bottom, transparent, rgba(103, 247, 208, 0.09) 85%, rgba(103, 247, 208, 0.35));
    animation: auto-holo-scan 5.5s linear infinite;
    will-change: transform;
}

.auto-holo-circuit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.auto-holo-circuit path {
    fill: none;
    stroke: rgba(103, 247, 208, 0.16);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}

.auto-holo-circuit path.auto-holo-pulse {
    stroke: var(--auto-cyan);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 10 100;
    stroke-dashoffset: 10;
    animation: auto-holo-pulse 3.6s linear infinite;
}

.auto-holo-circuit path.auto-holo-pulse:nth-of-type(4n) { animation-delay: -0.9s; stroke: var(--auto-blue); }
.auto-holo-circuit path.auto-holo-pulse:nth-of-type(4n + 2) { animation-delay: -1.8s; }
.auto-holo-circuit path.auto-holo-pulse:nth-of-type(6n) { animation-delay: -2.7s; animation-duration: 4.8s; }

.auto-holo-circuit circle {
    fill: var(--auto-cyan);
    opacity: 0.25;
    animation: auto-holo-node 3.6s ease-in-out infinite;
}

.auto-holo-circuit circle:nth-of-type(even) { animation-delay: -1.8s; }

.auto-holo-beam {
    position: absolute;
    inset: 12% 14% 0;
    background: linear-gradient(to top, rgba(103, 247, 208, 0.2), rgba(103, 247, 208, 0.03) 70%, transparent);
    clip-path: polygon(34% 100%, 66% 100%, 100% 0, 0 0);
    animation: auto-holo-flicker 4s steps(1) infinite;
    pointer-events: none;
}

.auto-holo-base {
    position: absolute;
    left: 50%;
    bottom: 5%;
    width: 34%;
    height: 9%;
    border: 1px solid rgba(103, 247, 208, 0.55);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(103, 247, 208, 0.45), transparent 70%);
    box-shadow: 0 0 40px rgba(103, 247, 208, 0.45);
    transform: translateX(-50%);
}

.auto-holo-base::before {
    content: "";
    position: absolute;
    inset: -45% -22%;
    border: 1px dashed rgba(86, 168, 255, 0.4);
    border-radius: 50%;
    animation: auto-holo-base 3s ease-in-out infinite;
}

.auto-holo-logo {
    position: relative;
    z-index: 3;
    width: 58%;
    margin-bottom: 3%;
    animation: auto-logo-float 5s ease-in-out infinite;
    will-change: transform;
}

.auto-holo-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Hasta que JS genera la versión clara del logo, se aproxima con filtros (más costoso) */
.auto-holo-logo:not(.is-ready) {
    mix-blend-mode: screen;
}

.auto-holo-logo:not(.is-ready) img {
    filter: invert(1) hue-rotate(180deg) saturate(1.7);
}

.auto-brand-card.is-visible .auto-holo-logo img:first-child {
    animation: auto-holo-on 1.5s 0.25s var(--auto-ease) both;
}

.auto-holo-logo .auto-holo-ghost {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: auto-holo-glitch 7s steps(1) infinite;
}

.auto-holo-logo:not(.is-ready) .auto-holo-ghost,
.auto-holo-logo:not(.is-ready) .auto-holo-sweep {
    display: none;
}

/* Destello: una banda que cruza el logo, recortada con su propia silueta */
.auto-holo-sweep {
    position: absolute;
    inset: 0;
    overflow: hidden;
    mask: var(--holo-mask) center / 100% 100% no-repeat;
    -webkit-mask: var(--holo-mask) center / 100% 100% no-repeat;
}

.auto-holo-sweep i {
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: 0;
    width: 22%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    transform: translateX(-120%) skewX(-18deg);
    animation: auto-holo-sweep 4.5s ease-in-out infinite;
    will-change: transform;
}

.auto-holo-corner {
    position: absolute;
    z-index: 4;
    width: 26px;
    height: 26px;
    border: solid var(--auto-cyan);
    border-width: 2px 0 0 2px;
    opacity: 0.7;
    animation: auto-holo-corner 3s ease-in-out infinite;
}

.auto-holo-corner--tl { top: 18px; left: 18px; }
.auto-holo-corner--tr { top: 18px; right: 18px; rotate: 90deg; }
.auto-holo-corner--br { bottom: 18px; right: 18px; rotate: 180deg; }
.auto-holo-corner--bl { bottom: 18px; left: 18px; rotate: 270deg; }

.auto-holo-tag {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8fd9c8;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auto-holo-tag--tl { top: 24px; left: 56px; }
.auto-holo-tag--br { right: 56px; bottom: 24px; }

.auto-holo-tag i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--auto-cyan);
    box-shadow: 0 0 10px var(--auto-cyan);
    animation: auto-holo-blink 1.4s steps(1) infinite;
}

.auto-logo-atmosphere,
.auto-logo-atmosphere span {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auto-logo-atmosphere {
    top: 47%;
    left: 50%;
    width: 46%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
}

.auto-logo-atmosphere span {
    inset: 16%;
    border: 1px solid rgba(103, 247, 208, 0.22);
    animation: auto-ring 11s linear infinite;
}

.auto-logo-atmosphere span::before,
.auto-logo-atmosphere span::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--auto-cyan);
    box-shadow: 0 0 16px 4px rgba(103, 247, 208, 0.45);
}

.auto-logo-atmosphere span::before { top: 11%; left: 12%; }
.auto-logo-atmosphere span::after { right: 4%; bottom: 24%; }

.auto-logo-atmosphere span:nth-child(2) {
    inset: 27%;
    border-style: dashed;
    border-color: rgba(86, 168, 255, 0.3);
    animation-direction: reverse;
    animation-duration: 15s;
}

.auto-logo-atmosphere span:nth-child(3) {
    inset: 2%;
    border-color: rgba(103, 247, 208, 0.1);
    animation-duration: 20s;
}

@keyframes auto-holo-scan {
    to { transform: translateY(440%); }
}

@keyframes auto-holo-pulse {
    to { stroke-dashoffset: -100; }
}

@keyframes auto-holo-node {
    50% { opacity: 1; }
}

@keyframes auto-holo-flicker {
    0%, 100% { opacity: 1; }
    47% { opacity: 0.65; }
    49% { opacity: 1; }
    82% { opacity: 0.8; }
    84% { opacity: 1; }
}

@keyframes auto-holo-base {
    50% { transform: scale(1.12); opacity: 0.4; }
}

@keyframes auto-holo-on {
    0% { opacity: 0; clip-path: inset(0 100% 0 0); }
    35% { opacity: 1; }
    45% { opacity: 0.35; }
    55% { opacity: 1; }
    100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes auto-holo-glitch {
    0%, 100% { opacity: 0; }
    90% { opacity: 0.8; transform: translate(-7px, 2px); clip-path: inset(18% 0 58% 0); }
    92% { opacity: 0.8; transform: translate(6px, -2px); clip-path: inset(62% 0 12% 0); }
    94% { opacity: 0.7; transform: translate(-3px, 0); clip-path: inset(40% 0 38% 0); }
    96% { opacity: 0; }
}

@keyframes auto-holo-sweep {
    0%, 35% { transform: translateX(-120%) skewX(-18deg); }
    100% { transform: translateX(580%) skewX(-18deg); }
}

@keyframes auto-holo-corner {
    50% { opacity: 0.3; }
}

@keyframes auto-holo-blink {
    50% { opacity: 0.2; }
}

.auto-ticker {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1.1rem 0;
    border-block: 1px solid rgba(103, 247, 208, 0.12);
    background: #050f1a;
}

.auto-ticker::before,
.auto-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 14%;
    pointer-events: none;
}

.auto-ticker::before {
    left: 0;
    background: linear-gradient(90deg, #050f1a, transparent);
}

.auto-ticker::after {
    right: 0;
    background: linear-gradient(270deg, #050f1a, transparent);
}

.auto-ticker-track {
    display: flex;
    width: max-content;
    animation: auto-marquee 38s linear infinite;
    will-change: transform;
}

.auto-ticker:hover .auto-ticker-track {
    animation-play-state: paused;
}

.auto-ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 2.4rem;
    padding-right: 2.4rem;
    color: #c6dde3;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.auto-ticker-track span::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--auto-cyan);
}

/* ===== ENCABEZADOS DE SECCIÓN ===== */
.auto-section-heading {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-bottom: 2.4rem;
}

.auto-section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.auto-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
}

.auto-kicker::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

.auto-section-heading h2,
.auto-cta h2 {
    margin-bottom: 0.8rem;
    color: #f2fcff;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.auto-section-heading p {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--auto-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.auto-section-heading--center p {
    margin-right: auto;
    margin-left: auto;
}

/* ===== ECOSISTEMA ===== */
.auto-specs,
.auto-sim,
.auto-benefits,
.auto-cctv,
.auto-flow,
.auto-usecases {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.auto-specs-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

[data-glow] {
    --glow-x: 50%;
    --glow-y: 50%;
}

.auto-spec-card {
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 1.2rem 0.8rem;
    overflow: hidden;
    border: 1px solid var(--auto-border);
    border-radius: 20px;
    color: var(--auto-text);
    background:
        radial-gradient(circle 160px at var(--glow-x) var(--glow-y), rgba(103, 247, 208, 0.12), transparent 70%),
        linear-gradient(155deg, rgba(16, 35, 48, 0.72), rgba(4, 13, 24, 0.66));
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.auto-spec-card::before {
    content: "";
    position: absolute;
    inset: auto 12% 0;
    height: 1px;
    opacity: 0;
    background: var(--auto-cyan);
    box-shadow: 0 0 22px 4px rgba(103, 247, 208, 0.5);
    transition: opacity 0.35s ease, inset 0.35s ease;
}

.auto-spec-card:hover,
.auto-spec-card:focus-visible,
.auto-spec-card.active {
    z-index: 2;
    border-color: rgba(103, 247, 208, 0.45);
    background:
        radial-gradient(circle 160px at var(--glow-x) var(--glow-y), rgba(103, 247, 208, 0.18), transparent 70%),
        linear-gradient(155deg, rgba(22, 57, 65, 0.86), rgba(5, 19, 30, 0.78));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24), inset 0 0 30px rgba(103, 247, 208, 0.035);
    transform: translateY(-6px);
}

.auto-spec-card:hover::before,
.auto-spec-card:focus-visible::before,
.auto-spec-card.active::before {
    inset: auto 24% 0;
    opacity: 1;
}

.auto-spec-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.auto-spec-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auto-spec-card:hover .auto-spec-icon,
.auto-spec-card.active .auto-spec-icon {
    filter: drop-shadow(0 0 13px rgba(103, 247, 208, 0.48));
    transform: scale(1.1);
}

.auto-spec-name {
    color: #e8f8fb;
    font-size: 0.95rem;
    font-weight: 700;
}

.auto-spec-detail {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    min-height: 430px;
    margin-top: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(103, 247, 208, 0.2);
    border-radius: 26px;
    color: #eafcff;
    background:
        radial-gradient(circle at 88% 18%, rgba(77, 220, 190, 0.13), transparent 32%),
        linear-gradient(135deg, #071827, #04101d);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.auto-spec-detail::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(103, 247, 208, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 247, 208, 0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(90deg, transparent 35%, #000);
}

.auto-spec-detail-image {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.auto-spec-detail-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, #071827 100%);
}

.auto-spec-detail-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.05);
}

.auto-spec-detail-scan {
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: 2px;
    opacity: 0;
    background: var(--auto-cyan);
    box-shadow: 0 0 18px 4px rgba(103, 247, 208, 0.55);
}

.auto-spec-detail-number {
    position: absolute;
    z-index: 2;
    left: 1.25rem;
    bottom: 1.2rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(2, 12, 22, 0.82);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.auto-spec-detail-content {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: clamp(2rem, 5vw, 4rem);
}

.auto-spec-detail-kicker {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--auto-cyan);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.auto-spec-detail-content h3 {
    margin-bottom: 1rem;
    color: #f3fdff;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.auto-spec-detail-content p {
    max-width: 530px;
    color: #a9bec7;
    font-size: 0.98rem;
    line-height: 1.72;
}

.auto-spec-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.5rem;
    padding: 0;
    list-style: none;
}

.auto-spec-detail-tags li {
    padding: 0.45rem 0.78rem;
    border: 1px solid rgba(103, 247, 208, 0.18);
    border-radius: 999px;
    color: #c8e8e4;
    background: rgba(103, 247, 208, 0.07);
    font-size: 0.76rem;
}

.auto-spec-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.auto-round-btn {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(103, 247, 208, 0.25);
    border-radius: 50%;
    color: #dffbf4;
    background: rgba(103, 247, 208, 0.06);
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.auto-round-btn:hover {
    border-color: var(--auto-cyan);
    background: rgba(103, 247, 208, 0.16);
    transform: scale(1.06);
}

.auto-round-btn--play {
    font-size: 0.7rem;
    letter-spacing: -0.1em;
}

.auto-spec-progress {
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
}

.auto-spec-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--auto-cyan), var(--auto-blue));
    transform: scaleX(0);
    transform-origin: left;
}

.auto-spec-detail.is-switching .auto-spec-detail-image img {
    animation: auto-spec-image-in 0.7s var(--auto-ease);
}

.auto-spec-detail.is-switching .auto-spec-detail-scan {
    animation: auto-scan 0.9s var(--auto-ease);
}

.auto-spec-detail.is-switching .auto-spec-detail-content > :not(.auto-spec-controls) {
    animation: auto-spec-copy-in 0.5s var(--auto-ease) both;
}

.auto-spec-detail.is-switching .auto-spec-detail-content > :nth-child(2) { animation-delay: 0.05s; }
.auto-spec-detail.is-switching .auto-spec-detail-content > :nth-child(3) { animation-delay: 0.1s; }
.auto-spec-detail.is-switching .auto-spec-detail-content > :nth-child(4) { animation-delay: 0.15s; }

/* ===== PANEL DE CONTROL (SIMULADOR) ===== */
.auto-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Iconos de trazo compartidos por el panel y la videovigilancia */
.auto-dash svg:not([viewBox]),
.auto-cctv svg:not([viewBox]) {
    width: 1.25em;
    height: 1.25em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auto-dash {
    --cover: 1;
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(103, 247, 208, 0.16);
    border-radius: 26px;
    background: #0a111c;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.05);
}

.auto-dash-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 0.6rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: #070d16;
}

.auto-dash-nav button {
    display: grid;
    justify-items: center;
    gap: 0.3rem;
    padding: 0.7rem 0.2rem;
    border: 0;
    border-radius: 14px;
    color: #7f95a3;
    background: transparent;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.auto-dash-nav button svg {
    font-size: 1.15rem;
}

.auto-dash-nav button:hover {
    color: #e2f6f4;
    background: rgba(255, 255, 255, 0.04);
}

.auto-dash-nav button[aria-pressed="true"] {
    color: var(--auto-cyan);
    background: rgba(103, 247, 208, 0.12);
}

.auto-dash-main {
    position: relative;
    min-width: 0;
    padding: 1.1rem;
}

.auto-dash-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.auto-dash-title strong {
    display: block;
    color: #f2fdff;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.auto-dash-title span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #7f95a3;
    font-size: 0.78rem;
}

.auto-dash-title i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--auto-cyan);
    box-shadow: 0 0 10px var(--auto-cyan);
}

.auto-dash-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.auto-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #c6d8df;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
}

.auto-dash-scenes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.auto-scene-btn {
    padding: 0.55rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #b5c9d1;
    background: rgba(255, 255, 255, 0.03);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.auto-scene-btn:hover {
    border-color: rgba(103, 247, 208, 0.4);
    color: #eafdf8;
}

.auto-scene-btn[aria-pressed="true"] {
    border-color: transparent;
    color: #00130f;
    background: linear-gradient(135deg, #9affdf, #44ddb9);
}

.auto-dash-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}

.auto-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background: #101a28;
    animation: auto-card-in 0.35s var(--auto-ease);
}

.auto-card--plan {
    grid-column: span 4;
}

/* Cada vista del menú muestra solo sus tarjetas */
.auto-dash[data-view="resumen"] .auto-card:not([data-views~="resumen"]),
.auto-dash[data-view="luces"] .auto-card:not([data-views~="luces"]),
.auto-dash[data-view="clima"] .auto-card:not([data-views~="clima"]),
.auto-dash[data-view="seguridad"] .auto-card:not([data-views~="seguridad"]),
.auto-dash[data-view="riego"] .auto-card:not([data-views~="riego"]),
.auto-dash[data-view="energia"] .auto-card:not([data-views~="energia"]) {
    display: none;
}

.auto-dash[data-view="energia"] .auto-card {
    grid-column: span 3;
}

.auto-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.auto-card-head h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e9f8fb;
    font-size: 0.95rem;
}

.auto-card-head h3 svg {
    color: var(--auto-cyan);
}

.auto-card-hint {
    color: #7f95a3;
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
}

.auto-card-hint b {
    color: #dff4f1;
}

.auto-link-btn {
    padding: 0.2rem 0.4rem;
    border: 0;
    color: var(--auto-cyan);
    background: none;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
}

.auto-link-btn:hover {
    text-decoration: underline;
}

.auto-icon-btn {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #dcebf0;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.auto-icon-btn:hover {
    border-color: rgba(103, 247, 208, 0.45);
    background: rgba(103, 247, 208, 0.1);
}

.auto-icon-btn:active {
    transform: scale(0.92);
}

/* Selector segmentado (modos de clima y de alarma) */
.auto-seg {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.3);
}

.auto-seg button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 36px;
    padding: 0.35rem 0.3rem;
    border: 0;
    border-radius: 10px;
    color: #8da3af;
    background: transparent;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.auto-seg button:hover {
    color: #e2f6f4;
}

.auto-seg button[aria-pressed="true"] {
    color: #00130f;
    background: var(--auto-cyan);
}

/* Plano */
.auto-floor {
    display: block;
    width: 100%;
    height: auto;
    margin: auto 0;
    overflow: visible;
}

.auto-zone {
    cursor: pointer;
    outline: none;
}

.auto-zone-base {
    fill: #0a1826;
    stroke: rgba(103, 247, 208, 0.22);
    stroke-width: 1.5;
    transition: fill 0.5s ease, stroke 0.2s ease;
}

.auto-zone:hover .auto-zone-base,
.auto-zone:focus-visible .auto-zone-base {
    stroke: var(--auto-cyan);
    stroke-width: 2.5;
}

.auto-zone.is-lit .auto-zone-base {
    fill: #182433;
}

.auto-zone-light,
.auto-zone-clima {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, fill 0.5s ease;
}

.auto-zone.is-lit .auto-zone-light {
    opacity: var(--bri, 1);
}

.auto-zone-clima {
    fill: rgba(86, 168, 255, 0.16);
}

.auto-dash.clima-heat .auto-zone-clima {
    fill: rgba(255, 140, 80, 0.16);
}

.auto-dash.clima-running .auto-zone-clima {
    opacity: 1;
    animation: auto-breathe 3.5s ease-in-out infinite;
}

.auto-zone-label,
.auto-zone-temp {
    fill: #9fb8c3;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    transition: fill 0.4s ease;
}

.auto-zone-temp {
    fill: #dff4f1;
    font-variant-numeric: tabular-nums;
}

.auto-zone.is-lit .auto-zone-label {
    fill: #fff3d6;
}

.auto-furniture rect,
.auto-furniture circle {
    fill: rgba(255, 255, 255, 0.045);
    stroke: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.auto-zone.is-lit .auto-furniture rect,
.auto-zone.is-lit .auto-furniture circle {
    fill: rgba(255, 230, 180, 0.1);
    stroke: rgba(255, 220, 160, 0.3);
}

.auto-people {
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.auto-dash.has-people .auto-people {
    opacity: 1;
}

.auto-person {
    fill: var(--auto-cyan);
}

.auto-dash.has-people .auto-person--1 { animation: auto-walk-a 9s ease-in-out infinite; }
.auto-dash.has-people .auto-person--2 { animation: auto-walk-b 11s ease-in-out infinite; }
.auto-dash.has-people .auto-person--3 { animation: auto-walk-c 8s ease-in-out infinite; }

.auto-zone--exterior .auto-zone-base {
    fill: #081a17;
}

.auto-plants circle {
    fill: rgba(80, 200, 120, 0.25);
    stroke: rgba(110, 230, 150, 0.45);
    pointer-events: none;
}

.auto-drops circle {
    fill: var(--auto-blue);
    opacity: 0;
    pointer-events: none;
}

.auto-drops.is-on circle {
    animation: auto-drop 1.2s ease-in infinite;
}

.auto-drops.is-on circle:nth-child(2) {
    animation-delay: 0.5s;
}

.auto-lamps circle {
    fill: #3a4656;
    pointer-events: none;
    transition: fill 0.4s ease;
}

.auto-zone.is-lit .auto-lamps circle {
    fill: #ffe3a1;
}

.auto-blind {
    fill: rgba(150, 170, 190, 0.85);
    stroke: rgba(200, 215, 230, 0.9);
    transform-box: fill-box;
    transform-origin: left center;
    transform: scaleX(calc(1 - var(--cover) * 0.8));
    pointer-events: none;
}

.auto-door rect {
    fill: #0a1826;
    stroke: rgba(103, 247, 208, 0.35);
    pointer-events: none;
}

.auto-door-led {
    fill: var(--auto-cyan);
    transition: fill 0.3s ease;
}

.auto-dash.door-unlocked .auto-door-led {
    fill: var(--auto-amber);
}

.auto-alarm-ring {
    fill: none;
    stroke: var(--auto-red);
    stroke-width: 2;
    stroke-dasharray: 10 8;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, stroke 0.4s ease;
}

.auto-dash.alarm-home .auto-alarm-ring {
    stroke: var(--auto-amber);
    opacity: 0.8;
}

.auto-dash.alarm-arming .auto-alarm-ring {
    stroke: var(--auto-amber);
    animation: auto-alarm 0.6s ease-in-out infinite;
    opacity: 1;
}

.auto-dash.alarm-away .auto-alarm-ring {
    opacity: 0.85;
}

.auto-dash.alarm-triggered .auto-alarm-ring {
    stroke-dasharray: none;
    stroke-width: 4;
    opacity: 1;
    animation: auto-alarm 0.5s ease-in-out infinite;
}

/* Termostato */
.auto-thermo {
    position: relative;
    width: min(100%, 210px);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.auto-thermo:active {
    cursor: grabbing;
}

.auto-thermo svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.auto-thermo-track,
.auto-thermo-fill {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    transform: rotate(135deg);
    transform-origin: 100px 100px;
}

.auto-thermo-track {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-dasharray: 270 360;
}

.auto-thermo-fill {
    stroke: var(--thermo-color, var(--auto-blue));
    stroke-dasharray: var(--thermo-arc, 0) 360;
    transition: stroke 0.4s ease;
}

.auto-thermo-thumb {
    fill: #f2fdff;
    stroke: var(--thermo-color, var(--auto-blue));
    stroke-width: 4;
}

.auto-thermo-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    pointer-events: none;
}

.auto-thermo-center span {
    color: var(--thermo-color, var(--auto-blue));
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auto-thermo-center strong {
    color: #f2fdff;
    font-size: 2.7rem;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.auto-thermo-center sup {
    color: #8da3af;
    font-size: 0.95rem;
}

.auto-thermo-center small {
    color: #8da3af;
    font-size: 0.78rem;
}

.auto-thermo-center small b {
    color: #dff4f1;
}

.auto-dash.clima-off .auto-thermo {
    --thermo-color: #5b6b78;
}

.auto-dash.clima-heat .auto-thermo {
    --thermo-color: #ff9b61;
}

.auto-thermo-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    color: #64798a;
    font-size: 0.72rem;
    text-align: center;
}

/* Entidades (luces, cerradura, sensores, riego) */
.auto-ents {
    display: grid;
    gap: 0.45rem;
}

.auto-ent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem 0.7rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.auto-ent-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: #8da3af;
    background: rgba(255, 255, 255, 0.06);
    transition: color 0.3s ease, background 0.3s ease, transform 0.15s ease;
}

button.auto-ent-icon {
    cursor: pointer;
}

button.auto-ent-icon:active {
    transform: scale(0.9);
}

.auto-ent-info {
    min-width: 0;
}

.auto-ent-info strong {
    display: block;
    overflow: hidden;
    color: #e6f4f7;
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auto-ent-info span {
    color: #7f95a3;
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
}

.auto-ent > input[type="range"],
.auto-humidity {
    grid-column: 1 / -1;
}

.auto-ent.is-on {
    border-color: rgba(255, 200, 97, 0.25);
    background: rgba(255, 200, 97, 0.07);
}

.auto-ent.is-on .auto-ent-icon {
    color: #1d1300;
    background: var(--auto-amber);
}

.auto-ent--light:not(.is-on) input[type="range"] {
    opacity: 0.45;
}

.auto-ent--light input[type="range"] {
    --range-a: #ffb347;
    --range-b: #ffe3a1;
}

.auto-ent--water.is-on,
.auto-ent[data-lock].is-on {
    border-color: rgba(86, 168, 255, 0.3);
    background: rgba(86, 168, 255, 0.08);
}

.auto-ent--water.is-on .auto-ent-icon {
    color: #001326;
    background: var(--auto-blue);
}

.auto-ent[data-lock].is-on .auto-ent-icon {
    color: #00130f;
    background: var(--auto-cyan);
}

.auto-ent[data-lock]:not(.is-on) .auto-ent-icon {
    color: #1d1300;
    background: var(--auto-amber);
}

.auto-ent--sensor.is-alert {
    border-color: rgba(255, 200, 97, 0.3);
}

.auto-ent--sensor.is-alert .auto-ent-icon {
    color: var(--auto-amber);
}

.auto-humidity {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #8da3af;
    font-size: 0.74rem;
}

.auto-humidity span {
    flex: 1;
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
}

.auto-humidity i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3d7fd6, var(--auto-blue));
    transform: scaleX(var(--humidity, 0.4));
    transform-origin: left;
    transition: transform 0.8s linear;
}

.auto-humidity b {
    min-width: 3.2em;
    color: #dff4f1;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Alarma */
.auto-alarm-state {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    color: #9fb4bf;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
    font-weight: 700;
}

.auto-dash.alarm-home .auto-alarm-state,
.auto-dash.alarm-arming .auto-alarm-state {
    color: #1d1300;
    background: var(--auto-amber);
}

.auto-dash.alarm-away .auto-alarm-state {
    color: #00130f;
    background: var(--auto-cyan);
}

.auto-dash.alarm-triggered .auto-alarm-state {
    color: #fff;
    background: var(--auto-red);
    animation: auto-alarm-badge 0.5s steps(1) infinite;
}

.auto-dash.alarm-triggered .auto-card--alarm {
    border-color: var(--auto-red);
    box-shadow: 0 0 0 1px var(--auto-red), 0 0 30px rgba(255, 107, 122, 0.25);
}

/* Persianas */
.auto-cover {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auto-cover-window {
    position: relative;
    flex: 0 0 76px;
    height: 76px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: linear-gradient(160deg, #2c5f86, #7fb6d8);
}

.auto-dash.is-night .auto-cover-window {
    background: linear-gradient(160deg, #050b16, #10233d);
}

.auto-cover-window span {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, #aebccb 0 6px, #7f8fa0 6px 8px);
    transform: translateY(calc(var(--cover) * -100%));
}

.auto-cover-controls {
    flex: 1;
    display: grid;
    gap: 0.7rem;
    min-width: 0;
}

.auto-cover-btns {
    display: flex;
    gap: 0.4rem;
}

/* Energía */
.auto-energy-now strong {
    display: block;
    color: #f2fdff;
    font-size: 2.1rem;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.auto-energy-now small {
    color: var(--auto-cyan);
    font-size: 0.78rem;
}

.auto-spark {
    display: block;
    width: 100%;
    height: 64px;
}

.auto-spark-line {
    fill: none;
    stroke: var(--auto-cyan);
    stroke-width: 2;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.auto-energy-split {
    display: flex;
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
}

.auto-energy-split span {
    flex: 0 0 auto;
    width: 0;
    transition: width 0.6s var(--auto-ease);
}

[data-split="luces"] { background: var(--auto-amber); }
[data-split="clima"] { background: var(--auto-blue); }
[data-split="otros"] { background: #8896a6; }

.auto-energy-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
    margin: 0;
    padding: 0;
    color: #8da3af;
    font-size: 0.74rem;
    list-style: none;
}

.auto-energy-legend li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.4rem;
    border-radius: 50%;
    background: #8896a6;
}

.auto-energy-legend [data-legend="luces"]::before { background: var(--auto-amber); }
.auto-energy-legend [data-legend="clima"]::before { background: var(--auto-blue); }

.auto-energy-legend b {
    color: #dff4f1;
    font-variant-numeric: tabular-nums;
}

/* Actividad */
.auto-sim-log {
    flex: 1;
    max-height: 210px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

.auto-sim-log li {
    display: flex;
    gap: 0.6rem;
    padding: 0.32rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #b7ccd4;
    font-size: 0.76rem;
    line-height: 1.4;
    animation: auto-log-in 0.4s var(--auto-ease) both;
}

.auto-sim-log li time {
    flex: 0 0 auto;
    color: var(--auto-cyan);
    font-variant-numeric: tabular-nums;
}

.auto-sim-log li.is-alert,
.auto-sim-log li.is-alert time {
    color: var(--auto-red);
}

.auto-dash-toast {
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    z-index: 5;
    max-width: calc(100% - 2rem);
    padding: 0.7rem 1.1rem;
    border-radius: 12px;
    color: #06121c;
    background: #e9f8fb;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    font-size: 0.84rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity 0.3s ease, transform 0.3s var(--auto-ease);
}

.auto-dash-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.auto-dash-toast.is-alert {
    color: #fff;
    background: var(--auto-red);
}

.auto-sim-note {
    margin: 1rem 0 0;
    color: #5f7a86;
    font-size: 0.76rem;
    text-align: center;
}

/* Interruptores y deslizadores */
.auto-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    color: #c3d6dd;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.84rem;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.auto-switch--mini {
    padding: 0.2rem 0.3rem;
    border: 0;
    background: none;
    font-size: 0.76rem;
}

.auto-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auto-switch-ui {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 20px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.25s ease;
}

.auto-switch-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #cfe0e6;
    transition: transform 0.3s var(--auto-ease), background 0.25s ease;
}

.auto-switch input:checked + .auto-switch-ui {
    background: rgba(103, 247, 208, 0.35);
}

.auto-switch input:checked + .auto-switch-ui::after {
    background: var(--auto-cyan);
    transform: translateX(14px);
}

.auto-switch input:focus-visible + .auto-switch-ui {
    outline: 2px solid var(--auto-cyan);
    outline-offset: 2px;
}

.page-automatizacion input[type="range"] {
    --fill: 50%;
    --range-a: var(--auto-cyan);
    --range-b: var(--auto-blue);
    width: 100%;
    height: 20px;
    margin: 0;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.page-automatizacion input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--range-a), var(--range-b) var(--fill), rgba(255, 255, 255, 0.1) var(--fill));
}

.page-automatizacion input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
}

.page-automatizacion input[type="range"]::-moz-range-progress {
    height: 6px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--range-a), var(--range-b));
}

.page-automatizacion input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -6px;
    border: 3px solid #101a28;
    border-radius: 50%;
    background: #f2fdff;
    box-shadow: 0 0 0 1px var(--range-b);
    -webkit-appearance: none;
}

.page-automatizacion input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 3px solid #101a28;
    border-radius: 50%;
    background: #f2fdff;
    box-shadow: 0 0 0 1px var(--range-b);
}

@media (max-width: 1100px) {
    .auto-dash-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auto-card,
    .auto-dash[data-view="energia"] .auto-card {
        grid-column: span 1;
    }

    .auto-card--plan {
        grid-column: span 2;
    }
}

@media (max-width: 800px) {
    .auto-dash {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 20px;
    }

    .auto-dash-nav {
        flex-direction: row;
        padding: 0.5rem;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        scrollbar-width: none;
    }

    .auto-dash-nav::-webkit-scrollbar {
        display: none;
    }

    .auto-dash-nav button {
        flex: 0 0 74px;
        padding: 0.5rem 0.2rem;
    }

    .auto-dash-main {
        padding: 0.8rem;
    }

    .auto-card-hint {
        display: none;
    }

    .auto-card--plan .auto-card-hint,
    .auto-card--energy .auto-card-hint {
        display: inline;
    }

    .auto-zone-label,
    .auto-zone-temp {
        font-size: 20px;
    }
}

@media (max-width: 620px) {
    .auto-dash-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .auto-card,
    .auto-card--plan,
    .auto-dash[data-view="energia"] .auto-card {
        grid-column: auto;
    }
}

/* ===== BENEFICIOS ===== */
.auto-benefits::before,
.auto-flow::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 700px;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
}

.auto-benefits::before {
    top: 0;
    right: -25%;
    background: radial-gradient(circle, rgba(103, 247, 208, 0.09), transparent 68%);
}

.auto-flow::before {
    bottom: -10%;
    left: -25%;
    background: radial-gradient(circle, rgba(86, 168, 255, 0.09), transparent 68%);
}

.auto-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.auto-benefit-card {
    position: relative;
    min-height: 295px;
    padding: 1.7rem;
    overflow: hidden;
    border: 1px solid var(--auto-border);
    border-radius: 22px;
    background:
        radial-gradient(circle 220px at var(--glow-x) var(--glow-y), rgba(103, 247, 208, 0.1), transparent 70%),
        linear-gradient(145deg, rgba(13, 30, 43, 0.82), rgba(4, 13, 24, 0.68));
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 0.3s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.auto-benefit-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 130px;
    aspect-ratio: 1;
    border: 1px solid rgba(103, 247, 208, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(103, 247, 208, 0.025), 0 0 0 45px rgba(103, 247, 208, 0.018);
    transition: transform 0.6s var(--auto-ease);
}

.auto-benefit-card:hover {
    border-color: rgba(103, 247, 208, 0.38);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.auto-benefit-card:hover::after {
    transform: scale(1.35);
}

.auto-benefit-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(103, 247, 208, 0.18);
    border-radius: 16px;
    background: rgba(103, 247, 208, 0.08);
}

.auto-benefit-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.auto-benefit-card h3 {
    margin-bottom: 0.75rem;
    color: #e9fcff;
    font-size: 1.14rem;
}

.auto-benefit-card p,
.auto-step p {
    color: var(--auto-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ===== VIDEOVIGILANCIA CON IA ===== */
.auto-cctv {
    --c-persona: #67f7d0;
    --c-mascota: #ffc861;
    --c-vehiculo: #56a8ff;
}

.auto-cctv-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.2rem;
    align-items: start;
}

.auto-cctv-viewer {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(103, 247, 208, 0.16);
    border-radius: 26px;
    background: #0a111c;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.05);
}

.auto-cctv-cams,
.auto-cctv-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.auto-cctv-cams {
    margin-bottom: 0.8rem;
}

.auto-cctv-cams button,
.auto-cctv-sim {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #b5c9d1;
    background: rgba(255, 255, 255, 0.03);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.auto-cctv-cams button:hover {
    border-color: rgba(103, 247, 208, 0.4);
    color: #eafdf8;
}

.auto-cctv-cams button[aria-pressed="true"] {
    border-color: transparent;
    color: #00130f;
    background: var(--auto-cyan);
}

.auto-cctv-feed {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: #0c1a1f;
    aspect-ratio: 16 / 9;
}

/* Líneas de escaneo y viñeta de cámara */
.auto-cctv-feed::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px),
        radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55));
}

.auto-cctv-feed.is-switching .auto-cctv-scene {
    animation: auto-cctv-switch 0.45s steps(4);
}

.auto-cctv-scene {
    display: block;
    width: 100%;
    height: 100%;
}

.auto-cctv-scene [data-scene] {
    display: none;
}

.auto-cctv-feed[data-cam="entrada"] [data-scene="entrada"],
.auto-cctv-feed[data-cam="parking"] [data-scene="parking"],
.auto-cctv-feed[data-cam="jardin"] [data-scene="jardin"] {
    display: inline;
}

.auto-cctv-zone {
    fill: rgba(103, 247, 208, 0.05);
    stroke: rgba(103, 247, 208, 0.55);
    stroke-width: 1.5;
    stroke-dasharray: 8 6;
}

.auto-cctv-zone-label {
    fill: rgba(103, 247, 208, 0.8);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auto-cctv-actor {
    will-change: transform;
}

.auto-cctv-actor.is-persona { color: var(--c-persona); }
.auto-cctv-actor.is-mascota { color: var(--c-mascota); }
.auto-cctv-actor.is-vehiculo { color: var(--c-vehiculo); }

.auto-cctv-shape {
    fill: #c4d8d2;
    stroke: #c4d8d2;
}

.auto-cctv-shape .is-dark {
    fill: #182a2e;
    stroke: none;
}

.auto-cctv-shape .is-light {
    fill: #fdfbe0;
    stroke: none;
}

.auto-cctv-box {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.auto-cctv-actor.is-detected .auto-cctv-box {
    opacity: 1;
}

.auto-cctv-box rect:first-child {
    fill: currentColor;
    fill-opacity: 0.08;
    stroke: currentColor;
    stroke-width: 2.5;
}

.auto-cctv-box .auto-cctv-tag {
    fill: currentColor;
}

.auto-cctv-box text {
    fill: #03121a;
    font-size: 13px;
    font-weight: 700;
}

.auto-cctv-hud {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto 1fr auto;
    gap: 0.4rem 0.8rem;
    padding: 0.8rem 1rem;
    color: #e6fbf6;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-shadow: 0 1px 3px #000;
    pointer-events: none;
}

.auto-cctv-rec {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ff8f9a;
    font-weight: 700;
}

.auto-cctv-rec i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--auto-red);
    animation: auto-holo-blink 1.2s steps(1) infinite;
}

.auto-cctv-clock {
    font-variant-numeric: tabular-nums;
}

.auto-cctv-ai {
    grid-row: 3;
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--auto-cyan);
}

.auto-cctv-actions {
    margin-top: 0.9rem;
    color: #8da3af;
    font-size: 0.82rem;
}

.auto-cctv-sim--persona { --c: var(--c-persona); }
.auto-cctv-sim--mascota { --c: var(--c-mascota); }
.auto-cctv-sim--vehiculo { --c: var(--c-vehiculo); }

.auto-cctv-sim {
    border-color: color-mix(in srgb, var(--c) 45%, transparent);
    color: var(--c);
    background: color-mix(in srgb, var(--c) 8%, transparent);
}

.auto-cctv-sim:hover {
    background: color-mix(in srgb, var(--c) 18%, transparent);
}

.auto-cctv-sim:active {
    transform: scale(0.95);
}

.auto-cctv-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-height: 2.2rem;
    margin: 0.9rem 0 0;
    padding: 0.9rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    list-style: none;
}

.auto-cctv-timeline:empty::before {
    content: "Las detecciones aparecerán aquí.";
    color: #5f7a86;
    font-size: 0.78rem;
}

.auto-cctv-timeline li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: #c6d8df;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
    animation: auto-log-in 0.4s var(--auto-ease) both;
}

.auto-cctv-timeline li svg {
    color: var(--c);
}

.auto-cctv-timeline li.is-muted {
    color: #6f8693;
}

.auto-cctv-timeline [data-type="persona"],
.auto-phone-list [data-type="persona"] { --c: var(--c-persona); }
.auto-cctv-timeline [data-type="mascota"],
.auto-phone-list [data-type="mascota"] { --c: var(--c-mascota); }
.auto-cctv-timeline [data-type="vehiculo"],
.auto-phone-list [data-type="vehiculo"] { --c: var(--c-vehiculo); }

/* Móvil con avisos */
.auto-cctv-side {
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.auto-phone {
    width: min(100%, 270px);
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 40px;
    background: #111a27;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #05090f;
}

.auto-phone.is-buzzing {
    animation: auto-phone-buzz 0.4s linear;
}

.auto-phone-screen {
    height: 430px;
    padding: 0.7rem 0.6rem;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at 80% 0%, rgba(86, 168, 255, 0.35), transparent 55%),
        radial-gradient(circle at 10% 100%, rgba(103, 247, 208, 0.25), transparent 55%),
        #07101c;
}

.auto-phone-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
    color: #e9f8fb;
    font-size: 0.68rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.auto-phone-notch {
    width: 74px;
    height: 20px;
    border-radius: 99px;
    background: #02050a;
}

.auto-phone-title {
    margin: 1.1rem 0.4rem 0.6rem;
    color: #e9f8fb;
    font-size: 1.05rem;
    font-weight: 700;
}

.auto-phone-list {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auto-phone-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.1rem 0.55rem;
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(20, 32, 46, 0.92);
    animation: auto-notif-in 0.5s var(--auto-ease) both;
}

.auto-phone-list li > span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #03121a;
    background: var(--c);
}

.auto-phone-list strong {
    color: #f2fdff;
    font-size: 0.8rem;
}

.auto-phone-list small {
    overflow: hidden;
    color: #9fb4bf;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auto-phone-empty {
    margin: 2.5rem 1rem 0;
    color: #8da3af;
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
}

.auto-cctv-filters {
    display: grid;
    gap: 0.4rem;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.auto-cctv-filters legend {
    margin-bottom: 0.5rem;
    color: #8da3af;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auto-cctv-filters b {
    min-width: 1.8em;
    margin-left: auto;
    padding: 0.1rem 0.45rem;
    border-radius: 99px;
    color: #03121a;
    font-size: 0.74rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.auto-cctv-filter--persona b { background: var(--c-persona); }
.auto-cctv-filter--mascota b { background: var(--c-mascota); }
.auto-cctv-filter--vehiculo b { background: var(--c-vehiculo); }

.auto-cctv-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.auto-cctv-features li {
    padding: 1.3rem;
    border: 1px solid var(--auto-border);
    border-radius: 20px;
    background:
        radial-gradient(circle 200px at var(--glow-x) var(--glow-y), rgba(103, 247, 208, 0.1), transparent 70%),
        linear-gradient(145deg, rgba(13, 30, 43, 0.82), rgba(4, 13, 24, 0.68));
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.auto-cctv-features li:hover {
    border-color: rgba(103, 247, 208, 0.38);
    transform: translateY(-4px);
}

.auto-cctv-feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border: 1px solid rgba(103, 247, 208, 0.18);
    border-radius: 14px;
    color: var(--auto-cyan);
    background: rgba(103, 247, 208, 0.08);
    font-size: 1.15rem;
}

.auto-cctv-features h3 {
    margin-bottom: 0.45rem;
    color: #e9fcff;
    font-size: 1.02rem;
}

.auto-cctv-features p {
    color: var(--auto-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

@keyframes auto-cctv-switch {
    0% { opacity: 0.2; transform: translateY(-6%); }
    50% { opacity: 0.6; transform: translateY(3%); }
    100% { opacity: 1; transform: none; }
}

@keyframes auto-phone-buzz {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-3px) rotate(-0.6deg); }
    40%, 80% { transform: translateX(3px) rotate(0.6deg); }
}

@keyframes auto-notif-in {
    from { opacity: 0; transform: translateY(-16px) scale(0.96); }
}

@keyframes auto-card-in {
    from { opacity: 0; transform: translateY(8px); }
}

@keyframes auto-alarm-badge {
    50% { opacity: 0.45; }
}

@media (max-width: 1100px) {
    .auto-cctv-stage {
        grid-template-columns: minmax(0, 1fr);
    }

    .auto-cctv-side {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 1.5rem;
    }

    .auto-cctv-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .auto-cctv-viewer {
        padding: 0.6rem;
        border-radius: 20px;
    }

    .auto-cctv-hud {
        padding: 0.5rem 0.6rem;
        font-size: 0.58rem;
    }

    .auto-cctv-ai {
        display: none;
    }

    .auto-cctv-side {
        grid-template-columns: minmax(0, 1fr);
    }

    .auto-phone-screen {
        height: 380px;
    }

    .auto-cctv-features {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== CÓMO LO HACEMOS ===== */
.auto-flow-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 2.2rem 0 0;
    padding: 0;
    list-style: none;
}

.auto-flow-line {
    position: absolute;
    top: 31px;
    left: 3%;
    right: 3%;
    height: 2px;
    background: rgba(103, 247, 208, 0.12);
}

.auto-flow-line span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--auto-cyan), var(--auto-blue));
    box-shadow: 0 0 14px rgba(103, 247, 208, 0.5);
    transform: scaleX(var(--flow, 0));
    transform-origin: left;
}

.auto-step {
    position: relative;
    padding: 4.1rem 1.4rem 1.6rem;
    border: 1px solid var(--auto-border);
    border-radius: 20px;
    background: rgba(6, 17, 29, 0.7);
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, opacity 0.5s ease;
}

.auto-step:hover {
    border-color: rgba(103, 247, 208, 0.35);
    background: rgba(11, 31, 43, 0.82);
    transform: translateY(-6px);
}

.auto-step-badge {
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 1.4rem;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(103, 247, 208, 0.3);
    border-radius: 50%;
    color: #6f8a96;
    background: #071722;
    font-weight: 700;
    box-shadow: 0 0 0 7px #030811;
    transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.auto-step.is-active .auto-step-badge {
    border-color: var(--auto-cyan);
    color: #00130f;
    background: var(--auto-cyan);
    box-shadow: 0 0 0 7px #030811, 0 0 24px rgba(103, 247, 208, 0.6);
}

.auto-step h3 {
    margin-bottom: 0.5rem;
    color: #e7f8fb;
    font-size: 1.02rem;
}

/* ===== CASOS DE USO ===== */
.auto-usecases {
    padding-bottom: 7rem;
}

.auto-use-tabs-wrapper {
    position: relative;
    z-index: 4;
    margin-bottom: 1rem;
}

.auto-use-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.45rem;
    padding: 0.55rem;
    border: 1px solid rgba(103, 247, 208, 0.14);
    border-radius: 18px;
    background: rgba(5, 16, 27, 0.92);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.auto-use-indicator {
    position: absolute;
    top: 0.55rem;
    bottom: 0.55rem;
    left: 0;
    width: var(--ind-w, 0);
    border: 1px solid rgba(103, 247, 208, 0.25);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(103, 247, 208, 0.14), rgba(86, 168, 255, 0.08));
    box-shadow: inset 0 -2px var(--auto-cyan), 0 10px 28px rgba(0, 0, 0, 0.16);
    transform: translateX(var(--ind-x, 0));
    transition: transform 0.5s var(--auto-ease), width 0.5s var(--auto-ease);
    pointer-events: none;
}

.auto-use-tab {
    position: relative;
    z-index: 1;
    min-height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 13px;
    color: #8299a5;
    background: transparent;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.auto-use-tab:hover {
    color: #d8f4f2;
    transform: translateY(-2px);
}

.auto-use-tab.active {
    color: var(--auto-cyan);
}

.auto-use-tab-icon {
    width: 34px;
    height: 34px;
}

.auto-use-tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.auto-use-tab:not(.active) .auto-use-tab-icon img {
    filter: grayscale(1) brightness(1.7);
    opacity: 0.5;
}

.auto-use-tab.active .auto-use-tab-icon img {
    filter: drop-shadow(0 0 8px rgba(103, 247, 208, 0.5));
}

.auto-use-panels {
    position: relative;
    min-height: 610px;
}

.auto-use-panel {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    border: 1px solid rgba(103, 247, 208, 0.13);
    border-radius: 28px;
    background: #07101b;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
    touch-action: pan-y;
}

.auto-use-panel[hidden] {
    display: none;
}

.auto-use-panel.active {
    animation: auto-panel-in 0.65s var(--auto-ease) both;
}

.auto-use-panel-image,
.auto-use-panel-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.auto-use-panel-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 8, 16, 0.12), rgba(2, 8, 16, 0.62));
}

.auto-use-panel-image img {
    opacity: 0;
    object-fit: cover;
    filter: saturate(0.78) contrast(1.06) brightness(0.8);
    transform: scale(1.08);
    transition: opacity 0.9s ease-in-out, transform 8s ease;
}

.auto-use-panel-image img.active {
    opacity: 1;
    transform: scale(1);
}

.auto-use-dots {
    position: absolute;
    z-index: 3;
    left: 1.4rem;
    bottom: 1.4rem;
    display: flex;
    gap: 0.4rem;
}

.auto-use-dots button {
    width: 26px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: width 0.4s var(--auto-ease), background 0.3s ease;
}

.auto-use-dots button.active {
    width: 44px;
    background: var(--auto-cyan);
}

.auto-use-card {
    position: absolute;
    top: 50%;
    right: 5%;
    z-index: 2;
    max-width: 520px;
    padding: 2rem;
    border: 1px solid rgba(103, 247, 208, 0.2);
    border-radius: 22px;
    color: #e9f9fc;
    background: rgba(4, 14, 24, 0.92);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    transform: translateY(-50%);
}

.auto-use-card h3 {
    margin-bottom: 0.8rem;
    color: #f1fdff;
    font-size: 1.75rem;
}

.auto-use-card > p {
    margin-bottom: 1.2rem;
    color: #a7bbc3;
    font-size: 0.95rem;
    line-height: 1.65;
}

.auto-use-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 1.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auto-use-list li {
    position: relative;
    padding-left: 1rem;
    color: #c4d6dc;
    font-size: 0.88rem;
    line-height: 1.45;
}

.auto-use-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--auto-cyan);
    box-shadow: 0 0 9px var(--auto-cyan);
}

.auto-use-panel.active .auto-use-list li {
    animation: auto-spec-copy-in 0.5s var(--auto-ease) both;
    animation-delay: calc(0.25s + var(--i, 0) * 0.06s);
}

/* ===== CTA FINAL ===== */
.auto-cta {
    position: relative;
    z-index: 1;
    padding: 7rem 2rem 8rem;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid rgba(103, 247, 208, 0.1);
    background:
        radial-gradient(ellipse at 50% 120%, rgba(103, 247, 208, 0.2), transparent 60%),
        radial-gradient(ellipse at 50% 0%, rgba(86, 168, 255, 0.08), transparent 50%);
}

.auto-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.auto-cta h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.auto-cta p {
    max-width: 560px;
    margin: 0 auto 2.2rem;
    color: var(--auto-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.auto-cta .auto-hero-actions {
    justify-content: center;
}

/* ===== REVELADO AL HACER SCROLL ===== */
.auto-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s var(--auto-ease);
}

.auto-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Las tarjetas con tilt gestionan su propio transform */
.auto-benefit-card.auto-reveal.is-visible {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

/* ===== ANIMACIONES ===== */
@keyframes auto-grid-drift {
    to { transform: translateY(64px); }
}

@keyframes auto-rise {
    from { opacity: 0; transform: translateY(26px); }
}

@keyframes auto-shine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes auto-logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes auto-marquee {
    to { transform: translateX(-50%); }
}

@keyframes auto-spec-image-in {
    from { opacity: 0.3; transform: scale(1.06); filter: saturate(0.2) blur(4px); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes auto-spec-copy-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes auto-scan {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes auto-orbit {
    to { transform: translate3d(90px, -50px, 0) scale(1.12); }
}

@keyframes auto-pulse {
    70%, 100% { box-shadow: 0 0 0 10px rgba(103, 247, 208, 0), 0 0 18px var(--auto-cyan); }
}

@keyframes auto-ring {
    to { transform: rotate(360deg); }
}

@keyframes auto-scroll-line {
    0% { transform: translateY(-110%); }
    60%, 100% { transform: translateY(240%); }
}

@keyframes auto-panel-in {
    from { opacity: 0; transform: translateY(16px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes auto-breathe {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

@keyframes auto-walk-a {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(60px, 40px); }
    66% { transform: translate(-40px, 90px); }
}

@keyframes auto-walk-b {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(120px, -30px); }
}

@keyframes auto-walk-c {
    0%, 100% { transform: translate(0, 0); }
    40% { transform: translate(-80px, -60px); }
    70% { transform: translate(-20px, 20px); }
}

@keyframes auto-drop {
    0% { opacity: 0; transform: translateY(-10px); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

@keyframes auto-alarm {
    0%, 100% { stroke-opacity: 0.4; }
    50% { stroke-opacity: 1; }
}

@keyframes auto-log-in {
    from { opacity: 0; transform: translateX(-8px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .auto-hero {
        min-height: auto;
        padding: 11rem 2rem 7rem;
    }

    .auto-hero-inner {
        grid-template-columns: 1fr;
    }

    .auto-command-center {
        width: min(100%, 620px);
        transform: none;
    }

    .auto-specs-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .auto-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auto-flow-steps {
        grid-template-columns: 1fr 1fr;
    }

    .auto-flow-line {
        display: none;
    }
}

@media (max-width: 800px) {
    .auto-hero {
        padding: 10rem 1.25rem 5rem;
    }

    .auto-hero-text h1 {
        font-size: clamp(2.6rem, 12vw, 4.2rem);
    }

    .auto-command-center {
        padding: 0.75rem;
    }

    .auto-command-core {
        min-height: 260px;
    }

    .auto-command-metrics {
        grid-template-columns: 1fr;
    }

    .auto-command-metrics > div {
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: baseline;
        gap: 0.35rem;
    }

    .auto-command-metrics strong {
        font-size: 1rem;
    }

    .auto-scroll-cue {
        display: none;
    }

    .auto-specs,
    .auto-sim,
    .auto-benefits,
    .auto-cctv,
    .auto-flow,
    .auto-usecases {
        padding: 4rem 1rem;
    }

    .auto-specs-grid {
        display: flex;
        gap: 0.6rem;
        margin: 0 -1rem;
        padding: 0.6rem 1rem 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .auto-specs-grid::-webkit-scrollbar {
        display: none;
    }

    .auto-spec-card {
        flex: 0 0 132px;
        min-height: 128px;
        scroll-snap-align: center;
    }

    .auto-spec-detail {
        grid-template-columns: 1fr;
    }

    .auto-spec-detail-image {
        min-height: 260px;
    }

    .auto-spec-detail-image::after {
        background: linear-gradient(0deg, #071827 0%, transparent 45%);
    }

    .auto-spec-detail-content {
        padding: 1.6rem;
    }

    .auto-brand-card {
        aspect-ratio: 1.5;
        border-radius: 22px;
    }

    .auto-holo-logo {
        width: 78%;
    }

    .auto-logo-atmosphere {
        width: 70%;
    }

    .auto-holo-tag {
        font-size: 0.56rem;
    }

    .auto-holo-tag--tl { top: 16px; left: 44px; }
    .auto-holo-tag--br { display: none; }

    .auto-holo-corner {
        width: 18px;
        height: 18px;
    }

    .auto-holo-corner--tl { top: 12px; left: 12px; }
    .auto-holo-corner--tr { top: 12px; right: 12px; }
    .auto-holo-corner--br { bottom: 12px; right: 12px; }
    .auto-holo-corner--bl { bottom: 12px; left: 12px; }

    .auto-use-tabs {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .auto-use-tabs::-webkit-scrollbar {
        display: none;
    }

    .auto-use-tab {
        flex: 0 0 118px;
        scroll-snap-align: center;
    }

    .auto-use-panels,
    .auto-use-panel {
        min-height: 700px;
    }

    .auto-use-card {
        top: auto;
        right: 1rem;
        bottom: 3rem;
        left: 1rem;
        max-width: none;
        padding: 1.4rem;
        transform: none;
    }

    .auto-use-dots {
        top: 1.2rem;
        bottom: auto;
    }

    .auto-use-panel-image::after {
        background: linear-gradient(0deg, rgba(2, 8, 16, 0.92), rgba(2, 8, 16, 0.08) 75%);
    }

    .auto-cta {
        padding: 5rem 1.25rem 6rem;
    }
}

@media (max-width: 560px) {
    .auto-pill {
        font-size: 0.62rem;
        line-height: 1.45;
    }

    .auto-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .auto-primary-btn,
    .auto-ghost-btn {
        width: 100%;
    }

    .auto-benefits-grid,
    .auto-flow-steps {
        grid-template-columns: 1fr;
    }

    .auto-benefit-card {
        min-height: auto;
    }

    .auto-use-panels,
    .auto-use-panel {
        min-height: 780px;
    }

    .auto-use-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-automatizacion *,
    .page-automatizacion *::before,
    .page-automatizacion *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .auto-reveal {
        opacity: 1;
        transform: none;
    }
}
