/*
Theme Name: RastrearNumero
Theme URI: https://rastrearnumero.com
Author: RastrearNumero Team
Author URI: https://rastrearnumero.com
Description: Theme profesional para rastreo de enlaces e IP. Optimizado para SEO, conversión y AdSense.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rastrearnumero
Tags: seo, tracking, one-column, custom-menu, featured-images
*/

/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --white: #ffffff;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-input: #f1f3f4;
    --bg-hover: #f1f3f4;
    --border: #dfe1e5;
    --border-light: #ebebeb;
    --border-focus: #1a73e8;
    --color-link: #1a0dab;
    --color-link-visited: #681da8;
    --color-primary: #1a73e8;
    --color-primary-dark: #1557b0;
    --color-primary-bg: #e8f0fe;
    --color-text: #202124;
    --color-text-sec: #4d5156;
    --color-text-light: #70757a;
    --color-text-xlight: #9aa0a6;
    --color-green: #188038;
    --color-green-bg: #e6f4ea;
    --color-green-text: #137333;
    --color-red: #d93025;
    --color-amber: #e37400;
    --color-whatsapp: #25D366;
    --font-head: 'Google Sans', 'Product Sans', Arial, sans-serif;
    --font-body: Roboto, Arial, sans-serif;
    --font-mono: 'Roboto Mono', 'Consolas', monospace;
    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-full: 100px;
    --shadow-1: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
    --shadow-2: 0 1px 3px 0 rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
    --shadow-focus: 0 0 0 2px #e8f0fe;
    --max-w: 1100px;
    --hdr-h: 56px;
    --t: .2s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--color-text);
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: var(--color-link-visited); }

/* Reset visited on UI elements */
.nav-main a:visited, .site-logo:visited, .btn-primary:visited,
.read-more:visited, .footer-links a:visited, .breadcrumbs a:visited,
.widget-cats-list a:visited, .share-btn:visited, .post-card-meta a:visited,
.btn-secondary:visited { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-text);
}

.site-container { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.main-content { flex: 1; }

/* ============================================
   HEADER - Google style
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    height: var(--hdr-h);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--hdr-h);
    gap: 16px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; }

.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-icon svg { width: 28px; height: 28px; }

.logo-text {
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-text-sec);
    letter-spacing: -.01em;
}
.logo-text b { font-weight: 500; color: var(--color-text); }

/* Nav */
.nav-main {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-main a {
    color: var(--color-text-sec);
    font-size: .8125rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--r-full);
    transition: background var(--t), color var(--t);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: .01em;
}
.nav-main a:hover {
    background: var(--bg-hover);
    color: var(--color-text);
    text-decoration: none;
}
.nav-main a.current,
.nav-main a[aria-current="page"] {
    color: var(--color-primary);
    background: var(--color-primary-bg);
}

/* Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text-sec);
    font-size: 0;
    transition: background var(--t);
    position: relative;
}
.menu-toggle:hover { background: var(--bg-hover); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 768px) {
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-main {
        display: none;
        position: absolute;
        top: var(--hdr-h);
        left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 8px;
        box-shadow: var(--shadow-2);
    }
    .nav-main.active { display: flex; }
    .nav-main a {
        width: 100%;
        padding: 12px 16px;
        border-radius: var(--r-sm);
        font-size: .875rem;
    }
}

/* ============================================
   HERO / TOOL
   ============================================ */
.hero-tool {
    padding: 48px 0 36px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--color-green-bg);
    color: var(--color-green-text);
    font-size: .6875rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--r-full);
    margin-bottom: 16px;
    letter-spacing: .02em;
}

.hero-tool h1 {
    font-size: clamp(1.625rem, 3.8vw, 2.25rem);
    margin-bottom: 10px;
    font-weight: 400;
}
.hero-tool h1 .hl { color: var(--color-primary); }

.hero-sub {
    font-size: .9375rem;
    color: var(--color-text-sec);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Tool box */
.tool-box {
    max-width: 580px;
    margin: 0 auto 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px;
    box-shadow: var(--shadow-1);
}

.tool-row { display: flex; gap: 8px; }
.tool-row-stacked { display: flex; flex-direction: column; gap: 10px; }

.tool-field { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.tool-label { font-size: .6875rem; color: var(--color-text-light); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }

.tool-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    padding: 11px 14px;
    font-size: .875rem;
    color: var(--color-text);
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--t), background var(--t);
}
.tool-input::placeholder { color: var(--color-text-xlight); }
.tool-input:focus { background: var(--white); border-color: var(--color-primary); }
.tool-input.error { border-color: var(--color-red); }

