:root {
    --bg: #fff9f6;
    --surface: #ffffff;
    --surface-soft: #fff2ef;
    --brand: #d53e73;
    --brand-dark: #b73060;
    --text-main: #1f2436;
    --text-soft: #616779;
    --line: #f0e6e2;
    --shadow-soft: 0 16px 36px rgba(28, 26, 36, 0.08);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at 0% -10%, #ffe9de 0%, var(--bg) 35%), var(--bg);
    line-height: 1.45;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, calc(100% - 2.4rem));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: relative;
    z-index: 40;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #f4e8e3;
    backdrop-filter: blur(6px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
    background: linear-gradient(135deg, #e95484, #cf2f66);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.95rem;
    letter-spacing: -0.02em;
}

.brand-copy small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-soft);
}

.main-nav {
    display: none;
    align-items: center;
    gap: 1.2rem;
}

.main-nav a {
    font-size: 0.9rem;
    color: #43495b;
    padding: 0.36rem;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--brand);
}

.main-nav a.active {
    color: var(--brand);
    font-weight: 700;
    border-bottom: 2px solid var(--brand);
}

.cta-button {
    border-radius: 11px;
    padding: 0.76rem 1.06rem;
    font-size: 0.89rem;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #e24f80, #cc2f67);
    box-shadow: 0 10px 20px rgba(204, 47, 103, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(204, 47, 103, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.62rem;
}

.icon-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #22273a;
    background: #fff;
    border: 1px solid #eddfe3;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.icon-action:hover {
    background: #fff2f6;
    color: var(--brand);
}

.icon-action .material-symbols-rounded {
    font-size: 19px;
}

.hero-section {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    padding: 1rem 0 2.45rem;
    overflow: hidden;
}

.hero-image-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    animation: hero-image-fade 18s infinite ease-in-out;
    will-change: opacity, transform;
}

.hero-image-one {
    background-image: url('https://images.unsplash.com/photo-1477587458883-47145ed94245?auto=format&fit=crop&w=1900&q=85');
    animation-delay: 0s;
}

.hero-image-two {
    background-image: url('https://images.unsplash.com/photo-1578999935853-4ec5fa6c1f60?auto=format&fit=crop&w=1900&q=85');
    animation-delay: 6s;
    opacity: 0;
}

.hero-image-three {
    background-image: url('https://images.unsplash.com/photo-1599661046289-e31897846e41?auto=format&fit=crop&w=1900&q=85');
    animation-delay: 12s;
    opacity: 0;
}

