/* ============================================================
   VisaMundial — single-pais Premium v1.4.1
   ============================================================ */
.vm-pais-page { background: #fff; color: #0f172a; }
.vm-pais-container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.vm-narrow { max-width: 880px; }

/* ============ HERO ============ */
.vm-pais-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 8vw, 120px) 0 clamp(50px, 6vw, 80px);
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    isolation: isolate;
}
.vm-pais-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vm-pais-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.vm-pais-orb-1 { top: -10%; left: -8%; width: 480px; height: 480px; background: radial-gradient(circle, #60a5fa 0%, transparent 70%); animation: vmOrbA 20s ease-in-out infinite; }
.vm-pais-orb-2 { top: 30%; right: -10%; width: 420px; height: 420px; background: radial-gradient(circle, #a78bfa 0%, transparent 70%); animation: vmOrbB 25s ease-in-out infinite; }
.vm-pais-orb-3 { bottom: -15%; left: 30%; width: 520px; height: 520px; background: radial-gradient(circle, #06b6d4 0%, transparent 70%); animation: vmOrbC 28s ease-in-out infinite; opacity: .35; }
@keyframes vmOrbA { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(40px,30px) scale(1.08)} }
@keyframes vmOrbB { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,40px) scale(0.95)} }
@keyframes vmOrbC { 0%,100%{transform:translate(0,0)} 50%{transform:translate(60px,-40px)} }

.vm-pais-container { position: relative; z-index: 2; }
.vm-pais-hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
}
@media (max-width: 880px) { .vm-pais-hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.vm-pais-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255,255,255,.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(15,23,42,.08);
    margin-bottom: 22px;
}
.vm-pulse-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: vmPulse 2s infinite;
}
@keyframes vmPulse {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,.7); }
    70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.vm-pais-title {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: #0f172a;
}
.vm-pais-title-flag {
    display: inline-block;
    font-size: 1.1em;
    margin-right: .25em;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}

.vm-pais-lede {
    font-size: clamp(1.05rem, 1.4vw, 1.18rem);
    line-height: 1.6;
    color: #334155;
    max-width: 640px;
    margin: 0 0 28px;
}
.vm-pais-lede strong { color: #0f172a; font-weight: 700; }

.vm-pais-quickstats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.vm-qs-item {
    background: rgba(255,255,255,.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 6px 18px rgba(15,23,42,.06);
}
.vm-qs-item strong {
    display: block;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    line-height: 1;
}
.vm-qs-item span { font-size: 12px; color: #64748b; font-weight: 500; }

/* Hero card */
.vm-pais-hero-card {
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 48px -16px rgba(15,23,42,.2);
    text-align: center;
}
.vm-pais-flag-xxl {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 18px;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.18));
}
.vm-pais-datos {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    margin: 0;
    text-align: left;
    font-size: 14px;
}
.vm-pais-datos dt { color: #64748b; font-weight: 600; padding-right: 8px; border-right: 1px solid rgba(15,23,42,.08); }
.vm-pais-datos dd { margin: 0; color: #0f172a; font-weight: 600; }

/* ============ CHECKER ============ */
.vm-pais-checker {
    padding: clamp(40px, 6vw, 70px) 0;
    background: #fff;
}
.vm-checker-card {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    border-radius: 28px;
    padding: clamp(28px, 4vw, 48px);
    box-shadow: 0 30px 60px -20px rgba(37,99,235,.45);
    color: #fff;
    position: relative;
    overflow: visible;
}
.vm-checker-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.22) 0%, transparent 55%);
    pointer-events: none;
}
.vm-checker-head {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 28px;
}
.vm-checker-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.vm-checker-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 12px; color: #fff; }
.vm-checker-head p { font-size: 15px; opacity: .95; max-width: 580px; margin: 0 auto; line-height: 1.55; }

.vm-checker-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 22px;
}
@media (max-width: 600px) { .vm-checker-form { grid-template-columns: 1fr; } }

.vm-checker-field { display: flex; flex-direction: column; gap: 6px; }
.vm-checker-field label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: .9;
}
.vm-input-wrap { position: relative; }
.vm-input-wrap input {
    width: 100%;
    padding: 16px 18px;
    background: #fff;
    border: 0;
    border-radius: 14px;
    font-size: 16px;
    color: #0f172a;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.vm-input-wrap input:focus { outline: 3px solid rgba(255,255,255,.4); }
.vm-input-wrap select { position: absolute; opacity: 0; pointer-events: none; left: 0; top: 0; width: 100%; height: 100%; }

.vm-checker-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 26px;
    background: #fbbf24;
    color: #0f172a;
    border: 0;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(251,191,36,.4);
    transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.vm-checker-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(251,191,36,.55); }
.vm-checker-btn:active { transform: translateY(0); }

