:root {
    --canvas: #edf6f6;
    --paper: #ffffff;
    --paper-cool: #e4f0f2;
    --ink: #315968;
    --muted: #617f89;
    --line: #b9d2d7;
    --line-strong: #7da7b1;
    --accent: #d45f3b;
    --accent-soft: #f8ddd4;
    --teal: #3f7b7d;
    --teal-soft: #d9eceb;
    --blue: #4d718e;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: Arial, "Helvetica Neue", sans-serif;
    line-height: 1.67;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
}

h1 {
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

h2 {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 19px;
    line-height: 1.3;
}

p {
    margin: 0 0 18px;
    font-size: 16px;
}

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

a {
    color: inherit;
}

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

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

.topbar-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.identity {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 220px;
}

.identity-disc {
    width: 42px;
    height: 42px;
    border: 2px solid var(--teal);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: var(--paper-cool);
    box-shadow: inset 0 0 0 7px var(--paper);
}

.identity-copy strong,
.identity-copy small {
    display: block;
}

.identity-copy strong {
    font-size: 17px;
    line-height: 1.1;
}

.identity-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.topnav a {
    padding: 9px 11px;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}

.topnav a:hover,
.topnav a:focus-visible,
.topnav a[aria-current="page"] {
    color: var(--teal);
    border-color: var(--accent);
}

.top-actions,
.head-actions,
.contact-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--teal);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.action:hover {
    transform: translateY(-1px);
}

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

.action:focus-visible,
.topnav a:focus-visible,
.identity:focus-visible,
.site-footer a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.action-phone {
    background: var(--teal);
    border-color: var(--teal);
    color: #ffffff;
}

.action-phone:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.action-plain {
    background: var(--paper-cool);
    color: var(--teal);
}

.action-outline {
    background: var(--paper);
    color: var(--teal);
}

.micro-label,
.slip-code,
.ledger-code {
    display: inline-block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.service-head-grid {
    padding: 64px 0 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 64px;
    align-items: start;
}

.service-title h1,
.repair-title h1,
.offer-head h1 {
    margin-top: 10px;
}

.service-title p {
    max-width: 720px;
    margin-top: 22px;
}

.head-actions {
    margin-top: 26px;
}

.service-slip {
    border-top: 5px solid var(--accent);
    border-bottom: 1px solid var(--line);
    padding: 20px 0 4px;
}

.service-slip h2 {
    margin: 8px 0 18px;
}

.service-slip dl,
.terms-facts {
    margin: 0;
}

.service-slip dl div,
.terms-facts div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
    border-top: 1px solid var(--line);
}

.service-slip dt,
.service-slip dd,
.terms-facts dt,
.terms-facts dd {
    margin: 0;
    font-size: 14px;
}

.service-slip dd,
.terms-facts dd {
    font-weight: 800;
    text-align: right;
}

.line-section {
    background: var(--paper);
}

.line-section:nth-of-type(odd) {
    background: var(--canvas);
}

.line-layout {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 54px 0;
    border-bottom: 1px solid var(--line);
}

.line-marker {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    background: var(--paper);
}

.line-content {
    border-left: 3px solid var(--line);
    padding-left: 38px;
}

.line-content h2 {
    margin-bottom: 20px;
}

.line-content p {
    max-width: 900px;
}

.appliance-run {
    margin: 24px 0;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 8px 18px;
    flex-wrap: wrap;
}

.appliance-run span {
    font-size: 14px;
    font-weight: 800;
    color: var(--teal);
}

.inline-note {
    margin-top: 24px;
    max-width: 720px;
    padding: 20px 22px;
    background: var(--teal-soft);
    border-left: 4px solid var(--teal);
}

.inline-note strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.inline-note p {
    margin: 0;
}

