/* =========================================================
   MICROSOFT 365
   LOGOS HUB INFORMÁTICO
========================================================= */


:root {

    --m365-dark: #110F37;
    --m365-purple: #220E7A;
    --m365-green: #13E8A5;

    --m365-white: #FFFFFF;
    --m365-soft: #F7F6FA;
    --m365-soft-alt: #F1EFF7;

    --m365-text: #171426;
    --m365-muted: #6D697D;
    --m365-line: #DDD9E7;

}


/* =========================================================
   BASE
========================================================= */


.m365-page {

    background: var(--m365-white);
    color: var(--m365-text);
    font-family: "Nunito", sans-serif;

}


.m365-container {

    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;

}


.m365-page h1,
.m365-page h2,
.m365-page h3,
.m365-page p {

    margin-top: 0;

}


.m365-page a {

    text-decoration: none;

}


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


.m365-hero {

    padding: 150px 0 135px;

    background: var(--m365-dark);
    color: var(--m365-white);

}


.m365-hero-grid {

    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
    gap: 90px;
    align-items: end;

}


.m365-kicker {

    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 32px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.6px;
    text-transform: uppercase;

    color: var(--m365-green);

}


.m365-kicker::before {

    content: "";

    width: 38px;
    height: 1px;

    background: var(--m365-green);

}


.m365-hero-main h1 {

    max-width: 850px;
    margin-bottom: 0;

    font-size: clamp(54px, 7vw, 92px);
    line-height: .97;
    letter-spacing: -4px;
    font-weight: 700;

}


.m365-hero-main h1 span {

    display: block;

    color: var(--m365-green);

}


.m365-hero-side {

    padding-bottom: 8px;

}


.m365-hero-side p {

    margin-bottom: 18px;

    font-size: 18px;
    line-height: 1.75;

    color: rgba(255, 255, 255, .76);

}


.m365-hero-side p:first-child {

    color: var(--m365-white);
    font-weight: 600;

}


.m365-note {

    max-width: 340px;

    margin-top: 38px;
    margin-left: auto;

    font-family: "Caveat", cursive;
    font-size: 31px;
    line-height: 1.05;
    text-align: right;

    color: var(--m365-green);

    transform: rotate(-2deg);

}


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


.m365-index,
.m365-section-header > span,
.m365-section-label,
.m365-faq-header > span,
.m365-final-kicker {

    display: block;

    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 2.8px;
    text-transform: uppercase;

    color: var(--m365-purple);

}


.m365-section-header {

    margin-bottom: 72px;

}


.m365-section-header > span {

    margin-bottom: 24px;

}


.m365-section-header h2 {

    max-width: 900px;
    margin-bottom: 0;

    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -2.2px;
    font-weight: 650;

}


.m365-section-header h2 span {

    color: var(--m365-purple);

}


.m365-section-header > p {

    max-width: 730px;

    margin-top: 28px;
    margin-bottom: 0;

    font-size: 18px;
    line-height: 1.75;

    color: var(--m365-muted);

}


/* =========================================================
   01 / DIAGNÓSTICO
========================================================= */


.m365-diagnosis {

    padding: 140px 0;

    background: var(--m365-white);

}


.m365-editorial-grid {

    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 60px;

}


.m365-editorial-grid .m365-index {

    padding-top: 12px;

}


.m365-editorial-grid h2 {

    max-width: 900px;

    margin-bottom: 36px;

    font-size: clamp(40px, 5.3vw, 66px);
    line-height: 1.04;
    letter-spacing: -2.5px;
    font-weight: 650;

}


.m365-editorial-grid h2 span {

    color: var(--m365-purple);

}


.m365-editorial-grid p {

    max-width: 760px;

    margin-bottom: 20px;

    font-size: 18px;
    line-height: 1.8;

    color: var(--m365-muted);

}


.m365-diagnosis-list {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    margin-top: 85px;

    border-top: 1px solid var(--m365-line);
    border-left: 1px solid var(--m365-line);

}


.m365-diagnosis-list article {

    min-height: 210px;

    padding: 38px 42px;

    border-right: 1px solid var(--m365-line);
    border-bottom: 1px solid var(--m365-line);

    background: var(--m365-soft);

}


