:root {
    --navy: #0b1b31;
    --navy-light: #163653;

    --blue: #0e9ed0;
    --blue-dark: #087da8;
    --blue-light: #e9f8fd;

    --orange: #f05a28;

    --text: #132238;
    --muted: #64748b;

    --background: #f4f8fb;
    --surface: #ffffff;
    --border: #dce6ed;

    --success-text: #17633a;
    --success-background: #ecfdf3;
    --success-border: #a7e0c2;

    --error: #c53030;
    --error-background: #fff5f5;
    --error-border: #feb2b2;

    --shadow-small:
        0 10px 30px rgba(15, 42, 70, 0.08);

    --shadow-large:
        0 25px 70px rgba(15, 42, 70, 0.13);
}


/* Ustawienia podstawowe */

* {
    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: var(--text);
    background-color: var(--background);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}


/* Nawigacja */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background-color: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(220, 230, 237, 0.9);

    backdrop-filter: blur(12px);
}

.navigation {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    flex-direction: column;

    text-decoration: none;
    line-height: 1;
}

.brand-main {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--navy);
}

.brand-secondary {
    margin-top: 6px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: var(--blue-dark);
}

.nav-button {
    padding: 10px 20px;

    border-radius: 999px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    color: white;
    background-color: var(--navy);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-1px);
    background-color: var(--navy-light);
}


/* Sekcja główna */

.hero {
    position: relative;
    overflow: hidden;

    padding: 96px 0 88px;

    background:
        radial-gradient(
            circle at 82% 15%,
            rgba(14, 158, 208, 0.16),
            transparent 33%
        ),
        radial-gradient(
            circle at 8% 85%,
            rgba(240, 90, 40, 0.08),
            transparent 26%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #edf8fc 100%
        );
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    margin: 0 0 14px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--blue-dark);
}

.hero h1 {
    max-width: 660px;
    margin: 0;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.045em;

    color: var(--navy);
}

.hero h1 span {
    display: block;
    color: var(--blue-dark);
}

.hero-description {
    max-width: 610px;
    margin: 26px 0 0;

    font-size: 19px;
    color: var(--muted);
}

.hero-actions {
    margin-top: 34px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    min-height: 52px;
    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    text-decoration: none;
    font-weight: 750;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-dark)
        );

    box-shadow:
        0 14px 30px rgba(14, 158, 208, 0.25);
}

.button-primary:hover {
    box-shadow:
        0 18px 35px rgba(14, 158, 208, 0.33);
}

.button-secondary {
    color: var(--navy);

    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
}

.button-secondary:hover {
    background-color: white;
}

.hero-benefits {
    margin: 28px 0 0;
    padding: 0;

    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;

    list-style: none;

    font-size: 14px;
    font-weight: 650;

    color: var(--muted);
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-benefits li::before {
    content: "✓";

    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 12px;
    font-weight: 900;

    color: var(--blue-dark);
    background-color: var(--blue-light);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.logo-card {
    position: relative;
    width: 100%;
    padding: 34px;

    overflow: hidden;

    background-color: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;

    box-shadow: var(--shadow-large);
}

.logo-card::before {
    content: "";

    position: absolute;
    inset: 0 0 auto 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--orange),
            var(--blue),
            #54d5f2
        );
}

.hero-logo {
    width: 100%;
    margin: auto;

    object-fit: contain;
}


/* Jak to działa */

.steps-section {
    padding: 88px 0;

    background-color: var(--surface);
}

.section-heading {
    margin-bottom: 40px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;

    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.035em;

    color: var(--navy);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step-card {
    padding: 30px;

    background-color: #fbfdfe;
    border: 1px solid var(--border);
    border-radius: 18px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-small);
}

.step-number {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-weight: 850;

    color: white;
    background-color: var(--blue-dark);
}

.step-card h3 {
    margin: 22px 0 8px;

    font-size: 20px;
    color: var(--navy);
}

