/* AGD Ełk — autorski motyw warsztatowej dokumentacji */
:root {
    --ink: #38436c;
    --muted: #647099;
    --purple: #6551b9;
    --deep-purple: #51459e;
    --cobalt: #365cc0;
    --lavender: #eef0ff;
    --lavender-2: #e4e6fa;
    --line: #d9def0;
    --yellow: #ffc44c;
    --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #ffc44c; outline-offset: 4px; }
a:active { transform: translateY(1px); }
p { font-size: 16px; line-height: 1.68; margin: 0 0 15px; }
h1, h2, h3 { letter-spacing: -.035em; margin: 0; color: var(--ink); }
h1 { font-size: 40px; line-height: 1.16; font-weight: 800; margin-bottom: 24px; }
h2 { font-size: 28px; line-height: 1.25; font-weight: 800; margin-bottom: 24px; }
h3 { font-size: 21px; line-height: 1.28; font-weight: 800; margin-bottom: 12px; }
.container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.service-topbar { background: #e7e6fb; color: var(--deep-purple); border-bottom: 1px solid #d8d7f0; }
.topbar-inner { min-height: 29px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 11px; font-weight: 700; letter-spacing: .035em; }
.topbar-inner b { color: #baaedd; margin: 0 8px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 22px; }
.site-logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-mark { width: 48px; height: 48px; position: relative; background: var(--lavender); border: 3px solid var(--purple); border-radius: 11px; display: flex; justify-content: center; align-items: center; transform: rotate(-8deg); }
.logo-mark::before { content: ''; position: absolute; top: 6px; left: 6px; width: 6px; height: 6px; background: var(--yellow); border: 2px solid var(--purple); border-radius: 50%; }
.logo-mark > span { margin-top: 9px; width: 28px; height: 28px; border: 5px solid var(--purple); background: #bfcbf8; border-radius: 50%; box-shadow: inset 0 0 0 4px #e7eaff; }
.logo-title { font-size: 23px; line-height: 1; font-weight: 800; color: var(--ink); letter-spacing: -.06em; }
.logo-title b { color: var(--purple); }
.logo-title small { display: block; font-size: 9px; margin-top: 6px; font-weight: 800; color: var(--muted); letter-spacing: .09em; }
.main-nav { display: flex; align-items: center; margin-left: auto; gap: 25px; }
.main-nav a { font-size: 14px; font-weight: 700; padding: 11px 0; border-bottom: 2px solid transparent; color: var(--ink); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--purple); border-bottom-color: var(--yellow); }
.head-phone { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; background: var(--purple); color: var(--white); font-size: 14px; font-weight: 800; white-space: nowrap; margin-left: 18px; border-radius: 5px; }
.head-phone:hover { background: var(--deep-purple); }
.micro-label { display: inline-block; font-size: 11px; font-weight: 800; color: var(--purple); letter-spacing: .12em; margin-bottom: 18px; }
.hero { background: #f3f4ff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.44fr) minmax(320px, .95fr); gap: 42px; padding-top: 50px; padding-bottom: 48px; align-items: stretch; }
.hero-copy { align-self: center; min-width: 0; }
.hero-copy p { max-width: 670px; }
.local-first { padding: 11px 0 11px 16px; border-left: 4px solid var(--yellow); color: var(--purple); font-size: 16px; line-height: 1.48; }
.cta-group { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; margin-top: 23px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 47px; border-radius: 5px; padding: 12px 21px; font-size: 14px; font-weight: 800; border: 2px solid var(--purple); text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { color: var(--white); background: var(--purple); }
.btn-primary:hover { background: var(--deep-purple); border-color: var(--deep-purple); }
.btn-outline { color: var(--purple); background: var(--white); }
.btn-outline:hover { background: #eeeaff; }
/* Diagram AGD zbudowany wyłącznie z CSS */
.hero-workshop { position: relative; overflow: hidden; background: var(--purple); color: var(--white); min-height: 445px; padding: 20px 24px 18px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 6px 48px 6px 6px; isolation: isolate; }
.hero-workshop::before { content: ''; position: absolute; width: 390px; height: 390px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; top: 49px; right: -180px; z-index: -1; }
.hero-workshop::after { content: ''; position: absolute; width: 230px; height: 230px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; bottom: 33px; left: -148px; z-index: -1; }
.drawing-label { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 10px; font-weight: 800; letter-spacing: .1em; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.26); }
.drawing-label span { font-size: 9px; color: #ebe9ff; }
.machine-art { position: relative; display: grid; place-items: center; flex: 1; min-height: 278px; }
.machine-face { position: relative; width: 208px; height: 265px; border: 6px solid #dde2ff; border-radius: 14px 14px 8px 8px; background: #f8f9ff; transform: rotate(7deg); box-shadow: 13px 15px 0 rgba(53,44,128,.42); }
.machine-face::before { content: ''; position: absolute; inset: 61px 14px auto; border-top: 2px solid #d3d7ee; }
.machine-control { display: flex; gap: 10px; align-items: center; padding: 14px 11px; }
.machine-control i { width: 21px; height: 21px; border: 5px solid var(--cobalt); border-radius: 50%; margin-right: auto; background: #d6dbf8; }
.machine-control span { width: 12px; height: 4px; background: #a8aed5; border-radius: 4px; }
.machine-control span:last-child { width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; }
.machine-drum { width: 158px; height: 158px; overflow: hidden; position: relative; margin: 12px auto 0; border-radius: 50%; background: #d7d8fd; border: 11px solid #a9b8f4; box-shadow: 0 0 0 6px #e8eafe, 0 0 0 9px var(--cobalt); }
.water-wave { position: absolute; inset: 48px -12px -15px; transform: rotate(-20deg); background: var(--cobalt); opacity: .6; border-radius: 30% 40% 0 0; }
.drum-core { position: absolute; width: 65px; height: 65px; top: 37px; left: 37px; border: 5px solid #eaf0ff; transform: rotate(25deg); border-radius: 10px; }
.machine-feet::before,.machine-feet::after { content: ''; width: 22px; height: 10px; position: absolute; background: #dedfff; bottom: -13px; }
.machine-feet::before { left: 16px; }
.machine-feet::after { right: 16px; }
.machine-highlight { position: absolute; right: 14px; top: 25%; background: var(--yellow); color: #574590; font-size: 21px; font-weight: 900; letter-spacing: -.08em; padding: 12px 15px; transform: rotate(9deg); }
.drawing-bottom { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.26); font-size: 10px; letter-spacing: .08em; }
.drawing-bottom span { color: var(--yellow); }
.quick-strip { background: var(--cobalt); color: var(--white); }
.quick-strip-inner { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 21px 0; }
.quick-strip-inner div { display: flex; align-items: flex-start; gap: 11px; padding: 0 18px; border-left: 1px solid rgba(255,255,255,.28); }
.quick-strip-inner div:first-child { border-left: 0; padding-left: 0; }
.quick-strip-inner b { color: var(--yellow); font-size: 13px; }
.quick-strip-inner span { font-size: 13px; font-weight: 700; line-height: 1.42; }
.content-section { padding: 60px 0 62px; }
.section-heading { margin-bottom: 12px; }
.device-rows { border-top: 2px solid var(--purple); }
.device-entry { display: grid; grid-template-columns: 146px minmax(0,1fr); gap: 28px; border-bottom: 1px solid var(--line); padding: 28px 0 27px; }
.entry-index { display: inline-block; margin-top: 4px; color: var(--purple); font-weight: 900; letter-spacing: .1em; font-size: 12px; }
.entry-content { max-width: 930px; }
.entry-content p:last-child { margin-bottom: 0; }
.coverage-section { background: var(--lavender); padding: 54px 0; }
.coverage-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(310px,.85fr); gap: 60px; align-items: center; }
.coverage-copy p:last-child { margin-bottom: 0; }
.schedule { background: #fff; padding: 25px 28px 23px; border-top: 5px solid var(--yellow); border-bottom: 1px solid #cfd3ed; }
.schedule h3 { font-size: 20px; margin-bottom: 16px; }
.schedule-row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.schedule-row strong { white-space: nowrap; color: var(--purple); }
.schedule p { margin: 17px 0 0; font-size: 14px; }
.process-section { background: #fff; }
.process-stack { border-top: 1px solid var(--line); }
.process-row { display: grid; grid-template-columns: 285px minmax(0,1fr); gap: 26px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.process-row > strong { color: var(--purple); font-size: 15px; }
.process-row > strong span { display: block; color: var(--ink); font-size: 19px; margin-top: 7px; }
.process-row p { margin-bottom: 0; }
.contact-panel { background: var(--purple); color: #fff; padding: 37px 0; }
.contact-panel h2 { color: var(--white); margin-bottom: 13px; }
.contact-panel p { margin: 0; max-width: 650px; }
.contact-panel .micro-label { color: var(--yellow); }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 40px; }
.contact-buttons { margin-top: 0; flex-direction: column; min-width: 203px; align-items: stretch; }
.contact-buttons .btn { width: 100%; }
.contact-panel .btn-primary { background: var(--yellow); border-color: var(--yellow); color: #4e407d; }
.contact-panel .btn-primary:hover { background: #ffd574; border-color: #ffd574; }
.contact-panel .btn-outline { background: var(--white); border-color: var(--white); color: var(--purple); }
.contact-panel .btn-outline:hover { background: #eef0ff; border-color: #eef0ff; }
.location-notes { padding: 24px 0 23px; }
.location-notes .container { border-left: 3px solid var(--lavender-2); padding-left: 18px; }
.location-notes p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 8px; }
.location-notes p:last-child { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); background: #f0f2ff; padding: 33px 0 39px; }
.footer-inner { display: grid; grid-template-columns: minmax(0,1.2fr) auto minmax(0,1fr); gap: 35px; }
.footer-ident strong { display: block; color: var(--purple); font-size: 19px; margin-bottom: 10px; }
.footer-inner p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }
.footer-ident p { max-width: 310px; }
.footer-menu { display: flex; align-items: flex-start; gap: 20px; padding-top: 5px; }
.footer-menu a { font-size: 14px; font-weight: 700; color: var(--deep-purple); }
.footer-menu a:hover, .footer-times a:hover { text-decoration: underline; }
.footer-times { justify-self: end; max-width: 255px; }
.footer-times a { display: inline-block; margin-top: 12px; font-size: 11px; color: var(--muted); }
/* Naprawa AGD: lista awarii jako osobny wariant strony */
.hero-home { background: #f3f4ff; }
.home-opening { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(305px,.85fr); gap: 50px; padding-top: 51px; padding-bottom: 51px; align-items: center; }
.home-copy { min-width: 0; }
.symptom-board { border: 1px solid #d0d5ee; background: #fff; padding: 23px 25px 15px; border-radius: 6px; }
.board-tag { display: block; color: var(--purple); font-size: 11px; font-weight: 800; letter-spacing: .12em; padding-bottom: 18px; border-bottom: 2px solid var(--yellow); }
.symptom-board > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 32px minmax(0,1fr); column-gap: 9px; row-gap: 5px; }
.symptom-board > div:last-child { border-bottom: 0; }
.symptom-board > div b { font-size: 12px; color: var(--purple); grid-row: span 2; padding-top: 3px; }
.symptom-board > div strong { font-size: 17px; }
.symptom-board > div span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.fault-section { padding-bottom: 58px; }
.fault-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 24px; }
.fault-columns > div { border-top: 3px solid var(--yellow); padding-top: 19px; }
.fault-columns p:last-child { margin-bottom: 0; }
.visit-section { padding: 54px 0; background: var(--lavender); }
.visit-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(310px,.8fr); align-items: center; gap: 55px; }
.visit-check { border-left: 5px solid var(--cobalt); padding: 21px 25px; background: #fff; }
.visit-check p { font-size: 15px; }
.visit-check p:last-child { margin-bottom: 0; }
.local-short { padding: 51px 0 55px; }
.local-short p { max-width: 1000px; margin-bottom: 0; }
.contact-panel-home { background: var(--cobalt); }
/* Oferta: układ cennika i zakresu usług */
.offer-opening { background: #f3f4ff; }
.offer-layout { display: grid; grid-template-columns: minmax(0,1.48fr) minmax(310px,.85fr); gap: 50px; padding-top: 54px; padding-bottom: 55px; align-items: center; }
.offer-layout > div > p:last-child { margin-bottom: 0; }
.offer-rate { padding: 29px; border: 2px solid var(--purple); background: #fff; border-radius: 6px; }
.offer-rate > span { display: block; color: var(--purple); font-weight: 900; font-size: 11px; letter-spacing: .1em; margin-bottom: 17px; }
.offer-rate > strong { display: block; color: var(--purple); font-size: 44px; line-height: 1.2; letter-spacing: -.05em; }
.offer-rate > p { font-size: 15px; margin: 9px 0; }
.rate-divider { height: 3px; margin: 24px 0; background: var(--yellow); }
.rate-buttons { margin-top: 21px; display: grid; grid-template-columns: 1fr; }
.offer-scope { padding-bottom: 58px; }
.scope-list { border-top: 2px solid var(--purple); margin-top: 25px; }
.scope-list article { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 34px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.scope-side { display: flex; align-items: baseline; gap: 15px; }
.scope-side b { color: var(--purple); font-size: 13px; }
.scope-side h3 { margin: 0; }
.scope-list p { margin: 0; }
.service-rules { background: var(--lavender); padding: 53px 0; }
.rules-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }
.rules-layout > div { min-width: 0; }
.rules-layout > div p:last-child { margin-bottom: 0; }
.contact-panel-offer { background: var(--cobalt); }
@media (max-width: 1130px) {
    .hero-grid { grid-template-columns: minmax(0,1.4fr) minmax(285px,.9fr); gap: 28px; }
    .hero-workshop { padding-left: 17px; padding-right: 17px; }
    .coverage-grid,.home-opening,.visit-layout,.offer-layout { grid-template-columns: 1fr; gap: 25px; }
    .coverage-grid,.visit-layout { align-items: stretch; }
    .schedule,.visit-check { max-width: none; }
    .symptom-board { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
    .board-tag { grid-column: 1/-1; }
    .symptom-board > div:nth-last-child(2) { border-bottom: 0; }
    .offer-rate { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); column-gap: 20px; align-items: start; }
    .offer-rate > span,.offer-rate > strong,.offer-rate > p:first-of-type { grid-column: 1; }
    .offer-rate .rate-divider { grid-column: 1 / -1; height: 1px; margin: 12px 0; }
    .offer-rate .rate-buttons { grid-column: 2; grid-row: 2 / span 2; margin-top: 0; }
    .offer-rate > p:nth-of-type(2),.offer-rate > p:nth-of-type(3) { grid-column: 2; }
}
@media (max-width: 850px) {
    .container { width: min(100% - 40px,1160px); }
    .site-header .header-inner { flex-wrap: wrap; padding: 13px 0; gap: 12px; }
    .main-nav { order: 3; margin: 0; width: 100%; border-top: 1px solid var(--line); padding-top: 4px; gap: 26px; }
    .head-phone { margin-left: auto; }
    .hero-grid { display: block; padding-top: 39px; padding-bottom: 38px; }
    .hero-workshop { min-height: 325px; margin-top: 27px; }
    .machine-art { min-height: 245px; }
    .machine-face { transform: scale(.81) rotate(7deg); }
    .machine-highlight { right: 16%; }
    .quick-strip-inner { grid-template-columns: 1fr 1fr; gap: 16px 0; }
    .quick-strip-inner div { padding-left: 16px; }
    .quick-strip-inner div:nth-child(odd) { border-left: 0; padding-left: 0; }
    .device-entry { grid-template-columns: 82px minmax(0,1fr); gap: 18px; }
    .fault-columns,.rules-layout { grid-template-columns: 1fr; gap: 24px; }
    .process-row { grid-template-columns: 195px minmax(0,1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 21px; }
    .contact-buttons { flex-direction: row; min-width: 0; }
    .contact-buttons .btn { width: auto; }
    .footer-inner { grid-template-columns: 1fr auto; }
    .footer-times { justify-self: start; grid-column: 1 / -1; }
    .scope-list article { grid-template-columns: 168px 1fr; gap: 20px; }
}
@media (max-width: 600px) {
    .container { width: min(100% - 34px,1160px); }
    h1 { font-size: 40px; }
    h2 { font-size: 28px; }
    .topbar-inner { display: block; padding: 7px 0; text-align: center; line-height: 1.4; }
    .topbar-inner span { display: block; }
    .header-inner { min-height: 0; }
    .site-logo { gap: 9px; }
    .logo-mark { width: 42px; height: 42px; }
    .logo-title { font-size: 20px; }
    .head-phone { padding: 10px 11px; font-size: 12px; }
    .main-nav { justify-content: space-between; gap: 10px; }
    .main-nav a { font-size: 12px; }
    .hero-grid,.home-opening,.offer-layout { padding-top: 34px; padding-bottom: 36px; }
    .hero-workshop { min-height: 296px; }
    .machine-face { transform: scale(.77) rotate(7deg); }
    .machine-art { min-height: 230px; }
    .machine-highlight { right: 8%; }
    .cta-group { display: grid; grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .quick-strip-inner { padding: 14px 0; }
    .quick-strip-inner div { padding-right: 7px; }
    .quick-strip-inner span { font-size: 12px; }
    .content-section { padding: 43px 0 46px; }
    .device-entry { display: block; padding: 24px 0; }
    .entry-index { margin-bottom: 12px; }
    .coverage-section,.visit-section,.service-rules { padding: 40px 0; }
    .schedule { padding: 20px; }
    .process-row { display: block; }
    .process-row > strong { display: block; margin-bottom: 10px; }
    .process-row > strong span { display: inline; margin-left: 11px; }
    .contact-panel { padding: 34px 0; }
    .contact-buttons { display: grid; grid-template-columns: 1fr; }
    .symptom-board { display: block; padding: 20px; }
    .symptom-board > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
    .local-short { padding: 40px 0; }
    .offer-rate { display: block; padding: 21px; }
    .offer-rate > strong { font-size: 40px; }
    .offer-rate .rate-divider { margin: 19px 0; }
    .offer-rate .rate-buttons { margin-top: 15px; }
    .scope-list article { display: block; }
    .scope-side { margin-bottom: 10px; }
    .footer-inner { display: block; }
    .footer-menu { margin-top: 21px; }
    .footer-times { margin-top: 23px; }
    .location-notes .container { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
/* Cennik na laptopie — wszystkie informacje w jednym zwartym wierszu. */
@media (min-width: 601px) and (max-width: 1130px) {
    .offer-rate {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.05fr) minmax(0, 1.15fr);
        grid-template-rows: auto auto auto;
        align-items: center;
        gap: 5px 23px;
    }
    .offer-rate > span { grid-column: 1; grid-row: 1; margin: 0; }
    .offer-rate > strong { grid-column: 1; grid-row: 2; }
    .offer-rate > p:first-of-type { grid-column: 1; grid-row: 3; }
    .offer-rate > p:nth-of-type(2) { grid-column: 2; grid-row: 2; }
    .offer-rate > p:nth-of-type(3) { grid-column: 2; grid-row: 3; }
    .offer-rate .rate-divider { display: none; }
    .offer-rate .rate-buttons { grid-column: 3; grid-row: 1 / span 3; align-self: center; }
}
