/* =========================================================
   VARIABLES
========================================================= */

:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-dark: #111827;

    --text: #172033;
    --text-soft: #5d6879;
    --text-muted: #8a94a6;

    --primary: #155eef;
    --primary-dark: #0f4acb;
    --primary-soft: #eaf1ff;

    --success: #16834b;
    --success-soft: #eaf8f0;

    --warning: #b86b00;
    --warning-soft: #fff6e5;

    --danger: #c73535;
    --danger-soft: #fff0f0;

    --border: #e5e9f0;
    --border-dark: #d6dce7;

    --display: "Poppins", sans-serif;
    --body: "Inter", sans-serif;

    --container: 1280px;
    --article-width: 860px;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 26px;

    --shadow-sm: 0 4px 16px rgba(20, 35, 60, .05);
    --shadow: 0 12px 35px rgba(20, 35, 60, .08);
    --shadow-lg: 0 22px 60px rgba(20, 35, 60, .12);

    --transition: 180ms ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.75;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

p {
    margin: 0 0 1.2rem;
}

ul {
    margin: 0;
    padding: 0;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    letter-spacing: -.055em;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    letter-spacing: -.035em;
}

h3 {
    font-size: 1.35rem;
}

h4 {
    font-size: 1rem;
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: var(--primary);
}

.subheading {
    margin-top: 2rem;
    margin-bottom: .85rem;
    font-size: 1.05rem;
}

.section-intro {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 1.05rem;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;
    background: var(--surface-dark);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
}

.skip-link:focus {
    top: 20px;
}



/* =========================================================
   TOPBAR / NAVEGACIÓN
========================================================= */

.topbar {
    height: 58px;
    background: #4273c2;
    display: flex;
    align-items: center;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar a,
.dropbtn {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-size: .94rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.topbar a:hover,
.dropbtn:hover,
.dropbtn[aria-expanded="true"] {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

/* =========================================================
   DROPDOWN
========================================================= */

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    left: 0;
    top: calc(100% + 5px);
    min-width: 235px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 7px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: .18s ease;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dropdown-content a {
    display: block;
    color: var(--ink);
    padding: 9px 10px;
}

.dropdown-content a:hover {
    background: var(--blue-soft);
    color: var(--blue-dark);
}

/* =========================================================
   BOTÓN CTA DEL MENÚ
========================================================= */

.topbar .nav-cta {
    background: #fff;
    color: #4273c2;
    margin-left: 4px;
}

.topbar .nav-cta:hover {
    background: rgba(255, 255, 255, .88);
    color: #4273c2;
}

/* =========================================================
   MENÚ MÓVIL
========================================================= */

.menu-toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: 0;
    color: #fff;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}


/* =========================================================
   READING PROGRESS
========================================================= */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 0;
    height: 4px;
    background: var(--primary);
    transition: width .1s linear;
}

/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    margin-left: auto;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: white;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}


/* =========================================================
   BREADCRUMBS
========================================================= */

.breadcrumbs {
    padding: 18px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.breadcrumbs .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    color: var(--text-muted);
    font-size: .85rem;
}

.breadcrumbs a:hover {
    color: var(--primary);
}


/* =========================================================
   HERO
========================================================= */

.article-hero {
    padding: 90px 0 110px;
    background: #204F80;
    color: #fff;
}

.article-hero .hero-copy {
    color: #fff;
}

.article-hero h1 {
    color: #fff;
}

.article-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
}

.article-hero .hero-meta {
    color: rgba(255, 255, 255, 0.72);
}

.article-hero .eyebrow {
    color: #fff;
}

.article-hero .eyebrow-dot {
    background: #fff;
}

.article-hero .float-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.article-hero .image-placeholder {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
}

.article-hero .float-card strong {
    color: #fff;
}