/* Mode selector */
.mode-group { display: flex; gap: 4px; }
.mode-btn {
    padding: 8px 14px;
    background: var(--bg-input);
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    font-size: .75rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--color-text-sec);
    transition: all var(--t);
    font-family: var(--font-body);
}
.mode-btn:hover { background: var(--border-light); }
.mode-btn.on {
    border-color: var(--color-primary);
    background: var(--color-primary-bg);
    color: var(--color-primary);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .875rem;
    padding: 11px 24px;
    border: none;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background var(--t), box-shadow var(--t);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: .01em;
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-1); color: #fff; text-decoration: none; }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--white);
    color: var(--color-primary);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .8125rem;
    padding: 9px 18px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background var(--t), border-color var(--t);
    white-space: nowrap;
    text-decoration: none;
}
.btn-secondary:hover { background: var(--color-primary-bg); border-color: var(--color-primary); text-decoration: none; }

/* Result */
.tool-result {
    display: none;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--r-sm);
    padding: 14px;
    margin-top: 12px;
    text-align: left;
}
.tool-result.active { display: block; animation: fadeIn .3s ease; }

.result-label {
    font-size: .625rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 4px;
    font-weight: 500;
}

.result-url-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xs);
    padding: 9px 12px;
    margin-bottom: 10px;
}

.result-url {
    flex: 1;
    font-family: var(--font-mono);
    font-size: .8125rem;
    color: var(--color-green);
    word-break: break-all;
}

.btn-copy {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--color-primary);
    font-size: .6875rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: var(--r-xs);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--t);
    font-family: var(--font-body);
    letter-spacing: .02em;
}
.btn-copy:hover { background: var(--color-primary-bg); }

.result-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.result-note { font-size: .6875rem; color: var(--color-text-light); margin-top: 6px; }

@media (max-width: 520px) {
    .tool-row { flex-direction: column; }
    .btn-primary { width: 100%; }
    .tool-box { padding: 16px; }
}

/* Loader */
.tool-loader {
    display: none;
    text-align: center;
    padding: 12px;
    color: var(--color-text-light);
    font-size: .8125rem;
}
.tool-loader.active { display: block; }

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
.hero-stat-n { font-family: var(--font-head); font-size: 1.375rem; font-weight: 400; color: var(--color-text); }
.hero-stat-l { font-size: .6875rem; color: var(--color-text-light); margin-top: 2px; }

@media (max-width: 480px) {
    .hero-stats { gap: 20px; }
    .hero-stat-n { font-size: 1.125rem; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 44px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

.section-hd { text-align: center; margin-bottom: 32px; }
.section-hd h2 { font-size: clamp(1.25rem, 2.8vw, 1.625rem); margin-bottom: 6px; }
.section-hd p { color: var(--color-text-sec); max-width: 460px; margin: 0 auto; font-size: .875rem; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.step-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    padding: 22px 18px;
    text-align: center;
    transition: box-shadow var(--t), border-color var(--t);
}
.step-card:hover { border-color: var(--border); box-shadow: var(--shadow-1); }

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .875rem;
    border-radius: 50%;
    margin-bottom: 12px;
}

.step-card h3 { font-size: .875rem; font-weight: 500; margin-bottom: 4px; }
.step-card p { font-size: .8125rem; color: var(--color-text-sec); line-height: 1.5; }

@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }

/* Benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.benefit-card {
    display: flex; gap: 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--r-sm);
    padding: 16px 14px;
    transition: border-color var(--t);
}
.benefit-card:hover { border-color: var(--border); }

.benefit-icon {
    flex-shrink: 0; width: 32px; height: 32px;
    background: var(--color-primary-bg); border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center; font-size: .9rem;
}

.benefit-card h3 { font-size: .8125rem; font-weight: 500; margin-bottom: 3px; }
.benefit-card p { font-size: .75rem; color: var(--color-text-sec); line-height: 1.5; }

@media (max-width: 640px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ============================================
   AD SPACES
   ============================================ */
.ad-space {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 14px;
    text-align: center;
    margin: 20px 0;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-xlight);
    font-size: .6875rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 660px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:first-child { border-top: 1px solid var(--border-light); }

.faq-question {
    width: 100%; background: none; border: none;
    color: var(--color-text); font-family: var(--font-body);
    font-size: .875rem; text-align: left; padding: 14px 0;
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; gap: 16px; line-height: 1.5;
}
.faq-question:hover { color: var(--color-primary); }
.faq-question::after {
    content: '+'; font-size: 1.125rem; color: var(--color-text-light);
    flex-shrink: 0; transition: transform var(--t); font-weight: 300;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 0 14px; color: var(--color-text-sec); font-size: .8125rem; line-height: 1.7; }

