/* =============================================================================
   RollerTech — sistema de diseño
   Replica la identidad del sitio actual de rollertech.cl (referencia: video del
   2026-08-08). Los colores salen del CSS que genera Divi (et-cache del dump):
   #f48f2c es el naranja de la marca, #151515 el color de texto.
   La tipografía de títulos es Poppins, que es la que más usa el sitio actual.
   ============================================================================= */

:root {
    --rt-naranja:        #f48f2c;
    --rt-naranja-fuerte: #f55000;
    --rt-tinta:          #151515;
    --rt-oscuro:         #1e1e1e;
    --rt-tinta-60:       rgba(21, 21, 21, .6);
    --rt-blanco:         #ffffff;
    --rt-gris:           #aaaaaa;
    --rt-gris-claro:     #e5e5e5;
    --rt-fondo:          #f4f4f6;

    --rt-fuente:     'Roboto', Helvetica, Arial, sans-serif;
    --rt-fuente-tit: 'Poppins', Helvetica, Arial, sans-serif;

    --rt-ancho: 1200px;
    --rt-radio: 12px;
    --rt-sombra: 0 2px 14px rgba(21, 21, 21, .08);
    --rt-sombra-alta: 0 10px 34px rgba(21, 21, 21, .16);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--rt-fuente);
    font-size: 16px;
    line-height: 1.7;
    color: var(--rt-tinta);
    background: var(--rt-blanco);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rt-fuente-tit);
    font-weight: 700;
    line-height: 1.22;
    color: var(--rt-tinta);
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

a { color: var(--rt-naranja); text-decoration: none; }
a:hover { color: var(--rt-naranja-fuerte); }
img { max-width: 100%; height: auto; display: block; }

.rt-contenedor { width: 100%; max-width: var(--rt-ancho); margin: 0 auto; padding: 0 22px; }
.rt-seccion { padding: 76px 0; }
.rt-seccion--gris { background: var(--rt-fondo); }
.rt-centrado { text-align: center; }