.article-hero .float-card span {
    color: rgba(255, 255, 255, 0.75);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 20px;

    color: var(--primary);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.hero-copy h1 {
    max-width: 1000px;
}

.hero-subtitle {
    max-width: 720px;
    margin-top: 25px;

    color: var(--text-soft);
    font-size: 1.15rem;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 25px;

    color: var(--text-muted);
    font-size: .88rem;
}

.hero-visual {
    position: relative;
    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    min-height: 380px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed var(--border-dark);
    border-radius: var(--radius-lg);

    background:
        linear-gradient(135deg, #eef3fa, #ffffff);

    color: var(--text-muted);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.image-placeholder.small {
    min-height: 150px;
}

.float-card {
    position: absolute;

    min-width: 130px;

    padding: 14px 16px;

    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--border);
    border-radius: 14px;

    box-shadow: var(--shadow);

    display: flex;
    flex-direction: column;
}

.float-card strong {
    font-family: var(--display);
    font-size: 1.25rem;
}

.float-card span {
    color: var(--text-muted);
    font-size: .72rem;
}

.float-one {
    top: 35px;
    left: -30px;
}

.float-two {
    top: 48%;
    right: -35px;
}

.float-three {
    bottom: 35px;
    left: 20px;
}


/* =========================================================
   ARTICLE LAYOUT
========================================================= */

.article-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, var(--article-width));
    gap: 70px;

    align-items: start;
}

.article-content {
    min-width: 0;
}

.article-section {
    padding: 85px 0;
    border-bottom: 1px solid var(--border);
}

.article-section:first-child {
    padding-top: 75px;
}


/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.toc {
    position: sticky;
    top: 95px;
    height: max-content;
    padding-top: 75px;
}

.toc-inner {
    padding: 18px;

    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.toc-heading {
    margin-bottom: 12px;

    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--text-muted);
}

.toc nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc nav a {
    padding: 6px 8px;

    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.4;

    border-radius: 7px;

    transition: var(--transition);
}

.toc nav a:hover,
.toc nav a.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.toc-mobile-toggle {
    display: none;
}


/* =========================================================
   LISTAS
========================================================= */

.feature-list,
.compact-list {
    list-style: none;

    display: flex;
    flex-direction: column;
    gap: 10px;

    margin: 18px 0;
}

.feature-list li,
.compact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.li-icon {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    margin-top: 3px;

    border-radius: 50%;

    background: var(--success-soft);
    color: var(--success);

    font-size: .72rem;
    font-weight: 800;
}


/* =========================================================
   NOTICE
========================================================= */

.notice-block,
.warning-block,
.recommend-block {
    display: flex;
    gap: 14px;

    padding: 20px;

    margin: 28px 0;

    border-radius: 16px;
}

.notice-block {
    background: var(--primary-soft);
    border: 1px solid #d8e5ff;
}

.warning-block {
    background: var(--warning-soft);
    border: 1px solid #f4dfb8;
}

.recommend-block {
    background: var(--success-soft);
    border: 1px solid #cdeedc;
}

.notice-icon,
.warning-icon,
.recommend-icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    font-weight: 800;
}

.notice-icon {
    background: var(--primary);
    color: white;
}

.warning-icon {
    background: var(--warning);
    color: white;
}

.recommend-icon {
    background: var(--success);
    color: white;
}

.notice-label {
    margin-bottom: 4px;

    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* =========================================================
   DATA HIGHLIGHT
========================================================= */

.data-highlight {
    display: flex;
    align-items: center;
    gap: 18px;

    margin: 30px 0;
    padding: 22px;

    background: var(--surface-dark);
    color: white;

    border-radius: 18px;
}

.data-value {
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 800;
}

.data-desc {
    color: rgba(255, 255, 255, .72);
}

.data-highlight.standalone {
    display: block;
}

.data-highlight.light {
    background: var(--primary-soft);
    color: var(--text);
}

.data-highlight.light .data-desc {
    color: var(--text-soft);
}


/* =========================================================
   SPLIT SECTION
========================================================= */

.split-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 45px;
    align-items: start;
}

.uses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.use-card {
    padding: 22px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;

    transition: var(--transition);
}

