.coast-page { --sand: #ffe6a0; --promenade: #fff8df; overflow-x: hidden; }
.coast-header { width: min(1380px, calc(100% - 40px)); }
.coast-primary-nav { display: flex; gap: 5px; margin-left: auto; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.coast-primary-nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: .82rem; font-weight: 800; text-decoration: none; }
.coast-primary-nav a.is-active { background: var(--sun); color: var(--text); }
.coast-main { width: min(1380px, calc(100% - 40px)); }
.coast-hero { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: clamp(30px, 7vw, 100px); align-items: end; min-height: 360px; padding: clamp(42px, 8vw, 90px); overflow: hidden; border-radius: 36px; background: linear-gradient(135deg, var(--sea-deep), #178bcd); color: #fff; box-shadow: var(--shadow); }
.coast-hero .section-kicker { color: var(--sun); }
.coast-hero h1 { margin: 12px 0 0; color: #fff; font-size: clamp(4rem, 9vw, 8.5rem); letter-spacing: -.08em; line-height: .76; }
.coast-hero > p { max-width: 450px; margin: 0; color: color-mix(in srgb, #fff 80%, transparent); font-size: clamp(1rem, 1.8vw, 1.27rem); }
.coast-hero-index { display: grid; gap: 4px; justify-items: center; color: color-mix(in srgb, #fff 65%, transparent); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.coast-hero-index strong { color: var(--sun); font-size: 4rem; line-height: .8; }
.coast-explorer { margin: 86px 0; }
.coast-explorer-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.coast-explorer-head h2 { margin: 5px 0 0; font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.065em; line-height: .9; }
.coast-controls { display: grid; justify-items: end; gap: 10px; }
.coast-view-switch { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.coast-view-switch button { padding: 8px 13px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; }
.coast-view-switch button.is-active { background: var(--sun); color: var(--text); }
.coast-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.coast-filters[hidden] { display: none; }
.coast-filters button { padding: 9px 12px 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); cursor: pointer; font-weight: 750; }
.coast-filters button span { display: inline-grid; min-width: 24px; height: 24px; margin-left: 6px; place-items: center; border-radius: 50%; background: var(--surface-soft); font-size: .72rem; }
.coast-filters button.is-active { border-color: var(--sea-deep); background: var(--sea-deep); color: #fff; }
.coast-filters button.is-active span { background: var(--sun); color: var(--text); }
.coast-workspace { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(310px, .72fr); overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: var(--surface); box-shadow: var(--shadow); }
.coast-map-stack { position: relative; min-width: 0; min-height: 690px; background: var(--sea); }
.coast-map-scroll { min-width: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scrollbar-width: auto; scrollbar-color: var(--sea-deep) color-mix(in srgb, var(--surface) 72%, transparent); cursor: grab; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.coast-map-scroll.is-dragging { cursor: grabbing; user-select: none; }
.coast-pan-controls { position: absolute; z-index: 16; inset: 50% 0 auto; pointer-events: none; }
.coast-pan-controls[hidden] { display: none; }
.coast-pan-button { position: absolute; display: grid; width: 48px; height: 48px; place-items: center; border: 2px solid var(--surface); border-radius: 50%; background: var(--sea-deep); color: #fff; cursor: pointer; pointer-events: auto; font-size: 1.35rem; font-weight: 900; box-shadow: var(--shadow); transform: translateY(-50%); }
.coast-pan-button.previous { left: 12px; }.coast-pan-button.next { right: 12px; }
.coast-pan-button:disabled { opacity: .26; cursor: default; }
.coast-map { position: relative; width: 1400px; min-width: 1400px; max-width: none; height: 690px; overflow: hidden; background: var(--sea); isolation: isolate; }
.coast-buildings { position: absolute; inset: 0 0 auto; height: 135px; background: #eaf5fc; }
.building { position: absolute; bottom: 0; width: 12%; border: 2px solid var(--sea-deep); border-bottom: 0; background: var(--surface); }
.building::after { content: ""; position: absolute; inset: 13px; background: repeating-linear-gradient(90deg, var(--sea-deep) 0 12px, transparent 12px 23px); opacity: .2; }
.b1 { left: 2%; height: 72px; }.b2 { left: 17%; height: 105px; }.b3 { left: 34%; height: 84px; }.b4 { left: 51%; height: 115px; }.b5 { left: 69%; height: 89px; }.b6 { left: 85%; height: 122px; }
.building-label { position: absolute; top: 12px; left: 16px; color: var(--muted); font-size: .67rem; font-weight: 850; letter-spacing: .13em; }
.coast-promenade { position: absolute; inset: 135px 0 auto; height: 169px; overflow: hidden; border-top: 3px solid #ead6aa; border-bottom: 4px solid var(--sun); background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--promenade) 96%, #d8b980) 0 78px, color-mix(in srgb, var(--promenade) 88%, #d8b980) 78px 80px); }
.coast-promenade::after { content: ""; position: absolute; left: 0; right: 0; top: 92px; border-top: 2px solid color-mix(in srgb, var(--sea-deep) 12%, transparent); }
.coast-promenade b { position: absolute; left: 4%; bottom: 14px; color: var(--sea-deep); font-size: 1.05rem; letter-spacing: .18em; }
.palm { position: absolute; z-index: 2; top: 45px; width: 6px; height: 52px; border-radius: 5px; background: #b97a3d; transform: rotate(4deg); transform-origin: bottom; }
.palm::before { content: ""; position: absolute; left: -25px; top: -19px; width: 56px; height: 34px; border-radius: 58% 42% 55% 45%; background: conic-gradient(from 10deg at 50% 75%, var(--safe) 0 18deg, transparent 18deg 48deg, var(--safe) 48deg 70deg, transparent 70deg 105deg, var(--safe) 105deg 130deg, transparent 130deg 165deg, var(--safe) 165deg 190deg, transparent 190deg 225deg, var(--safe) 225deg 249deg, transparent 249deg 285deg, var(--safe) 285deg 310deg, transparent 310deg 360deg); }
.p1{left:7%}.p2{left:23%}.p3{left:39%}.p4{left:55%}.p5{left:71%}.p6{left:87%}
.coast-sand { position: absolute; inset: 304px 0 auto; height: 215px; background: var(--sand); }
.coast-sand::before { content: ""; position: absolute; inset: 18px 0; background: radial-gradient(circle, rgba(184,126,20,.18) 1px, transparent 1.6px); background-size: 23px 20px; }
.coast-sand > span { position: absolute; left: 19px; bottom: 16px; color: color-mix(in srgb, var(--warning) 70%, transparent); font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.coast-sea { position: absolute; inset: 519px 0 0; overflow: hidden; background: linear-gradient(#1ca4dc, #0878bd); }
.coast-sea i { position: absolute; left: -5%; width: 110%; height: 34px; border-top: 3px solid rgba(255,255,255,.48); border-radius: 50%; }.coast-sea i:nth-child(1){top:20px}.coast-sea i:nth-child(2){top:72px;left:5%}.coast-sea i:nth-child(3){top:124px;left:-12%}
.coast-sea strong { position: absolute; right: 18px; bottom: 14px; color: rgba(255,255,255,.63); font-size: .66rem; letter-spacing: .15em; }
.breakwater { position: absolute; z-index: 2; top: 492px; width: 12px; height: 170px; border-radius: 10px; background: repeating-linear-gradient(#9a9b8a 0 13px, #c8c8b2 13px 26px); transform-origin: top; }.w1{left:11%;transform:rotate(18deg)}.w2{left:76%;transform:rotate(-13deg)}.w3{left:96%;transform:rotate(18deg)}
.waterpark-shape { position: absolute; z-index: 3; top: 590px; left: 49%; width: 130px; height: 60px; }
.waterpark-shape i { position: absolute; width: 44px; height: 30px; border: 6px solid var(--sun); border-radius: 50%; }.waterpark-shape i:nth-child(2){left:35px;border-color:var(--coral)}.waterpark-shape i:nth-child(3){left:70px;border-color:#fff}.waterpark-shape i:nth-child(4){left:100px;border-color:var(--sun)}
.coast-pin { position: absolute; z-index: 8; top: var(--y); left: var(--x); display: grid; width: 43px; height: 43px; place-items: center; border: 3px solid var(--surface); border-radius: 50% 50% 50% 10%; background: var(--sea-deep); color: #fff; cursor: pointer; font-size: .72rem; font-weight: 900; box-shadow: 0 8px 18px rgba(16,47,78,.22); transform: translate(-50%,-50%) rotate(-45deg); transition: opacity .2s, transform .2s; }
.coast-pin span { transform: rotate(45deg); }.coast-pin:hover,.coast-pin.is-active { transform: translate(-50%,-50%) rotate(-45deg) scale(1.16); }.coast-pin.is-active { background: var(--coral); box-shadow: 0 0 0 7px color-mix(in srgb, var(--sun) 66%, transparent); }
.pin-cafe,.pin-food{background:#102f4e}.pin-beach{background:var(--warning)}.pin-water{background:var(--coral)}.pin-access{background:var(--safe)}.coast-pin[hidden]{display:none}
.coast-place-card { display: grid; grid-template-rows: 250px 1fr; min-width: 0; border-left: 1px solid var(--line); background: var(--surface); }
.coast-card-visual { position: relative; display: grid; overflow: hidden; place-items: center; background: linear-gradient(135deg, var(--sea-deep), var(--sea)); color: #fff; }
.coast-card-visual::before,.coast-card-visual::after { content:""; position:absolute; border: 3px solid rgba(255,255,255,.62); border-radius: 50%; }.coast-card-visual::before{width:180px;height:180px;right:-70px;top:-80px}.coast-card-visual::after{width:90px;height:90px;left:-30px;bottom:-30px}
.coast-card-visual > span { position: relative; z-index: 1; color: rgba(255,255,255,.78); font-size: .67rem; font-weight: 900; letter-spacing: .13em; text-align: center; }
.coast-card-visual > div { position: absolute; right: 18px; bottom: -36px; color: var(--sun); font-size: 9rem; font-weight: 900; line-height: 1; transform: rotate(-8deg); }
.coast-card-visual.type-food{background:linear-gradient(145deg,#102f4e,#e55b50)}.coast-card-visual.type-beach{background:linear-gradient(145deg,#d49a21,#ffd45c);color:var(--text)}.coast-card-visual.type-access{background:linear-gradient(145deg,#0d7650,#31b982)}
.coast-card-copy { display: grid; align-content: start; padding: 28px; }
.coast-card-meta { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.coast-card-meta span:first-child { color: var(--coral); }
.coast-card-copy h3 { margin: 14px 0 10px; font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -.06em; line-height: .9; }
.coast-card-copy > p { min-height: 74px; margin: 0 0 19px; color: var(--muted); font-size: .92rem; }
.coast-card-copy dl { display: grid; gap: 8px; margin: 0 0 22px; }
.coast-card-copy dl div { display: flex; justify-content: space-between; gap: 20px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .76rem; }.coast-card-copy dt{color:var(--muted)}.coast-card-copy dd{margin:0;text-align:right;font-weight:750}
.coast-card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }.coast-card-actions button{min-height:46px;border:0;border-radius:999px;background:var(--sea-deep);color:#fff;cursor:pointer;font-weight:850}.coast-card-actions button span{color:var(--sun)}.coast-card-actions .save-place{width:46px;border:1px solid var(--line);background:var(--surface);color:var(--sea-deep);font-size:1.35rem}
.coast-card-copy small { margin-top: 15px; color: var(--muted); font-size: .64rem; }
.coast-accuracy-view, #coast-geo-map { position: absolute; inset: 0; }
.coast-accuracy-view { z-index: 20; background: var(--surface-soft); }
.coast-accuracy-view[hidden] { display: none; }
#coast-geo-map { min-height: 690px; }
.coast-accuracy-legend { position: absolute; z-index: 4; left: 18px; bottom: 18px; display: grid; max-width: min(420px, calc(100% - 36px)); gap: 5px; padding: 15px 18px; border: 1px solid color-mix(in srgb, var(--line) 75%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.coast-accuracy-legend strong { font-size: .84rem; }.coast-accuracy-legend span { color: var(--muted); font-size: .73rem; }.coast-accuracy-legend small { color: var(--muted); font-size: .59rem; }
.coast-accuracy-legend i { display: inline-block; width: 26px; margin-right: 6px; border-top: 4px solid var(--coral); vertical-align: middle; }
.coast-map-loading { position: absolute; z-index: 5; top: 18px; left: 50%; padding: 9px 14px; border-radius: 999px; background: var(--text); color: var(--surface); font-size: .7rem; font-weight: 800; transform: translateX(-50%); }
.coast-map-loading[hidden] { display: none; }
.maplibregl-ctrl-bottom-right { right: 8px; bottom: 8px; }.maplibregl-ctrl-attrib { font-size: 9px; }.maplibregl-ctrl-scale { border-color: var(--text); color: var(--text); font-weight: 800; }
.coast-swipe-hint { display: none; color: var(--muted); font-size: .72rem; text-align: center; }
.coast-field-note { margin-bottom: 90px; padding: clamp(36px, 7vw, 74px); border-radius: 34px; background: var(--sun); }
.coast-field-note h2 { max-width: 850px; margin: 10px 0 34px; font-size: clamp(3.2rem, 7vw, 7rem); letter-spacing: -.075em; line-height: .81; }
.coast-field-note > div { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; border-top: 2px solid color-mix(in srgb, var(--text) 18%, transparent); padding-top: 22px; }.coast-field-note p{max-width:650px;margin:0;font-size:1.05rem}.coast-field-note span{font-size:.78rem;font-weight:850;line-height:1.9}
.coast-footer { width: min(1380px, calc(100% - 40px)); }
@media (max-width: 900px) { .coast-header{align-items:flex-start}.coast-primary-nav{order:3;margin:0}.coast-hero{grid-template-columns:1fr;min-height:0}.coast-hero-index{display:none}.coast-explorer-head{align-items:flex-start;flex-direction:column}.coast-controls{justify-items:start}.coast-filters{justify-content:flex-start}.coast-workspace{grid-template-columns:1fr}.coast-map-stack,#coast-geo-map{min-height:620px}.coast-map{height:620px}.coast-place-card{grid-template-columns:.8fr 1.2fr;grid-template-rows:auto;border-top:1px solid var(--line);border-left:0}.coast-swipe-hint{display:block}.coast-field-note>div{grid-template-columns:1fr}.coast-footer{width:min(100% - 24px,1380px)} }
@media (max-width: 620px) { .coast-header,.coast-main{width:min(100% - 24px,1380px)}.coast-primary-nav{width:100%}.coast-primary-nav a{flex:1;text-align:center}.coast-hero{padding:36px 24px;border-radius:25px}.coast-hero h1{font-size:4.25rem}.coast-view-switch{width:100%}.coast-view-switch button{flex:1}.coast-workspace{border-radius:24px}.coast-map-stack,#coast-geo-map{min-height:560px}.coast-map{height:560px;transform-origin:top left}.coast-place-card{grid-template-columns:1fr;grid-template-rows:190px auto}.coast-card-copy{padding:24px}.coast-card-copy>p{min-height:0}.coast-accuracy-legend{bottom:28px}.coast-field-note{padding:34px 24px;border-radius:24px}.coast-field-note h2{font-size:3.35rem}.coast-field-note>div{gap:24px}.coast-footer{width:min(100% - 24px,1380px)} }
@media (prefers-color-scheme: dark) { .coast-page{--promenade:#18334a;--sand:#5b4b25}.coast-buildings{background:#0b2135}.building::after{opacity:.38} }
