:root {
    color-scheme: light;
    --azure: #267fa8;
    --azure-strong: #31688b;
    --aqua: #b3e7ef;
    --sun: #f3c441;
    --sun-light: #ffe18b;
    --white: #ffffff;
    --paper: #f5fbff;
    --pale: #e4f3f9;
    --ink: #365f79;
    --muted: #6b8799;
    --line: #b9dce6;
}

*, *::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;
}

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

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

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

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

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

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

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

strong {
    font-weight: 800;
}

a {
    color: inherit;
}

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

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

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

.site-head {
    background: var(--white);
}

.head-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    gap: 30px;
}

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

.brand-badge {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 5px solid var(--azure);
    background: var(--sun);
}

.brand-badge i {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: var(--azure);
}

.brand-badge i:first-child { width: 9px; height: 9px; top: 6px; left: 6px; }
.brand-badge i:last-child { width: 6px; height: 6px; right: 5px; bottom: 5px; }

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

.menu a {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    padding-block: 10px;
}

.menu a:hover, .menu a[aria-current="page"] {
    color: var(--azure);
    border-bottom-color: var(--sun);
}

.header-bar {
    padding-block: 10px;
    background: var(--pale);
    color: var(--azure-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
    border-top: 1px solid var(--line);
}

.micro, .section-label {
    display: block;
    color: var(--azure);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.action-pair {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

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

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

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

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

.cta-solid:hover {
    background: var(--azure-strong);
}

.cta-white {
    color: var(--azure-strong);
    border-color: var(--white);
    background: var(--white);
}

.cta-white:hover {
    background: #eafbff;
}

.cta-outline {
    color: var(--azure);
    background: transparent;
}

.cta-outline:hover {
    background: #e1f3f9;
}

.opening {
    background: var(--sun-light);
    overflow: hidden;
}

.opening-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: center;
    gap: 45px;
    min-height: 530px;
}

.opening-copy {
    padding-block: 65px;
    position: relative;
    z-index: 2;
}

.opening-copy h1 {
    max-width: 600px;
}

.opening-copy p {
    max-width: 650px;
}

.appliance-visual {
    position: relative;
    align-self: stretch;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-rim {
    position: absolute;
    width: min(100%, 400px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 26px solid #a1dbe7;
    background: #f2faff;
    transform: translate(23px, -3px) rotate(-13deg);
}

.visual-rim::after {
    position: absolute;
    content: "";
    inset: 26px;
    border-radius: 50%;
    border: 2px dashed var(--azure);
}

.machine-outline {
    position: relative;
    width: 244px;
    height: 319px;
    padding: 20px;
    border: 9px solid var(--azure-strong);
    border-radius: 16px;
    background: #d5eef5;
    transform: rotate(5deg);
    box-shadow: 14px 15px 0 rgba(38, 127, 168, .23);
}

.machine-toolbar {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 35px;
    padding: 0 10px;
    background: var(--white);
    border: 2px solid var(--azure);
    border-radius: 5px;
}

.machine-toolbar span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sun);
    border: 2px solid var(--azure);
}

.machine-toolbar span:last-child { margin-left: auto; background: var(--azure); }

.machine-window {
    position: relative;
    height: 202px;
    margin-top: 15px;
    border-radius: 8px;
    border: 6px solid var(--azure);
    overflow: hidden;
    background: #f0fcff;
}

.machine-window::before, .machine-window::after {
    content: "";
    position: absolute;
    border: 7px solid var(--azure);
    border-radius: 50%;
    width: 74px;
    height: 74px;
    top: 22px;
}

.machine-window::before { left: 17px; }
.machine-window::after { right: 17px; }

.waterline {
    position: absolute;
    display: block;
    width: 100%;
    height: 7px;
    left: 0;
    bottom: 22px;
    background: var(--azure);
    box-shadow: 0 -16px 0 #a3ddea;
}

.machine-base {
    position: absolute;
    left: 23px;
    right: 23px;
    bottom: 7px;
    height: 8px;
    background: var(--azure);
    border-radius: 5px;
}

.visual-stamp {
    position: absolute;
    bottom: 37px;
    right: 2px;
    background: var(--azure);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    padding: 12px 16px;
    transform: rotate(-7deg);
}

.vicinity {
    padding-block: 71px 76px;
}

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

.vicinity-text p {
    margin: 0;
}

.device-section {
    padding-block: 70px 85px;
    background: var(--white);
    border-block: 1px solid var(--line);
}

.device-pairs {
    border-top: 2px solid var(--line);
}

.device-row {
    padding-block: 31px 36px;
    border-bottom: 1px solid var(--line);
}

.device-row:last-child {
    padding-bottom: 0;
    border: 0;
}

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

.row-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sun-light);
    color: var(--azure-strong);
    font-weight: 800;
    font-size: 21px;
}

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