.vm-quick-picks {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.18);
}
.vm-qp-label { font-size: 12px; font-weight: 600; opacity: .8; margin-right: 4px; }
.vm-qp-chip {
    padding: 6px 12px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.vm-qp-chip:hover { background: rgba(255,255,255,.3); }

/* Result block (filled by JS) */
.vm-checker-result:not(:empty) {
    margin-top: 28px;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 16px 40px -12px rgba(15,23,42,.18);
    border: 1px solid rgba(15,23,42,.06);
    animation: vmResultIn .5s ease;
}
@keyframes vmResultIn { from { opacity:0; transform: translateY(12px) } to { opacity:1; transform: translateY(0) } }

.vm-result-head {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15,23,42,.08);
    margin-bottom: 20px;
}
.vm-result-flags { font-size: 2.4rem; line-height: 1; }
.vm-result-flags small { font-size: 1.4rem; vertical-align: middle; margin: 0 8px; color: #94a3b8; }
.vm-result-status {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.vm-result-status.vm-status-sin_visa { background: #16a34a; }
.vm-result-status.vm-status-evisa { background: #2563eb; }
.vm-result-status.vm-status-eta { background: #0891b2; }
.vm-result-status.vm-status-visa_llegada { background: #d97706; }
.vm-result-status.vm-status-visa_previa { background: #dc2626; }

.vm-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.vm-result-cell {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px;
}
.vm-result-cell-label { font-size: 11px; color: #64748b; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.vm-result-cell-val { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-top: 4px; }

.vm-result-message {
    background: linear-gradient(90deg, rgba(37,99,235,.05), transparent);
    border-left: 4px solid #2563eb;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: #1e3a8a;
    margin-bottom: 16px;
}

.vm-result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vm-result-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .15s;
}
.vm-result-action:hover { transform: translateY(-1px); background: #1e40af; }
.vm-result-action.vm-secondary { background: rgba(15,23,42,.06); color: #1e40af; }

/* ============ TOURISM ============ */
.vm-tourism { padding: clamp(50px, 7vw, 90px) 0; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.vm-tourism-head { text-align: center; margin-bottom: 40px; }
.vm-eyebrow {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(37,99,235,.1);
    color: #2563eb;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}
.vm-tourism-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin: 0 0 12px; color: #0f172a; line-height: 1.2; }
.vm-tourism-head p { font-size: 16px; color: #475569; max-width: 700px; margin: 0 auto; line-height: 1.55; }

.vm-tourism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.vm-t-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(15,23,42,.05);
    transition: transform .3s, box-shadow .3s;
    position: relative;
}
.vm-t-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15,23,42,.1); }
.vm-t-card-wide { grid-column: 1 / -1; }
.vm-t-icon { font-size: 2rem; line-height: 1; margin-bottom: 10px; }
.vm-t-card h3 { font-size: 1.1rem; font-weight: 700; color: #1e40af; margin: 0 0 10px; line-height: 1.3; }
.vm-t-card p { font-size: 14px; line-height: 1.6; color: #334155; margin: 0; }
.vm-t-tip { margin-top: 12px !important; padding: 10px 12px; background: #fef3c7; border-radius: 8px; font-size: 13px !important; color: #78350f; }
.vm-t-list { list-style: none; padding: 0; margin: 0; }
.vm-t-list li {
    padding: 8px 0;
    padding-left: 22px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
    color: #1e293b;
    border-bottom: 1px dashed rgba(15,23,42,.08);
}
.vm-t-list li:last-child { border-bottom: 0; }
.vm-t-list li::before { content: '→'; position: absolute; left: 0; top: 8px; color: #2563eb; font-weight: 700; }

/* Budget bars */
.vm-budget-bars { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0; }
.vm-bb { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.vm-bb-label { font-weight: 600; color: #475569; }
.vm-bb-val { font-weight: 700; color: #0f172a; font-size: 14px; }
.vm-bb-bar {
    grid-column: 2;
    grid-row: 2;
    height: 6px;
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 999px;
    width: var(--w);
}
.vm-bb { grid-template-columns: 90px 1fr auto; grid-template-rows: auto auto; }
.vm-bb-label { grid-row: 1; }
.vm-bb-val { grid-row: 1; grid-column: 3; }
.vm-bb-bar { grid-row: 2; grid-column: 1 / 4; height: 5px; background: linear-gradient(90deg, #06b6d4, #2563eb, #7c3aed); border-radius: 999px; width: var(--w); }

/* Safety meter */
.vm-safety-meter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    align-items: center;
    margin-top: 14px;
    font-size: 13px;
}
.vm-safety-label { font-weight: 600; color: #475569; grid-column: 1 / 3; }
.vm-safety-bar {
    grid-column: 1;
    height: 6px;
    background: rgba(15,23,42,.08);
    border-radius: 999px;
    overflow: hidden;
}
.vm-safety-bar > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #22c55e 100%);
    border-radius: 999px;
    width: var(--w);
}
.vm-safety-score { font-weight: 700; color: #0f172a; grid-column: 2; }

/* Culture grid */
.vm-culture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
@media (max-width: 600px) { .vm-culture-grid { grid-template-columns: 1fr; } }
.vm-culture-col { padding: 16px; border-radius: 12px; }
.vm-culture-do { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2); }
.vm-culture-dont { background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.18); }
.vm-culture-col h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.vm-culture-do h4 { color: #15803d; }
.vm-culture-dont h4 { color: #b91c1c; }
.vm-culture-col ul { list-style: none; padding: 0; margin: 0; }
.vm-culture-col li { padding: 4px 0; font-size: 13px; line-height: 1.5; color: #1e293b; }

/* ============ AGENCIES CTA ============ */
.vm-agencies-cta { padding: 50px 0; background: #fff; }
.vm-agencies-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    padding: 32px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(251,191,36,.18);
}
@media (max-width: 600px) { .vm-agencies-card { grid-template-columns: 1fr; text-align: center; } }
.vm-agencies-icon { font-size: 3rem; line-height: 1; }
.vm-agencies-card h2 { font-size: 1.3rem; font-weight: 800; color: #78350f; margin: 0 0 8px; }
.vm-agencies-card p { font-size: 15px; color: #92400e; margin: 0 0 14px; line-height: 1.55; }
.vm-agencies-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s;
}
.vm-agencies-btn:hover { transform: translateY(-2px); background: #1e293b; }

/* ============ DEEP NAV ============ */
.vm-deep-nav { padding: clamp(50px, 7vw, 80px) 0; background: #f8fafc; }
.vm-deep-nav h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: #0f172a; margin: 0 0 24px; text-align: center; }
.vm-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.vm-nav-card {
    display: block;
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all .25s;
}
.vm-nav-card:hover { transform: translateY(-3px); border-color: #2563eb; box-shadow: 0 14px 28px rgba(37,99,235,.12); }
.vm-nav-card span { display: block; font-size: 1.6rem; margin-bottom: 8px; }
.vm-nav-card h3 { font-size: 1rem; font-weight: 700; color: #1e40af; margin: 0 0 4px; }
.vm-nav-card p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.45; }

/* ============ ORIGINAL + SOURCES + FAQ + RELATED ============ */
.vm-pais-original { padding: 50px 0; background: #fff; }
.vm-pais-prose { font-size: 16px; line-height: 1.75; color: #1e293b; }
.vm-pais-prose h2, .vm-pais-prose h3 { color: #0f172a; margin-top: 1.6em; margin-bottom: .6em; }
.vm-pais-prose a { color: #2563eb; }

.vm-pais-sources { padding: 40px 0; background: #f8fafc; }
.vm-pais-sources h2 { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin: 0 0 16px; }
.vm-sources-list { list-style: none; padding: 0; margin: 0 0 16px; }
.vm-sources-list li { padding: 10px 14px; background: #fff; border-radius: 10px; margin-bottom: 8px; font-size: 14px; }
.vm-sources-list a { color: #2563eb; text-decoration: none; font-weight: 600; }
.vm-sources-list a:hover { text-decoration: underline; }
.vm-verified-line { padding: 12px 16px; background: rgba(34,197,94,.08); border-radius: 10px; font-size: 13px; color: #166534; margin: 0; }

.vm-pais-faq { padding: clamp(40px, 6vw, 70px) 0; background: #fff; }
.vm-pais-faq h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: #0f172a; margin: 0 0 24px; text-align: center; }
.vm-faq-list { display: flex; flex-direction: column; gap: 10px; }
.vm-faq-list details {
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 12px;
    padding: 16px 20px;
    transition: background .2s;
}
.vm-faq-list details[open] { background: #fff; box-shadow: 0 8px 20px rgba(15,23,42,.06); }
.vm-faq-list summary {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 28px;
}
.vm-faq-list summary::-webkit-details-marker { display: none; }
.vm-faq-list summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: -2px;
    font-size: 22px;
    color: #2563eb;
    font-weight: 400;
    transition: transform .2s;
}
.vm-faq-list details[open] summary::after { transform: rotate(45deg); }
.vm-faq-list p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: #334155; }

.vm-related { padding: clamp(40px, 6vw, 80px) 0; background: linear-gradient(180deg, #fff 0%, #eff6ff 100%); }
.vm-related h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: #0f172a; margin: 0 0 24px; text-align: center; }
.vm-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.vm-rel-card {
    display: block;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all .25s;
}
.vm-rel-card:hover { transform: translateY(-2px); border-color: #2563eb; box-shadow: 0 12px 24px rgba(37,99,235,.1); }
.vm-rel-card h3 { font-size: 15px; font-weight: 700; color: #1e40af; margin: 0 0 4px; }
.vm-rel-card p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.45; }

/* ============ AdSense slots — non-invasive, click-optimized ============ */
.vm-ad-wrap {
    padding: 28px 0;
    background: #fafafa;
}
.vm-ad-wrap + .vm-ad-wrap { border-top: 1px solid rgba(15,23,42,.06); }
.vm-ad-label {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    font-weight: 600;
}
.vm-ad-slot.vm-ad-inline {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 12px;
    min-height: 100px;
    padding: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vm-ad-slot:empty::before {
    content: '';
    display: block;
    width: 100%;
    height: 90px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: vmAdShimmer 1.6s linear infinite;
    border-radius: 8px;
    opacity: .6;
}
@keyframes vmAdShimmer { 0% {background-position: 200% 0} 100% {background-position: -200% 0} }

/* No CLS reserve in mobile */
@media (max-width: 768px) {
    .vm-ad-wrap { padding: 20px 0; }
    .vm-ad-slot.vm-ad-inline { min-height: 250px; }
}

/* Footer space fix */
.vm-pais-page + .vg-site-footer,
.vm-pais-page ~ .vg-site-footer { margin-top: 0 !important; }
.vm-related { padding-bottom: clamp(50px, 6vw, 80px); }

/* ============ Responsive deep polish ============ */
@media (max-width: 768px) {
    .vm-pais-hero { padding: 60px 0 40px; }
    .vm-pais-title { font-size: clamp(1.6rem, 7vw, 2rem); }
    .vm-pais-flag-xxl { font-size: 4.5rem; }
    .vm-pais-quickstats { grid-template-columns: 1fr; gap: 8px; }
    .vm-qs-item { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; }
    .vm-qs-item strong { font-size: 1.4rem; }
    .vm-checker-card { padding: 24px 18px; border-radius: 22px; }
    .vm-checker-head h2 { font-size: 1.4rem; }
    .vm-tourism-grid { grid-template-columns: 1fr; gap: 14px; }
    .vm-t-card { padding: 18px; }
    .vm-result-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .vm-pais-hero { padding: 48px 0 32px; }
    .vm-pais-title { font-size: 1.6rem; line-height: 1.15; }
    .vm-pais-hero-card { padding: 22px 18px; }
    .vm-pais-flag-xxl { font-size: 3.6rem; margin-bottom: 12px; }
    .vm-checker-form { gap: 12px; }
    .vm-input-wrap input { padding: 14px; font-size: 15px; }
    .vm-checker-btn { padding: 14px 20px; }
    .vm-result-grid { grid-template-columns: 1fr; }
    .vm-tourism-head h2 { font-size: 1.4rem; }
    .vm-tourism-head p { font-size: 14px; }
    .vm-t-card h3 { font-size: 1rem; }
    .vm-agencies-card { padding: 22px; gap: 14px; }
    .vm-agencies-card h2 { font-size: 1.1rem; }
    .vm-agencies-icon { font-size: 2.4rem; }
    .vm-deep-nav h2, .vm-pais-faq h2, .vm-related h2 { font-size: 1.3rem; }
    .vm-nav-grid, .vm-related-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .vm-nav-card, .vm-rel-card { padding: 14px; }
    .vm-nav-card h3, .vm-rel-card h3 { font-size: 14px; }
    .vm-nav-card p, .vm-rel-card p { font-size: 12px; }
}

/* ============ Archive países ============ */
.vm-archive-search { max-width: 520px; margin: 0 auto; }
.vm-archive-search input {
    width: 100%;
    padding: 16px 22px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    font-size: 16px;
    color: #0f172a;
    box-shadow: 0 12px 30px rgba(15,23,42,.1);
    box-sizing: border-box;
}
.vm-archive-search input:focus { outline: 3px solid rgba(37,99,235,.3); }
.vm-archive-regions { padding: 32px 0 0; background: #fff; }
.vm-section-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; color: #0f172a; margin: 0 0 18px; text-align: center; }
.vm-region-pills {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    margin: 0 auto; max-width: 900px;
}
.vm-region-pill {
    padding: 8px 16px;
    background: #f1f5f9;
    color: #1e40af;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}
.vm-region-pill:hover { background: rgba(37,99,235,.12); }
.vm-region-pill.vm-active { background: #2563eb; color: #fff; border-color: #1e40af; }

.vm-archive-grid-section { padding: 32px 0; }
.vm-arch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.vm-arch-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    transition: all .2s;
}
.vm-arch-card:hover { transform: translateY(-2px); border-color: #2563eb; box-shadow: 0 12px 24px rgba(37,99,235,.1); }
.vm-arch-flag { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.vm-arch-name { font-size: 14px; font-weight: 600; }
.vm-arch-empty { text-align: center; padding: 40px; color: #64748b; }

/* ============ Pasaporte buckets ============ */
.vm-pas-hero { padding: clamp(70px, 8vw, 110px) 0 clamp(40px, 5vw, 60px); position: relative; overflow: hidden; background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%); isolation: isolate; }
.vm-pas-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .vm-pas-hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.vm-pas-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.vm-ps-item { background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.6); border-radius: 14px; padding: 14px 16px; }
.vm-ps-item strong { display: block; font-size: 1.6rem; font-weight: 800; background: linear-gradient(135deg, #2563eb, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.vm-ps-item span { font-size: 12px; color: #64748b; font-weight: 500; }
.vm-power-bar { height: 14px; background: rgba(15,23,42,.08); border-radius: 999px; overflow: hidden; margin-top: 14px; }
.vm-power-fill { display: block; height: 100%; background: linear-gradient(90deg, #06b6d4, #2563eb, #7c3aed); border-radius: 999px; width: var(--w); transition: width 1.2s ease; }

.vm-buckets-section { padding: 50px 0; background: #fff; }
.vm-bucket-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.vm-tab-btn {
    padding: 10px 16px;
    background: #f1f5f9;
    color: #0f172a;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.vm-tab-btn:hover { background: rgba(37,99,235,.08); border-color: var(--tab); color: var(--tab); }
.vm-tab-count { display: inline-block; margin-left: 4px; padding: 1px 7px; background: rgba(0,0,0,.08); border-radius: 999px; font-weight: 700; font-size: 11px; }
.vm-bucket-panel { margin-bottom: 30px; }
.vm-bucket-head { padding: 18px 22px; border-radius: 14px; border-left: 4px solid; margin-bottom: 16px; }
.vm-bucket-head h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 4px; }
.vm-bucket-head p { font-size: 14px; color: #475569; margin: 0; line-height: 1.5; }
.vm-bucket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.vm-bucket-card {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 10px;
    text-decoration: none;
    color: #0f172a;
    font-size: 14px;
    transition: all .2s;
}
.vm-bucket-card:hover { background: #fff; border-color: #2563eb; transform: translateX(2px); }
.vm-bc-flag { font-size: 1.2rem; line-height: 1; }
.vm-bc-name { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-bc-days { font-size: 12px; color: #64748b; font-weight: 600; padding: 2px 7px; background: rgba(15,23,42,.05); border-radius: 999px; }

.vm-compare-cta { padding: 50px 0; background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); color: #fff; text-align: center; }
.vm-compare-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin: 0 0 12px; }
.vm-compare-cta p { color: rgba(255,255,255,.9); margin: 0 auto 20px; max-width: 600px; font-size: 15px; }
.vm-cta-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    background: #fbbf24;
    color: #0f172a;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: transform .2s;
}
.vm-cta-secondary:hover { transform: translateY(-2px); }

/* ============ Guía premium ============ */
.vm-guia-hero { padding: clamp(70px, 8vw, 110px) 0 clamp(30px, 4vw, 50px); position: relative; overflow: hidden; background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%); isolation: isolate; }
.vm-guia-byline { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.vm-byline-avatar {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px;
}
.vm-guia-byline div strong { display: block; font-size: 14px; color: #0f172a; }
.vm-guia-byline div span { font-size: 12px; color: #64748b; }
.vm-guia-feat { padding: 0 0 30px; }
.vm-guia-article { padding: 30px 0 50px; }
.vm-guia-prose { font-size: 17px; line-height: 1.75; color: #1e293b; }
.vm-guia-prose h2 { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin: 1.6em 0 .6em; line-height: 1.3; scroll-margin-top: 80px; }
.vm-guia-prose h3 { font-size: 1.25rem; font-weight: 700; color: #1e40af; margin: 1.4em 0 .5em; line-height: 1.3; }
.vm-guia-prose p { margin: 0 0 1.1em; }
.vm-guia-prose a { color: #2563eb; text-decoration: underline; text-decoration-color: rgba(37,99,235,.3); }
.vm-guia-prose a:hover { text-decoration-color: #2563eb; }
.vm-guia-prose ul, .vm-guia-prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.vm-guia-prose li { margin-bottom: .55em; }
.vm-guia-prose blockquote { margin: 1.5em 0; padding: 16px 20px; background: #eff6ff; border-left: 4px solid #2563eb; border-radius: 8px; font-style: italic; color: #1e3a8a; }
.vm-guia-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.4em 0; }
.vm-guia-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.vm-guia-prose th { background: #1e40af; color: #fff; padding: 10px; text-align: left; }
.vm-guia-prose td { padding: 10px; border-bottom: 1px solid #f1f5f9; }
.vm-guia-prose tr:nth-child(even) td { background: #f8fafc; }

@media (max-width: 768px) {
    .vm-arch-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
    .vm-arch-card { padding: 12px; gap: 8px; }
    .vm-arch-name { font-size: 13px; }
    .vm-bucket-grid { grid-template-columns: 1fr 1fr; }
    .vm-pas-stats { grid-template-columns: 1fr; gap: 8px; }
    .vm-tab-btn { padding: 8px 12px; font-size: 12px; }
    .vm-guia-prose { font-size: 16px; }
    .vm-guia-prose h2 { font-size: 1.35rem; }
    .vm-guia-prose h3 { font-size: 1.15rem; }
}

/* ============ Global mobile overflow guards v1.5.3 ============ */
html, body { max-width: 100%; overflow-x: hidden; }
.vm-pais-page * { max-width: 100%; box-sizing: border-box; }
.vm-pais-page img, .vm-pais-page video, .vm-pais-page iframe { max-width: 100%; height: auto; }
.vm-pais-page .vm-pais-container,
.vm-pais-page .vm-arch-hero-inner,
.vm-pais-page section { min-width: 0; }
/* Tables overflow horizontal scroll on mobile */
.vm-arch-editorial table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    white-space: nowrap;
}
.vm-arch-editorial table thead th { background: #1e40af; color: #fff; padding: 10px 14px; text-align: left; font-size: 14px; }
.vm-arch-editorial table td { padding: 10px 14px; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.vm-arch-editorial table tr:nth-child(even) td { background: #f8fafc; }
@media (max-width: 600px) {
    .vm-arch-editorial table { font-size: 13px; }
    .vm-arch-editorial table thead th, .vm-arch-editorial table td { padding: 8px 10px; }
}
.vm-arch-editorial pre, .vm-arch-editorial code { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.vm-arch-editorial blockquote { margin: 1.2em 0; padding: 12px 18px; background: #eff6ff; border-left: 4px solid #2563eb; border-radius: 8px; }
/* Force every container to respect viewport width */
@media (max-width: 768px) {
    .vm-pais-container { padding-left: 14px !important; padding-right: 14px !important; }
    .vm-narrow { padding-left: 14px !important; padding-right: 14px !important; }
}
@media (max-width: 480px) {
    .vm-pais-container { padding-left: 12px !important; padding-right: 12px !important; }
}
/* Long words / URLs / texts that could break layout */
.vm-pais-page h1, .vm-pais-page h2, .vm-pais-page h3, .vm-pais-page p, .vm-pais-page li {
    word-wrap: break-word; overflow-wrap: anywhere; hyphens: auto;
}
/* Editorial content extra mobile padding */
@media (max-width: 600px) {
    .vm-arch-editorial { padding-left: 0; padding-right: 0; }
    .vm-arch-editorial > .vm-pais-container { padding-left: 14px !important; padding-right: 14px !important; }
}

/* ============ Archive premium hero (paises + pasaportes) v1.5.1 — fully responsive ============ */
.vm-arch-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 60%, #ffffff 100%);
    padding: clamp(36px, 5vw, 72px) 0 clamp(24px, 3.5vw, 48px);
}
.vm-arch-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.vm-arch-hero-bg .vm-pais-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.vm-arch-hero-bg .vm-pais-orb-1 { top: -10%; left: -8%; width: clamp(220px, 30vw, 400px); height: clamp(220px, 30vw, 400px); background: radial-gradient(circle, #60a5fa 0%, transparent 70%); }
.vm-arch-hero-bg .vm-pais-orb-2 { top: 20%; right: -10%; width: clamp(200px, 28vw, 360px); height: clamp(200px, 28vw, 360px); background: radial-gradient(circle, #a78bfa 0%, transparent 70%); }
.vm-arch-hero-bg .vm-pais-orb-3 { bottom: -20%; left: 30%; width: clamp(260px, 36vw, 460px); height: clamp(260px, 36vw, 460px); background: radial-gradient(circle, #22d3ee 0%, transparent 70%); }
.vm-arch-hero-inner {
    position: relative; z-index: 2;
    max-width: 880px; margin: 0 auto;
    text-align: center;
    padding: clamp(4px, 1vw, 12px) clamp(12px, 3vw, 24px) 0;
}
.vm-arch-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: clamp(6px, 1vw, 8px) clamp(12px, 2vw, 18px);
    background: rgba(255,255,255,.85);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 999px;
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 600; color: #0f172a;
    box-shadow: 0 4px 16px rgba(15,23,42,.08);
    margin-bottom: clamp(10px, 1.6vw, 16px);
    max-width: 100%;
    text-align: center;
}
.vm-arch-title {
    font-size: clamp(1.55rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin: 0 0 clamp(8px, 1.4vw, 14px);
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.vm-arch-year {
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #06b6d4 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: vmShine 4.5s ease-in-out infinite;
    white-space: nowrap;
}
.vm-arch-lede {
    font-size: clamp(.92rem, 1.4vw, 1.08rem);
    line-height: 1.55;
    color: #334155;
    max-width: 640px;
    margin: 0 auto clamp(16px, 2.4vw, 24px);
}
.vm-arch-lede strong { color: #0f172a; font-weight: 700; }
.vm-archive-search {
    position: relative;
    max-width: 640px;
    margin: 0 auto clamp(16px, 2.4vw, 24px);
    padding: 0;
}
.vm-archive-search input[type="search"] {
    width: 100%;
    padding: clamp(12px, 1.5vw, 14px) clamp(18px, 2.5vw, 22px) clamp(12px, 1.5vw, 14px) clamp(40px, 4.5vw, 48px);
    border: 0;
    border-radius: 999px;
    background: #fff;
    font-size: clamp(14px, 1.4vw, 15px);
    color: #0f172a;
    box-shadow: 0 14px 32px rgba(15,23,42,.1);
    box-sizing: border-box;
}
.vm-archive-search input[type="search"]:focus { outline: 3px solid rgba(37,99,235,.3); }
.vm-arch-search-icon {
    position: absolute; left: clamp(14px, 2vw, 18px); top: 50%; transform: translateY(-50%);
    color: #64748b; pointer-events: none;
}
.vm-arch-quickstats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 1.4vw, 14px);
    max-width: 720px; margin: 0 auto;
}
.vm-arch-stat {
    background: rgba(255,255,255,.85);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 14px;
    padding: clamp(10px, 1.5vw, 14px) clamp(6px, 1vw, 10px);
    text-align: center;
    min-width: 0;
}
.vm-arch-stat strong {
    display: block;
    font-size: clamp(.95rem, 2.2vw, 1.45rem);
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    line-height: 1.1;
    word-wrap: break-word;
}
.vm-arch-stat span {
    display: block; font-size: clamp(10px, 1.1vw, 11px);
    color: #64748b; font-weight: 500; margin-top: 4px;
    line-height: 1.3;
}
.vm-section-sub { text-align: center; color: #64748b; font-size: 14px; max-width: 700px; margin: -10px auto 24px; line-height: 1.5; }

/* Popular countries grid */
.vm-arch-popular { padding: clamp(30px, 4vw, 50px) 0; background: #fff; }
.vm-arch-popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.vm-arch-popular-card {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    text-decoration: none;
    color: #0f172a;
    transition: all .2s;
}
.vm-arch-popular-card:hover { transform: translateY(-2px); border-color: #2563eb; box-shadow: 0 14px 28px rgba(37,99,235,.12); }
.vm-arch-popular-flag { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.vm-arch-popular-card strong { display: block; font-size: 15px; font-weight: 700; }
.vm-arch-popular-card span { display: block; font-size: 12px; color: #64748b; margin-top: 2px; line-height: 1.4; }

/* Editorial + FAQ archive */
.vm-arch-editorial { padding: clamp(40px, 5vw, 70px) 0; background: #f8fafc; }
.vm-arch-editorial h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: #0f172a; margin: 0 0 16px; line-height: 1.25; }
.vm-arch-editorial h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; color: #1e40af; margin: 1.6em 0 .5em; }
.vm-arch-editorial p, .vm-arch-editorial li { font-size: 16px; line-height: 1.7; color: #1e293b; }
.vm-arch-editorial p { margin: 0 0 1em; }
.vm-arch-editorial ul, .vm-arch-editorial ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.vm-arch-editorial li { margin-bottom: .55em; }
.vm-arch-editorial a { color: #2563eb; text-decoration: underline; text-decoration-color: rgba(37,99,235,.3); }
.vm-arch-editorial a:hover { text-decoration-color: #2563eb; }
.vm-arch-editorial strong { color: #0f172a; font-weight: 700; }

.vm-arch-faq { padding: clamp(40px, 5vw, 70px) 0; background: #fff; }
.vm-arch-faq h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: #0f172a; margin: 0 0 24px; text-align: center; }
.vm-arch-faq details {
    margin-bottom: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 12px;
    transition: all .2s;
}
.vm-arch-faq details[open] { background: #eff6ff; border-color: #2563eb; }
.vm-arch-faq summary { cursor: pointer; font-weight: 700; color: #0f172a; font-size: 15px; list-style: none; position: relative; padding-right: 28px; }
.vm-arch-faq summary::-webkit-details-marker { display: none; }
.vm-arch-faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 22px; color: #2563eb; line-height: 1; transition: transform .2s; }
.vm-arch-faq details[open] summary::after { content: '−'; }
.vm-arch-faq details p { font-size: 14px; line-height: 1.6; color: #475569; margin: 12px 0 0; }
.vm-arch-faq details a { color: #2563eb; text-decoration: underline; }

/* Pasaporte ranking cards */
.vm-pas-top { padding: clamp(40px, 5vw, 70px) 0; background: #fff; }
.vm-pas-latam { padding: clamp(40px, 5vw, 70px) 0; background: #f8fafc; }
.vm-pas-all { padding: clamp(40px, 5vw, 70px) 0; background: #fff; }
.vm-pas-rank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.vm-pas-rank-card {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    text-decoration: none;
    color: #0f172a;
    transition: all .2s;
    position: relative;
}
.vm-pas-rank-card:hover { transform: translateY(-2px); border-color: #2563eb; box-shadow: 0 14px 28px rgba(37,99,235,.12); }
.vm-pas-rank-num {
    grid-row: 1 / 3;
    font-size: 1.4rem;
    font-weight: 800;
    color: #94a3b8;
    line-height: 1;
}
.vm-pas-rank-top .vm-pas-rank-num { color: #2563eb; }
.vm-pas-rank-flag {
    grid-row: 1 / 3;
    font-size: 2rem;
    line-height: 1;
}
.vm-pas-rank-info { grid-column: 3; min-width: 0; }
.vm-pas-rank-info strong { display: block; font-size: 15px; font-weight: 700; }
.vm-pas-rank-stat { display: block; font-size: 12px; color: #64748b; margin-top: 2px; }
.vm-pas-rank-bar { grid-column: 1 / -1; grid-row: 2; margin-top: 10px; height: 5px; background: rgba(15,23,42,.06); border-radius: 999px; overflow: hidden; }
.vm-pas-rank-bar > div { height: 100%; background: linear-gradient(90deg, #06b6d4, #2563eb, #7c3aed); border-radius: 999px; transition: width 1s ease; }
.vm-pas-mini-card { position: relative; padding-right: 14px; }
.vm-pas-mini-stat { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; color: #2563eb; background: rgba(37,99,235,.08); padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.vm-arch-hero-pas { background: linear-gradient(180deg, #f8fafc 0%, #fef3c7 30%, #ffffff 100%); }
.vm-arch-hero-pas .vm-pais-orb-1 { background: radial-gradient(circle, #fbbf24 0%, transparent 70%); }
.vm-arch-hero-pas .vm-pais-orb-2 { background: radial-gradient(circle, #2563eb 0%, transparent 70%); }
.vm-arch-hero-pas .vm-pais-orb-3 { background: radial-gradient(circle, #f59e0b 0%, transparent 70%); }

@keyframes vmShine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

@media (max-width: 1024px) {
    .vm-arch-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3.5vw, 36px); }
    .vm-arch-hero-inner { max-width: 100%; }
}
@media (max-width: 768px) {
    .vm-arch-hero { padding: clamp(24px, 5vw, 44px) 0 clamp(18px, 3vw, 28px); }
    .vm-arch-hero-inner { padding: 4px 4px 0; }
    .vm-arch-quickstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 480px; }
    .vm-arch-popular-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .vm-arch-popular-card { padding: 12px; gap: 10px; }
    .vm-arch-popular-flag { font-size: 1.6rem; }
    .vm-arch-popular-card strong { font-size: 14px; }
    .vm-arch-popular-card span { font-size: 11px; }
    .vm-pas-rank-grid { grid-template-columns: 1fr; }
    .vm-arch-editorial h2 { font-size: 1.35rem; }
    .vm-arch-editorial h3 { font-size: 1.1rem; }
    .vm-arch-editorial p, .vm-arch-editorial li { font-size: 15px; }
    .vm-arch-hero-bg .vm-pais-orb { opacity: .35; }
}
@media (max-width: 480px) {
    .vm-arch-hero { padding: 22px 0 16px; }
    .vm-arch-title { font-size: clamp(1.4rem, 6.5vw, 1.85rem); line-height: 1.15; }
    .vm-arch-lede { font-size: 14px; line-height: 1.5; }
    .vm-arch-badge { font-size: 10.5px; padding: 5px 11px; gap: 6px; }
    .vm-arch-popular-grid { grid-template-columns: 1fr; }
    .vm-arch-quickstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .vm-arch-stat { padding: 9px 5px; border-radius: 11px; }
    .vm-arch-stat strong { font-size: clamp(.85rem, 4vw, 1rem); }
    .vm-arch-stat span { font-size: 9.5px; margin-top: 2px; }
    .vm-archive-search input[type="search"] { padding: 11px 16px 11px 38px; font-size: 14px; }
    .vm-arch-search-icon { left: 12px; width: 16px; height: 16px; }
}
/* Very small screens (320-360px) */
@media (max-width: 360px) {
    .vm-arch-title { font-size: 1.3rem; }
    .vm-arch-quickstats { grid-template-columns: 1fr 1fr; }
}

/* ============ Combobox autocomplete ============ */
.vm-combo-list {
    position: absolute;
    top: calc(100% + 6px); left: 0; right: 0;
    background: #fff;
    border: 1px solid rgba(15,23,42,.1);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15,23,42,.25);
    max-height: 320px;
    overflow-y: auto;
    z-index: 200;
    padding: 6px;
    animation: vmComboIn .15s ease-out;
}
/* When appended to body, use fixed positioning to escape any parent stacking */
.vm-combo-list.vm-combo-fixed {
    position: fixed;
    top: 0; left: 0; right: auto;
    width: auto;
    z-index: 99999;
}
@keyframes vmComboIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.vm-combo-opt {
    padding: 10px 14px;
    font-size: 14px;
    color: #1e293b;
    cursor: pointer;
    transition: background .12s, transform .12s;
    border-radius: 10px;
    line-height: 1.3;
    -webkit-user-select: none;
    user-select: none;
}
.vm-combo-opt:hover, .vm-combo-opt.vm-active {
    background: linear-gradient(90deg, rgba(37,99,235,.1), rgba(37,99,235,.05));
    color: #1e40af;
    font-weight: 600;
}
.vm-combo-opt.vm-active { box-shadow: inset 0 0 0 1.5px rgba(37,99,235,.3); }
.vm-combo-empty {
    padding: 18px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    font-style: italic;
}
.vm-combo-list::-webkit-scrollbar { width: 8px; }
.vm-combo-list::-webkit-scrollbar-track { background: transparent; }
.vm-combo-list::-webkit-scrollbar-thumb { background: rgba(15,23,42,.18); border-radius: 999px; }

/* ============ Reduce motion ============ */
@media (prefers-reduced-motion: reduce) {
    .vm-pais-orb, .vm-pulse-dot { animation: none !important; }
}
