/* ============================================================
   dev-ui.css — reinvented home (map) + search (grid) UI
   ============================================================ */

:root {
    --teal: #84c7ad;
    --teal-light: #b8dec9;
    --teal-soft: #eaf5ef;
    --teal-dark: #2a7f60;
    --teal-deep: #1e5e47;
    --ink: #1a2530;
    --ink-soft: #4a5864;
    --bg-soft: #f6faf7;
    --line: #e4ede7;
}

.dev-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HOMEPAGE — hero with interactive region map
   ============================================================ */
.dev-home-hero {
    position: relative;
    min-height: 720px;
    background: linear-gradient(150deg, #a8d8c2 0%, #84c7ad 100%);
    overflow: hidden;
    color: #fff;
}
.dev-home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.32) 0%, transparent 40%),
        radial-gradient(circle at 88% 78%, rgba(255,255,255,0.18) 0%, transparent 48%),
        radial-gradient(circle at 60% 10%, rgba(255,255,255,0.12) 0%, transparent 35%);
    pointer-events: none;
}
.dev-home-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 120px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 720px;
}
.dev-hero-left .dev-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    color: var(--ink);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.dev-hero-left .dev-eyebrow i {
    color: var(--teal-dark);
}
.dev-hero-title {
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 22px;
    text-shadow: 0 2px 18px rgba(30, 94, 71, 0.18);
}
.dev-hero-title em {
    font-style: normal;
    font-weight: 300;
    font-family: 'Playfair Display', Georgia, serif;
}
.dev-hero-lede {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    max-width: 480px;
    line-height: 1.55;
    margin: 0 0 36px;
}
.dev-hero-search {
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1fr auto;
    gap: 0;
    max-width: 640px;
}
.dev-hero-search .sh-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-right: 1px solid var(--line);
    min-width: 0;
    border-radius: 10px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.dev-hero-search .sh-field > i {
    color: var(--teal-dark);
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0.65;
    width: 18px;
    text-align: center;
}
.dev-hero-search .sh-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.dev-hero-search .sh-field.is-flashed {
    background: #eaf5ef;
    box-shadow: 0 0 0 2px var(--teal);
    animation: devFlash 1.1s ease-out;
}
@keyframes devFlash {
    0% { background: #d1ebdd; box-shadow: 0 0 0 4px var(--teal); }
    100% { background: transparent; box-shadow: 0 0 0 0 transparent; }
}
.dev-hero-search .sh-field:last-of-type { border-right: none; }
.dev-hero-search .sh-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-bottom: 3px;
}
.dev-hero-search select,
.dev-hero-search input[type="text"] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.88rem;
    color: var(--ink-soft);
    padding: 0;
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.dev-hero-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--teal-dark);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0 28px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-left: 4px;
    min-height: 56px;
    white-space: nowrap;
}
.dev-hero-search-btn:hover {
    background: var(--teal-deep);
    color: #fff;
}

