:root {
    --pd-yellow: #fdc300;
    --pd-red: #e63312;
    --pd-black: #000000;
    --pd-green: #008316;
    --pd-orange: #ff6a00;
    --pd-graphite: #303030;
    --pd-grey: #979797;
    --pd-light: #f7f4ec;
    --pd-cream: #fff8dc;
    --pd-border: rgba(0, 0, 0, 0.12);
    --pd-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    color: #111;
    background: #fffef9;
}

.site-wrap,
.container,
.container-fluid,
.pd-section,
.pd-subhero,
.pd-hero-cover,
.pd-map-layout,
.pd-detail-grid,
.pd-feature-grid,
.pd-form-grid,
.pd-directory-grid,
.pd-grid-2,
.pd-grid-3,
.pd-grid-4,
.pd-map-frame,
.pd-map-aside,
.leaflet-map,
.site-footer,
.site-footer .container,
.site-footer .row {
    max-width: 100%;
}

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

.flash {
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    font-weight: 700;
}

.flash.success {
    background: rgba(0, 131, 22, 0.12);
    color: #0b5c16;
}

.flash.error {
    background: rgba(230, 51, 18, 0.12);
    color: #9f220b;
}

.flash.info {
    background: rgba(253, 195, 0, 0.18);
    color: #6e5300;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.pd-header-cta {
    background: var(--pd-yellow);
    color: #000 !important;
    border-radius: 999px;
    padding: 0.7rem 1.3rem !important;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(253, 195, 0, 0.3);
}

.pd-hero-cover,
.pd-subhero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    padding-top: 180px;
    padding-bottom: 110px;
    background-position: center center;
    background-size: cover;
}

.pd-subhero {
    min-height: 520px;
    padding-top: 170px;
    padding-bottom: 90px;
}

.pd-hero-cover::before,
.pd-subhero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(118deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(230, 51, 18, 0.15) 100%);
}

.pd-hero-cover .container,
.pd-subhero .container {
    position: relative;
    z-index: 1;
}

.pd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 2rem;
    align-items: end;
}

.pd-hero-copy h1,
.pd-subhero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 1.02;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.pd-hero-copy p,
.pd-subhero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 720px;
}

.pd-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
}

.pd-actions,
.pd-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.pd-btn-primary,
.pd-btn-secondary,
.pd-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 54px;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.pd-btn-primary {
    background: var(--pd-yellow);
    color: #000 !important;
    box-shadow: 0 18px 32px rgba(253, 195, 0, 0.24);
}

.pd-btn-secondary {
    background: var(--pd-red);
    color: #fff !important;
    box-shadow: 0 18px 32px rgba(230, 51, 18, 0.2);
}

.pd-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
}

.pd-btn-primary:hover,
.pd-btn-secondary:hover,
.pd-btn-ghost:hover {
    transform: translateY(-1px);
}

.pd-hero-card,
.pd-surface,
.pd-card,
.pd-form-shell,
.pd-map-aside,
.pd-info-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: var(--pd-shadow);
}

.pd-hero-card {
    padding: 1.8rem;
    align-self: stretch;
}

.pd-hero-card--dark {
    background: rgba(20, 20, 20, 0.92);
    color: #fff;
}

