:root {
    --navy: #0a3258;
    --navy-deep: #07243f;
    --blue: #0b4f86;
    --sky: #1480bc;
    --green: #1b6b45;
    --ink: #1c2430;
    --muted: #3d4a5c;
    --line: #c9d5e3;
    --bg: #f3f6f9;
    --surface: #ffffff;
    --focus: #b8860b;
    --error: #8a1f1f;
    --ok: #14532d;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(10, 50, 88, 0.08);
    --max: 1120px;
    --space: clamp(1rem, 3vw, 2rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .hero[data-honor-reduce="0"] .hero__slide {
        transition: opacity var(--hero-duration, 0.8s) ease, transform var(--hero-duration, 0.8s) ease !important;
    }
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    font-size: 1.0625rem;
}

img { max-width: 100%; height: auto; }

a {
    color: var(--blue);
    text-underline-offset: 0.18em;
}

a:hover { color: var(--navy); }

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

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -3.5rem;
    z-index: 1000;
    background: var(--focus);
    color: #111;
    padding: 0.7rem 1rem;
    font-weight: 700;
    min-height: 44px;
}

.skip-link:focus {
    top: 0.75rem;
}

.wrap {
    width: min(var(--max), calc(100% - 2 * var(--space)));
    margin-inline: auto;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-top {
    background: var(--navy);
    color: #fff;
    font-size: 0.95rem;
}

.header-top a { color: #fff; }

.header-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    min-height: 2.5rem;
    padding: 0.4rem 0;
}

.header-top__note,
.header-top__contact {
    display: flex;
    align-items: center;
    margin: 0;
    line-height: 1;
    min-height: 1.5rem;
}

.header-top__note {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-top__contact {
    gap: 1.15rem;
    flex-shrink: 0;
}

.header-top__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

.header-top__link:hover {
    color: #fff;
    text-decoration: underline;
}

.header-top__icon {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    flex-wrap: wrap;
}

.logo { display: inline-flex; min-height: 44px; align-items: center; }
.logo__img {
    display: block;
    height: 52px;
    width: auto;
    max-width: min(220px, 70vw);
    object-fit: contain;
}

.nav-toggle {
    display: none;
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem 0.9rem;
    border: 2px solid var(--navy);
    background: var(--surface);
    color: var(--navy);
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
}

.main-nav ul {
    display: flex;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 0.85rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 650;
    border-radius: 8px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    background: #e8f3fb;
    color: var(--blue);
}

.hero {
    background: linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, #0d5a8c);
    color: #fff;
    padding: clamp(2.5rem, 8vw, 5.5rem) 0;
    position: relative;
    overflow: hidden;
}

.hero--photos {
    min-height: 22rem;
}

.hero__media,
.hero__slides,
.hero__slide,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__media,
.hero__slides {
    overflow: hidden;
    z-index: 0;
}

.hero__slide {
    margin: 0;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity var(--hero-duration, 0.8s) ease, transform var(--hero-duration, 0.8s) ease;
}

.hero__slide.is-active {
    opacity: 1;
    z-index: 2;
}

.hero__slide.is-outgoing {
    z-index: 1;
}

.hero[data-effect="slide"] .hero__slide {
    opacity: 1;
    transform: translateX(100%);
}

.hero[data-effect="slide"] .hero__slide.is-active {
    transform: translateX(0);
}

.hero[data-effect="slide"] .hero__slide.is-outgoing {
    transform: translateX(-100%);
}

.hero[data-effect="slide"] .hero__slide.is-back {
    transform: translateX(-100%);
}

.hero[data-effect="slide"] .hero__slide.is-back.is-active {
    transform: translateX(0);
}

.hero[data-effect="slide"] .hero__slide.is-back.is-outgoing {
    transform: translateX(100%);
}

.hero__overlay {
    z-index: 3;
    background: linear-gradient(160deg, rgba(7, 36, 63, var(--hero-overlay, 0.7)), rgba(10, 50, 88, var(--hero-overlay, 0.7)) 55%, rgba(13, 90, 140, var(--hero-overlay, 0.66)));
}

.hero__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 2.75rem;
    height: 5.5rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
}

.hero__arrow--prev { left: 0.1rem; }
.hero__arrow--next { right: 0.1rem; }

.hero__arrow svg {
    display: block;
    width: 1.15rem;
    height: 2.4rem;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

.hero__arrow:hover,
.hero__arrow:focus-visible {
    color: rgba(255, 255, 255, 0.92);
}

.hero__arrow:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .hero__arrow {
        width: 2.4rem;
        height: 4.4rem;
        color: rgba(255, 255, 255, 0.35);
    }
    .hero__arrow svg {
        width: 0.95rem;
        height: 2rem;
    }
}

.hero__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
    margin-top: 0.65rem;
}

