/* =====================================================
   ABOUT PAGE (/o-nas/), on top of css/offer.css and css/sections.css.
   Section class: mg-offer mg-offer--onas. Colours as in offer.css:
   red #c5121a (text and buttons on light), #d9161e (accents on graphite),
   light red #ff8086 (small text on graphite), graphite #191b20,
   ink #262626, soft #f5f5f3, lines #e3e3e0, quiet text #4d4d4d.
   No motion apart from hover and focus colour changes.
   Order: hero, section bar, who we are (company card, principles, how we meet), [mg_realizacje],
   how we work, guarantee and rules, services and prices, questions, inquiry form.
   ===================================================== */

/* ---- Shared rhythm ---- */
.mg-offer--onas .mg-offer-section {
    padding: 96px 0;
}
.mg-offer--onas .mg-offer-head {
    max-width: 820px;
    margin-bottom: 48px;
}
.mg-offer--onas .mg-offer-head h2 {
    font-size: 40px;
    line-height: 1.18;
}
/* The eyebrow replaces the red bar of offer.css: a short red rule and the section name.
   Inside an H2 it is the first part of the heading ("Kim jesteśmy: …"). */
.mg-offer--onas .mg-offer-head h2::before {
    display: none;
}
.mg-offer--onas .mg-about-eyebrow,
.mg-offer--onas .mg-offer-head p.mg-about-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: #c5121a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.mg-offer--onas .mg-about-eyebrow::before {
    content: '';
    flex: 0 0 28px;
    height: 3px;
    background: #d9161e;
}
.mg-about-h2main {
    display: block;
}
.mg-about-h2main::first-letter {
    text-transform: uppercase;
}
.mg-offer--onas .mg-offer-head p:not(.mg-about-eyebrow) {
    max-width: 680px;
    color: #4d4d4d;
}

/* ---- Hero: who we are on the left, four facts that link to their proof on the right ---- */
.mg-about-hero {
    position: relative;
    padding: 64px 0 72px;
    overflow: hidden;
}
/* A quiet dot grid behind the facts; pure CSS, no image request. */
.mg-about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1.6px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 40%);
    mask-image: linear-gradient(to right, transparent, #000 40%);
    pointer-events: none;
}
.mg-about-hero .mg-offer-wrap {
    position: relative;
}
.mg-about-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 64px;
    align-items: center;
}
.mg-about-hero h1 {
    max-width: 13em;
    font-size: 52px;
    line-height: 1.1;
}
.mg-about-hero__pre {
    display: block;
    margin-bottom: 18px;
    color: #ff8086;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.mg-about-hero__main {
    display: block;
}
.mg-about-hero__main::first-letter {
    text-transform: uppercase;
}
.mg-offer .mg-about-hero .mg-offer-hero__lede {
    max-width: 36em;
    margin: 26px 0 30px;
    color: #e6e7e9;
    font-size: 19px;
    line-height: 1.6;
}
.mg-about-assure {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: #d6d8dc;
    font-size: 15px;
}
.mg-about-assure li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mg-about-assure li::before {
    content: '';
    flex: 0 0 auto;
    width: 6px;
    height: 11px;
    margin: -3px 2px 0;
    border: solid #ff8086;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.mg-about-facts {
    border: 1px solid #353840;
    border-top: 4px solid #d9161e;
    background: #202329;
}
.mg-offer .mg-about-facts__title {
    margin: 0;
    padding: 18px 24px 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.mg-about-facts ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 8px;
    list-style: none;
}
.mg-about-facts li {
    border-bottom: 1px solid #353840;
}
.mg-about-facts li:nth-child(odd) {
    border-right: 1px solid #353840;
}
.mg-about-facts li:nth-last-child(-n+2) {
    border-bottom: 0;
}
.mg-about-facts a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 18px 16px 16px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.mg-about-facts a:hover {
    background: #2a2d34;
}
.mg-about-facts a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -3px;
}
.mg-about-facts strong {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
}
.mg-about-facts span {
    flex: 1 0 auto;
    margin: 8px 0 14px;
    color: #d6d8dc;
    font-size: 15px;
    line-height: 1.45;
}
.mg-about-facts em {
    color: #ff8086;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}
.mg-about-facts em::after {
    content: ' →';
}
.mg-about-facts a:hover em {
    color: #fff;
}

/* ---- Section bar: js/o-nas.js marks the section being read with aria-current. ---- */
.mg-about-jump li a {
    font-weight: 600;
}
.mg-offer .mg-about-jump li a[aria-current="location"] {
    color: #a50f16;
    box-shadow: inset 0 -3px 0 #c5121a;
}

/* ---- Who we are: the story and the company card side by side, then the three principles
   in a row and "Jak się spotykamy" as one graphite band across the full width. ---- */
.mg-about-who__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 80px;
    align-items: start;
}
.mg-offer--onas .mg-about-who .mg-offer-head {
    margin-bottom: 28px;
}
.mg-offer .mg-about-lead {
    margin-bottom: 40px;
    color: #191b20;
    font-size: 21px;
    line-height: 1.6;
}
/* The lead names every service and links it: dark text with a red underline, so six links
   in one sentence still read as a sentence. */
