/* Premium homepage theme — all rules scoped under .pm-home (this file is only loaded on the premium homepage) */

.header.js-header {
    background-color: #fff;
}

.pm-home {
    --pm-primary: #0f6b45;
    --pm-primary-600: #198754;
    --pm-primary-50: #e8f4ee;
    --pm-dark: #0a2e22;
    --pm-gold: #d4af37;
    --pm-gold-soft: #f4e7bd;
    --pm-ink: #0f172a;
    --pm-body: #475569;
    --pm-muted: #64748b;
    --pm-line: #e5e9ef;
    --pm-soft: #f6f8f7;
    --pm-radius: 18px;
    --pm-shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 14px rgba(15, 23, 42, .06);
    --pm-shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
    --pm-font: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    font-family: var(--pm-font);
    color: var(--pm-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.pm-home h1,
.pm-home h2,
.pm-home h3,
.pm-home h4,
.pm-home h5,
.pm-home h6 {
    font-family: var(--pm-font);
    color: var(--pm-ink);
}

.pm-home a {
    text-decoration: none;
}

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

/* ---------- Buttons & labels ---------- */

.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--pm-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

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

.pm-btn--primary {
    background: var(--pm-primary);
    color: #fff;
}

.pm-btn--primary:hover {
    background: var(--pm-dark);
    color: #fff;
}

.pm-btn--gold {
    background: var(--pm-gold);
    color: var(--pm-ink);
}

.pm-btn--gold:hover {
    background: #e2c158;
    color: var(--pm-ink);
    box-shadow: 0 8px 22px rgba(212, 175, 55, .35);
}

.pm-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

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

.pm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pm-primary);
}

.pm-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--pm-gold);
}

.pm-eyebrow--light {
    color: var(--pm-gold-soft);
}

/* ---------- Hero ---------- */

.pm-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 80vh, 760px);
    padding: 96px 0 140px;
    background: var(--pm-dark);
}

.pm-hero__media,
.pm-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pm-hero__media img {
    object-fit: cover;
    max-width: none;
}

.pm-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 28, 21, .82) 0%, rgba(6, 28, 21, .55) 45%, rgba(6, 28, 21, .15) 100%),
        linear-gradient(180deg, rgba(6, 28, 21, 0) 60%, rgba(6, 28, 21, .55) 100%);
}

/* above .pm-features so the destination dropdown can overlap it */
.pm-hero__inner {
    position: relative;
    z-index: 4;
}

.pm-hero__inner > * {
    max-width: 720px;
}

.pm-hero__title {
    margin: 18px 0 16px;
    font-size: clamp(36px, 5.4vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #fff !important;
}

.pm-hero__lead {
    margin: 0 0 32px;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}

.pm-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 640px;
    padding: 8px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.pm-search__field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 4px 8px 4px 6px;
    margin: 0;
    cursor: pointer;
}

.pm-search__icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--pm-primary-50);
    color: var(--pm-primary);
    font-size: 19px;
}

.pm-search__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.pm-search__label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pm-primary);
}

.pm-search__input {
    width: 100%;
    padding: 2px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--pm-font);
    font-size: 17px;
    font-weight: 600;
    color: var(--pm-ink);
    text-overflow: ellipsis;
}

.pm-search__input::placeholder {
    color: #1a1a1a;
    opacity: 1;
}

.pm-search__input:focus::placeholder {
    color: #6b7280;
}

.pm-search__clear {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5f3;
    color: var(--pm-ink);
    font-size: 20px;
    cursor: pointer;
}

.pm-search__clear[hidden] {
    display: none;
}

.pm-search__clear:hover {
    background: var(--pm-primary-50);
    color: var(--pm-primary);
}

.pm-search__caret {
    flex: none;
    color: var(--pm-ink);
    font-size: 16px;
    transition: transform .2s;
}

.pm-search.is-open .pm-search__caret {
    transform: rotate(180deg);
}

