/* =========================================================
   PLAN SEO INTERMEDIO
========================================================= */

.seo-mid-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #f28a1a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* =========================================================
   BOTONES
========================================================= */

.seo-mid-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease;
}

.seo-mid-btn:hover {
    transform: translateY(-2px);
}

.seo-mid-btn--primary {
    background: #f28a1a;
    color: #181818;
}

.seo-mid-btn--secondary {
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    color: #222;
}

.seo-mid-btn--whatsapp {
    background: #2f9b57;
    color: #fff;
}


/* =========================================================
   HERO
========================================================= */

.seo-mid-hero {
    position: relative;
    overflow: hidden;
    padding: 148px 24px 76px;
    background:
        radial-gradient(circle at 82% 30%, rgba(242,138,26,.12), transparent 31%),
        #f7f7f5;
}

.seo-mid-hero__inner {
    width: min(1180px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0,1.08fr) minmax(330px,.92fr);
    align-items: center;
    gap: 70px;
}

.seo-mid-hero__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #f28a1a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.seo-mid-hero h1 {
    max-width: 760px;
    margin: 0 0 20px;
    color: #171717;
    font-size: clamp(44px,6vw,72px);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -3px;
}

.seo-mid-hero h1 span {
    display: block;
    color: #f28a1a;
}

.seo-mid-hero__content > p {
    max-width: 680px;
    margin: 0 0 28px;
    color: #666;
    font-size: clamp(15px,1.8vw,18px);
    line-height: 1.7;
}

.seo-mid-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.seo-mid-hero__status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
}

.seo-mid-hero__status > span {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(47,155,87,.12);
    color: #2f9b57;
    font-size: 11px;
    font-weight: 800;
}

.seo-mid-hero__status p {
    margin: 0;
    color: #777;
    font-size: 10px;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.seo-mid-hero__visual {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-mid-dashboard {
    position: relative;
    z-index: 2;
    width: min(410px,100%);
    padding: 23px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(0,0,0,.10);
}

.seo-mid-dashboard__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.seo-mid-dashboard__top small {
    display: block;
    margin-bottom: 3px;
    color: #999;
    font-size: 8px;
    text-transform: uppercase;
}

.seo-mid-dashboard__top strong {
    color: #333;
    font-size: 12px;
}

.seo-mid-dashboard__top > span {
    color: #2f9b57;
    font-size: 24px;
}

.seo-mid-dashboard__graph {
    height: 170px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 0 5px;
    border-bottom: 1px solid #e5e5e3;
}

.seo-mid-dashboard__graph i {
    flex: 1;
    display: block;
    border-radius: 5px 5px 0 0;
    background: #e8e8e6;
}

.seo-mid-dashboard__graph i:nth-last-child(-n+3) {
    background: rgba(242,138,26,.72);
}

.seo-mid-dashboard__stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 7px;
    margin-top: 16px;
}

.seo-mid-dashboard__stats div {
    padding: 8px 5px;
    border-radius: 7px;
    background: #f7f7f5;
    text-align: center;
}

.seo-mid-dashboard__stats small {
    display: block;
    color: #999;
    font-size: 7px;
}

.seo-mid-dashboard__stats strong {
    display: block;
    margin-top: 2px;
    color: #444;
    font-size: 8px;
}

.seo-mid-hero__badge {
    position: absolute;
    z-index: 4;
    right: -5px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border-radius: 12px;
    background: #181818;
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
}

.seo-mid-hero__badge > span {
    color: #f28a1a;
    font-size: 18px;
    font-weight: 800;
}

.seo-mid-hero__badge small {
    display: block;
    color: rgba(255,255,255,.45);
    font-size: 8px;
}

.seo-mid-hero__badge strong {
    display: block;
    color: #fff;
    font-size: 10px;
}


/* =========================================================
   CONTENT TWO COLUMN
========================================================= */

.seo-mid-about,
.seo-mid-content,
.seo-mid-measure,
.seo-mid-time {
    padding: 82px 24px;
    background: #fff;
}

.seo-mid-about__inner,
.seo-mid-content__inner,
.seo-mid-measure__inner,
.seo-mid-time__inner {
    width: min(1020px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 65px;
}

.seo-mid-about h2,
.seo-mid-pages h2,
.seo-mid-competition h2,
.seo-mid-content h2,
.seo-mid-measure h2,
.seo-mid-maintenance h2,
.seo-mid-time h2 {
    margin: 0;
    color: #191919;
    font-size: clamp(30px,4vw,44px);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -1.3px;
}

.seo-mid-about h2 strong,
.seo-mid-pages h2 strong,
.seo-mid-competition h2 strong,
.seo-mid-content h2 strong,
.seo-mid-measure h2 strong,
.seo-mid-maintenance h2 strong,
.seo-mid-time h2 strong {
    font-weight: 800;
}

.seo-mid-about p,
.seo-mid-pages p,
.seo-mid-competition p,
.seo-mid-content p,
.seo-mid-measure p,
.seo-mid-maintenance p,
.seo-mid-time p {
    margin: 0 0 11px;
    color: #696969;
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   PAGES
========================================================= */

.seo-mid-pages {
    padding: 68px 24px;
    background: #f7f7f5;
}

.seo-mid-pages__inner {
    width: min(950px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
}

.seo-mid-pages__number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #181818;
    color: #f28a1a;
    font-size: 17px;
    font-weight: 800;
}


/* =========================================================
   INCLUDES
========================================================= */

.seo-mid-includes {
    padding: 84px 24px;
    background: #181818;
}

.seo-mid-includes__inner {
    width: min(1080px,100%);
    margin: 0 auto;
}

.seo-mid-includes__header {
    max-width: 760px;
    margin-bottom: 40px;
}

.seo-mid-includes__header h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(30px,4vw,45px);
    line-height: 1.1;
    font-weight: 500;
}

.seo-mid-includes__header h2 strong {
    color: #f28a1a;
    font-weight: 800;
}

.seo-mid-includes__header p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 1.75;
}

.seo-mid-includes__grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    border-top: 1px solid rgba(255,255,255,.1);
    border-left: 1px solid rgba(255,255,255,.1);
}

