/* ============================================================
   TALLER MANAGER — Landing premium con acento naranja
   Clases con prefijo tm- para aislar estilos de esta página.
   ============================================================ */

/* ========== PAGE WRAPPER ========== */
.tm-page {
    background: #030812;
    min-height: 100vh;
    color: #e0e6f0;
    overflow-x: hidden;
    position: relative;
}

/* ========== SCROLL PROGRESS ========== */
.tm-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 3px; z-index: 9999; background: rgba(255,255,255,0.03);
}
.tm-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #cc5500, #ff7700, #ffaa00, #ffcc00);
    transition: width 0.05s linear;
    box-shadow: 0 0 12px rgba(255,140,0,0.5);
}

/* ========== CANVAS ========== */
.tm-canvas {
    position: fixed; inset: 0;
    width: 100% !important; height: 100% !important;
    z-index: 0; pointer-events: none;
}

/* ========== CURSOR GLOW ========== */
.tm-cursor-glow {
    position: fixed; width: 400px; height: 400px;
    border-radius: 50%; pointer-events: none; z-index: 1;
    background: radial-gradient(circle, rgba(255,120,0,0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}
.tm-page:hover .tm-cursor-glow { opacity: 1; }

/* ========== UTILITIES ========== */
.tm-orange-accent {
    color: #ff8c00;
    background: linear-gradient(135deg, #ff6600 0%, #ff8c00 42%, #ffcc66 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 24px rgba(255, 120, 0, 0.22);
}

/* ===== NEBULA TEXT EFFECT (orange variant) ===== */
.tm-nebula-text {
    position: relative;
    display: inline-block;
    background: linear-gradient(
        90deg,
        #cc5500 0%,
        #ff7700 15%,
        #ffaa00 35%,
        #ffcc00 50%,
        #ffaa00 65%,
        #ff7700 85%,
        #cc5500 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: tmNebulaFlow 6s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(255,140,0,0.35));
}
.tm-nebula-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: none;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    text-shadow:
        0 0 40px rgba(255,100,0,0.45),
        0 0 80px rgba(255,140,0,0.25),
        0 0 120px rgba(255,180,0,0.12);
    animation: tmNebulaGlow 4s ease-in-out infinite alternate;
}
@keyframes tmNebulaFlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
@keyframes tmNebulaGlow {
    0%   { opacity: 0.6; filter: blur(1px); }
    100% { opacity: 1; filter: blur(0px); }
}

/* ========== HERO ========== */
.tm-hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    overflow: hidden; padding: 0 24px; z-index: 2;
}

.tm-hero-bg {
    position: absolute; inset: -10%;
    width: 120%; height: 120%;
    background: url('Images/FondoPrincipalNuevoLogo.png') center center / cover no-repeat;
    z-index: 0;
    animation: tmKenBurns 25s ease-in-out infinite alternate;
}
@keyframes tmKenBurns {
    0%   { transform: scale(1) translate(0,0); }
    33%  { transform: scale(1.08) translate(-1.5%,-1%); }
    66%  { transform: scale(1.05) translate(1%,-0.5%); }
    100% { transform: scale(1.1) translate(-0.5%,1%); }
}

.tm-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8,10,15,0.55) 0%, rgba(8,10,15,0.75) 40%, rgba(8,10,15,0.96) 100%);
    z-index: 1;
}

.tm-hero-grid {
    position: absolute; inset: 0; z-index: 2;
    background-image:
        linear-gradient(rgba(255,120,0,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,120,0,0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    animation: tmGridPulse 8s ease-in-out infinite alternate;
}
@keyframes tmGridPulse { 0% { opacity:.4 } 100% { opacity:.8 } }

.tm-glow {
    position: absolute; border-radius: 50%;
    filter: blur(120px); pointer-events: none; z-index: 2;
}
.tm-glow--1 { width: 600px; height: 600px; top: -10%; left: -10%; background: rgba(255,100,0,0.12); animation: tmF1 12s ease-in-out infinite alternate; }
.tm-glow--2 { width: 500px; height: 500px; bottom: -15%; right: -10%; background: rgba(255,160,0,0.08); animation: tmF2 10s ease-in-out infinite alternate; }
.tm-glow--3 { width: 300px; height: 300px; top: 30%; right: 20%; background: rgba(255,120,0,0.08); animation: tmF3 15s ease-in-out infinite alternate; }
@keyframes tmF1 { 0%{transform:translate(0,0)} 100%{transform:translate(60px,40px)} }
@keyframes tmF2 { 0%{transform:translate(0,0)} 100%{transform:translate(-40px,-30px)} }
@keyframes tmF3 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-30px,50px) scale(1.3)} }