.pd-hero-card--yellow {
    background: linear-gradient(135deg, #fdc300, #ffdb4d);
    color: #000;
}

.pd-hero-card h3,
.pd-card h3,
.pd-surface h3,
.pd-form-shell h3,
.pd-info-card h3 {
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.pd-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.pd-stat {
    padding: 1.1rem 1rem;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.06);
}

.pd-stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.pd-stat span {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.pd-section {
    padding: 5.5rem 0;
}

.pd-section--light {
    background: var(--pd-light);
}

.pd-section--yellow {
    background: linear-gradient(180deg, rgba(253, 195, 0, 0.12), rgba(253, 195, 0, 0.04));
}

.pd-heading {
    margin-bottom: 2rem;
}

.pd-heading small {
    display: inline-block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: var(--pd-red);
    font-weight: 700;
}

.pd-heading h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    text-transform: uppercase;
}

.pd-heading p {
    max-width: 760px;
    color: #4d4d4d;
    line-height: 1.8;
}

.pd-search-card,
.pd-card,
.pd-form-shell,
.pd-surface,
.pd-map-aside,
.pd-info-card {
    padding: 1.8rem;
}

.pd-search-form .form-control,
.pd-filter-grid .form-control,
.pd-form-shell input,
.pd-form-shell textarea,
.pd-form-shell select {
    min-height: 52px;
    border-radius: 18px;
    border: 1px solid var(--pd-border);
    box-shadow: none;
}

.pd-form-shell textarea {
    min-height: 140px;
    resize: vertical;
}

.pd-search-form .btn,
.pd-inline-form .btn {
    border-radius: 999px;
    min-height: 52px;
    font-weight: 700;
}

.pd-search-form .btn {
    background: var(--pd-yellow);
    border-color: var(--pd-yellow);
    color: #000;
}

.pd-card {
    height: 100%;
}

.pd-card--story .pd-card__media,
.pd-card--news .pd-card__media,
.pd-card--vacancy .pd-card__media {
    height: 220px;
    border-radius: 24px;
    background: #f4f4f4 center center / cover no-repeat;
    margin-bottom: 1.1rem;
}

.pd-role-grid,
.pd-process-grid {
    display: grid;
    gap: 1.25rem;
}

.pd-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pd-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pd-role-card,
.pd-process-card {
    display: block;
    padding: 1.5rem;
    border-radius: 24px;
    background: #fff;
    color: inherit;
    box-shadow: var(--pd-shadow);
    text-decoration: none !important;
}

.pd-role-card h3,
.pd-process-card h3 {
    margin: 1rem 0 0.75rem;
}

.pd-process-card strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--pd-yellow);
    color: #000;
    font-size: 1rem;
}

.pd-list-stack {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.pd-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--pd-border);
    border-radius: 20px;
    color: inherit;
    text-decoration: none !important;
    background: #fff;
}

.pd-list-item strong,
.pd-vacancy-row h3 {
    display: block;
    margin-bottom: 0.35rem;
}

.pd-list-item span {
    color: #616161;
}

.pd-vacancy-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-vacancy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 1.6rem;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--pd-shadow);
}

.pd-vacancy-row__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    min-width: 220px;
}

.pd-vacancy-row__salary {
    padding: 0.75rem 1rem;
    border-radius: 16px;
    background: rgba(253, 195, 0, 0.18);
    font-weight: 700;
    color: #000;
}

.pd-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.pd-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 46px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid var(--pd-border);
    background: #fff;
    color: #111;
    font-weight: 700;
    text-decoration: none !important;
}

.pd-pagination__link.is-active {
    background: var(--pd-yellow);
    border-color: var(--pd-yellow);
    color: #000;
}

.pd-card--perk,
.pd-card--reason {
    min-height: 100%;
}

.pd-grid-2--calculator,
.pd-grid-2--split {
    align-items: stretch;
}

.pd-card--dark-copy {
    background: linear-gradient(145deg, #151515, #2d2d2d);
    color: #fff;
}

.pd-card--dark-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.pd-calculator {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pd-calculator__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pd-calculator label {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0;
}

.pd-calculator label span {
    font-weight: 600;
}

.pd-calculator input[type="range"] {
    width: 100%;
}

.pd-calculator__result {
    padding: 1.35rem 1.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(253, 195, 0, 0.18), rgba(255, 214, 77, 0.32));
}

.pd-calculator__result span,
.pd-calculator__result small {
    display: block;
}

.pd-calculator__result strong {
    display: block;
    margin: 0.4rem 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.pd-stat-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.pd-stat-wall__item {
    padding: 1.4rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--pd-shadow);
}

.pd-stat-wall__item strong {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    margin-bottom: 0.55rem;
}

.pd-faq {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.pd-faq__item {
    padding: 1.2rem 1.4rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--pd-shadow);
}

.pd-faq__item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
}

.pd-faq__item summary::-webkit-details-marker {
    display: none;
}

.pd-faq__item p {
    margin: 0.8rem 0 0;
    color: #525252;
    line-height: 1.7;
}

