/* Extraido de application/views/funcionalidad.php.
   Estaba en linea, asi que viajaba en cada visita sin poder cachearse. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: 'Montserrat', sans-serif; color: #1e293b; background: #f8fafc; -webkit-font-smoothing: antialiased; }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; height: auto; display: block; }

        /* --- Topbar --- */
        .ft-topbar {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            height: 56px; padding: 0 clamp(16px, 4vw, 40px);
            background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
            border-bottom: 1px solid #e2e8f0;
            display: flex; align-items: center; justify-content: space-between;
        }
        .ft-topbar-logo { height: 28px; }
        .ft-topbar-nav { display: flex; align-items: center; gap: 24px; }
        .ft-topbar-link {
            font-size: 0.8rem; font-weight: 600; color: #475569;
            transition: color 0.2s;
        }
        .ft-topbar-link:hover { color: #0071d8; }
        .ft-topbar-cta {
            font-size: 0.8rem; font-weight: 600; color: #fff;
            background: linear-gradient(108deg, #0071d8 24%, #00d0ff 106%);
            padding: 8px 20px; border-radius: 50px;
            transition: opacity 0.2s;
        }
        .ft-topbar-cta:hover { opacity: 0.9; }

        /* --- Funcionalidades Dropdown --- */
        .ft-dropdown { position: relative; }
        .ft-dropdown-trigger {
            font-size: 0.8rem; font-weight: 600; color: #475569;
            cursor: pointer; display: flex; align-items: center; gap: 4px;
            transition: color 0.2s; background: none; border: none; font-family: inherit;
        }
        .ft-dropdown-trigger:hover { color: #0071d8; }
        .ft-dropdown-trigger .ft-chevron {
            font-size: 14px; transition: transform 0.25s;
        }
        .ft-dropdown.active .ft-chevron { transform: rotate(180deg); }
        .ft-mega {
            position: fixed; top: 56px; left: 0; width: 100vw;
            background: #fff; border-top: 2px solid #0071d8;
            box-shadow: 0 12px 40px rgba(0,0,0,0.12);
            padding: 20px 40px 24px;
            opacity: 0; visibility: hidden; transform: translateY(-8px);
            transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
            z-index: 998;
        }
        .ft-dropdown.active .ft-mega {
            opacity: 1; visibility: visible; transform: translateY(0);
        }
        .ft-mega-grid {
            max-width: 900px; margin: 0 auto;
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
        }
        .ft-mega-item {
            display: flex; align-items: center; gap: 10px;
            padding: 10px 14px; border-radius: 8px;
            transition: background 0.2s; text-decoration: none;
        }
        .ft-mega-item:hover { background: #f0f7ff; }
        .ft-mega-item.ft-mega-current {
            background: #f0f7ff; pointer-events: none;
        }
        .ft-mega-item i {
            font-size: 18px; color: #0071d8; width: 22px;
            text-align: center; flex-shrink: 0;
        }
        .ft-mega-item span {
            font-size: 13px; font-weight: 600; color: #334155;
            line-height: 1.3; white-space: nowrap;
        }
        .ft-mega-item:hover span { color: #0071d8; }
        .ft-mega-item.ft-mega-current span { color: #0071d8; }
        .ft-mega-separator {
            max-width: 900px; margin: 8px auto 0;
            border-top: 1px solid #e8edf3; padding-top: 8px;
            display: flex; align-items: center; justify-content: flex-end; gap: 10px;
        }
        .ft-mega-separator .ft-mega-item { opacity: 0.75; }
        .ft-mega-separator .ft-mega-item:hover { opacity: 1; }
        /* --- Hero --- */
        .ft-hero {
            padding: 100px clamp(20px, 5vw, 60px) 48px;
            background: linear-gradient(160deg, #0a1628 0%, #0d2847 40%, #0071d8 100%);
            position: relative; overflow: hidden;
        }
        .ft-hero::before {
            content: ''; position: absolute; top: 10%; right: -5%;
            width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(0,208,255,0.12) 0%, transparent 70%);
            border-radius: 50%;
        }
        .ft-hero-inner {
            max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
            display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
        }
        .ft-hero-breadcrumb {
            display: flex; align-items: center; gap: 6px;
            font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 20px;
        }
        .ft-hero-breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
        .ft-hero-breadcrumb a:hover { color: #fff; }
        .ft-hero-eyebrow {
            display: inline-block; margin-bottom: 10px;
            font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
            text-transform: uppercase; color: #00d0ff;
        }
        .ft-hero h1 {
            font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
            color: #fff; line-height: 1.2; margin-bottom: 16px;
        }
        .ft-hero-intro {
            font-size: 0.95rem; line-height: 1.8; color: rgba(255,255,255,0.75);
            margin-bottom: 20px;
        }
        /* Aviso de transparencia: PrestamosCloud vende software, no otorga
           prestamos. Requerido por la politica de "Afirmaciones no fiables"
           de Google Ads. */
        .ft-hero-disclaimer {
            display: flex; align-items: flex-start; gap: 8px;
            margin-bottom: 26px; padding: 10px 14px;
            border: 1px solid rgba(255,255,255,0.18);
            border-radius: 10px;
            background: rgba(255,255,255,0.07);
            font-size: 0.78rem; line-height: 1.6; color: rgba(255,255,255,0.85);
            text-align: left;
        }
        .ft-hero-disclaimer i {
            flex: 0 0 auto; margin-top: 2px; font-size: 0.95rem; color: #00d0ff;
        }
        .ft-hero-disclaimer b { color: #fff; font-weight: 700; }
        .ft-hero-cta {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: 0.9rem; font-weight: 700; color: #fff;
            background: linear-gradient(108deg, #00d0ff 0%, #0071d8 100%);
            padding: 14px 32px; border-radius: 50px;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .ft-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,113,216,0.35); }
        .ft-hero-cta i { font-size: 1.1rem; }
        .ft-hero-img {
            border-radius: 12px; overflow: hidden;
            box-shadow: 0 24px 64px rgba(0,0,0,0.35), 0 0 80px rgba(0,113,216,0.15);
            border: 1.5px solid rgba(255,255,255,0.12);
            position: relative;
            background: #1e293b;
        }
        .ft-hero-img::before {
            content: '';
            display: block; height: 28px;
            background: #1e293b;
            position: relative;
        }
        .ft-hero-img::after {
            content: '';
            position: absolute; top: 10px; left: 14px;
            width: 8px; height: 8px; border-radius: 50%;
            background: #ef4444;
            box-shadow: 14px 0 0 #eab308, 28px 0 0 #22c55e;
            z-index: 3;
        }
        .ft-hero-img img { width: 100%; display: block; }

        /* --- Features --- */
        .ft-features {
            max-width: 1100px; margin: 0 auto;
            padding: 64px clamp(20px, 5vw, 40px);
        }
        .ft-features-label {
            font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
            text-transform: uppercase; color: #0071d8; margin-bottom: 8px;
        }
        .ft-features h2 {
            font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800;
            color: #0f172a; margin-bottom: 36px;
        }
        .ft-features-grid {
            display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
        }
        .ft-feature-item {
            display: flex; align-items: flex-start; gap: 12px;
            padding: 16px; border-radius: 10px;
            border: 1px solid #e8edf3; background: #fff;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .ft-feature-item:hover {
            border-color: #0071d8; box-shadow: 0 4px 16px rgba(0,113,216,0.08);
        }
        .ft-feature-check {
            flex-shrink: 0; width: 24px; height: 24px;
            background: linear-gradient(135deg, #0071d8, #00d0ff);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            margin-top: 1px;
        }
        .ft-feature-check i { color: #fff; font-size: 14px; }
        .ft-feature-item span {
            font-size: 0.9rem; line-height: 1.6; color: #475569;
        }

        /* --- Android + precios (solo equipos-financiados) --- */
        .ft-android {
            max-width: 1100px; margin: 0 auto;
            padding: 8px clamp(20px, 5vw, 40px) 56px;
        }
        .ft-android-inner {
            display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center;
            background: linear-gradient(135deg, #fff 0%, #f2fbf6 100%);
            border: 1px solid #cfeeda; border-radius: 16px;
            padding: 40px clamp(24px, 4vw, 48px);
            box-shadow: 0 8px 32px rgba(15,157,88,0.07);
        }
        .ft-android-logos { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
        .ft-android-logo-card {
            width: 100%; background: #fff; border: 1px solid #eceff3; border-radius: 12px;
            padding: 26px; box-shadow: 0 4px 16px rgba(0,0,0,0.05);
            display: flex; flex-direction: column; align-items: center; gap: 12px;
        }
        .ft-android-logo-card img { height: 54px; width: auto; }
        .ft-android-logo-card span { font-size: 0.82rem; font-weight: 800; color: #0f9d58; letter-spacing: 0.02em; }
        .ft-android-badge {
            display: inline-flex; align-items: center; gap: 7px;
            font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
            color: #0f9d58; background: rgba(15,157,88,0.09);
            padding: 6px 14px; border-radius: 50px;
        }
        .ft-android-badge i { font-size: 0.95rem; }
        .ft-android-text h2 {
            font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800;
            color: #0f172a; margin: 12px 0 16px; line-height: 1.25;
        }
        .ft-android-text > p { font-size: 0.95rem; line-height: 1.8; color: #475569; margin-bottom: 18px; }
        .ft-android-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
        .ft-android-list li {
            display: flex; align-items: flex-start; gap: 10px;
            font-size: 0.9rem; line-height: 1.6; color: #334155;
        }
        .ft-android-list li i { flex-shrink: 0; color: #0f9d58; font-size: 1.15rem; margin-top: 1px; }
        .ft-android-list li.is-no i { color: #dc2626; }
        .ft-android-tm { margin-top: 20px; font-size: 0.72rem; color: #94a3b8; line-height: 1.5; }

        /* --- Precios del módulo --- */
        .ft-precios {
            max-width: 1100px; margin: 0 auto;
            padding: 0 clamp(20px, 5vw, 40px) 56px;
        }
        .ft-precios-label {
            font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
            text-transform: uppercase; color: #0071d8; margin-bottom: 8px;
        }
        .ft-precios h2 {
            font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #0f172a;
            margin-bottom: 8px; line-height: 1.25;
        }
        .ft-precios-sub { font-size: 0.95rem; color: #64748b; margin-bottom: 28px; line-height: 1.7; }
        .ft-precios-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
        }
        .ft-precio-card {
            position: relative; background: #fff; border: 1px solid #e6ebf2; border-radius: 16px;
            padding: 26px 24px; box-shadow: 0 4px 18px rgba(15,23,42,0.05);
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }
        .ft-precio-card:hover {
            transform: translateY(-3px); border-color: #0071d8;
            box-shadow: 0 12px 28px rgba(0,113,216,0.12);
        }
        .ft-precio-card.is-featured { border-color: #0071d8; box-shadow: 0 12px 30px rgba(0,113,216,0.14); }
        .ft-precio-ribbon {
            position: absolute; top: -11px; left: 24px;
            background: linear-gradient(108deg, #0071d8 0%, #00d0ff 100%); color: #fff;
            font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
            padding: 5px 12px; border-radius: 50px;
        }
        .ft-precio-qty { font-size: 2.3rem; font-weight: 800; color: #0f172a; line-height: 1; }
        .ft-precio-unit {
            font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
            color: #94a3b8; margin-top: 6px;
        }
        .ft-precio-sep { height: 1px; background: #eef2f7; margin: 18px 0 14px; }
        .ft-precio-amount { display: flex; align-items: baseline; gap: 6px; }
        .ft-precio-amount b { font-size: 1.6rem; font-weight: 800; color: #0071d8; letter-spacing: -0.02em; }
        .ft-precio-amount span { font-size: 0.72rem; font-weight: 700; color: #94a3b8; }
        .ft-precio-each { font-size: 0.8rem; color: #64748b; margin-top: 6px; }
        .ft-precios-notes {
            margin-top: 22px; background: #f8fafc; border: 1px solid #e6ebf2; border-radius: 14px;
            padding: 20px 22px; display: flex; flex-direction: column; gap: 11px;
        }
        .ft-precios-notes li {
            list-style: none; display: flex; align-items: flex-start; gap: 10px;
            font-size: 0.88rem; line-height: 1.6; color: #475569;
        }
        .ft-precios-notes li i { flex-shrink: 0; color: #0071d8; font-size: 1.05rem; margin-top: 2px; }
        .ft-precios-notes li span { flex: 1; min-width: 0; }
        .ft-precios-notes li strong { color: #0f172a; font-weight: 700; }
        @media (max-width: 820px) {
            .ft-android-inner { grid-template-columns: 1fr; gap: 28px; }
            .ft-android-logos { align-items: stretch; }
        }

        /* --- Example Screenshot --- */
        .ft-example {
            max-width: 1100px; margin: 0 auto;
            padding: 0 clamp(20px, 5vw, 40px) 56px;
        }
        .ft-example-label {
            font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
            text-transform: uppercase; color: #0071d8; margin-bottom: 8px;
        }
        .ft-example h2 {
            font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800;
            color: #0f172a; margin-bottom: 24px;
        }
        .ft-example-img {
            border-radius: 12px; overflow: hidden;
            border: 1.5px solid #e2e8f0;
            box-shadow: 0 8px 32px rgba(0,0,0,0.08);
            background: #1e293b;
            position: relative;
        }
        .ft-example-img::before {
            content: '';
            display: block; height: 28px;
            background: #1e293b;
        }
        .ft-example-img::after {
            content: '';
            position: absolute; top: 10px; left: 14px;
            width: 8px; height: 8px; border-radius: 50%;
            background: #ef4444;
            box-shadow: 14px 0 0 #eab308, 28px 0 0 #22c55e;
        }
        .ft-example-img img { width: 100%; display: block; }

        /* --- Description --- */
        .ft-description {
            background: #fff; border-top: 1px solid #e8edf3; border-bottom: 1px solid #e8edf3;
        }
        .ft-description-inner {
            max-width: 780px; margin: 0 auto;
            padding: 56px clamp(20px, 5vw, 40px);
        }
        .ft-description-label {
            font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
            text-transform: uppercase; color: #0071d8; margin-bottom: 8px;
        }
        .ft-description h2 {
            font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800;
            color: #0f172a; margin-bottom: 24px;
        }
        .ft-description p {
            font-size: 0.95rem; line-height: 1.9; color: #475569;
            margin-bottom: 20px;
        }

        /* --- FAQ --- */
        .ft-faq {
            max-width: 900px; margin: 0 auto;
            padding: 56px clamp(20px, 5vw, 40px);
        }
        .ft-faq-label {
            font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
            text-transform: uppercase; color: #0071d8; margin-bottom: 8px;
        }
        .ft-faq h2 {
            font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800;
            color: #0f172a; margin-bottom: 24px;
        }
        .ft-faq-item {
            background: #fff; border: 1px solid #e6ebf2; border-radius: 12px;
            margin-bottom: 12px; overflow: hidden;
        }
        .ft-faq-item summary {
            list-style: none; cursor: pointer; padding: 18px 22px;
            font-size: 0.92rem; font-weight: 700; color: #0f172a;
            display: flex; align-items: center; justify-content: space-between; gap: 14px;
        }
        .ft-faq-item summary::-webkit-details-marker { display: none; }
        .ft-faq-item summary::after {
            content: '+'; flex-shrink: 0; font-size: 1.3rem; font-weight: 400; color: #0071d8;
            transition: transform 0.2s ease;
        }
        .ft-faq-item[open] summary::after { transform: rotate(45deg); }
        .ft-faq-item-body {
            padding: 0 22px 20px; font-size: 0.88rem; line-height: 1.75; color: #475569;
        }

        /* --- CTA Banner --- */
        .ft-cta-banner {
            background: linear-gradient(135deg, #0071d8 0%, #00b4ff 100%);
            padding: 48px clamp(20px, 5vw, 40px);
            text-align: center;
        }
        .ft-cta-banner h3 {
            font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 800;
            color: #fff; margin-bottom: 8px;
        }
        .ft-cta-banner p {
            font-size: 0.95rem; color: rgba(255,255,255,0.8); margin-bottom: 24px;
        }
        .ft-cta-btn {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: 0.95rem; font-weight: 700; color: #0071d8;
            background: #fff; padding: 14px 36px; border-radius: 50px;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .ft-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

        /* --- Other modules --- */
        .ft-others {
            max-width: 1100px; margin: 0 auto;
            padding: 56px clamp(20px, 5vw, 40px) 72px;
        }
        .ft-others-label {
            font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
            text-transform: uppercase; color: #0071d8; margin-bottom: 8px;
            text-align: center;
        }
        .ft-others h2 {
            font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 800;
            color: #0f172a; margin-bottom: 32px; text-align: center;
        }
        .ft-others-grid {
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
        }
        .ft-other-card {
            display: flex; flex-direction: column; align-items: center;
            gap: 8px; padding: 16px 10px; border-radius: 10px;
            border: 1px solid #e8edf3; background: #fff;
            transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
        }
        .ft-other-card:hover {
            border-color: #0071d8; transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0,113,216,0.1);
        }
        .ft-other-card.current {
            border-color: #0071d8; background: #f0f7ff;
            pointer-events: none;
        }
        .ft-other-card img {
            width: 100%; max-width: 110px; height: 64px;
            object-fit: cover; border-radius: 6px;
            border: 1px solid #e8edf3;
        }
        .ft-other-card span {
            font-size: 0.72rem; font-weight: 600; color: #334155;
            text-align: center; line-height: 1.3;
        }
        .ft-other-card:hover span { color: #0071d8; }
        .ft-other-card.current span { color: #0071d8; }

        /* --- Footer --- */
        .ft-footer {
            background: linear-gradient(31deg, #0071d8 49%, #00d0ff 100%);
            padding: 32px 24px; text-align: center;
        }
        .ft-footer p { color: rgba(255,255,255,0.85); font-size: 0.8rem; }
        .ft-footer a { color: #fff; font-weight: 600; }
        .ft-footer-inner { max-width: 900px; margin: 0 auto; }
        .ft-footer-legal { font-size: 0.78rem; line-height: 1.7; }
        .ft-footer-legal b { color: #fff; }
        .ft-footer-contact {
            display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
            gap: 8px 18px; margin: 16px 0 14px;
            font-size: 0.78rem;
        }
        .ft-footer-contact a,
        .ft-footer-contact span {
            display: inline-flex; align-items: center; gap: 6px;
            color: #fff; font-weight: 600;
        }
        .ft-footer-contact i { font-size: 0.95rem; }
        .ft-footer-links { font-size: 0.78rem; }
        .ft-footer-note {
            max-width: 720px; margin: 14px auto 0;
            padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.22);
            font-size: 0.73rem; line-height: 1.7; color: rgba(255,255,255,0.8);
        }

        /* --- Responsive --- */
        @media (max-width: 820px) {
            .ft-hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
            .ft-hero-cta { margin: 0 auto; }
            .ft-hero-breadcrumb { justify-content: center; }
            .ft-features-grid { grid-template-columns: 1fr; }
            .ft-others-grid { grid-template-columns: repeat(3, 1fr); }
            .ft-topbar-nav .ft-topbar-link { display: none; }
            .ft-mega {
                position: fixed; top: 56px; left: 0; right: 0;
                padding: 12px 16px; max-height: 70vh; overflow-y: auto;
            }
            .ft-mega-grid { grid-template-columns: 1fr; gap: 2px; }
            .ft-mega-item span { font-size: 14px; }
            .ft-mega-separator { margin: 4px 0 0; padding-top: 4px; }
        }
        @media (max-width: 480px) {
            .ft-others-grid { grid-template-columns: repeat(2, 1fr); }
            .ft-hero { padding-top: 80px; }
        }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
        }