.pm-search.is-invalid {
    box-shadow: 0 0 0 3px #f59e0b, 0 20px 50px rgba(0, 0, 0, .25);
}

.pm-search__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 20;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pm-line);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(6, 28, 21, .28);
    animation: pm-search-in .16s ease-out;
}

.pm-search__panel[hidden] {
    display: none;
}

@keyframes pm-search-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

.pm-search__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--pm-line);
    background: var(--pm-soft);
    color: var(--pm-ink);
    font-size: 15px;
    font-weight: 700;
}

.pm-search__hint {
    color: #2b2b2b;
    font-size: 14px;
    font-weight: 500;
}

.pm-search .pm-search__list {
    max-height: min(360px, 50vh);
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
}

.pm-search__list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pm-search__list li {
    margin: 0;
    list-style: none;
}

.pm-search__group + .pm-search__group {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--pm-line);
}

.pm-search__list .pm-search__group.is-first {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.pm-search__group[hidden],
.pm-search__option[hidden],
.pm-search__empty[hidden] {
    display: none;
}

.pm-search__group-name {
    display: block;
    padding: 10px 12px 6px;
    color: var(--pm-primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pm-search__option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
}

.pm-search__option-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--pm-primary-50);
    color: var(--pm-primary);
    font-size: 16px;
}

.pm-search__option-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.pm-search__option-city {
    color: var(--pm-ink);
    font-size: 16px;
    font-weight: 700;
}

.pm-search__option-country {
    color: #2b2b2b;
    font-size: 14px;
}

.pm-search__option-check {
    flex: none;
    color: var(--pm-primary);
    font-size: 20px;
    visibility: hidden;
}

.pm-search__option.is-active {
    background: var(--pm-soft);
}

.pm-search__option.is-active .pm-search__option-icon {
    background: var(--pm-primary);
    color: #fff;
}

.pm-search__option[aria-selected="true"] .pm-search__option-city {
    color: var(--pm-primary);
}

.pm-search__option[aria-selected="true"] .pm-search__option-check {
    visibility: visible;
}

.pm-search__empty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 22px 20px;
    color: #1a1a1a;
    font-size: 16px;
}

.pm-search__empty .bi {
    color: var(--pm-primary);
    font-size: 20px;
}

.pm-search__button {
    padding: 16px 30px;
    font-size: 16px;
}

.pm-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.pm-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, .92);
}

.pm-hero__trust i {
    color: var(--pm-gold);
}

/* ---------- Feature strip ---------- */

.pm-features {
    position: relative;
    z-index: 3;
    margin-top: -72px;
}

.pm-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--pm-shadow-lg);
}

.pm-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    transition: background-color .2s;
}

.pm-feature:hover {
    background: var(--pm-soft);
}

.pm-feature__icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--pm-primary-50);
    color: var(--pm-primary);
    font-size: 21px;
}

.pm-feature__title {
    margin: 2px 0 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.pm-feature__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pm-muted);
}

/* ---------- Sections ---------- */

.pm-section {
    padding: 88px 0;
}

.pm-section--tight {
    padding-top: 8px;
}

.pm-section--soft {
    background: var(--pm-soft);
}

.pm-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.pm-section__title {
    margin: 10px 0 0;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.pm-section__subtitle {
    max-width: 580px;
    margin: 12px 0 0;
    font-size: 16.5px;
    color: var(--pm-body);
}

.pm-rail-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.pm-rail-nav__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--pm-line);
    background: #fff;
    color: var(--pm-ink);
    font-size: 17px;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.pm-rail-nav__btn:hover {
    background: var(--pm-primary);
    border-color: var(--pm-primary);
    color: #fff;
}

.pm-link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pm-primary);
}

.pm-link-more:hover {
    color: var(--pm-dark);
}

/* ---------- Horizontal rails ---------- */

.pm-rail {
    --pm-cols: 4;
    --pm-gap: 24px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--pm-cols) - 1) * var(--pm-gap)) / var(--pm-cols));
    gap: var(--pm-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 16px;
    margin: -4px -4px 0;
    scrollbar-width: none;
}