.step-card p {
    margin: 0;
    color: var(--muted);
}


/* Rezerwacja */

.booking-section {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #f2f8fb 0%,
            #e7f5fa 100%
        );
}

.booking-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 70px;
}

.booking-description h2 {
    margin: 0;

    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -0.04em;

    color: var(--navy);
}

.booking-description > p:not(.eyebrow) {
    margin: 22px 0 0;

    font-size: 18px;
    color: var(--muted);
}

.booking-list {
    margin: 30px 0 0;
    padding: 0;

    list-style: none;
}

.booking-list li {
    position: relative;

    padding: 12px 0 12px 35px;

    color: var(--text);
    border-bottom: 1px solid rgba(100, 116, 139, 0.14);
}

.booking-list li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 11px;

    font-weight: 900;
    color: var(--blue-dark);
}

.booking-form {
    padding: 38px;

    background-color: var(--surface);
    border: 1px solid rgba(220, 230, 237, 0.9);
    border-radius: 24px;

    box-shadow: var(--shadow-large);
}

.form-heading {
    margin-bottom: 28px;
}

.form-heading span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--blue-dark);
}

.form-heading h3 {
    margin: 6px 0 0;

    font-size: 27px;
    line-height: 1.2;

    color: var(--navy);
}


/* Komunikaty formularza */

.success-message {
    margin-bottom: 24px;
    padding: 15px 17px;

    border: 1px solid var(--success-border);
    border-radius: 11px;

    color: var(--success-text);
    background-color: var(--success-background);

    font-size: 14px;
    font-weight: 650;
}

.form-error-summary {
    margin-bottom: 24px;
    padding: 15px 17px;

    border: 1px solid var(--error-border);
    border-radius: 11px;

    color: var(--error);
    background-color: var(--error-background);

    font-size: 14px;
    font-weight: 650;
}

.form-error-summary p {
    margin: 0;
}


/* Pola formularza */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 14px;
    font-weight: 750;
    color: var(--text);
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;

    color: var(--text);
    background-color: #f8fbfc;

    border: 1px solid var(--border);
    border-radius: 11px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.form-field input::placeholder {
    color: #94a3b8;
}

.form-field input:focus,
.form-field select:focus {
    background-color: white;
    border-color: var(--blue);

    box-shadow:
        0 0 0 4px rgba(14, 158, 208, 0.13);
}

.field-error {
    margin: 2px 0 0;

    color: var(--error);
    font-size: 13px;
    font-weight: 600;
}


/* Przycisk formularza */

.submit-button {
    width: 100%;
    min-height: 56px;
    margin-top: 26px;

    border: 0;
    border-radius: 12px;

    cursor: pointer;

    font-size: 16px;
    font-weight: 800;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-light)
        );

    box-shadow:
        0 13px 28px rgba(11, 27, 49, 0.2);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.submit-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 34px rgba(11, 27, 49, 0.26);
}

.form-information {
    margin: 16px 0 0;

    text-align: center;
    font-size: 13px;

    color: var(--muted);
}


/* Widoczny focus dla klawiatury */

.submit-button:focus-visible,
.nav-button:focus-visible,
.button:focus-visible,
.footer-content a:focus-visible,
.brand:focus-visible {
    outline: 3px solid rgba(14, 158, 208, 0.35);
    outline-offset: 3px;
}


/* Stopka */

