/* ===== ÁGORA ===== */
.page-agora {
    --ag-red: #c1121f;
    --ag-red-dark: #7a0010;
    --ag-ink: #111827;
    --ag-muted: #5b6475;
    --ag-line: #e8ebf1;
    --ag-ease: cubic-bezier(0.22, 1, 0.36, 1);
    background: #ffffff;
}

.page-agora .main-content {
    padding: 0;
    overflow-x: clip;
}

.page-agora .site-footer {
    margin-top: 0;
}

/* Animaciones fuera de pantalla en pausa (clase puesta por agora.js) */
.page-agora .is-offscreen,
.page-agora .is-offscreen *,
.page-agora .is-offscreen *::before,
.page-agora .is-offscreen *::after {
    animation-play-state: paused !important;
}

/* Aparición al hacer scroll */
.page-agora .ag-reveal {
    opacity: 0;
    translate: 0 28px;
    transition: opacity 0.8s ease, translate 0.8s var(--ag-ease);
}

.page-agora .ag-reveal.is-in {
    opacity: 1;
    translate: none;
}

/* Botones */
.agora-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0.8rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
}

.agora-btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #e11d2e, #8f0010);
    box-shadow: 0 14px 34px rgba(193, 18, 31, 0.4);
}

.agora-btn--primary:hover {
    box-shadow: 0 18px 42px rgba(193, 18, 31, 0.55);
}

.agora-btn--ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(5, 10, 20, 0.35);
}

.agora-btn--ghost:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.agora-btn--light {
    color: var(--ag-red-dark);
    background: #ffffff;
}

.agora-btn--light:hover {
    background: #fde8ea;
}

.agora-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* ===== HERO ===== */
.page-agora .agora-hero {
    position: relative;
    display: flex;
    align-items: center;
    aspect-ratio: 16 / 9;
    min-height: 600px;
    max-height: 92svh;
    width: 100%;
    padding-top: 5rem;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background: #07090f;
}

.agora-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.agora-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.9s ease, transform 8s ease;
}

.agora-hero-img.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

/* Cambio de sector: la nueva imagen entra con una cortina diagonal */
.agora-hero-img.is-entering {
    z-index: 2;
    opacity: 1;
    transition: none;
    animation: agora-wipe 1.15s var(--ag-ease) both;
}

.agora-hero[data-direction="back"] .agora-hero-img.is-entering {
    animation-name: agora-wipe-back;
}

.agora-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 7, 14, 0.85) 0%, rgba(5, 7, 14, 0.5) 42%, rgba(5, 7, 14, 0.05) 75%),
        linear-gradient(0deg, rgba(5, 7, 14, 0.5), transparent 40%);
}

.agora-hero-content {
    position: relative;
    z-index: 2;
    width: min(640px, calc(100% - 2.5rem));
    margin: 0 0 4rem clamp(1.25rem, 7vw, 7rem);
}

.agora-hero-content > * {
    animation: agora-text-in 0.9s var(--ag-ease) both;
}

.agora-hero-content > :nth-child(2) { animation-delay: 0.08s; }
.agora-hero-content > :nth-child(3) { animation-delay: 0.16s; }
.agora-hero-content > :nth-child(4) { animation-delay: 0.24s; }

.agora-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(5, 10, 20, 0.5);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.agora-hero-kicker i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d5a;
    box-shadow: 0 0 10px #ff4d5a;
}

.agora-hero-content h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.agora-hero-content h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(100deg, #ffffff 10%, #ffb3b9 55%, #ff5b67);
    background-clip: text;
    -webkit-background-clip: text;
}

.agora-hero-content > p {
    max-width: 540px;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.65;
}

.agora-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.agora-hero.is-changing [data-hero-kicker],
.agora-hero.is-changing [data-hero-title],
.agora-hero.is-changing [data-hero-text] {
    animation: agora-text-in 0.7s var(--ag-ease) both;
}

.agora-hero.is-changing [data-hero-text] {
    animation-delay: 0.08s;
}

.agora-hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    /* -2px: evita una línea fina en el borde inferior con escalados no enteros */
    bottom: -2px;
    z-index: 1;
    height: 22%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
    pointer-events: none;
}