@keyframes hero-image-fade {
    0%, 27% {
        opacity: 1;
        transform: scale(1.03);
    }
    33%, 94% {
        opacity: 0;
        transform: scale(1.07);
    }
    100% {
        opacity: 1;
        transform: scale(1.03);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
    linear-gradient(90deg, rgba(255, 245, 237, 0.96) 0%, rgba(255, 232, 212, 0.86) 42%, rgba(255, 217, 194, 0.2) 70%, rgba(26, 20, 32, 0.48) 100%),
        linear-gradient(180deg, rgba(255, 177, 135, 0.36) 0%, rgba(0, 0, 0, 0.18) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    padding-inline: clamp(0.2rem, 1.5vw, 1.4rem);
}

.hero-copy {
    max-width: min(100%, 610px);
    padding-top: 0.2rem;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 0.42rem;
    color: var(--brand-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.hero-copy h1 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: clamp(2.2rem, 4.7vw, 3.65rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #1b1f31;
    max-width: 10ch;
}

.hero-copy p {
    max-width: 520px;
    font-size: clamp(0.92rem, 2vw, 1.06rem);
    line-height: 1.5;
    margin: 0.7rem 0 0;
    color: #30374e;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
    overflow-wrap: anywhere;
}

.hero-stamp {
    margin: 0;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: right;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.38);
    line-height: 0.95;
    max-width: 280px;
    position: absolute;
    right: clamp(1rem, 3.5vw, 3rem);
    top: 62%;
    transform: translateY(-50%);
}

.search-section {
    margin-top: -2.35rem;
    position: relative;
    z-index: 5;
}

.search-section .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.search-bar {
    background: #fff;
    border: 2px solid #f2eaef;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    width: min(760px, 100%);
}

.search-bar input {
    border: 0;
    background: transparent;
    font-size: 1rem;
    padding: 1.1rem 1.2rem;
    color: var(--text-main);
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    border: 0;
    color: #fff;
    font-weight: 700;
    min-width: 160px;
    cursor: pointer;
    background: linear-gradient(135deg, #e45183, #c72f65);
}

.search-results {
    margin-top: 0.8rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.search-result-item {
    display: block;
    padding: 0.92rem 1rem;
    border-bottom: 1px solid var(--line);
}

.search-result-item:last-child {
    border-bottom: 0;
}

.search-result-item strong {
    display: block;
    margin-bottom: 0.2rem;
}

.search-result-item span {
    font-size: 0.88rem;
    color: var(--text-soft);
}

.recommendation-panel {
    margin-top: 2.15rem;
}

.recommend-card {
    border: 1px solid #f5e9e6;
    border-radius: 14px;
    background: linear-gradient(140deg, #fffefc, #fff4f0 72%);
    padding: 1.4rem 1.25rem;
}

.recommend-card h2,
.section-heading h2,
.inner-hero h1,
.place-detail-grid h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
    font-size: clamp(1.85rem, 4vw, 2.85rem);
}

.recommend-card > p {
    margin: 0.4rem 0 1.1rem;
    color: var(--text-soft);
}

.recommend-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.68rem;
}

.field-wrap label {
    display: block;
    margin-bottom: 0.38rem;
    font-size: 0.8rem;
    color: #555c6f;
    font-weight: 600;
}

.field-wrap select {
    width: 100%;
    border: 1px solid #e7dde0;
    border-radius: 9px;
    height: 42px;
    padding: 0 0.7rem;
    color: #33384d;
    background: #fff;
}

.plan-button {
    border: 0;
    border-radius: 9px;
    color: #fff;
    font-weight: 700;
    height: 42px;
    align-self: end;
    cursor: pointer;
    background: linear-gradient(135deg, #e24f80, #cc2f67);
    transition: filter 0.2s ease;
}

.plan-button:hover {
    filter: brightness(0.96);
}

.recommendation-results {
    margin-top: 0.95rem;
    display: grid;
    gap: 0.7rem;
}

.recommendation-item {
    border: 1px solid #f0e5e2;
    border-radius: 12px;
    padding: 0.78rem 0.9rem;
    background: #fff;
}

.recommendation-item h4 {
    margin: 0;
    font-size: 1rem;
}

.recommendation-item p {
    margin: 0.25rem 0 0;
    font-size: 0.89rem;
    color: var(--text-soft);
}

.section-block {
    padding: 1.2rem 0 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
    .hero-image-layer {
        animation: none;
    }

    .hero-image-one {
        opacity: 1;
    }

    .hero-image-two,
    .hero-image-three {
        opacity: 0;
    }
}

/* Keep the discovery content useful immediately on the homepage. */
.home-page .section-block {
    padding: 0.75rem 0 0.45rem;
}

.home-page .section-heading {
    margin-bottom: 0.72rem;
}

.home-page .popular-card {
    height: 120px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.2rem;
}

.section-heading p {
    margin: 0.3rem 0 0;
    color: var(--text-soft);
}

.section-heading a {
    color: var(--brand);
    font-weight: 700;
    font-size: 0.92rem;
}

.category-carousel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
}

.category-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.45rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
}

.category-row::-webkit-scrollbar {
    display: none;
}

.category-arrow {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #eadfe1;
    border-radius: 50%;
    color: var(--brand-dark);
    background: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(28, 26, 36, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.category-arrow:hover:not(:disabled) {
    color: #fff;
    background: var(--brand);
}

.category-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.category-arrow .material-symbols-rounded {
    font-size: 22px;
}

.category-chip {
    flex: 0 0 86px;
    min-width: 86px;
    text-align: center;
    scroll-snap-align: start;
    transition: transform 0.2s ease;
}

.category-chip:hover {
    transform: translateY(-1px);
}

.chip-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    margin-inline: auto;
    margin-bottom: 0.46rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 18px rgba(213, 64, 112, 0.11);
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, var(--chip-bg, #ffeff3) 72%);
}

.category-chip[data-category-slug="food-drinks"] .chip-icon,
.category-chip[data-category-slug="food-drinks"] .chip-icon { --chip-bg: #ffe8ee; --chip-fg: #d93967; }
.category-chip[data-category-slug="villas"] .chip-icon { --chip-bg: #ffedf2; --chip-fg: #db4a72; }
.category-chip[data-category-slug="hotels"] .chip-icon { --chip-bg: #edf2ff; --chip-fg: #315bbd; }
.category-chip[data-category-slug="cafes"] .chip-icon { --chip-bg: #fff2e2; --chip-fg: #a66a1f; }
.category-chip[data-category-slug="places-to-visit"] .chip-icon { --chip-bg: #f2ecff; --chip-fg: #5f46bf; }
.category-chip[data-category-slug="temples"] .chip-icon { --chip-bg: #fff0df; --chip-fg: #ab6822; }
.category-chip[data-category-slug="experiences"] .chip-icon { --chip-bg: #fff3e8; --chip-fg: #b4692d; }
.category-chip[data-category-slug="shopping"] .chip-icon { --chip-bg: #ffeef2; --chip-fg: #ce3f68; }
.category-chip[data-category-slug="nightlife"] .chip-icon { --chip-bg: #ebfaf8; --chip-fg: #1f8a83; }
.category-chip[data-category-slug="family"] .chip-icon { --chip-bg: #ecf4ff; --chip-fg: #2f5fbb; }
.category-chip[data-category-slug="couples"] .chip-icon { --chip-bg: #ffeef4; --chip-fg: #d34371; }
.category-chip[data-category-slug="budget"] .chip-icon { --chip-bg: #e9f8ef; --chip-fg: #2f9862; }
.category-chip[data-category-slug="itineraries"] .chip-icon { --chip-bg: #edf3ff; --chip-fg: #3459af; }

.chip-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.chip-fallback {
    display: none;
}

.chip-symbol {
    font-size: 28px;
    line-height: 1;
    color: var(--chip-fg, #be3964);
    font-variation-settings: 'wght' 600, 'FILL' 0;
}

.chip-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #3f475c;
    display: block;
    white-space: nowrap;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}

.popular-card {
    position: relative;
    height: 170px;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.popular-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(24, 25, 34, 0.18);
}

.popular-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

.popular-card h3 {
    position: absolute;
    left: 0.72rem;
    bottom: 0.62rem;
    right: 0.72rem;
    color: #fff;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.15;
    font-family: 'Playfair Display', serif;
}

.itinerary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    align-items: start;
}

.itinerary-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 92px 1fr;
    box-shadow: 0 8px 18px rgba(39, 34, 45, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    list-style: none;
}

.itinerary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(39, 34, 45, 0.12);
}

.itinerary-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.itinerary-copy {
    padding: 0.66rem;
}

.itinerary-kicker {
    display: inline-block;
    margin-bottom: 0.28rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 800;
}

.itinerary-copy h3 {
    margin: 0;
    font-size: 1.01rem;
}

.itinerary-copy p {
    margin: 0.25rem 0 0;
    color: var(--text-soft);
    font-size: 0.84rem;
}

.itinerary-hint {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.74rem;
    color: #8b4565;
    font-weight: 700;
}

.itinerary-hint::after {
    content: '+';
    margin-left: 0.35rem;
    font-size: 1rem;
    line-height: 1;
}

.itinerary-option-grid {
    display: grid;
    gap: 0.65rem;
}

.itinerary-option-card {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 0.7rem;
    align-items: start;
    padding: 0.6rem;
    background: #fff;
    border: 1px solid rgba(213, 62, 115, 0.14);
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.itinerary-option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(39, 34, 45, 0.08);
    border-color: rgba(213, 62, 115, 0.3);
}

.itinerary-option-card img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 12px;
}

.itinerary-option-copy h5 {
    margin: 0;
    font-size: 0.96rem;
}

.itinerary-option-copy p {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.itinerary-option-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.55rem;
}

.itinerary-option-meta span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6b5461;
    background: #fff4f7;
    border-radius: 999px;
    padding: 0.3rem 0.55rem;
}

.itinerary-variant-grid {
    display: grid;
    gap: 0.9rem;
}

.itinerary-variant-panel {
    display: grid;
    gap: 0;
}

.itinerary-variant-panel > summary {
    list-style: none;
    cursor: pointer;
}

.itinerary-variant-panel > summary::-webkit-details-marker {
    display: none;
}

.itinerary-variant-summary {
    background: #fff;
}

.itinerary-variant-panel[open] .itinerary-variant-summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 12px 24px rgba(39, 34, 45, 0.12);
}

.itinerary-variant-panel[open] .itinerary-hint::after {
    content: '-';
}

.itinerary-variant-drawer {
    display: grid;
    gap: 0.9rem;
    background: #fffaf7;
    border: 1px solid var(--line);
    border-top: none;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    padding: 0.9rem;
}

.itinerary-variant-day {
    display: grid;
    gap: 0.7rem;
}

.itinerary-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.itinerary-day-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.site-footer {
    margin-top: 3rem;
    border-top: 1px solid #f2e8e3;
    background: #fff;
}

.footer-top,
.footer-bottom {
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.88rem;
    color: #495066;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: #4e556a;
}

.footer-contact a {
    color: #4e556a;
}

.social-links {
    display: flex;
    gap: 0.42rem;
}

.social-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #eddfe3;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #50576a;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.social-links a:hover {
    background: #fff2f6;
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid #f5ebea;
    font-size: 0.86rem;
    color: #666f82;
}

.inner-page {
    padding-bottom: 2rem;
}

.inner-hero {
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    padding: 3rem 0 2rem;
    background: linear-gradient(160deg, #ffe7da, #fff7f5);
}

.image-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
}

.image-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-url);
    background-size: cover;
    background-position: center;
}

.image-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(26, 22, 34, 0.8), rgba(26, 22, 34, 0.34));
}

.image-hero .container {
    position: relative;
    z-index: 2;
}

.list-hero-eyebrow {
    color: #ffd5c7;
    font-weight: 800;
}

.inner-hero h1 {
    max-width: 18ch;
    margin: 0.35rem 0 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 8vw, 4rem);
    line-height: 1.05;
}

.inner-hero p:last-child {
    max-width: 58ch;
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
}

.list-intro {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.list-intro h2 {
    margin: 0.2rem 0 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 6vw, 2.25rem);
}

.list-intro > div > p:last-child {
    margin: 0.35rem 0 0;
    color: var(--text-soft);
}

.location-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin-inline: -0.6rem;
    padding: 0.25rem 0.6rem 0.65rem;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.location-tabs::-webkit-scrollbar {
    display: none;
}

.location-tab {
    min-height: 42px;
    flex: 0 0 auto;
    padding: 0.6rem 0.95rem;
    border: 1px solid #eadfe1;
    border-radius: 999px;
    color: #5c6478;
    background: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    scroll-snap-align: start;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.location-tab:hover,
.location-tab:focus-visible {
    border-color: rgba(213, 62, 115, 0.4);
    color: var(--brand-dark);
}

.location-tab:active {
    transform: scale(0.97);
}

.location-tab.is-active {
    border-color: var(--brand);
    color: #fff;
    background: var(--brand);
    box-shadow: 0 8px 16px rgba(213, 62, 115, 0.2);
}

.list-results {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.list-results.is-loading {
    opacity: 0.45;
    transform: translateY(4px);
}

.list-empty {
    padding: 1rem;
    border: 1px dashed #e7d9de;
    border-radius: 14px;
    color: var(--text-soft);
    background: #fff;
}

.place-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.place-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.place-card img {
    height: 140px;
    width: 100%;
    object-fit: cover;
}

.place-card-copy {
    padding: 0.7rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.72rem;
    margin: 0;
    color: #a03d67;
}

.place-card-copy h3 {
    margin: 0.25rem 0;
    font-size: 1rem;
}

.place-card-copy p {
    margin: 0.25rem 0;
    color: #5c6478;
    font-size: 0.88rem;
}

.place-card-copy .location {
    font-size: 0.86rem;
    color: #495066;
    font-weight: 700;
}

.place-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.place-card-meta .location {
    margin-bottom: 0;
}

.place-rating {
    flex: 0 0 auto;
    color: #ad691f;
    font-size: 0.78rem;
    font-weight: 800;
}

.place-card-copy .place-card-link,
.inline-link {
    color: var(--brand);
    font-weight: 700;
    font-size: 0.82rem;
}

.place-card-link span {
    display: inline-block;
    margin-left: 0.2rem;
    transition: transform 0.2s ease;
}

.place-card-link:hover span {
    transform: translateX(3px);
}

.timeline {
    display: grid;
    gap: 0.8rem;
}

.itinerary-selector {
    display: grid;
    gap: 0.7rem;
}

.slot-group {
    padding: 0.95rem;
    border: 1px solid rgba(82, 89, 108, 0.12);
    border-radius: 16px;
    background: #fff;
}

.slot-header {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.6rem;
}

.slot-group h3 {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #544d59;
    font-weight: 800;
}

.slot-description {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 60ch;
}

.slot-recommendations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.slot-recommendation {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    background: rgba(213, 62, 115, 0.12);
    border: 1px solid rgba(213, 62, 115, 0.24);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
}

.itinerary-detail-stack {
    display: grid;
    gap: 1rem;
}

.itinerary-detail-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 1rem;
    align-items: start;
}

.itinerary-detail-intro h2 {
    margin: 0.15rem 0 0.4rem;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.itinerary-detail-intro > div > p:last-child {
    margin: 0;
    color: var(--muted);
    max-width: 65ch;
}

.itinerary-intro-note {
    background: #fff7f2;
    border: 1px solid rgba(213, 62, 115, 0.12);
    border-radius: 18px;
    padding: 1rem;
}

.itinerary-intro-note strong {
    display: block;
    margin-bottom: 0.35rem;
}

.itinerary-intro-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.day-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff2e8;
    color: #b46b2d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
}


.itinerary-map-panel {
    display: grid;
    gap: 0.35rem;
}

.map-card {
    position: relative;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #f7f0f2, #eef3f5);
    border: 1px solid rgba(82, 89, 108, 0.16);
}

.map-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(118, 131, 151, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 131, 151, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
}

.map-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 28%, rgba(156, 166, 175, 0.55) 28% 29%, transparent 29% 100%),
        linear-gradient(18deg, transparent 0 46%, rgba(156, 166, 175, 0.55) 46% 47%, transparent 47% 100%),
        linear-gradient(90deg, transparent 0 58%, rgba(156, 166, 175, 0.55) 58% 59%, transparent 59% 100%);
}

.map-routes {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.map-routes::before,
.map-routes::after {
    content: '';
    position: absolute;
    left: 16%;
    top: 18%;
    width: 58%;
    height: 52%;
    border: 3px solid rgba(213, 62, 115, 0.8);
    border-color: rgba(213, 62, 115, 0.8) rgba(213, 62, 115, 0.8) transparent transparent;
    border-radius: 42% 58% 0 0;
    transform: rotate(16deg);
}

.map-routes::after {
    left: 42%;
    top: 22%;
    width: 32%;
    height: 48%;
    border-color: rgba(213, 62, 115, 0.8) transparent transparent rgba(213, 62, 115, 0.8);
    border-radius: 32% 0 0 52%;
    transform: rotate(18deg);
}

.map-pin {
    position: absolute;
    z-index: 3;
    background: rgba(255,255,255,0.96);
    color: var(--text);
    border: 1px solid rgba(213, 62, 115, 0.25);
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(26, 24, 38, 0.12);
}

.map-pin::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 0.45rem;
    vertical-align: middle;
    border-radius: 50%;
    background: var(--brand);
}

.pin-one { left: 14%; top: 30%; }
.pin-two { left: 52%; top: 16%; }
.pin-three { left: 60%; top: 60%; }

.map-caption {
    text-align: center;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.1rem;
}

.itinerary-preview {
    display: grid;
    min-height: 100%;
}

.itinerary-flow {
    position: relative;
    display: grid;
    gap: 0.8rem;
    padding-left: 1.2rem;
}

.itinerary-flow::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(213, 62, 115, 0.2), rgba(213, 62, 115, 0.8), rgba(213, 62, 115, 0.2));
}

.flow-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.flow-marker {
    position: absolute;
    left: -1rem;
    top: 1.1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(213, 62, 115, 0.12);
}

.flow-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.8rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.7rem;
    width: 100%;
}

.flow-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.flow-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flow-copy h4 {
    margin: 0.4rem 0 0.2rem;
    font-size: 1rem;
}

.flow-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.flow-time {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 700;
}

.place-detail-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1rem;
}

.detail-meta {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.9rem;
}

@media (max-width: 980px) {
    .place-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .popular-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .itinerary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .itinerary-detail-intro {
        grid-template-columns: 1fr;
    }

    .recommend-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plan-button {
        grid-column: 1 / -1;
    }
}

@media (min-width: 981px) {
    .main-nav {
        display: flex;
    }

    .list-intro {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .location-tabs {
        margin-inline: 0;
        padding-inline: 0;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(1200px, calc(100% - 1.2rem));
    }

    .hero-section {
        min-height: 180px;
        padding: 0.75rem 0 2.2rem;
    }

    .hero-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-stamp {
        display: none;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(1.7rem, 8vw, 2.25rem);
    }

    .hero-copy p {
        max-width: 100%;
        margin-top: 0.45rem;
        font-size: 0.84rem;
    }

    .search-section {
        margin-top: -2rem;
    }

    .search-bar button {
        min-width: 120px;
    }

    .hero-kicker {
        margin-bottom: 0.25rem;
        font-size: 0.6rem;
    }

    .home-page .section-block {
        padding: 0.65rem 0 0.3rem;
    }

    .home-page .section-heading {
        margin-bottom: 0.55rem;
    }

    .home-page .popular-card {
        height: 100px;
    }

    .home-page .section-heading p {
        display: none;
    }

    .home-page .category-chip {
        flex-basis: 68px;
        min-width: 68px;
    }

    .home-page .chip-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.25rem;
    }

    .home-page .chip-symbol {
        font-size: 23px;
    }

    .home-page .chip-label {
        font-size: 0.68rem;
    }

    .recommend-form,
    .place-grid,
    .place-detail-grid,
    .popular-grid,
    .itinerary-grid {
        grid-template-columns: 1fr;
    }

    .main-nav,
    .icon-action {
        display: none;
    }

    .header-actions {
        gap: 0;
    }

    .itinerary-card {
        grid-template-columns: 80px 1fr;
    }

    .itinerary-option-card {
        grid-template-columns: 72px 1fr;
    }

    .itinerary-option-card img {
        width: 72px;
        height: 72px;
    }

    .itinerary-day-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-contact {
        align-items: flex-start;
    }
}

@media (max-width: 1180px) {
    .hero-stamp {
        font-size: 1.55rem;
        max-width: 210px;
    }
}
