:root {
    color-scheme: light;
    --iris: #6858a7;
    --iris-deep: #65558c;
    --coral: #e98955;
    --peach: #ffbf92;
    --violet-soft: #e6dfff;
    --sky: #d7efff;
    --paper: #f7f5ff;
    --white: #ffffff;
    --ink: #665d86;
    --muted: #867da5;
    --line: #d4caed;
}

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

html {
    scroll-behavior: smooth;
}

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

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

p {
    margin: 0 0 19px;
    font-size: 16px;
    line-height: 1.72;
}

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

h1, h2, h3 {
    color: var(--iris-deep);
    letter-spacing: -.035em;
}

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

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

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

strong {
    font-weight: 800;
}

a {
    color: inherit;
}

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

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

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

.page-header {
    border-top: 7px solid var(--coral);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.header-layout {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 27px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--iris-deep);
    font-size: 21px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.045em;
    white-space: nowrap;
}

.logo-tiles {
    display: flex;
    gap: 3px;
    align-items: center;
    height: 39px;
    width: 40px;
}

.logo-tiles i {
    display: block;
    height: 30px;
    flex: 1;
    background: var(--iris);
    border-radius: 3px;
}

.logo-tiles i:nth-child(2) {
    height: 39px;
    background: var(--coral);
}

.logo-tiles i:nth-child(3) {
    height: 20px;
}

.navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 23px;
}

.navigation a {
    padding: 11px 0;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.navigation a:hover, .navigation a[aria-current="page"] {
    color: var(--iris);
    border-bottom-color: var(--coral);
}

.header-availability {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.chapter-mark, .section-number {
    display: block;
    color: var(--iris);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .11em;
}

.cta-duo {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-top: 27px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 23px;
    border: 2px solid var(--iris);
    border-radius: 4px;
    color: var(--iris);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .16s, transform .16s;
}

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

.cta:active {
    transform: translateY(0);
}

.cta-iris {
    color: var(--white);
    background: var(--iris);
}

.cta-iris:hover {
    background: var(--iris-deep);
}

.cta-white {
    color: var(--iris-deep);
    background: var(--white);
    border-color: var(--white);
}

.cta-white:hover {
    background: var(--sky);
}

.cta-clear {
    background: transparent;
    color: var(--iris);
}

.cta-clear:hover {
    background: #eee9ff;
}

.landing {
    position: relative;
    overflow: hidden;
    background: var(--violet-soft);
    border-bottom: 6px solid var(--peach);
}

.landing-content {
    position: relative;
    padding-block: 71px 76px;
}

.landing-statement {
    position: relative;
    max-width: 830px;
    z-index: 1;
}

.landing-statement h1 {
    margin-top: 18px;
}

.landing-mark {
    position: absolute;
    top: 75px;
    right: -8px;
    width: 250px;
    height: 330px;
    isolation: isolate;
}

.landing-mark::before {
    content: "";
    position: absolute;
    inset: 12px 4px 8px;
    background: #f5ccac;
    border-radius: 50% 50% 47% 45%;
    transform: rotate(12deg);
    z-index: -1;
}

.mark-ring {
    position: absolute;
    display: block;
    left: 50%;
    border: 8px solid var(--iris);
    border-radius: 50%;
    transform: translateX(-50%);
}

.ring-one { width: 192px; height: 192px; top: 33px; }
.ring-two { width: 135px; height: 135px; top: 61px; border-color: var(--coral); }
.ring-three { width: 79px; height: 79px; top: 89px; border-color: var(--iris); }

.mark-cross {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%) rotate(-7deg);
    padding: 11px 19px;
    color: var(--white);
    background: var(--iris);
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -.06em;
}

.district-panel {
    padding-block: 73px 80px;
}

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

.district-columns p {
    margin: 0;
}

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

.service-topic {
    padding-block: 28px 33px;
    border-top: 1px solid var(--line);
}

.service-topic:first-of-type {
    border-top: 5px solid var(--coral);
}

.topic-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 21px;
}

.topic-head span {
    color: var(--coral);
    font-size: 21px;
    font-weight: 800;
}

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

.topic-columns p {
    margin: 0;
}

.testing {
    padding-block: 74px 82px;
}

.test-lines {
    border-top: 2px solid var(--line);
}

.test-lines > div {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding-block: 24px;
    border-bottom: 1px solid var(--line);
}

.test-id {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--iris);
    background: var(--peach);
    font-size: 19px;
    font-weight: 800;
}

.test-lines p {
    max-width: 930px;
    margin: 0;
}

.booking {
    background: #fbd2b3;
}

.booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 60px;
    align-items: center;
    padding-block: 74px 84px;
}

.booking-copy h2 {
    margin-bottom: 25px;
}