.m365-diagnosis-list article > span {

    display: block;

    margin-bottom: 34px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    color: var(--m365-green);

}


.m365-diagnosis-list p {

    max-width: 440px;

    margin-bottom: 0;

    font-size: 22px;
    line-height: 1.35;
    font-weight: 650;

}


/* =========================================================
   02 / ECOSISTEMA
========================================================= */


.m365-ecosystem {

    padding: 150px 0;

    background: var(--m365-soft-alt);

}


.m365-ecosystem-map {

    position: relative;

    min-height: 660px;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));

    gap: 28px;

    align-items: center;

}


.m365-ecosystem-map::before {

    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 62%;
    height: 62%;

    transform: translate(-50%, -50%);

    border: 1px dashed rgba(34, 14, 122, .22);
    border-radius: 50%;

    pointer-events: none;

}


.m365-ecosystem-item,
.m365-ecosystem-center {

    position: relative;
    z-index: 2;

    min-height: 205px;

    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-radius: 24px;

}


.m365-ecosystem-item {

    background: var(--m365-white);
    border: 1px solid var(--m365-line);

}


.m365-ecosystem-item i {

    display: block;

    margin-bottom: 24px;

    font-size: 28px;

    color: var(--m365-purple);

}


.m365-ecosystem-item strong {

    display: block;

    margin-bottom: 7px;

    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;

}


.m365-ecosystem-item span {

    font-size: 14px;
    line-height: 1.4;

    color: var(--m365-muted);

}


.m365-ecosystem-center {

    grid-column: 2;
    grid-row: 1 / span 2;

    align-self: center;

    min-height: 270px;

    text-align: center;

    background: var(--m365-dark);
    color: var(--m365-white);

    border-radius: 50%;

    aspect-ratio: 1 / 1;

    justify-self: center;

    width: min(100%, 320px);

}


.m365-ecosystem-center small {

    display: block;

    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--m365-green);

}


.m365-ecosystem-center strong {

    display: block;

    font-size: 36px;
    line-height: 1;
    font-weight: 700;

}


.m365-ecosystem-center span {

    display: block;

    margin-top: 16px;

    font-size: 14px;
    line-height: 1.45;

    color: rgba(255, 255, 255, .72);

}


.m365-ecosystem-teams {

    grid-column: 1;
    grid-row: 1;

}


.m365-ecosystem-sharepoint {

    grid-column: 3;
    grid-row: 1;

}


.m365-ecosystem-power {

    grid-column: 1;
    grid-row: 2;

}


.m365-ecosystem-onedrive {

    grid-column: 3;
    grid-row: 2;

}


.m365-ecosystem-forms {

    position: absolute;

    left: 50%;
    bottom: -10px;

    width: 275px;

    transform: translateX(-50%);

}


/* =========================================================
   03 / CAPACIDADES
========================================================= */


.m365-capabilities {

    padding: 145px 0;

    background: var(--m365-white);

}


.m365-capabilities-list {

    border-top: 1px solid var(--m365-line);

}


.m365-capabilities-list article {

    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 34px;

    padding: 40px 0;

    border-bottom: 1px solid var(--m365-line);

}


.m365-capability-number {

    padding-top: 5px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    color: var(--m365-green);

}


.m365-capabilities-list h3 {

    margin-bottom: 12px;

    font-size: 29px;
    line-height: 1.2;
    font-weight: 700;

}


.m365-capabilities-list p {

    max-width: 740px;

    margin-bottom: 0;

    font-size: 16px;
    line-height: 1.75;

    color: var(--m365-muted);

}


/* =========================================================
   04 / TRANSFORMACIÓN
========================================================= */


.m365-transformation {

    padding: 150px 0;

    background: var(--m365-soft);

}


.m365-transformation-grid {

    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr);
    gap: 26px;
    align-items: stretch;

}


.m365-transformation-column {

    padding: 44px 42px;

    border-radius: 22px;

}


.m365-transformation-column.before {

    background: var(--m365-white);
    border: 1px solid var(--m365-line);

}


.m365-transformation-column.after {

    background: var(--m365-dark);
    color: var(--m365-white);

}