.leaflet-map--tall {
    min-height: 720px;
}

.pd-map-layout--eva {
    align-items: stretch;
}

.pd-map-aside--cities {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-map-aside__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.pd-map-aside__head small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pd-red);
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.pd-info-card--compact {
    padding: 1.25rem;
}

.pd-map-list--compact .pd-map-city {
    border: 1px solid var(--pd-border);
    text-decoration: none !important;
}

.pd-map-list--compact .pd-map-city.is-active {
    border-color: var(--pd-yellow);
    box-shadow: 0 16px 30px rgba(253, 195, 0, 0.16);
}

@media (max-width: 1199px) {
    .pd-role-grid,
    .pd-process-grid,
    .pd-stat-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .pd-vacancy-row {
        grid-template-columns: 1fr;
    }

    .pd-vacancy-row__meta {
        align-items: flex-start;
        min-width: 0;
    }

    .leaflet-map--tall {
        min-height: 560px;
    }

    .pd-calculator__grid,
    .pd-stat-wall {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .pd-role-grid,
    .pd-process-grid,
    .pd-stat-wall {
        grid-template-columns: 1fr;
    }

    .pd-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .leaflet-map--tall {
        min-height: 420px;
    }
}

.pd-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    color: #5f5f5f;
    font-size: 0.86rem;
}

.pd-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(253, 195, 0, 0.16);
    color: #000;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pd-chip--dark {
    background: #111;
    color: #fff;
}

.pd-card p,
.pd-card li,
.pd-richtext p,
.pd-richtext li,
.pd-form-shell p,
.pd-info-card p {
    color: #454545;
    line-height: 1.75;
}

.pd-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.pd-feature-grid,
.pd-split-grid,
.pd-detail-grid,
.pd-map-layout,
.pd-directory-grid,
.pd-form-grid {
    display: grid;
    gap: 1.6rem;
}

.pd-feature-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
}

.pd-split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pd-detail-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
}

.pd-map-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
}

.pd-directory-grid,
.pd-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pd-banner {
    padding: 2.4rem;
    border-radius: 34px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(230, 51, 18, 0.95), rgba(48, 48, 48, 0.96)),
        center center / cover no-repeat;
}

.pd-banner--image {
    background-image:
        linear-gradient(135deg, rgba(230, 51, 18, 0.82), rgba(0, 0, 0, 0.72)),
        url("../theme/images/depot_delivery_1.jpg");
}

.pd-banner p,
.pd-banner li {
    color: rgba(255, 255, 255, 0.88);
}

.pd-banner ul {
    margin: 1rem 0 0;
    padding-left: 1rem;
}

.pd-grid-3,
.pd-grid-4,
.pd-grid-2 {
    display: grid;
    gap: 1.4rem;
}

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

.pd-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pd-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pd-value-card,
.pd-step-card {
    padding: 1.5rem;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.pd-value-card__icon {
    width: 88px;
    height: 88px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.pd-step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--pd-yellow);
    color: #000;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pd-mini-list {
    display: grid;
    gap: 1rem;
}

.pd-mini-list article {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
}

.pd-vacancy-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pd-map-frame {
    min-height: 620px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--pd-shadow);
}

.leaflet-map {
    min-height: 620px;
}

.pd-map-aside {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.pd-map-city {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    background: #fff;
}

.pd-map-city__roles,
.map-city-card__roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.pd-map-city__roles span,
.map-city-card__roles span {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(253, 195, 0, 0.12);
    font-size: 0.78rem;
}

.pd-map-list {
    display: grid;
    gap: 0.9rem;
    max-height: 520px;
    overflow: auto;
}

.pd-tag-list a,
.pd-directory-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--pd-border);
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.pd-tag-list a:hover,
.pd-directory-tags a:hover {
    background: var(--pd-yellow);
    color: #000;
}

.pd-breadcrumbs {
    margin-bottom: 1.5rem;
}

.pd-breadcrumbs a {
    color: var(--pd-red);
    font-weight: 700;
}

.pd-richtext {
    display: grid;
    gap: 1rem;
}