/* ============================ 1. Franja superior ========================== */
.rt-topbar { background: var(--rt-naranja); color: #fff; font-size: .95rem; }
.rt-topbar__inner {
    max-width: var(--rt-ancho); margin: 0 auto; padding: 8px 22px;
    display: flex; gap: 46px; justify-content: center;
}
.rt-topbar a { color: #fff; font-weight: 400; }
.rt-topbar a:hover { color: rgba(255, 255, 255, .8); }

/* ============================ 2. Cabecera ================================= */
.rt-marca { background: #fff; }
.rt-marca__inner {
    max-width: var(--rt-ancho); margin: 0 auto; padding: 16px 22px;
    display: flex; align-items: center; gap: 30px;
}
.rt-logo { flex: none; display: block; }
.rt-logo img { height: 58px; width: auto; max-width: 300px; object-fit: contain; }
.rt-logo span { font-family: var(--rt-fuente-tit); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--rt-tinta); }
.rt-logo span b { color: var(--rt-naranja); }

.rt-buscador { flex: 1; max-width: 440px; margin: 0 auto; position: relative; }
.rt-buscador input {
    width: 100%; padding: 12px 50px 12px 20px;
    border: 2px solid var(--rt-naranja); border-radius: 999px;
    font-family: inherit; font-size: .95rem; background: #fff;
    box-shadow: 0 2px 10px rgba(244, 143, 44, .08);
    transition: all .2s ease;
}
.rt-buscador input:focus { outline: none; border-color: var(--rt-naranja-fuerte); box-shadow: 0 0 0 3px rgba(244, 143, 44, .2); }
.rt-buscador button {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: 0; cursor: pointer; color: var(--rt-naranja);
    padding: 6px; display: flex; align-items: center; justify-content: center;
    transition: color .15s ease, transform .15s ease;
}
.rt-buscador button:hover { color: var(--rt-naranja-fuerte); transform: translateY(-50%) scale(1.1); }
.rt-cta-cabecera {
    flex: none;
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
    box-shadow: 0 4px 16px rgba(245, 124, 0, .35);
    font-weight: 700; letter-spacing: .02em;
}
.rt-cta-cabecera:hover {
    background: linear-gradient(135deg, #ff8f00 0%, #f57c00 100%);
    box-shadow: 0 6px 20px rgba(245, 124, 0, .5);
}

/* ============================ 3. Navegación =============================== */
.rt-nav-barra { background: var(--rt-oscuro); position: sticky; top: 0; z-index: 50; }
.rt-nav-barra__inner {
    max-width: var(--rt-ancho); margin: 0 auto; padding: 0 22px;
    display: flex; align-items: center; justify-content: center; gap: 18px;
    position: relative; min-height: 62px;
}
.rt-nav { display: flex; align-items: center; gap: 26px; }
.rt-nav a {
    font-family: var(--rt-fuente-tit); font-weight: 600; font-size: .88rem;
    letter-spacing: .03em; text-transform: uppercase; color: #fff; padding: 20px 0;
}
.rt-nav a:hover, .rt-nav a.activo { color: var(--rt-naranja); }

.rt-carrito {
    width: 52px; height: 52px; border-radius: 50%; background: var(--rt-naranja);
    display: flex; align-items: center; justify-content: center; color: #fff;
    position: relative; flex: none;
}
.rt-carrito:hover { background: var(--rt-naranja-fuerte); color: #fff; }
.rt-carrito__n {
    position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px;
    border-radius: 999px; background: #fff; color: var(--rt-tinta);
    font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--rt-gris-claro); padding: 0 5px;
}

.rt-menu-btn { display: none; background: none; border: 0; cursor: pointer; font-size: 1.7rem; color: #fff; padding: 4px 10px; }

/* ============================== Botones =================================== */
.rt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 30px; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--rt-fuente-tit); font-weight: 600; font-size: .95rem;
    cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
    text-align: center; line-height: 1.2;
}
.rt-btn:hover { transform: translateY(-2px); }
.rt-btn--primario { background: var(--rt-naranja); color: #fff; }
.rt-btn--primario:hover { background: var(--rt-naranja-fuerte); color: #fff; }
.rt-btn--linea { border-color: var(--rt-naranja); color: var(--rt-naranja); background: transparent; }
.rt-btn--linea:hover { background: var(--rt-naranja); color: #fff; }
.rt-btn--oscuro { background: var(--rt-oscuro); color: #fff; }
.rt-btn--oscuro:hover { background: #000; color: #fff; }
.rt-btn--wsp { background: #25d366; color: #fff; }
.rt-btn--wsp:hover { background: #1da851; color: #fff; }
.rt-btn--sm { padding: 10px 20px; font-size: .86rem; }
.rt-btn--lg { padding: 17px 40px; font-size: 1.05rem; }

/* =============================== Portada / Hero Slider Dinámico ============ */
.rt-hero-slider {
    position: relative; width: 100%; min-height: 600px; height: 76vh; max-height: 720px;
    overflow: hidden; background: #0c1017; color: #fff;
}
.rt-hero-slide {
    position: absolute; inset: 0; opacity: 0; pointer-events: none;
    background-size: cover; background-position: center;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.03);
    display: flex; align-items: center;
}
.rt-hero-slide.activo {
    opacity: 1; pointer-events: auto; transform: scale(1);
}
.rt-hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 75% 35%, rgba(244, 143, 44, 0.22) 0%, transparent 60%),
                linear-gradient(90deg, rgba(12, 16, 23, 0.82) 0%, rgba(12, 16, 23, 0.45) 48%, rgba(12, 16, 23, 0.78) 100%);
    pointer-events: none;
}
.rt-hero-slide__inner {
    position: relative; z-index: 2; width: 100%;
    max-width: var(--rt-ancho); margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center;
}
.rt-hero-slide__card-wrap {
    display: flex; justify-content: center; align-items: center;
}
.rt-hero-slide__card {
    background: rgba(255, 255, 255, 0.95); border-radius: 20px; padding: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
    border: 1px solid rgba(255,255,255,.6);
    max-width: 440px; width: 100%; overflow: hidden;
    position: relative;
    transform: translateY(0); transition: transform .3s ease, box-shadow .3s ease;
}
.rt-hero-slide__card:hover {
    transform: translateY(-5px); box-shadow: 0 26px 60px rgba(0,0,0,.5);
}
.rt-hero-slide__card img {
    width: 100%; height: auto; display: block; border-radius: 14px; object-fit: cover;
    aspect-ratio: 16/10;
}
.rt-hero-slide__card--logo {
    padding: 34px 44px; display: flex; align-items: center; justify-content: center;
    background: #fff;
}
.rt-hero-slide__card--logo img {
    aspect-ratio: auto; max-width: 280px;
}
.rt-hero-slide__badge-float {
    position: absolute; bottom: 16px; left: 16px;
    background: rgba(12, 16, 23, 0.88); backdrop-filter: blur(8px);
    color: #fff; padding: 6px 14px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex; align-items: center; gap: 6px;
}
.rt-hero-slide__texto {
    display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}
.rt-hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
    padding: 6px 15px; font-size: 0.82rem; font-weight: 700; color: #fff;
    letter-spacing: .03em; text-transform: uppercase; margin-bottom: 12px;
}
.rt-pulse-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
    box-shadow: 0 0 10px #22c55e; animation: rtPulse 2s infinite;
}
@keyframes rtPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.rt-text-gradient {
    background: linear-gradient(135deg, #ff9e44 0%, #ff5200 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.rt-hero-slide__titulo {
    color: #fff; text-transform: uppercase; font-size: clamp(2rem, 3.8vw, 3.1rem);
    text-shadow: 0 2px 20px rgba(0,0,0,.6); margin-bottom: .25em; line-height: 1.15;
    font-weight: 800; font-family: var(--rt-fuente-tit);
}
.rt-hero-slide__destacado {
    font-family: var(--rt-fuente-tit); font-weight: 700; color: #ffa44d;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem); text-transform: uppercase; line-height: 1.35;
    text-shadow: 0 2px 14px rgba(0,0,0,.5); margin-bottom: 8px;
}
.rt-hero-slide__bajada {
    font-family: var(--rt-fuente); font-weight: 400; color: rgba(255,255,255,.92);
    font-size: 1.02rem; line-height: 1.6; max-width: 580px;
    text-shadow: 0 2px 12px rgba(0,0,0,.6); margin: 0 0 26px;
}
.rt-hero-slide__acciones {
    display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap;
}
.rt-glow-btn {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.45);
    color: #fff !important; border: 0;
}
.rt-glow-btn:hover {
    background: linear-gradient(135deg, #ff8f00 0%, #f57c00 100%);
    box-shadow: 0 8px 26px rgba(245, 124, 0, 0.65);
    transform: translateY(-2px);
}
.rt-btn--glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff !important;
}
.rt-btn--glass:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff !important; transform: translateY(-2px);
}

/* Flechas de navegación */
.rt-hero-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; transition: background .2s ease, transform .2s ease;
    backdrop-filter: blur(4px);
}
.rt-hero-nav-btn:hover {
    background: var(--rt-naranja); transform: translateY(-50%) scale(1.08);
}
.rt-hero-nav-btn--prev { left: 22px; }
.rt-hero-nav-btn--next { right: 22px; }

/* Indicadores de puntos (dots) */
.rt-hero-dots {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; gap: 10px; align-items: center;
}
.rt-hero-dot {
    width: 12px; height: 12px; border-radius: 999px;
    background: rgba(255,255,255,.45); border: 0; cursor: pointer;
    padding: 0; transition: all .3s ease;
}
.rt-hero-dot:hover { background: rgba(255,255,255,.8); }
.rt-hero-dot.activo {
    background: var(--rt-naranja); width: 32px;
}

/* Compatibilidad .rt-hero antiguo */
.rt-hero {
    position: relative; min-height: 560px; display: flex; align-items: center;
    background: var(--rt-oscuro) center/cover no-repeat; color: #fff; padding: 70px 0;
}
.rt-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.6) 100%);
}
.rt-hero__inner {
    position: relative; z-index: 1; width: 100%;
    max-width: var(--rt-ancho); margin: 0 auto; padding: 0 22px;
    display: flex; justify-content: flex-end;
}
.rt-hero__texto { max-width: 620px; text-align: right; }
.rt-hero h1 {
    color: #fff; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 2.9rem);
    text-shadow: 0 2px 18px rgba(0,0,0,.5); margin-bottom: .35em;
}
.rt-hero__destacado {
    font-family: var(--rt-fuente-tit); font-weight: 700; color: var(--rt-naranja);
    font-size: clamp(1.05rem, 1.8vw, 1.45rem); text-transform: uppercase; line-height: 1.35;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.rt-hero__sub {
    font-family: var(--rt-fuente-tit); font-weight: 600; color: #fff;
    text-transform: uppercase; font-size: .98rem; letter-spacing: .01em;
    text-shadow: 0 2px 12px rgba(0,0,0,.5); margin-top: 6px;
}
.rt-hero__acciones { margin-top: 30px; display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
.rt-hero__marca {
    position: absolute; left: max(22px, calc(50% - var(--rt-ancho)/2 + 22px)); top: 50%;
    transform: translateY(-50%); z-index: 1;
    background: #fff; border-radius: 16px; padding: 20px 34px; box-shadow: var(--rt-sombra-alta);
}
.rt-hero__marca img { width: 260px; max-width: 34vw; }

/* ================================ Tarjetas ================================ */
.rt-grilla { display: grid; gap: 26px; }
.rt-grilla--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.rt-grilla--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.rt-grilla--4 { grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); }

.rt-card {
    background: #fff; border: 1px solid var(--rt-gris-claro);
    border-radius: var(--rt-radio); overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow .2s ease, transform .2s ease;
}
.rt-card:hover { box-shadow: var(--rt-sombra-alta); transform: translateY(-4px); }
.rt-card__img { aspect-ratio: 4/3; background: var(--rt-fondo) center/cover no-repeat; }
.rt-card__cuerpo { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rt-card__titulo { font-family: var(--rt-fuente-tit); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.rt-card__meta { font-size: .86rem; color: var(--rt-tinta-60); line-height: 1.5; }
.rt-card__pie { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.rt-precio { font-family: var(--rt-fuente-tit); font-size: 1.3rem; font-weight: 700; }
.rt-precio__antes { font-size: .92rem; color: var(--rt-gris); text-decoration: line-through; font-weight: 400; margin-right: 7px; }

.rt-badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .73rem; font-weight: 700; letter-spacing: .02em; }
.rt-badge--dcto { background: #e8f6ec; color: #1b7a3d; }
.rt-badge--unico { background: #fdf0e2; color: #a4590a; }

/* Título de sección centrado, como el del sitio actual */
.rt-titulo-seccion { text-align: center; margin-bottom: 12px; }
.rt-bajada-seccion { text-align: center; color: var(--rt-tinta-60); max-width: 68ch; margin: 0 auto 38px; }

/* ================================ Contenido =============================== */
.rt-prosa { max-width: 76ch; }
.rt-prosa p { margin: 0 0 1.15em; }
.rt-prosa h2 { margin-top: 1.6em; }
.rt-prosa strong { color: var(--rt-tinta); }
.rt-destacar { color: var(--rt-naranja); font-weight: 600; }

.rt-vacio { text-align: center; padding: 66px 20px; color: var(--rt-tinta-60); border: 2px dashed var(--rt-gris-claro); border-radius: var(--rt-radio); }

.rt-error { background: #fdecea; border-left: 3px solid #d93025; padding: 11px 15px; border-radius: 6px; font-size: .92rem; }
.rt-aviso { background: #fff8e6; border-left: 3px solid #e0a800; padding: 11px 15px; border-radius: 6px; font-size: .9rem; margin-top: 12px; }

/* Banner de instrucción, como "SELECCIONA EL COLOR E INCLUYE TUS MEDIDAS" */
.rt-instruccion {
    display: inline-block; background: #fff9c4; color: var(--rt-naranja-fuerte);
    font-family: var(--rt-fuente-tit); font-weight: 700; font-size: .95rem;
    padding: 9px 18px; border-radius: 8px; text-transform: uppercase;
    box-shadow: var(--rt-sombra); margin-bottom: 16px;
}

/* ================================= Footer ================================= */
.rt-footer { background: var(--rt-oscuro); color: rgba(255,255,255,.7); padding: 62px 0 28px; }
.rt-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: .9em; }
.rt-footer a { color: rgba(255,255,255,.7); }
.rt-footer a:hover { color: var(--rt-naranja); }
.rt-footer p { margin: 0 0 1em; }
.rt-footer__grilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; }
.rt-footer__nota { font-size: .87rem; color: rgba(255,255,255,.5); }
.rt-footer__legal {
    margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13);
    font-size: .85rem; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
}

/* ============================ Flotantes =================================== */
.rt-wsp-flotante {
    position: fixed; left: 22px; bottom: 22px; z-index: 60;
    width: 54px; height: 54px; border-radius: 50%; background: #25d366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--rt-sombra-alta); color: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}
.rt-wsp-flotante:hover { transform: scale(1.07); }
.rt-wsp-flotante svg { width: 30px; height: 30px; fill: #fff; }

.rt-arriba {
    position: fixed; left: 26px; bottom: 88px; z-index: 59;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--rt-naranja); color: #fff; font-size: 1.25rem;
    box-shadow: var(--rt-sombra-alta);
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.rt-arriba.visible { opacity: 1; pointer-events: auto; }

/* ================================= Móvil ================================== */
@media (max-width: 980px) {
    .rt-marca__inner { flex-wrap: wrap; justify-content: space-between; gap: 14px; }
    .rt-buscador { order: 3; max-width: none; width: 100%; flex: 1 1 100%; }
    .rt-menu-btn { display: block; }
    .rt-nav-barra__inner { justify-content: space-between; }
    .rt-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--rt-oscuro); flex-direction: column; align-items: stretch;
        gap: 0; padding: 6px 0; box-shadow: var(--rt-sombra);
    }
    .rt-nav.abierto { display: flex; }
    .rt-nav a { padding: 13px 22px; }
    .rt-hero__inner { justify-content: center; }
    .rt-hero__texto { text-align: center; }
    .rt-hero__acciones { justify-content: center; }
    .rt-hero__marca { display: none; }
    .rt-seccion { padding: 50px 0; }

    /* Mobile Hero Slider */
    .rt-hero-slider { min-height: 520px; height: auto; }
    .rt-hero-slide__inner { grid-template-columns: 1fr; gap: 14px; text-align: center; }
    .rt-hero-slide__card-wrap { display: none; }
    .rt-hero-slide__texto { align-items: center; text-align: center; }
    .rt-hero-slide__titulo { font-size: clamp(1.8rem, 5.5vw, 2.4rem); }
    .rt-hero-slide__destacado { font-size: 1.05rem; }
    .rt-hero-slide__bajada { font-size: 0.95rem; margin-bottom: 20px; }
    .rt-hero-slide__acciones { justify-content: center; width: 100%; gap: 10px; }
    .rt-hero-nav-btn { display: none; }
}
@media (max-width: 560px) {
    .rt-cta-cabecera { display: none; }
    .rt-topbar__inner { gap: 14px; font-size: 0.8rem; justify-content: space-around; padding: 6px 12px; }
    .rt-cinta-taller__inner { justify-content: center; text-align: center; gap: 12px; }
    .rt-cinta-taller__item { font-size: 0.85rem; width: 100%; justify-content: center; }
    .rt-hero-slide__acciones .rt-btn { width: 100%; max-width: 280px; padding: 12px 18px; font-size: 0.92rem; }
}

/* Pasos numerados (portada: cómo funciona la recuperación de retazos) */
.rt-paso-num { text-align: center; padding: 0 10px; }
.rt-paso-num > span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--rt-naranja); color: #fff;
    font-family: var(--rt-fuente-tit); font-weight: 700; font-size: 1.3rem;
    margin-bottom: 14px;
}
.rt-paso-num h3 { font-size: 1.05rem; margin-bottom: .4em; }

/* ============================== 2.1 Toast Notifications =================== */
/* Inspirado en el patrón de Cobocom (showToast), adaptado a variables --rt-* */
#rt-toasts {
    position: fixed; top: 22px; right: 22px; z-index: 200;
    display: flex; flex-direction: column; gap: 10px;
    pointer-events: none;
}
.rt-toast {
    display: flex; align-items: flex-start; gap: 12px;
    background: #fff; border-radius: 10px; padding: 14px 18px;
    box-shadow: 0 4px 24px rgba(21,21,21,.16);
    border-left: 4px solid var(--rt-naranja);
    font-size: .92rem; min-width: 260px; max-width: 380px;
    pointer-events: auto;
    animation: rt-toast-in .25s cubic-bezier(0.16,1,0.3,1);
}
.rt-toast--ok   { border-color: #1b7a3d; }
.rt-toast--error{ border-color: #d93025; }
.rt-toast--info { border-color: var(--rt-naranja); }
.rt-toast__icono { font-size: 1.1rem; flex: none; margin-top: 1px; }
.rt-toast__msg  { flex: 1; line-height: 1.4; }
.rt-toast__cerrar {
    background: none; border: 0; cursor: pointer;
    color: var(--rt-gris); font-size: 1.1rem; padding: 0 0 0 4px; line-height: 1;
}
@keyframes rt-toast-in {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes rt-toast-out {
    to   { opacity: 0; transform: translateX(28px); }
}
.rt-toast--saliendo { animation: rt-toast-out .2s forwards; }

/* ============================== 2.2 Breadcrumbs =========================== */
.rt-breadcrumbs {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
    font-size: .84rem; color: var(--rt-tinta-60);
    margin-bottom: 20px; padding: 0;
    list-style: none;
}
.rt-breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.rt-breadcrumbs li + li::before {
    content: '/'; color: var(--rt-gris-claro); font-size: .8rem;
}
.rt-breadcrumbs a { color: var(--rt-tinta-60); }
.rt-breadcrumbs a:hover { color: var(--rt-naranja); }
.rt-breadcrumbs li:last-child { color: var(--rt-tinta); font-weight: 500; }

/* ============================== 2.3 Skeleton Loaders ====================== */
@keyframes rt-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .45; }
}
.rt-skeleton {
    background: var(--rt-fondo); border-radius: 6px;
    animation: rt-pulse 1.6s ease-in-out infinite;
}
.rt-skeleton--card {
    border: 1px solid var(--rt-gris-claro); border-radius: var(--rt-radio);
    overflow: hidden;
}
.rt-skeleton--img  { aspect-ratio: 4/3; background: var(--rt-gris-claro); }
.rt-skeleton--text { height: 14px; margin: 8px 16px; border-radius: 4px; }
.rt-skeleton--text-sm { height: 11px; margin: 6px 16px; border-radius: 4px; }
.rt-skeleton--btn  { height: 38px; margin: 12px 16px; border-radius: 999px; }

/* ============================== 2.4 Galería de Producto =================== */
.rt-galeria { display: flex; flex-direction: column; gap: 10px; }
.rt-galeria__principal {
    aspect-ratio: 4/3; border-radius: var(--rt-radio);
    background: var(--rt-fondo) center/cover no-repeat;
    border: 1px solid var(--rt-gris-claro);
    transition: background-image .2s ease;
    overflow: hidden; position: relative;
}
.rt-galeria__thumbs {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px;
}
.rt-galeria__thumb {
    aspect-ratio: 1/1; border-radius: 8px; border: 2px solid var(--rt-gris-claro);
    background: var(--rt-fondo) center/cover no-repeat;
    cursor: pointer; transition: border-color .15s ease, transform .15s ease;
    padding: 0; overflow: hidden;
}
.rt-galeria__thumb:hover  { border-color: var(--rt-gris); transform: scale(1.04); }
.rt-galeria__thumb.activo { border-color: var(--rt-naranja); box-shadow: 0 0 0 2px rgba(244,143,44,.25); }
/* Punto de color en la esquina del thumb */
.rt-galeria__thumb-punto {
    position: absolute; right: 3px; bottom: 3px;
    width: 12px; height: 12px; border-radius: 3px;
    border: 1px solid rgba(255,255,255,.8);
}
/* El thumb wrapper necesita position relative para el punto */
.rt-galeria__thumb-wrap { position: relative; }

/* ============================== 2.5 Mejora de transiciones de tarjeta ===== */
/* Curva cúbica más premium, tomada de Cobocom prod-card */
.rt-card {
    transition: box-shadow .25s cubic-bezier(0.4,0,0.2,1),
                transform  .25s cubic-bezier(0.4,0,0.2,1);
}
.rt-card:hover { transform: translateY(-3px); }

/* Botón CTA principal: pulso sutil en idle */
@keyframes rt-pulse-cta {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.025); }
}
.rt-btn--pulse { animation: rt-pulse-cta 3.5s ease-in-out infinite; }

