* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #234a57;
    background: #f7fbfc;
    line-height: 1.62;
}

a {
    color: inherit;
}

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

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

h1 {
    margin: 12px 0 22px;
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #1f5361;
}

h2 {
    margin: 8px 0 18px;
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #1f5361;
}

h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
    color: #286777;
}

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

.site-header {
    position: relative;
    z-index: 5;
    border-bottom: 1px solid #bcd9df;
    background: #eef8fa;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand-mark {
    position: relative;
    width: 42px;
    height: 42px;
    border: 3px solid #2d8191;
    border-radius: 50%;
    background: #ffffff;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.brand-mark::before {
    width: 8px;
    height: 8px;
    left: 8px;
    top: 8px;
    background: #56b7c3;
}

.brand-mark::after {
    width: 8px;
    height: 8px;
    right: 8px;
    top: 8px;
    background: #ef735f;
}

.brand-mark span {
    width: 16px;
    height: 16px;
    left: 10px;
    bottom: 6px;
    border: 3px solid #2d8191;
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 17px;
    color: #1f5361;
}

.brand-copy small {
    margin-top: 5px;
    font-size: 12px;
    color: #557681;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.main-nav a,
.footer-nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: #396572;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: #c44f3e;
}

.header-actions,
.intro-actions,
.hero-contact,
.accent-actions,
.appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}

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

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

.btn:focus-visible,
.main-nav a:focus-visible,
.footer-nav a:focus-visible,
.brand:focus-visible {
    outline: 3px solid #e79082;
    outline-offset: 3px;
}

.btn-primary,
.btn-phone {
    background: #256d7a;
    color: #ffffff;
    border-color: #256d7a;
}

.btn-primary:hover,
.btn-phone:hover {
    background: #1f5f6b;
    border-color: #1f5f6b;
}

.btn-outline,
.btn-light {
    background: #ffffff;
    color: #2a6876;
    border-color: #76b9c4;
}

.btn-outline:hover,
.btn-light:hover {
    border-color: #ef735f;
    color: #b94738;
}

.service-intro,
.repair-hero,
.offer-opening {
    position: relative;
    overflow: hidden;
    background: #dff2f5;
    border-bottom: 1px solid #b8dce2;
}

.service-intro::after,
.offer-opening::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -110px;
    top: -110px;
    border: 28px solid #b8e3e8;
    border-radius: 50%;
    opacity: .65;
}

.intro-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 72px;
    padding: 70px 0 64px;
}

.intro-copy {
    max-width: 720px;
}

.eyebrow,
.section-index,
.note-label,
.meter-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #c95040;
}

.intro-copy p,
.repair-hero p,
.offer-opening p {
    max-width: 760px;
}

.control-panel {
    position: relative;
    padding: 28px;
    border: 1px solid #8bc5cf;
    border-radius: 14px;
    background: #f8fdfe;
    box-shadow: 0 18px 38px rgba(39, 107, 122, .12);
}

.control-panel::before {
    content: "SERWIS";
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    color: #78aab4;
}

.dial {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 22px;
    border: 10px solid #b9e0e5;
    border-radius: 50%;
    background: #ffffff;
}

.dial::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 25px;
    left: 33px;
    top: 6px;
    border-radius: 4px;
    background: #ef735f;
    transform: rotate(35deg);
    transform-origin: 2px 29px;
}

.dial span {
    position: absolute;
    width: 42px;
    height: 42px;
    left: 14px;
    top: 14px;
    border: 2px solid #4c98a6;
    border-radius: 50%;
}

.panel-readout {
    display: grid;
    gap: 2px;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #d9f0f3;
}

.panel-readout strong {
    font-size: 26px;
    line-height: 1;
    color: #1f5d69;
}

.panel-readout span,
.panel-row {
    font-size: 13px;
}

.panel-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 2px;
    border-bottom: 1px solid #c7e2e6;
}

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

.section {
    padding: 58px 0;
    background: #f7fbfc;
}

.section-tint {
    background: #eaf6f8;
    border-top: 1px solid #d1e8ec;
    border-bottom: 1px solid #d1e8ec;
}

.section-accent {
    background: #cfecef;
    border-top: 1px solid #b3dce2;
    border-bottom: 1px solid #b3dce2;
}

.section p {
    max-width: 850px;
}

.service-band .wrap {
    position: relative;
}

.appliance-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 28px;
    border-top: 1px solid #a8cfd6;
    border-bottom: 1px solid #a8cfd6;
}

.appliance-line span {
    flex: 1 1 150px;
    padding: 14px 18px;
    border-right: 1px solid #a8cfd6;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    color: #2a6876;
}

.appliance-line span:last-child {
    border-right: 0;
}

.repair-detail-grid,
.visit-flow,
.offer-opening-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 54px;
    align-items: start;
}

.repair-note,
.meter-card,
.offer-price {
    padding: 28px;
    border-left: 5px solid #ef735f;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(43, 105, 117, .1);
}

.repair-note h2,
.meter-card h2 {
    margin-top: 10px;
}

.compact-note {
    margin-top: 4px;
}

.split-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 58px;
    align-items: start;
}

.service-path {
    border-top: 1px solid #9fc9d1;
}