.hero__dot {
    width: 44px;
    height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.hero__dot::after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #fff;
}

.hero__dot[aria-current="true"]::after {
    background: #fff;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.15;
    margin: 0 0 0.8rem;
    max-width: 18ch;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
    color: #d7ecf8;
}

.lead { font-size: 1.15rem; max-width: 60ch; }

.hero .lead { color: #eaf4fb; }

.hero__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn--primary {
    background: #f0c14b;
    color: #1a1404;
    border-color: #f0c14b;
}

.btn--primary:hover { background: #ffd978; color: #1a1404; }

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.section { padding: clamp(2rem, 6vw, 4rem) 0; }
.section--alt { background: var(--bg); }

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    flex-wrap: wrap;
}

h1, h2, h3 { line-height: 1.2; color: var(--navy); }
.hero h1, .hero h2 { color: #fff; }
.panel h2 { color: #fff; }

.page--gmina .panel {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}

.page--gmina .panel h2 {
    margin-top: 0;
    margin-bottom: 0.9rem;
    padding: 0 1.25rem 0.75rem;
    border-bottom: 1px solid #fff;
}

.page--gmina .panel > :not(h2) {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.card-grid,
.team-grid {
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.card-grid > li,
.team-grid > li {
    display: flex;
}

.card, .person, .job, .panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1.25rem;
    box-shadow: var(--shadow);
}

.card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}

.card p {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.card h2, .card h3 { margin-top: 0; }

.card--service,
.card--person {
    padding: 0;
    overflow: hidden;
}

.card--service .card__head,
.card--person .card__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    padding: 0.7rem 1.05rem;
    min-height: 6.25rem;
    height: 6.25rem;
    box-sizing: border-box;
    flex: none;
}

.card--person .card__head {
    height: auto;
}

.card--person .card__head .person__role {
    flex: none;
    font-weight: 700;
    font-size: 1rem;
}

.card--service .card-icon-wrap,
.card--person .card-icon-wrap {
    position: absolute;
    left: 1.05rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.15rem;
    height: 2.15rem;
    margin: 0;
    color: #fff;
    flex: none;
}

.card--service h2,
.card--service h3,
.card--person .person__role {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.25;
    width: 100%;
    text-align: center;
    padding: 0 2.6rem;
    box-sizing: border-box;
}

.card--service h2 a,
.card--service h3 a {
    color: #fff;
    text-decoration: none;
}

.card--service h2 a:hover,
.card--service h3 a:hover {
    color: #fff;
    text-decoration: underline;
}

.card--service p {
    padding: 1rem 1.15rem 1.15rem;
    margin: 0;
}

.card--person .card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1rem 1.15rem 1.15rem;
    gap: 0.2rem;
}

.card--person .card__body p {
    padding: 0;
    margin: 0;
    flex: none;
}

.card--person h3 {
    flex: none;
    margin: 0;
    padding-bottom: 0.7rem;
    color: var(--navy);
    font-size: 1.05rem;
    line-height: 1.3;
}

.card--person .card__body > p:first-of-type {
    margin-top: auto;
}

.card--person .card__body--compact > p:first-of-type {
    margin-top: 0;
}

.card--person .card__body a {
    overflow-wrap: anywhere;
}

.card--gmina {
    align-items: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
    gap: 0.35rem;
}

.card--gmina__logo {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 6.4rem;
    margin: 0;
    padding: 1.1rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-sizing: border-box;
    flex: none;
}

.card--gmina__logo img {
    display: block;
    max-width: 8.4rem;
    max-height: 5.6rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

.card--gmina h2 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 0;
    padding: 1.1rem 1.25rem 0.45rem;
}

.card--gmina h2 a {
    color: var(--navy);
    text-decoration: none;
}

.card--gmina h2 a:hover,
.card--gmina h2 a:focus-visible {
    color: var(--blue);
}

.card--gmina__name {
    display: block;
}

.card--gmina p {
    text-align: center;
    padding: 0 1.25rem 1.15rem;
}

.card--gmina__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: auto;
    padding: 0.9rem 1.25rem;
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-sizing: border-box;
    flex: none;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background-color 0.32s ease, color 0.32s ease, border-color 0.32s ease;
}

.card--gmina__more:hover,
.card--gmina__more:focus-visible {
    background: var(--navy);
    color: #fff;
    border-top-color: var(--navy);
}

.card--gmina__more-arrow {
    display: block;
    width: 0.85rem;
    height: 0.85rem;
    flex: none;
    transform: translateX(0);
    transition: transform 0.18s ease;
}

.card--gmina__more-arrow path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card--gmina__more:hover .card--gmina__more-arrow,
.card--gmina__more:focus-visible .card--gmina__more-arrow {
    transform: translateX(0.18rem);
}

@media (prefers-reduced-motion: reduce) {
    .card--gmina__more:hover .card--gmina__more-arrow,
    .card--gmina__more:focus-visible .card--gmina__more-arrow {
        transform: none;
    }
}

.team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.card-icon-wrap {
    display: block;
    width: 1.95rem;
    height: 1.95rem;
    margin: 0 0 0.75rem;
    flex: none;
    color: #6a849c;
}

.card-icon {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    list-style: none;
    padding: 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.pill:hover { background: var(--blue); color: #fff; }

.gmina-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    align-items: stretch;
}
.gmina-logos > li {
    display: flex;
}
.gmina-logo {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 44px;
    width: 100%;
    padding: 1.25rem 1.1rem 1.15rem;
    text-decoration: none;
    color: var(--navy);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.gmina-logo:hover,
.gmina-logo:focus-visible {
    color: var(--navy);
    border-color: var(--navy);
}
.gmina-logo__art {
    display: grid;
    place-items: center;
    width: 100%;
    height: 5.6rem;
    overflow: visible;
}
.gmina-logo__art img {
    display: block;
    max-width: 8.4rem;
    max-height: 5.6rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    transform: scale(1);
    transform-origin: center center;
    transition: filter 0.22s ease, transform 0.22s ease;
}
.gmina-logo:hover .gmina-logo__art img,
.gmina-logo:focus-visible .gmina-logo__art img {
    filter: none;
    transform: scale(1.14);
}
@media (prefers-reduced-motion: reduce) {
    .gmina-logo:hover .gmina-logo__art img,
    .gmina-logo:focus-visible .gmina-logo__art img {
        transform: none;
    }
}
.gmina-logo__name {
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
    line-height: 1.25;
}
.gmina-logo--name {
    min-height: 6.4rem;
    justify-content: center;
}

.split {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
}

.gmina-aside {
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

.panel {
    background: var(--navy);
    color: #fff;
}

.panel a { color: #fff; }

.panel__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    line-height: 1.25;
}

.panel__contact:hover {
    text-decoration: underline;
}

.panel__icon {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-hero {
    background: var(--bg);
    padding: 2rem 0 1.4rem;
    border-bottom: 1px solid var(--line);
}

.gmina-page__intro {
    display: flex;
    gap: 1.4rem 1.6rem;
    align-items: center;
    flex-wrap: wrap;
}
.gmina-page__logo {
    display: block;
    max-width: 8.4rem;
    max-height: 5.6rem;
    width: auto;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}
.gmina-page__intro > div {
    flex: 1 1 16rem;
    min-width: 0;
}
.gmina-page__intro h1 { margin: 0; }
.gmina-page__intro .lead { margin: 0.55rem 0 0; }

.pdf-file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.15rem;
    margin: 1.25rem 0 0;
    padding: 1.05rem 1.15rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--navy);
    box-shadow: var(--shadow);
    transition: background-color 0.32s ease, color 0.32s ease, border-color 0.32s ease;
}
.pdf-files {
    display: grid;
    gap: 0.85rem;
    margin: 1.25rem 0 0;
}
.pdf-files .pdf-file {
    margin: 0;
}
.pdf-file:hover,
.pdf-file:focus-visible {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}
.pdf-file__mark {
    display: block;
    width: 3.15rem;
    height: 3.7rem;
    flex: none;
}
.pdf-file__mark img {
    display: block;
    width: 3.15rem;
    height: 3.7rem;
}
.pdf-file__body {
    display: grid;
    gap: 0.18rem;
    min-width: 12rem;
    flex: 1 1 14rem;
}
.pdf-file__body strong {
    font-size: 1.05rem;
    line-height: 1.3;
}
.pdf-file__name,
.pdf-file__date {
    color: var(--muted);
    font-size: 0.95rem;
}
.pdf-file:hover .pdf-file__name,
.pdf-file:hover .pdf-file__date,
.pdf-file:focus-visible .pdf-file__name,
.pdf-file:focus-visible .pdf-file__date {
    color: rgba(255, 255, 255, 0.82);
}
.pdf-file__action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    flex: none;
}
.pdf-file__action svg {
    width: 0.85rem;
    height: 0.85rem;
    display: block;
}
.pdf-file__action path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-files {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.8rem auto 0;
}
.page-file {
    display: flex;
    flex-direction: column;
    flex: 0 1 19.5rem;
    width: 100%;
    max-width: 21rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--navy);
    text-decoration: none;
}
.page-file__image {
    display: block;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.page-file__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 36rem;
    object-fit: contain;
    object-position: top center;
    filter: none;
    background: #fff;
}
.page-file__meta {
    display: grid;
    gap: 0.28rem;
    padding: 0.85rem 1rem 1rem;
    min-height: 4.2rem;
}
.page-file__meta strong {
    font-size: 1.02rem;
    line-height: 1.3;
}
.page-file__name {
    color: var(--muted);
    font-size: 0.92rem;
}
.page-file__action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.2rem;
    font-weight: 700;
}
.page-file__action svg {
    width: 0.85rem;
    height: 0.85rem;
    display: block;
}
.page-file__action path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.page-file--link {
    transition: background-color 0.32s ease, color 0.32s ease, border-color 0.32s ease;
}
.page-file--link:hover,
.page-file--link:focus-visible {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}
.page-file--link:hover .page-file__image,
.page-file--link:focus-visible .page-file__image {
    border-bottom-color: var(--navy);
}
.page-file--link:hover .page-file__name,
.page-file--link:focus-visible .page-file__name {
    color: rgba(255, 255, 255, 0.82);
}