.m365-transformation-column > span {

    display: block;

    margin-bottom: 34px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;

    color: var(--m365-purple);

}


.m365-transformation-column.after > span {

    color: var(--m365-green);

}


.m365-transformation-column ol {

    margin: 0;
    padding-left: 22px;

}


.m365-transformation-column li {

    padding: 12px 0;

    font-size: 16px;
    line-height: 1.6;

    color: var(--m365-muted);

}


.m365-transformation-column.after li {

    color: rgba(255, 255, 255, .78);

}


.m365-transformation-arrow {

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 34px;

    color: var(--m365-green);

}


.m365-transformation-statement {

    max-width: 960px;

    margin: 76px auto 0;

    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.08;
    letter-spacing: -1.8px;
    font-weight: 650;

    text-align: center;

}


.m365-transformation-statement span {

    display: block;

    color: var(--m365-purple);

}


/* =========================================================
   05 / MÉTODO
========================================================= */


.m365-method {

    padding: 150px 0;

    background: var(--m365-dark);
    color: var(--m365-white);

}


.m365-method-grid {

    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 60px;

}


.m365-method .m365-index {

    padding-top: 12px;

    color: var(--m365-green);

}


.m365-method-content h2 {

    max-width: 900px;

    margin-bottom: 36px;

    font-size: clamp(42px, 5.5vw, 68px);
    line-height: 1.03;
    letter-spacing: -2.5px;
    font-weight: 650;

}


.m365-method-content h2 span {

    display: block;

    color: var(--m365-green);

}


.m365-method-content p {

    max-width: 720px;

    margin-bottom: 0;

    font-size: 18px;
    line-height: 1.8;

    color: rgba(255, 255, 255, .75);

}


.m365-method-note {

    max-width: 390px;

    margin-top: 50px;
    margin-left: auto;

    font-family: "Caveat", cursive;
    font-size: 34px;
    line-height: 1.05;
    text-align: right;

    color: var(--m365-green);

    transform: rotate(-2deg);

}


.m365-process {

    margin-top: 90px;

    display: grid;
    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr auto
        1fr;

    gap: 18px;

    align-items: center;

}


.m365-process > div {

    min-height: 135px;

    padding: 28px 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-top: 1px solid rgba(255, 255, 255, .28);
    border-bottom: 1px solid rgba(255, 255, 255, .15);

}


.m365-process > div span {

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;

    color: var(--m365-green);

}


.m365-process > div strong {

    font-size: 20px;
    font-weight: 700;

}


.m365-process > i {

    font-size: 22px;

    color: var(--m365-green);

}


/* =========================================================
   06 / GOBIERNO
========================================================= */


.m365-governance {

    padding: 145px 0;

    background: var(--m365-white);

}


.m365-governance-grid {

    display: grid;
    grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
    gap: 95px;

}


.m365-section-label {

    margin-bottom: 26px;

}


.m365-governance-grid > div:first-child h2 {

    max-width: 540px;

    margin-bottom: 26px;

    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -2.2px;
    font-weight: 650;

}


.m365-governance-grid > div:first-child > p {

    max-width: 520px;

    margin-bottom: 0;

    font-size: 17px;
    line-height: 1.75;

    color: var(--m365-muted);

}


.m365-governance-list {

    border-top: 1px solid var(--m365-line);

}


.m365-governance-list article {

    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 25px;

    padding: 30px 0;

    border-bottom: 1px solid var(--m365-line);

}


.m365-governance-list article > span {

    padding-top: 4px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    color: var(--m365-green);

}


.m365-governance-list h3 {

    margin-bottom: 9px;

    font-size: 23px;
    line-height: 1.2;
    font-weight: 700;

}


.m365-governance-list p {

    max-width: 510px;

    margin-bottom: 0;

    font-size: 15px;
    line-height: 1.7;

    color: var(--m365-muted);

}


/* =========================================================
   07 / FAQ
========================================================= */


.m365-faq {

    padding: 145px 0;

    background: var(--m365-soft-alt);

}


.m365-faq-header {

    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 60px;

    margin-bottom: 65px;

}


.m365-faq-header > span {

    padding-top: 10px;

}