/* Map on the right — Leaflet container */
.dev-hero-right {
    position: relative;
    height: 560px;
}
.dev-map-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.15) inset;
    background: #e8f0eb;
}
#devLeafletMap {
    width: 100%;
    height: 100%;
    background: #dfe8e1;
}
#devLeafletMap .leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255,255,255,0.7);
    padding: 2px 6px;
}
/* Custom teal marker with count */
.dev-leaflet-marker {
    background: transparent !important;
    border: none !important;
}
.dev-leaflet-marker .pin-outer {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -100%);
    left: 50%;
}
.dev-leaflet-marker .pin-pulse {
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(132, 199, 173, 0.55);
    border-radius: 50%;
    animation: devPinPulse 2.4s ease-out infinite;
}
.dev-leaflet-marker .pin-dot {
    position: relative;
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--teal-deep);
    border: 3px solid var(--teal-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 6px 18px rgba(30,94,71,0.3);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 2;
}
.dev-leaflet-marker:hover .pin-dot,
.dev-leaflet-marker.is-active .pin-dot {
    transform: scale(1.12);
    background: var(--teal-dark);
    color: #fff;
}
.dev-leaflet-marker .pin-tip {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 40%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--teal-dark);
    z-index: 1;
}
.dev-leaflet-label {
    background: #fff;
    color: var(--ink);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    white-space: nowrap;
    border: none;
}
.dev-leaflet-label.leaflet-tooltip-top::before {
    border-top-color: #fff;
}
@keyframes devPinPulse {
    0% { transform: scale(0.8); opacity: 0.9; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* Hero stats strip */
.dev-hero-stats {
    display: flex;
    gap: 0;
    margin-top: 32px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.18);
}
.dev-hero-stat {
    padding: 0 28px;
    border-right: 1px solid rgba(255,255,255,0.22);
}
.dev-hero-stat:first-child { padding-left: 0; }
.dev-hero-stat:last-child { border-right: none; }
.dev-hero-stat .num {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}
.dev-hero-stat .lbl {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
}

/* Trust strip below search bar */
.dev-trust-strip {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.dev-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.dev-trust-item i {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.95);
}

/* Why us strip */
.dev-why {
    padding: 50px 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.dev-why-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.dev-why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.dev-why-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-soft);
    color: var(--teal-deep);
    border-radius: 14px;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(132,199,173,0.28);
}
.dev-why-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
}
.dev-why-item p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.4;
}

/* Legacy SVG pin styles (kept for back-compat, unused) */
.dev-map-pin {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
    z-index: 2;
}
.dev-map-pin-dot {
    width: 18px;
    height: 18px;
    background: #fff;
    border: 3px solid var(--teal-dark);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
    transition: transform 0.25s ease;
}
.dev-map-pin-label {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--ink);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.dev-map-pin-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}
.dev-map-pin:hover .dev-map-pin-label,
.dev-map-pin.is-active .dev-map-pin-label {
    opacity: 1;
}
.dev-map-pin:hover .dev-map-pin-dot,
.dev-map-pin.is-active .dev-map-pin-dot {
    transform: scale(1.25);
    background: var(--teal-dark);
    border-color: #fff;
}

/* ============================================================
   REGION CARDS (homepage)
   ============================================================ */
.dev-section {
    padding: 90px 0;
    background: var(--bg-soft);
}
.dev-section.alt { background: #fff; }
.dev-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
    gap: 20px;
}
.dev-section-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal-deep);
    margin-bottom: 12px;
}
.dev-section-head .eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--teal-dark);
}
.dev-section-head h2 {
    font-size: clamp(32px, 3.8vw, 48px);
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.dev-section-head h2 em {
    font-style: normal;
    font-weight: 300;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--teal-dark);
}
.dev-section-head p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    max-width: 420px;
    margin: 0;
}

.dev-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.dev-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.dev-chip:hover {
    border-color: var(--teal);
    color: var(--ink);
}
.dev-chip.is-active {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: #fff;
}
.dev-chip .count {
    font-size: 0.72rem;
    opacity: 0.7;
    font-weight: 500;
}

/* ============================================================
   LODGE GRID CARD (new — replaces old lodge card)
   ============================================================ */
.dev-lodge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.dev-lodge {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(26,37,48,0.05), 0 0 0 1px var(--line);
}
.dev-lodge:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(26,37,48,0.12), 0 0 0 1px transparent;
}
.dev-lodge.is-hidden { display: none; }

.dev-lodge-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.dev-lodge-link:hover { color: inherit; text-decoration: none; }