.times {
    padding: 27px 30px 14px;
    background: var(--white);
    border: 3px solid var(--iris);
    box-shadow: 12px 12px 0 var(--coral);
}

.times-label {
    display: block;
    margin-bottom: 14px;
    color: var(--iris);
    font-size: 14px;
    font-weight: 800;
}

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

.times div span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.times div strong {
    color: var(--iris-deep);
    font-size: 17px;
    white-space: nowrap;
}

.footer {
    background: var(--iris);
    color: var(--white);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    padding-block: 32px;
}

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

.footer-row nav {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

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

.footer-row nav .privacy {
    opacity: .77;
    font-size: 12px;
    font-weight: 400;
}

.footer a:hover {
    color: var(--peach);
}

/* Naprawa pralek i zmywarek */
.home-cover {
    padding-block: 75px 74px;
    background: var(--sky);
    border-bottom: 6px solid var(--coral);
}

.home-cover h1 {
    margin-top: 18px;
    max-width: 880px;
}

.cover-text {
    max-width: 980px;
}

.symptom-block, .home-closing {
    padding-block: 75px 79px;
}

.symptom-copy {
    max-width: 985px;
    border-top: 3px solid var(--line);
    padding-top: 23px;
}

.symptom-blue {
    padding-block: 74px 80px;
    background: var(--white);
    border-block: 1px solid var(--line);
}

.home-closing > p {
    max-width: 1000px;
}

.home-hours {
    margin-top: 30px;
    max-width: 1010px;
    background: var(--violet-soft);
    border-left: 7px solid var(--coral);
    padding: 29px 31px;
}

.home-hours .cta-duo {
    margin-top: 25px;
}

/* Usługi serwisu */
.service-cover {
    padding-block: 74px 76px;
    background: #e7e0ff;
    border-bottom: 6px solid var(--coral);
}

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

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

.service-steps {
    padding-block: 74px 80px;
}

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

.service-step h3 {
    margin-bottom: 14px;
}

.service-step p {
    max-width: 1000px;
    margin: 0;
}

.step-no {
    display: grid;
    place-items: center;
    width: 51px;
    height: 51px;
    color: var(--iris);
    background: var(--peach);
    border-radius: 7px;
    font-size: 17px;
    font-weight: 800;
}

.service-finance {
    padding-block: 75px 80px;
    background: var(--white);
    border-block: 1px solid var(--line);
}

.finance-text {
    max-width: 1010px;
}

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

.finance-bar > span {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 21px 20px;
    background: var(--violet-soft);
    border-top: 5px solid var(--coral);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.finance-bar strong {
    color: var(--iris-deep);
    font-size: 20px;
}

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

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

.service-tail .cta-duo {
    margin-top: 31px;
}

@media (max-width: 1110px) {
    .header-availability { display: none; }
    .landing-mark { display: none; }
    .landing-statement { max-width: 920px; }
    .booking-grid { gap: 39px; }
}

@media (max-width: 860px) {
    .layout { width: min(100% - 45px, 710px); }
    .header-layout { flex-wrap: wrap; padding-block: 15px; gap: 12px 25px; }
    .logo { width: 100%; }
    .booking-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .times { box-shadow: 8px 8px 0 var(--coral); }
    .finance-bar { gap: 8px; }
    .finance-bar > span { padding: 18px; }
}

@media (max-width: 610px) {
    .layout { width: calc(100% - 36px); }
    h1 { font-size: 40px; overflow-wrap: break-word; }
    h2 { font-size: 28px; overflow-wrap: break-word; }
    .logo { font-size: 20px; }
    .navigation { gap: 6px 18px; }
    .navigation a { font-size: 12px; }
    .landing-content { padding-block: 51px 56px; }
    .cta-duo { display: grid; grid-template-columns: minmax(0, 1fr); }
    .cta { width: 100%; white-space: normal; }
    .district-panel, .service-stream, .testing, .symptom-block, .symptom-blue, .home-closing, .service-steps, .service-finance, .service-tail {
        padding-block: 52px;
    }
    .district-columns, .topic-columns { grid-template-columns: minmax(0, 1fr); gap: 19px; }
    .topic-head { align-items: flex-start; }
    .test-lines > div { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
    .test-id { width: 39px; height: 39px; font-size: 15px; }
    .booking-grid { padding-block: 53px 65px; }
    .times { padding: 23px 20px 13px; }
    .times div { gap: 9px; flex-wrap: wrap; }
    .footer-row { flex-direction: column; align-items: flex-start; }
    .footer-row nav { gap: 19px; }
    .home-cover, .service-cover { padding-block: 54px; }
    .home-hours { padding: 23px; }
    .service-step { grid-template-columns: 43px minmax(0, 1fr); gap: 14px; }
    .step-no { width: 38px; height: 38px; font-size: 13px; }
    .finance-bar { grid-template-columns: minmax(0, 1fr); }
}

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