:root {
  color-scheme: light;
  --cream: #F3F4EA;
  --cream-light: var(--cream);
  --brown: #86501e;
  --brown-dark: #6d3e16;
  --brown-muted: #a77a4f;
  --green: #c2edda;
  --ink: #3c2b1d;
  --map-line: #b9c9d1;
  --shadow: 0 18px 54px rgba(58, 37, 18, .2);
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
h1, h2, h3, h4, h5, h6 { color: var(--brown); }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; overflow: hidden; }
.topbar { position: relative; z-index: 4; min-height: 106px; padding: 18px clamp(22px, 4vw, 62px); display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--cream-light); border-bottom: 1px solid rgba(134, 80, 30, .12); }
.brand { display: inline-flex; align-items: center; color: var(--brown); text-decoration: none; min-width: 0; }
.brand-logo { display: block; width: clamp(225px, 29vw, 350px); height: auto; max-width: 100%; }
.instagram-link { color: var(--brown); width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; }
.instagram-link svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2; }
.instagram-dot { fill: currentColor; stroke: none; }
.filter-strip { z-index: 4; min-width: 0; width: 100%; max-width: 100%; min-height: 108px; display: flex; align-items: center; gap: 12px; padding: 22px clamp(22px, 4vw, 62px) 26px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x; background: var(--cream-light); scrollbar-width: none; }
.filter-strip::-webkit-scrollbar { display: none; }
.quick-filter { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 10px 20px; border: 1.5px solid var(--brown); border-radius: 999px; background: transparent; color: var(--brown-dark); font-weight: 700; font-size: 17px; white-space: nowrap; cursor: pointer; transition: background .18s, color .18s, transform .18s; }
.quick-filter:hover:not(.is-selected) { background: var(--brown); color: var(--cream-light); transform: translateY(-1px); }
.quick-filter.is-selected { background: var(--brown); color: var(--cream-light); transform: translateY(-1px); }
.quick-filter-all { border-width: 2px; }
.quick-filter-all.is-selected { background: var(--brown); color: var(--cream-light); }
.quick-filter-open-now { border-width: 2.5px; font-weight: 800; }
.quick-filter-open-now.is-selected { border: 3px solid #478b5b; background: #edf5e9; color: var(--brown-dark); }
.filter-trigger { width: 54px; padding: 8px; }
.filter-trigger img { display: block; width: 29px; height: 12px; object-fit: contain; }
.filter-trigger:hover img { filter: brightness(0) invert(1); }
.map-stage { position: relative; min-height: 440px; overflow: hidden; background: var(--cream); }
.map-canvas, .interactive-map, .map-placeholder { position: absolute; inset: 0; }
.interactive-map { opacity: 0; z-index: 1; transition: opacity .3s; background: var(--cream); }
.interactive-map.is-ready { opacity: 1; }
.leaflet-container { width: 100%; height: 100%; font-family: "DM Sans", sans-serif; }
.leaflet-control-attribution { font-size: 10px !important; background: var(--cream) !important; }
.leaflet-control-attribution a { color: #526978; }
.place-cluster { border: 2px solid var(--cream); border-radius: 50%; background: var(--brown); box-shadow: 0 2px 8px rgba(44,26,12,.28); color: var(--cream); display: grid; place-items: center; }
.place-cluster span { font-size: 13px; font-weight: 700; line-height: 1; }
.venue-div-icon { border: 0; background: transparent; }
.venue-pin { display: grid; width: 40px; height: 48px; place-items: end center; filter: drop-shadow(0 2px 2px rgba(44,26,12,.24)); }
.venue-pin svg { display: block; width: 24px; height: 34px; overflow: visible; }
.user-location-icon { border: 0; background: transparent; }
.map-placeholder { overflow: hidden; background: var(--cream); }
.street-grid { position: absolute; inset: -25% -15%; transform: rotate(-27deg) scale(1.17); background-color: var(--cream); background-image: linear-gradient(90deg, transparent 0 47px, var(--map-line) 48px 54px, transparent 55px 100px), linear-gradient(0deg, transparent 0 54px, var(--map-line) 55px 61px, transparent 62px 110px); background-size: 128px 112px; }
.street-grid::after { content: ""; position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(90deg, transparent 0 8px, #d8e0e4 9px 12px, transparent 13px 100%), linear-gradient(0deg, transparent 0 24px, #d8e0e4 25px 28px, transparent 29px 100%); background-size: 264px 230px; }
.park-shape { position: absolute; z-index: 1; width: min(55vw, 570px); aspect-ratio: 1.65; left: 38%; top: 29%; transform: translate(-50%, -5%) rotate(-10deg); border: 6px solid #b4d9c7; border-radius: 47% 42% 45% 42%; background: #c5f0db; box-shadow: inset 0 0 0 4px rgba(87, 176, 131, .17); display: grid; place-items: center; color: #22835c; font-weight: 600; font-size: clamp(13px, 1.4vw, 19px); }
.park-shape::before, .park-shape::after { content: ""; position: absolute; width: 34%; height: 42%; border: 1.5px solid rgba(79, 173, 130, .3); border-radius: 50%; }
.park-shape::after { transform: rotate(50deg); width: 57%; height: 62%; }
.street-label { position: absolute; z-index: 2; color: #526978; font-weight: 700; font-size: clamp(12px, 1.2vw, 16px); text-shadow: 0 1px 2px #fff; }
.label-one { top: 40%; left: 59%; transform: rotate(61deg); }
.label-two { top: 62%; left: 58%; transform: rotate(-13deg); }
.label-three { top: 54%; left: 29%; transform: rotate(63deg); }
.label-four { top: 17%; left: 30%; transform: rotate(-21deg); }
.road-line { position: absolute; z-index: 1; width: 140%; height: 27px; top: 81%; left: -20%; transform: rotate(-26deg); border-block: 2px solid #cad5da; background: #e6e9e9; }
.map-credit { position: absolute; z-index: 2; right: 12px; bottom: 11px; padding: 5px 8px; border-radius: 4px; background: var(--cream); color: #66727a; font-size: 10px; }
.map-credit-error { top: 50%; right: 20px; bottom: auto; left: 20px; width: fit-content; max-width: min(520px, calc(100% - 40px)); margin: 0 auto; padding: 13px 17px; border: 1px solid rgba(135,75,23,.18); border-radius: 12px; color: #563616; background: var(--cream); box-shadow: 0 6px 24px rgba(44,31,20,.12); font-size: 13px; line-height: 1.45; text-align: center; transform: translateY(-50%); }
.map-marker { position: absolute; z-index: 3; left: 54%; top: 45%; width: 66px; height: 80px; padding: 0; border: 0; background: transparent; cursor: pointer; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 4px rgba(44, 26, 12, .25)); animation: marker-in .4s ease-out both; }
.map-marker.marker-filtered { display: none; }
.marker-pin { position: relative; width: 54px; height: 54px; margin: 0 auto; display: grid; place-items: center; color: var(--cream-light); background: var(--brown); border: 4px solid var(--cream-light); border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); }
.marker-pin span { font: 800 23px/1 "Manrope", sans-serif; transform: rotate(45deg); }
.map-custom-marker { position: absolute; z-index: 1; top: 0; left: 11px; width: 44px; height: 48px; max-width: none; object-fit: contain; }
.marker-pulse { position: absolute; left: 50%; top: 23px; width: 44px; height: 44px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(134, 80, 30, .17); animation: pulse 1.8s ease-out infinite; }
.locate-map { position: absolute; z-index: 3; right: 18px; bottom: 22px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--cream-light); color: var(--brown); box-shadow: 0 3px 12px rgba(44, 31, 20, .2); cursor: pointer; }
.locate-map svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.place-backdrop { position: fixed; z-index: 6; inset: 0; background: rgba(103,101,97,.58); mix-blend-mode: multiply; opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s; }
.place-backdrop.is-visible { opacity: 1; visibility: visible; }
.place-card { position: fixed; z-index: 7; top: 50%; left: 50%; right: auto; width: min(398px, calc(100vw - 32px)); height: min(760px, calc(100dvh - 48px)); max-height: min(760px, calc(100dvh - 48px)); display: flex; flex-direction: column; border-radius: 28px; background: var(--cream); box-shadow: var(--shadow); overflow: hidden; transform: translate(-50%, calc(-50% + 24px)); opacity: 0; visibility: hidden; transition: transform .27s ease, opacity .24s ease, visibility .24s; }
.place-card.is-open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; }
.card-close, .sheet-close { position: absolute; z-index: 2; top: 13px; right: 17px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; color: var(--brown); background: var(--cream); font: 300 36px/1 "DM Sans", sans-serif; cursor: pointer; }
.card-scroll { display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column; padding: 26px 27px 8px; overflow: hidden; }
.place-heading { flex: 0 0 auto; padding: 0 16px 0 1px; color: var(--brown); }
.eyebrow { margin: 0 0 9px; color: var(--brown-muted); text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 700; }
.place-heading h1 { margin: 0; font: 800 clamp(32px, 3.5vw, 42px)/1.08 "Manrope", sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.place-subcategory { margin: 7px 0 0; color: var(--brown-muted); text-transform: uppercase; letter-spacing: .085em; font: 800 15px/1.15 "Manrope", sans-serif; }
.place-meta { margin-top: 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; }
.place-meta strong { font: 700 15px "DM Sans", sans-serif; }
.place-meta span { flex: 0 0 auto; font-size: 12px; }
.card-panel { flex: 1 1 auto; min-height: 0; padding: 8px 0 5px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; scrollbar-width: thin; scrollbar-color: rgba(134,80,30,.24) transparent; }
.card-panel[hidden] { display: none; }
.card-panel[data-panel="info"]:not([hidden]) { display: flex; flex-direction: column; overflow: hidden; }
.cover-frame { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: 18px; background: var(--cream); }
/* Regla global para toda ficha: la portada llena la caja en alto; si hace falta, se recorta de los costados. */
.cover-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.cover-frame img.is-hidden { display: none; }
.cover-favorite { position: absolute; z-index: 2; top: 12px; right: 12px; width: 52px; height: 52px; display: grid; place-items: center; padding: 10px; border: 3px solid var(--brown); border-radius: 50%; color: var(--brown); background: var(--cream); box-shadow: 0 3px 12px rgba(44,26,12,.2), 0 0 0 2px rgba(245,237,226,.72); cursor: pointer; transition: color .18s, background .18s, transform .18s; }
.cover-favorite:hover { transform: scale(1.06); }
.cover-favorite svg { width: 100%; height: 100%; fill: transparent; stroke: currentColor; stroke-width: 1.95; stroke-linecap: round; stroke-linejoin: round; transform-origin: center; animation: cover-heartbeat 2.8s ease-in-out infinite; }
.cover-favorite.is-favorite { color: var(--cream); background: var(--brown); }
.cover-favorite.is-favorite svg { fill: currentColor; }
.cover-visited { position: absolute; z-index: 2; top: 72px; right: 12px; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; overflow: hidden; border: 3px solid var(--brown); border-radius: 50%; color: var(--brown); background: var(--cream); box-shadow: 0 3px 12px rgba(44,26,12,.2), 0 0 0 2px rgba(245,237,226,.72); cursor: pointer; transition: color .18s, background .18s, transform .18s; }
.cover-visited:hover { transform: scale(1.06); }
.cover-visited img { position: absolute; top: 50%; left: 50%; width: 25px; height: 29px; display: block; object-fit: contain; object-position: center; transform: translate(-50%, -50%); }
.cover-visited.is-visited { background: var(--brown); }
.cover-visited.is-visited img { filter: brightness(0) invert(1); }
@keyframes cover-heartbeat { 0%, 100% { transform: scale(1); } 45% { transform: scale(1); } 55% { transform: scale(1.11); } 67% { transform: scale(1.025); } 78% { transform: scale(1.075); } }
@media (prefers-reduced-motion: reduce) { .cover-favorite svg { animation: none; } }
.cover-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; color: var(--brown); text-align: center; font: 700 20px/1.2 "Manrope", sans-serif; }
.cover-fallback.is-hidden { display: none; }
.cover-fallback small { font: 500 12px "DM Sans", sans-serif; }
.cover-mark { width: 60px; height: 60px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font: 800 35px "Manrope", sans-serif; }
.curiosity-panel { padding: 26px 2px 10px; }
.card-panel.photos-panel:not([hidden]) { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 8px 0 5px; }
.photos-grid { position: relative; display: block; flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: 18px; background: var(--cream); }
.place-photo { min-width: 0; margin: 0; overflow: hidden; background: var(--cream); }
.place-photo-single { width: 100%; height: 100%; }
.place-photo-single img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photos-status { position: absolute; right: 16px; bottom: 15px; left: 16px; z-index: 2; margin: 0; padding: 10px 12px; border: 1.5px solid var(--brown); border-radius: 14px; color: var(--brown); background: var(--cream); font-size: 12px; line-height: 1.45; text-align: center; }
.photos-status:empty { display: none; }
.photos-status:not(:empty) { top: 50%; bottom: auto; transform: translateY(-50%); }
.card-panel h2 { margin: 0 0 19px; color: var(--brown); font: 800 24px/1.1 "Manrope", sans-serif; letter-spacing: -.03em; }
.curiosity-list { margin: 0; padding: 0 0 0 19px; color: #64492f; font-size: 16px; line-height: 1.55; }
.curiosity-list li { margin: 0 0 14px; padding-left: 3px; }
.curiosity-list li::marker { color: var(--brown); font-weight: 700; }
.photo-review-panel { position: absolute; right: 14px; bottom: 14px; left: 14px; z-index: 2; display: grid; gap: 7px; }
.rating-row { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(134,80,30,.72); border-radius: 14px; color: var(--brown); background: var(--cream); white-space: nowrap; }
.rating-row strong { font: 800 clamp(23px, 6.2vw, 30px)/1 "Manrope", sans-serif; letter-spacing: -.05em; }
.rating-stars { display: flex; gap: 1px; color: #f5b400; font-size: clamp(15px, 4.6vw, 22px); line-height: 1; letter-spacing: .01em; }
.rating-stars .is-empty { color: #d2d2cc; }
.rating-count { min-width: 0; margin-left: auto; color: var(--brown); font: 600 clamp(10px, 3vw, 14px)/1.15 "DM Sans", sans-serif; text-align: right; white-space: normal; }
.review-link { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; border: 1px solid rgba(134,80,30,.72); border-radius: 14px; color: var(--brown); background: var(--cream); text-decoration: none; font: 600 clamp(14px, 4vw, 18px)/1.1 "DM Sans", sans-serif; }
.review-link span { flex: 0 0 auto; font-size: 21px; font-weight: 400; }
.review-link:hover { border-color: var(--brown); background: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.google-attribution { margin: 12px 0 0; color: #8a7866; font-size: 10px; }
.card-pagination { flex: 0 0 27px; height: 27px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.page-dot { width: 12px; height: 12px; padding: 0; border: 2px solid var(--brown); border-radius: 50%; background: transparent; cursor: pointer; }
.page-dot.active { background: var(--brown); }
.card-actions { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 8px 25px 22px; }
.action-button { width: 51px; height: 51px; display: grid; place-items: center; padding: 11px; border: 2px solid var(--brown); border-radius: 50%; color: var(--brown); background: transparent; cursor: pointer; transition: color .16s, background .16s, transform .16s; text-decoration: none; }
.action-button:hover { color: var(--cream); background: var(--brown); transform: translateY(-2px); }
.action-button svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action-button.is-favorite { color: var(--cream); background: var(--brown); }
.action-button.is-favorite svg { fill: currentColor; }
.google-marker-content { position: absolute; width: 40px; height: 48px; display: grid; place-items: end center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.google-marker-content svg { display: block; width: 24px; height: 34px; overflow: visible; filter: drop-shadow(0 2px 2px rgba(44,26,12,.24)); }
.google-marker-content.google-marker-custom-icon { width: 58px; height: 44px; place-items: center; }
.google-marker-content .custom-place-marker-icon { width: 52px; height: 36px; }
.google-place-pin { position: absolute; left: -28px; top: -7px; width: 110px; height: 78px; max-width: none; object-fit: fill; }
.google-place-pin-fallback { position: absolute; top: 4px; left: 2px; width: 50px; height: 50px; border: 4px solid var(--cream); border-radius: 50% 50% 50% 8px; background: var(--brown); color: var(--cream); display: grid; place-items: center; font: 800 23px "Manrope"; transform: rotate(-45deg); }
.user-map-marker { display: block; width: 18px; height: 18px; border: 4px solid white; border-radius: 50%; background: #2876d2; box-shadow: 0 0 0 8px rgba(40,118,210,.2), 0 1px 5px rgba(0,0,0,.35); }
.bottom-bar { position: relative; z-index: 4; min-height: 102px; padding: 11px clamp(18px, 7vw, 120px) 11px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 46px auto; align-items: center; justify-items: center; gap: 3px 8px; color: var(--cream-light); background: var(--brown); }
.footer-action, .footer-project { width: 100%; min-height: 44px; padding: 5px 4px; display: grid; place-items: center; border: 0; color: var(--cream-light); background: transparent; font: 600 15px/1.2 "DM Sans", sans-serif; letter-spacing: 0; cursor: pointer; transition: opacity .18s, transform .18s; }
.footer-action:hover, .footer-project:hover, .footer-action:focus-visible, .footer-project:focus-visible { opacity: .82; transform: translateY(-1px); outline: 0; }
.footer-label { display: none; font-size: 11px; }
.footer-email { grid-column: 1 / -1; align-self: end; color: var(--cream-light); text-decoration: none; font-weight: 600; font-size: 14px; }
.footer-email:hover { text-decoration: underline; }
.sheet-backdrop { position: fixed; z-index: 9; inset: 0; background: rgba(103,101,97,.58); mix-blend-mode: multiply; }
.bottom-sheet { position: fixed; z-index: 10; top: 50%; left: 50%; right: auto; bottom: auto; width: min(398px, calc(100vw - 32px)); height: min(760px, calc(100dvh - 48px)); max-height: min(760px, calc(100dvh - 48px)); padding: 27px; display: flex; flex-direction: column; border-radius: 28px; background: var(--cream); box-shadow: var(--shadow); transform: translate(-50%, calc(-50% + 24px)); opacity: 0; visibility: hidden; transition: transform .27s ease, opacity .24s ease, visibility .24s; overflow: hidden; }
.bottom-sheet.is-open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; }
.bottom-sheet h2 { flex: 0 0 auto; margin: 0 42px 18px 0; color: var(--brown); font: 800 clamp(28px, 3vw, 37px)/1.05 "Manrope", sans-serif; letter-spacing: -.04em; }
.sheet-close { top: 13px; right: 17px; background: transparent; }
.sheet-content { flex: 1 1 auto; min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; color: var(--brown); }
.about-project { display: grid; gap: 20px; padding-bottom: 20px; }
.about-hero { width: 100%; aspect-ratio: 736 / 900; margin: 0; overflow: hidden; background: transparent; }
.about-hero img { width: 100%; height: auto; display: block; }
.about-copy { display: grid; gap: 14px; color: var(--brown); font-size: 15px; line-height: 1.58; }
.about-copy p { margin: 0; }
.about-copy a { color: var(--brown); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.about-title { margin: 0; color: var(--brown); font: 700 23px/1.2 "Manrope", sans-serif; letter-spacing: -.03em; }
.about-lead { font: 700 20px/1.28 "Manrope", sans-serif; letter-spacing: -.025em; }
.sheet-intro, .empty-state { color: #755b43; font-size: 14px; line-height: 1.55; }
.search-label { display: block; margin: 0 0 7px; color: #755b43; font-size: 13px; }
.place-search-input { width: 100%; min-height: 48px; padding: 8px 2px; border: 0; border-bottom: 1.5px solid rgba(134,80,30,.62); border-radius: 0; outline-color: var(--brown); color: var(--brown-dark); background: transparent; font: 500 21px/1.2 "DM Sans", sans-serif; }
.place-search-input::placeholder { color: #927b63; opacity: .8; }
.search-result-count { min-height: 18px; margin: 14px 0 5px; color: #927b63; font-size: 11px; }
.place-search-results { display: grid; }
.search-result { width: 100%; min-width: 0; padding: 12px 3px; display: grid; gap: 4px; border: 0; border-bottom: 1px solid rgba(134,80,30,.16); color: var(--brown-dark); background: transparent; text-align: left; cursor: pointer; }
.search-result:hover, .search-result:focus-visible { outline: 0; background: rgba(134,80,30,.07); }
.search-result-name { font: 700 15px/1.3 "Manrope", sans-serif; }
.search-result-detail { color: #846d57; font-size: 12px; line-height: 1.4; }
.filter-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.filter-option { min-width: 0; min-height: 49px; padding: 8px 11px; display: flex; align-items: center; justify-content: flex-start; gap: 7px; border: 1px solid rgba(134,80,30,.25); border-radius: 13px; color: var(--brown-dark); background: var(--cream); text-align: left; font-size: 12px; font-weight: 600; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.filter-option.is-selected { border-color: var(--brown); background: var(--brown); background-image: none; color: var(--cream-light); }
.filter-option-highlight { border: 2.5px solid var(--brown); font-weight: 800; box-shadow: 0 0 0 2px rgba(134,80,30,.08); }
.filter-option-highlight.is-selected { border: 3px solid var(--brown); box-shadow: none; }
.open-now-dot { display: inline-block; width: 9px; height: 9px; margin: 0 8px 1px 0; border-radius: 50%; background: #42a866; box-shadow: 0 0 0 3px rgba(66,168,102,.15), 0 0 10px rgba(66,168,102,.75); animation: open-now-pulse 1.4s ease-in-out infinite; }
@keyframes open-now-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(66,168,102,.17), 0 0 10px rgba(66,168,102,.72); } 50% { opacity: .58; box-shadow: 0 0 0 6px rgba(66,168,102,.06), 0 0 3px rgba(66,168,102,.35); } }
.checkmark { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: transparent; }
.is-selected .checkmark { background: var(--brown); }
.filter-footnote { margin: 18px 0 0; color: #8a7866; font-size: 11px; }
.filter-apply-bar { position: sticky; bottom: 0; z-index: 1; display: flex; justify-content: flex-end; margin: 8px 0 0; padding: 9px 0 2px; background: linear-gradient(to bottom, rgba(245,237,226,0), var(--cream) 28%); }
.filter-apply-button { min-width: 112px; min-height: 40px; padding: 6px 18px; border: 1.5px solid var(--brown); border-radius: 999px; color: var(--cream-light); background: var(--brown); font: 700 14px "Manrope", sans-serif; cursor: pointer; }
.filter-apply-button:hover { background: var(--brown-dark); }
.favorite-entry { width: 100%; min-height: 74px; display: flex; align-items: center; gap: 14px; padding: 9px; border: 0; border-radius: 15px; background: var(--cream); text-align: left; cursor: pointer; }
.favorite-thumb { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 11px; color: var(--cream); background: var(--brown); font: 800 25px "Manrope"; }
.favorite-entry strong, .favorite-entry small { display: block; }
.favorite-entry small { margin-top: 4px; color: #846d57; }
.favorite-chevron { margin-left: auto; color: var(--brown); font-size: 23px; }
.favorites-search { position: sticky; top: 0; z-index: 2; width: 100%; height: 46px; margin: 0 0 19px; padding: 4px 2px; border: 0; border-bottom: 1px solid rgba(134,80,30,.62); border-radius: 0; color: var(--brown-dark); background-color: var(--cream); background-image: url("./diseno_figma/cream-texture.png"); font: 500 24px/1.1 "DM Sans", sans-serif; }
.account-notice { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 11px 12px; border: 1px solid rgba(134,80,30,.23); border-radius: 12px; color: var(--brown-dark); background: rgba(134,80,30,.07); font-size: 12px; line-height: 1.4; }
.account-notice-button { flex: 0 0 auto; padding: 6px 9px; border: 0; border-radius: 8px; color: var(--cream); background: var(--brown); font-size: 11px; font-weight: 700; cursor: pointer; }
.favorites-search::placeholder { color: var(--brown-dark); opacity: 1; }
.favorites-table-head, .favorite-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 9px; }
.favorites-table-head { position: sticky; top: 46px; z-index: 1; padding: 8px 5px; color: var(--brown-dark); background-color: var(--cream); background-image: url("./diseno_figma/cream-texture.png"); font-size: 11px; font-weight: 700; }
.favorites-table-head span:last-child { text-align: center; }
.favorite-row { min-height: 48px; padding: 5px 3px; border-bottom: 1px solid rgba(134,80,30,.13); }
.favorite-row[hidden] { display: none; }
.favorite-place { overflow: hidden; color: var(--brown); font: 700 17px/1.1 "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.rating-hearts { display: flex; align-items: center; gap: 0; }
.rating-heart { width: 26px; height: 30px; padding: 3px; display: grid; place-items: center; border: 0; color: var(--brown); background: transparent; cursor: pointer; }
.rating-heart svg { width: 100%; height: 100%; fill: transparent; stroke: currentColor; stroke-width: 1.35; }
.rating-heart.is-active svg { fill: currentColor; }
.rating-heart:focus-visible { outline: 2px solid var(--brown); outline-offset: -2px; border-radius: 50%; }
.quiet-button { padding: 11px 15px; border: 1px solid rgba(134,80,30,.28); border-radius: 10px; color: #927b63; background: var(--cream); }
.profile-gate { display: grid; gap: 12px; color: #755b43; font-size: 14px; line-height: 1.5; }
.profile-gate p { margin: 0; }
.profile-gate > small, .profile-account small { color: #8a7866; font-size: 11px; line-height: 1.45; }
.profile-login-form { display: grid; gap: 12px; margin-top: 6px; }
.profile-login-form label { display: grid; gap: 5px; color: var(--brown-dark); font-size: 12px; font-weight: 700; }
.profile-login-form input { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid rgba(134,80,30,.28); border-radius: 10px; outline-color: var(--brown); color: var(--brown-dark); background: rgba(255,255,255,.34); font-size: 14px; }
.profile-login-form .sheet-primary-action { margin-top: 4px; color: var(--cream); background: var(--brown); }
.profile-summary { display: flex; align-items: center; gap: 12px; margin: 2px 0 15px; padding: 12px; border: 1.5px solid var(--brown); border-radius: 17px; background: var(--cream); }
.profile-summary-copy { min-width: 0; flex: 1 1 auto; }
.profile-summary .profile-signout { flex: 0 0 auto; }
.profile-avatar { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1.5px solid var(--brown); border-radius: 50%; color: var(--cream); background: var(--brown); font: 700 20px "Manrope", sans-serif; }
.profile-summary strong, .profile-summary small { display: block; }
.profile-summary strong { color: var(--brown); font: 800 18px "Manrope", sans-serif; }
.profile-summary small { margin-top: 3px; color: var(--brown); font-size: 12px; line-height: 1.4; }
.profile-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 13px; overflow: visible; }
.profile-tabs::-webkit-scrollbar { display: none; }
.profile-tab { min-height: 35px; flex: 0 0 auto; padding: 6px 12px; border: 1.5px solid var(--brown); border-radius: 999px; color: var(--brown); background: var(--cream); font: 700 12px "DM Sans", sans-serif; cursor: pointer; }
.profile-tab.is-active { color: var(--cream); background: var(--brown); border-color: var(--brown); }
.profile-place-list { display: grid; gap: 12px; min-width: 0; padding-bottom: 28px; overflow: hidden; }
.profile-place-card { width: 100%; min-width: 0; padding: 15px; border: 1.5px solid var(--brown); border-radius: 23px; background: var(--cream); box-shadow: none; overflow: visible; }
.profile-place-card[hidden] { display: none; }
.profile-place-main { width: 100%; min-width: 0; display: flex; align-items: flex-start; gap: 10px; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.profile-place-thumb { width: 62px; height: 62px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 1.5px solid var(--brown); border-radius: 17px; color: var(--brown); background: var(--cream); font: 700 26px "Manrope", sans-serif; }
.profile-place-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile-place-copy { min-width: 0; flex: 1 1 auto; }
.profile-place-copy strong, .profile-place-copy small { display: block; }
.profile-place-copy strong { color: var(--brown); overflow-wrap: anywhere; font: 800 16px/1.2 "Manrope", sans-serif; }
.profile-place-copy small { margin-top: 5px; color: var(--brown); font-size: 12px; line-height: 1.35; }
.profile-saved-heart { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; padding: 10px; border: 1.5px solid var(--brown); border-radius: 50%; color: var(--brown); }
.profile-saved-heart svg { width: 100%; height: 100%; fill: transparent; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.profile-rating-line { display: flex; align-items: center; gap: 8px; min-height: 29px; margin: 13px 0 0 72px; }
.profile-rating-label { flex: 0 0 auto; color: var(--brown); font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.profile-rating-line .rating-hearts { flex: 0 0 auto; }
.profile-rating-line .rating-heart { width: 26px; height: 28px; }
.profile-place-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px; align-items: center; column-gap: 9px; margin: 15px 0 0; }
.profile-visited-button, .profile-note-add { min-height: 48px; border: 1.5px solid var(--brown); border-radius: 999px; color: var(--brown); background: var(--cream); font: 700 13px/1.05 "DM Sans", sans-serif; cursor: pointer; }
.profile-visited-button { position: relative; width: 100%; min-width: 0; display: inline-flex; align-items: center; justify-content: center; padding: 4px; overflow: hidden; white-space: nowrap; transition: color .2s ease, background-color .2s ease; }
.profile-visited-label { position: absolute; z-index: 1; left: 58px; right: 8px; text-align: center; }
.visited-switch-track { display: contents; }
.visited-switch-thumb { position: absolute; z-index: 2; left: 4px; top: 50%; width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--brown); box-shadow: 0 1px 3px rgba(84,45,12,.16); transform: translateY(-50%); transition: left .22s ease, background-color .22s ease; }
.visited-switch-thumb img { width: 21px; height: 27px; display: block; object-fit: contain; object-position: center; filter: brightness(0) invert(1); transform: translate(.5px, .5px); }
.profile-visited-button.is-active { color: var(--cream); background: var(--brown); }
.profile-visited-button.is-active .profile-visited-label { left: 8px; right: 58px; }
.profile-visited-button.is-active .visited-switch-thumb { left: calc(100% - 42px); background: var(--cream); }
.profile-visited-button.is-active .visited-switch-thumb img { filter: none; }
.profile-visited-button:focus-visible { outline: 2px solid var(--brown-dark); outline-offset: 2px; }
.profile-note-add { min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding-inline: 8px; text-align: center; }
.profile-remove { width: 38px; height: 48px; display: grid; place-items: center; padding: 6px; border: 0; color: var(--brown); background: transparent; cursor: pointer; }
.profile-remove img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.profile-remove:hover { transform: scale(1.07); }
.profile-notes { display: grid; gap: 7px; margin: 8px 0 0; }
.profile-sticky-note { margin: 0; padding: 10px 12px; border: 1.5px solid var(--brown); border-radius: 12px; color: var(--brown); background: var(--cream); box-shadow: none; font: italic 600 13px/1.4 "DM Sans", sans-serif; transform: none; }
.profile-note-form { display: grid; gap: 6px; }
.profile-note-form textarea { width: 100%; min-height: 64px; resize: vertical; padding: 9px; border: 1.5px solid var(--brown); border-radius: 8px; color: var(--brown); background: var(--cream); font: 13px/1.4 "DM Sans", sans-serif; }
.profile-note-form button { justify-self: end; padding: 6px 12px; border: 0; border-radius: 999px; color: var(--cream); background: var(--brown); font-size: 11px; font-weight: 700; cursor: pointer; }
.profile-empty { padding: 14px 4px; }
.profile-account { display: grid; justify-items: center; gap: 10px; padding: 14px 0; text-align: center; }
.profile-account strong { color: var(--brown-dark); font: 800 18px "Manrope", sans-serif; }
.profile-account p { margin: 8px 0; color: #755b43; font-size: 13px; line-height: 1.5; }
.profile-signout { border: 0; color: #846d57; background: transparent; font-size: 12px; text-decoration: underline; cursor: pointer; }
.share-sheet-content { display: grid; gap: 12px; padding-bottom: 4px; }
.share-place-preview { display: flex; align-items: center; gap: 12px; margin: 0 0 2px; padding: 10px; border-radius: 15px; background: rgba(134,80,30,.055); }
.share-place-thumb { width: 64px; height: 64px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 12px; color: var(--brown); background: rgba(134,80,30,.1); font: 700 22px "Manrope", sans-serif; }
.share-place-thumb img { width: 100%; height: 100%; object-fit: cover; }
.share-place-preview strong, .share-place-preview small { display: block; }
.share-place-preview strong { color: #4f3a29; font: 800 16px/1.25 "Manrope", sans-serif; }
.share-place-preview small { margin-top: 4px; color: #846d57; font-size: 13px; }
.share-prompt { margin: 0; color: #755b43; font-size: 13px; font-weight: 600; }
.share-prompt span { font-weight: 400; }
.share-schedule { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.85fr); gap: 9px; }
.share-schedule label { min-width: 0; display: grid; gap: 5px; color: var(--brown); font-size: 12px; font-weight: 700; }
.share-schedule input { width: 100%; min-width: 0; height: 42px; padding: 7px 9px; border: 1.4px solid var(--brown); border-radius: 11px; color: var(--brown-dark); background: var(--cream); font: 500 14px "DM Sans", sans-serif; accent-color: var(--brown); }
.share-choice-group { display: flex; flex-wrap: wrap; gap: 7px; }
.share-choice { min-height: 36px; padding: 6px 13px; border: 1px solid rgba(134,80,30,.62); border-radius: 999px; color: #755b43; background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; transition: color .16s, background .16s, border-color .16s; }
.share-choice:hover, .share-choice.is-selected { border-color: var(--brown); color: var(--cream); background: var(--brown); }
.share-message-preview { padding: 12px 14px; border-radius: 14px; color: #5c5032; background: rgba(134,80,30,.075); }
.share-message-preview > span { display: block; margin-bottom: 5px; color: #8a7866; font-size: 11px; }
.share-message-preview p { margin: 0; overflow-wrap: anywhere; white-space: pre-line; font-size: 13px; line-height: 1.5; }
.share-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; margin-top: 2px; }
.share-copy-button, .share-send-button { min-height: 48px; padding: 8px 11px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1.5px solid var(--brown); border-radius: 999px; color: var(--brown); background: var(--cream); font: 700 13px/1.2 "Manrope", sans-serif; text-align: center; cursor: pointer; transition: color .16s, background .16s, transform .16s; }
.share-copy-button:hover { color: var(--cream); background: var(--brown); transform: translateY(-1px); }
.share-send-button { color: var(--cream); background: var(--brown); }
.share-send-button:hover { background: var(--brown-dark); transform: translateY(-1px); }
.share-copy-button svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share-send-button svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sheet-primary-action { width: 100%; min-height: 48px; border: 0; color: var(--cream); background: var(--brown); font-size: 15px; font-weight: 700; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.is-hidden { opacity: 0 !important; visibility: hidden !important; }

@keyframes pulse { 0% { transform: translate(-50%, -50%) scale(.7); opacity: .7; } 100% { transform: translate(-50%, -50%) scale(1.65); opacity: 0; } }
@keyframes marker-in { from { transform: translate(-50%, -40%) scale(.75); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

@media (min-width: 1100px) {
  .place-card { width: 398px; }
  .card-scroll { padding-inline: 30px; }
  .map-stage { min-height: 550px; }
}

@media (max-width: 700px) {
  .app-shell { height: 100dvh; min-height: 570px; grid-template-rows: auto auto minmax(0, 1fr) auto; }
  .topbar { min-height: 83px; padding: 18px 17px 12px; gap: 14px; }
  .brand-logo { width: clamp(210px, 58vw, 280px); }
  .instagram-link { width: 41px; height: 41px; }
  .instagram-link svg { width: 31px; height: 31px; }
  .filter-strip { min-height: 84px; padding: 16px 15px 19px; gap: 8px; }
  .quick-filter { min-height: 48px; padding: 7px 14px; font-size: 14px; }
  .map-stage { min-height: 0; }
  .street-grid { transform: rotate(-27deg) scale(1.55); }
  .park-shape { width: 73vw; left: 46%; top: 33%; }
  .map-marker { left: 53%; top: 45%; transform: translate(-50%, -50%) scale(.9); }
  .locate-map { width: 44px; height: 44px; right: 13px; bottom: 13px; }
  .place-card { top: 50%; left: 50%; right: auto; width: min(390px, calc(100vw - 34px)); height: min(760px, 82dvh); max-height: 82dvh; transform: translate(-50%, -47%) scale(.98); border-radius: 28px; }
  .place-card.is-open { transform: translate(-50%, -50%) scale(1); }
  .card-scroll { padding: 24px 25px 6px; }
  .card-close { top: 12px; right: 13px; }
  .place-heading h1 { font-size: 34px; }
  .place-subcategory { font-size: 14px; }
  .card-panel { padding-top: 8px; }
  .card-actions { padding: 7px 20px 18px; gap: 8px; }
  .action-button { width: min(50px, 12vw); height: min(50px, 12vw); padding: 10px; border-width: 1.8px; }
  .bottom-bar { min-height: 80px; padding: 6px 8px 7px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 35px auto; gap: 1px 3px; }
  .footer-action, .footer-project { min-height: 34px; padding: 4px 2px; font-size: clamp(10px, 3vw, 12px); }
  .footer-email { font-size: 12px; }
  .filter-options { gap: 7px; }
  .favorite-place { font-size: 14px; }
  .rating-heart { width: 23px; height: 28px; padding: 3px; }
  .bottom-sheet { top: 50%; left: 50%; right: auto; bottom: auto; width: min(390px, calc(100vw - 34px)); height: min(760px, 82dvh); max-height: 82dvh; border-radius: 28px; padding: 27px 25px; transform: translate(-50%, -47%) scale(.98); }
  .bottom-sheet.is-open { transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 370px) {
  .brand-logo { width: min(220px, 65vw); }
  .quick-filter { padding-inline: 10px; font-size: 13px; }
  .card-scroll { padding-inline: 20px; }
  .card-actions { padding-inline: 16px; }
  .action-button { padding: 8px; }
  .profile-place-card { padding: 12px; }
  .profile-place-thumb { width: 54px; height: 54px; }
  .profile-saved-heart { width: 46px; height: 46px; padding: 9px; }
  .profile-rating-line { gap: 5px; margin-left: 64px; }
  .profile-rating-label { font-size: 10px; }
  .profile-rating-line .rating-heart { width: 22px; height: 25px; }
  .profile-place-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px; gap: 7px; padding-left: 7px; }
  .profile-visited-button, .profile-note-add { min-height: 44px; font-size: 12px; }
  .visited-switch-track { width: 56px; height: 44px; }
  .visited-switch-thumb { width: 34px; height: 34px; }
  .visited-switch-thumb img { width: 19px; height: 24px; }
  .profile-visited-button.is-active .visited-switch-thumb { left: calc(100% - 37px); }
  .profile-remove { width: 34px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .open-now-dot { animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* La muestra de papel crema se repite en todas las superficies claras de la interfaz. */
:root, body, .topbar, .filter-strip, .map-stage, .interactive-map, .map-placeholder,
.leaflet-control-attribution, .map-credit, .map-credit-error, .place-card, .card-close,
.cover-frame, .locate-map, .bottom-sheet, .filter-option, .favorite-entry, .quiet-button {
  background-image: url("./diseno_figma/cream-texture.png");
  background-repeat: repeat;
  background-size: 277px 284px;
}

.street-grid {
  background-image:
    linear-gradient(90deg, transparent 0 47px, var(--map-line) 48px 54px, transparent 55px 100px),
    linear-gradient(0deg, transparent 0 54px, var(--map-line) 55px 61px, transparent 62px 110px),
    url("./diseno_figma/cream-texture.png");
  background-size: 128px 112px, 128px 112px, 277px 284px;
}