.m365-faq-header h2 {

    max-width: 820px;

    margin-bottom: 0;

    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 650;

}


.m365-faq-list {

    max-width: 930px;

    margin-left: auto;

    border-top: 1px solid var(--m365-line);

}


.m365-faq-list details {

    border-bottom: 1px solid var(--m365-line);

}


.m365-faq-list summary {

    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 25px;
    align-items: center;

    padding: 30px 0;

    cursor: pointer;
    list-style: none;

}


.m365-faq-list summary::-webkit-details-marker {

    display: none;

}


.m365-faq-list summary > span {

    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;

    color: var(--m365-text);

}


.m365-faq-list summary i {

    display: flex;
    justify-content: center;
    align-items: center;

    width: 40px;
    height: 40px;

    border: 1px solid var(--m365-line);
    border-radius: 50%;

    font-size: 18px;

    color: var(--m365-purple);

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;

}


.m365-faq-list details[open] summary i {

    transform: rotate(45deg);

    background: var(--m365-green);
    border-color: var(--m365-green);

    color: var(--m365-dark);

}


.m365-faq-answer {

    max-width: 700px;

    padding: 0 70px 30px 0;

}


.m365-faq-answer p {

    margin-bottom: 0;

    font-size: 16px;
    line-height: 1.75;

    color: var(--m365-muted);

}


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


.m365-final {

    position: relative;

    padding: 135px 0;

    overflow: hidden;

    background: var(--m365-purple);
    color: var(--m365-white);

}


.m365-final::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: rgba(255, 255, 255, .18);

}


.m365-final-grid {

    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 90px;
    align-items: end;

}


.m365-final-kicker {

    margin-bottom: 26px;

    color: var(--m365-green);

}


.m365-final h2 {

    max-width: 800px;
    margin-bottom: 0;

    font-size: clamp(42px, 5.6vw, 68px);
    line-height: 1.03;
    letter-spacing: -2.5px;
    font-weight: 650;

}


.m365-final h2 span {

    display: block;

    color: var(--m365-green);

}


.m365-final-content p {

    margin-bottom: 30px;

    font-size: 18px;
    line-height: 1.72;

    color: rgba(255, 255, 255, .76);

}


.m365-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    min-height: 54px;

    padding: 0 26px;

    border: 1px solid var(--m365-green);
    border-radius: 999px;

    background: var(--m365-green);

    font-size: 15px;
    font-weight: 800;

    color: var(--m365-dark);

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;

}


.m365-button:hover {

    transform: translateY(-2px);

    background: transparent;

    color: var(--m365-green);

}


.m365-button i {

    font-size: 17px;

}


/* =========================================================
   FOCUS
========================================================= */


.m365-page a:focus-visible,
.m365-page summary:focus-visible {

    outline: 3px solid rgba(19, 232, 165, .55);
    outline-offset: 4px;

}


/* =========================================================
   TABLET
========================================================= */


@media (max-width: 1024px) {

    .m365-container {

        width: min(100% - 48px, 1240px);

    }


    .m365-hero {

        padding: 125px 0 110px;

    }


    .m365-hero-grid {

        grid-template-columns: 1fr;
        gap: 50px;

    }


    .m365-hero-side {

        max-width: 720px;

    }


    .m365-note {

        margin-left: 0;
        text-align: left;

    }


    .m365-editorial-grid,
    .m365-method-grid,
    .m365-faq-header {

        grid-template-columns: 150px minmax(0, 1fr);
        gap: 40px;

    }


    .m365-ecosystem-map {

        min-height: 600px;

    }


    .m365-governance-grid {

        grid-template-columns: 1fr;
        gap: 65px;

    }


    .m365-faq-list {

        max-width: none;

    }


    .m365-final-grid {

        grid-template-columns: 1fr;
        gap: 45px;

    }


    .m365-final-content {

        max-width: 620px;

    }

}


/* =========================================================
   MÓVIL
========================================================= */


