/* Zagórz / schemat serwisowy */
:root {
    --violet: #6257b5;
    --violet-light: #e8e6fa;
    --mint: #228f85;
    --mint-soft: #ddf5ef;
    --sun: #f0be59;
    --paper: #ffffff;
    --canvas: #f6f8fe;
    --ink: #48577e;
    --quiet: #647397;
    --line: #cbd6e9;
    --shadow: 0 18px 44px rgba(82, 103, 169, .11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 16px/1.63 'Segoe UI', Arial, sans-serif; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mint); }
a:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; border-radius: 3px; }
p { margin: 0 0 15px; font-size: 16px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.18; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 19px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; transform: translateY(-140%); top: 4px; left: 12px; z-index: 100; background: var(--sun); padding: 8px 18px; }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.micro-head { background: var(--mint-soft); border-bottom: 1px solid #b5e5db; }
.micro-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 8px 0; color: var(--mint); font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .14em; }
.header-inner { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; color: var(--violet); font-weight: 850; font-size: 21px; text-decoration: none; letter-spacing: -.05em; }
.brand:hover { color: var(--violet); }
.brand-mark { position: relative; display: inline-block; width: 43px; height: 43px; border: 4px solid var(--violet); border-radius: 13px; transform: rotate(-8deg); background: var(--mint-soft); }
.brand-mark::before { content: ''; position: absolute; width: 17px; height: 17px; border: 4px solid var(--mint); border-radius: 50%; left: 7px; top: 7px; }
.brand-mark::after { content: ''; position: absolute; width: 5px; height: 5px; background: var(--sun); border-radius: 50%; right: 3px; top: 3px; }
.nav-bar { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }
.nav-bar a { font-size: 14px; font-weight: 750; color: var(--ink); text-decoration: none; }
.nav-bar a:hover, .nav-bar a[aria-current='page'] { color: var(--mint); }
.tel-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 21px; border-radius: 8px; background: var(--violet); color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; text-decoration: none; box-shadow: 4px 4px 0 var(--sun); transition: transform .15s ease, background .15s ease; }
.tel-button:hover { color: white; background: var(--mint); transform: translateY(-2px); }
.tel-button--mint { background: var(--mint); }
.tel-button--mint:hover { background: var(--violet); }
.nav-cta { margin-right: 4px; }
.eyebrow { font-size: 11px; font-weight: 900; color: var(--mint); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 19px; }
.eyebrow::before { content: ''; display: inline-block; vertical-align: middle; width: 22px; height: 3px; margin-right: 10px; background: var(--sun); }
.hero-stage { margin: 35px 0 0; display: grid; grid-template-columns: .87fr 1.13fr; background: white; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.hero-copy { min-width: 0; padding: 43px 43px 36px; order: 2; }
.hero-copy h1 { color: var(--violet); margin: 0 0 24px; }
.hero-copy p { max-width: 670px; }
.intro-locations { padding: 13px 17px; background: var(--mint-soft); border-left: 5px solid var(--mint); margin: 19px 0 22px; }
.intro-locations strong { color: var(--mint); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 21px; }
.text-action { font-size: 14px; font-weight: 800; }
.machine-board { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 11px; min-width: 0; background-color: var(--violet-light); background-image: linear-gradient(90deg, rgba(98, 87, 181, .075) 1px, transparent 1px), linear-gradient(rgba(98, 87, 181, .075) 1px, transparent 1px); background-size: 21px 21px; border-right: 1px solid var(--line); padding: 20px 26px 25px; order: 1; }
.board-heading { display: flex; justify-content: space-between; color: var(--violet); font-size: 11px; text-transform: uppercase; font-weight: 900; letter-spacing: .14em; gap: 12px; }
.appliance-diagram { position: relative; margin: 10px auto 0; min-height: 292px; flex: 1; width: min(330px, 100%); }
.appliance-main { position: absolute; width: 205px; height: 248px; top: 50%; transform: translateY(-50%); left: calc(50% - 102px); background: #fff; border: 6px solid var(--violet); border-radius: 22px 22px 13px 13px; box-shadow: 16px 15px 0 rgba(98,87,181,.16); }
.appliance-top { position: absolute; inset: 0 0 auto; height: 49px; border-bottom: 6px solid var(--violet); display: flex; justify-content: space-evenly; align-items: center; }
.appliance-lamp { width: 13px; height: 13px; border: 3px solid var(--mint); border-radius: 50%; }
.appliance-lamp--small { width: 9px; height: 9px; background: var(--sun); border: none; }
.appliance-screen { width: 75px; height: 19px; background: var(--mint-soft); border-radius: 3px; border: 2px solid var(--mint); }
.appliance-window { position: absolute; width: 137px; height: 137px; border: 11px solid var(--mint); border-radius: 50%; top: 78px; left: 28px; background: radial-gradient(ellipse at 36% 26%, #e5fff9 0 17%, #96dace 18% 53%, #45aaa0 54% 100%); box-shadow: inset 0 0 0 5px #c8f0e8; }
.appliance-window::before { content: ''; position: absolute; width: 70px; height: 34px; top: 65px; left: 29px; border-radius: 45%; border-top: 5px solid rgba(255,255,255,.8); transform: rotate(-17deg); }
.appliance-leg { position: absolute; width: 22px; height: 9px; background: var(--violet); bottom: -13px; left: 17px; }
.appliance-leg--right { left: auto; right: 17px; }
.diag-label { position: absolute; z-index: 1; padding: 7px 10px; background: var(--sun); color: #6a5597; font-size: 10px; letter-spacing: .08em; font-weight: 900; border-radius: 5px; box-shadow: 4px 4px 0 #fff; }
.diag-label--one { top: calc(50% - 80px); left: 0; }
.diag-label--two { top: calc(50% + 70px); right: 0; background: var(--mint); color: #fff; }
.board-diagnostics { display: grid; gap: 6px; }
.board-diagnostics div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 10px; background: rgba(255,255,255,.75); border-left: 4px solid var(--mint); font-size: 11px; line-height: 1.4; }
.board-diagnostics strong { color: var(--violet); font-weight: 900; }
.board-diagnostics span { color: var(--mint); font-weight: 700; text-align: right; }
.board-foot { display: flex; justify-content: space-between; gap: 16px; color: var(--violet); border-top: 1px solid #c4c0ec; padding-top: 14px; text-transform: uppercase; font-size: 10px; font-weight: 900; letter-spacing: .09em; }
.scope-line { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--violet); }
.scope-line span::before { content: '●'; color: var(--mint); font-size: 9px; margin-right: 8px; }
.section-gap { margin-top: 58px; }
.title-pair { display: flex; gap: 32px; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.title-pair > p { max-width: 430px; margin: 0; color: var(--quiet); }
.title-pair h2 { color: var(--violet); }
.section-kicker { margin-bottom: 12px; display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 900; color: var(--mint); }
.repair-matrix { border-top: 5px solid var(--violet); border-bottom: 1px solid var(--line); background: white; }
.repair-row { display: grid; grid-template-columns: 52px minmax(170px, .65fr) minmax(0, 1.35fr); align-items: baseline; gap: 23px; padding: 25px 28px; border-bottom: 1px solid var(--line); }
.repair-row:last-child { border-bottom: none; }
.row-index { color: var(--mint); font-size: 15px; font-weight: 900; }
.repair-row h3 { color: var(--violet); }
.repair-row p { margin-bottom: 0; }
.progress-section { margin-top: 59px; padding: 40px 0 45px; background: var(--violet); color: #fff; }
.progress-section h2 { color: #fff; }
.progress-section .section-kicker { color: #bdf3de; }
.progress-section .title-pair > p { color: #e9e5ff; }
.progress-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 26px; background: rgba(255,255,255,.25); border: 2px solid rgba(255,255,255,.25); }
.progress-step { padding: 20px 21px 16px; background: var(--violet); }
.progress-step span { display: block; color: var(--sun); font-size: 13px; font-weight: 900; margin-bottom: 10px; }
.progress-step h3 { font-size: 17px; color: #fff; margin-bottom: 10px; }
.progress-step p { color: #f5f2ff; margin-bottom: 0; font-size: 16px; }
.local-section { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.local-section h2 { color: var(--violet); margin-bottom: 16px; }
.local-section .local-copy { padding: 20px 5px 0; }
.local-bands { background: var(--mint-soft); padding: 25px 28px 22px; border-radius: 10px; border-top: 5px solid var(--mint); }
.local-bands h3 { color: var(--mint); margin-bottom: 11px; }
.local-bands p { margin: 0 0 13px; }
.local-bands .tel-button { margin-top: 4px; }
.local-note { border-top: 1px solid var(--line); margin-top: 45px; padding: 14px 0 17px; }
.local-note p { font-size: 14px; line-height: 1.55; color: var(--quiet); margin: 0; }
.site-footer { margin-top: 0; color: var(--ink); background: #e8eefa; border-top: 1px solid #cbd6e9; }
.footer-inner { display: flex; min-height: 117px; align-items: center; gap: 20px; justify-content: space-between; }
.footer-inner nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.footer-inner nav a { color: var(--violet); font-size: 14px; font-weight: 800; text-decoration: none; }
.footer-inner nav a:hover { color: var(--mint); }
.footer-inner .brand { font-size: 19px; }
/* Home: fault-first composition */
.fault-intro { padding: 42px 0 12px; }
.fault-header { display: grid; grid-template-columns: 1fr 310px; gap: 40px; align-items: stretch; }
.fault-header h1 { color: var(--violet); margin-bottom: 18px; }
.fault-header p { max-width: 750px; }
.fault-flag { background: var(--mint); color: #fff; padding: 22px 26px; border-radius: 10px; border-bottom: 8px solid var(--sun); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.fault-flag strong { display: block; font-size: 24px; margin-bottom: 5px; line-height: 1.2; }
.fault-flag span { font-size: 14px; line-height: 1.6; }
.fault-flag ul { list-style: none; margin: 4px 0; padding: 0; }
.fault-flag li { border-top: 1px solid rgba(255,255,255,.35); padding: 7px 0; font-size: 13px; font-weight: 700; }
.fault-flag .tel-button { margin-top: 15px; background: #fff; color: var(--violet); box-shadow: none; }
.fault-flag .tel-button:hover { background: var(--sun); color: var(--violet); }
.fault-directory { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; margin-top: 21px; }
.fault-card { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 24px 24px 19px; border-left: 7px solid var(--mint); }
.fault-card:nth-child(even) { border-left-color: var(--sun); }
.fault-card span { font-size: 11px; color: var(--mint); font-weight: 900; letter-spacing: .12em; }
.fault-card h3 { color: var(--violet); margin: 8px 0 11px; }
.fault-card p { margin: 0; }
.two-remarks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 55px; }
.remark { padding: 28px 30px; border-radius: 10px; background: var(--violet-light); }
.remark--alt { background: var(--mint-soft); }
.remark h2 { color: var(--violet); margin-bottom: 15px; }
.remark--alt h2 { color: var(--mint); }
.visit-rail { margin-top: 46px; padding: 27px 30px; border-top: 5px solid var(--mint); background: white; }
.visit-rail h2 { color: var(--violet); margin-bottom: 15px; }
.visit-rail p { margin-bottom: 12px; }
.home-locations { display: flex; align-items: start; gap: 28px; margin-top: 35px; }
.home-locations > div { flex: 1; }
.home-locations h2 { color: var(--violet); margin-bottom: 12px; }
.home-locations .local-bands { flex: 1; }
/* Oferta: independent service register */
.offer-intro { padding: 42px 0 6px; }
.offer-intro h1 { color: var(--violet); margin: 0 0 20px; }
.offer-lead { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; }
.offer-register { padding: 23px 26px; background: var(--violet); color: #fff; border-radius: 10px; }
.offer-register h2 { color: #fff; margin-bottom: 16px; }
.offer-register p { margin: 0 0 10px; color: #fff; }
.offer-register .tel-button { background: var(--sun); color: var(--violet); box-shadow: none; margin-top: 10px; }
.offer-categories { margin-top: 34px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.offer-unit { border: 1px solid var(--line); background: white; border-radius: 10px; padding: 23px 25px; position: relative; }
.offer-unit::after { content: ''; position: absolute; right: 20px; top: 25px; height: 7px; width: 25px; background: var(--sun); border-radius: 5px; }
.offer-unit h3 { color: var(--violet); margin-bottom: 11px; padding-right: 30px; }
.offer-unit p { margin: 0; }
.offer-sequence { margin-top: 45px; padding: 28px 30px; background: var(--mint-soft); border-left: 8px solid var(--mint); }
.offer-sequence h2 { color: var(--mint); margin-bottom: 14px; }
.offer-sequence p { margin: 0 0 10px; }
.offer-places { padding: 26px 0 30px; }
.offer-places h2 { color: var(--violet); margin-bottom: 12px; }
.offer-places p { max-width: 1020px; }
@media (max-width: 1060px) {
    .wrap { width: min(100% - 40px, 1180px); }
    .header-inner { gap: 16px; }
    .nav-bar { gap: 14px; }
    .hero-copy { padding: 31px 28px 27px; }
    .machine-board { padding: 18px 17px; }
    .appliance-diagram { transform: scale(.94); transform-origin: center; }
    .repair-row { padding-inline: 19px; gap: 16px; }
}
@media (max-width: 820px) {
    .header-inner { flex-wrap: wrap; padding: 15px 0; min-height: auto; }
    .nav-bar { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 13px; gap: 15px; }
    .nav-cta { margin-left: auto; }
    .hero-stage { grid-template-columns: 1fr; }
    .hero-copy { order: 1; }
    .machine-board { order: 2; min-height: 340px; border-top: 1px solid var(--line); border-right: 0; }
    .appliance-diagram { min-height: 270px; }
    .fault-header { grid-template-columns: 1fr; gap: 18px; }
    .fault-flag { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; justify-content: space-between; }
    .fault-flag strong { font-size: 19px; }
    .fault-flag .tel-button { margin-top: 0; }
    .offer-lead { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .wrap { width: calc(100% - 30px); }
    .micro-inner { font-size: 9px; letter-spacing: .08em; }
    .nav-bar { justify-content: start; column-gap: 18px; row-gap: 7px; }
    .nav-bar a { font-size: 13px; }
    .brand { font-size: 19px; }
    .brand-mark { width: 36px; height: 36px; }
    .brand-mark::before { left: 4px; top: 4px; }
    .header-inner > .tel-button { padding: 10px 12px; font-size: 12px; }
    .hero-stage { margin-top: 19px; }
    .hero-copy { padding: 26px 21px 25px; }
    .machine-board { min-height: 322px; }
    .board-heading, .board-foot { font-size: 9px; }
    .section-gap { margin-top: 38px; }
    .title-pair { display: block; }
    .title-pair > p { margin-top: 14px; }
    .repair-row { grid-template-columns: 28px minmax(0,1fr); gap: 8px 13px; }
    .repair-row > p { grid-column: 2; }
    .repair-row h3 { font-size: 18px; }
    .progress-section { margin-top: 42px; padding: 30px 0; }
    .progress-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .progress-step { padding: 15px; }
    .local-section, .two-remarks, .home-locations { display: block; }
    .local-section .local-bands, .two-remarks .remark + .remark, .home-locations .local-bands { margin-top: 19px; }
    .local-section { margin-top: 35px; }
    .footer-inner { padding: 24px 0; flex-wrap: wrap; gap: 17px; }
    .footer-inner nav { gap: 13px; }
    .fault-intro, .offer-intro { padding-top: 28px; }
    .fault-directory, .offer-categories { grid-template-columns: 1fr; }
    .remark, .visit-rail { padding: 23px 21px; }
    .offer-register, .offer-sequence { padding: 22px 21px; }
}
@media (max-width: 360px) {
    .micro-inner span:last-child { display: none; }
    .header-inner > .tel-button { padding: 9px; }
    h1 { overflow-wrap: break-word; }
    .scope-line { justify-content: start; gap: 10px 15px; }
    .progress-steps { grid-template-columns: 1fr; }
    .hero-copy { padding-inline: 17px; }
    .appliance-diagram { transform: scale(.85); }
    .board-heading { letter-spacing: .06em; }
    .board-foot { gap: 7px; }
}