.tm-hero-content { position: relative; z-index: 3; max-width: 900px; }

.tm-hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,140,0,0.9);
    background: rgba(255,120,0,0.07); border: 1px solid rgba(255,140,0,0.18);
    border-radius: 50px; padding: 10px 24px; margin-bottom: 32px;
    position: relative;
    top: -80px;
}
.tm-badge-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #ff8c00;
    animation: tmDotPulse 2s ease-in-out infinite;
}
@keyframes tmDotPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,140,0,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255,140,0,0); }
}

.tm-hero-title {
    font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800;
    line-height: 1.06; color: #fff; margin: 0 0 28px; letter-spacing: -0.04em;
}
.tm-text-line { display: block; }

.tm-hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.6); line-height: 1.7;
    max-width: 680px; margin: 0 auto 36px;
}

.tm-hero-btns {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap;
}

.tm-hero-micro {
    margin: 28px auto 0;
    font-size: 0.85rem;
    color: rgba(180,195,220,0.4);
    letter-spacing: 0.005em;
    max-width: 600px;
}

/* ========== SCROLL CUE ========== */
.tm-scroll-cue {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.tm-scroll-cue span {
    font-size: 0.6rem; letter-spacing: 0.25em; color: rgba(180,195,220,0.25); text-transform: uppercase;
}
.tm-scroll-bar {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, rgba(255,140,0,0.5), transparent);
    animation: tmScrollPulse 2s ease-in-out infinite;
}
@keyframes tmScrollPulse { 0%,100% { opacity:.3; transform:scaleY(1) } 50% { opacity:1; transform:scaleY(1.4) } }

/* ========== BUTTONS ========== */
.tm-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em;
    padding: 14px 32px; border-radius: 10px; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
    cursor: pointer; border: none;
}
.tm-btn--primary {
    background: linear-gradient(135deg, #ff6600, #ff8c00);
    color: #fff;
    box-shadow: 0 8px 28px rgba(255,120,0,0.35);
}
.tm-btn--primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 36px rgba(255,120,0,0.45);
    color: #fff;
    text-decoration: none;
}
.tm-btn-shine {
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg); transition: left 0.6s;
}
.tm-btn--primary:hover .tm-btn-shine { left: 140%; }

.tm-btn--ghost {
    background: transparent; color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,140,0,0.3);
}
.tm-btn--ghost:hover {
    background: rgba(255,140,0,0.08); border-color: rgba(255,140,0,0.5);
    color: #ffaa00; text-decoration: none;
}

/* ========== TRUST BAR ========== */
.tm-trust {
    position: relative; z-index: 2;
    padding: 64px 24px;
    background: transparent;
}
.tm-trust-inner {
    display: flex; justify-content: center; align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    max-width: 1280px;
    margin: 0 auto;
}
.tm-trust-item {
    position: relative;
    display: flex; align-items: center;
    gap: 14px;
    padding: 12px 20px;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
    flex: 0 0 auto;
}
.tm-trust-item:hover { transform: translateY(-5px); }

.tm-trust-icon {
    position: relative;
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 56px; height: 56px;
    flex-shrink: 0;
    animation: tmTrustFloat 5.5s ease-in-out infinite;
}
.tm-trust-icon::before {
    content: "";
    position: absolute; inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,140,0,0.22) 0%, rgba(255,180,80,0.06) 45%, transparent 75%);
    opacity: 0; transform: scale(0.8);
    transition: opacity 0.5s, transform 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 0;
    pointer-events: none;
}
.tm-trust-item:hover .tm-trust-icon { animation-play-state: paused; }
.tm-trust-item:hover .tm-trust-icon::before {
    opacity: 1;
    transform: scale(1.45);
}