/* Scrollbar fina (como Cobocom) */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--rt-fondo); }
::-webkit-scrollbar-thumb { background: var(--rt-gris-claro); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--rt-gris); }

/* ============================ Responsive Fase 2 =========================== */
@media (max-width: 560px) {
    #rt-toasts { top: 12px; right: 12px; left: 12px; }
    .rt-toast  { min-width: 0; max-width: none; }
    .rt-galeria__thumbs { grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); }
}

/* ============================== 2.6 Modal Pop-up (Recomendado) ============= */
.rt-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(10, 16, 26, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; pointer-events: none;
    visibility: hidden;
    transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.rt-modal-overlay.abierto {
    opacity: 1; pointer-events: auto;
    visibility: visible;
}
.rt-modal-overlay.cerrando {
    opacity: 0; pointer-events: none;
    transition: opacity 0.32s ease-out;
}
.rt-modal-dialog {
    background: #ffffff; width: 100%; max-width: 440px;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.15);
    transform: translateY(26px) scale(0.92);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.rt-modal-overlay.abierto .rt-modal-dialog {
    transform: translateY(0) scale(1);
}
.rt-modal-overlay.cerrando .rt-modal-dialog {
    transform: translateY(16px) scale(0.94);
    transition: transform 0.32s ease-out;
}
.rt-modal-header {
    background: linear-gradient(135deg, var(--rt-naranja-fuerte, #f55000) 0%, #ff6e26 100%);
    color: #fff; padding: 14px 18px;
    display: flex; align-items: center; justify-content: space-between;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.rt-modal-header__info {
    flex: 1; text-align: center; padding: 0 8px;
}
.rt-modal-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    color: #fff; font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 2px 9px; border-radius: 99px;
    margin-bottom: 2px;
}
.rt-modal-header h3 {
    margin: 0; color: #fff; font-size: 1.15rem; font-weight: 700;
    letter-spacing: -.01em; font-family: var(--rt-fuente-tit);
    line-height: 1.25;
}
.rt-modal-x {
    width: 32px; height: 32px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
    flex: none;
}
.rt-modal-x:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.08);
}
.rt-modal-cuerpo {
    padding: 0; background: #fff; display: block; overflow: hidden;
    position: relative;
}
.rt-modal-cuerpo a {
    display: block; text-decoration: none; overflow: hidden;
}
.rt-modal-cuerpo img {
    width: 100%; height: auto; max-height: 440px;
    object-fit: cover; display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.rt-modal-cuerpo a:hover img {
    transform: scale(1.03);
}
.rt-modal-bajada {
    padding: 14px 20px 4px;
    color: #4a5568; font-size: 0.9rem; line-height: 1.45;
    text-align: center;
}
.rt-modal-pie {
    padding: 14px 20px 20px;
    display: flex; justify-content: center; align-items: center; gap: 12px;
    background: #fff;
}
.rt-modal-pie .rt-btn {
    min-width: 130px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rt-modal-pie .rt-btn:hover {
    transform: translateY(-1px);
}

/* ============================== 2.7 Carrito Drawer & Checkout =============== */
/* Drawer Lateral de Carrito */
.rt-cart-backdrop {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0, 0, 0, .6); backdrop-filter: blur(2px);
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.rt-cart-backdrop.abierto { opacity: 1; pointer-events: auto; }

.rt-cart-panel {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
    width: min(440px, 92vw); background: #fff; box-shadow: -10px 0 35px rgba(0,0,0,.25);
    display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.rt-cart-backdrop.abierto .rt-cart-panel { transform: translateX(0); }

.rt-cart-header {
    padding: 18px 22px; border-bottom: 1px solid var(--rt-gris-claro);
    display: flex; align-items: center; justify-content: space-between;
    background: #fafafa;
}
.rt-cart-header h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.rt-cart-close {
    background: none; border: 0; cursor: pointer; font-size: 1.5rem;
    color: var(--rt-tinta-60); line-height: 1; padding: 4px;
}
.rt-cart-close:hover { color: var(--rt-tinta); }

.rt-cart-body {
    flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 14px;
}
.rt-cart-item {
    display: flex; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #f0f0f0;
    position: relative; align-items: center;
}
.rt-cart-item__img {
    width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--rt-gris-claro);
    background: var(--rt-fondo) center/cover no-repeat; flex: none;
}
.rt-cart-item__info { flex: 1; min-width: 0; }
.rt-cart-item__titulo { font-weight: 700; font-size: .94rem; margin-bottom: 2px; }
.rt-cart-item__meta { font-size: .82rem; color: var(--rt-tinta-60); line-height: 1.4; }
.rt-cart-item__precio { font-weight: 700; font-size: 1.05rem; color: var(--rt-tinta); margin-top: 4px; }
.rt-cart-item__eliminar {
    background: none; border: 0; cursor: pointer; color: #dc2626; font-size: .82rem;
    padding: 2px 0; text-decoration: underline;
}

.rt-cart-footer {
    padding: 20px 22px; border-top: 1px solid var(--rt-gris-claro); background: #fafafa;
}
.rt-cart-total-fila {
    display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px;
}
.rt-cart-total-fila span { font-size: 1rem; color: var(--rt-tinta-60); }
.rt-cart-total-fila strong { font-size: 1.6rem; color: var(--rt-tinta); font-family: var(--rt-fuente-tit); }

/* Métodos de Pago en Checkout */
.rt-metodo-card {
    border: 2px solid var(--rt-gris-claro); border-radius: 12px; padding: 16px 18px;
    cursor: pointer; display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px;
    transition: all .15s ease; background: #fff;
}
.rt-metodo-card:hover { border-color: var(--rt-naranja); }
.rt-metodo-card.activo {
    border-color: var(--rt-naranja); background: #fff9f4;
    box-shadow: 0 4px 14px rgba(244,143,44,.15);
}
.rt-metodo-card input[type="radio"] { margin-top: 3px; accent-color: var(--rt-naranja); }
.rt-metodo-card__info { flex: 1; }
.rt-metodo-card__titulo { font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.rt-metodo-card__desc { font-size: .84rem; color: var(--rt-tinta-60); line-height: 1.4; }

/* =============================================================================
   ROLLERTECH REDISEÑO MODERNO — HOME V2 (UI/UX HIGH-TECH & CONVERSIÓN)
   ============================================================================= */

/* 1. Cinta de Taller y Métricas de Confianza */
.rt-cinta-taller {
    background: linear-gradient(90deg, #d35400 0%, #e67e22 50%, #e65100 100%);
    color: #fff; padding: 16px 0;
    box-shadow: 0 4px 20px rgba(211, 84, 0, 0.28);
}
.rt-cinta-taller__inner {
    max-width: var(--rt-ancho); margin: 0 auto; padding: 0 22px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.rt-cinta-taller__item {
    display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem;
    letter-spacing: .01em;
}
.rt-cinta-taller__item svg { flex: none; opacity: .95; }

/* 2. Encabezados de Sección Modernos */
.rt-header-seccion {
    text-align: center; margin-bottom: 44px;
}
.rt-pill-seccion {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff6ee; color: var(--rt-naranja-fuerte);
    border: 1px solid rgba(244, 143, 44, 0.25);
    border-radius: 999px; padding: 5px 14px;
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; margin-bottom: 12px;
}
.rt-header-seccion h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800;
    color: var(--rt-tinta); margin: 0 0 10px;
}
.rt-header-seccion p {
    font-size: 1.02rem; color: var(--rt-tinta-60); max-width: 65ch; margin: 0 auto;
    line-height: 1.6;
}

/* 3. Showcase Bento / Cards de Categorías */
.rt-bento-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 1060px) {
    .rt-bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .rt-bento-grid { grid-template-columns: 1fr; }
}
.rt-bento-card {
    background: #fff; border-radius: 18px; border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04); position: relative;
}
.rt-bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(244, 143, 44, 0.4);
}
.rt-bento-card__media {
    position: relative; aspect-ratio: 16/11; overflow: hidden; background: #eee;
}
.rt-bento-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1);
}
.rt-bento-card:hover .rt-bento-card__media img {
    transform: scale(1.06);
}
.rt-bento-card__tag {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: rgba(12, 16, 23, 0.82); backdrop-filter: blur(8px);
    color: #fff; font-size: 0.73rem; font-weight: 700;
    padding: 5px 12px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.rt-bento-card__tag--destacado {
    background: linear-gradient(135deg, #f57c00, #e65100);
    border-color: rgba(255, 255, 255, 0.35); box-shadow: 0 4px 12px rgba(230, 81, 0, 0.35);
}
.rt-bento-card__body {
    padding: 22px 20px 24px; display: flex; flex-direction: column; flex: 1;
}
.rt-bento-card__title {
    font-family: var(--rt-fuente-tit); font-size: 1.22rem; font-weight: 800;
    margin: 0 0 4px; color: var(--rt-tinta); text-transform: uppercase;
}
.rt-bento-card__sub {
    font-size: 0.82rem; font-weight: 700; color: var(--rt-naranja-fuerte);
    margin-bottom: 10px;
}
.rt-bento-card__desc {
    font-size: 0.88rem; color: var(--rt-tinta-60); line-height: 1.5;
    margin: 0 0 16px; flex: 1;
}
.rt-bento-card__specs {
    list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px;
}
.rt-bento-card__specs li {
    font-size: 0.82rem; color: #475569; display: flex; align-items: center; gap: 8px;
}
.rt-bento-card__specs li::before {
    content: '✓'; color: var(--rt-naranja); font-weight: 800; font-size: 0.85rem;
}
.rt-bento-card__footer {
    margin-top: auto; padding-top: 14px; border-top: 1px solid #f1f3f6;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.rt-bento-card__price {
    font-family: var(--rt-fuente-tit); font-weight: 700; font-size: 0.95rem; color: var(--rt-tinta);
}
.rt-bento-card__price span {
    display: block; font-size: 0.72rem; color: var(--rt-tinta-60); font-weight: 400; text-transform: uppercase;
}

/* 4. Sistema Inteligente de Retazos */
.rt-retazos-tech {
    background: radial-gradient(circle at 50% 0%, rgba(244, 143, 44, 0.08) 0%, transparent 65%), #f8fafc;
    border-top: 1px solid #eef2f6; border-bottom: 1px solid #eef2f6;
    padding: 80px 0;
}
.rt-retazos-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 38px 0;
}
@media (max-width: 860px) {
    .rt-retazos-grid { grid-template-columns: 1fr; }
}
.rt-retazos-card {
    background: #fff; border-radius: 18px; padding: 30px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: transform .2s ease, box-shadow .2s ease;
}
.rt-retazos-card:hover {
    transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
}
.rt-retazos-num {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--rt-naranja) 0%, var(--rt-naranja-fuerte) 100%);
    color: #fff; font-family: var(--rt-fuente-tit); font-weight: 800; font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; box-shadow: 0 6px 14px rgba(244, 143, 44, 0.35);
}
.rt-retazos-card h3 {
    font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; color: var(--rt-tinta);
}
.rt-retazos-card p {
    font-size: 0.92rem; color: var(--rt-tinta-60); line-height: 1.55; margin: 0;
}
.rt-retazos-highlight-box {
    background: #fff; border-radius: 20px; border: 2px dashed rgba(244, 143, 44, 0.4);
    padding: 24px 32px; display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; margin-top: 32px;
}
.rt-retazos-highlight-box p {
    margin: 0; font-size: 0.96rem; color: var(--rt-tinta); max-width: 64ch;
}
.rt-retazos-highlight-box p strong { color: var(--rt-naranja-fuerte); }

/* 5. Galería Interactiva de Trabajos Reales */
.rt-galeria-home {
    padding: 80px 0;
}
.rt-galeria-filtros {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px;
}
.rt-galeria-btn {
    padding: 9px 20px; border-radius: 999px; border: 1px solid var(--rt-gris-claro);
    background: #fff; font-family: var(--rt-fuente-tit); font-weight: 600; font-size: 0.86rem;
    color: var(--rt-tinta); cursor: pointer; transition: all .2s ease;
}
.rt-galeria-btn:hover {
    border-color: var(--rt-naranja); color: var(--rt-naranja);
}
.rt-galeria-btn.activo {
    background: var(--rt-naranja); color: #fff; border-color: var(--rt-naranja);
    box-shadow: 0 4px 14px rgba(244, 143, 44, 0.3);
}
.rt-galeria-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 1024px) {
    .rt-galeria-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .rt-galeria-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.rt-galeria-card {
    border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 4/3;
    background: #111; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer; transition: transform .25s ease, box-shadow .25s ease;
}
.rt-galeria-card:hover {
    transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}
.rt-galeria-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.rt-galeria-card:hover img {
    transform: scale(1.08);
}
.rt-galeria-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(12, 16, 23, 0.88) 0%, rgba(12, 16, 23, 0.2) 60%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
    opacity: 0.9; transition: opacity .25s ease;
}
.rt-galeria-card:hover .rt-galeria-overlay { opacity: 1; }
.rt-galeria-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 700; color: #ffa44d;
    text-transform: uppercase; margin-bottom: 4px;
}
.rt-galeria-title {
    color: #fff; font-size: 0.92rem; font-weight: 600; margin: 0; line-height: 1.25;
}