.mg-offer .mg-about-lead a {
    color: #191b20;
    text-decoration: underline;
    text-decoration-color: #c5121a;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
.mg-offer .mg-about-lead a:hover {
    color: #c5121a;
}
/* The motto as a pull quote under a hairline, its quotation marks in red.
   Elementor zeroes figure margins inside widgets, so the space above comes from the lead. */
.mg-offer .mg-about-motto {
    padding: 32px 0 0;
    border-top: 1px solid #e3e3e0;
}
.mg-about-motto blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-style: normal;
}
.mg-offer .mg-about-motto blockquote p {
    margin: 0 0 14px;
    color: #191b20;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.6px;
    text-wrap: balance;
}
.mg-offer .mg-about-motto blockquote p::before {
    content: '„';
    color: #c5121a;
}
.mg-offer .mg-about-motto blockquote p::after {
    content: '”';
    color: #c5121a;
}
.mg-about-motto figcaption {
    max-width: 34em;
    color: #4d4d4d;
    font-size: 17px;
    line-height: 1.6;
}

/* The company card: who answers the phone, where we work, what is only a registered address. */
.mg-about-idcard {
    border: 1px solid #e3e3e0;
    border-top: 4px solid #191b20;
    background: #fff;
    box-shadow: 0 12px 32px rgba(25, 27, 32, 0.08);
}
.mg-about-idcard__head {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 22px 26px 18px;
}
.mg-about-idcard__head img {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
}
.mg-about-idcard h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.mg-offer .mg-about-idcard__head p {
    margin: 2px 0 0;
    color: #4d4d4d;
    font-size: 15px;
    line-height: 1.4;
}
.mg-about-idcard dl {
    margin: 0;
    padding: 0 26px 10px;
}
.mg-about-idcard dl > div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #ececea;
}
.mg-about-idcard dt {
    color: #595959;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}
.mg-about-idcard dd {
    margin: 0;
    color: #191b20;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.mg-offer .mg-about-idcard dd a {
    display: inline-block;
    padding: 2px 0;
    color: #a50f16;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mg-offer .mg-about-idcard dd a:hover {
    color: #191b20;
}
.mg-about-idcard small {
    display: block;
    margin-top: 6px;
    color: #595959;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}
/* "Sprawdź nas": three places where the facts on this page can be checked. */
.mg-about-idcard__check {
    padding: 18px 26px 20px;
    border-top: 1px solid #e3e3e0;
    background: #f5f5f3;
}
.mg-offer .mg-about-idcard__check p {
    margin: 0 0 6px;
    color: #191b20;
    font-size: 15px;
    font-weight: 700;
}
.mg-about-idcard__check ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-offer .mg-about-idcard__check a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    color: #a50f16;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}
.mg-about-idcard__check a::after {
    content: '→';
    flex-shrink: 0;
}
.mg-offer .mg-about-idcard__check a:hover {
    color: #191b20;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mg-about-idcard__check li + li {
    border-top: 1px solid #e3e3e0;
}

/* "Na czym opieramy współpracę": three principles in a row, numbered. */
.mg-about-values {
    margin-top: 80px;
}
.mg-offer .mg-about-values__title {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.mg-about-values ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: mg-val;
}
.mg-about-values li {
    padding: 26px 0 0;
    border-top: 3px solid #191b20;
    counter-increment: mg-val;
}
.mg-about-values li::before {
    content: '0' counter(mg-val);
    display: block;
    margin-bottom: 12px;
    color: #c5121a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.mg-about-values h4 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}
.mg-offer .mg-about-values p {
    color: #4d4d4d;
    font-size: 16px;
    line-height: 1.6;
}

/* "Jak się spotykamy": the registered address above and "we come to you" here are read
   one after the other, so the address cannot pass for an office. */
.mg-about-meet {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px 56px;
    align-items: start;
    margin-top: 72px;
    padding: 40px 44px;
    border-left: 4px solid #d9161e;
    background: #191b20;
    color: #fff;
}
.mg-about-meet h3 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}
.mg-offer .mg-about-meet__head p {
    color: #d6d8dc;
    font-size: 17px;
    line-height: 1.55;
}
.mg-about-meet ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-about-meet li {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mg-about-meet__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    border: 2px solid #d9161e;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
}
/* Font Awesome glyphs differ in width and sit on the text baseline: a square, line-height 1 box
   puts each glyph in the middle of its circle. */
.mg-about-meet__icon .fa {
    display: block;
    width: 1em;
    line-height: 1;
    text-align: center;
}
.mg-offer .mg-about-meet li p {
    color: #d6d8dc;
    font-size: 15px;
    line-height: 1.55;
}
.mg-about-meet li strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 17px;
}

/* ---- How we work: one row per step. On wide screens the rows share two columns,
   "Co robimy my" and "Co robisz Ty", named once above the list; the dt labels stay for
   screen readers. Tablets and phones turn the rows into a vertical timeline. ---- */
.mg-about-how {
    --mg-flow-num: 48px;
    --mg-flow-title: 250px;
    --mg-flow-gap: 32px;
    --mg-flow-pad: 32px;
}
.mg-about-flow__cols {
    display: grid;
    grid-template-columns: var(--mg-flow-num) var(--mg-flow-title) minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--mg-flow-gap);
    padding: 0 calc(var(--mg-flow-pad) + 1px) 12px;
    color: #4d4d4d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.mg-about-flow__cols span:first-child {
    grid-column: 1 / span 2;
}
.mg-about-flow__cols span:last-child {
    color: #a50f16;
}
.mg-about-flow {
    margin: 0;
    padding: 0;
    border: 1px solid #e3e3e0;
    background: #fff;
    list-style: none;
    counter-reset: mg-flow;
}
.mg-about-flow > li {
    position: relative;
    display: grid;
    grid-template-columns: var(--mg-flow-num) var(--mg-flow-title) minmax(0, 1fr);
    column-gap: var(--mg-flow-gap);
    align-items: start;
    padding: 24px var(--mg-flow-pad);
    counter-increment: mg-flow;
}
.mg-about-flow > li + li {
    border-top: 1px solid #ececea;
}
.mg-about-flow > li::before {
    content: counter(mg-flow);
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #191b20;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}
/* The thread between the step numbers, from one circle down to the next. */
.mg-about-flow > li:not(:last-child)::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 72px;
    bottom: -25px;
    left: calc(var(--mg-flow-pad) + 23px);
    width: 2px;
    background: #c9c9c5;
}
.mg-about-flow > li.is-key {
    background: #fdf2f2;
    box-shadow: inset 4px 0 0 #c5121a;
}
.mg-about-flow > li.is-key::before {
    background: #c5121a;
}
.mg-about-flow h3 {
    padding-top: 11px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}
