* {
    box-sizing: border-box;
}

:root {
    --plum: #6d3f73;
    --plum-soft: #eee3f0;
    --berry: #a8466c;
    --berry-soft: #f6e2ea;
    --lime: #a7bf4a;
    --lime-soft: #eef4d8;
    --ice: #edf6f8;
    --sky: #dceef3;
    --paper: #f8fbfc;
    --white: #ffffff;
    --text: #4f5577;
    --muted: #6d7392;
    --line: #c5d9df;
    --focus: #7e315c;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.68;
}

body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 88% 12%, rgba(167, 191, 74, 0.10) 0 96px, transparent 97px),
        linear-gradient(90deg, transparent 0 49.7%, rgba(109, 63, 115, 0.035) 49.7% 50.3%, transparent 50.3% 100%);
    pointer-events: none;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.narrow {
    width: min(830px, 100%);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    color: var(--plum);
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

h2 {
    margin-bottom: 18px;
    color: var(--plum);
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h3 {
    margin-bottom: 10px;
    color: var(--berry);
    font-size: 19px;
    line-height: 1.32;
}

p {
    margin-bottom: 17px;
    font-size: 16px;
}

p:last-child {
    margin-bottom: 0;
}

.site-head {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.head-row {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--plum);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.brand-ring {
    position: relative;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 6px solid var(--plum);
    border-radius: 50%;
    background: var(--sky);
    box-shadow: inset 0 0 0 5px var(--white);
}

.brand-ring::before,
.brand-ring::after {
    content: "";
    position: absolute;
    top: -9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
}

.brand-ring::before {
    left: 4px;
}

.brand-ring::after {
    right: 4px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
}

.site-nav a:not(.button) {
    padding: 9px 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 2px solid transparent;
}

.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"]:not(.button) {
    color: var(--plum);
    border-bottom-color: var(--lime);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 17px;
    border: 2px solid var(--plum);
    background: var(--plum);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
    background: var(--berry);
    border-color: var(--berry);
}

.button.secondary {
    background: var(--white);
    color: var(--plum);
    border-color: var(--lime);
}

.button.secondary:hover {
    background: var(--lime-soft);
    border-color: var(--lime);
}

.control-band {
    background: var(--plum-soft);
    border-top: 1px solid #dfcfe4;
}

.control-band .wrap {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--plum);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.control-band span + span::before {
    content: "•";
    margin-right: 22px;
    color: var(--berry);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--berry);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 30px;
    height: 10px;
    border-radius: 999px;
    background: var(--lime);
    box-shadow: 14px 0 0 -3px var(--berry);
}

/* INDEX */
.drum-opening {
    overflow: hidden;
    padding: 58px 0 54px;
    background: var(--ice);
    border-bottom: 1px solid var(--line);
}

.drum-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 322px;
    gap: 54px;
    align-items: center;
}

.drum-copy {
    min-width: 0;
}

.drum-copy > p {
    max-width: 760px;
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.drum-window {
    position: relative;
    width: 292px;
    height: 292px;
    justify-self: end;
    display: grid;
    place-items: center;
    border: 22px solid var(--plum);
    border-radius: 50%;
    background: var(--sky);
    box-shadow:
        inset 0 0 0 9px var(--white),
        inset 0 0 0 11px var(--berry);
}

.drum-window::before {
    content: "";
    position: absolute;
    width: 328px;
    height: 328px;
    border: 2px dashed var(--lime);
    border-radius: 50%;
}

.drum-window::after {
    content: "";
    position: absolute;
    top: -38px;
    right: 19px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--berry);
    box-shadow: -43px 3px 0 var(--lime), -82px 16px 0 var(--plum);
}

.drum-window ul {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
    color: var(--plum);
    font-weight: 800;
}

.drum-window li {
    padding: 3px 0;
    font-size: 15px;
}