/* ============================================
   CTA
   ============================================ */
.cta-section { padding: 44px 0; text-align: center; }
.cta-box { background: var(--color-primary-bg); border-radius: var(--r-lg); padding: 36px 28px; }
.cta-box h2 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); margin-bottom: 6px; }
.cta-box p { color: var(--color-text-sec); margin-bottom: 16px; max-width: 400px; margin-left: auto; margin-right: auto; font-size: .875rem; }

/* ============================================
   BLOG
   ============================================ */
.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; padding: 36px 0; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } }

.posts-grid { display: grid; gap: 0; }

.post-card { padding: 18px 0; border-bottom: 1px solid var(--border-light); }
.post-card:first-child { padding-top: 0; }

.post-card-thumb { width: 100%; height: 170px; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 10px; }

.post-card-meta { display: flex; align-items: center; gap: 8px; font-size: .6875rem; color: var(--color-text-light); margin-bottom: 4px; }
.post-card-meta .cat { color: var(--color-text-light); }

.post-card h2, .post-card h3 { font-size: 1.0625rem; font-weight: 400; margin-bottom: 3px; line-height: 1.35; }
.post-card h2 a, .post-card h3 a { color: var(--color-link); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; }
.post-card h2 a:visited, .post-card h3 a:visited { color: var(--color-link-visited); }

.post-card-excerpt { font-size: .8125rem; color: var(--color-text-sec); line-height: 1.5; margin-bottom: 4px; }

.post-card-url { font-size: .6875rem; color: var(--color-green); }

.read-more { font-size: .8125rem; color: var(--color-primary); text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 32px; height: 32px; padding: 0 8px;
    border: 1px solid var(--border); border-radius: var(--r-full);
    font-size: .75rem; color: var(--color-primary); text-decoration: none;
}
.pagination a:hover { background: var(--color-primary-bg); text-decoration: none; }
.pagination .current { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

.sidebar-widget {
    border: 1px solid var(--border-light);
    border-radius: var(--r-sm);
    padding: 14px;
}
.sidebar-widget h3 {
    font-size: .6875rem; font-weight: 500; color: var(--color-text-light);
    text-transform: uppercase; letter-spacing: .05em;
    margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border-light);
}

.widget-posts-list { list-style: none; }
.widget-posts-list li { padding: 6px 0; border-bottom: 1px solid var(--border-light); }
.widget-posts-list li:last-child { border-bottom: none; }
.widget-posts-list a { font-size: .8125rem; color: var(--color-link); text-decoration: none; line-height: 1.4; }
.widget-posts-list a:hover { text-decoration: underline; }
.widget-posts-list .post-date { display: block; font-size: .625rem; color: var(--color-text-light); margin-top: 1px; }

.widget-cats-list { list-style: none; }
.widget-cats-list li { margin-bottom: 1px; }
.widget-cats-list a {
    display: flex; justify-content: space-between; align-items: center;
    font-size: .8125rem; color: var(--color-text-sec);
    padding: 5px 8px; border-radius: var(--r-xs);
    transition: background var(--t); text-decoration: none;
}
.widget-cats-list a:hover { background: var(--bg-hover); text-decoration: none; }
.widget-cats-list .count { background: var(--bg-alt); font-size: .625rem; padding: 1px 6px; border-radius: var(--r-full); color: var(--color-text-light); }

/* ============================================
   SINGLE POST
   ============================================ */
.single-article { max-width: 700px; margin: 0 auto; padding: 28px 0 56px; }

.single-meta { display: flex; align-items: center; gap: 10px; font-size: .6875rem; color: var(--color-text-light); margin-bottom: 10px; flex-wrap: wrap; }
.single-meta .cat-link { color: var(--color-text-light); text-decoration: none; font-weight: 500; }

.single-article h1 { font-size: clamp(1.375rem, 3.5vw, 1.875rem); margin-bottom: 14px; font-weight: 400; line-height: 1.35; }
.single-featured-img { width: 100%; border-radius: var(--r-sm); margin-bottom: 20px; }