.mg-about-flow dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--mg-flow-gap);
    margin: 0;
}
.mg-about-flow dt {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 2px;
    background: #ececea;
    color: #191b20;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.mg-about-flow .is-you dt {
    background: #fbeaeb;
    color: #a50f16;
}
.mg-about-flow dd {
    margin: 0;
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.6;
}
@media (min-width: 1025px) {
    .mg-about-flow dt {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .mg-about-flow dl > div {
        padding-top: 11px;
    }
}

.mg-offer .mg-about-flow dd a {
    color: #a50f16;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mg-offer .mg-about-flow dd a:hover {
    color: #191b20;
}
.mg-offer .mg-about-flow .is-key dd a::after {
    content: ' ↓';
}

/* Under the five steps: one line that turns step 1 into an action, not a second banner. */
.mg-offer .mg-about-flow__start {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    margin: 20px 0 0;
    padding: 16px 24px 16px 28px;
    border: 1px solid #e3e3e0;
    border-left: 4px solid #c5121a;
    background: #fff;
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.5;
}
.mg-about-flow__start strong {
    margin-right: auto;
    color: #191b20;
    font-size: 18px;
}
.mg-offer .mg-about-flow__start a.mg-about-flow__go {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 20px;
    border-radius: 3px;
    background: #c5121a;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.mg-offer .mg-about-flow__start a.mg-about-flow__go:hover {
    background: #8f0c12;
    color: #fff;
}
.mg-offer .mg-about-flow__or a {
    display: inline-block;
    padding: 10px 0;
    color: #191b20;
    font-weight: 700;
    white-space: nowrap;
}

/* ---- Guarantee and rules: the guarantee card on the left, five straight answers on the right,
   one action underneath. ---- */
.mg-about-pledge {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}
.mg-about-cert {
    padding: 36px 34px 34px;
    border-top: 6px solid #d9161e;
    background: #191b20;
    color: #fff;
}
.mg-about-cert__top {
    display: flex;
    gap: 22px;
    align-items: center;
}
.mg-offer .mg-about-cert__seal {
    display: flex;
    flex: 0 0 112px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin: 0;
    border: 3px solid #d9161e;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #191b20, 0 0 0 6px #4a4d55;
    color: #d6d8dc;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}
.mg-about-cert__seal span {
    color: #fff;
    font-size: 46px;
    letter-spacing: -1px;
    line-height: 1;
}
.mg-about-cert h3 {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.4px;
}
.mg-offer .mg-about-cert__lede {
    margin: 24px 0 26px;
    color: #e6e7e9;
    font-size: 18px;
    line-height: 1.55;
}
/* On wide screens the card stays in view while the five answers beside it are read. */
@media (min-width: 1025px) {
    .mg-about-cert {
        position: sticky;
        top: 88px;
    }
}
/* The guarantee as a short vertical timeline: handover, 12 months, afterwards. */
.mg-about-term {
    margin: 0;
    padding: 24px 0 0;
    border-top: 1px solid #353840;
    list-style: none;
}
.mg-about-term li {
    position: relative;
    padding: 0 0 20px 30px;
}
.mg-about-term li:last-child {
    padding-bottom: 0;
}
.mg-about-term li::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 12px;
    height: 12px;
    border: 2px solid #8a8d95;
    border-radius: 50%;
    background: #191b20;
}
.mg-about-term li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 21px;
    bottom: 2px;
    left: 5px;
    width: 2px;
    background: #4a4d55;
}
.mg-about-term li.is-on::before {
    border-color: #d9161e;
    background: #d9161e;
}
.mg-about-term li.is-on::after {
    background: #d9161e;
}
.mg-about-term strong {
    display: block;
    margin-bottom: 2px;
    font-size: 16px;
    line-height: 1.4;
}
.mg-about-term li.is-on strong {
    color: #ff8086;
}
.mg-about-term span {
    display: block;
    color: #d6d8dc;
    font-size: 15px;
    line-height: 1.5;
}

.mg-offer p.mg-about-rules__intro {
    margin: 0 0 6px;
    color: #191b20;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}
.mg-about-rules ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-about-rules li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #e3e3e0;
}
.mg-about-rules__icon {
    display: inline-flex;
    grid-row: 1 / span 2;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    background: #fbeaeb;
    color: #c5121a;
    font-size: 19px;
}
.mg-about-rules h3 {
    margin: 0 0 4px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}