.use-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: #cbd9f5;
}

.use-card p {
    margin: 0;
}

.use-icon {
    margin-bottom: 12px;

    color: var(--primary);
    font-size: 1.5rem;
}


/* =========================================================
   CRITERIA
========================================================= */

.criteria-list {
    margin-top: 35px;
}

.criteria-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;

    padding: 25px 0;

    border-top: 1px solid var(--border);
}

.criteria-row:last-child {
    border-bottom: 1px solid var(--border);
}

.criteria-number {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.criteria-row h3 {
    margin-bottom: 7px;
}

.criteria-row p {
    margin: 0;
    color: var(--text-soft);
}


/* =========================================================
   RANKING
========================================================= */

.systems {
    padding-top: 100px;
}

.section-overline {
    margin-bottom: 10px;

    color: var(--primary);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.system-card {
    position: relative;

    display: grid;
    grid-template-columns: 65px 1fr;

    margin-top: 35px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.system-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.system-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.system-marker {
    padding-top: 35px;

    background: var(--surface-dark);
    color: white;

    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 800;

    text-align: center;
}

.system-card.featured .system-marker {
    background: var(--primary);
}

.system-main {
    padding: 35px;
}

.system-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.system-kicker {
    margin-bottom: 5px;

    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.system-title {
    font-size: 1.8rem;
}

.system-badge,
.badge {
    display: inline-flex;

    padding: 6px 10px;

    border-radius: 999px;

    background: var(--primary-soft);
    color: var(--primary);

    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
}

.logo-placeholder {
    width: 180px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 25px 0;

    border: 1px dashed var(--border-dark);
    border-radius: 12px;

    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 700;
}

.data-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;

    margin: 25px 0;
}

.data-chip {
    padding: 12px;

    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 10px;

    text-align: center;

    color: var(--text-soft);
    font-size: .8rem;
}

.price-block {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 30px;
    padding: 18px 20px;

    background: var(--surface-soft);
    border-radius: 14px;
}

.price-label {
    color: var(--text-soft);
    font-size: .82rem;
}

.price-value {
    font-family: var(--display);
    font-size: 1.5rem;
}


/* =========================================================
   HIGHLIGHTS
========================================================= */

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.highlight-grid>* {
    margin: 0;
}

.notice-block.small {
    height: 100%;
}


/* =========================================================
   TABLES
========================================================= */

.table-wrap {
    width: 100%;
    overflow-x: auto;

    margin-top: 30px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: white;
}

.comparison-table,
.needs-table {
    width: 100%;
    min-width: 720px;

    border-collapse: collapse;

    font-size: .88rem;
}

.comparison-table th,
.comparison-table td,
.needs-table th,
.needs-table td {
    padding: 15px 14px;

    border-bottom: 1px solid var(--border);

    text-align: left;
}

.comparison-table thead th,
.needs-table thead th {
    background: var(--surface-dark);
    color: white;

    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.comparison-table tbody tr:hover,
.needs-table tbody tr:hover {
    background: var(--surface-soft);
}

.table-system {
    font-weight: 700;
}

.yes {
    color: var(--success);
    font-weight: 900;
    text-align: center !important;
}

.dash {
    color: var(--text-muted);
    text-align: center !important;
}


/* =========================================================
   EDITORIAL CARDS
========================================================= */

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;

    margin-top: 30px;
}

.editorial-card {
    padding: 25px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.editorial-card h3 {
    margin-bottom: 12px;
}


/* =========================================================
   DECISION
========================================================= */

.decision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.decision-card {
    padding: 25px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.decision-card h3 {
    font-size: 1.05rem;
}


/* =========================================================
   BEST OPTION
========================================================= */

.best-option {
    padding: 45px;

    background:
        radial-gradient(circle at 100% 0, rgba(21, 94, 239, .18), transparent 40%),
        var(--surface-dark);

    border-radius: var(--radius-lg);

    color: white;
}

.best-option .section-title,
.best-option h2 {
    color: white;
}

.best-option .section-title::after {
    background: white;
}

.best-option>p {
    color: rgba(255, 255, 255, .75);
}

.best-option .feature-list {
    margin-bottom: 30px;
}

.best-option .li-icon {
    background: rgba(255, 255, 255, .1);
    color: white;
}

.best-option .price-block {
    background: rgba(255, 255, 255, .08);
}

.best-option .price-label,
.best-option .price-value {
    color: white;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border-radius: 10px;

    font-size: .88rem;
    font-weight: 700;

    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* =========================================================
   FAQ
========================================================= */

.faq-list {
    margin-top: 30px;

    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 4px;

    cursor: pointer;

    font-family: var(--display);
    font-weight: 700;

    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-plus {
    flex: 0 0 auto;

    font-size: 1.5rem;
    font-weight: 400;

    transition: transform var(--transition);
}

.faq-item[open] .faq-plus {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 35px 20px 4px;
    color: var(--text-soft);
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    margin-top: 70px;
    padding: 55px;

    background: var(--primary-soft);
    border: 1px solid #d7e4ff;
    border-radius: var(--radius-lg);

    text-align: center;
}

.final-cta .section-title::after {
    margin-inline: auto;
}

.final-cta p {
    max-width: 650px;
    margin: 0 auto 25px;
    color: var(--text-soft);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================================
   RELATED
========================================================= */

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    margin-top: 30px;
}

.related-card {
    padding: 15px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;

    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.related-card .image-placeholder {
    min-height: 145px;
    margin-bottom: 18px;
}

.related-category {
    color: var(--primary);

    font-size: .7rem;
    font-weight: 800;

    letter-spacing: .1em;
    text-transform: uppercase;
}

.related-card h3 {
    margin-top: 8px;
    font-size: 1.1rem;
}

.related-card p {
    color: var(--text-soft);
    font-size: .88rem;
}

.related-link {
    color: var(--primary);
    font-size: .82rem;
    font-weight: 800;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: 80px;
    padding-top: 60px;

    background: var(--surface-dark);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-brand strong {
    font-family: var(--display);
    font-size: 1.2rem;
}

.footer-brand p {
    max-width: 320px;
    color: rgba(255, 255, 255, .6);
    font-size: .88rem;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;

    color: rgba(255, 255, 255, .7);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-col h4 {
    margin-bottom: 8px;

    color: white;

    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-col a {
    color: rgba(255, 255, 255, .58);
    font-size: .84rem;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 50px;
    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, .1);

    color: rgba(255, 255, 255, .45);
    font-size: .78rem;
}

.back-top-inline:hover {
    color: white;
}


/* =========================================================
   FLOATING BACK TO TOP
========================================================= */

.back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 46px;
    height: 46px;

    border: 0;
    border-radius: 50%;

    background: var(--primary);
    color: white;

    cursor: pointer;

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: var(--transition);

    z-index: 900;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}


/* =========================================================
   SELECTION
========================================================= */

::selection {
    background: var(--primary);
    color: white;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: #eef1f6;
}

::-webkit-scrollbar-thumb {
    background: #c5ccd8;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aab3c2;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1100px) {

    .article-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 35px;
    }

    .hero-grid {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 850px) {

    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .topbar {
        min-height: 65px;
    }

    .menu-left {
        position: relative;
    }

    .menu-left>a:not(.logo-link),
    .menu-left .dropdown,
    .menu-left .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu-left.mobile-open {
        position: absolute;

        top: 65px;
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding: 15px;

        background: white;
        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow);
    }

    .menu-left.mobile-open>a:not(.logo-link),
    .menu-left.mobile-open .dropdown,
    .menu-left.mobile-open .nav-cta {
        display: block;
    }

    .menu-left.mobile-open>a:not(.logo-link),
    .menu-left.mobile-open .nav-cta {
        padding: 10px;
    }

    .menu-left.mobile-open .nav-cta {
        margin: 5px 0 0;
        text-align: center;
    }

    .dropdown-content {
        position: static;

        display: none;

        margin-top: 5px;

        box-shadow: none;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }

    .article-hero {
        padding: 60px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 330px;
    }

    .image-placeholder {
        min-height: 310px;
    }

    .float-one {
        left: 0;
    }

    .float-two {
        right: 0;
    }

    .float-three {
        left: 0;
    }

    .article-layout {
        display: block;
    }

    .toc {
        position: relative;
        top: auto;

        padding-top: 20px;
    }

    .toc-heading {
        display: none;
    }

    .toc-mobile-toggle {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 12px;

        border: 0;
        background: transparent;

        color: var(--text);
        font-weight: 800;

        cursor: pointer;
    }

    .toc nav {
        display: none;
    }

    .toc.open nav {
        display: flex;
    }

    .toc nav a {
        padding: 9px;
    }

    .article-section {
        padding: 65px 0;
    }

    .split-grid,
    .editorial-grid,
    .decision-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .system-card {
        grid-template-columns: 1fr;
    }

    .system-marker {
        padding: 12px;

        text-align: left;
    }

    .system-main {
        padding: 25px;
    }

    .data-strip {
        grid-template-columns: 1fr;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .best-option {
        padding: 30px;
    }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 550px) {

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.45rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .hero-meta {
        flex-direction: column;
        gap: 3px;
    }

    .meta-sep {
        display: none;
    }

    .uses-grid {
        grid-template-columns: 1fr;
    }

    .criteria-row {
        grid-template-columns: 45px 1fr;
        gap: 12px;
    }

    .system-head {
        flex-direction: column;
    }

    .system-title {
        font-size: 1.45rem;
    }

    .price-block {
        align-items: flex-start;
        flex-direction: column;
    }

    .data-highlight {
        flex-direction: column;
        align-items: flex-start;
    }

    .final-cta {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .float-card {
        transform: scale(.85);
    }

    .float-one {
        left: -10px;
    }

    .float-two {
        right: -10px;
    }

    .float-three {
        left: -10px;
    }
}




.rnkng-sys-section {
    width: 100%;
    padding: 45px 0;
}

.rnkng-sys-header {
    text-align: center;
    margin-bottom: 28px;
}

.rnkng-sys-overline {
    display: block;
    margin-bottom: 7px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
}

.rnkng-sys-header h2 {
    margin: 0;
    color: var(--blue-dark);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
}

.rnkng-sys-header p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: .9rem;
}

.rnkng-sys-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 230px));
    gap: 14px;
    justify-content: center;
}

.rnkng-sys-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;

    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(31, 52, 73, .07);
    color: var(--blue-dark);
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.rnkng-sys-card:hover {
    transform: translateY(-4px);
    border-color: #c9dced;
    box-shadow: 0 10px 25px rgba(31, 52, 73, .13);
}

.rnkng-sys-card:focus-visible {
    outline: 3px solid rgba(67, 115, 194, .25);
    outline-offset: 3px;
}

.rnkng-sys-number {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #1F4D83;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
}

.rnkng-sys-name {
    flex: 1;
    font-size: .9rem;
    font-weight: 800;
}

.rnkng-sys-arrow {
    color: #8a98a7;
    font-size: 1rem;
    transition:
        color .2s ease,
        transform .2s ease;
}

.rnkng-sys-card:hover .rnkng-sys-arrow {
    color: var(--blue);
    transform: translate(2px, -2px);
}


/* Tablet */
@media (max-width: 900px) {
    .rnkng-sys-list {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Móvil */
@media (max-width: 560px) {
    .rnkng-sys-section {
        padding: 35px 0;
    }

    .rnkng-sys-list {
        grid-template-columns: 1fr;
    }

    .rnkng-sys-card {
        min-height: 66px;
    }
}

.youtube-icon {
    color: #FF0000;
    font-size: 1.35em;
    margin-right: 10px;
    vertical-align: -2px;
}