.tm-trust-item:nth-child(1) .tm-trust-icon { animation-delay: 0s; }
.tm-trust-item:nth-child(3) .tm-trust-icon { animation-delay: 0.55s; }
.tm-trust-item:nth-child(5) .tm-trust-icon { animation-delay: 1.10s; }
.tm-trust-item:nth-child(7) .tm-trust-icon { animation-delay: 1.65s; }
.tm-trust-item:nth-child(9) .tm-trust-icon { animation-delay: 2.20s; }

.tm-trust-item img {
    position: relative; z-index: 1;
    width: 44px; height: 44px;
    filter: drop-shadow(0 2px 10px rgba(255,140,0,0.28));
    transition: filter 0.45s, transform 0.5s cubic-bezier(.34,1.56,.64,1);
}
.tm-trust-item:hover img {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 6px 22px rgba(255,140,0,0.7)) brightness(1.12);
}

@keyframes tmTrustFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-6px); }
}

.tm-trust-label {
    position: relative;
    font-size: 0.92rem; font-weight: 600;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    letter-spacing: -0.005em;
    transition: color 0.4s, transform 0.45s cubic-bezier(.4,0,.2,1);
}
.tm-trust-label::after {
    content: "";
    position: absolute;
    left: 0; bottom: -5px;
    width: 0; height: 1.5px;
    background: linear-gradient(90deg, #ff8c00, #ffcc00);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255,140,0,0.5);
    transition: width 0.5s cubic-bezier(.4,0,.2,1);
}
.tm-trust-item:hover .tm-trust-label {
    color: #fff;
    transform: translateX(2px);
}
.tm-trust-item:hover .tm-trust-label::after { width: 100%; }

.tm-trust-divider {
    width: 1px; height: 36px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
}

@media (max-width: 1100px) {
    .tm-trust-inner { flex-wrap: wrap; }
    .tm-trust-divider:nth-of-type(2n) { display: none; }
}

@media (max-width: 768px) {
    .tm-trust { padding: 40px 12px; }
    .tm-trust-inner { flex-wrap: wrap; }
    .tm-trust-item { padding: 10px 18px; gap: 12px; }
    .tm-trust-icon { width: 44px; height: 44px; }
    .tm-trust-item img { width: 32px; height: 32px; }
    .tm-trust-label { font-size: 0.8rem; }
    .tm-trust-divider { display: none; }
}

/* ========== SECTIONS COMMON ========== */
.tm-section { position: relative; z-index: 2; padding: 120px 24px; }
.tm-inner { max-width: 1200px; margin: 0 auto; width: 100%; }

.tm-block-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.18em; color: rgba(255,140,0,0.7);
    margin-bottom: 14px; text-transform: uppercase;
}

.tm-block-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800;
    color: #f0f2f8; letter-spacing: -0.02em; line-height: 1.12;
    margin: 0 0 20px;
}

.tm-block-desc {
    font-size: 1.05rem; color: rgba(255,255,255,0.55);
    line-height: 1.75; margin: 0 0 22px;
}

.tm-feature-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 12px;
}
.tm-feature-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.95rem; color: rgba(255,255,255,0.7);
}
.tm-check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(255,140,0,0.12); color: #ffaa00;
    font-size: 0.72rem; font-weight: 700;
}

/* ============================================================
   S1 — OPERATIVA (Parallax Glass Cards)
   ============================================================ */
.tm-parallax-section {
    position: relative;
    overflow: hidden;
    padding: 140px 24px;
}
.tm-parallax-bg {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden;
}
.tm-parallax-bg img {
    width: 100%; height: 120%; object-fit: cover;
    position: absolute; top: -10%; left: 0;
    opacity: 0.25;
    animation: tmParallaxMove 20s ease-in-out infinite alternate;
}
@keyframes tmParallaxMove {
    0%   { transform: scale(1.05) translateY(0); }
    100% { transform: scale(1.12) translateY(-3%); }
}
.tm-parallax-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(3,8,18,0.92) 70%);
}
.tm-parallax-inner { position: relative; z-index: 2; }
.tm-parallax-header { text-align: center; margin-bottom: 60px; }