.pd-richtext p:last-child {
    margin-bottom: 0;
}

.pd-form-shell h2,
.pd-card h2,
.pd-info-card h2 {
    font-size: 1.8rem;
    line-height: 1.15;
    text-transform: uppercase;
}

.pd-form-shell label {
    width: 100%;
    margin-bottom: 1rem;
    color: #232323;
    font-weight: 700;
}

.pd-form-shell small {
    color: #666;
}

.pd-form-shell .form-check-label {
    font-weight: 500;
}

.pd-form-shell .btn {
    border-radius: 999px;
    font-weight: 700;
    min-height: 52px;
}

.pd-form-shell .btn-primary {
    background: var(--pd-yellow);
    border-color: var(--pd-yellow);
    color: #000;
}

.pd-form-shell .btn-outline-dark {
    border-radius: 999px;
}

.pd-contact-list {
    display: grid;
    gap: 0.9rem;
}

.pd-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pd-gallery-image {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--pd-shadow);
}

.pd-video-shell {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--pd-shadow);
}

.pd-video-shell video {
    display: block;
    width: 100%;
}

.map-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--pd-yellow);
    color: #000;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 16px 28px rgba(253, 195, 0, 0.3);
}

.map-popup {
    min-width: 220px;
}

.map-popup .btn-secondary {
    display: inline-flex;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: var(--pd-red);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
}

.pd-list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.pd-list-inline span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
}

.site-footer .nav-link {
    padding: 0.15rem 0;
}