/* ===== SELECTOR HOSTELERÍA / RETAIL ===== */
.page-agora .agora-segment-switch {
    position: relative;
    z-index: 5;
    margin: -4.2rem 0 0;
    padding: 0 1rem;
    scroll-margin-top: 110px;
}

.page-agora .agora-segment-inner {
    width: min(440px, 100%);
    padding: 6px;
    border: 1px solid var(--ag-line);
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.page-agora .agora-segment-inner::before {
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: calc(50% - 6px);
    background: linear-gradient(135deg, #e11d2e, #8f0010);
    transition: transform 0.5s var(--ag-ease);
}

.page-agora .agora-segment {
    min-height: 54px;
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.page-agora .agora-segment:hover {
    transform: none;
    color: var(--ag-red);
}

.page-agora .agora-segment.active,
.page-agora .agora-segment.active:hover {
    color: #ffffff;
}

.page-agora .agora-segment-icon {
    width: 26px;
    height: 26px;
}

.page-agora .agora-segment:focus-visible {
    outline: 2px solid var(--ag-red);
    outline-offset: 2px;
}

/* Vistas con transición al cambiar */
.page-agora .agora-view.is-entering {
    animation: agora-view-in 0.6s var(--ag-ease) both;
}

/* ===== SECCIONES DE SOLUCIONES ===== */
.page-agora .rest-manage-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
}

.page-agora .rest-eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    color: var(--ag-red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.page-agora .rest-eyebrow::before,
.page-agora .rest-eyebrow::after {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.page-agora .rest-title {
    margin-bottom: 1rem;
    color: var(--ag-ink);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.page-agora .rest-subtitle {
    max-width: 760px;
    color: var(--ag-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-agora .rest-panel.active .rest-panel-media img {
    animation: agora-img-in 0.8s var(--ag-ease) both;
}

.page-agora .rest-panel.active .rest-panel-content > * {
    animation: agora-text-in 0.6s var(--ag-ease) both;
}

.page-agora .rest-panel.active .rest-panel-content > :nth-child(2) { animation-delay: 0.05s; }
.page-agora .rest-panel.active .rest-panel-content > :nth-child(3) { animation-delay: 0.1s; }
.page-agora .rest-panel.active .rest-panel-content > :nth-child(4) { animation-delay: 0.15s; }
.page-agora .rest-panel.active .rest-panel-content > :nth-child(5) { animation-delay: 0.2s; }

.page-agora .solution-link {
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #d0101f, #8f0010);
    box-shadow: 0 10px 24px rgba(193, 18, 31, 0.25);
}

.page-agora .solution-link::after {
    content: "↗";
    transition: transform 0.25s ease;
}

.page-agora .solution-link:hover {
    transform: none;
}

.page-agora .solution-link:hover::after {
    transform: translate(2px, -2px);
}

/* ===== RETAIL: sistema centralizado ===== */
.retail-spotlight {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    margin-top: 2.6rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    overflow: hidden;
    border-radius: 30px;
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 20%, rgba(225, 29, 46, 0.4), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(79, 70, 229, 0.25), transparent 45%),
        linear-gradient(135deg, #0b1220, #161f33);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
}

.retail-spotlight .solution-kicker {
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #ffb3b9;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.retail-spotlight h3 {
    margin-bottom: 0.9rem;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.retail-spotlight-copy > p:not(.solution-kicker) {
    margin-bottom: 1.4rem;
    color: #b8c2d4;
    line-height: 1.7;
}

.retail-spotlight-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.retail-spotlight-chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.86rem;
    font-weight: 600;
}

.retail-spotlight-chips li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5b67;
}

.retail-spotlight-media {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 1.2rem;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 45%, #ffffff, #eef1f6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.retail-spotlight-media img {
    width: 100%;
    max-width: 380px;
    max-height: 260px;
    object-fit: contain;
    animation: agora-float 6s ease-in-out infinite;
}

/* ===== RETAIL: explorador de funciones ===== */
.retail-explorer {
    display: grid;
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.4fr);
    gap: 1.2rem;
    align-items: start;
    margin-top: 1.4rem;
}

.retail-explorer-list {
    display: grid;
    gap: 0.5rem;
}

.retail-explorer-tab {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.8rem;
    overflow: hidden;
    border: 1px solid var(--ag-line);
    border-radius: 18px;
    color: var(--ag-ink);
    background: #ffffff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, translate 0.35s var(--ag-ease), background-color 0.25s ease;
}

.retail-explorer-tab:hover {
    border-color: rgba(193, 18, 31, 0.3);
}

.retail-explorer-tab[aria-selected="true"] {
    border-color: rgba(193, 18, 31, 0.45);
    background: #fffafa;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
    translate: 6px 0;
}

.retail-explorer-tab:focus-visible {
    outline: 2px solid var(--ag-red);
    outline-offset: 2px;
}

/* Barra de progreso del recorrido automático */
.retail-explorer-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #e11d2e, #8f0010);
    transform: scaleX(var(--p, 0));
    transform-origin: left;
}

.retail-explorer-thumb {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 6px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff1f2, #ffffff);
}

.retail-explorer-thumb {
    overflow: hidden;
}

/* Las ilustraciones tienen mucho margen: se amplía la zona central para que se reconozcan */
.retail-explorer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.6);
}

.retail-explorer-tab small {
    display: block;
    overflow: hidden;
    color: var(--ag-red);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.retail-explorer-tab strong {
    font-size: 0.98rem;
}

.retail-explorer-panels {
    position: sticky;
    top: 100px;
}

.retail-explorer-panel {
    padding: clamp(1.2rem, 2.5vw, 2rem);
    border: 1px solid var(--ag-line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 8%, rgba(193, 18, 31, 0.06), transparent 32%),
        #ffffff;
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.1);
}

.retail-explorer-panel[hidden] {
    display: none;
}

.retail-explorer-panel.is-active > * {
    animation: agora-text-in 0.55s var(--ag-ease) both;
}

.retail-explorer-panel.is-active > :nth-child(2) { animation-delay: 0.05s; }
.retail-explorer-panel.is-active > :nth-child(3) { animation-delay: 0.1s; }
.retail-explorer-panel.is-active > :nth-child(4) { animation-delay: 0.15s; }
.retail-explorer-panel.is-active > :nth-child(5) { animation-delay: 0.2s; }

.retail-explorer-media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 8;
    margin-bottom: 1.4rem;
    padding: 1rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 55%, #f3f4f6 100%);
}

.retail-explorer-media img {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: contain;
}

.retail-explorer-panel .solution-kicker {
    display: inline-flex;
    margin-bottom: 0.7rem;
    padding: 0.38rem 0.68rem;
    border: 1px solid rgba(193, 18, 31, 0.14);
    border-radius: 999px;
    color: #9d0000;
    background: rgba(193, 18, 31, 0.05);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.retail-explorer-panel h3 {
    margin-bottom: 0.7rem;
    color: var(--ag-ink);
    font-size: clamp(1.4rem, 2.4vw, 1.95rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.retail-explorer-panel > p:not(.solution-kicker) {
    margin-bottom: 1.1rem;
    color: var(--ag-muted);
    line-height: 1.65;
}

.retail-explorer-panel .solution-benefits {
    margin-bottom: 0;
}

.page-agora .retail-solution-cta {
    margin-top: 1.6rem;
    padding: 1.4rem 1.6rem;
    background:
        radial-gradient(circle at 90% 50%, rgba(225, 29, 46, 0.35), transparent 50%),
        #111827;
}

/* ===== TIPOS DE ESTABLECIMIENTO ===== */
.page-agora .rest-types-section {
    position: relative;
    width: auto;
    margin: 0;
    padding: 4.5rem 1.5rem 5rem;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.14), transparent 40%),
        radial-gradient(circle at 90% 100%, rgba(0, 0, 0, 0.25), transparent 45%),
        linear-gradient(135deg, #c1121f, #6f000c);
}

.rest-types-head {
    text-align: center;
}

.rest-types-kicker {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rest-types-head h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    letter-spacing: -0.02em;
}

.page-agora .rest-types-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 2.2rem auto 0;
    padding: 0;
    list-style: none;
}

.page-agora .rest-type {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    padding: 1.5rem 0.8rem 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.98rem;
    font-weight: 700;
    text-align: center;
    cursor: default;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease, translate 0.35s var(--ag-ease);
}

.page-agora .rest-type:hover,
.page-agora .rest-type:focus-visible,
.page-agora .rest-type.is-playing {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 18px 40px rgba(60, 0, 8, 0.35);
    translate: 0 -6px;
    outline: none;
}

.page-agora .rest-type-icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.1);
}