/* 6. Pilares de Valor (Por qué RollerTech) */
.rt-pilares-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) {
    .rt-pilares-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .rt-pilares-grid { grid-template-columns: 1fr; }
}
.rt-pilar-card {
    background: #fff; border-radius: 16px; padding: 26px 22px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex; gap: 16px; align-items: flex-start;
    transition: transform .2s ease, box-shadow .2s ease;
}
.rt-pilar-card:hover {
    transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.rt-pilar-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: #fff6ee; color: var(--rt-naranja);
    display: flex; align-items: center; justify-content: center;
    flex: none; font-size: 1.5rem;
}
.rt-pilar-info h3 {
    font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; color: var(--rt-tinta);
}
.rt-pilar-info p {
    font-size: 0.88rem; color: var(--rt-tinta-60); line-height: 1.5; margin: 0;
}

/* 7. Banner de Cierre High-Converting */
.rt-cta-cierre {
    background: radial-gradient(circle at 20% 50%, rgba(244, 143, 44, 0.28) 0%, transparent 60%), #131720;
    color: #fff; padding: 76px 0; border-radius: 24px; margin: 40px 0;
    position: relative; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.rt-cta-cierre__inner {
    max-width: 760px; margin: 0 auto; text-align: center; padding: 0 24px;
    position: relative; z-index: 2;
}
.rt-cta-cierre h2 {
    color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 14px;
}
.rt-cta-cierre p {
    font-size: 1.05rem; color: rgba(255, 255, 255, 0.85); line-height: 1.6; margin: 0 0 32px;
}
.rt-cta-cierre__acciones {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ==========================================================================
   8. Chatbot Híbrido Inteligente (Dock Flotante High-Tech / Glassmorphism)
   ========================================================================== */
:root {
    --rt-bot-bg: rgba(9, 14, 24, 0.88);
    --rt-bot-cyan: #00e5ff;
    --rt-bot-cyan-glow: rgba(0, 229, 255, 0.32);
    --rt-bot-border: rgba(0, 229, 255, 0.22);
}

/* Botón Lanzador Flotante */
.rt-chatbot-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 95;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 18px 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.38);
    background: linear-gradient(135deg, rgba(9, 14, 24, 0.94) 0%, rgba(18, 27, 44, 0.94) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42), 0 0 20px rgba(0, 229, 255, 0.18);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    font-family: var(--rt-fuente-tit);
}
.rt-chatbot-launcher:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--rt-bot-cyan);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.5), 0 0 26px rgba(0, 229, 255, 0.35);
}
.rt-chatbot-launcher__avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #00e5ff 0%, #0077ff 55%, #f48f2c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06101e;
    font-size: 1.15rem;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
    flex-shrink: 0;
}
.rt-chatbot-launcher__avatar svg {
    width: 21px;
    height: 21px;
    fill: #07101e;
}
.rt-chatbot-launcher__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}
.rt-chatbot-launcher__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}
.rt-chatbot-launcher__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--rt-bot-cyan);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 2px;
}
.rt-chatbot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 0 rgba(0, 230, 118, 0.7);
    animation: rtBotPulse 1.8s infinite;
}
@keyframes rtBotPulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.75); }
    70%  { box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Ventana Dock Flotante Glassmorphism */
.rt-chatbot-dock {
    position: fixed;
    right: 22px;
    bottom: 90px;
    z-index: 96;
    width: 390px;
    max-width: calc(100vw - 28px);
    height: 580px;
    max-height: calc(100vh - 120px);
    background: var(--rt-bot-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--rt-bot-border);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 229, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #eef4ff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.32s;
}
.rt-chatbot-dock.abierto {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Cabecera del Dock */
.rt-chatbot-header {
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(16, 25, 43, 0.95) 0%, rgba(9, 14, 24, 0.95) 100%);
    border-bottom: 1px solid rgba(0, 229, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.rt-chatbot-header__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.rt-chatbot-header__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.18) 0%, rgba(244, 143, 44, 0.22) 100%);
    border: 1px solid rgba(0, 229, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rt-bot-cyan);
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}
.rt-chatbot-header__icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.rt-chatbot-header__titles {
    min-width: 0;
}
.rt-chatbot-header__name {
    font-family: var(--rt-fuente-tit);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rt-chatbot-header__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: rgba(220, 235, 255, 0.78);
    margin-top: 2px;
}
.rt-chatbot-header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.rt-chatbot-btn-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.18s ease;
}
.rt-chatbot-btn-icon:hover {
    border-color: var(--rt-bot-cyan);
    color: var(--rt-bot-cyan);
    background: rgba(0, 229, 255, 0.1);
}