.mg-offer .mg-about-rules li p {
    margin: 0;
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.6;
}
.mg-about-rules p strong {
    color: #191b20;
}
/* What we do not promise: set apart on purpose, so it is read, not skipped. */
.mg-about-rules li.is-honest {
    margin-top: 16px;
    padding: 20px 20px 20px 18px;
    border: 1px dashed #8a8a86;
    background: #f5f5f3;
}
.mg-about-rules li.is-honest .mg-about-rules__icon {
    background: #191b20;
    color: #fff;
}

/* The one action band in the middle of the page, after the rules are on the table. */
.mg-about-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    margin-top: 56px;
    padding: 28px 34px;
    border-left: 4px solid #d9161e;
    background: #191b20;
}
.mg-offer .mg-about-band p {
    max-width: 640px;
    margin: 0;
    color: #d6d8dc;
    font-size: 16px;
    line-height: 1.6;
}
.mg-about-band p strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 21px;
    line-height: 1.35;
}
.mg-about-band__actions {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}
.mg-about-band .mg-offer-btn {
    border-color: #d9161e;
    background: #d9161e;
}
.mg-about-band .mg-offer-btn:hover {
    border-color: #fff;
    background: #fff;
    color: #191b20;
}
.mg-offer .mg-about-band__tel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.mg-about-band__tel .fa {
    color: #ff8086;
}
.mg-offer .mg-about-band__tel:hover {
    color: #ff8086;
}
.mg-offer .mg-about-band a:focus-visible,
.mg-offer .mg-about-cert a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* ---- Services and prices: the three services with prices as cards, the other three as a
   quieter row. Each card is one link (the name), with "Zobacz zrealizowane …" on top of it. ---- */
.mg-about-svc {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-about-svc > li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px 26px;
    border: 1px solid #e3e3e0;
    border-top: 4px solid #191b20;
    background: #fff;
    transition: border-color 0.2s ease;
}
.mg-about-svc > li:hover {
    border-color: #c5121a;
}
.mg-about-svc__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #fbeaeb;
    color: #c5121a;
    font-size: 20px;
}
.mg-about-svc h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.mg-offer .mg-about-svc h3 a {
    color: #191b20;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.mg-about-svc h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.mg-offer .mg-about-svc > li:hover h3 a {
    color: #c5121a;
    text-decoration-color: currentColor;
}
.mg-offer .mg-about-svc h3 a:focus-visible {
    outline: none;
}
.mg-about-svc h3 a:focus-visible::after {
    outline: 3px solid #c5121a;
    outline-offset: 2px;
}
.mg-offer .mg-about-svc__desc {
    flex: 1 0 auto;
    margin: 10px 0 18px;
    color: #4d4d4d;
    font-size: 15px;
    line-height: 1.6;
}
.mg-offer .mg-about-svc__proof {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 4px 0;
    color: #a50f16;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mg-offer .mg-about-svc__proof:hover {
    color: #191b20;
}
.mg-offer .mg-about-svc__proof:focus-visible {
    outline: 3px solid #c5121a;
    outline-offset: 2px;
}
/* The three without prices: one quieter row, icon beside the text. */
.mg-about-svc--more {
    margin-top: 20px;
}
.mg-about-svc--more > li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-auto-rows: min-content;
    column-gap: 16px;
    align-content: start;
    padding: 22px 24px;
    border-top: 1px solid #e3e3e0;
}
.mg-about-svc--more > li:hover {
    border-color: #c5121a;
}
.mg-about-svc--more .mg-about-svc__icon {
    grid-row: 1 / span 3;
    width: 44px;
    height: 44px;
    margin: 0;
    background: #f5f5f3;
    font-size: 18px;
}
.mg-about-svc--more h3 {
    font-size: 18px;
}
.mg-offer .mg-about-svc--more .mg-about-svc__desc {
    margin: 4px 0 0;
}
.mg-offer .mg-about-svc--more .mg-about-svc__proof {
    justify-self: start;
    margin-top: 4px;
}
/* Allegro templates: a former service, kept for its portfolio. Quieter than the current ones. */
.mg-about-svc--more > li.is-former {
    background: transparent;
}
.mg-about-svc--more .is-former .mg-about-svc__icon {
    background: #ececea;
    color: #595959;
}
.mg-about-svc__tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border: 1px solid #b8b8b4;
    border-radius: 11px;
    color: #4d4d4d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    vertical-align: 2px;
    white-space: nowrap;
}
/* The card's heading link covers the card (h3 a::after); links in the text sit above it. */
.mg-offer .mg-about-svc__desc a {
    position: relative;
    z-index: 2;
    color: #a50f16;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mg-offer .mg-about-svc__desc a:hover {
    color: #191b20;
}
.mg-offer .mg-about-svc__desc a:focus-visible {
    outline: 3px solid #c5121a;
    outline-offset: 2px;
}
.mg-about-what__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    margin-top: 32px;
    padding: 26px 30px;
    border: 1px dashed #b8b8b4;
    background: #fff;
}
.mg-offer .mg-about-what__foot p {
    max-width: 760px;
    margin: 0;
    color: #3d3d3d;
    font-size: 16px;
}
.mg-about-what__foot p strong {
    color: #191b20;
}
.mg-about-what__foot .mg-offer-btn {
    flex-shrink: 0;
}