.pm-rail::-webkit-scrollbar {
    display: none;
}

.pm-rail > * {
    scroll-snap-align: start;
}

@media (hover: hover) and (pointer: fine) {
    .pm-rail {
        cursor: grab;
    }
}

.pm-rail.is-dragging,
.pm-rail.is-settling {
    scroll-snap-type: none;
}

.pm-rail.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.pm-rail.is-dragging > * {
    pointer-events: none;
}

.pm-rail--3 {
    --pm-cols: 3;
}

.pm-rail--6 {
    --pm-cols: 6;
    --pm-gap: 20px;
}

/* ---------- Place cards (countries / cities) ---------- */

.pm-place-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--pm-radius);
    overflow: hidden;
    background: var(--pm-dark);
    isolation: isolate;
}

.pm-place-card--wide {
    aspect-ratio: 4 / 3;
}

.pm-place-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.pm-place-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .78) 100%);
    z-index: 1;
}

.pm-place-card:hover img {
    transform: scale(1.06);
}

.pm-place-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
}

.pm-place-card__title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.pm-place-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

/* ---------- Category cards ---------- */

.pm-category-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--pm-ink);
}

.pm-category-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    margin-bottom: 10px;
    border-radius: var(--pm-radius);
    overflow: hidden;
    background: var(--pm-soft);
}

.pm-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.pm-category-card:hover .pm-category-card__image img {
    transform: scale(1.06);
}

.pm-category-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--pm-ink);
}

.pm-category-card:hover .pm-category-card__title {
    color: var(--pm-primary);
}

.pm-category-card__meta {
    font-size: 14px;
    color: var(--pm-muted);
}

/* ---------- Tour cards ---------- */

.pm-tour-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--pm-line);
    border-radius: var(--pm-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--pm-shadow-sm);
    color: var(--pm-ink);
    transition: transform .25s, box-shadow .25s;
}

.pm-tour-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pm-shadow-lg);
    color: var(--pm-ink);
}

.pm-tour-card__image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--pm-soft);
}

.pm-tour-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.pm-tour-card:hover .pm-tour-card__image img {
    transform: scale(1.05);
}

.pm-tour-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    font-size: 13px;
    font-weight: 600;
    color: var(--pm-ink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.pm-tour-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 18px 20px 20px;
}

.pm-tour-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--pm-muted);
}

.pm-tour-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--pm-ink);
}

.pm-tour-card__rating {
    font-size: 13.5px;
    color: var(--pm-muted);
}

.pm-tour-card__rating .col-auto {
    padding: 0;
}

.pm-tour-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--pm-line);
}

.pm-tour-card__price {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pm-tour-card__price small {
    font-size: 13px;
    color: var(--pm-muted);
}

.pm-tour-card__price strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--pm-ink);
}

.pm-tour-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--pm-primary);
}

/* ---------- Attraction cards ---------- */

.pm-attraction-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--pm-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--pm-shadow-sm);
    transition: transform .25s, box-shadow .25s;
}

.pm-attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pm-shadow-lg);
}

.pm-attraction-card__image {
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--pm-soft);
}

.pm-attraction-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.pm-attraction-card:hover .pm-attraction-card__image img {
    transform: scale(1.05);
}

.pm-attraction-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 20px;
}

.pm-attraction-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--pm-ink);
}

.pm-attraction-card:hover .pm-attraction-card__title {
    color: var(--pm-primary);
}

.pm-attraction-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--pm-muted);
}

/* ---------- Call to action ---------- */

.pm-cta {
    padding: 88px 0 0;
}

.pm-cta__box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 56px 60px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(120deg, #0a2e22 0%, #0f6b45 60%, #198754 100%);
    isolation: isolate;
}

.pm-cta__box::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, .35) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: -1;
}

.pm-cta__title {
    margin: 12px 0 10px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff !important;
}