.dev-lodge-gallery {
    position: relative;
    aspect-ratio: 5 / 4;
    background: var(--teal-soft);
    overflow: hidden;
}
.dev-lodge-gallery::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.12) 0%, transparent 18%, transparent 75%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}
.dev-lodge-gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.dev-lodge-gallery-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: filter 0.4s ease;
}
/* While the LQIP is showing, blur it a touch so the upgrade reads as a sharpen */
.dev-lodge-gallery-slide.is-loading { filter: blur(8px); transform: scale(1.02); }
.dev-lodge-gallery-slide.is-loaded  { filter: none; transform: none; }

/* Generic image-frame fade — used by search cards and any [data-dl-img] image */
.dl-img-frame { position: relative; background-color: #f6faf7; }
.dl-img-frame img[data-dl-img] {
    opacity: 0; transition: opacity 0.45s ease;
}
.dl-img-frame.is-loading::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: inherit; background-size: cover; background-position: center;
    filter: blur(14px); transform: scale(1.08);
    transition: opacity 0.35s ease;
}
.dl-img-frame.is-loaded img[data-dl-img] { opacity: 1; }
.dl-img-frame.is-loaded::before { opacity: 0; }
.dev-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: none;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    opacity: 1;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 3;
    font-size: 0.78rem;
}
.dev-gallery-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.dev-gallery-arrow.prev { left: 10px; }
.dev-gallery-arrow.next { right: 10px; }
.dev-gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}
.dev-gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: all 0.25s ease;
}
.dev-gallery-dot.is-active {
    background: #fff;
    width: 18px;
    border-radius: 3px;
}

.dev-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    border: none;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.dev-wishlist-btn:hover {
    transform: scale(1.1);
    background: #fff;
}
.dev-wishlist-btn.is-saved {
    color: #e55b5b;
    background: #fff;
}
.dev-wishlist-btn.is-saved i { font-weight: 900; }

.dev-lodge-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
}
.dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
}
.dev-badge-secret {
    background: rgba(26,37,48,0.88);
    color: #fff;
}
.dev-badge-secret i { color: var(--teal); font-size: 0.7rem; }
.dev-badge-deal {
    background: #fff;
    color: var(--teal-deep);
}
.dev-gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(26,37,48,0.75);
    color: #fff;
    padding: 3px 9px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 2;
    font-variant-numeric: tabular-nums;
}

.dev-lodge-body {
    padding: 18px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.dev-lodge-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dev-lodge-loc {
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.dev-lodge-loc i { color: var(--teal-dark); font-size: 0.82rem; }
.dev-lodge-feat {
    margin: 0 0 18px;
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.5;
}
.dev-lodge-feat .sep {
    color: var(--line);
    margin: 0 2px;
}

.dev-lodge-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.dev-lodge-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
}
.dev-lodge-price .from {
    font-size: 0.7rem;
    color: var(--ink-soft);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 2px;
}
.dev-lodge-price .was {
    font-size: 0.82rem;
    color: var(--ink-soft);
    text-decoration: line-through;
    text-decoration-color: rgba(74,88,100,0.6);
}
.dev-lodge-price .now {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
}
.dev-lodge-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--teal-soft);
    color: var(--teal-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}
.dev-lodge:hover .dev-lodge-arrow {
    background: var(--teal-dark);
    color: #fff;
    transform: translateX(2px);
}

/* ============================================================
   LOCATION / DESTINATION CARDS
   ============================================================ */
.dev-loc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 20px;
}
.dev-loc {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background: #333;
    display: block;
}
.dev-loc.span-2 { grid-column: span 2; }
.dev-loc.span-tall { grid-row: span 2; }
.dev-loc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dev-loc:hover .dev-loc-img { transform: scale(1.06); }
.dev-loc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}
.dev-loc-name {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}
.dev-loc-region {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.dev-loc-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--teal);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: translateY(4px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.dev-loc:hover .dev-loc-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.dev-search-hero {
    background: linear-gradient(150deg, #a8d8c2 0%, #84c7ad 100%);
    padding: 50px 0 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.dev-search-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 30%, rgba(255,255,255,0.25) 0%, transparent 45%);
}
.dev-search-hero h1 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: -0.015em;
    position: relative;
}