/* Cuerpo de Mensajes */
.rt-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}
.rt-chatbot-messages::-webkit-scrollbar { width: 5px; }
.rt-chatbot-messages::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); }
.rt-chatbot-messages::-webkit-scrollbar-thumb { background: rgba(0, 229, 255, 0.25); border-radius: 99px; }

.rt-chat-msg {
    max-width: 88%;
    padding: 11px 14px;
    border-radius: 16px;
    font-size: 0.87rem;
    line-height: 1.48;
    animation: rtChatFadeIn 0.24s ease-out;
    word-wrap: break-word;
}
@keyframes rtChatFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.rt-chat-msg--bot {
    align-self: flex-start;
    background: rgba(20, 30, 48, 0.88);
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-bottom-left-radius: 4px;
    color: #eaf2ff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
.rt-chat-msg--bot strong {
    color: var(--rt-bot-cyan);
    font-weight: 700;
}
.rt-chat-msg--user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--rt-naranja) 0%, var(--rt-naranja-fuerte) 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(244, 143, 44, 0.3);
}

/* Chips / Botones del Árbol de Decisiones */
.rt-chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px;
    animation: rtChatFadeIn 0.28s ease-out;
}
.rt-chat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 600;
    font-family: var(--rt-fuente-tit);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.32);
    color: #d8f8ff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease;
}
.rt-chat-chip:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: var(--rt-bot-cyan);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.22);
}
.rt-chat-chip--wsp {
    background: rgba(37, 211, 102, 0.14);
    border-color: rgba(37, 211, 102, 0.45);
    color: #72f6a2;
}
.rt-chat-chip--wsp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #06180d;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.rt-chat-chip--link {
    background: rgba(244, 143, 44, 0.15);
    border-color: rgba(244, 143, 44, 0.45);
    color: #ffc285;
}
.rt-chat-chip--link:hover {
    background: var(--rt-naranja);
    border-color: var(--rt-naranja);
    color: #fff;
}