/* ---- Questions ---- */
.mg-offer--onas .mg-offer-qa .mg-offer-head h2 {
    font-size: 34px;
}
.mg-about-faq details:first-child {
    border-top: 1px solid #d9d9d6;
}
.mg-about-faq summary {
    min-height: 44px;
    padding: 16px 40px 16px 0;
}
.mg-about-faq summary::after {
    top: 10px;
}
.mg-about-faq summary h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    transition: color 0.2s ease;
}
.mg-about-faq summary:hover h3 {
    color: #c5121a;
}
.mg-offer .mg-about-faq details p {
    color: #3d3d3d;
    font-size: 16px;
}

/* ---- Inquiry: heading and what happens next on the left, the form on the right ---- */
.mg-about-final {
    padding: 96px 0;
}
.mg-about-final__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
    grid-template-rows: auto auto auto 1fr;
    gap: 0 72px;
    align-items: start;
}
.mg-offer--onas .mg-about-final .mg-offer-head {
    margin-bottom: 36px;
}
.mg-offer--onas .mg-about-final .mg-offer-head p.mg-about-eyebrow {
    color: #ff8086;
}
.mg-offer--onas .mg-about-final .mg-offer-head h2 {
    font-size: 40px;
}
.mg-offer--onas .mg-about-final .mg-offer-head p:not(.mg-about-eyebrow) {
    color: #d6d8dc;
}
.mg-about-final h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}
.mg-about-final__next h3 {
    margin-bottom: 14px;
}
.mg-about-final__next .mg-offer-next li {
    color: #eceded;
}
.mg-about-final__next .mg-offer-next li:last-child {
    margin-bottom: 0;
}
.mg-about-final__direct {
    margin-top: 36px;
}
.mg-about-final__direct h3 {
    margin-bottom: 4px;
}
.mg-offer .mg-about-final__phone,
.mg-offer .mg-about-final__mail {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.mg-offer .mg-about-final__phone {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.4px;
}
.mg-offer .mg-about-final__mail {
    font-size: 17px;
    text-decoration: underline;
    text-decoration-color: #ff8086;
    text-underline-offset: 4px;
}
.mg-about-final__phone .fa,
.mg-about-final__mail .fa {
    width: 24px;
    color: #ff8086;
    font-size: 20px;
    text-align: center;
}
.mg-offer .mg-about-final__phone:hover,
.mg-offer .mg-about-final__mail:hover {
    color: #ff8086;
}
.mg-about-final__pick {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #40434b;
}
.mg-about-final__pick h3 {
    margin-bottom: 2px;
}
.mg-offer .mg-about-final__pick p {
    margin-bottom: 8px;
    color: #d6d8dc;
    font-size: 15px;
}
.mg-about-final__pick ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-offer .mg-about-final__pick a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    border-bottom: 1px solid #33363d;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.mg-about-final__pick a::after {
    content: '→';
    color: #ff8086;
}
.mg-offer .mg-about-final__pick a:hover {
    color: #ff8086;
}

/* The form card. The page loads css/contact.css after this file in WordPress (the shortcode
   enqueues it), so every rule here is scoped one level deeper than the ones it replaces. */
