:root {
    --paper: #f5fcfa;
    --white: #ffffff;
    --ink: #295f5c;
    --ink-soft: #527d78;
    --line: #a9d5c9;
    --mist: #e5f7f0;
    --mint: #caeddf;
    --coral: #b85447;
    --coral-light: #f1c7bd;
    --citrus: #e1ed89;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

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

button, a { -webkit-tap-highlight-color: transparent; }

.shell {
    width: calc(100% - 72px);
    max-width: 1216px;
    margin-inline: auto;
}

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

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

h1, h2, h3 {
    color: var(--ink);
    line-height: 1.17;
}

h1 {
    margin: 0 0 23px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1.35px;
}

h2 {
    margin: 0 0 22px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.7px;
}

h3 {
    margin: 0 0 9px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.4px;
}

.lead {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 550;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 17px;
    color: var(--coral);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

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

.head-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    min-height: 90px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.65px;
    white-space: nowrap;
}

.brand strong { color: var(--coral); }

.brand-sign {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 3px solid var(--ink);
    border-radius: 11px;
    transform: rotate(-6deg);
}

.brand-sign::before {
    content: "";
    position: absolute;
    left: 5px;
    right: 5px;
    top: 8px;
    height: 3px;
    background: var(--coral);
}

.brand-sign::after {
    content: "";
    width: 17px;
    height: 17px;
    margin-top: 7px;
    border: 3px solid var(--ink);
    border-radius: 50%;
}

.brand-sign span {
    position: absolute;
    right: 7px;
    top: 3px;
    width: 4px;
    height: 4px;
    background: var(--ink);
    border-radius: 50%;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 3vw, 43px);
}

.main-nav a {
    padding: 9px 0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 750;
    border-bottom: 2px solid transparent;
}

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

.head-call {
    display: inline-block;
    padding: 10px 15px;
    background: var(--mist);
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid var(--line);
}

.head-call:hover { background: var(--mint); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 24px;
    text-align: center;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid var(--coral);
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.button-solid { background: var(--coral); color: var(--white); }
.button-solid:hover { background: #944138; border-color: #944138; }
.button-line { background: transparent; color: var(--coral); }
.button-line:hover { background: var(--coral-light); }
.button-light { background: var(--paper); color: var(--coral); border-color: var(--paper); }
.button-light:hover { background: var(--citrus); border-color: var(--citrus); }

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

.action-pair .button { min-width: 184px; }

.section-code, .offer-topline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-bottom: 35px;
    color: var(--coral);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.mast {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(320px, .95fr);
    align-items: stretch;
    gap: 45px;
    padding-top: 53px;
    padding-bottom: 61px;
}

.mast-body { padding-top: 7px; }
.mast-body .lead { max-width: 790px; }
.mast-body > p:not(.lead) { max-width: 785px; }
.primary-pair { margin-top: 28px; }

.mast-panel {
    display: flex;
    flex-direction: column;
    background: var(--mint);
    border: 1px solid #95c7b6;
}

.appliance-figure {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 244px;
    padding: 25px 20px 19px;
    background: var(--citrus);
    border-bottom: 1px solid #95c7b6;
}

.machine-top {
    position: absolute;
    width: 164px;
    height: 34px;
    top: 32px;
    border: 5px solid var(--ink);
    border-bottom-width: 2px;
    background: var(--paper);
    border-radius: 9px 9px 0 0;
}

.machine-top i, .machine-top b, .machine-top em {
    position: absolute;
    display: block;
    border: 3px solid var(--ink);
    border-radius: 50%;
}

.machine-top i { width: 11px; height: 11px; top: 7px; left: 10px; }
.machine-top b { width: 11px; height: 11px; top: 7px; left: 30px; }
.machine-top em { width: 17px; height: 17px; top: 4px; right: 14px; }

.machine-door {
    display: grid;
    place-items: center;
    width: 164px;
    height: 154px;
    margin-top: 26px;
    border: 5px solid var(--ink);
    border-radius: 0 0 11px 11px;
    background: var(--paper);
    box-shadow: 9px 10px 0 rgba(184, 84, 71, .16);
}

.machine-core {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 9px solid var(--ink);
    background: #a6d3c9;
}

.machine-core span {
    width: 78px;
    height: 78px;
    border: 3px solid var(--coral);
    border-radius: 47% 55% 51% 48%;
    transform: rotate(-18deg);
}

.machine-floor {
    position: absolute;
    bottom: 23px;
    width: 178px;
    height: 3px;
    background: var(--ink);
}

.quick-lines { padding: 5px 22px 4px; }

.quick-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #93c8b5;
    font-size: 13px;
}

.quick-line:last-child { border-bottom: 0; }
.quick-line strong { font-size: 15px; text-align: right; }

.territory {
    padding: 42px 0 48px;
    background: #d4eee3;
    border-block: 1px solid #9dceba;
}

.territory-head {
    display: flex;
    gap: 25px;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 20px;
}

.territory-head h2 { margin-bottom: 17px; }
.territory-head .eyebrow { flex-shrink: 0; }

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

.territory-grid p { margin: 0; }
.territory-grid strong { font-weight: 800; }

.appliances { padding-top: 72px; padding-bottom: 76px; }

.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 13px; }