.tm-glass-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tm-glass-card {
    position: relative;
    border-radius: 20px;
    padding: 32px 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,140,0,0.10);
    backdrop-filter: blur(12px);
    transition: all 0.45s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.tm-glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,140,0,0.35);
    box-shadow: 0 20px 50px rgba(255,120,0,0.12);
}
.tm-glass-glow {
    position: absolute; top: -40%; right: -40%;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,140,0,0.12), transparent 70%);
    opacity: 0; transition: opacity 0.5s;
}
.tm-glass-card:hover .tm-glass-glow { opacity: 1; }
.tm-glass-icon {
    margin-bottom: 18px;
}
.tm-glass-card h3 {
    font-size: 1.05rem; font-weight: 700; color: #fff;
    margin: 0 0 8px; letter-spacing: -0.01em;
}
.tm-glass-card p {
    font-size: 0.88rem; color: rgba(255,255,255,0.5);
    line-height: 1.55; margin: 0;
}

/* ============================================================
   S2 — TIMELINE (Animated horizontal)
   ============================================================ */
.tm-timeline-section { padding: 120px 24px; }
.tm-timeline-header { text-align: center; margin-bottom: 60px; }
.tm-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px; margin: 0 auto;
    gap: 16px;
}
.tm-timeline-line {
    position: absolute; top: 28px; left: 0; right: 0; height: 2px;
    background: rgba(255,255,255,0.08); z-index: 0;
}
.tm-timeline-line-fill {
    position: absolute; top: 28px; left: 0; height: 2px; width: 100%;
    background: linear-gradient(90deg, #cc5500, #ff8c00, #ffcc00);
    z-index: 0;
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(255,140,0,0.3);
}
.tm-timeline-step {
    position: relative; z-index: 1;
    flex: 1;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
.tm-timeline-node {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #cc5500, #ff8c00);
    box-shadow: 0 0 0 6px rgba(255,140,0,0.10), 0 0 30px rgba(255,120,0,0.25);
    margin-bottom: 20px;
    transition: transform 0.4s, box-shadow 0.4s;
}
.tm-timeline-step:hover .tm-timeline-node {
    transform: scale(1.12);
    box-shadow: 0 0 0 8px rgba(255,140,0,0.18), 0 0 40px rgba(255,120,0,0.4);
}
.tm-timeline-card h3 {
    font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0 0 6px;
}
.tm-timeline-card p {
    font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.5; margin: 0;
}

/* ============================================================
   S3 — PORTAL + NOTIFICACIONES (Split)
   ============================================================ */
.tm-split-section {
    position: relative;
    overflow: hidden;
    padding: 140px 24px;
}
.tm-split-bg {
    position: absolute; inset: 0; z-index: 0;
}
.tm-split-bg img {
    width: 100%; height: 120%; object-fit: cover;
    position: absolute; top: -10%; left: 0;
    opacity: 0.22;
    animation: tmParallaxMove 25s ease-in-out infinite alternate;
}
.tm-split-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 30%, transparent 0%, rgba(3,8,18,0.92) 65%);
}
.tm-split-inner {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 80px;
}
.tm-split-text { flex: 1; }
.tm-split-visual {
    flex: 1;
    position: relative;
    display: flex; justify-content: center; align-items: center;
    min-height: 400px;
}
.tm-phone-mockup--enhanced {
    width: 280px;
    background: rgba(20,22,30,0.85);
    border: 1px solid rgba(255,140,0,0.18);
    border-radius: 32px;
    padding: 12px 14px 18px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,140,0,0.05);
    backdrop-filter: blur(16px);
    z-index: 2;
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.tm-phone-mockup--enhanced:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.tm-phone-header {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 6px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 12px;
}
.tm-phone-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #ff8c00;
    box-shadow: 0 0 8px rgba(255,140,0,0.6);
}
.tm-phone-title {
    font-size: 0.72rem; font-weight: 700;
    color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em;
}
.tm-phone-glow {
    position: absolute; width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,140,0,0.12) 0%, transparent 70%);
    filter: blur(50px); z-index: 1;
    animation: tmPhoneGlowPulse 4s ease-in-out infinite alternate;
}
@keyframes tmPhoneGlowPulse {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.15); }
}