.pm-cta__text {
    max-width: 540px;
    margin: 0;
    font-size: 16.5px;
    color: rgba(255, 255, 255, .85);
}

.pm-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: none;
}

/* ---------- Explore links ---------- */

.pm-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    background: #eef3f0;
}

.pm-tab {
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-family: var(--pm-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--pm-muted);
    cursor: pointer;
    transition: background-color .2s, color .2s, box-shadow .2s;
}

.pm-tab:hover {
    color: var(--pm-ink);
}

.pm-tab.is-active {
    background: #fff;
    color: var(--pm-ink);
    box-shadow: var(--pm-shadow-sm);
}

.pm-tab-pane {
    display: none;
    margin-top: 28px;
}

.pm-tab-pane.is-active {
    display: block;
}

.pm-link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pm-link-grid__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--pm-line);
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    line-height: 1.4;
    color: var(--pm-body);
    transition: border-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.pm-link-grid__item strong {
    font-weight: 600;
    color: var(--pm-ink);
}

.pm-link-grid__item i {
    flex: none;
    font-size: 13px;
    color: var(--pm-muted);
    transition: transform .2s, color .2s;
}

.pm-link-grid__item:hover {
    border-color: var(--pm-primary);
    color: var(--pm-primary);
    box-shadow: var(--pm-shadow-sm);
    transform: translateY(-1px);
}

.pm-link-grid__item:hover strong,
.pm-link-grid__item:hover i {
    color: var(--pm-primary);
}

.pm-link-grid__item:hover i {
    transform: translateX(3px);
}

/* ---------- Reveal animation ---------- */

.pm-js .pm-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.pm-js .pm-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
    .pm-rail--6 {
        --pm-cols: 5;
    }

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

    .pm-link-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .pm-section {
        padding: 64px 0;
    }

    .pm-section--tight {
        padding-top: 0;
    }

    .pm-rail {
        --pm-cols: 2.4;
    }

    .pm-rail--3 {
        --pm-cols: 2.2;
    }

    .pm-rail--6 {
        --pm-cols: 4.3;
    }

    .pm-cta {
        padding-top: 64px;
    }

    .pm-cta__box {
        flex-direction: column;
        align-items: flex-start;
        padding: 44px 36px;
    }

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

@media (max-width: 767px) {
    .pm-home {
        font-size: 15px;
    }

    .pm-hero {
        min-height: 0;
        padding: 64px 0 120px;
    }

    .pm-hero__overlay {
        background: linear-gradient(180deg, rgba(6, 28, 21, .55) 0%, rgba(6, 28, 21, .8) 100%);
    }

    .pm-search {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
        padding: 10px;
    }

    .pm-search__field {
        padding: 6px;
    }

    .pm-search__button {
        width: 100%;
    }

    .pm-hero__trust {
        gap: 8px 18px;
    }

    .pm-hero__trust li {
        font-size: 14px;
    }

    .pm-features {
        margin-top: -64px;
    }

    .pm-features__grid {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .pm-feature {
        padding: 14px;
    }

    .pm-section__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 24px;
    }

    .pm-rail-nav__btn {
        display: none;
    }

    .pm-link-more {
        margin-right: 0;
    }

    .pm-rail {
        --pm-cols: 1.25;
        --pm-gap: 16px;
    }

    .pm-rail--3 {
        --pm-cols: 1.2;
    }

    .pm-rail--6 {
        --pm-cols: 2.4;
        --pm-gap: 14px;
    }

    .pm-place-card__title {
        font-size: 19px;
    }

    .pm-cta__box {
        padding: 36px 24px;
        border-radius: 22px;
    }

    .pm-cta__actions,
    .pm-cta__actions .pm-btn {
        width: 100%;
    }

    .pm-tabs {
        display: flex;
        border-radius: 16px;
    }

    .pm-tab {
        flex: 1;
        padding: 10px 12px;
    }

    .pm-link-grid {
        grid-template-columns: 1fr;
    }
}