@media (max-width: 1199px) {
    .pd-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .pd-hero-grid,
    .pd-feature-grid,
    .pd-detail-grid,
    .pd-map-layout,
    .pd-directory-grid,
    .pd-form-grid,
    .pd-grid-3,
    .pd-grid-2,
    .pd-split-grid {
        grid-template-columns: 1fr;
    }

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

    .pd-hero-cover,
    .pd-subhero {
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 70px;
    }

    .site-navbar {
        overflow-x: hidden;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .site-navbar .site-logo {
        width: 150px !important;
        max-width: 150px;
    }

    .pd-map-frame,
    .leaflet-map {
        min-height: 420px;
    }

    .site-footer .row {
        margin-left: 0;
        margin-right: 0;
    }

    .site-footer [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        min-width: 0;
    }
}

@media (max-width: 575px) {
    .pd-heading h2,
    .pd-form-shell h2,
    .pd-card h2,
    .pd-info-card h2 {
        font-size: 1.6rem;
    }

    .pd-hero-card,
    .pd-search-card,
    .pd-card,
    .pd-form-shell,
    .pd-surface,
    .pd-map-aside,
    .pd-info-card,
    .pd-banner,
    .pd-value-card,
    .pd-step-card {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .site-section,
    .pd-section {
        overflow-x: hidden;
    }

    .pd-breadcrumbs,
    .pd-tag-list,
    .pd-directory-tags,
    .pd-actions,
    .pd-link-row,
    .pd-map-city__roles,
    .map-city-card__roles {
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .pd-map-frame,
    .leaflet-map {
        min-height: 340px;
    }
}

.is-ajax-busy {
    position: relative;
}

.is-ajax-busy::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.ajax-notice {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    max-width: min(420px, calc(100vw - 36px));
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    color: #061324;
    background: #fff;
    border: 1px solid rgba(6, 19, 36, 0.12);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ajax-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ajax-notice--success {
    border-color: rgba(0, 131, 22, 0.25);
    background: #f1fff4;
}

.ajax-notice--error {
    border-color: rgba(230, 51, 18, 0.28);
    background: #fff4f1;
}

.ajax-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.ajax-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.ajax-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(6px);
}

.ajax-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    padding: 34px 30px 28px;
    border-radius: 28px;
    background: #fffefa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.24);
    text-align: center;
    transform: translateY(18px) scale(0.98);
    transition: transform 0.18s ease;
}

.ajax-modal.is-visible .ajax-modal__dialog {
    transform: translateY(0) scale(1);
}

.ajax-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1eee7;
    color: #000;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.ajax-modal__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    font-size: 32px;
    font-weight: 900;
}

.ajax-modal--success .ajax-modal__icon {
    background: #fdc300;
    color: #000;
}

.ajax-modal--error .ajax-modal__icon {
    background: #e63312;
    color: #fff;
}

.ajax-modal h3 {
    margin: 0 0 10px;
    font-size: 1.45rem;
    line-height: 1.15;
    color: #000;
}

.ajax-modal p {
    margin: 0;
    color: #303030;
    line-height: 1.55;
}

.ajax-modal__button {
    width: 100%;
    margin-top: 24px;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

/* Final public UI polish: spacing, forms, map and mobile overflow control */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body,
.site-wrap,
.site-main,
.page,
.pd-section,
.site-section {
    min-width: 0;
}

.site-wrap {
    overflow-x: clip;
}

.container,
.site-navbar .container,
.site-footer .container {
    width: 100%;
    max-width: min(1140px, calc(100% - 32px));
    padding-left: 0;
    padding-right: 0;
}

.pd-section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.pd-subhero,
.pd-hero-cover {
    min-height: clamp(520px, 68vw, 720px);
    padding-top: clamp(135px, 16vw, 180px);
    padding-bottom: clamp(58px, 8vw, 110px);
}

.pd-hero-grid,
.pd-map-layout,
.pd-detail-grid,
.pd-form-grid,
.pd-grid-2,
.pd-grid-3,
.pd-grid-4,
.pd-filter-grid,
.pd-vacancy-row {
    min-width: 0;
}

.pd-hero-copy,
.pd-hero-card,
.pd-card,
.pd-form-shell,
.pd-search-card,
.pd-map-frame,
.pd-map-aside,
.pd-vacancy-row,
.pd-info-card,
.pd-surface,
.pd-banner {
    min-width: 0;
    max-width: 100%;
}

.pd-form-shell .form-row,
.pd-search-card .form-row,
.pd-filter-grid .form-row {
    margin-left: -8px;
    margin-right: -8px;
    row-gap: 16px;
}

.pd-form-shell .form-group,
.pd-search-card .form-group,
.pd-filter-grid .form-group,
.pd-filter-grid [class*="col-"] {
    min-width: 0;
    margin-bottom: 16px;
    padding-left: 8px;
    padding-right: 8px;
}

.pd-form-shell input,
.pd-form-shell select,
.pd-form-shell textarea,
.pd-search-card input,
.pd-search-card select,
.pd-search-card textarea,
.pd-filter-grid input,
.pd-filter-grid select,
.pd-filter-grid textarea {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
}

.pd-form-shell input[type="file"] {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px;
    border: 1px solid var(--pd-border);
    border-radius: 18px;
    background: #fff;
    line-height: 1.2;
}

.pd-form-shell .form-text,
.pd-form-shell small,
.pd-card p,
.pd-info-card p,
.pd-heading p,
.pd-subhero p {
    overflow-wrap: anywhere;
}

.pd-link-row,
.pd-actions,
.pd-tag-list,
.pd-directory-tags,
.pd-map-city__roles,
.map-city-card__roles {
    min-width: 0;
    max-width: 100%;
}

.pd-link-row > *,
.pd-actions > * {
    max-width: 100%;
}

.pd-map-frame {
    overflow: hidden;
}

.leaflet-map {
    width: 100%;
}

.pd-map-aside--cities,
.pd-map-list {
    max-height: none;
}

.pd-vacancy-row__main,
.pd-vacancy-row__meta {
    min-width: 0;
}

.pd-vacancy-row__meta .pd-link-row {
    justify-content: flex-end;
}

.pd-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-pagination__link {
    min-width: 42px;
    text-align: center;
}

.pd-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pd-category-card {
    position: relative;
    display: grid;
    min-height: 360px;
    overflow: hidden;
    border-radius: 30px;
    color: #fff;
    background: #111;
    text-decoration: none;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.pd-category-card:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.pd-category-card > .pd-chip,
.pd-category-card > p {
    display: none !important;
}

.pd-category-card__media {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.pd-category-card:hover .pd-category-card__media {
    transform: scale(1.07);
}

.pd-category-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.76));
}

.pd-category-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 26px;
}