.page--gmina .page-hero,
.page--article .page-hero,
.page--contact .page-hero {
    padding-bottom: 2.4rem;
}
.page--gmina > .split,
.page--article > .wrap,
.page--contact > .wrap,
.page--jobs > .wrap {
    padding-top: 2.8rem;
    padding-bottom: 3rem;
}

.prose { max-width: 75ch; }
.prose--wide { max-width: none; }
.prose :where(h2, h3) { margin-top: 1.6rem; }
.prose table {
    width: 100%;
    border-collapse: collapse;
}
.prose th, .prose td {
    border: 1px solid var(--line);
    padding: 0.55rem 0.7rem;
    text-align: left;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.4rem;
    color: var(--muted);
}

.form p { margin: 0 0 1rem; }
.form label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.form input,
.form textarea,
.form select {
    width: 100%;
    min-height: 48px;
    border: 2px solid #7d8b9c;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font: inherit;
    background: #fff;
    color: var(--ink);
}

.form textarea { min-height: 8rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hint {
    display: block;
    font-weight: 400;
    color: var(--muted);
    margin-top: 0.35rem;
}

.form-section {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.1rem 1.2rem 0.4rem;
    margin: 0 0 1.2rem;
}

.form-section--note {
    background: var(--navy);
    border-color: var(--navy);
    padding: 1rem 1.2rem;
    text-align: center;
}

.form-section--note p {
    margin: 0;
    font-weight: 700;
    color: #fff;
}

.form-section legend {
    font-weight: 800;
    padding: 0 0.4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.form-grid[hidden],
[hidden] {
    display: none !important;
}

.form-grid__full,
.form-grid__wide { grid-column: 1 / -1; }

.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.2rem;
    margin: 0 0 1rem;
}

.choice {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
}

.choice input { width: 1.15rem; height: 1.15rem; min-height: 0; }

.form input[type="checkbox"],
.form input[type="radio"] {
    width: 1.15rem;
    min-height: 0;
}

.note-box {
    background: #f4f7fb;
    border-left: 4px solid var(--navy);
    padding: 0.8rem 1rem;
    margin: 0 0 1rem;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.4rem 0 1rem;
}

.order-table th,
.order-table td {
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding: 0.65rem 0.4rem;
    vertical-align: middle;
}

.order-qty {
    max-width: 6rem;
    min-height: 44px;
}

.order-product {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.order-product img {
    width: 3.4rem;
    height: 2.5rem;
    object-fit: contain;
    flex: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.15rem;
}
.order-product__zoom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    border-radius: 6px;
    flex: none;
}
.order-product__zoom img { pointer-events: none; }
.order-product__zoom:hover img,
.order-product__zoom:focus-visible img {
    border-color: var(--navy);
}
.gallery-dialog {
    width: min(960px, calc(100% - 1.5rem));
    max-height: min(94vh, 52rem);
    overflow: auto;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
}
.gallery-dialog::backdrop { background: rgba(7, 24, 40, .72); }
.gallery-dialog__bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.1rem .4rem;
}
.gallery-dialog__bar h2 { margin: 0; font-size: 1.2rem; }
.gallery-dialog__bar .hint { margin: .25rem 0 0; }
.gallery-dialog__close {
    width: 44px;
    height: 44px;
    flex: none;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.gallery-dialog__stage {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: .5rem;
    align-items: center;
    padding: .4rem .8rem 0;
}
.gallery-dialog__figure {
    margin: 0;
    display: grid;
    place-items: center;
    min-height: 12rem;
    background: var(--bg);
    border-radius: 12px;
    padding: .6rem;
}
.gallery-dialog__figure img {
    max-width: 100%;
    max-height: min(62vh, 28rem);
    width: auto;
    height: auto;
    object-fit: contain;
}
.gallery-nav {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid var(--navy);
    background: #fff;
    color: var(--navy);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}
.gallery-nav svg { width: 22px; height: 22px; }
.gallery-nav:disabled { opacity: .35; cursor: default; }
.gallery-nav:focus-visible,
.gallery-dialog__close:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}
.gallery-dialog__count {
    margin: 0;
    padding: .6rem 1.1rem 1rem;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}