/* Chat bubbles */
.tm-chat-bubble {
    display: flex; flex-direction: column; gap: 3px;
    padding: 10px 12px; border-radius: 14px;
    font-size: 0.82rem; line-height: 1.35;
    max-width: 90%;
    transition: transform 0.3s;
}
.tm-chat-bubble:hover { transform: scale(1.02); }
.tm-chat-bubble--in {
    align-self: flex-start;
    background: rgba(255,140,0,0.1);
    border: 1px solid rgba(255,140,0,0.18);
    color: rgba(255,255,255,0.85);
    border-bottom-left-radius: 4px;
}
.tm-chat-bubble--out {
    align-self: flex-end;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border-bottom-right-radius: 4px;
}
.tm-chat-sender { font-size: 0.65rem; font-weight: 700; color: #ffaa00; text-transform: uppercase; letter-spacing: 0.08em; }
.tm-chat-time { font-size: 0.65rem; color: rgba(255,255,255,0.35); align-self: flex-end; }

/* ============================================================
   S4 — OCR TERMINAL (Hologram)
   ============================================================ */
.tm-terminal-section {
    position: relative;
    overflow: hidden;
    padding: 140px 24px;
}
.tm-terminal-bg {
    position: absolute; inset: 0; z-index: 0;
}
.tm-terminal-bg img {
    width: 100%; height: 120%; object-fit: cover;
    position: absolute; top: -10%; left: 0;
    opacity: 0.18;
    animation: tmParallaxMove 22s ease-in-out infinite alternate;
}
.tm-terminal-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(3,8,18,0.92) 65%);
}
.tm-terminal-inner {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 80px;
    max-width: 1200px; margin: 0 auto;
}
.tm-terminal-visual { flex: 1; display: flex; justify-content: center; }
.tm-terminal-text { flex: 1; }

.tm-scan-box {
    position: relative;
    width: 320px;
    background: rgba(255,140,0,0.03);
    border: 1px solid rgba(255,140,0,0.18);
    border-radius: 16px;
    padding: 32px 28px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(255,140,0,0.08), inset 0 0 30px rgba(255,140,0,0.03);
}
.tm-scan-lines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 2px, rgba(255,140,0,0.03) 2px, rgba(255,140,0,0.03) 4px
    );
    pointer-events: none; z-index: 1;
}
.tm-scan-bar {
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #ff8c00, transparent);
    box-shadow: 0 0 20px rgba(255,140,0,0.6);
    animation: tmScanMove 3s ease-in-out infinite;
    z-index: 2;
}
@keyframes tmScanMove {
    0%,100% { top: 0; opacity: 0.6; }
    50%     { top: 100%; opacity: 1; }
}
.tm-scan-data {
    position: relative; z-index: 3;
    display: flex; flex-direction: column; gap: 14px;
}
.tm-scan-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.88rem;
}
.tm-scan-label {
    color: rgba(255,255,255,0.4); font-weight: 600;
    letter-spacing: 0.08em; font-size: 0.72rem;
    text-transform: uppercase;
}
.tm-scan-value {
    color: rgba(255,255,255,0.85); font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', monospace;
}
.tm-scan-ok { color: #ffcc00; text-shadow: 0 0 8px rgba(255,200,0,0.4); }
.tm-scan-corner {
    position: absolute; width: 12px; height: 12px;
    border-color: rgba(255,140,0,0.4); border-style: solid; z-index: 4;
}
.tm-scan-corner--tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.tm-scan-corner--tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.tm-scan-corner--bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.tm-scan-corner--br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

/* ============================================================
   S5 — SPOTLIGHT GRID
   ============================================================ */
.tm-spotlight-section { padding: 120px 24px; }
.tm-spotlight-header { text-align: center; margin-bottom: 60px; }
.tm-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1200px; margin: 0 auto;
}
.tm-spotlight-card {
    position: relative;
    border-radius: 16px;
    padding: 28px 20px;
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    cursor: default;
}
.tm-spotlight-card:hover {
    background: rgba(255,140,0,0.06);
    border-color: rgba(255,140,0,0.25);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255,120,0,0.10);
}
.tm-spotlight-num {
    font-size: 0.7rem; font-weight: 800; color: rgba(255,140,0,0.5);
    letter-spacing: 0.1em; margin-bottom: 12px;
}
.tm-spotlight-card h3 {
    font-size: 0.95rem; font-weight: 700; color: #fff;
    margin: 0 0 6px; letter-spacing: -0.01em;
}
.tm-spotlight-card p {
    font-size: 0.8rem; color: rgba(255,255,255,0.45);
    line-height: 1.5; margin: 0;
}