.seo-mid-includes__grid article {
    min-height: 210px;
    padding: 27px;
    border-right: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.seo-mid-includes__grid span {
    color: #f28a1a;
    font-size: 10px;
    font-weight: 700;
}

.seo-mid-includes__grid h3 {
    margin: 27px 0 7px;
    color: #fff;
    font-size: 17px;
}

.seo-mid-includes__grid p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   COMPETITION
========================================================= */

.seo-mid-competition {
    padding: 82px 24px;
    background: #f7f7f5;
}

.seo-mid-competition__inner {
    width: min(1050px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr .85fr;
    align-items: center;
    gap: 70px;
}

.seo-mid-competition__visual {
    border-top: 1px solid rgba(0,0,0,.08);
}

.seo-mid-competition__visual article {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 19px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.seo-mid-competition__visual > article > span {
    color: #f28a1a;
    font-size: 11px;
    font-weight: 800;
}

.seo-mid-competition__visual strong {
    display: block;
    color: #333;
    font-size: 13px;
}

.seo-mid-competition__visual small {
    display: block;
    margin-top: 3px;
    color: #888;
    font-size: 9px;
}


/* =========================================================
   STRUCTURE
========================================================= */

.seo-mid-structure {
    padding: 82px 24px;
    background: #f7f7f5;
}

.seo-mid-structure__inner {
    width: min(1080px,100%);
    margin: 0 auto;
}

.seo-mid-structure__header {
    max-width: 760px;
    margin-bottom: 40px;
}

.seo-mid-structure__header h2 {
    margin: 0;
    color: #191919;
    font-size: clamp(30px,4vw,44px);
    line-height: 1.12;
    font-weight: 500;
}

.seo-mid-structure__header h2 strong {
    font-weight: 800;
}

.seo-mid-structure__flow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-mid-structure__flow article {
    min-width: 150px;
    padding: 22px 16px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.seo-mid-structure__flow article > span {
    display: block;
    margin-bottom: 15px;
    color: #f28a1a;
    font-size: 9px;
    font-weight: 700;
}

.seo-mid-structure__flow strong {
    display: block;
    color: #222;
    font-size: 12px;
}

.seo-mid-structure__flow small {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 8px;
}

.seo-mid-structure__flow > i {
    margin: 0 11px;
    color: #f28a1a;
    font-style: normal;
    font-size: 18px;
}

.seo-mid-structure__result {
    border-color: rgba(47,155,87,.25) !important;
}


/* =========================================================
   MEASURE
========================================================= */

.seo-mid-measure {
    background: #fff;
}


/* =========================================================
   MAINTENANCE
========================================================= */

.seo-mid-maintenance {
    padding: 74px 24px;
    background: #f7f7f5;
}

.seo-mid-maintenance__inner {
    width: min(950px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
}

.seo-mid-maintenance__symbol {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f28a1a;
    border-radius: 50%;
    color: #f28a1a;
    font-size: 25px;
}


/* =========================================================
   REPORT
========================================================= */

.seo-mid-report {
    padding: 82px 24px;
    background: #fff;
}

.seo-mid-report__inner {
    width: min(1050px,100%);
    margin: 0 auto;
}

.seo-mid-report__header {
    max-width: 760px;
    margin-bottom: 38px;
}

.seo-mid-report__header h2 {
    margin: 0;
    color: #191919;
    font-size: clamp(30px,4vw,44px);
    font-weight: 500;
}

.seo-mid-report__header h2 strong {
    font-weight: 800;
}

.seo-mid-report__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.seo-mid-report__grid article {
    padding: 25px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 13px;
    background: #f8f8f6;
}

.seo-mid-report__grid article > span {
    color: #f28a1a;
    font-size: 9px;
    font-weight: 700;
}

.seo-mid-report__grid small {
    display: block;
    margin-top: 18px;
    color: #999;
    font-size: 8px;
}

.seo-mid-report__grid h3 {
    margin: 4px 0 7px;
    color: #222;
    font-size: 17px;
}

.seo-mid-report__grid p {
    margin: 0;
    color: #707070;
    font-size: 11px;
    line-height: 1.7;
}

.seo-mid-report__grid > div {
    color: #f28a1a;
    font-size: 21px;
}

.seo-mid-report__final {
    border-color: rgba(47,155,87,.24) !important;
}


/* =========================================================
   WARNING
========================================================= */

.seo-mid-warning {
    padding: 70px 24px;
    background: #f7f7f5;
}

.seo-mid-warning__inner {
    width: min(950px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 27px;
    padding: 28px;
    border-left: 3px solid #f28a1a;
    background: #fffaf4;
}

.seo-mid-warning__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f28a1a;
    border-radius: 50%;
    color: #f28a1a;
    font-size: 23px;
}

.seo-mid-warning__inner > div:last-child > span {
    display: block;
    margin-bottom: 6px;
    color: #c96f10;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.seo-mid-warning h2 {
    margin: 0 0 12px;
    color: #222;
    font-size: clamp(24px,3vw,33px);
    line-height: 1.18;
    font-weight: 500;
}

.seo-mid-warning h2 strong {
    font-weight: 800;
}

.seo-mid-warning p {
    margin: 0 0 8px;
    color: #695f55;
    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   TIME
========================================================= */

.seo-mid-time {
    background: #fff;
}


/* =========================================================
   LEVELS
========================================================= */

.seo-mid-level {
    padding: 82px 24px;
    background: #f7f7f5;
}

.seo-mid-level__inner {
    width: min(1080px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.seo-mid-level article {
    min-height: 230px;
    padding: 28px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: #fff;
}

.seo-mid-level article > span {
    color: #f28a1a;
    font-size: 13px;
    font-weight: 800;
}

.seo-mid-level small {
    display: block;
    margin-top: 25px;
    color: #999;
    font-size: 8px;
    text-transform: uppercase;
}

.seo-mid-level h3 {
    margin: 5px 0 8px;
    color: #222;
    font-size: 19px;
}

.seo-mid-level p {
    margin: 0 0 12px;
    color: #707070;
    font-size: 11px;
    line-height: 1.7;
}

.seo-mid-level a {
    color: #d87815;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.seo-mid-level__current {
    border-color: rgba(242,138,26,.3) !important;
    background: #fffaf4 !important;
}

.seo-mid-level__arrow {
    color: #f28a1a;
    font-size: 22px;
}


/* =========================================================
   CTA
========================================================= */

.seo-mid-cta {
    padding: 74px 24px;
    background: #181818;
}

.seo-mid-cta__inner {
    width: min(1050px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 50px;
}

.seo-mid-cta__inner > div:first-child > span {
    display: block;
    margin-bottom: 8px;
    color: #f28a1a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.seo-mid-cta h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(30px,4vw,44px);
    line-height: 1.1;
    font-weight: 500;
}

.seo-mid-cta h2 strong {
    color: #f28a1a;
    font-weight: 800;
}

.seo-mid-cta p {
    max-width: 670px;
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    line-height: 1.75;
}

.seo-mid-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .seo-mid-hero__inner,
    .seo-mid-about__inner,
    .seo-mid-competition__inner,
    .seo-mid-content__inner,
    .seo-mid-measure__inner,
    .seo-mid-time__inner {
        grid-template-columns: 1fr;
    }

    .seo-mid-includes__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .seo-mid-report__grid,
    .seo-mid-level__inner {
        grid-template-columns: 1fr;
    }

    .seo-mid-report__grid > div,
    .seo-mid-level__arrow {
        justify-self: center;
        transform: rotate(90deg);
    }

    .seo-mid-cta__inner {
        grid-template-columns: 1fr;
    }

    .seo-mid-cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

}


@media (max-width: 700px) {

    .seo-mid-structure__flow {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .seo-mid-structure__flow > i {
        margin: 0;
        justify-self: center;
        transform: rotate(90deg);
    }

}


@media (max-width: 600px) {

    .seo-mid-hero {
        padding: 125px 20px 52px;
    }

    .seo-mid-hero h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .seo-mid-hero__actions {
        flex-direction: column;
    }

    .seo-mid-hero__actions .seo-mid-btn {
        width: 100%;
    }

    .seo-mid-about,
    .seo-mid-pages,
    .seo-mid-includes,
    .seo-mid-competition,
    .seo-mid-content,
    .seo-mid-structure,
    .seo-mid-measure,
    .seo-mid-maintenance,
    .seo-mid-report,
    .seo-mid-warning,
    .seo-mid-time,
    .seo-mid-level,
    .seo-mid-cta {
        padding: 58px 20px;
    }

    .seo-mid-pages__inner,
    .seo-mid-maintenance__inner,
    .seo-mid-warning__inner {
        grid-template-columns: 1fr;
    }

    .seo-mid-includes__grid {
        grid-template-columns: 1fr;
    }

    .seo-mid-cta__actions {
        flex-direction: column;
    }

    .seo-mid-cta__actions .seo-mid-btn {
        width: 100%;
    }

}