.site-footer {
    padding: 34px 0;

    color: rgba(255, 255, 255, 0.75);
    background-color: var(--navy);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-content strong {
    color: white;
}

.footer-content p {
    margin: 4px 0 0;
    font-size: 14px;
}

.footer-content a {
    text-decoration: none;
    font-weight: 700;
    color: white;
}


/* Tablety */

@media (max-width: 950px) {
    .hero {
        padding: 72px 0;
    }

    .hero-grid,
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1,
    .hero-description {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-benefits {
        justify-content: center;
    }

    .hero-visual {
        max-width: 760px;
        margin-inline: auto;
    }

    .booking-description {
        max-width: 680px;
        text-align: center;
        margin-inline: auto;
    }

    .booking-list {
        text-align: left;
    }
}


/* Telefony */

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .navigation {
        min-height: 66px;
    }

    .brand-main {
        font-size: 17px;
    }

    .nav-button {
        padding: 9px 15px;
        font-size: 13px;
    }

    .hero {
        padding: 58px 0;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-benefits {
        flex-direction: column;
        align-items: center;
    }

    .logo-card {
        padding: 18px;
        border-radius: 20px;
    }

    .steps-section,
    .booking-section {
        padding: 70px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .booking-form {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}
.form-field select:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    background-color: #eef2f5;
}


/* Odświeżony interfejs strony publicznej */

:focus-visible {
    outline: 3px solid rgba(14, 158, 208, 0.35);
    outline-offset: 3px;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-navigation > a:not(.nav-button) {
    position: relative;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
}

.site-navigation > a:not(.nav-button)::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--blue);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.site-navigation > a:not(.nav-button):hover {
    color: var(--navy);
}

.site-navigation > a:not(.nav-button):hover::after {
    transform: scaleX(1);
}

.hero {
    padding: 82px 0 76px;
}

.hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
    gap: clamp(44px, 6vw, 78px);
}

.availability-pill {
    width: fit-content;
    margin-bottom: 20px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--success-text);
    background: rgba(236, 253, 243, 0.85);
    border: 1px solid var(--success-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.availability-pill > span {
    width: 8px;
    height: 8px;
    background: #23a45d;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(35, 164, 93, 0.12);
}

.hero-photo-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1.16;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 30px;
    box-shadow: var(--shadow-large);
}

.hero-photo-card::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            transparent 53%,
            rgba(8, 28, 49, 0.54) 100%
        );
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 57% center;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-photo-card:hover .hero-photo {
    transform: scale(1.025);
}

.hero-photo-card figcaption {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    background: rgba(8, 28, 49, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(12px);
    font-size: 13px;
    line-height: 1.35;
}

.hero-photo-card figcaption strong {
    display: block;
    font-size: 14px;
}

.hero-photo-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: white;
    border-radius: 50%;
    font-weight: 900;
}

.section-heading > p:last-child {
    max-width: 630px;
    margin: 15px auto 0;
    color: var(--muted);
}

.booking-section {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(14, 158, 208, 0.12),
            transparent 26%
        ),
        var(--navy);
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.68fr) minmax(540px, 1.32fr);
    align-items: start;
    gap: clamp(38px, 7vw, 86px);
}

.booking-description {
    position: sticky;
    top: 112px;
}

.booking-description h2 {
    margin-bottom: 18px;
    color: white;
}

.booking-description .eyebrow {
    color: #67dcff;
}

.booking-description > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
}