@media (max-width: 760px) {

    .m365-container {

        width: calc(100% - 36px);

    }


    .m365-hero {

        padding: 95px 0 85px;

    }


    .m365-hero-main h1 {

        font-size: clamp(44px, 14vw, 64px);
        letter-spacing: -2.5px;

    }


    .m365-hero-side p {

        font-size: 16px;

    }


    .m365-note {

        margin-top: 28px;

        font-size: 28px;

    }


    .m365-diagnosis,
    .m365-ecosystem,
    .m365-capabilities,
    .m365-transformation,
    .m365-method,
    .m365-governance,
    .m365-faq {

        padding: 90px 0;

    }


    .m365-final {

        padding: 90px 0;

    }


    .m365-editorial-grid,
    .m365-method-grid,
    .m365-faq-header {

        grid-template-columns: 1fr;
        gap: 24px;

    }


    .m365-editorial-grid .m365-index,
    .m365-method .m365-index,
    .m365-faq-header > span {

        padding-top: 0;

    }


    .m365-diagnosis-list {

        grid-template-columns: 1fr;

        margin-top: 60px;

        border-left: 0;

    }


    .m365-diagnosis-list article {

        min-height: auto;

        padding: 32px 28px;

        border-left: 1px solid var(--m365-line);

    }


    .m365-ecosystem-map {

        min-height: auto;

        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;

    }


    .m365-ecosystem-map::before {

        display: none;

    }


    .m365-ecosystem-item,
    .m365-ecosystem-center {

        position: static;

        grid-column: auto;
        grid-row: auto;

        width: 100%;
        min-height: auto;

        padding: 30px 28px;

        aspect-ratio: auto;

        border-radius: 18px;

        transform: none;

    }


    .m365-ecosystem-center {

        order: -1;

        text-align: left;

        align-items: flex-start;

    }


    .m365-capabilities-list article {

        grid-template-columns: 55px minmax(0, 1fr);
        gap: 20px;

        padding: 30px 0;

    }


    .m365-capabilities-list h3 {

        font-size: 24px;

    }


    .m365-transformation-grid {

        grid-template-columns: 1fr;
        gap: 16px;

    }


    .m365-transformation-column {

        padding: 32px 28px;

    }


    .m365-transformation-arrow {

        min-height: 45px;

        transform: rotate(90deg);

    }


    .m365-transformation-statement {

        margin-top: 55px;

        text-align: left;

    }


    .m365-method-note {

        margin-left: 0;

        font-size: 30px;
        text-align: left;

    }


    .m365-process {

        margin-top: 65px;

        grid-template-columns: 1fr;

        gap: 10px;

    }


    .m365-process > div {

        min-height: auto;

        padding: 23px 8px;

    }


    .m365-process > i {

        transform: rotate(90deg);

        justify-self: center;

    }


    .m365-governance-grid {

        gap: 50px;

    }


    .m365-governance-list article {

        grid-template-columns: 55px minmax(0, 1fr);
        gap: 18px;

    }


    .m365-faq-header {

        margin-bottom: 45px;

    }


    .m365-faq-list summary {

        grid-template-columns: minmax(0, 1fr) 38px;
        gap: 18px;

        padding: 26px 0;

    }


    .m365-faq-list summary > span {

        font-size: 18px;

    }


    .m365-faq-list summary i {

        width: 36px;
        height: 36px;

    }


    .m365-faq-answer {

        padding: 0 0 27px;

    }


    .m365-final-grid {

        gap: 38px;

    }


    .m365-final-content p {

        font-size: 16px;

    }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */


@media (max-width: 420px) {

    .m365-container {

        width: calc(100% - 28px);

    }


    .m365-hero-main h1 {

        font-size: 42px;

    }


    .m365-index,
    .m365-section-header > span,
    .m365-section-label,
    .m365-faq-header > span,
    .m365-final-kicker,
    .m365-kicker {

        letter-spacing: 2px;

    }


    .m365-section-header h2,
    .m365-editorial-grid h2,
    .m365-method-content h2,
    .m365-governance-grid > div:first-child h2,
    .m365-faq-header h2,
    .m365-final h2 {

        font-size: 38px;
        letter-spacing: -1.4px;

    }


    .m365-diagnosis-list p {

        font-size: 20px;

    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
========================================================= */


@media (prefers-reduced-motion: reduce) {

    .m365-faq-list summary i,
    .m365-button {

        transition: none;

    }

}