.device-description p {
    margin: 0;
}

.inspection {
    padding-block: 73px 83px;
}

.inspection-track {
    border-left: 5px solid #8bd0df;
    margin-left: 20px;
    padding-left: 28px;
}

.inspection-point {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding-block: 15px 22px;
}

.inspection-point > span {
    position: relative;
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    background: var(--azure);
    color: var(--white);
    border-radius: 50%;
    font-weight: 800;
}

.inspection-point p {
    max-width: 910px;
    margin: 0;
}

.visit-band {
    background: var(--pale);
    border-top: 1px solid var(--line);
}

.visit-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 65px;
    padding-block: 75px 83px;
}

.visit-information h2 {
    margin-bottom: 26px;
}

.hours-panel {
    background: var(--white);
    border: 3px solid var(--azure);
    padding: 25px 28px 15px;
    box-shadow: 12px 12px 0 var(--sun);
}

.hours-title {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--azure);
    margin-bottom: 12px;
}

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

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

.hours-panel strong {
    color: var(--azure-strong);
    font-size: 17px;
    white-space: nowrap;
}

.site-footer {
    background: var(--azure-strong);
    color: var(--white);
}

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

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

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

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

.footer-inner nav a:hover, .footer-logo:hover {
    color: var(--sun-light);
}

.footer-inner nav .discreet {
    font-size: 12px;
    font-weight: 400;
    opacity: .8;
}

/* Pralki i zmywarki */
.repair-lead {
    padding-block: 76px 71px;
    background: #dff4f8;
    border-bottom: 6px solid var(--sun);
}

.repair-lead h1 {
    margin-top: 14px;
    max-width: 920px;
}

.repair-opening-text {
    max-width: 970px;
}

.repair-columns, .repair-other {
    padding-block: 69px 77px;
}

.chapter-label {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--azure);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.chapter-label span:first-child {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    background: var(--sun);
    border-radius: 50%;
    font-size: 14px;
    color: var(--azure-strong);
}

.repair-columns h2, .repair-wash-band h2, .repair-other h2 {
    margin-top: 15px;
}

.repair-prose {
    border-top: 2px solid var(--line);
    padding-top: 23px;
    max-width: 1000px;
}

.repair-wash-band {
    padding-block: 70px 75px;
    background: var(--white);
    border-block: 1px solid var(--line);
}

.repair-other > p {
    max-width: 1010px;
}

.repair-contact {
    max-width: 1020px;
    margin-top: 30px;
    padding: 28px 30px;
    border-left: 6px solid var(--sun);
    background: var(--pale);
}

.repair-contact .action-pair {
    margin-top: 25px;
}

/* Serwis techniczny */
.service-lead {
    padding-block: 72px 77px;
    background: var(--sun-light);
}

.service-lead h1 {
    margin-top: 14px;
}

.service-lead p {
    max-width: 990px;
}

.work-order {
    padding-block: 72px 79px;
}

.order-entries {
    border-top: 2px solid var(--line);
}

