/* Comparativa Microsoft 365: estilos aislados, sin fuentes ni recursos remotos. */
.microsoft365-page { --m365-teal: #087d77; --m365-teal-soft: #e7f5f3; }
.microsoft365-page [hidden] { display: none !important; }
.m365-hero { padding: 28px 0 66px; background: linear-gradient(118deg, #f6f9ff 25%, #edf5fb); border-bottom: 1px solid #e3eaf4; }
.m365-hero .breadcrumbs { margin: 0 0 34px; padding: 0; color: #5f7088; }
.m365-hero .breadcrumbs a, .m365-hero .breadcrumbs [aria-current="page"] { color: #5f7088; }
.m365-hero__grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(300px,.85fr); align-items: center; gap: 60px; }
.m365-eyebrow { margin: 0 0 13px; color: var(--m365-teal); font-size: .76rem; font-weight: 800; letter-spacing: .105em; line-height: 1.5; text-transform: uppercase; }
.m365-hero h1 { max-width: 760px; margin: 0 0 22px; color: #071f4b; font-size: clamp(2.35rem,4.3vw,3.65rem); line-height: 1.08; letter-spacing: -.045em; }
.m365-hero h1 span { color: #375778; }
.m365-lead { max-width: 670px; margin: 0; color: #52647d; font-size: 1.1rem; line-height: 1.75; }
.m365-lead strong { color: #203d5f; font-weight: 700; }
.m365-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin: 28px 0; }
.m365-text-link { display: inline-flex; align-items: center; gap: 8px; color: #0752d6; font-size: .9rem; font-weight: 750; line-height: 1.5; text-decoration: none; }
.m365-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.m365-text-link .icon { width: 18px; height: 18px; }
.m365-trust { display: flex; flex-wrap: wrap; gap: 9px 22px; color: #52647d; font-size: .76rem; }
.m365-trust span { display: flex; align-items: center; gap: 7px; }
.m365-trust .icon { width: 15px; height: 15px; color: var(--m365-teal); }
.m365-guide { padding: 27px 28px 22px; background: #fff; border: 1px solid #dce6f2; border-radius: 18px; box-shadow: 0 16px 50px rgba(7,31,75,.07); }
.m365-guide__eyebrow { margin: 0 0 16px; color: #71829a; font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.m365-guide__row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid #ecf0f6; }
.m365-guide__row > span { color: #8a9cb0; font-size: .74rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.m365-guide__row > div { flex: 1; }
.m365-guide__row strong { color: #102e55; font-size: .91rem; font-weight: 750; }
.m365-guide__row p { margin: 3px 0 0; color: #62768f; font-size: .8rem; }
.m365-guide__row > .icon { width: 21px; height: 21px; color: var(--m365-teal); }
.m365-guide__foot { margin: 12px 0 0; padding-top: 16px; border-top: 1px solid #ecf0f6; color: #64758b; font-size: .76rem; line-height: 1.6; }
.m365-plans, .m365-comparison, .m365-faq { padding: 64px 0; scroll-margin-top: 100px; }
.m365-plans { background: #fff; }
.m365-section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 30px; }
.m365-section-heading h2 { margin: 0; color: #071f4b; font-size: clamp(1.8rem,3.2vw,2.4rem); line-height: 1.2; letter-spacing: -.035em; }
.m365-controls { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) minmax(150px,.65fr); align-items: start; gap: 26px; padding: 23px 26px; background: #f6f8fc; border: 1px solid #e0e7f1; border-radius: 14px; }
.m365-control label { display: block; margin-bottom: 8px; color: #263f60; font-size: .82rem; font-weight: 750; }
.m365-control select, .m365-control input { height: 46px; color: #102e55; font: inherit; font-size: .88rem; background: #fff; border: 1px solid #c9d6e6; border-radius: 8px; }
.m365-control select { width: 100%; padding: 0 34px 0 13px; cursor: pointer; }
.m365-users { display: flex; align-items: center; position: relative; }
.m365-users input { width: 100%; padding: 0 92px 0 13px; }
.m365-users span { position: absolute; right: 29px; color: #6b7d94; font-size: .8rem; pointer-events: none; }
.m365-control small { display: block; margin-top: 6px; color: #687b92; font-size: .72rem; }
.m365-input-error { margin: 12px 0; color: #a72c40; font-size: .85rem; }
.m365-control input[aria-invalid="true"] { border-color: #a72c40; }
.m365-status { display: flex; align-items: center; gap: 9px; margin: 18px 0 8px; color: #49647b; font-size: .75rem; }
.m365-status__dot { width: 7px; height: 7px; flex: 0 0 7px; background: var(--m365-teal); border-radius: 50%; }
.m365-status[data-state="unavailable"] .m365-status__dot { background: #9d6b15; }
.m365-status[data-state="loading"] .m365-status__dot { background: #5277af; }
.m365-status p { margin: 0; }
.m365-billing-note { margin: 0 0 28px; color: #667991; font-size: .78rem; line-height: 1.7; }
.m365-billing-note strong { color: #354e6d; font-weight: 700; }
.m365-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.m365-card { display: flex; flex-direction: column; min-width: 0; position: relative; padding: 0 23px 22px; background: #fff; border: 1px solid #dbe4ef; border-radius: 15px; }
.m365-card--featured { border: 2px solid #087d77; padding: 0 22px 21px; box-shadow: 0 8px 25px rgba(8,125,119,.07); }
.m365-card--apps { background: #fbfcfe; }
.m365-card__tag { margin: 0 -23px 24px; padding: 10px 8px; color: #526984; background: #f4f7fc; border-radius: 14px 14px 0 0; text-align: center; font-size: .68rem; font-weight: 750; letter-spacing: .015em; }
.m365-card--featured .m365-card__tag { margin: -1px -23px 24px; padding: 11px 8px 10px; color: #fff; background: #087d77; }
.m365-card__heading { min-height: 81px; }
.m365-card__heading > p { margin: 0 0 7px; color: #64768e; font-size: .74rem; font-weight: 600; }
.m365-card h3 { margin: 0; color: #0a254e; font-size: 1.28rem; line-height: 1.25; letter-spacing: -.025em; }
.m365-card__description { min-height: 85px; margin: 11px 0 12px; color: #61748c; font-size: .8rem; line-height: 1.65; }
.m365-variant { align-self: flex-start; margin: 0 0 20px; padding: 5px 8px; color: #315e6c; background: #eff6f7; border-radius: 5px; font-size: .68rem; font-weight: 700; line-height: 1.4; }
.m365-card--apps .m365-variant { color: #5d6478; background: #edf0f6; }
.m365-price-label { margin: 0 0 6px; color: #64748a; font-size: .68rem; font-weight: 650; }
.m365-price { margin: 0 0 1px; color: #071f4b; line-height: 1.12; }
.m365-price strong { font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 800; letter-spacing: -.06em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m365-price-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin: 8px 0 12px; color: #61758f; font-size: .7rem; }
.m365-tax-pill { padding: 2px 5px; color: #086952; background: #e9f6ef; border-radius: 4px; font-size: .64rem; font-weight: 750; white-space: nowrap; }
.m365-unit-payment { min-height: 38px; margin: 0 0 5px; color: #344e6c; font-size: .73rem; line-height: 1.55; font-weight: 650; }
.m365-net { margin: 0 0 17px; color: #718096; font-size: .67rem; line-height: 1.5; }
.m365-total { margin-bottom: 22px; padding: 14px 12px; background: #f2f6fc; border-radius: 8px; }
.m365-card--featured .m365-total { background: #eaf6f3; }
.m365-total p { margin: 0 0 4px; color: #4f6581; font-size: .7rem; }
.m365-total strong { color: #0a2c52; font-size: 1.15rem; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.m365-total > span { margin-left: 4px; color: #667991; font-size: .72rem; }
.m365-total small { display: block; margin-top: 4px; color: #61778f; font-size: .64rem; line-height: 1.5; }
.m365-unavailable { padding: 0 0 22px; min-height: 260px; }
.m365-unavailable > strong { display: block; margin: 11px 0; color: #354e6c; font-size: 1.5rem; letter-spacing: -.03em; }
.m365-unavailable > p:last-child { margin: 0; color: #697b91; font-size: .78rem; line-height: 1.7; }
.m365-features { display: grid; align-content: start; gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.m365-features li { display: flex; align-items: flex-start; gap: 8px; color: #455d78; font-size: .76rem; line-height: 1.55; }
.m365-features .icon { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 2px; color: var(--m365-teal); }
.m365-card__limit { margin: 0 0 21px; color: #748298; font-size: .7rem; line-height: 1.55; }
.m365-card > .button { width: 100%; min-height: 44px; margin-top: auto; padding: 10px 8px; font-size: .75rem; white-space: normal; }
.m365-card > .button > .icon { width: 15px; height: 15px; }
.m365-card > .m365-button { color: #174267; background: #fff; border: 1px solid #becedf; box-shadow: none; }
.m365-card > .m365-button:hover { color: #071f4b; background: #edf3fa; border-color: #8fa8c6; }
.m365-card__source { display: grid; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #e7edf4; }
.m365-card__source a { color: #416687; font-size: .72rem; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.m365-card__source > span { color: #64768c; font-size: .7rem; line-height: 1.6; }
.m365-price-terms { margin-top: 26px; color: #708097; font-size: .72rem; line-height: 1.75; }
.m365-price-terms p { margin: 8px 0; }
.m365-price-terms strong { color: #526780; }
.m365-comparison { background: #f5f8fc; border-block: 1px solid #e4eaf3; }
.m365-table-help { display: none; margin: -10px 0 16px; color: #637993; font-size: .78rem; }
.m365-table-wrap { overflow-x: auto; border: 1px solid #d8e3ef; border-radius: 12px; background: #fff; }
.m365-table { width: 100%; min-width: 820px; border-spacing: 0; border-collapse: separate; color: #3f5b77; font-size: .83rem; }
.m365-table th, .m365-table td { padding: 20px 16px; border: 0; border-bottom: 1px solid #e6edf5; text-align: center; vertical-align: middle; }
.m365-table thead th { color: #123557; background: #edf3fa; font-weight: 800; font-size: .84rem; }
.m365-table th:first-child { width: 29%; text-align: left; }
.m365-table tbody th { color: #354f6f; background: #fff; font-size: .79rem; font-weight: 650; }
.m365-table td { width: 17.75%; }
.m365-table td:nth-child(4), .m365-table thead th:nth-child(4) { background: #f0f8f5; }
.m365-table tbody tr:last-child th, .m365-table tbody tr:last-child td { border-bottom: 0; }
.m365-table .m365-table-muted { color: #8390a3; }
.m365-comparison-note { max-width: 1030px; margin: 21px 0 0; color: #667a93; font-size: .76rem; line-height: 1.8; }
.m365-comparison-note strong { color: #415e7b; }
.m365-services { padding: 64px 0 0; background: #fff; }
.m365-services__panel { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 65px; padding: 43px 46px; color: #d0ddef; background: #071f4b; border-radius: 20px; }
.m365-services .m365-eyebrow { color: #72d3c6; }
.m365-services h2 { margin: 0 0 18px; color: #fff; font-size: clamp(1.75rem,2.8vw,2.2rem); line-height: 1.2; letter-spacing: -.03em; }
.m365-services__panel > div > p:not(.m365-eyebrow) { margin: 0 0 24px; color: #b5c7df; font-size: .88rem; line-height: 1.8; }
.m365-services__steps { display: grid; gap: 23px; padding: 0; margin: 0; list-style: none; }
.m365-services__steps li { display: flex; align-items: flex-start; gap: 18px; }
.m365-services__steps li > span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: #9adbd5; background: #10395a; border: 1px solid #23516c; border-radius: 10px; font-size: .75rem; font-weight: 750; }
.m365-services__steps h3 { margin: 0 0 5px; color: #f2f6fd; font-size: .95rem; line-height: 1.4; }
.m365-services__steps p { margin: 0; color: #adc1db; font-size: .79rem; line-height: 1.65; }
.m365-faq__list { border-top: 1px solid #dfe7f2; }
.m365-faq details { padding: 0; border-bottom: 1px solid #dfe7f2; }
.m365-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 22px 0; color: #243f61; font-size: .95rem; font-weight: 700; cursor: pointer; list-style: none; }
.m365-faq summary::-webkit-details-marker { display: none; }
.m365-faq summary span { color: #6386a6; font-size: 1.4rem; line-height: 1; }
.m365-faq details[open] summary span { transform: rotate(45deg); }
.m365-faq details > p { max-width: 1020px; margin: -3px 0 23px; padding-right: 35px; color: #657992; font-size: .88rem; line-height: 1.8; }
.m365-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.microsoft365-page .m365-controls :focus-visible, .microsoft365-page .m365-table-wrap:focus-visible, .microsoft365-page .m365-faq summary:focus-visible, .microsoft365-page .m365-card a:focus-visible, .microsoft365-page .m365-text-link:focus-visible { outline: 3px solid #368dbe; outline-offset: 4px; }
@media (max-width: 1100px) {
    .m365-hero__grid { gap: 30px; grid-template-columns: 1.2fr 1fr; }
    .m365-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
    .m365-card { padding-inline: 27px; }
    .m365-card--featured { padding-inline: 26px; }
    .m365-card__tag { margin-inline: -27px; }
    .m365-card--featured .m365-card__tag { margin-inline: -27px; }
    .m365-card__heading { min-height: 60px; }
    .m365-card__description { min-height: 55px; }
    .m365-price strong { font-size: 2.6rem; }
    .m365-unit-payment { min-height: 23px; }
    .m365-services__panel { gap: 35px; padding: 35px; }
}
@media (max-width: 800px) {
    .m365-hero { padding-bottom: 40px; }
    .m365-hero__grid { grid-template-columns: 1fr; gap: 34px; }
    .m365-guide { max-width: none; }
    .m365-controls { grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px; }
    .m365-control--users { grid-column: 1 / -1; max-width: 260px; }
    .m365-table-help { display: block; }
    .m365-services__panel { grid-template-columns: 1fr; gap: 36px; }
    .m365-plans, .m365-comparison, .m365-faq { padding: 46px 0; }
    .m365-services { padding-top: 46px; }
}
@media (max-width: 540px) {
    .m365-hero { padding-top: 22px; }
    .m365-hero .breadcrumbs { margin-bottom: 27px; font-size: .72rem; }
    .m365-hero h1 { font-size: clamp(2rem,7.8vw,2.6rem); }
    .m365-lead { font-size: 1rem; }
    .m365-hero__actions { gap: 18px; }
    .m365-guide { padding: 22px; }
    .m365-controls { grid-template-columns: 1fr; gap: 17px; }
    .m365-control--users { grid-column: auto; max-width: none; }
    .m365-cards { grid-template-columns: 1fr; }
    .m365-card__description { min-height: 0; }
    .m365-card__heading { min-height: 0; }
    .m365-card h3 { font-size: 1.5rem; }
    .m365-card__description, .m365-features li { font-size: .85rem; }
    .m365-card__tag { font-size: .75rem; }
    .m365-card > .button { font-size: .85rem; }
    .m365-unavailable { min-height: 0; padding-bottom: 25px; }
    .m365-services__panel { padding: 28px 24px; border-radius: 16px; }
    .m365-services__panel .button { font-size: .82rem; }
    .m365-faq summary { font-size: .88rem; }
    .m365-faq details > p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .microsoft365-page * { scroll-behavior: auto !important; } }
