:root {
    color-scheme: light;
    --plum: #995c9b;
    --plum-strong: #775889;
    --lilac: #e8d9f3;
    --blush: #ffc4df;
    --ice: #d8edfb;
    --paper: #f7f8ff;
    --white: #ffffff;
    --ink: #605e86;
    --muted: #8582a5;
    --line: #d7d5eb;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.frame {
    width: min(1160px, calc(100% - 70px));
    margin-inline: auto;
}

p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.71;
}

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

h1, h2, h3 {
    color: var(--plum-strong);
    letter-spacing: -.032em;
}

h1 {
    margin: 15px 0 24px;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
}

h2 {
    margin: 9px 0 27px;
    font-size: 28px;
    line-height: 1.27;
    font-weight: 800;
}

h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}

strong {
    font-weight: 800;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid #b84689;
    outline-offset: 4px;
}

main p a:not(.link-button) {
    color: var(--plum);
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
}

main p a:not(.link-button):hover {
    border-bottom-style: solid;
}

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

.masthead-inner {
    min-height: 91px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.signature {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--plum-strong);
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.04em;
}

.signature-dot {
    width: 41px;
    height: 41px;
    border-radius: 50%;
    background: var(--plum);
    border: 9px solid var(--blush);
    box-shadow: 9px -8px 0 var(--ice);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
}

.site-nav a {
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

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

.tagline, .number-label {
    display: block;
    color: var(--plum);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .105em;
}

.paired-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    align-items: stretch;
    margin-top: 28px;
}

.link-button {
    display: inline-flex;
    min-height: 51px;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    color: var(--plum);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid var(--plum);
    border-radius: 5px;
    white-space: nowrap;
    transition: transform .16s, background-color .16s;
}

.link-button:hover {
    transform: translateY(-2px);
}

.link-button:active {
    transform: translateY(0);
}

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

.button-plum:hover {
    background: var(--plum-strong);
}

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

.button-white:hover {
    background: #f6e7fc;
}

.button-outline {
    background: transparent;
    color: var(--plum);
}

.button-outline:hover {
    background: #eee0f6;
}

.intro {
    overflow: hidden;
    background: #e7def2;
    border-bottom: 8px solid var(--blush);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 54px;
    min-height: 555px;
}

.intro-copy {
    padding-block: 68px;
}

.intro-copy h1 {
    max-width: 670px;
}

.intro-note {
    position: relative;
    min-height: 425px;
    display: flex;
    flex-direction: column;
    padding: 25px 29px 30px;
    background: var(--white);
    border: 3px solid #b38cc5;
    box-shadow: 13px 13px 0 var(--blush);
    transform: rotate(1deg);
}

.note-top {
    display: block;
    color: var(--plum);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.note-circle {
    position: relative;
    width: 125px;
    height: 125px;
    margin: 23px auto 25px;
    border: 14px solid var(--lilac);
    background: #f7ebf7;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--plum);
}

.note-circle i {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--plum);
    border-radius: 50%;
}

.note-circle i:nth-child(1) { top: 15px; left: 35px; }
.note-circle i:nth-child(2) { top: 46px; left: 17px; background: #c18bc9; }
.note-circle i:nth-child(3) { top: 54px; right: 15px; background: #a2cce6; }

.note-facts {
    border-top: 1px solid var(--line);
}

.note-facts div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-block: 13px;
    border-bottom: 1px solid var(--line);
}

.note-facts strong {
    flex-shrink: 0;
    color: var(--plum);
    font-size: 18px;
}

.note-facts span {
    color: var(--muted);
    text-align: right;
    font-size: 12px;
    font-weight: 700;
}

.territory {
    padding-block: 75px 78px;
}

.territory-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
}

.territory-columns p {
    margin: 0;
}

.device-journal {
    padding-block: 76px 83px;
    background: var(--white);
    border-block: 1px solid var(--line);
}

.journal-entry {
    padding-block: 30px 34px;
    border-top: 1px solid var(--line);
}

.journal-entry:first-of-type {
    border-top: 3px solid var(--plum);
}

.entry-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 21px;
}

.entry-no {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    background: var(--blush);
    color: var(--plum-strong);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
}

.entry-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
}

.entry-columns p {
    margin: 0;
}

.diagnosis {
    padding-block: 77px 82px;
}

.diagnosis-prose {
    max-width: 970px;
    padding-left: 28px;
    border-left: 5px solid var(--blush);
}

.contact-footer {
    padding-block: 72px 82px;
    background: var(--ice);
}

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    align-items: center;
    gap: 70px;
}

.opening-time {
    background: var(--white);
    border-top: 7px solid var(--plum);
    padding: 28px 29px 17px;
}

.opening-time > span {
    display: block;
    color: var(--plum);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 17px;
}

.opening-time div {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding-block: 19px;
    border-top: 1px solid var(--line);
}

.opening-time strong {
    font-size: 13px;
    color: var(--muted);
}

.opening-time em {
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    color: var(--plum-strong);
    white-space: nowrap;
}

.bottom-bar {
    background: var(--plum-strong);
    color: var(--white);
}

.bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    padding-block: 33px;
}

.bottom-brand {
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.bottom-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.bottom-inner nav a {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.bottom-inner nav a:hover, .bottom-brand:hover {
    color: var(--blush);
}

.bottom-inner nav .privacy {
    opacity: .78;
    font-size: 12px;
    font-weight: 400;
}

/* Naprawy pralek i zmywarek */
.repair-intro {
    padding-block: 77px 72px;
    background: var(--ice);
    border-bottom: 6px solid var(--plum);
}

.repair-intro h1 {
    margin-top: 17px;
    max-width: 900px;
}

.repair-intro > .frame > p, .repair-opening-text {
    max-width: 970px;
}

.repair-article, .repair-extra {
    padding-block: 74px 80px;
}

.article-index {
    color: var(--plum);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.prose-column {
    max-width: 980px;
    border-top: 2px solid var(--line);
    padding-top: 25px;
}

.dishwasher-band {
    padding-block: 74px 79px;
    background: var(--white);
    border-block: 1px solid var(--line);
}

.repair-extra > p {
    max-width: 990px;
}

.repair-schedule {
    max-width: 1000px;
    margin-top: 29px;
    padding: 27px 31px;
    border-left: 6px solid var(--plum);
    background: var(--lilac);
}

.repair-schedule .paired-cta {
    margin-top: 24px;
}

/* Serwis AGD */
.service-opening {
    padding-block: 73px 78px;
    background: #eadbf1;
    border-bottom: 7px solid var(--blush);
}

.service-opening h1 {
    margin-top: 17px;
}

.service-opening p {
    max-width: 980px;
}

.service-actions {
    padding-block: 74px 76px;
}

.service-action-row {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 19px;
    align-items: start;
    padding-block: 27px;
    border-top: 1px solid var(--line);
}

.action-index {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--plum);
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
}

.service-action-row h3 {
    margin: 0 0 14px;
}

.service-action-row p {
    margin: 0;
    max-width: 990px;
}

.service-rules {
    padding-block: 74px 78px;
    background: var(--white);
    border-block: 1px solid var(--line);
}

.rules-copy {
    max-width: 1010px;
}

.rules-hours {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 33px;
}

.rules-hours div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    background: var(--lilac);
    border-top: 4px solid var(--plum);
}

.rules-hours strong {
    color: var(--plum-strong);
    font-size: 14px;
}

.rules-hours span {
    font-size: 16px;
    color: var(--plum);
    font-weight: 800;
    white-space: nowrap;
}

.service-final {
    padding-block: 74px 85px;
}

.service-final > p {
    max-width: 1000px;
}

.service-final .paired-cta {
    margin-top: 31px;
}

@media (max-width: 1110px) {
    .intro-grid { gap: 35px; }
    .contact-inner { gap: 37px; }
    .intro-note { padding-inline: 21px; }
    .note-facts strong { font-size: 16px; }
}

@media (max-width: 870px) {
    .frame { width: min(100% - 46px, 700px); }
    .masthead-inner { flex-wrap: wrap; align-items: flex-start; gap: 12px; padding-block: 16px; }
    .signature { width: 100%; }
    .intro-grid, .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .intro-copy { padding-block: 58px 0; }
    .intro-note { width: min(100%, 480px); min-height: 0; margin: 0 auto 63px; transform: none; }
    .contact-inner { padding-block: 0; }
    .opening-time { max-width: 100%; }
    .rules-hours { gap: 8px; }
    .rules-hours div { flex-wrap: wrap; }
}

@media (max-width: 610px) {
    .frame { width: calc(100% - 36px); }
    h1 { font-size: 40px; overflow-wrap: break-word; }
    h2 { font-size: 28px; overflow-wrap: break-word; }
    .signature { font-size: 20px; }
    .site-nav { gap: 6px 19px; }
    .site-nav a { font-size: 12px; }
    .intro-copy { padding-top: 49px; }
    .intro-note { margin-bottom: 49px; }
    .paired-cta { display: grid; grid-template-columns: minmax(0, 1fr); }
    .link-button { width: 100%; white-space: normal; }
    .territory, .device-journal, .diagnosis, .repair-article, .repair-extra, .dishwasher-band, .service-actions, .service-rules, .service-final {
        padding-block: 52px;
    }
    .territory-columns, .entry-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .entry-heading { align-items: flex-start; }
    .diagnosis-prose { padding-left: 18px; }
    .contact-footer { padding-block: 54px 66px; }
    .opening-time { padding: 24px 20px 12px; }
    .opening-time div { gap: 8px; flex-wrap: wrap; }
    .bottom-inner { flex-direction: column; align-items: flex-start; }
    .bottom-inner nav { gap: 19px; }
    .repair-intro, .service-opening { padding-block: 53px; }
    .repair-schedule { padding: 24px; }
    .service-action-row { grid-template-columns: 41px minmax(0, 1fr); gap: 13px; }
    .action-index { width: 38px; height: 38px; font-size: 15px; }
    .rules-hours { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .link-button { transition: none; }
}
