:root {
    --yellow: #f5c400;
    --ink: #16181d;
    --muted: #5c6670;
    --line: #e7ebf0;
    --soft: #f4f6f8;
    --footer: #101828;
    --max: 1160px;
    --shadow: 0 18px 50px rgba(16, 24, 40, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { letter-spacing: -.04em; margin: 0; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--yellow); color: var(--ink); border: 0; border-radius: 999px;
    padding: 12px 18px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.btn.dark { background: var(--ink); color: #fff; }
.btn.write { padding: 10px 16px; }

.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #f1f3f6; }
.nav { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; letter-spacing: -.05em; }
.sun {
    width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); position: relative; flex: 0 0 auto;
    box-shadow: 0 -8px 0 -6px var(--yellow), 0 8px 0 -6px var(--yellow), 8px 0 0 -6px var(--yellow), -8px 0 0 -6px var(--yellow);
}
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; font-weight: 700; font-size: 15px; }
.nav-links > a, .drop > a { padding: 8px 0; }
.drop { position: relative; }
.drop-panel {
    display: none; position: absolute; top: 100%; left: 0; min-width: 180px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
}
.drop-panel a { display: block; padding: 8px 10px; border-radius: 8px; font-weight: 600; }
.drop-panel a:hover { background: var(--soft); }
.drop:hover .drop-panel, .drop:focus-within .drop-panel { display: block; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 0; width: 42px; height: 42px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 8px; }

.hero {
    position: relative; min-height: 640px;
    background: #d7e7f2 url("/images/hero-coast.jpg") center 42% / cover no-repeat;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 30%, rgba(255,255,255,.18) 58%, rgba(255,255,255,0) 76%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: end; min-height: 640px; padding: 54px 0 42px; }
.hero h1 { font-size: clamp(52px, 6.4vw, 84px); line-height: .92; font-weight: 800; max-width: 640px; }
.hero h1 span { background: linear-gradient(transparent 58%, #ffe14a 58% 92%, transparent 92%); }
.lede { max-width: 420px; color: #2d3640; font-size: 18px; line-height: 1.45; margin: 18px 0 22px; }
.search {
    display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px;
    padding: 8px 8px 8px 16px; box-shadow: var(--shadow); max-width: 560px;
}
.search input { border: 0; outline: 0; flex: 1; min-width: 0; padding: 10px 6px; background: transparent; }
.pin { color: #98a2ad; display: flex; }
.ticks { display: flex; gap: 18px; padding: 0; margin: 18px 0 0; list-style: none; color: #243040; font-weight: 700; font-size: 14px; }
.ticks li::before { content: "✓ "; color: #14944d; }
.quote-card {
    justify-self: end; width: min(320px, 100%); background: #fff; border-radius: 22px;
    padding: 18px; box-shadow: var(--shadow); margin-bottom: 28px;
}
.quote-top { display: flex; gap: 10px; align-items: center; }
.quote-card p { margin: 12px 0 0; color: #2c3540; line-height: 1.45; }
.avatar {
    width: 36px; height: 36px; border-radius: 50%; background: #ffe9a3; display: inline-flex;
    align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto;
}
.avatar.lg { width: 46px; height: 46px; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: #e4e7ec; }
.stars svg.on { fill: var(--yellow); }
.quote-top strong { display: block; }

.cats { padding: 28px 0 8px; }
.cat-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cat-row a {
    background: var(--soft); border-radius: 18px; min-height: 108px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 13px; text-align: center; padding: 12px;
}
.cat-row a:hover { background: #eef1f4; }
.cat-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.section { padding: 34px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.more { font-weight: 800; }
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dest-card { position: relative; display: block; min-height: 320px; border-radius: 26px; overflow: hidden; background: #d5dde6; }
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72)); }
.dest-card span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; }
.dest-card strong { display: block; font-size: 28px; }
.dest-card small { display: block; opacity: .9; margin-top: 2px; }
.dest-card small::before { content: "📍 "; }

.stories { padding-top: 10px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; background: #fff; }
.pill.on, .pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.story-card { background: #fff; border: 1px solid #eef1f4; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(16,24,40,.05); display: flex; flex-direction: column; height: 100%; }
.story-photo { position: relative; aspect-ratio: 16/10; background: #dbe3ec; display: block; }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.chip { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800; }
.story-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.story-body h3 { font-size: 22px; line-height: 1.15; }
.story-body p { margin: 0; color: var(--muted); line-height: 1.45; }
.story-meta { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 8px; }
.story-meta strong, .story-meta small { display: block; }
.story-meta small { color: var(--muted); font-weight: 600; }

.banner {
    background: var(--yellow); border-radius: 28px; padding: 28px 32px; display: flex; align-items: center; gap: 22px;
}
.banner h2 { font-size: clamp(28px, 3vw, 40px); flex: 1; }
.polaroids { width: 92px; height: 72px; position: relative; flex: 0 0 auto; }
.polaroids span { position: absolute; width: 54px; height: 42px; background: #fff; border-radius: 8px; box-shadow: 0 8px 16px rgba(0,0,0,.12); }
.polaroids span:first-child { left: 0; top: 16px; transform: rotate(-8deg); }
.polaroids span:last-child { right: 0; top: 6px; transform: rotate(8deg); background: #fff7d0; }

.site-footer { background: var(--footer); color: #d5dbe6; padding: 48px 0 16px; margin-top: 10px; }
.logo.light { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.foot-grid h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.foot-grid a, .foot-grid p { display: block; color: #c5ceda; margin: 0 0 8px; line-height: 1.45; }
.news { display: flex; background: #fff; border-radius: 999px; overflow: hidden; margin-top: 12px; }
.news input { border: 0; padding: 12px 14px; flex: 1; min-width: 0; outline: 0; }
.news button { border: 0; background: var(--yellow); width: 46px; font-weight: 800; cursor: pointer; }
.legal { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px; padding: 16px 0; font-size: 13px; color: #9aa6b5; }
.legal a { margin-left: 14px; }

.page-hero { padding: 42px 0 10px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); margin: 8px 0; }
.kicker { color: var(--muted); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.narrow { max-width: 680px; }
.search.slim { margin-top: 18px; }
.count { font-weight: 700; color: var(--muted); }
.empty { background: var(--soft); border-radius: 16px; padding: 18px; }
.stack { display: grid; gap: 14px; margin-top: 18px; }
.stack label { display: grid; gap: 6px; font-weight: 700; }
.stack input, .stack select, .stack textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.alert { background: #e9f8ef; color: #0e7a3a; border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
.error { color: #b42318; margin: 0; }
.prose { max-width: 760px; line-height: 1.6; color: #2c3540; }
.prose h1, .prose h2 { color: var(--ink); margin-bottom: 8px; }
.detail { display: grid; grid-template-columns: 1.7fr .8fr; gap: 22px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.gallery img, .cover { width: 100%; height: 160px; object-fit: cover; border-radius: 18px; }
.gallery img:first-child { height: 340px; grid-column: 1 / -1; }
.side { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; height: fit-content; position: sticky; top: 96px; }
.side ul { padding-left: 18px; line-height: 1.7; }
.side .btn { width: 100%; margin-top: 8px; }
.review-list { display: grid; gap: 12px; }
.review-list article { border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.review-list h3 { margin: 8px 0; font-size: 18px; }
.review-list p { margin: 0 0 8px; color: #2c3540; line-height: 1.5; }
.pager { display: flex; gap: 12px; align-items: center; margin-top: 18px; font-weight: 800; }
.section.tight { padding-top: 12px; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); }
    .nav-links.open { display: flex; }
    .write { display: none; }
    .hero-grid, .dest-grid, .story-grid, .foot-grid, .detail, .cat-row { grid-template-columns: 1fr 1fr; }
    .cat-row { grid-template-columns: repeat(3, 1fr); }
    .foot-grid, .detail { grid-template-columns: 1fr; }
    .quote-card { justify-self: start; }
}
@media (max-width: 680px) {
    .hero { min-height: 0; }
    .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.55) 70%, rgba(255,255,255,.1)); }
    .dest-grid, .story-grid, .cat-row, .gallery { grid-template-columns: 1fr; }
    .gallery img, .gallery img:first-child { height: 220px; }
    .banner { flex-direction: column; align-items: flex-start; }
    .legal { flex-direction: column; }
    .section-head { align-items: flex-start; flex-direction: column; }
}