.order-entries article {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    gap: 15px 22px;
    padding-block: 27px;
    border-bottom: 1px solid var(--line);
}

.order-entries article:last-child {
    border-bottom: 0;
}

.order-marker {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--azure);
    border-radius: 8px;
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
}

.order-entries article h3 {
    margin-top: 7px;
}

.order-entries article p {
    max-width: 970px;
    grid-column: 2;
    margin: 0;
}

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

.detail-copy {
    max-width: 1020px;
}

.service-schedule {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 33px;
    border-top: 4px solid var(--sun);
    padding-top: 18px;
}

.service-schedule > span {
    grid-column: 1 / -1;
    font-size: 13px;
    font-weight: 800;
    color: var(--azure);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.service-schedule div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--pale);
}

.service-schedule strong {
    color: var(--azure-strong);
    font-size: 14px;
}

.service-schedule div span {
    color: var(--azure);
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.service-end {
    padding-block: 72px 84px;
}

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

.service-end .action-pair {
    margin-top: 31px;
}

@media (max-width: 1100px) {
    .head-main { gap: 22px; }
    .wordmark { font-size: 18px; }
    .menu { gap: 16px; }
    .opening-inner { gap: 30px; }
    .visual-rim { width: 350px; }
    .visit-inner { gap: 40px; }
}

@media (max-width: 860px) {
    .shell { width: min(100% - 44px, 710px); }
    .head-main { padding-block: 16px; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
    .wordmark { width: 100%; }
    .opening-inner, .visit-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .opening-copy { padding-block: 55px 0; }
    .appliance-visual { width: min(100%, 480px); min-height: 390px; margin-inline: auto; }
    .visual-rim { width: 390px; max-width: 100%; }
    .visual-stamp { bottom: 10px; }
    .visit-inner { padding-block: 60px 70px; }
    .hours-panel { max-width: 100%; box-shadow: 8px 8px 0 var(--sun); }
    .service-schedule { gap: 8px; }
    .service-schedule div { gap: 8px; flex-wrap: wrap; }
}

@media (max-width: 610px) {
    .shell { width: calc(100% - 36px); }
    h1 { font-size: 40px; overflow-wrap: break-word; }
    h2 { font-size: 28px; overflow-wrap: break-word; }
    .wordmark { font-size: 17px; }
    .menu { gap: 4px 17px; }
    .menu a { font-size: 12px; }
    .header-bar { font-size: 11px; }
    .opening-copy { padding-top: 45px; }
    .appliance-visual { min-height: 325px; }
    .visual-rim { width: 290px; border-width: 19px; }
    .machine-outline { transform: scale(.81) rotate(5deg); }
    .visual-stamp { right: 0; font-size: 10px; }
    .action-pair { display: grid; grid-template-columns: minmax(0, 1fr); }
    .cta { width: 100%; white-space: normal; }
    .vicinity, .device-section, .inspection, .repair-columns, .repair-wash-band, .repair-other, .work-order, .service-details, .service-end {
        padding-block: 51px;
    }
    .vicinity-text, .device-description { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .device-heading { align-items: flex-start; }
    .inspection-track { margin-left: 12px; padding-left: 17px; }
    .inspection-point { grid-template-columns: 39px minmax(0, 1fr); gap: 10px; }
    .inspection-point > span { width: 36px; height: 36px; }
    .visit-inner { padding-block: 52px 64px; }
    .hours-panel { padding: 20px 21px 12px; }
    .hours-panel div { gap: 8px; flex-wrap: wrap; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
    .footer-inner nav { gap: 20px; }
    .repair-lead, .service-lead { padding-block: 52px; }
    .repair-contact { padding: 23px; }
    .order-entries article { grid-template-columns: 43px minmax(0, 1fr); gap: 12px; }
    .order-marker { width: 38px; height: 38px; font-size: 16px; }
    .service-schedule { grid-template-columns: minmax(0, 1fr); }
    .service-schedule > span { grid-column: 1; }
}

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