.mg-about-final__grid > .mg-about-form {
    grid-column: 2;
    grid-row: 1 / span 4;
}
.mg-about-form {
    padding: 36px 38px 30px;
    border-top: 6px solid #d9161e;
    background: #fff;
    color: #262626;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}
.mg-about-form h3 {
    margin-bottom: 8px;
    color: #191b20;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.6px;
}
.mg-offer .mg-about-form__lede {
    margin-bottom: 22px;
    color: #4d4d4d;
    font-size: 16px;
    line-height: 1.6;
}
.mg-offer .mg-about-form a:focus-visible,
.mg-offer .mg-about-form button:focus-visible,
.mg-offer .mg-about-form input:focus-visible,
.mg-offer .mg-about-form textarea:focus-visible {
    outline: 3px solid #c5121a;
    outline-offset: 2px;
}

/* "Czego dotyczy zapytanie?": toggle buttons that write the first line of the message.
   They need JS, so without it they are not shown. */
.mg-about-needs {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #ececea;
}
html:not(.mg-js) .mg-about-needs {
    display: none;
}
.mg-offer .mg-about-needs__label {
    margin-bottom: 10px;
    color: #191b20;
    font-size: 15px;
    font-weight: 700;
}
.mg-about-needs__label span {
    color: #595959;
    font-weight: 400;
}
.mg-about-needs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-offer .mg-about-needs button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 15px;
    border: 1px solid #b8b8b4;
    border-radius: 22px;
    background: #fff;
    color: #262626;
    font-family: 'Open Sans', 'Open Sans Fallback', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mg-about-needs button::before {
    content: '+';
    width: 10px;
    color: #c5121a;
    font-weight: 700;
    text-align: center;
}
.mg-offer .mg-about-needs button:hover {
    border-color: #c5121a;
    color: #a50f16;
}
.mg-offer .mg-about-needs button[aria-pressed="true"] {
    border-color: #191b20;
    background: #191b20;
    color: #fff;
}
.mg-about-needs button[aria-pressed="true"]::before {
    content: '✓';
    color: #ff8086;
}

.mg-offer .mg-about-form .mg-contact {
    color: #262626;
    font-size: 15px;
}
.mg-offer .mg-about-form .mg-contact .mg-contact__hint {
    margin: 0 0 16px;
    color: #595959;
    font-size: 14px;
}
.mg-offer .mg-about-form .mg-contact__grid {
    gap: 16px;
}
.mg-offer .mg-about-form .mg-contact__field {
    gap: 6px;
    margin: 0;
}
.mg-offer .mg-about-form .mg-contact__field > span {
    color: #191b20;
    font-size: 15px;
    font-weight: 600;
}
.mg-offer .mg-about-form .mg-contact__optional {
    color: #595959;
    font-size: 14px;
    font-weight: 400;
}
.mg-offer .mg-about-form .mg-contact input:not([type="checkbox"]):not([type="hidden"]),
.mg-offer .mg-about-form .mg-contact textarea {
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #8a8a86;
    border-radius: 3px;
    background: #fff;
    color: #191b20;
    font-size: 16px;
}
.mg-offer .mg-about-form .mg-contact textarea {
    min-height: 140px;
}
.mg-offer .mg-about-form .mg-contact input:not([type="checkbox"]):hover,
.mg-offer .mg-about-form .mg-contact textarea:hover {
    border-color: #191b20;
}
.mg-offer .mg-about-form .mg-contact input:focus-visible,
.mg-offer .mg-about-form .mg-contact textarea:focus-visible {
    border-color: #c5121a;
}
.mg-offer .mg-about-form .mg-contact__consent {
    margin: 18px 0;
    color: #4d4d4d;
    font-size: 14px;
    line-height: 1.55;
}
.mg-offer .mg-about-form .mg-contact__consent input {
    accent-color: #c5121a;
}
.mg-offer .mg-about-form .mg-contact a {
    color: #a50f16;
    font-weight: 600;
    white-space: normal;
}
.mg-offer .mg-about-form .mg-contact a:hover {
    color: #191b20;
}
.mg-offer .mg-about-form .mg-contact .mg-contact__submit {
    width: 100%;
    min-height: 54px;
    gap: 12px;
    border-color: #c5121a;
    border-radius: 3px;
    background: #c5121a;
    font-size: 17px;
    font-weight: 700;
}
.mg-offer .mg-about-form .mg-contact .mg-contact__submit:hover,
.mg-offer .mg-about-form .mg-contact .mg-contact__submit:focus-visible {
    border-color: #8f0c12;
    background: #8f0c12;
}
.mg-offer .mg-about-form .mg-contact .mg-contact__alternative {
    margin: 14px 0 0;
    color: #595959;
    font-size: 14px;
    text-align: center;
}
.mg-offer .mg-about-form .mg-contact__status {
    margin: 0 0 16px;
    border-left-color: #c5121a;
    background: #fbeaeb;
    color: #262626;
    font-size: 14px;
}

/* ---- Small laptops ---- */
@media (max-width: 1199px) {
    .mg-about-hero__grid {
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 44px;
    }
    .mg-about-hero h1 {
        font-size: 44px;
    }
    .mg-about-facts strong {
        font-size: 34px;
    }
    .mg-about-who__grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 48px;
    }
    .mg-about-meet {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    .mg-about-meet__head {
        max-width: 640px;
    }
    .mg-about-how {
        --mg-flow-title: 200px;
        --mg-flow-gap: 24px;
        --mg-flow-pad: 24px;
    }
    .mg-about-pledge {
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 40px;
    }
    .mg-about-final__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
        gap: 0 48px;
    }
}

/* ---- Tablets: one column; the five steps become a vertical timeline ---- */
@media (max-width: 1024px) {
    .mg-about-hero::before {
        display: none;
    }
    .mg-about-hero__grid,
    .mg-about-who__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    .mg-about-facts,
    .mg-about-idcard {
        max-width: 640px;
    }
    .mg-about-values {
        margin-top: 64px;
    }
    .mg-about-meet {
        margin-top: 56px;
    }
    .mg-about-svc {
        grid-template-columns: minmax(0, 1fr);
    }
    .mg-about-svc > li {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 20px;
        align-items: baseline;
    }
    .mg-about-svc__icon {
        grid-row: 1 / span 3;
        align-self: start;
        margin: 0;
    }
    .mg-about-svc h3 {
        grid-column: 2;
    }
    .mg-offer .mg-about-svc__desc,
    .mg-offer .mg-about-svc__proof {
        grid-column: 2 / -1;
    }
    .mg-offer .mg-about-svc__desc {
        margin: 8px 0 6px;
    }
    .mg-offer .mg-about-svc__proof {
        justify-self: start;
    }
    .mg-about-svc--more > li {
        grid-template-columns: 44px minmax(0, 1fr);
    }
    .mg-about-svc--more .mg-about-svc__icon {
        grid-row: 1 / span 3;
    }
    .mg-about-flow__cols {
        display: none;
    }
    .mg-about-flow {
        border: 0;
        background: none;
    }
    .mg-about-flow > li {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 18px;
        padding: 0 0 28px;
        border: 0;
        background: none;
    }
    .mg-about-flow > li + li {
        border-top: 0;
    }
    .mg-about-flow > li.is-key {
        background: none;
        box-shadow: none;
    }
    .mg-about-flow > li::before {
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
        margin: 0;
        font-size: 18px;
    }
    .mg-about-flow > li:not(:last-child)::after {
        top: 44px;
        right: auto;
        bottom: 0;
        left: 21px;
        width: 2px;
        height: auto;
    }
    .mg-about-flow h3 {
        grid-column: 2;
        min-height: 0;
        padding-top: 9px;
        font-size: 19px;
    }
    /* "My" and "Ty" as a quiet label column inside one white card per step. */
    .mg-about-flow dl {
        grid-column: 2;
        display: block;
        margin-top: 10px;
        border: 1px solid #e3e3e0;
        background: #fff;
    }
    .mg-about-flow > li.is-key dl {
        border-color: #c5121a;
        box-shadow: inset 4px 0 0 #c5121a;
    }
    .mg-about-flow dl > div {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 12px;
        align-items: baseline;
        padding: 12px 16px;
    }
    .mg-about-flow dl > div + div {
        border-top: 1px solid #ececea;
    }
    .mg-about-flow dt {
        padding: 1px 0;
        text-align: center;
    }
    .mg-about-flow dd {
        font-size: 15px;
        line-height: 1.55;
    }
    .mg-offer .mg-about-flow__start {
        margin-top: 4px;
    }
    .mg-about-pledge {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    .mg-about-cert {
        max-width: 640px;
    }
    .mg-about-band {
        flex-direction: column;
        align-items: flex-start;
    }
    .mg-about-what__foot {
        flex-direction: column;
        align-items: flex-start;
    }
    /* One column: heading, form, then what happens next and the other ways in. */
    .mg-about-final__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        gap: 0;
    }
    .mg-about-final__grid > .mg-about-form {
        grid-column: 1;
        grid-row: auto;
        max-width: 720px;
        margin-bottom: 40px;
    }
}

