.seo {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    scroll-margin-top: 70px;
    margin: 0px 55px 10px 20px;
    margin-bottom: 6rem;
}

.seo .titulo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    padding-left: 3rem;
}

.seo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    width: fit-content;
}

.seo-badge i {
    font-size: 0.85rem;
    color: #f0e550;
}

.seo-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.google {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.g { color: #4285f4; }
.o { color: #ea4335; }
.oo { color: #fbbc05; }
.gg { color: #4285f4; }
.l { color: #34a853; }
.e { color: #ea4335; }

.seo-title .highlight-orange {
    background: linear-gradient(135deg, #fbbc05, #fdd835);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 90%;
}

.seo-description strong {
    color: #3386f3;
}

.seo-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.seo-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #ffffff;
}

.seo-feature i {
    width: 28px;
    height: 28px;
    background: #e8f0fe;
    color: #1a73e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.seo-feature:hover i {
    background: #1a73e8;
    color: white;
    transform: scale(1.05);
}

/*======================================================
    VISTA
======================================================*/
.seo .vista {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.seo-wrapper-right {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.seo-box {
    max-width: 700px;
    height: 700px;
    width: 100%;
    background: #fff;
    border-radius: 24px;
    padding: 2rem 1.2rem 0.8rem;
    box-shadow: 10px 20px 38px rgba(92, 92, 92, 0.479);
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.cards-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.head-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.3rem;
    border-bottom: 1.5px solid #f0f2f5;
    flex-wrap: wrap;
}

.head-nav .nav-item {
    font-size: 0.7rem;
    color: #2a3649;
    padding: 0.2rem 0.5rem;
    border-radius: 16px;
    cursor: default;
    font-weight: 500;
    transition: all 0.2s;
}

.head-nav .nav-item:hover {
    background: #f0f2f5;
}

.head-nav .nav-item.active {
    color: #1a73e8;
    border-bottom: 2px solid #1a73e8;
    border-radius: 0;
}

.head-nav .nav-item.modo-ia {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.65rem;
}

.head-nav .nav-item.modo-ia i {
    font-size: 0.6rem;
    margin-right: 3px;
}

.search-skel {
    background: #f1f4f9;
    border-radius: 32px;
    padding: 0.3rem 0.3rem 0.3rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
    border: 1.5px solid #e4e9f0;
    min-height: 38px;
    transition: all 0.3s;
    cursor: default;
}

.search-skel:hover {
    border-color: #c5d0de;
}

.search-skel .search-icon {
    color: #5f6b7a;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.search-skel .inp {
    flex: 1;
    height: 26px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.75rem;
    color: #0b1a33;
    font-family: 'Inter', sans-serif;
    cursor: default;
    user-select: none;
}

.search-skel .btn {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 0.3rem 1rem;
    border-radius: 24px;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: default;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
    transition: all 0.2s;
    user-select: none;
    margin-right: 0.3rem;
}

.search-skel:hover .btn {
    background: #1557b0;
}

.cards {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
    overflow-y: auto;
}

.card-skel {
    background: #f8faff;
    border-radius: 14px;
    padding: 0.7rem 1rem;
    border: 1.5px solid #eef2f8;
    position: relative;
    overflow: hidden;
    min-height: 90px;
    transition: all 0.4s ease;
    cursor: default;
}

.card-skel:hover {
    border-color: #dce3ed;
}

.card-skel.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation: shimmer 1.8s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(0%); }
    100% { transform: translateX(200%); }
}

.skel-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.skel-tag {
    width: 50px;
    height: 16px;
    background: #dce3ed;
    border-radius: 24px;
}

.skel-url {
    width: 65px;
    height: 11px;
    background: #dce3ed;
    border-radius: 4px;
}

.skel-title {
    width: 65%;
    height: 17px;
    background: #dce3ed;
    border-radius: 5px;
    margin-bottom: 0.4rem;
}

.skel-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.skel-text .line {
    height: 11px;
    background: #dce3ed;
    border-radius: 4px;
}

.skel-text .line:last-child {
    width: 60%;
}

.skel-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    padding-top: 0.4rem;
    border-top: 1.5px solid #eef2f8;
}

.skel-metric {
    display: flex;
    align-items: center;
    gap: 5px;
}

.skel-metric .ico2 {
    width: 12px;
    height: 12px;
    background: #dce3ed;
    border-radius: 3px;
}

.skel-metric .pill {
    width: 28px;
    height: 11px;
    background: #dce3ed;
    border-radius: 4px;
}

.skel-metric .bar {
    width: 45px;
    height: 6px;
    background: #dce3ed;
    border-radius: 8px;
}

.skel-metric .pill-sm {
    width: 18px;
    height: 11px;
    background: #dce3ed;
    border-radius: 4px;
}

.skel-image {
    width: 32px;
    height: 32px;
    background: #dce3ed;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 0.4rem;
}

.card-skel:nth-child(1) .skel-tag,
.card-skel:nth-child(1) .skel-title,
.card-skel:nth-child(1) .skel-text .line,
.card-skel:nth-child(1) .skel-metric .ico2,
.card-skel:nth-child(1) .skel-metric .bar,
.card-skel:nth-child(1) .skel-image {
    background: #c5d8f0;
}

.card-skel:nth-child(2) .skel-tag,
.card-skel:nth-child(2) .skel-title,
.card-skel:nth-child(2) .skel-text .line,
.card-skel:nth-child(2) .skel-metric .ico2,
.card-skel:nth-child(2) .skel-metric .bar,
.card-skel:nth-child(2) .skel-image {
    background: #d4e8d4;
}

.card-skel:nth-child(3) .skel-tag,
.card-skel:nth-child(3) .skel-title,
.card-skel:nth-child(3) .skel-text .line,
.card-skel:nth-child(3) .skel-metric .ico2,
.card-skel:nth-child(3) .skel-metric .bar,
.card-skel:nth-child(3) .skel-image {
    background: #f0d8d4;
}

.real {
    display: none;
    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-skel.loaded .real {
    display: block;
}

.card-skel.loaded .skel-placeholder {
    display: none;
}

.card-skel.loaded.shimmer::after {
    display: none;
}

.card-skel.loaded {
    border-color: #dce3ed;
}

.real-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.1rem;
}

.real-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: white;
}

.real-image.img-blue {
    background: linear-gradient(135deg, #1a73e8, #4c8bf5);
}
.real-image.img-green {
    background: linear-gradient(135deg, #34a853, #66bb6a);
}
.real-image.img-orange {
    background: linear-gradient(135deg, #fbbc05, #fdd835);
}

.real-title-wrap {
    flex: 1;
}

.real-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0b1a33;
}

.real-title a {
    color: #1a73e8;
    text-decoration: none;
    cursor: default;
}

.real-title a:hover {
    text-decoration: underline;
}

.real-url {
    font-size: 0.6rem;
    color: #4d5a6e;
    margin-bottom: 0.1rem;
}

.real-url i {
    color: #1e7e34;
    font-size: 0.5rem;
}

.real-desc {
    font-size: 0.7rem;
    line-height: 1.4;
    color: #2a3649;
    margin-bottom: 0.4rem;
    margin-top: 0.1rem;
}

.real-desc strong {
    color: #1a73e8;
}

.real-desc .highlight {
    background: #fef6e0;
    padding: 0 3px;
    border-radius: 3px;
    font-weight: 500;
}

.real-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    padding-top: 0.4rem;
    border-top: 1.5px solid #eef2f8;
}

.real-metric {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.65rem;
    color: #2a3649;
}

.real-metric i {
    color: #5f6b7a;
    font-size: 0.6rem;
    width: 0.75rem;
}

.real-metric .val {
    font-weight: 600;
    color: #0b1a33;
}

.real-metric .lbl {
    color: #6f7b8e;
}

.real-bar {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.real-bar .track {
    width: 45px;
    height: 5px;
    background: #e4eaf2;
    border-radius: 8px;
    overflow: hidden;
}

.real-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #1a73e8, #4c8bf5);
    border-radius: 8px;
}

.footer-mini {
    margin-top: 0.8rem;
    text-align: center;
    font-size: 0.55rem;
    color: #b3c0d2;
    border-top: 1.5px solid #f0f2f5;
    padding-top: 0.6rem;
    flex-shrink: 0;
}

.footer-mini i {
    margin: 0 3px;
}

/* ==========================================
   RESPONSIVE - SEO SECTION
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .seo {
        grid-template-columns: 1fr 1fr;
        margin: 0px 20px 10px 20px;
        gap: 20px;
    }

    .seo .titulo {
        padding-left: 2rem;
        padding-right: 1rem;
    }

    .seo-title {
        font-size: 2.8rem;
    }

    .google {
        font-size: 2.8rem;
    }

    .seo-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .seo-box {
        height: 600px;
        max-width: 100%;
        padding: 1.5rem 1rem 0.6rem;
    }

    .head-nav .nav-item {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }

    .search-skel {
        min-height: 34px;
        padding: 0.2rem 0.2rem 0.2rem 0.8rem;
    }

    .search-skel .inp {
        font-size: 0.7rem;
        height: 22px;
    }

    .search-skel .btn {
        font-size: 0.6rem;
        padding: 0.2rem 0.8rem;
    }

    .card-skel {
        padding: 0.6rem 0.8rem;
        min-height: 80px;
    }

    .real-title {
        font-size: 0.8rem;
    }

    .real-desc {
        font-size: 0.65rem;
    }

    .real-metrics {
        gap: 0.3rem 0.8rem;
    }

    .real-metric {
        font-size: 0.6rem;
    }

    .real-bar .track {
        width: 35px;
    }

    .footer-mini {
        font-size: 0.5rem;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .seo {
        display: flex;
        flex-direction: column;
        margin: 0px 10px 10px 10px;
        gap: 15px;
    }

    .seo .titulo {
        padding: 1.5rem 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        order: 1;
        width: 100%;
    }

    .seo .vista {
        order: 2;
        width: 100%;
        padding: 10px;
        min-height: 500px;
    }

    .seo-wrapper-right {
        height: auto;
        min-height: 500px;
    }

    .seo-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }

    .seo-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .google {
        font-size: 2.2rem;
    }

    .seo-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .seo-features {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .seo-feature {
        font-size: 0.85rem;
    }

    .seo-feature i {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .seo-box {
        height: 520px;
        max-width: 100%;
        padding: 1rem 0.8rem 0.5rem;
        border-radius: 16px;
    }

    .head-nav {
        gap: 0.1rem;
        margin-bottom: 0.6rem;
        padding-bottom: 0.2rem;
    }

    .head-nav .nav-item {
        font-size: 0.55rem;
        padding: 0.1rem 0.35rem;
    }

    .head-nav .nav-item.modo-ia {
        font-size: 0.55rem;
    }

    .search-skel {
        min-height: 30px;
        padding: 0.2rem 0.2rem 0.2rem 0.7rem;
        margin-bottom: 0.6rem;
        border-radius: 24px;
    }

    .search-skel .search-icon {
        font-size: 0.65rem;
    }

    .search-skel .inp {
        font-size: 0.65rem;
        height: 20px;
    }

    .search-skel .btn {
        font-size: 0.55rem;
        padding: 0.15rem 0.7rem;
        border-radius: 20px;
    }

    .cards {
        gap: 0.4rem;
    }

    .card-skel {
        padding: 0.5rem 0.7rem;
        min-height: 70px;
        border-radius: 12px;
    }

    .skel-meta {
        margin-bottom: 0.3rem;
        gap: 0.4rem;
    }

    .skel-tag {
        width: 40px;
        height: 14px;
    }

    .skel-url {
        width: 50px;
        height: 10px;
    }

    .skel-title {
        height: 15px;
        margin-bottom: 0.3rem;
    }

    .skel-text .line {
        height: 10px;
    }

    .skel-metrics {
        gap: 0.3rem 0.8rem;
        padding-top: 0.3rem;
    }

    .skel-metric .pill {
        width: 22px;
        height: 10px;
    }

    .skel-metric .bar {
        width: 35px;
        height: 5px;
    }

    .skel-metric .pill-sm {
        width: 15px;
        height: 10px;
    }

    .skel-image {
        width: 26px;
        height: 26px;
        margin-right: 0.3rem;
    }

    .real-url {
        font-size: 0.5rem;
    }

    .real-header {
        gap: 0.4rem;
    }

    .real-image {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    .real-title {
        font-size: 0.7rem;
    }

    .real-desc {
        font-size: 0.6rem;
        line-height: 1.3;
        margin-bottom: 0.3rem;
    }

    .real-metrics {
        gap: 0.2rem 0.6rem;
        padding-top: 0.3rem;
    }

    .real-metric {
        font-size: 0.55rem;
    }

    .real-metric i {
        font-size: 0.5rem;
        width: 0.6rem;
    }

    .real-bar .track {
        width: 30px;
        height: 4px;
    }

    .footer-mini {
        font-size: 0.45rem;
        margin-top: 0.5rem;
        padding-top: 0.4rem;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .seo {
        margin: 0px 5px 10px 5px;
        gap: 10px;
    }

    .seo .titulo {
        padding: 1rem 0.8rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .seo-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.6rem;
        gap: 0.3rem;
        margin-bottom: 0.6rem;
    }

    .seo-badge i {
        font-size: 0.65rem;
    }

    .seo-title {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .google {
        font-size: 1.8rem;
    }

    .seo-description {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .seo-features {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .seo-feature {
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .seo-feature i {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }

    .seo .vista {
        padding: 5px;
        min-height: 450px;
    }

    .seo-box {
        height: 480px;
        padding: 0.6rem 0.5rem 0.4rem;
        border-radius: 12px;
        box-shadow: 5px 10px 20px rgba(92, 92, 92, 0.3);
    }

    .head-nav .nav-item {
        font-size: 0.5rem;
        padding: 0.1rem 0.25rem;
    }

    .head-nav .nav-item.modo-ia {
        font-size: 0.5rem;
        padding: 0.1rem 0.3rem;
    }

    .search-skel {
        min-height: 26px;
        padding: 0.15rem 0.15rem 0.15rem 0.5rem;
        margin-bottom: 0.4rem;
        border-radius: 20px;
        border-width: 1px;
    }

    .search-skel .search-icon {
        font-size: 0.55rem;
    }

    .search-skel .inp {
        font-size: 0.55rem;
        height: 18px;
    }

    .search-skel .btn {
        font-size: 0.5rem;
        padding: 0.1rem 0.5rem;
        border-radius: 16px;
    }

    .card-skel {
        padding: 0.4rem 0.5rem;
        min-height: 60px;
        border-radius: 10px;
        border-width: 1px;
    }

    .skel-tag {
        width: 35px;
        height: 12px;
    }

    .skel-url {
        width: 40px;
        height: 8px;
    }

    .skel-title {
        height: 13px;
    }

    .skel-text .line {
        height: 8px;
    }

    .skel-metric .pill {
        width: 18px;
        height: 8px;
    }

    .skel-metric .bar {
        width: 28px;
        height: 4px;
    }

    .skel-metric .pill-sm {
        width: 12px;
        height: 8px;
    }

    .skel-image {
        width: 22px;
        height: 22px;
        margin-right: 0.2rem;
    }

    .real-url {
        font-size: 0.45rem;
        margin-bottom: 0.05rem;
    }

    .real-url i {
        font-size: 0.4rem;
    }

    .real-image {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
    }

    .real-title {
        font-size: 0.6rem;
    }

    .real-desc {
        font-size: 0.55rem;
        line-height: 1.2;
    }

    .real-metric {
        font-size: 0.5rem;
    }

    .real-metric i {
        font-size: 0.45rem;
        width: 0.5rem;
    }

    .real-bar .track {
        width: 25px;
        height: 3px;
    }

    .real-bar .val {
        font-size: 0.5rem;
    }

    .footer-mini {
        font-size: 0.4rem;
        margin-top: 0.4rem;
        padding-top: 0.3rem;
        border-top-width: 1px;
    }

    .footer-mini i {
        font-size: 0.4rem;
    }
}

/* Móvil muy pequeño */
@media (max-width: 360px) {
    .seo-title {
        font-size: 1.5rem;
    }

    .google {
        font-size: 1.5rem;
    }

    .seo-box {
        height: 440px;
        padding: 0.4rem 0.4rem 0.3rem;
    }

    .head-nav .nav-item {
        font-size: 0.45rem;
        padding: 0.05rem 0.2rem;
    }

    .search-skel .inp {
        font-size: 0.5rem;
    }

    .search-skel .btn {
        font-size: 0.45rem;
        padding: 0.08rem 0.4rem;
    }

    .card-skel {
        padding: 0.3rem 0.4rem;
        min-height: 50px;
    }

    .real-title {
        font-size: 0.55rem;
    }

    .real-desc {
        font-size: 0.5rem;
    }

    .real-metric {
        font-size: 0.45rem;
    }
}