.article-content { font-size: .9375rem; line-height: 1.8; }
.article-content h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.article-content h3 { font-size: 1.0625rem; margin: 24px 0 8px; font-weight: 500; }
.article-content p { margin-bottom: 14px; }
.article-content ul, .article-content ol { margin: 0 0 14px 20px; }
.article-content li { margin-bottom: 4px; }
.article-content blockquote { border-left: 3px solid var(--color-primary); background: var(--bg-alt); padding: 12px 16px; margin: 16px 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--color-text-sec); }
.article-content pre { background: var(--bg-alt); border: 1px solid var(--border-light); border-radius: var(--r-sm); padding: 14px; overflow-x: auto; font-family: var(--font-mono); font-size: .8125rem; margin-bottom: 14px; }
.article-content code { font-family: var(--font-mono); background: var(--bg-alt); padding: 1px 4px; border-radius: 3px; font-size: .875em; }

.article-cta { background: var(--color-primary-bg); border-radius: var(--r-md); padding: 24px; text-align: center; margin: 28px 0; }
.article-cta h3 { font-size: 1rem; margin-bottom: 4px; }
.article-cta p { color: var(--color-text-sec); margin-bottom: 12px; font-size: .8125rem; }

.share-bar { display: flex; align-items: center; gap: 8px; padding: 14px 0; margin-top: 20px; border-top: 1px solid var(--border-light); }
.share-bar span { font-size: .6875rem; color: var(--color-text-light); }
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid var(--border); color: var(--color-text-light);
    font-size: .75rem; text-decoration: none; transition: all var(--t);
}
.share-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-bg); text-decoration: none; }

.related-posts { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.related-posts h2 { font-size: 1rem; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 540px) { .related-grid { grid-template-columns: 1fr; } }

/* ============================================
   PAGE
   ============================================ */
.page-content { max-width: 700px; margin: 0 auto; padding: 28px 0 56px; }
.page-content h1 { font-size: clamp(1.375rem, 3.5vw, 1.875rem); margin-bottom: 20px; font-weight: 400; }
.page-content .entry-content { font-size: .9375rem; line-height: 1.8; }
.page-content .entry-content p { margin-bottom: 14px; }

/* ============================================
   ARCHIVE
   ============================================ */
.archive-header { padding: 28px 0 0; text-align: center; }
.archive-header h1 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); margin-bottom: 4px; }
.archive-header p { color: var(--color-text-sec); max-width: 440px; margin: 0 auto; font-size: .8125rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border-light); padding: 28px 0 14px; margin-top: auto; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; margin-bottom: 20px; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 16px; } }

.footer-brand p { font-size: .75rem; color: var(--color-text-sec); margin-top: 6px; max-width: 280px; line-height: 1.5; }

.footer-links h4 { font-size: .625rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-light); margin-bottom: 8px; font-weight: 500; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 3px; }
.footer-links a { font-size: .75rem; color: var(--color-text-sec); text-decoration: none; }
.footer-links a:hover { color: var(--color-primary); text-decoration: none; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border-light); font-size: .6875rem; color: var(--color-text-light); flex-wrap: wrap; gap: 6px; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed; bottom: 18px; right: 18px;
    width: 46px; height: 46px; background: var(--color-whatsapp);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: #fff;
    box-shadow: 0 2px 8px rgba(37,211,102,.4);
    z-index: 999; transition: all var(--t); text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 4px 16px rgba(37,211,102,.5); color: #fff; text-decoration: none; }
.whatsapp-float svg { width: 24px; height: 24px; fill: currentColor; }

/* ============================================
   TOAST
   ============================================ */
.rn-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--color-text);
    color: #fff;
    font-size: .8125rem;
    padding: 10px 20px;
    border-radius: var(--r-sm);
    z-index: 10000;
    opacity: 0;
    transition: all .3s ease;
    pointer-events: none;
    font-family: var(--font-body);
}
.rn-toast.active { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================
   UTILITIES
   ============================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.breadcrumbs { font-size: .6875rem; color: var(--color-text-light); padding: 8px 0; }
.breadcrumbs a { color: var(--color-text-light); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs .sep { margin: 0 5px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; animation: fadeIn .3s ease forwards; }
.animate-in:nth-child(1) { animation-delay: .05s; }
.animate-in:nth-child(2) { animation-delay: .1s; }
.animate-in:nth-child(3) { animation-delay: .15s; }
.animate-in:nth-child(4) { animation-delay: .2s; }

/* WP Widget overrides */
.sidebar-widget ul { list-style: none; }
.sidebar-widget li { padding: 3px 0; }
.sidebar-widget li a { font-size: .8125rem; color: var(--color-link); text-decoration: none; }
.sidebar-widget li a:hover { text-decoration: underline; }