.dev-search-bar {
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr auto;
    gap: 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}
.dev-search-bar .sh-field {
    display: flex;
    flex-direction: column;
    padding: 10px 18px;
    border-right: 1px solid var(--line);
    min-width: 0;
}
.dev-search-bar .sh-field:last-of-type { border-right: none; }
.dev-search-bar .sh-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-bottom: 3px;
}
.dev-search-bar select,
.dev-search-bar input[type="text"] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.88rem;
    color: var(--ink-soft);
    padding: 0;
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.dev-search-bar-btn {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 24px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    margin-left: 4px;
    min-height: 56px;
    transition: background 0.2s ease;
}
.dev-search-bar-btn:hover { background: #000; color: #fff; }

/* Sticky filter + sort bar below hero */
.dev-filter-bar {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    z-index: 20;
    padding: 14px 0;
    margin-bottom: 32px;
}
.dev-filter-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.dev-filter-chips-active {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}
.dev-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 50px;
    padding: 7px 8px 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    cursor: default;
    white-space: nowrap;
}
.dev-active-chip.toggle {
    cursor: pointer;
    transition: all 0.15s ease;
}
.dev-active-chip.toggle:hover {
    border-color: var(--teal-dark);
    color: var(--teal-dark);
}
.dev-active-chip.is-selected {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--ink);
}
.dev-active-chip.is-selected .remove {
    background: var(--ink);
    color: #fff;
}
.dev-active-chip .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 0.6rem;
    cursor: pointer;
    border: none;
    transition: background 0.15s ease;
}
.dev-active-chip .remove:hover { background: #e55b5b; }
.dev-clear-all {
    background: none;
    border: none;
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.dev-clear-all:hover { color: var(--ink); }
.dev-sort {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.dev-sort label {
    font-size: 0.82rem;
    color: var(--ink-soft);
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}
.dev-sort select {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 50px;
    padding: 8px 32px 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%231a2530' d='M5 8l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

.dev-results-count {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin: 0 0 18px;
}
.dev-results-count strong { color: var(--ink); }

.dev-search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.dev-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 40px 0;
    margin: 0;
}
.dev-pagination a,
.dev-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 0 14px;
    background: #fff;
    transition: all 0.15s ease;
}
.dev-pagination a:hover { border-color: var(--teal-dark); color: var(--teal-dark); }
.dev-pagination .is-active {
    background: var(--teal);
    color: var(--ink);
    border-color: var(--teal);
}

.dev-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-soft);
    border: 2px dashed var(--line);
    border-radius: 16px;
    grid-column: 1 / -1;
}
.dev-empty h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
}

/* ============================================================
   Newsletter / footer accent (homepage)
   ============================================================ */