/* ============================================================
   S6 — CTA FINAL (Cinematic)
   ============================================================ */
.tm-cta-section {
    position: relative;
    min-height: 70vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 24px;
    overflow: hidden;
}
.tm-cta-bg-img {
    position: absolute; inset: -10%;
    width: 120%; height: 120%;
    z-index: 0;
    overflow: hidden;
}
.tm-cta-bg-img img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.3;
    animation: tmKenBurns 30s ease-in-out infinite alternate;
}
.tm-cta-vignette {
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(3,8,18,0.90) 70%);
}
.tm-cta-radial {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255,100,0,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(255,160,0,0.06) 0%, transparent 50%);
}
.tm-cta-content { position: relative; z-index: 2; max-width: 820px; }
.tm-cta-btns {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.tm-footer {
    position: relative; z-index: 2;
    padding: 40px 24px; text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.tm-footer-inner { max-width: 700px; margin: 0 auto; }
.tm-footer-inner p { font-size: 0.8rem; color: rgba(255,255,255,0.25); margin: 0; }

/* ============================================================
   BENTO — POR QUÉ TALLER MANAGER
   ============================================================ */
.tm-bento-section { padding: 120px 24px; }
.tm-bento-head { text-align: left; margin-bottom: 60px; }
.tm-bento-head .tm-block-title { text-align: center; }

/* Reveal on scroll (same as LandingOptUltra hu-reveal but tm- prefixed).
   Elements stay visible if the page JS cannot initialize. */
.tm-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-page.tm-motion-ready .tm-reveal {
    opacity: 0;
    transform: translateY(34px);
}

.tm-page.tm-motion-ready .tm-reveal.tm-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tilt animation */
.tm-tilt {
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), border-color 0.4s, box-shadow 0.4s;
}

.tm-card-glow {
    position: absolute; inset: 0;
    opacity: 0;
    background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 140, 0, 0.10), transparent 58%);
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.tm-bento-card:hover .tm-card-glow { opacity: 1; }

.tm-bento-icon {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #ff8c00;
    pointer-events: none;
}

.tm-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(230px, auto);
    gap: 18px;
}
.tm-bento-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    background: rgba(255,255,255,0.015);
}
.tm-bento-card:hover {
    border-color: rgba(255, 140, 0, 0.25);
    box-shadow: 0 24px 78px rgba(255, 100, 0, 0.14);
}

.tm-bento-card--wide {
    grid-column: span 2;
    grid-row: span 2;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 22px;
    min-height: 478px;
    padding: 0;
}
.tm-bento-card--wide .tm-bento-copy {
    padding: 32px 32px 0;
}
.tm-bento-card--wide .tm-bento-visual {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 22px 22px;
    min-height: 240px;
}
.tm-bento-card--wide .tm-bento-visual img {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; inset: 0;
    opacity: 0.6;
    transition: transform 0.8s ease, opacity 0.5s;
}
.tm-bento-card--wide:hover .tm-bento-visual img {
    transform: scale(1.05);
    opacity: 0.75;
}
.tm-bento-visual-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(3,8,18,0.95) 0%, rgba(3,8,18,0.4) 50%, transparent 100%);
    pointer-events: none;
}