/* ---- Phones ---- */
@media (max-width: 767px) {
    .mg-offer--onas .mg-offer-section,
    .mg-about-final {
        padding: 52px 0;
    }
    .mg-offer--onas .mg-offer-head {
        margin-bottom: 24px;
    }
    .mg-offer--onas .mg-offer-head h2,
    .mg-offer--onas .mg-offer-qa .mg-offer-head h2,
    .mg-offer--onas .mg-about-final .mg-offer-head h2 {
        font-size: 28px;
        letter-spacing: -0.6px;
    }
    .mg-offer--onas .mg-about-eyebrow,
    .mg-offer--onas .mg-offer-head p.mg-about-eyebrow {
        margin-bottom: 12px;
        font-size: 14px;
        letter-spacing: 0.1em;
    }
    .mg-offer--onas .mg-offer-head p:not(.mg-about-eyebrow) {
        font-size: 16px;
    }

    .mg-about-hero {
        padding: 24px 0 36px;
    }
    .mg-about-hero h1 {
        max-width: none;
        font-size: 32px;
        line-height: 1.15;
        letter-spacing: -0.7px;
    }
    .mg-about-hero__pre {
        margin-bottom: 10px;
        font-size: 14px;
        letter-spacing: 0.1em;
    }
    .mg-offer .mg-about-hero .mg-offer-hero__lede {
        margin: 14px 0 0;
        font-size: 16px;
    }
    .mg-about-hero__grid {
        gap: 24px;
    }
    /* The fixed bar at the bottom holds both actions; the reassurance stays. */
    .mg-about-assure {
        flex-direction: column;
        gap: 4px;
        margin-top: 14px;
    }
    .mg-about-facts {
        margin: 0 -8px;
    }
    .mg-offer .mg-about-facts__title {
        padding: 14px 16px 0;
    }
    .mg-about-facts ul {
        padding: 4px;
    }
    .mg-about-facts a {
        padding: 12px 12px 12px;
    }
    .mg-about-facts strong {
        font-size: 28px;
        letter-spacing: -0.6px;
    }
    .mg-about-facts span {
        margin: 4px 0 8px;
        font-size: 14px;
        line-height: 1.4;
    }

    .mg-offer .mg-about-lead {
        margin-bottom: 30px;
        font-size: 18px;
    }
    .mg-offer .mg-about-motto {
        padding-top: 26px;
    }
    .mg-offer .mg-about-motto blockquote p {
        font-size: 24px;
        letter-spacing: -0.4px;
    }
    .mg-about-motto figcaption {
        font-size: 16px;
    }
    .mg-about-idcard {
        margin: 0 -8px;
    }
    .mg-about-idcard__head {
        padding: 18px 18px 14px;
    }
    .mg-about-idcard__head img {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
    .mg-about-idcard dl {
        padding: 0 18px 8px;
    }
    .mg-about-idcard dl > div {
        grid-template-columns: 98px minmax(0, 1fr);
        gap: 10px;
        padding: 8px 0;
    }
    .mg-about-idcard__check {
        padding: 16px 18px 14px;
    }
    .mg-about-values {
        margin-top: 48px;
    }
    .mg-offer .mg-about-values__title {
        margin-bottom: 16px;
        font-size: 21px;
    }
    .mg-about-values ol {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .mg-about-values li {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 8px;
        padding: 16px 0;
        border-top-width: 1px;
        border-top-color: #e3e3e0;
    }
    .mg-about-values li:first-child {
        border-top: 3px solid #191b20;
    }
    .mg-about-values li::before {
        grid-row: 1 / span 2;
        margin: 2px 0 0;
    }
    .mg-about-values h4 {
        margin-bottom: 4px;
        font-size: 17px;
    }
    .mg-offer .mg-about-values p {
        font-size: 15px;
    }
    .mg-about-meet {
        margin: 40px -8px 0;
        padding: 26px 20px;
        gap: 22px;
    }
    .mg-about-meet h3 {
        font-size: 21px;
    }
    .mg-offer .mg-about-meet__head p {
        font-size: 16px;
    }
    .mg-about-meet ul {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding-top: 20px;
        border-top: 1px solid #353840;
    }
    /* Icon beside the text, centred on it. */
    .mg-about-meet li {
        flex-direction: row;
        align-items: center;
    }
    .mg-about-meet__icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .mg-about-flow > li {
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 12px;
        padding-bottom: 20px;
    }
    .mg-about-flow > li::before {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
    .mg-about-flow > li:not(:last-child)::after {
        top: 40px;
        left: 19px;
    }
    .mg-about-flow h3 {
        padding-top: 8px;
        font-size: 18px;
    }
    /* The card takes the full width under the number and the title; the thread between the
       numbers runs behind it and shows only in the gaps. */
    .mg-about-flow dl {
        position: relative;
        z-index: 2;
        grid-column: 1 / -1;
        margin-top: 10px;
    }
    .mg-about-flow dl > div {
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 10px;
        padding: 11px 12px;
    }
    .mg-about-flow dt {
        padding: 0;
        font-size: 14px;
        letter-spacing: 0.04em;
    }
    .mg-offer .mg-about-flow__start {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 4px -8px 0;
        padding: 18px 18px 14px;
    }
    .mg-offer .mg-about-flow__start a.mg-about-flow__go {
        justify-content: center;
        min-height: 48px;
    }
    .mg-about-flow__or {
        text-align: center;
    }

    .mg-about-cert {
        margin: 0 -8px;
        padding: 26px 20px 24px;
    }
    .mg-about-cert__top {
        gap: 18px;
    }
    .mg-offer .mg-about-cert__seal {
        flex-basis: 100px;
        width: 100px;
        height: 100px;
        font-size: 14px;
        letter-spacing: 0.02em;
        box-shadow: none;
    }
    .mg-about-cert__seal span {
        font-size: 36px;
    }
    .mg-about-cert h3 {
        font-size: 22px;
    }
    .mg-offer .mg-about-cert__lede {
        margin: 18px 0 20px;
        font-size: 16px;
    }
    .mg-about-term {
        padding-top: 20px;
    }
    .mg-about-term li {
        padding-bottom: 16px;
    }
    .mg-offer p.mg-about-rules__intro {
        font-size: 18px;
    }
    .mg-about-rules li {
        grid-template-columns: 36px minmax(0, 1fr);
        column-gap: 14px;
        padding: 16px 0;
    }
    .mg-about-rules__icon {
        grid-row: 1;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .mg-about-rules h3 {
        align-self: center;
        margin: 0;
        font-size: 17px;
    }
    .mg-offer .mg-about-rules li p {
        grid-column: 1 / -1;
        margin-top: 8px;
        font-size: 15px;
    }
    .mg-about-rules li.is-honest {
        margin: 16px -8px 0;
        padding: 16px 16px;
    }
    .mg-about-band {
        margin: 36px -8px 0;
        padding: 22px 18px;
    }
    .mg-about-band p strong {
        font-size: 19px;
    }
    .mg-about-band__actions,
    .mg-about-band .mg-offer-btn {
        width: 100%;
    }
    .mg-about-band__actions {
        justify-content: center;
    }

    /* Services: the name, then the description and the proof link below. */
    .mg-about-svc {
        gap: 10px;
    }
    .mg-about-svc--more {
        margin-top: 10px;
    }
    .mg-about-svc > li,
    .mg-about-svc--more > li {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px 12px;
        padding: 18px 16px 14px;
    }
    .mg-about-svc > li {
        border-top-width: 3px;
    }
    .mg-about-svc__icon,
    .mg-about-svc--more .mg-about-svc__icon {
        display: none;
    }
    .mg-about-svc h3,
    .mg-about-svc--more h3 {
        grid-column: 1;
        grid-row: 1;
        font-size: 18px;
    }
    .mg-offer .mg-about-svc__desc,
    .mg-offer .mg-about-svc__proof,
    .mg-offer .mg-about-svc--more .mg-about-svc__desc,
    .mg-offer .mg-about-svc--more .mg-about-svc__proof {
        grid-column: 1 / -1;
    }
    .mg-offer .mg-about-svc__desc {
        margin: 4px 0 2px;
    }
    /* On a phone the service name itself reads as the link. */
    .mg-offer .mg-about-svc h3 a {
        text-decoration-color: #c5121a;
        text-decoration-thickness: 2px;
    }
    .mg-about-what__foot {
        margin: 24px -8px 0;
        padding: 20px 18px;
    }
    .mg-about-what__foot .mg-offer-btn {
        width: 100%;
    }

    .mg-about-faq summary h3 {
        font-size: 16px;
    }
    .mg-offer .mg-about-faq details p {
        font-size: 15px;
    }

    .mg-about-form {
        margin: 0 -8px;
        padding: 26px 18px 22px;
    }
    .mg-about-form h3 {
        font-size: 24px;
    }
    .mg-offer .mg-about-form__lede {
        font-size: 15px;
    }
    /* Two chips per row instead of one long column of single chips. */
    .mg-about-needs ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mg-offer .mg-about-needs button {
        width: 100%;
        height: 100%;
        padding: 8px 12px;
        border-radius: 3px;
        text-align: left;
    }
    .mg-offer .mg-about-final__phone {
        font-size: 24px;
    }
}

@media (max-width: 380px) {
    .mg-about-hero h1 {
        font-size: 29px;
    }
    .mg-about-facts strong {
        font-size: 25px;
    }
    .mg-about-idcard dl > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
}