.contact-band,
.repair-contact,
.offer-contact {
    background: var(--paper-cool);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.contact-band-inner,
.repair-contact-inner,
.offer-contact-inner {
    padding: 46px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
}

.contact-band-inner > div:first-child,
.repair-contact-inner > div:first-child,
.offer-contact-inner > div:first-child {
    max-width: 750px;
}

.contact-band h2,
.repair-contact h2,
.offer-contact h2 {
    margin: 7px 0 14px;
}

.local-extra {
    background: var(--paper);
}

.local-extra .wrap {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

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

.site-footer {
    background: var(--teal);
    color: #ffffff;
}

.footer-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px;
}

.site-footer nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer .privacy {
    opacity: 0.68;
    font-size: 11px;
}

/* Naprawa */
.repair-head {
    background: var(--paper);
}

.repair-head-inner {
    padding: 60px 0 42px;
}

.repair-title {
    max-width: 900px;
}

.repair-title p {
    margin-top: 22px;
}

.symptom-ribbon {
    margin: 28px 0 20px;
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.symptom-ribbon span {
    color: var(--teal);
    font-size: 14px;
    font-weight: 800;
}

.repair-intro-tail {
    max-width: 900px;
}

.fault-story {
    background: var(--canvas);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fault-story-inner {
    padding: 52px 0;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 56px;
}

.story-heading {
    border-top: 5px solid var(--accent);
    padding-top: 14px;
}

.story-number {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.story-copy {
    max-width: 780px;
}

.visit-sequence-section {
    background: var(--paper);
}

.visit-sequence-section .wrap {
    padding: 54px 0;
}

.visit-sequence-section h2 {
    margin-bottom: 24px;
}

.visit-sequence {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.visit-sequence li {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.sequence-step {
    width: 44px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.visit-sequence h3 {
    margin-bottom: 6px;
}

.visit-sequence p {
    max-width: 850px;
}

.repair-devices {
    background: var(--paper-cool);
    border-top: 1px solid var(--line);
}

.repair-devices-inner {
    padding: 52px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 64px;
    align-items: start;
}

.device-copy h2 {
    margin-bottom: 18px;
}

.repair-hours {
    border-top: 5px solid var(--teal);
    padding-top: 16px;
}

.repair-hours h3 {
    margin: 7px 0 10px;
}

/* Oferta */
.offer-head {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.offer-head-inner {
    padding: 60px 0 46px;
    max-width: 960px;
}

.offer-head p:first-of-type {
    margin-top: 22px;
}

.offer-ledger {
    background: var(--canvas);
}

.offer-ledger .wrap {
    padding: 50px 0;
}

.ledger-heading {
    margin-bottom: 18px;
}

.ledger-heading h2,
.offer-devices h2,
.offer-terms h2 {
    margin-top: 7px;
}

.ledger-row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 34px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.ledger-row:last-child {
    border-bottom: 1px solid var(--line);
}

.ledger-row strong {
    color: var(--teal);
    font-size: 16px;
}

.ledger-row p {
    max-width: 800px;
}

.offer-devices {
    background: var(--paper);
}

.offer-devices-inner {
    padding: 52px 0;
}

.offer-devices header {
    margin-bottom: 18px;
}

.offer-devices p {
    max-width: 900px;
}

.offer-terms {
    background: var(--paper-cool);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.offer-terms-inner {
    padding: 52px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 66px;
    align-items: start;
}

.terms-copy h2 {
    margin-bottom: 18px;
}

.terms-facts {
    border-top: 5px solid var(--accent);
    padding-top: 10px;
}

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

    .topbar-inner {
        gap: 18px;
    }

    .identity {
        min-width: 190px;
    }

    .top-actions .action-plain {
        display: none;
    }

    .service-head-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 38px;
    }

    .fault-story-inner {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 38px;
    }

    .repair-devices-inner,
    .offer-terms-inner {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 40px;
    }
}

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

    .topbar-inner {
        padding: 16px 0;
        min-height: 0;
        flex-wrap: wrap;
    }

    .identity {
        flex: 1 1 auto;
    }

    .topnav {
        order: 3;
        width: 100%;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }

    .top-actions {
        margin-left: auto;
    }

    .service-head-grid,
    .fault-story-inner,
    .repair-devices-inner,
    .offer-terms-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-slip,
    .repair-hours,
    .terms-facts {
        max-width: 520px;
    }

    .line-layout {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .line-content {
        padding-left: 26px;
    }

    .contact-band-inner,
    .repair-contact-inner,
    .offer-contact-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

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

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

    .topbar-inner {
        gap: 14px;
    }

    .identity-copy small {
        display: none;
    }

    .identity-disc {
        width: 38px;
        height: 38px;
    }

    .top-actions {
        width: 100%;
        order: 4;
    }

    .top-actions .action-phone,
    .top-actions .action-plain {
        display: flex;
        flex: 1 1 150px;
    }

    .topnav {
        justify-content: space-between;
    }

    .topnav a {
        flex: 1 1 0;
        text-align: center;
        padding: 8px 6px;
    }

    .service-head-grid,
    .repair-head-inner,
    .offer-head-inner {
        padding-top: 42px;
        padding-bottom: 38px;
    }

    .line-layout {
        padding: 40px 0;
        grid-template-columns: 1fr;
    }

    .line-marker {
        margin-bottom: 16px;
    }

    .line-content {
        border-left: 0;
        border-top: 3px solid var(--line);
        padding: 20px 0 0;
    }

    .head-actions,
    .contact-actions {
        width: 100%;
    }

    .head-actions .action,
    .contact-actions .action {
        flex: 1 1 155px;
    }

    .fault-story-inner,
    .visit-sequence-section .wrap,
    .repair-devices-inner,
    .offer-ledger .wrap,
    .offer-devices-inner,
    .offer-terms-inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .visit-sequence li {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
    }

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

    .footer-inner {
        min-height: 0;
        padding: 22px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .site-footer nav {
        flex-wrap: wrap;
    }
}

.hours-mini,
.contact-hours {
    margin: 12px 0 0;
}

.hours-mini div,
.contact-hours div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 7px 0;
    border-top: 1px solid var(--line);
}

.hours-mini dt,
.hours-mini dd,
.contact-hours dt,
.contact-hours dd {
    margin: 0;
    font-size: 14px;
}

.hours-mini dd,
.contact-hours dd {
    font-weight: 800;
}