@media (max-width: 700px) {
    .gallery-dialog__stage { grid-template-columns: 1fr; }
    .gallery-nav { justify-self: center; }
}

.order-total {
    font-size: 1.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    align-items: baseline;
}

.order-total strong { font-size: 1.35rem; }

@media (max-width: 860px) {
    .form-grid { grid-template-columns: 1fr; }
}

.check {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.check input {
    width: 1.25rem;
    height: 1.25rem;
    min-height: 24px;
    margin-top: 0.3rem;
    flex: none;
}

.req { font-weight: 500; color: var(--muted); }
.field-error, .flash--err { color: var(--error); }
.flash {
    padding: 0.9rem 1rem;
    border-radius: 8px;
    border: 2px solid currentColor;
    margin-bottom: 1rem;
}
.flash--ok { color: var(--ok); background: #ecf8f0; }
.flash--err { background: #fdecec; }

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.turnstile-box { margin: 1rem 0 1.25rem; }

.site-footer {
    background: var(--navy-deep);
    color: #e8eef5;
    padding: 2.5rem 0 1.2rem;
    margin-top: 2rem;
}

.site-footer h2 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 0.7rem;
}

.site-footer p.footer-company-name {
    margin-bottom: 0;
}

.site-footer p.footer-nip {
    margin-top: 0;
}

.site-footer p.footer-company-next {
    margin-top: 1.15rem;
}

.site-footer a,
.site-footer .footer-cookie {
    color: var(--footer-link, #fff);
    text-underline-offset: 0.18em;
    transition: color 0.15s ease;
}

.site-footer[data-footer-underline="always"] a,
.site-footer[data-footer-underline="always"] .footer-cookie {
    text-decoration: underline;
}

.site-footer[data-footer-underline="hover"] a,
.site-footer[data-footer-underline="hover"] .footer-cookie {
    text-decoration: none;
}

.site-footer[data-footer-underline="never"] a,
.site-footer[data-footer-underline="never"] .footer-cookie,
.site-footer[data-footer-underline="never"] a:hover,
.site-footer[data-footer-underline="never"] a:focus-visible,
.site-footer[data-footer-underline="never"] .footer-cookie:hover,
.site-footer[data-footer-underline="never"] .footer-cookie:focus-visible {
    text-decoration: none;
}

.site-footer[data-footer-underline="hover"] a:hover,
.site-footer[data-footer-underline="hover"] a:focus-visible,
.site-footer[data-footer-underline="hover"] .footer-cookie:hover,
.site-footer[data-footer-underline="hover"] .footer-cookie:focus-visible {
    text-decoration: underline;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer .footer-cookie:hover,
.site-footer .footer-cookie:focus-visible {
    color: var(--footer-link-hover, #fff);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--footer-gap, 1.4rem);
}

.footer-grid__col--left { text-align: left; }
.footer-grid__col--center { text-align: center; }
.footer-grid__col--right { text-align: right; }

.site-footer a.footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-contact__icon {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0.35rem 0; }
.footer-cookie {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    min-height: 44px;
}

.cookie-banner {
    position: fixed;
    z-index: 900;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: 72rem;
    margin: 0 auto;
    background: var(--navy);
    color: #e8eef5;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(7, 24, 40, .35);
    padding: 1.1rem 1.2rem 1.2rem;
}
.cookie-banner a { color: #f0c14b; }
.cookie-banner h2 {
    margin: 0 0 .4rem;
    color: #fff;
    font-size: 1.2rem;
}
.cookie-banner p { margin: 0; }
.cookie-banner__inner {
    display: grid;
    gap: 1rem;
    align-items: center;
}
.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.cookie-btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
}
.cookie-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.cookie-btn--navy {
    background: #fff;
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 999px;
}
.cookie-dialog {
    width: min(720px, calc(100% - 1.5rem));
    max-height: min(90vh, 52rem);
    padding: 0;
    border: 0;
    border-radius: 16px;
    color: var(--ink);
}
.cookie-dialog::backdrop { background: rgba(7, 24, 40, .62); }
.cookie-dialog__panel { padding: 1.2rem 1.3rem 1.4rem; }
.cookie-dialog__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .8rem;
}
.cookie-dialog__head h2 { margin: 0; }
.cookie-dialog__close {
    width: 44px;
    height: 44px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.cookie-cat {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
}
.cookie-cat h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.cookie-cat p { margin: 0; }
.cookie-cat__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}
.cookie-cat__note { margin: .7rem 0 0; color: var(--muted); font-size: .95rem; }
.cookie-switch {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
    white-space: nowrap;
}
.cookie-switch input { width: 1.2rem; height: 1.2rem; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: .8rem; }
.cookie-table th, .cookie-table td {
    text-align: left;
    vertical-align: top;
    padding: .45rem .4rem;
    border-bottom: 1px solid var(--line);
}
.cookie-table--page { margin: 1rem 0; }
.table-wrap { overflow-x: auto; }
.cookie-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}
.cookie-reopen {
    position: fixed;
    z-index: 850;
    left: 0;
    bottom: 1.25rem;
    min-height: 44px;
    padding: .55rem 1rem .55rem .85rem;
    border: 2px solid var(--navy);
    border-left: 0;
    border-radius: 0 999px 999px 0;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 4px 6px 20px rgba(7, 24, 40, .14);
    transform: translateX(calc(-100% + 16px));
    transition: transform .22s ease;
}
.cookie-reopen:hover,
.cookie-reopen:focus-visible {
    transform: translateX(0);
}
.to-top {
    position: fixed;
    z-index: 840;
    right: 1rem;
    bottom: 1.25rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 2px solid var(--navy);
    background: #fff;
    color: var(--navy);
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(7, 24, 40, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-on {
    opacity: .72;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.to-top:hover,
.to-top:focus-visible {
    opacity: 1;
    color: var(--navy);
}
.cookie-policy { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

.contact-places {
    display: grid;
    gap: 1.25rem;
    align-content: start;
}
.contact-place {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.contact-place__map {
    position: relative;
    height: 15.5rem;
    background: #e8eef4;
    overflow: hidden;
}
.contact-place__map-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}
.contact-place__map-live,
.contact-place__map .leaflet-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    font-family: inherit;
    background: transparent;
}
.contact-place__map .leaflet-container img.leaflet-tile {
    max-width: none !important;
    max-height: none !important;
    width: 256px !important;
    height: 256px !important;
    mix-blend-mode: normal !important;
}
.contact-place__map .leaflet-control-attribution,
.contact-place__map .leaflet-attribution-flag {
    display: none !important;
}
.contact-place__map-copy {
    position: absolute;
    right: 0.4rem;
    bottom: 0.35rem;
    z-index: 5;
    margin: 0;
    font-size: 0.62rem;
    line-height: 1;
    color: #5a6b7d;
    text-shadow: 0 0 3px #fff, 0 0 6px #fff;
    pointer-events: auto;
}
.contact-place__map-copy a {
    color: inherit;
    text-decoration: none;
}
.contact-place__map-copy a:hover,
.contact-place__map-copy a:focus {
    text-decoration: underline;
}
.contact-place__map-tools {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 6;
    max-width: calc(100% - 3.4rem);
}
.contact-place__layers {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.contact-place__layers button {
    margin: 0;
    border: 0;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.42rem 0.62rem;
    cursor: pointer;
}
.contact-place__layers button + button {
    border-left: 1px solid var(--line);
}
.contact-place__layers button.is-active {
    background: var(--navy);
    color: #fff;
}
.contact-place__layers button:focus-visible {
    outline: 2px solid var(--gold, #f0c14b);
    outline-offset: -2px;
}
.contact-place__bigmap {
    display: inline-flex;
    align-items: center;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.42rem 0.62rem;
    text-decoration: none;
    white-space: nowrap;
}
.contact-place__bigmap:hover,
.contact-place__bigmap:focus {
    background: var(--bg);
    color: var(--navy);
}
.contact-place__map.is-sat .contact-place__map-copy {
    color: #f4f7fa;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.85);
}
.contact-place__map .leaflet-bar {
    border: 1px solid var(--line);
    box-shadow: none;
    overflow: hidden;
    border-radius: 8px;
}
.contact-place__map .leaflet-bar a {
    color: var(--navy);
    background: #fff;
    border-bottom-color: var(--line);
    width: 30px;
    height: 30px;
    line-height: 30px;
}
.contact-place__map .leaflet-bar a:hover,
.contact-place__map .leaflet-bar a:focus {
    background: var(--bg);
    color: var(--navy);
}
.contact-place__pin {
    position: absolute;
    left: calc(50% - 15px);
    top: calc(50% - 36px);
    z-index: 4;
    width: 30px;
    height: 38px;
    max-width: none;
    pointer-events: none;
    display: block;
}
.contact-pin {
    display: none !important;
}
.contact-place__body {
    padding: 1.05rem 1.2rem 1.2rem;
}
.contact-place__body h2 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}
.contact-place__body p {
    margin: 0.35rem 0 0;
}
.contact-place__route {
    margin-top: 0.95rem !important;
}
.contact-place__route .btn {
    gap: 0.35rem;
}
.contact-place__route-icon {
    width: 0.85rem;
    height: 0.85rem;
    display: block;
}
.contact-place__route-icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (min-width: 860px) {
    .cookie-banner__inner { grid-template-columns: 1fr auto; }
}
.footer-copy { border-top: 1px solid rgba(255,255,255,.2); margin-top: 1.5rem; padding-top: 1rem; font-size: 0.95rem; }

.text-link { font-weight: 700; }

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
    .main-nav {
        display: none;
        width: 100%;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; }
    .main-nav a { width: 100%; }
    .split { grid-template-columns: 1fr; }
    .header-top__note { display: none; }
    .header-top__inner { justify-content: flex-end; }
}

@media (prefers-contrast: more) {
    .btn--primary { background: #fff; color: #000; border-color: #000; }
    .main-nav a[aria-current="page"] { outline: 2px solid #000; }
}