.pd-category-card__body .pd-chip {
    align-self: flex-start;
    background: #fdc300;
    color: #000;
}

.pd-category-card__body strong {
    max-width: 92%;
    font-size: clamp(1.5rem, 2.8vw, 2.35rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.pd-category-card__body small {
    max-width: 94%;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.98rem;
    line-height: 1.45;
}

.pd-category-card__body em {
    width: max-content;
    max-width: 100%;
    margin-top: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-style: normal;
    font-weight: 800;
}

.site-footer {
    overflow: hidden;
}

@media (max-width: 991px) {
    .container,
    .site-navbar .container,
    .site-footer .container {
        max-width: calc(100% - 28px);
    }

    .pd-hero-grid,
    .pd-map-layout,
    .pd-map-layout--eva,
    .pd-detail-grid,
    .pd-form-grid,
    .pd-grid-2,
    .pd-grid-3,
    .pd-grid-4,
    .pd-category-grid {
        grid-template-columns: 1fr !important;
        align-items: start;
    }

    .pd-hero-card {
        align-self: auto;
    }

    .pd-vacancy-row {
        grid-template-columns: 1fr !important;
        align-items: start;
    }

    .pd-vacancy-row__meta {
        width: 100%;
        align-items: stretch;
    }

    .pd-vacancy-row__meta .pd-link-row {
        justify-content: flex-start;
    }

    .pd-map-frame,
    .leaflet-map {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    .container,
    .site-navbar .container,
    .site-footer .container {
        max-width: calc(100% - 24px);
    }

    .pd-section {
        padding: 3rem 0;
    }

    .pd-subhero,
    .pd-hero-cover {
        min-height: auto;
        padding-top: 128px;
        padding-bottom: 56px;
    }

    .pd-hero-copy h1,
    .pd-subhero h1 {
        font-size: clamp(2rem, 11vw, 3.1rem);
        line-height: 1.04;
        overflow-wrap: anywhere;
    }

    .pd-hero-copy p,
    .pd-subhero p,
    .pd-heading p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .pd-search-card,
    .pd-card,
    .pd-form-shell,
    .pd-surface,
    .pd-map-aside,
    .pd-info-card,
    .pd-vacancy-row,
    .pd-banner,
    .pd-value-card,
    .pd-step-card {
        padding: 1.2rem;
        border-radius: 24px;
    }

    .pd-actions,
    .pd-link-row {
        gap: 0.7rem;
    }

    .pd-actions > a,
    .pd-actions > button,
    .pd-link-row > a,
    .pd-link-row > button,
    .pd-form-shell .btn,
    .pd-filter-grid button {
        width: 100%;
    }

    .pd-filter-grid .form-row {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .pd-filter-grid [class*="col-"],
    .pd-filter-grid .form-group {
        padding-left: 0;
        padding-right: 0;
    }

    .pd-map-frame,
    .leaflet-map {
        min-height: 340px;
    }

    .pd-category-card {
        min-height: 300px;
        border-radius: 24px;
    }

    .pd-category-card__body {
        padding: 22px;
    }

    .pd-map-list {
        overflow: visible;
    }

    .pd-pagination {
        justify-content: center;
    }

    .site-footer {
        text-align: left;
    }

    .ajax-modal {
        padding: 14px;
    }

    .ajax-modal__dialog {
        border-radius: 24px;
        padding: 30px 22px 24px;
    }
}

@media (max-width: 430px) {
    .container,
    .site-navbar .container,
    .site-footer .container {
        max-width: calc(100% - 18px);
    }

    .pd-search-card,
    .pd-card,
    .pd-form-shell,
    .pd-surface,
    .pd-map-aside,
    .pd-info-card,
    .pd-vacancy-row,
    .pd-banner,
    .pd-value-card,
    .pd-step-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .pd-heading h2,
    .pd-form-shell h2 {
        font-size: 1.55rem;
    }

    .pd-btn-primary,
    .pd-btn-secondary,
    .pd-btn-ghost {
        min-height: 50px;
        padding: 0.8rem 1rem;
    }
}