.cut-section {
    padding: 54px 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.cut-section.tint {
    background: var(--plum-soft);
}

.cut-section.lime {
    background: var(--lime-soft);
}

.cut-flow {
    display: grid;
    grid-template-columns: 146px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.service-stamp {
    position: sticky;
    top: 18px;
    padding-top: 8px;
    color: var(--berry);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-stamp::after {
    content: "";
    display: block;
    width: 68px;
    height: 14px;
    margin-top: 12px;
    background: repeating-linear-gradient(90deg, var(--plum) 0 5px, transparent 5px 10px);
}

.content-run {
    max-width: 850px;
}

.content-run .inline-note {
    margin: 26px 0 4px;
    padding: 18px 20px;
    border-left: 6px solid var(--lime);
    background: var(--ice);
}

.content-run .inline-note p {
    margin-bottom: 0;
}

/* HOME */
.repair-opening {
    padding: 54px 0 42px;
    background: var(--plum-soft);
    border-bottom: 1px solid #dbc9df;
}

.repair-opening .narrow {
    position: relative;
    padding-left: 74px;
}

.repair-opening .narrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 44px;
    height: 44px;
    border: 10px solid var(--berry);
    border-radius: 50%;
    box-shadow: 0 54px 0 -13px var(--lime), 0 92px 0 -16px var(--plum);
}

.symptom-ribbon {
    margin-top: 26px;
    padding: 17px 20px;
    background: var(--white);
    border-top: 4px solid var(--lime);
    border-bottom: 1px solid #dacfe0;
}

.symptom-ribbon strong {
    color: var(--plum);
}

.repair-section {
    padding: 50px 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.repair-section.ice {
    background: var(--ice);
}

.repair-line {
    width: min(920px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.repair-line h2 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.repair-line h2::after {
    content: "";
    min-width: 72px;
    height: 3px;
    flex: 1;
    background: linear-gradient(90deg, var(--lime), transparent);
}

.repair-points {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
}

.repair-points li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
}

.repair-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 11px;
    height: 11px;
    margin-top: -5px;
    border: 3px solid var(--berry);
    border-radius: 50%;
}

.visit-fold {
    margin-top: 24px;
    padding: 22px 24px;
    background: var(--lime-soft);
    border-right: 8px solid var(--plum);
}

/* OFERTA */
.offer-opening {
    padding: 56px 0 48px;
    background: var(--ice);
    border-bottom: 1px solid var(--line);
}

.offer-frame {
    position: relative;
    padding: 8px 0 0 42px;
    border-left: 10px solid var(--berry);
}

.offer-frame::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 0;
    width: 10px;
    height: 92px;
    background: var(--lime);
}

.offer-frame > p {
    max-width: 850px;
}

.service-ledger {
    margin: 34px 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.ledger-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
}

.ledger-row h3 {
    margin: 0;
    color: var(--plum);
}

.ledger-row p {
    margin: 0;
}

.offer-section {
    padding: 50px 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.offer-section.tint {
    background: var(--berry-soft);
}

.offer-section .narrow {
    margin-left: auto;
    margin-right: auto;
}

.condition-bar {
    margin-top: 24px;
    padding: 18px 20px;
    background: var(--plum-soft);
    border-left: 6px solid var(--plum);
}

/* wspólne zakończenia */
.local-copy {
    padding: 18px 0;
    background: var(--paper);
}

.local-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    padding: 30px 0 34px;
    background: var(--plum);
    color: var(--white);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.footer-links a:hover {
    border-bottom-color: var(--lime);
}

.footer-links .privacy {
    opacity: 0.68;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .wrap {
        width: min(100% - 40px, 980px);
    }

    .drum-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 34px;
    }

    .drum-window {
        width: 226px;
        height: 226px;
        border-width: 18px;
    }

    .drum-window::before {
        width: 254px;
        height: 254px;
    }

    .cut-flow {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 820px) {
    .head-row {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
        gap: 14px;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .control-band .wrap {
        flex-wrap: wrap;
        gap: 6px 16px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .control-band span + span::before {
        margin-right: 16px;
    }

    .drum-layout {
        grid-template-columns: 1fr;
    }

    .drum-window {
        justify-self: start;
        margin: 8px 0 10px 18px;
    }

    .cut-flow {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-stamp {
        position: static;
    }

    .service-stamp::after {
        margin-top: 8px;
    }

    .repair-opening .narrow {
        padding-left: 62px;
    }

    .ledger-row {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .wrap {
        width: min(100% - 28px, 560px);
    }

    h1 {
        font-size: 40px;
        overflow-wrap: anywhere;
    }

    h2 {
        font-size: 28px;
        overflow-wrap: anywhere;
    }

    .site-nav {
        gap: 5px;
    }

    .site-nav a:not(.button) {
        padding-left: 6px;
        padding-right: 6px;
    }

    .button {
        width: 100%;
    }

    .button-row {
        flex-direction: column;
    }

    .control-band span {
        width: 100%;
    }

    .control-band span + span::before {
        content: "";
        margin: 0;
    }

    .drum-opening,
    .repair-opening,
    .offer-opening {
        padding-top: 42px;
        padding-bottom: 40px;
    }

    .drum-window {
        width: 196px;
        height: 196px;
        margin-left: 10px;
        border-width: 15px;
    }

    .drum-window::before {
        width: 220px;
        height: 220px;
    }

    .cut-section,
    .repair-section,
    .offer-section {
        padding: 42px 0;
    }

    .repair-opening .narrow {
        padding-left: 0;
    }

    .repair-opening .narrow::before {
        position: static;
        display: block;
        margin-bottom: 20px;
    }

    .repair-points {
        grid-template-columns: 1fr;
    }

    .repair-line h2 {
        display: block;
    }

    .repair-line h2::after {
        display: block;
        width: 82px;
        margin-top: 12px;
    }

    .offer-frame {
        padding-left: 24px;
        border-left-width: 7px;
    }

    .offer-frame::before {
        left: -7px;
        width: 7px;
    }

    .ledger-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