.appliance-ledger { border-top: 3px solid var(--ink); }

.ledger-row {
    display: grid;
    grid-template-columns: 57px minmax(0, .96fr) minmax(0, 1.05fr);
    gap: 22px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.ledger-no {
    padding-top: 4px;
    font: 800 16px "Trebuchet MS", sans-serif;
    color: var(--coral);
}

.ledger-title h3 { margin-bottom: 6px; }
.ledger-title p { color: var(--ink-soft); }
.ledger-row > p { margin: 0; }
.ledger-row a, .mast-body p a, .symptom-col p a, .detail-list p a, .register-row p a {
    text-decoration: none;
    border-bottom: 1px solid var(--coral);
}

.ledger-row a:hover, .mast-body p a:hover, .symptom-col p a:hover, .detail-list p a:hover, .register-row p a:hover {
    color: var(--coral);
}

.work-order {
    padding: 54px 0 61px;
    background: var(--coral-light);
    border-block: 1px solid #d8a092;
}

.work-order-lead { max-width: 870px; }
.work-order-lead h2 { margin-bottom: 13px; }
.work-stages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.work-stages article {
    border-top: 3px solid var(--ink);
    padding: 16px 4px 0 0;
}

.work-stages h3 { margin-bottom: 10px; font-size: 19px; }

.closing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    gap: 60px;
    padding-top: 68px;
    padding-bottom: 76px;
}

.closing-title { max-width: 585px; }
.closing-right { padding-top: 8px; }

.hours-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: baseline;
    padding: 9px 2px;
    border-bottom: 1px solid var(--line);
}

.hours-line strong { font-size: 18px; }
.closing-right .action-pair { margin-top: 24px; }
.closing-right .button { flex: 1 1 165px; }

/* Naprawy: edytorska karta usterek */

.repair-hero { padding-top: 58px; padding-bottom: 72px; }

.repair-index {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 14px 0;
    margin-bottom: 37px;
    border-top: 3px solid var(--coral);
    border-bottom: 1px solid var(--line);
    color: var(--coral);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.repair-hero h1 { max-width: 920px; }

.repair-intro {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    max-width: 1100px;
}

.repair-actions { margin-top: 27px; }

.symptoms {
    padding: 59px 0 69px;
    background: var(--mint);
    border-top: 1px solid #94caba;
    border-bottom: 1px solid #94caba;
}

.compact-heading { margin-bottom: 33px; }

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

.symptom-col { border-top: 4px solid var(--ink); padding-top: 14px; }

.symptom-top {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 14px;
    margin-bottom: 17px;
    border-bottom: 1px solid #89beaf;
}

.symptom-num {
    display: grid;
    place-items: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    background: var(--coral);
    color: var(--white);
    font-weight: 900;
    font-size: 22px;
    border-radius: 50%;
}

.symptom-top h3 { font-size: 24px; margin: 0; }

.repair-detail { padding-top: 67px; padding-bottom: 72px; }
.detail-heading { margin-bottom: 27px; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 37px; }
.detail-list article { padding: 23px 24px; background: var(--white); border-left: 5px solid var(--coral); }

.repair-method { background: var(--citrus); padding: 57px 0; }
.method-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.method-callout h2 { max-width: 420px; }
.method-lines { border-top: 2px solid var(--ink); }
.method-lines > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid #a9bf66; }
.method-lines span { color: var(--coral); font-weight: 900; font-size: 18px; }
.method-lines p { margin: 0; }

.last-contact { padding-top: 70px; padding-bottom: 78px; }
.last-contact-copy { max-width: 960px; }
.last-contact .action-pair { margin-top: 26px; }

/* Oferta: rejestr prac serwisowych */

.offer-opening { padding-top: 57px; padding-bottom: 53px; }
.offer-opening .offer-topline { border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 31px; }
.offer-opening h1 { margin-bottom: 25px; }
.offer-opening-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; max-width: 1100px; }