.tm-bento-card > span,
.tm-bento-copy span {
    display: inline-flex;
    margin-bottom: 14px;
    color: rgba(255, 180, 100, 0.85);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.tm-bento-card h3 {
    position: relative; z-index: 1;
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.22rem;
    line-height: 1.22;
    font-weight: 800;
}
.tm-bento-card--wide h3 {
    font-size: 1.72rem;
}
.tm-bento-card p {
    position: relative; z-index: 1;
    margin: 0 0 18px;
    color: rgba(255,255,255,0.55);
    font-size: 0.94rem;
    line-height: 1.66;
}
.tm-bento-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: #ffaa00; font-weight: 600; font-size: 0.9rem;
    text-decoration: none; transition: all 0.3s ease;
}
.tm-bento-link:hover {
    color: #ffcc00; gap: 12px; text-decoration: none;
}
.tm-bento-link::after {
    content: '→'; transition: transform 0.3s;
}
.tm-bento-link:hover::after { transform: translateX(4px); }

/* ============================================================
   TALLER MANAGER — NUEVAS SECCIONES COMERCIALES
   ============================================================ */
.tm-feature-section {
    padding: 96px 24px;
}

.tm-feature-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: clamp(36px, 6vw, 74px);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.tm-feature-grid--reverse {
    grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.tm-feature-content {
    position: relative;
    z-index: 2;
}

.tm-feature-title {
    margin: 0 0 22px;
    color: #f0f2f8;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.tm-feature-text {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 1.02rem;
    line-height: 1.76;
}

.tm-feature-note {
    margin: 24px 0 0;
    padding-left: 16px;
    border-left: 2px solid rgba(255,140,0,0.42);
    color: rgba(225,232,245,0.58);
    font-size: 0.94rem;
    line-height: 1.68;
}

.tm-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.tm-chip-list--compact {
    justify-content: center;
    margin-top: 28px;
}

.tm-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,140,0,0.17);
    background: rgba(255,140,0,0.055);
    color: rgba(245,248,255,0.76);
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.25;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.tm-feature-media {
    --tm-feature-radius: 22px;
    position: relative;
    min-height: 420px;
    padding: 0;
    overflow: hidden;
    border-radius: var(--tm-feature-radius);
    border: 1px solid rgba(255,140,0,0.12);
    background:
        radial-gradient(circle at 82% 12%, rgba(255,140,0,0.12), transparent 38%),
        rgba(255,255,255,0.018);
    box-shadow: 0 30px 90px rgba(0,0,0,0.32), 0 0 70px rgba(255,110,0,0.06);
    transform-style: preserve-3d;
}

.tm-feature-media img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0.78;
    filter: brightness(0.82) saturate(1.08);
    transition: transform 0.8s ease, opacity 0.5s ease;
}

.tm-feature-media:hover img {
    transform: scale(1.035);
    opacity: 0.88;
}

.tm-feature-media-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background:
        linear-gradient(120deg, rgba(3,8,18,0.74) 0%, rgba(3,8,18,0.22) 44%, rgba(255,120,0,0.08) 100%),
        radial-gradient(circle at 82% 18%, rgba(255,140,0,0.18), transparent 38%);
    pointer-events: none;
}

.tm-feature-media .tm-card-glow {
    z-index: 2;
    background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 140, 0, 0.10), transparent 58%);
}

.tm-notification-stack {
    position: absolute;
    left: 22px;
    bottom: 22px;
    width: min(270px, calc(100% - 44px));
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,140,0,0.22);
    background: rgba(6,12,24,0.74);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.34);
}

.tm-notification-stack span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255,180,100,0.86);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tm-notification-stack strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
}

.tm-flow-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
}

.tm-flow-line span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,140,0,0.18);
    background: rgba(255,255,255,0.025);
    color: rgba(245,248,255,0.78);
    font-size: 0.82rem;
    font-weight: 700;
}

.tm-flow-line span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff8c00;
    box-shadow: 0 0 14px rgba(255,140,0,0.52);
}

.tm-connected-section {
    padding: 74px 24px;
}

.tm-connected-panel {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 52px);
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,140,0,0.11);
    background:
        radial-gradient(circle at 18% 0%, rgba(255,140,0,0.11), transparent 38%),
        radial-gradient(circle at 84% 100%, rgba(255,170,0,0.06), transparent 42%),
        rgba(255,255,255,0.018);
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.24);
}