/* Indicador "escribiendo..." */
.rt-chat-typing {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 14px;
    background: rgba(20, 30, 48, 0.78);
    border: 1px solid rgba(0, 229, 255, 0.18);
    font-size: 0.78rem;
    color: var(--rt-bot-cyan);
}
.rt-chat-typing__dots {
    display: inline-flex;
    gap: 4px;
}
.rt-chat-typing__dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rt-bot-cyan);
    animation: rtBotDot 1.2s infinite ease-in-out;
}
.rt-chat-typing__dots span:nth-child(2) { animation-delay: 0.2s; }
.rt-chat-typing__dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes rtBotDot {
    0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); }
    40%           { opacity: 1; transform: scale(1.15); }
}

/* Formulario de Entrada con Pacing */
.rt-chatbot-footer {
    padding: 11px 12px;
    background: rgba(7, 11, 19, 0.95);
    border-top: 1px solid rgba(0, 229, 255, 0.16);
    display: flex;
    align-items: center;
    gap: 8px;
}
.rt-chatbot-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 9px 14px;
    color: #fff;
    font-size: 0.86rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rt-chatbot-input::placeholder {
    color: rgba(200, 215, 240, 0.48);
}
.rt-chatbot-input:focus {
    border-color: var(--rt-bot-cyan);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.18);
}
.rt-chatbot-input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.rt-chatbot-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, var(--rt-bot-cyan) 0%, #0088ff 100%);
    color: #04101e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 229, 255, 0.35);
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.rt-chatbot-send:hover:not(:disabled) {
    transform: scale(1.06);
}
.rt-chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.rt-chatbot-send svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}
.rt-chatbot-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(4, 16, 30, 0.25);
    border-top-color: #04101e;
    border-radius: 50%;
    animation: rtBotSpin 0.7s linear infinite;
}
@keyframes rtBotSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
    .rt-chatbot-dock {
        right: 10px;
        left: 10px;
        bottom: 80px;
        width: auto;
        max-width: none;
        height: 72vh;
    }
    .rt-chatbot-launcher {
        right: 14px;
        bottom: 14px;
        padding: 9px 14px 9px 10px;
    }
    .rt-wsp-flotante {
        left: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
    }
}




