/* /productos/ — extiende servicios.css con el mismo lenguaje visual (cian sobre azul noche). Mobile-first. */

.pr-page { overflow-x: hidden; }
.pr-page main, .pr-page header, .pr-page .footer { position: relative; z-index: 5; }
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.particle { position: absolute; width: 4px; height: 4px; background: linear-gradient(45deg, #00f5ff, #0099ff); border-radius: 50%; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(-20px); opacity: 1; } }

/* Header */
.pr-page header { padding: 14px 0; position: sticky; top: 0; }
.pr-page .header-content { flex-wrap: nowrap; gap: 12px; }
.pr-page .logo img { max-width: 60vw; }
.pr-page .logo img { height: 42px; }
.pr-nav { display: none; gap: 22px; align-items: center; }
.pr-nav a { color: #fff; text-decoration: none; font-weight: 500; transition: color .3s; }
.pr-nav a:hover { color: #00f5ff; }
.pr-nav .pr-back { color: #00f5ff; border: 1px solid rgba(0, 245, 255, .4); padding: 6px 14px; border-radius: 20px; }
.pr-lang { display: flex; gap: 6px; }
.pr-lang-btn { background: rgba(255, 255, 255, .06); border: 1px solid rgba(0, 245, 255, .25); border-radius: 8px; padding: 5px 8px; cursor: pointer; opacity: .6; transition: all .3s; }
.pr-lang-btn img { width: 22px; height: auto; display: block; }
.pr-lang-btn:hover, .pr-lang-btn.active { opacity: 1; border-color: #00f5ff; box-shadow: 0 0 12px rgba(0, 245, 255, .3); }

/* Hero */
.pr-hero { padding: 40px 0 30px; background: radial-gradient(circle at 70% 30%, rgba(0, 245, 255, .12) 0%, transparent 60%); }
.pr-hero-grid { display: grid; gap: 30px; align-items: center; }
.pr-badge { display: inline-block; font-size: .85rem; color: #00f5ff; border: 1px solid rgba(0, 245, 255, .4); background: rgba(0, 245, 255, .08); padding: 6px 16px; border-radius: 30px; margin-bottom: 18px; }
.pr-hero h1 { font-size: 2.1rem; line-height: 1.15; font-weight: 800; margin-bottom: 16px; background: linear-gradient(45deg, #fff, #00f5ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pr-lead { font-size: 1.1rem; color: #e0e0e0; margin-bottom: 26px; max-width: 560px; }
.pr-cta-left { justify-content: flex-start; }
.pr-page .cta-primary, .pr-page .cta-secondary { padding: 14px 28px; font-size: 1rem; text-align: center; }

.pr-orbit { position: relative; width: min(300px, 78vw); aspect-ratio: 1; margin: 0 auto; }
.pr-orbit-ring { position: absolute; inset: 0; border: 1px solid rgba(0, 245, 255, .35); border-radius: 50%; animation: pr-spin 40s linear infinite; }
.pr-r2 { inset: 18%; border-style: dashed; animation-direction: reverse; animation-duration: 28s; }
.pr-orbit-core { position: absolute; inset: 36%; display: grid; place-items: center; font-size: 2.4rem; color: #000; background: linear-gradient(45deg, #00f5ff, #0099ff); border-radius: 50%; box-shadow: 0 0 40px rgba(0, 245, 255, .5); }
.pr-node { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px; display: grid; place-items: center; font-size: 1.4rem; background: #10182b; border: 1px solid #00f5ff; border-radius: 50%; box-shadow: 0 0 16px rgba(0, 245, 255, .35); transform: rotate(var(--a)) translateY(-142px) rotate(calc(-1 * var(--a))); animation: pr-bob 4s ease-in-out infinite; }
@keyframes pr-spin { to { transform: rotate(360deg); } }
@keyframes pr-bob { 50% { box-shadow: 0 0 26px rgba(0, 245, 255, .7); } }

.pr-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
.pr-stat { text-align: center; padding: 18px 8px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(0, 245, 255, .2); }
.pr-stat b { display: block; font-size: 2rem; color: #00f5ff; }
.pr-stat span { font-size: .85rem; color: #b0b0b0; }

/* Secciones */
.pr-page .content-section { padding: 50px 0; }
.pr-page .section-title { font-size: 1.9rem; margin-bottom: 14px; }
.pr-page .section-subtitle { font-size: 1.05rem; margin-bottom: 34px; }
.pr-note { color: #b0b0b0; font-size: .9rem; text-align: center; margin-top: 16px; }
.pr-warn { color: #ffb74d; }

/* Reveal */
.pr-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.pr-reveal.in { opacity: 1; transform: none; }

/* Tarjetas de producto */
.pr-products { display: grid; gap: 22px; }
.pr-card { position: relative; display: flex; flex-direction: column; background: rgba(255, 255, 255, .05); border: 1px solid rgba(0, 245, 255, .2); border-radius: 20px; padding: 26px 22px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.pr-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 245, 255, .15); border-color: rgba(0, 245, 255, .6); }
.pr-card.pr-reveal.in:hover { transform: translateY(-8px); }
.pr-featured { border-color: #00f5ff; background: linear-gradient(160deg, rgba(0, 245, 255, .1), rgba(255, 255, 255, .04)); }
.pr-ribbon { position: absolute; top: -12px; right: 18px; background: linear-gradient(45deg, #00f5ff, #0099ff); color: #000; font-weight: 700; font-size: .75rem; padding: 4px 12px; border-radius: 20px; }
.pr-card-icon { font-size: 2.4rem; margin-bottom: 8px; }
.pr-card h3 { color: #00f5ff; font-size: 1.35rem; }
.pr-tag { color: #e0e0e0; margin: 4px 0 14px; }
.pr-feats { list-style: none; margin-bottom: 18px; flex: 1; }
.pr-feats li { position: relative; padding: 5px 0 5px 24px; color: #d0d0d0; font-size: .95rem; }
.pr-feats li::before { content: '✓'; position: absolute; left: 0; color: #00f5ff; font-weight: 700; }
.pr-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(0, 245, 255, .15); margin-bottom: 14px; }
.pr-prices span { display: block; font-size: .72rem; color: #b0b0b0; text-transform: uppercase; letter-spacing: .04em; }
.pr-prices b { font-size: 1.25rem; color: #fff; }
.pr-prices small { font-size: .7em; font-weight: 400; color: #b0b0b0; }
.pr-card-cta { display: block; }

/* Demos */
.pr-demos { display: grid; gap: 16px; }
.pr-demo { display: flex; flex-direction: column; gap: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(0, 245, 255, .2); border-radius: 16px; padding: 18px; }
.pr-demo-name { font-weight: 700; color: #00f5ff; font-size: 1.05rem; }
.pr-cred { display: grid; gap: 8px; }
.pr-cred div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pr-cred span { font-size: .75rem; color: #b0b0b0; min-width: 78px; }
.pr-cred code { background: rgba(0, 0, 0, .4); border: 1px solid rgba(0, 245, 255, .25); border-radius: 8px; padding: 4px 10px; color: #e4f4ff; font-size: .85rem; word-break: break-all; }
.pr-copy { background: none; border: 1px solid rgba(0, 245, 255, .4); color: #00f5ff; border-radius: 8px; padding: 3px 10px; font-size: .75rem; cursor: pointer; font-family: inherit; }
.pr-copy:hover, .pr-copy.ok { background: rgba(0, 245, 255, .15); }
.pr-cred-none { color: #b0b0b0; font-size: .9rem; flex: 1; }
.pr-cred-none a { color: #ffb74d; text-decoration: none; }
.pr-cred-none a:hover { text-decoration: underline; }
.pr-demo-open { text-align: center; }

/* Calculadora */
.pr-calc { display: grid; gap: 22px; }
.pr-calc-form, .pr-calc-result { background: rgba(255, 255, 255, .05); border: 1px solid rgba(0, 245, 255, .2); border-radius: 20px; padding: 24px 20px; }
.pr-calc-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.pr-calc-form legend { color: #00f5ff; font-weight: 700; margin-bottom: 8px; }
.pr-opt { display: flex; align-items: center; gap: 10px; padding: 9px 0; cursor: pointer; color: #e0e0e0; }
.pr-opt input { width: 20px; height: 20px; accent-color: #00f5ff; flex-shrink: 0; }
.pr-opt-sm { font-size: .9rem; padding: 5px 0; }
.pr-hint { color: #00f5ff; margin-left: 30px; }
.pr-sub { margin: 6px 0 0 30px; display: grid; gap: 4px; }
.pr-sub[hidden], .pr-hint[hidden] { display: none; }
.pr-sub select { background: rgba(0, 0, 0, .4); color: #fff; border: 1px solid rgba(0, 245, 255, .35); border-radius: 10px; padding: 10px; font-family: inherit; font-size: .95rem; }
.pr-calc-result { align-self: start; border-color: #00f5ff; }
.pr-lines { list-style: none; margin-bottom: 14px; }
.pr-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.pr-lines em { font-style: normal; color: #b0b0b0; text-align: right; }
.pr-discount { color: #4ade80; font-size: .9rem; margin-bottom: 10px; }
.pr-total { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; }
.pr-total span { color: #e0e0e0; }
.pr-total b { font-size: 1.7rem; color: #00f5ff; }
.pr-total small { font-size: .55em; color: #b0b0b0; font-weight: 400; }
.pr-total-m b { color: #fff; }
.pr-empty { color: #b0b0b0; padding: 10px 0; }
.pr-calc-cta { display: block; margin-top: 16px; text-align: center; }
.pr-calc-cta.disabled { opacity: .4; pointer-events: none; }

/* Tabla */
.pr-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid rgba(0, 245, 255, .2); background: rgba(255, 255, 255, .04); }
.pr-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.pr-table th, .pr-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: .92rem; vertical-align: top; }
.pr-table thead th { color: #00f5ff; background: rgba(0, 245, 255, .07); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.pr-table tbody th { color: #fff; font-weight: 700; }
.pr-table td { color: #e0e0e0; }
.pr-table tbody tr:hover { background: rgba(0, 245, 255, .05); }

.pr-page .process-steps { grid-template-columns: 1fr; }
.pr-page .faq-question { padding: 18px; }
.pr-page .faq-question h4 { font-size: 1.02rem; padding-right: 12px; }
.pr-page .footer-cta { padding: 60px 0; }
.pr-page .footer-cta h2 { font-size: 1.9rem; }
.pr-page .cta-buttons { justify-content: center; }

/* Tablet / desktop */
@media (min-width: 700px) {
    .pr-products, .pr-demos { grid-template-columns: repeat(2, 1fr); }
    .pr-stats { grid-template-columns: repeat(4, 1fr); }
    .pr-hero h1 { font-size: 2.8rem; }
    .pr-page .process-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
    .pr-nav { display: flex; }
    .pr-page .logo img { height: 50px; }
    .pr-hero { padding: 70px 0 40px; }
    .pr-hero-grid { grid-template-columns: 1.15fr .85fr; }
    .pr-hero h1 { font-size: 3.4rem; }
    .pr-products { grid-template-columns: repeat(3, 1fr); }
    .pr-demos { grid-template-columns: repeat(3, 1fr); }
    .pr-calc { grid-template-columns: 1.1fr .9fr; }
    .pr-calc-result { position: sticky; top: 100px; }
    .pr-page .section-title { font-size: 2.5rem; }
    .pr-orbit { width: 380px; }
    .pr-node { transform: rotate(var(--a)) translateY(-186px) rotate(calc(-1 * var(--a))); }
}
@media (max-width: 380px) { .pr-node { width: 40px; height: 40px; margin: -20px; transform: rotate(var(--a)) translateY(-112px) rotate(calc(-1 * var(--a))); } }

@media (prefers-reduced-motion: reduce) {
    .pr-reveal { opacity: 1; transform: none; transition: none; }
    .pr-orbit-ring, .pr-node, .particle { animation: none; }
    html { scroll-behavior: auto; }
}

/* Botón de WhatsApp (CTA final) */
.pr-page .footer-whatsapp { display: flex; justify-content: center; }
.pr-page .whatsapp-btn { display: inline-flex; align-items: center; gap: 12px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; padding: 16px 34px; border-radius: 50px; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); transition: transform .3s, box-shadow .3s, background .3s; }
.pr-page .whatsapp-btn:hover { background: #1ebe5b; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(37, 211, 102, .5); }
.pr-page .whatsapp-btn:focus-visible, .pr-page .cta-secondary:focus-visible, .pr-page .cta-primary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Botón "Ver demo" como <button> */
.pr-page button.pr-card-cta { width: 100%; cursor: pointer; font-family: inherit; background: transparent; }

/* Ventana emergente de demo */
.pr-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(5, 8, 20, .82); backdrop-filter: blur(6px); }
.pr-modal[hidden] { display: none; }
.pr-modal-box { position: relative; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; background: linear-gradient(160deg, #16213e, #0f1426); border: 1px solid #00f5ff; border-radius: 20px; padding: 26px 20px 22px; box-shadow: 0 20px 60px rgba(0, 245, 255, .25); animation: pr-pop .25s ease-out; }
@keyframes pr-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.pr-modal-box h3 { color: #00f5ff; font-size: 1.4rem; padding-right: 36px; }
.pr-modal-sub { color: #b0b0b0; font-size: .92rem; margin: 6px 0 16px; }
.pr-modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0, 245, 255, .4); background: transparent; color: #00f5ff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pr-modal-close:hover { background: rgba(0, 245, 255, .15); }
.pr-modal-box .pr-demo { margin-bottom: 12px; }
.pr-modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .pr-modal-box { animation: none; } }