.tm-connected-panel .tm-feature-text {
    max-width: 840px;
    margin: 0 auto;
}

.tm-connected-panel > :not(.tm-card-glow),
.tm-final-cta-panel > :not(.tm-card-glow) {
    position: relative;
    z-index: 1;
}

.tm-final-cta {
    padding: 72px 24px 108px;
}

.tm-final-cta-panel {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 56px);
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255,140,0,0.14);
    background:
        radial-gradient(circle at 50% 0%, rgba(255,140,0,0.14), transparent 42%),
        rgba(255,255,255,0.02);
    text-align: center;
    box-shadow: 0 28px 90px rgba(0,0,0,0.28);
}

.tm-final-cta-panel h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 850;
    line-height: 1.14;
    letter-spacing: -0.02em;
}

.tm-final-cta-panel p {
    max-width: 660px;
    margin: 18px auto 30px;
    color: rgba(255,255,255,0.62);
    font-size: 1.02rem;
    line-height: 1.68;
}

.tm-final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .tm-glass-grid { grid-template-columns: repeat(2, 1fr); }
    .tm-spotlight-grid { grid-template-columns: repeat(3, 1fr); }
    .tm-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tm-bento-card--wide { grid-column: span 2; }
    .tm-feature-grid,
    .tm-feature-grid--reverse {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
        gap: 42px;
    }
    .tm-timeline { flex-wrap: wrap; gap: 32px; }
    .tm-timeline-line, .tm-timeline-line-fill { display: none; }
    .tm-timeline-step { flex: 1 1 45%; }
    .tm-timeline-node { margin-bottom: 12px; }
}

@media (max-width: 900px) {
    .tm-split-inner, .tm-terminal-inner {
        flex-direction: column; gap: 48px;
    }
    .tm-section { padding: 80px 20px; }
    .tm-parallax-section { padding: 100px 20px; }
    .tm-split-section { padding: 100px 20px; }
    .tm-terminal-section { padding: 100px 20px; }
    .tm-cta-section { min-height: auto; padding: 100px 20px; }
    .tm-bento-section { padding: 80px 20px; }
    .tm-feature-section { padding: 72px 20px; }
    .tm-feature-grid,
    .tm-feature-grid--reverse {
        grid-template-columns: 1fr;
    }
    .tm-feature-media {
        min-height: 360px;
    }
    .tm-connected-section { padding: 58px 20px; }
    .tm-final-cta { padding: 60px 20px 88px; }
}

@media (max-width: 768px) {
    .tm-glass-grid { grid-template-columns: 1fr; }
    .tm-spotlight-grid { grid-template-columns: repeat(2, 1fr); }
    .tm-bento-grid { grid-template-columns: 1fr; }
    .tm-bento-card--wide {
        grid-column: span 1;
        min-height: auto;
        display: flex; flex-direction: column;
    }
    .tm-bento-card--wide .tm-bento-visual { min-height: 180px; }
    .tm-timeline-step { flex: 1 1 100%; }
    .tm-scan-box { width: 100%; max-width: 320px; }
    .tm-phone-mockup--enhanced { transform: none; }
    .tm-feature-media {
        --tm-feature-radius: 18px;
        min-height: 300px;
    }
    .tm-chip { font-size: 0.8rem; }
    .tm-flow-line span { width: 100%; }
    .tm-final-cta-actions .tm-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .tm-hero-title { font-size: 2rem; }
    .tm-block-title { font-size: 1.5rem; }
    .tm-btn { padding: 12px 24px; font-size: 0.85rem; }
    .tm-spotlight-grid { grid-template-columns: 1fr; }
    .tm-bento-card { padding: 22px; }
    .tm-bento-card--wide .tm-bento-copy { padding: 24px 24px 0; }
    .tm-feature-title { font-size: 1.6rem; }
    .tm-feature-text,
    .tm-final-cta-panel p { font-size: 0.95rem; }
    .tm-feature-media { min-height: 240px; }
    .tm-notification-stack {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
    }
}
