/* =========================================================
   GENERALES
========================================================= */

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

.w3c-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;
}

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

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

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

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


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

.w3c-hero {
    position: relative;
    overflow: hidden;

    padding: 148px 24px 76px;

    background:
        linear-gradient(
            90deg,
            rgba(247,247,245,.97) 0%,
            rgba(247,247,245,.93) 38%,
            rgba(247,247,245,.74) 66%,
            rgba(247,247,245,.48) 100%
        ),
        url("../../secciones/w3c.webp");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.w3c-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;
}

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

.w3c-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;
}

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

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

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

.w3c-hero__note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: #777;
    font-size: 11px;
}

.w3c-hero__note > span {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(242,138,26,.12);
    color: #f28a1a;
    font-weight: 800;
}

.w3c-hero__note p {
    margin: 0;
}


/* CODE VISUAL */

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

.w3c-code {
    width: min(410px,100%);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 17px;
    background: #1d1d1c;
    box-shadow: 0 30px 70px rgba(0,0,0,.16);
}

.w3c-code__top {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: #292927;
}

.w3c-code__top i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
}

.w3c-code__top span {
    margin-left: 8px;
    color: rgba(255,255,255,.45);
    font-size: 9px;
}

.w3c-code__body {
    padding: 23px;
}

.w3c-code__body p {
    margin: 5px 0;
    color: rgba(255,255,255,.62);
    font-family: monospace;
    font-size: 10px;
    line-height: 1.6;
}

.w3c-code__body p > span {
    color: #f28a1a;
}

.w3c-code__body strong {
    color: #63b781;
    font-weight: 500;
}

.w3c-valid {
    position: absolute;
    right: -4px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0,0,0,.13);
}

.w3c-valid > span {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2f9b57;
    color: #fff;
    font-weight: 800;
}

.w3c-valid small {
    display: block;
    color: #999;
    font-size: 8px;
    text-transform: uppercase;
}

.w3c-valid strong {
    display: block;
    color: #333;
    font-size: 10px;
}


/* =========================================================
   ABOUT
========================================================= */

.w3c-about {
    padding: 82px 24px;
    background: #fff;
}

.w3c-about__inner,
.w3c-seo__inner,
.w3c-existing__inner {
    width: min(1020px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 65px;
}

.w3c-about h2,
.w3c-seo h2,
.w3c-existing h2 {
    margin: 0;
    color: #191919;
    font-size: clamp(30px,4vw,44px);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -1.3px;
}

.w3c-about h2 strong,
.w3c-seo h2 strong,
.w3c-existing h2 strong {
    font-weight: 800;
}

.w3c-about p,
.w3c-seo p,
.w3c-existing p {
    margin: 0 0 11px;
    color: #696969;
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   CHECK
========================================================= */

.w3c-check {
    padding: 82px 24px;
    background: #181818;
}

.w3c-check__inner {
    width: min(1080px,100%);
    margin: 0 auto;
}

.w3c-check__header {
    max-width: 750px;
    margin-bottom: 40px;
}

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

.w3c-check__header h2 strong {
    color: #f28a1a;
    font-weight: 800;
}

.w3c-check__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);
}

.w3c-check__grid article {
    min-height: 205px;
    padding: 27px;
    border-right: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.w3c-check__grid span {
    color: #f28a1a;
    font-size: 10px;
    font-weight: 700;
}

.w3c-check__grid h3 {
    margin: 26px 0 7px;
    color: #fff;
    font-size: 17px;
}

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


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

.w3c-warning {
    padding: 48px 24px;
    background: #fff;
}

.w3c-warning__inner {
    width: min(980px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    padding: 25px;
    border-left: 3px solid #b83a32;
    background: #fff7f6;
}

.w3c-warning__icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #b83a32;
    border-radius: 50%;
    color: #b83a32;
    font-weight: 800;
}

.w3c-warning span {
    color: #a8322b;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.w3c-warning h2 {
    margin: 5px 0 10px;
    color: #222;
    font-size: clamp(22px,3vw,30px);
    font-weight: 500;
}

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

.w3c-warning p {
    margin: 0 0 8px;
    color: #655b5a;
    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   SEO
========================================================= */

.w3c-seo {
    padding: 80px 24px;
    background: #f7f7f5;
}


/* =========================================================
   QUALITY
========================================================= */

.w3c-quality {
    padding: 82px 24px;
    background: #fff;
}

.w3c-quality__inner {
    width: min(1080px,100%);
    margin: 0 auto;
}

.w3c-quality__header {
    max-width: 740px;
    margin-bottom: 38px;
}

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

.w3c-quality__header h2 strong {
    font-weight: 800;
}

.w3c-quality__grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    border-top: 1px solid rgba(0,0,0,.08);
    border-left: 1px solid rgba(0,0,0,.08);
}

.w3c-quality__grid article {
    padding: 26px;
    border-right: 1px solid rgba(0,0,0,.08);
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.w3c-quality__grid span {
    color: #f28a1a;
    font-size: 10px;
    font-weight: 700;
}

.w3c-quality__grid h3 {
    margin: 24px 0 7px;
    color: #222;
    font-size: 16px;
}

.w3c-quality__grid p {
    margin: 0;
    color: #707070;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   EXISTING
========================================================= */

.w3c-existing {
    padding: 78px 24px;
    background: #f7f7f5;
}


/* =========================================================
   SERVICE NOTE
========================================================= */

.w3c-service-note {
    padding: 45px 24px;
    background: #fff;
}

.w3c-service-note__inner {
    width: min(950px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 22px 24px;
    border-left: 3px solid #f28a1a;
    background: #fafafa;
}

.w3c-service-note__icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f28a1a;
    color: #171717;
    font-size: 13px;
    font-weight: 800;
}

.w3c-service-note strong {
    display: block;
    margin-bottom: 7px;
    color: #222;
    font-size: 13px;
}

.w3c-service-note p {
    margin: 0 0 7px;
    color: #696969;
    font-size: 12px;
    line-height: 1.75;
}


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

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

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

.w3c-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;
}

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

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

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

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


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

@media (max-width:900px) {

    .w3c-hero__inner,
    .w3c-about__inner,
    .w3c-seo__inner,
    .w3c-existing__inner {
        grid-template-columns: 1fr;
    }

    .w3c-check__grid,
    .w3c-quality__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

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

    .w3c-cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

}

@media (max-width:600px) {

   .w3c-hero {
        padding: 125px 20px 52px;

        background:
            linear-gradient(
                rgba(247,247,245,.93),
                rgba(247,247,245,.84)
            ),
            url("../../secciones/validacion-w3c.webp");

        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }


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

    .w3c-hero__actions {
        flex-direction: column;
    }

    .w3c-hero__actions .w3c-btn {
        width: 100%;
    }

    .w3c-about,
    .w3c-check,
    .w3c-seo,
    .w3c-quality,
    .w3c-existing,
    .w3c-cta {
        padding: 58px 20px;
    }

    .w3c-warning,
    .w3c-service-note {
        padding-left: 20px;
        padding-right: 20px;
    }

    .w3c-check__grid,
    .w3c-quality__grid {
        grid-template-columns: 1fr;
    }

    .w3c-warning__inner,
    .w3c-service-note__inner {
        grid-template-columns: 1fr;
    }

    .w3c-cta__actions {
        flex-direction: column;
    }

    .w3c-cta__actions .w3c-btn {
        width: 100%;
    }

}