.offer-register { padding: 58px 0 69px; background: #e1f4ec; border-block: 1px solid #a1d1c2; }
.register-title { max-width: 890px; margin-inline: auto; margin-bottom: 22px; }
.register-rows { max-width: 900px; margin-inline: auto; border-top: 3px solid var(--ink); }
.register-row { padding: 22px 8px 25px; border-bottom: 1px solid var(--line); }
.register-key { display: flex; gap: 16px; align-items: baseline; margin-bottom: 10px; }
.register-key span { color: var(--coral); font-size: 14px; font-weight: 900; }
.register-key h3 { margin: 0; }
.register-row p { padding-left: 36px; }

.offer-bottom {
    display: grid;
    grid-template-columns: 1.3fr .8fr;
    gap: 38px;
    padding-top: 71px;
    padding-bottom: 80px;
}

.offer-settlement { max-width: 700px; }
.offer-contact {
    display: flex;
    flex-direction: column;
    background: var(--coral);
    padding: 28px 26px;
    color: var(--white);
}

.offer-contact h3 { color: var(--white); font-size: 23px; }
.offer-contact p { color: var(--white); }
.offer-pair { margin-top: auto; padding-top: 25px; }
.offer-pair .button { flex: 1 1 172px; }
.offer-pair .button-solid { border-color: var(--white); color: var(--white); }
.offer-pair .button-solid:hover { background: #944138; }

.site-footer { border-top: 3px solid var(--ink); background: var(--mint); }

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 28px;
    padding-top: 27px;
    padding-bottom: 30px;
}

.footer-mark { font-family: "Trebuchet MS", sans-serif; font-size: 19px; font-weight: 800; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-inner a { font-size: 14px; font-weight: 700; text-decoration: none; }
.footer-inner a:hover { color: var(--coral); }
.footer-inner .privacy { color: var(--ink-soft); font-size: 12px; font-weight: 500; }

@media (max-width: 1100px) {
    .head-grid { gap: 18px; }
    .brand { font-size: 20px; }
    .main-nav { gap: 17px; }
    .main-nav a { font-size: 14px; }
    .mast { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr); gap: 26px; }
    .appliance-figure { min-height: 227px; }
    .closing { gap: 35px; }
}

@media (max-width: 890px) {
    .shell { width: calc(100% - 46px); }
    .head-grid { grid-template-columns: 1fr auto; padding-top: 12px; padding-bottom: 12px; }
    .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; border-top: 1px solid var(--line); padding-top: 8px; }
    .mast { grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); }
    .appliance-figure { min-height: 218px; }
    .quick-lines { padding-inline: 13px; }
    .quick-line { display: block; }
    .quick-line strong { display: block; text-align: left; }
    .territory-grid { grid-template-columns: repeat(2, 1fr); gap: 17px 26px; }
    .territory-grid p:last-child { grid-column: 1 / -1; }
    .ledger-row { grid-template-columns: 36px 1fr; gap: 9px 17px; }
    .ledger-row > p { grid-column: 2; }
    .method-layout { gap: 25px; }
    .offer-bottom { gap: 24px; }
}

@media (max-width: 690px) {
    .shell { width: calc(100% - 34px); }
    .head-grid { gap: 12px; }
    .head-call { padding: 8px 10px; font-size: 13px; }
    .brand { font-size: 19px; }
    .brand-sign { width: 36px; height: 36px; }
    .brand-sign::after { width: 15px; height: 15px; }
    .mast { display: block; padding-top: 38px; padding-bottom: 40px; }
    .mast-panel { margin-top: 35px; }
    .appliance-figure { min-height: 224px; }
    .quick-line { display: flex; }
    .quick-line strong { text-align: right; }
    .section-code, .offer-topline { margin-bottom: 24px; }
    .territory { padding: 39px 0; }
    .territory-head { display: block; }
    .territory-grid, .work-stages, .symptom-columns, .detail-list, .repair-intro, .offer-opening-copy { grid-template-columns: 1fr; }
    .territory-grid p:last-child { grid-column: auto; }
    .appliances { padding-top: 48px; padding-bottom: 51px; }
    .ledger-row { padding: 21px 0; }
    .work-order { padding: 42px 0; }
    .work-stages { gap: 16px; margin-top: 25px; }
    .closing { display: block; padding-top: 48px; padding-bottom: 55px; }
    .closing-right { margin-top: 26px; }
    .repair-hero { padding-top: 36px; padding-bottom: 48px; }
    .repair-index { justify-content: flex-start; margin-bottom: 24px; }
    .repair-intro, .offer-opening-copy { gap: 12px; }
    .symptoms, .repair-method { padding: 42px 0; }
    .repair-detail { padding: 46px 0; }
    .detail-list { gap: 18px; }
    .method-layout { grid-template-columns: 1fr; }
    .last-contact { padding: 49px 0 55px; }
    .offer-opening { padding-top: 38px; padding-bottom: 43px; }
    .offer-register { padding: 43px 0 48px; }
    .offer-bottom { grid-template-columns: 1fr; padding: 48px 0 55px; }
    .offer-contact { min-height: 0; }
    .register-key { align-items: flex-start; }
    .register-row p { padding-left: 0; }
}

@media (max-width: 390px) {
    .head-grid { grid-template-columns: 1fr; }
    .head-call { justify-self: start; }
    .main-nav { grid-column: auto; grid-row: auto; gap: 20px; flex-wrap: wrap; }
    .action-pair .button { flex: 1 1 100%; }
    .quick-line { display: block; }
    .quick-line strong { display: block; text-align: left; }
    .brand { font-size: 18px; }
    .repair-index { gap: 10px 17px; }
    .footer-inner nav { gap: 15px; }
}

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