.service-path article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #9fc9d1;
}

.service-path article > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dff2f5;
    font-size: 12px;
    font-weight: 900;
    color: #256d7a;
}

.service-path p,
.repair-list p,
.offer-rows p {
    margin-bottom: 0;
}

.accent-grid,
.appointment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.accent-actions,
.appointment-actions {
    justify-content: flex-end;
    flex: 0 0 auto;
}

.local-extra {
    padding: 24px 0 26px;
    background: #f1f8f9;
    border-top: 1px solid #d6eaed;
}

.local-extra p {
    margin: 0;
    font-size: 14px;
    color: #66858d;
}

.site-footer {
    background: #285866;
    color: #e9f7f9;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    min-height: 82px;
}

.footer-brand {
    font-size: 14px;
    font-weight: 800;
}

.footer-brand span {
    color: #ef8a7c;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #d9eff2;
}

.footer-nav a:last-child {
    opacity: .72;
    font-weight: 600;
}

.repair-hero {
    background: #eef9fa;
}

.repair-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 56px;
    row-gap: 26px;
    padding: 66px 0 54px;
}

.fault-strip {
    display: grid;
    gap: 0;
    border-top: 4px solid #ef735f;
}

.fault-strip span {
    padding: 12px 4px;
    border-bottom: 1px solid #b8dce2;
    font-size: 14px;
    font-weight: 800;
    color: #386a76;
}

.hero-contact {
    grid-column: 1 / -1;
    padding-top: 8px;
}

.symptoms-section .wrap,
.repair-kinds .wrap,
.offer-scope .wrap,
.offer-drive .wrap,
.offer-area .wrap,
.repair-area .wrap {
    max-width: 1040px;
}

.meter-card strong,
.offer-price strong {
    display: block;
    margin: 10px 0 10px;
    font-size: 34px;
    line-height: 1;
    color: #1e6572;
}

.meter-card p,
.offer-price p {
    margin-bottom: 0;
}

.repair-list,
.offer-rows {
    margin-top: 28px;
    border-top: 1px solid #a8cfd6;
}

.repair-list article,
.offer-rows article {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
    padding: 20px 0;
    border-bottom: 1px solid #a8cfd6;
}

.repair-list article:last-child,
.offer-rows article:last-child {
    margin-bottom: 22px;
}

.appointment-section p,
.offer-contact p {
    max-width: 720px;
}

.offer-opening {
    background: #e5f5f7;
}

.offer-opening-grid {
    position: relative;
    z-index: 1;
    padding: 66px 0 58px;
    align-items: center;
}

.offer-price {
    border-left-color: #56aeba;
}

.offer-price span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #557984;
}

@media (max-width: 1024px) {
    .wrap {
        width: min(920px, calc(100% - 40px));
    }

    .header-row {
        flex-wrap: wrap;
        gap: 14px 20px;
        padding: 14px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        padding-top: 12px;
        border-top: 1px solid #c7e3e7;
    }

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

    .intro-shell,
    .repair-detail-grid,
    .visit-flow,
    .offer-opening-grid,
    .split-copy {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .control-panel,
    .repair-note,
    .meter-card,
    .offer-price {
        max-width: 620px;
    }

    .repair-hero-grid {
        grid-template-columns: 1fr 260px;
        column-gap: 36px;
    }

    .accent-grid,
    .appointment-row {
        align-items: flex-start;
    }

    .appliance-line span:nth-child(3) {
        border-right: 0;
    }
}

@media (max-width: 768px) {
    .wrap {
        width: min(100% - 32px, 680px);
    }

    .brand-copy small {
        display: none;
    }

    .header-actions .btn-light {
        display: none;
    }

    .main-nav {
        gap: 18px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .intro-shell,
    .repair-hero-grid,
    .offer-opening-grid {
        padding-top: 48px;
        padding-bottom: 44px;
    }

    .repair-hero-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 46px 0;
    }

    .accent-grid,
    .appointment-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .accent-actions,
    .appointment-actions {
        justify-content: flex-start;
    }

    .repair-list article,
    .offer-rows article {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .appliance-line span {
        flex-basis: 50%;
    }

    .appliance-line span:nth-child(3) {
        border-right: 1px solid #a8cfd6;
    }

    .appliance-line span:nth-child(2n) {
        border-right: 0;
    }

    .footer-row {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 0;
    }
}

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

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    .header-row {
        min-height: 0;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-mark span {
        left: 8px;
        top: 10px;
    }

    .header-actions .btn-phone {
        padding-inline: 11px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .btn {
        width: 100%;
    }

    .header-actions .btn {
        width: auto;
    }

    .intro-shell,
    .repair-hero-grid,
    .offer-opening-grid {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .service-intro::after,
    .offer-opening::after {
        width: 190px;
        height: 190px;
        right: -90px;
        top: -90px;
        border-width: 20px;
    }

    .control-panel,
    .repair-note,
    .meter-card,
    .offer-price {
        padding: 22px;
    }

    .appliance-line span {
        flex-basis: 100%;
        border-right: 0;
    }

    .appliance-line span:nth-child(3) {
        border-right: 0;
    }

    .service-path article {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 12px;
    }

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