.dev-newsletter {
    background: linear-gradient(150deg, #a8d8c2 0%, #84c7ad 100%);
    padding: 60px 0;
    color: var(--ink);
    text-align: center;
}
.dev-newsletter h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.dev-newsletter h2 em {
    font-style: normal;
    font-weight: 300;
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
}
.dev-newsletter p {
    color: rgba(26,37,48,0.72);
    margin: 0 0 26px;
    font-size: 0.95rem;
}
.dev-newsletter form {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    gap: 8px;
}
.dev-newsletter input[type="email"] {
    flex: 1;
    background: #fff;
    border: 1.5px solid #fff;
    border-radius: 50px;
    padding: 12px 20px;
    color: var(--ink);
    font-size: 0.9rem;
}
.dev-newsletter input[type="email"]::placeholder { color: rgba(26,37,48,0.4); }
.dev-newsletter input[type="email"]:focus { outline: none; border-color: var(--ink); }
.dev-newsletter button {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.dev-newsletter button:hover { background: #000; color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .dev-lodge-grid { grid-template-columns: repeat(2, 1fr); }
    .dev-search-grid { grid-template-columns: repeat(2, 1fr); }
    .dev-loc-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
    .dev-loc.span-2 { grid-column: span 2; }
    .dev-loc.span-tall { grid-row: span 1; }
    .dev-why-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .dev-home-hero-inner {
        grid-template-columns: 1fr;
        padding: 90px 20px 48px;
        min-height: auto;
        gap: 24px;
    }
    .dev-hero-right { height: 380px; order: -1; margin-top: 0; }
    .dev-hero-title { font-size: clamp(32px, 8vw, 48px); margin-bottom: 14px; }
    .dev-hero-lede { font-size: 0.98rem; margin-bottom: 22px; }
    .dev-hero-stats {
        gap: 14px 18px;
        margin-top: 22px;
        padding-top: 22px;
        border-top: 1px solid rgba(255,255,255,0.18);
    }
    .dev-hero-stat .num { font-size: 1.35rem; }
    .dev-hero-stat .lbl { font-size: 0.62rem; margin-top: 3px; }
    .dev-hero-search {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
        padding: 8px;
    }
    .dev-hero-search .sh-field {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 10px 14px;
    }
    .dev-hero-search .sh-field:nth-child(odd) { border-right: 1px solid var(--line); }
    .dev-hero-search-btn {
        grid-column: span 2;
        margin-left: 0;
        margin-top: 6px;
        min-height: 48px;
    }
    .dev-section { padding: 56px 0; }
    .dev-section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
    .dev-section-head p { font-size: 0.88rem; }
    .dev-why { padding: 36px 0; }
}
@media (max-width: 640px) {
    .dev-home-hero { min-height: 0; }
    .dev-home-hero-inner { padding: 80px 16px 40px; }
    .dev-hero-right { height: 320px; }
    .dev-hero-title { font-size: clamp(28px, 9vw, 40px); }
    .dev-hero-stats { gap: 10px 14px; }
    .dev-hero-stat { flex: 1 1 40%; }
    .dev-lodge-grid { grid-template-columns: 1fr; gap: 20px; }
    .dev-search-grid { grid-template-columns: 1fr; gap: 20px; }
    .dev-loc-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 14px; }
    .dev-loc.span-2 { grid-column: span 1; }
    .dev-why-row { grid-template-columns: 1fr; gap: 18px; }
    .dev-search-bar {
        grid-template-columns: 1fr;
    }
    .dev-search-bar .sh-field {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }
    .dev-search-bar-btn {
        margin-left: 0;
        margin-top: 6px;
        min-height: 48px;
    }
    .dev-filter-bar-inner { flex-direction: column; align-items: stretch; }
    .dev-filter-chips-active { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    .dev-filter-chips-active::-webkit-scrollbar { display: none; }
    .dev-sort { justify-content: flex-end; }
    .dev-container { padding: 0 16px; }
    .dev-search-hero { padding: 30px 0 20px; }
    .dev-search-hero h1 { font-size: 1.5rem; margin-bottom: 14px; }
    .dev-lodge-footer { flex-wrap: wrap; gap: 8px; }
    .dev-newsletter form { flex-direction: column; gap: 10px; }
    .dev-newsletter input[type="email"], .dev-newsletter button { width: 100%; }
    .dev-leaflet-marker .pin-dot { width: 36px; height: 36px; font-size: 0.8rem; }
    .dev-gallery-arrow { width: 30px; height: 30px; font-size: 0.7rem; }
    .dev-hero-stat { padding: 0 14px; }
    .dev-trust-strip { gap: 12px; margin-top: 12px; }
}

/* ============================================================
   SECTION VIEW-ALL LINK
   ============================================================ */
.dev-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--teal-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    padding: 9px 20px;
    border: 1.5px solid var(--teal);
    border-radius: 50px;
    transition: all 0.2s ease;
    white-space: nowrap;
    align-self: flex-end;
}
.dev-view-all:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: #fff;
}