.booking-description .booking-list li {
    color: rgba(255, 255, 255, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.booking-description .booking-list li::before {
    color: #67dcff;
}

.booking-help-card {
    margin-top: 30px;
    padding: 17px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 15px;
}

.booking-help-card > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: white;
    border-radius: 50%;
    font-weight: 900;
}

.booking-help-card strong {
    color: white;
}

.booking-help-card p {
    margin: 3px 0 0;
    font-size: 13px;
    line-height: 1.55;
}

.booking-form {
    padding: clamp(24px, 4vw, 42px);
    scroll-margin-top: 92px;
}

.form-heading {
    margin-bottom: 22px;
}

.booking-progress {
    position: relative;
    margin: 0 0 34px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
}

.booking-progress::before {
    position: absolute;
    top: 17px;
    right: 16.67%;
    left: 16.67%;
    height: 2px;
    content: "";
    background: var(--border);
}

.booking-progress li {
    position: relative;
    z-index: 1;
}

.booking-progress button {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
}

.booking-progress button > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.booking-progress button.is-active,
.booking-progress button.is-complete {
    color: var(--navy);
}

.booking-progress button.is-active > span,
.booking-progress button.is-complete > span {
    color: white;
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.booking-progress button.is-complete > span {
    background: var(--success-text);
    border-color: var(--success-text);
}

.booking-step + .booking-step {
    margin-top: 34px;
    padding-top: 34px;
    border-top: 1px solid var(--border);
}

.booking-form.is-stepped .booking-step {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.booking-step-heading {
    margin-bottom: 22px;
}

.booking-step-heading > span {
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.booking-step-heading h4 {
    margin: 4px 0 0;
    color: var(--navy);
    font-size: clamp(20px, 3vw, 26px);
    line-height: 1.2;
}

.form-field select {
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Minimalistyczny wybór usług */

.service-composer-minimal {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.service-field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.service-field-label > span,
.service-extras legend em {
    color: #607584;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-primary-field select {
    background-color: white;
}

.service-extras {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.service-extras legend {
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--navy);
}

.service-extras legend > span {
    display: block;
    font-size: 14px;
    font-weight: 750;
}

.service-extras > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 5px;
}

.service-extras > div > div {
    display: contents;
}

.service-extras > div > div > label:first-child {
    display: none;
}

.service-extras > div > div > div + div {
    margin-top: 0;
}

.service-extra-option {
    min-height: 42px;
    padding: 6px 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: color 0.18s ease;
}

.service-extra-option:hover {
    background: transparent;
}

.service-extra-option:focus-within {
    outline: 0;
}

.service-extra-option input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    background: white;
    border: 1.5px solid #9eb0bb;
    border-radius: 5px;
    cursor: pointer;
}

.service-extra-option input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(14, 158, 208, 0.22);
    outline-offset: 2px;
}

.service-extra-option input[type="checkbox"]:checked {
    background-color: var(--blue-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m3.2 8.1 3 3 6.6-6.5'/%3E%3C/svg%3E");
    border-color: var(--blue-dark);
}

.service-extra-option:has(input:checked) {
    background: transparent;
}

.service-extra-option-name {
    min-width: 0;
}

.service-extra-option-name strong {
    display: block;
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.service-extra-option-price {
    color: var(--blue-dark);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.service-selection-summary {
    padding: 14px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #f7fafc;
    border: 1px solid var(--border);
    border-radius: 11px;
}

.service-selection-summary[hidden] {
    display: none;
}

.service-selection-summary-copy {
    min-width: 0;
}

.service-selection-summary span {
    display: block;
    color: #718592;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-selection-summary strong {
    display: block;
    margin-top: 2px;
    color: var(--navy);
    font-size: 13px;
}

.service-selection-summary p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.service-selection-summary-total {
    flex: 0 0 auto;
    text-align: right;
}

.service-selection-summary-total strong {
    color: var(--blue-dark);
    font-size: 16px;
}

.service-selection-summary-total small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
    white-space: nowrap;
}

.invoice-option,
.notification-option {
    margin-top: 4px;
}

.invoice-toggle,
.notification-toggle {
    position: relative;
    min-height: 70px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--navy);
    background: #f7fafc;
    border: 1px solid var(--border);
    border-radius: 13px;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.invoice-toggle:hover,
.notification-toggle:hover {
    background: var(--blue-light);
    border-color: rgba(14, 158, 208, 0.35);
}

.invoice-toggle:focus-within,
.notification-toggle:focus-within {
    outline: 3px solid rgba(14, 158, 208, 0.28);
    outline-offset: 2px;
}

.invoice-toggle input,
.notification-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.invoice-toggle-mark,
.notification-toggle-mark {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    color: transparent;
    background: white;
    border: 2px solid #b9c7d2;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 900;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.invoice-toggle input:checked + .invoice-toggle-mark,
.notification-toggle input:checked + .notification-toggle-mark {
    color: white;
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.invoice-toggle strong,
.invoice-toggle small,
.notification-toggle strong,
.notification-toggle small {
    display: block;
}

.invoice-toggle small,
.notification-toggle small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.invoice-fields {
    min-width: 0;
    margin: 2px 0 0;
    padding: 19px;
    background: #f7fafc;
    border: 1px solid var(--border);
    border-radius: 13px;
}

.invoice-fields[hidden] {
    display: none;
}

.invoice-fields legend {
    padding: 0 7px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 850;
}

.success-sms-note {
    margin: 18px 0 0;
    padding: 14px 16px;
    color: var(--navy);
    background: var(--blue-light);
    border: 1px solid rgba(14, 158, 208, 0.22);
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.55;
}

.success-sms-note strong {
    display: block;
}

.step-tip {
    margin-top: 18px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    background: #f7fafc;
    border-radius: 10px;
    font-size: 12px;
}

.step-tip > span {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--blue-dark);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
}

.step-actions {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.step-actions-end {
    justify-content: flex-end;
}

.step-button {
    min-height: 48px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.step-button-next {
    color: white;
    background: var(--navy);
    border: 1px solid var(--navy);
}

.step-button-next:hover {
    background: var(--navy-light);
}

.step-button-back {
    color: var(--navy);
    background: white;
    border: 1px solid var(--border);
}

.step-button-back:hover {
    background: var(--background);
}

.booking-summary {
    margin-top: 24px;
    padding: 20px;
    color: white;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(14, 158, 208, 0.3),
            transparent 34%
        ),
        var(--navy);
    border-radius: 16px;
}

.booking-summary-heading {
    padding-bottom: 14px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.booking-summary-heading span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.booking-summary-heading strong {
    color: white;
    font-size: 20px;
}

.booking-summary dl {
    margin: 13px 0 0;
}

.booking-summary dl > div {
    padding: 6px 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
}

.booking-summary dt {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.booking-summary dd {
    margin: 0;
    text-align: right;
    font-size: 13px;
    font-weight: 750;
}

.submit-button {
    width: auto;
    min-height: 50px;
    margin: 0;
    padding: 0 21px;
    gap: 9px;
}

.contact-section {
    padding: 100px 0;
    background: #f8fbfd;
}

.contact-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
    gap: 20px;
}

.contact-card,
.map-card {
    min-height: 275px;
    padding: 26px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(15, 42, 70, 0.06);
}

.contact-card-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--blue-dark);
    background: var(--blue-light);
    border-radius: 12px;
    font-size: 20px;
    font-weight: 900;
}

.contact-card h3 {
    margin: 19px 0 13px;
    color: var(--navy);
}

.contact-card p,
.contact-card address {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.contact-link {
    display: block;
    width: fit-content;
    margin: 7px 0;
    color: var(--blue-dark);
    font-weight: 800;
}

.contact-person {
    display: block;
    margin-bottom: 9px;
    color: var(--navy);
    font-size: 16px;
}

.contact-card address {
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.contact-card address span {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.opening-hours {
    margin: 0;
}

.opening-hours > div {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.opening-hours > div:last-child {
    border-bottom: 0;
}

.opening-hours dd {
    margin: 0;
    color: var(--navy);
    font-weight: 800;
}

.map-card {
    position: relative;
    padding: 0;
    color: white;
    background: var(--navy);
}

.map-pattern {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.86;
    background:
        linear-gradient(42deg, transparent 49%, rgba(14, 158, 208, 0.28) 50%, transparent 51%),
        linear-gradient(-18deg, transparent 49%, rgba(255, 255, 255, 0.07) 50%, transparent 51%),
        radial-gradient(circle at 70% 30%, rgba(14, 158, 208, 0.22), transparent 32%);
    background-size: 82px 82px, 110px 110px, auto;
}

.map-road {
    position: absolute;
    height: 10px;
    background: rgba(255, 255, 255, 0.13);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.map-road-one {
    width: 130%;
    top: 30%;
    left: -15%;
    transform: rotate(-8deg);
}

.map-road-two {
    width: 95%;
    top: 55%;
    left: 20%;
    transform: rotate(22deg);
}

.map-road-three {
    width: 75%;
    top: 74%;
    left: -8%;
    transform: rotate(-26deg);
}

.map-pin {
    position: absolute;
    top: 25%;
    left: 63%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: white;
    border: 6px solid rgba(14, 158, 208, 0.35);
    border-radius: 50% 50% 50% 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transform: rotate(-45deg);
    font-size: 10px;
    font-weight: 900;
}

.map-pin::first-line {
    transform: rotate(45deg);
}

.map-card-content {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 16px;
    background: rgba(6, 22, 39, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.map-card-content > span {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.map-card-content strong {
    display: block;
    margin-top: 3px;
}

.map-card-content a {
    display: inline-flex;
    margin-top: 10px;
    align-items: center;
    gap: 7px;
    color: #8fe4ff;
    font-size: 13px;
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.booking-consent {
    position: relative;
    margin-top: 20px;
    padding: 16px 18px 16px 48px;
    background: #f7fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.booking-consent > input {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.booking-consent label {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.booking-consent a,
.legal-document a {
    color: var(--primary-dark);
    font-weight: 800;
}

.booking-consent > p:not(.field-error) {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.legal-main {
    min-height: calc(100vh - 180px);
    padding: clamp(48px, 7vw, 86px) 0;
    background:
        radial-gradient(
            circle at 82% 8%,
            rgba(14, 158, 208, 0.12),
            transparent 28%
        ),
        var(--background);
}

.legal-document {
    max-width: 880px;
    padding: clamp(28px, 5vw, 58px);
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-small);
}

.legal-document h1 {
    margin: 10px 0 16px;
    color: var(--text);
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.05;
}

.legal-lead {
    max-width: 680px;
    margin-bottom: 38px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.legal-document section + section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.legal-document h2 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 21px;
}

.legal-document section p,
.legal-document li {
    color: #435468;
    font-size: 15px;
    line-height: 1.75;
}

.legal-document ul {
    margin: 0;
    padding-left: 22px;
}

.legal-document li + li {
    margin-top: 10px;
}

.legal-version {
    margin: 38px 0 0;
    padding-top: 20px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    font-size: 13px;
}

.success-main {
    min-height: calc(100vh - 180px);
    padding: 72px 0 90px;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(14, 158, 208, 0.14),
            transparent 28%
        ),
        var(--background);
}

.success-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 24px;
}

.success-card,
.success-side-card {
    padding: clamp(28px, 5vw, 54px);
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-small);
}

.success-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--success-text);
    border-radius: 50%;
    box-shadow: 0 0 0 9px var(--success-background);
    font-size: 25px;
    font-weight: 900;
}

.success-card h1 {
    max-width: 680px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.success-lead {
    max-width: 670px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.success-summary {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
}

.success-summary > div {
    padding: 17px 19px;
}

.success-summary > div:nth-child(even) {
    border-left: 1px solid var(--border);
}

.success-summary > div:nth-child(n + 3) {
    border-top: 1px solid var(--border);
}

.success-summary span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.success-summary strong {
    display: block;
    margin-top: 3px;
    color: var(--navy);
}

.success-invoice {
    margin-top: 24px;
    padding: 21px;
    background: var(--blue-light);
    border: 1px solid rgba(14, 158, 208, 0.24);
    border-radius: 15px;
}

.success-invoice > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-invoice > div > span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--blue-dark);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 900;
}

.success-invoice p,
.success-invoice h2 {
    margin: 0;
}

.success-invoice p {
    color: var(--blue-dark);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.success-invoice h2 {
    color: var(--navy);
    font-size: 17px;
}

.success-invoice dl {
    margin: 17px 0 0;
    padding-top: 13px;
    border-top: 1px solid rgba(14, 158, 208, 0.2);
}

.success-invoice dl > div {
    padding: 4px 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
}

.success-invoice dt {
    color: var(--muted);
    font-size: 12px;
}

.success-invoice dd {
    margin: 0;
    color: var(--navy);
    font-size: 13px;
    font-weight: 750;
}

.success-next {
    margin-top: 34px;
}

.success-next h2,
.success-side-card h2 {
    color: var(--navy);
    line-height: 1.25;
}

.success-next ol {
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 11px;
    list-style: none;
}

.success-next li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
}

.success-next li > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    color: var(--blue-dark);
    background: var(--blue-light);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
}

.success-actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.success-side-card {
    position: sticky;
    top: 100px;
    padding: 28px;
    color: rgba(255, 255, 255, 0.74);
    background: var(--navy);
    border-color: var(--navy);
}

.success-side-card h2 {
    margin: 0 0 15px;
    color: white;
}

.success-side-card a {
    display: block;
    margin-top: 10px;
    color: #8fe4ff;
    font-weight: 800;
}

.success-contact-person {
    display: block;
    margin-top: 20px;
    color: white;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-grid,
    .booking-layout,
    .success-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 48px;
    }

    .hero-content {
        max-width: 720px;
    }

    .hero-photo-card {
        max-width: 760px;
        aspect-ratio: 1.55;
    }

    .booking-description,
    .success-side-card {
        position: static;
    }

    .booking-description {
        max-width: 720px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .service-composer-minimal {
        padding: 0;
        gap: 21px;
        border-radius: 0;
    }

    .service-extras > div {
        grid-template-columns: 1fr;
    }

    .service-extras legend > span {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .service-selection-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .service-selection-summary-total {
        text-align: left;
    }

    html {
        scroll-behavior: auto;
    }

    .container {
        width: min(100% - 28px, 1160px);
    }

    .navigation {
        min-height: 68px;
        gap: 14px;
    }

    .site-navigation {
        gap: 10px;
    }

    .site-navigation > a:not(.nav-button) {
        display: none;
    }

    .nav-button {
        min-height: 42px;
        padding: 0 15px;
        display: inline-flex;
        align-items: center;
    }

    .hero {
        padding: 64px 0 58px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-photo-card {
        aspect-ratio: 1.05;
        border-radius: 22px;
    }

    .hero-photo {
        object-position: 60% center;
    }

    .hero-photo-card figcaption {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .booking-section,
    .contact-section {
        padding: 72px 0;
    }

    .booking-form {
        padding: 24px 18px;
    }

    .booking-progress {
        margin-bottom: 28px;
    }

    .booking-progress button {
        font-size: 11px;
    }

    .booking-progress button > span {
        width: 33px;
        height: 33px;
    }

    .booking-progress::before {
        top: 15px;
    }

    .step-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .step-button,
    .submit-button {
        width: 100%;
    }

    .booking-summary dl > div {
        grid-template-columns: 70px 1fr;
    }

    .contact-grid,
    .success-summary {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .map-card {
        min-height: 255px;
    }

    .map-card {
        grid-column: auto;
    }

    .success-main {
        padding: 42px 0 70px;
    }

    .success-summary > div:nth-child(even) {
        border-left: 0;
    }

    .success-summary > div + div {
        border-top: 1px solid var(--border);
    }

    .success-actions {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
.booking-detail-header-actions {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 12px;
}

.booking-edit-button {
    min-height: 42px;
    padding: 0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--navy);
    background-color: white;

    border: 1px solid var(--border);
    border-radius: 9px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
}

.booking-edit-button:hover {
    color: white;
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
}

/*
 * Pole-pułapka na automaty wypełniające formularze. Musi pozostać
 * w drzewie dokumentu, aby program je zobaczył, ale nie może być
 * widoczne ani osiągalne klawiszem Tab dla użytkownika.
 */
.spam-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