.rest-type-icon svg {
    width: 54px;
    height: 54px;
    overflow: visible;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Piezas animadas de cada icono (origen en coordenadas del dibujo de 64×64) */
.rest-type-icon svg g,
.rest-type-icon svg circle,
.rest-type-icon svg ellipse {
    transform-box: view-box;
}

.ic-bell { transform-origin: 32px 44px; }
.ic-ding, .ic-spark, .ic-rays, .ic-dust { opacity: 0; }
.ic-fork { transform-origin: 24px 56px; }
.ic-knife { transform-origin: 45px 56px; }
.ic-disco { transform-origin: 32px 34px; }
.ic-bun { transform-origin: 32px 30px; }
.ic-tap { transform-origin: 38px 32px; }
.ic-ripple { transform-origin: 38px 32px; opacity: 0; }
.ic-shirt { transform-origin: 32px 14px; }
.ic-bag { transform-origin: 32px 11px; }
.ic-shoe { transform-origin: 57px 49px; }
.ic-ball { transform-origin: 32px 40px; }
.ic-shadow { transform-origin: 32px 57px; }
.ic-tag { transform-origin: 46px 16px; }

/* Las animaciones se disparan al pasar el cursor, al enfocar o al tocar (clase is-playing) */
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-bell { animation: ic-ring 0.9s ease-in-out; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-ding { animation: ic-flash 0.9s ease-out; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-fork { animation: ic-clink-fork 1s ease-in-out; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-knife { animation: ic-clink-knife 1s ease-in-out; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-spark { animation: ic-spark 1s ease-out; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-disco { animation: ic-spin 0.9s linear 2; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-rays { animation: ic-twinkle 1.8s steps(2) ; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-bun { animation: ic-jump 0.9s cubic-bezier(0.3, 0, 0.3, 1); }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-tap { animation: ic-press 0.9s ease-in-out; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-ripple { animation: ic-ripple 0.9s ease-out 0.15s; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-shirt { animation: ic-swing 1.2s ease-in-out; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-bag { animation: ic-swing 1.2s ease-in-out; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-shoe { animation: ic-step 0.9s ease-in-out; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-dust { animation: ic-dust 0.9s ease-out; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-ball { animation: ic-bounce 0.55s cubic-bezier(0.5, 0, 0.5, 1) 2 alternate; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-shadow { animation: ic-shadow 0.55s cubic-bezier(0.5, 0, 0.5, 1) 2 alternate; }
:is(.rest-type:hover, .rest-type:focus-visible, .rest-type.is-playing) .ic-tag { animation: ic-swing-tag 1.2s ease-in-out; }

/* ===== CTA FINAL ===== */
.agora-cta {
    position: relative;
    overflow: hidden;
    padding: 6rem 1.5rem;
    color: #ffffff;
    text-align: center;
    background:
        radial-gradient(circle 520px at 85% 15%, rgba(193, 18, 31, 0.45), transparent 70%),
        radial-gradient(circle 480px at 10% 100%, rgba(79, 70, 229, 0.3), transparent 70%),
        #0b1020;
}

.agora-cta-inner {
    max-width: 760px;
    margin: 0 auto;
}

.agora-cta-kicker {
    margin-bottom: 0.7rem;
    color: #ff6b6b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.agora-cta h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.agora-cta-inner > p:not(.agora-cta-kicker) {
    max-width: 580px;
    margin: 0 auto 2rem;
    color: #b5bfd3;
    font-size: 1.05rem;
    line-height: 1.7;
}

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

/* ===== ANIMACIONES ===== */
@keyframes agora-text-in {
    from { opacity: 0; transform: translateY(18px); }
}

@keyframes agora-view-in {
    from { opacity: 0; transform: translateY(24px); }
}

@keyframes agora-img-in {
    from { opacity: 0; transform: scale(0.94) translateY(12px); }
}

@keyframes agora-wipe {
    from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 115% 100%); transform: scale(1.08); }
    to { clip-path: polygon(-15% 0, 100% 0, 100% 100%, 0 100%); transform: scale(1); }
}

@keyframes agora-wipe-back {
    from { clip-path: polygon(-15% 0, 0 0, 0 100%, 0 100%); transform: scale(1.08); }
    to { clip-path: polygon(-15% 0, 115% 0, 100% 100%, -15% 100%); transform: scale(1); }
}

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

@keyframes ic-ring {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(-14deg); }
    30% { transform: rotate(12deg); }
    45% { transform: rotate(-9deg); }
    60% { transform: rotate(6deg); }
    75% { transform: rotate(-3deg); }
}

@keyframes ic-flash {
    0%, 100% { opacity: 0; }
    20%, 60% { opacity: 1; }
}

@keyframes ic-clink-fork {
    0%, 100% { transform: rotate(0); }
    30% { transform: rotate(16deg); }
    42% { transform: rotate(6deg); }
    58% { transform: rotate(16deg); }
    75% { transform: rotate(0); }
}

@keyframes ic-clink-knife {
    0%, 100% { transform: rotate(0); }
    30% { transform: rotate(-14deg); }
    42% { transform: rotate(-5deg); }
    58% { transform: rotate(-14deg); }
    75% { transform: rotate(0); }
}

@keyframes ic-spark {
    0%, 25%, 40%, 55%, 70%, 100% { opacity: 0; }
    30%, 58% { opacity: 1; }
}

@keyframes ic-spin {
    0% { transform: scaleX(1); }
    50% { transform: scaleX(0.15); }
    100% { transform: scaleX(1); }
}

@keyframes ic-twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes ic-jump {
    0%, 100% { transform: translateY(0); }
    35% { transform: translateY(-11px) rotate(-6deg); }
    60% { transform: translateY(0); }
    75% { transform: translateY(-3px); }
}

@keyframes ic-press {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.8); }
    40% { transform: scale(0.8); }
}

@keyframes ic-ripple {
    from { opacity: 0.9; transform: scale(0.3); }
    to { opacity: 0; transform: scale(1.5); }
}

@keyframes ic-swing {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(14deg); }
    45% { transform: rotate(-10deg); }
    65% { transform: rotate(6deg); }
    85% { transform: rotate(-2deg); }
}

@keyframes ic-swing-tag {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(-18deg); }
    45% { transform: rotate(12deg); }
    65% { transform: rotate(-6deg); }
    85% { transform: rotate(2deg); }
}

@keyframes ic-step {
    0%, 100% { transform: rotate(0); }
    30% { transform: rotate(-14deg); }
    55% { transform: rotate(0); }
    65% { transform: rotate(-4deg); }
    75% { transform: rotate(0); }
}

@keyframes ic-dust {
    0%, 50%, 100% { opacity: 0; }
    60% { opacity: 1; }
}

@keyframes ic-bounce {
    0% { transform: translateY(0) scale(1, 1); }
    80% { transform: translateY(15px) scale(1.04, 0.96); }
    100% { transform: translateY(16px) scale(1.12, 0.86); }
}

@keyframes ic-shadow {
    0% { transform: scale(0.6); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .retail-spotlight,
    .retail-explorer {
        grid-template-columns: minmax(0, 1fr);
    }

    .retail-explorer-list {
        grid-auto-flow: column;
        grid-auto-columns: minmax(220px, 72%);
        margin: 0 -1.5rem;
        padding: 0 1.5rem 0.4rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .retail-explorer-list::-webkit-scrollbar {
        display: none;
    }

    .retail-explorer-tab {
        scroll-snap-align: start;
    }

    .retail-explorer-tab[aria-selected="true"] {
        translate: none;
    }

    .retail-explorer-panels {
        position: static;
    }

    .page-agora .rest-types-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .page-agora .agora-hero {
        align-items: flex-end;
        min-height: 640px;
        max-height: none;
    }

    .agora-hero::before {
        background: linear-gradient(0deg, rgba(5, 7, 14, 0.9) 0%, rgba(5, 7, 14, 0.4) 60%, rgba(5, 7, 14, 0.5) 100%);
    }

    .agora-hero-content {
        margin: 0 1.25rem 7rem;
    }

    .page-agora .rest-manage-section {
        padding: 3rem 1.1rem 4rem;
    }

    .retail-explorer-list {
        margin: 0 -1.1rem;
        padding: 0 1.1rem 0.4rem;
    }

    .page-agora .rest-types-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .page-agora .rest-type:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .page-agora .rest-type-icon {
        width: 72px;
        height: 72px;
    }
}

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

    .page-agora .ag-reveal {
        opacity: 1;
        translate: none;
    }
}
