@font-face{font-family:"Manrope";src:url("/fonts/Manrope-Bold.ttf") format("truetype");font-weight:700;font-display:swap}
@font-face{font-family:"Varela Round";src:url("/fonts/VarelaRound-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
:root{--green:#12471F;--orange:#F77A06;--background:#E8F2E8;--white:#fff;--text:#172019;--muted:#667068;--line:rgba(18,71,31,.10);--d1:#2E7D32;--d2:#7CB342;--d3:#F77A06;--d4:#AB47BC;--d5:#6A1B9A;--shadow:0 12px 35px rgba(18,71,31,.08)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font-family:"Varela Round",system-ui,sans-serif;color:var(--text);background:var(--background)}button,input{font:inherit}button{cursor:pointer}.hidden{display:none!important}.explore-app{width:100%;min-height:100vh}main{width:min(1180px,calc(100% - 30px));margin:0 auto;padding-bottom:calc(45px + env(safe-area-inset-bottom))}
.topbar{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;min-height:74px;padding:12px max(18px,env(safe-area-inset-right)) 12px max(18px,env(safe-area-inset-left));background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.brand-link{display:block;line-height:0}.brand-logo{display:block;width:218px;max-width:52vw;height:auto}.topbar-actions{display:flex;align-items:center;gap:10px}.gps-link,.login-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:0;border-radius:999px;color:var(--green);background:#eef6ef;font-family:"Manrope",sans-serif;font-size:12px;font-weight:700;text-decoration:none}.login-button{background:var(--green);color:#fff}
.auth-area,.user-menu{position:relative}.user-menu-button{display:flex;align-items:center;gap:8px;min-height:42px;padding:4px 10px 4px 4px;border:1px solid rgba(18,71,31,.10);border-radius:999px;background:#fff;color:var(--green);box-shadow:0 5px 18px rgba(18,71,31,.07)}.user-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#e8efe8}.user-name{max-width:130px;overflow:hidden;font-family:"Manrope",sans-serif;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.user-chevron{color:#7a857c;font-size:11px}.user-dropdown{position:absolute;top:calc(100% + 9px);right:0;width:270px;padding:9px;border:1px solid rgba(18,71,31,.10);border-radius:19px;background:#fff;box-shadow:0 18px 50px rgba(18,71,31,.16)}.user-dropdown-head{display:flex;align-items:center;gap:11px;padding:8px 8px 10px}.user-avatar-large{width:44px;height:44px;flex:0 0 44px;border-radius:50%;object-fit:cover;background:#e8efe8}.user-dropdown-head strong{display:block;color:var(--green);font-family:"Manrope",sans-serif;font-size:13px;line-height:1.25}.user-dropdown-head span{display:block;max-width:175px;margin-top:3px;overflow:hidden;color:#7a847c;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.user-dropdown-divider{height:1px;margin:5px 3px;background:#edf1ed}.user-dropdown-item{display:block;width:100%;padding:11px 12px;border:0;border-radius:11px;background:transparent;color:#3f4941;text-align:left;font-size:12px}.user-dropdown-item:hover{background:#f2f7f2;color:var(--green)}.logout-item{color:#a33a3a}
.hero{padding:34px 2px 20px}.eyebrow{display:block;color:var(--orange);font-family:"Manrope",sans-serif;font-size:11px;font-weight:700;letter-spacing:.10em}.hero h1{max-width:720px;margin:6px 0 8px;color:var(--green);font-family:"Manrope",sans-serif;font-size:clamp(30px,7vw,48px);line-height:1.05}.hero p{max-width:620px;margin:0;color:var(--muted);font-size:15px;line-height:1.55}
.search-panel{padding:17px;background:#fff;border-radius:26px;box-shadow:var(--shadow)}.search-box{display:flex;align-items:center;min-height:54px;padding:0 15px;border:1px solid rgba(18,71,31,.14);border-radius:16px;background:#f9fbf9}.search-icon{margin-right:10px;color:var(--green);font-size:25px;line-height:1}.search-box input{width:100%;padding:0;border:0;outline:0;background:transparent;color:var(--text);font-size:14px}.search-box input::placeholder{color:#8a938c}.filters{display:flex;gap:8px;margin-top:13px;padding-bottom:2px;overflow-x:auto;scrollbar-width:none}.filters::-webkit-scrollbar{display:none}.filter-chip{flex:0 0 auto;min-height:38px;padding:8px 13px;border:1px solid transparent;border-radius:999px;color:#fff;font-family:"Manrope",sans-serif;font-size:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,opacity .14s ease}.filter-chip[data-difficulty="all"]{background:var(--green);border-color:var(--green)}.difficulty-1{background:var(--d1);border-color:var(--d1)}.difficulty-2{background:var(--d2);border-color:var(--d2)}.difficulty-3{background:var(--d3);border-color:var(--d3)}.difficulty-4{background:var(--d4);border-color:var(--d4)}.difficulty-5{background:var(--d5);border-color:var(--d5)}.filter-chip:not(.active){opacity:.68}.filter-chip.active{opacity:1;transform:translateY(-1px);box-shadow:0 5px 14px rgba(0,0,0,.16)}
.results-header{display:flex;align-items:end;justify-content:space-between;margin:30px 2px 15px}.results-header h2{margin:3px 0 0;color:var(--green);font-family:"Manrope",sans-serif;font-size:25px}.result-count{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:34px;padding:5px 11px;border-radius:999px;background:rgba(18,71,31,.08);color:var(--green);font-family:"Manrope",sans-serif;font-size:12px}
.state-card{padding:36px 24px;border-radius:26px;background:#fff;box-shadow:var(--shadow);text-align:center}.state-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;margin:0 auto 14px;border-radius:18px;background:#eff6ef;color:var(--green);font-size:25px;font-family:"Manrope",sans-serif}.state-card strong{display:block;color:var(--green);font-family:"Manrope",sans-serif;font-size:17px}.state-card p{margin:8px auto 0;max-width:440px;color:var(--muted);font-size:13px;line-height:1.5}.retry-button{margin-top:18px;padding:11px 18px;border:0;border-radius:12px;background:var(--green);color:#fff;font-family:"Manrope",sans-serif;font-weight:700}
.routes-grid{display:grid;grid-template-columns:1fr;gap:18px}.route-card{overflow:hidden;border:1px solid rgba(18,71,31,.08);border-radius:26px;background:#fff;box-shadow:var(--shadow)}.route-image-wrap{position:relative;aspect-ratio:16/10;overflow:hidden;background:#dfe9df}.route-image{display:block;width:100%;height:100%;object-fit:cover}.route-difficulty{position:absolute;left:13px;bottom:13px;display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;color:#fff;font-family:"Manrope",sans-serif;font-size:10px;font-weight:700;box-shadow:0 3px 12px rgba(0,0,0,.16)}.route-difficulty[data-level="1"]{background:var(--d1)}.route-difficulty[data-level="2"]{background:var(--d2)}.route-difficulty[data-level="3"]{background:var(--d3)}.route-difficulty[data-level="4"]{background:var(--d4)}.route-difficulty[data-level="5"]{background:var(--d5)}.route-body{padding:17px 17px 18px}.route-location{margin-bottom:5px;color:var(--orange);font-family:"Manrope",sans-serif;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.route-title{margin:0;color:var(--green);font-family:"Manrope",sans-serif;font-size:21px;line-height:1.16}.route-summary{display:-webkit-box;margin:8px 0 0;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}.route-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:16px;overflow:hidden;border:1px solid #edf1ed;border-radius:14px;background:#edf1ed}.route-stat{padding:11px 5px;background:#fff;text-align:center}.route-stat strong{display:block;color:var(--green);font-family:"Manrope",sans-serif;font-size:13px}.route-stat small{display:block;margin-top:3px;color:#818982;font-size:9px}.route-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.route-rating{color:#667068;font-size:12px}.route-rating strong{color:var(--orange);font-family:"Manrope",sans-serif}.route-open{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:0;border-radius:12px;background:var(--green);color:#fff;font-family:"Manrope",sans-serif;font-size:11px;font-weight:700}
@media(max-width:620px){.brand-logo{width:172px;max-width:47vw}.topbar-actions{gap:7px}.gps-link,.login-button{min-height:36px;padding:7px 11px;font-size:10px}.user-menu-button{min-height:38px;padding:3px 7px 3px 3px}.user-avatar{width:30px;height:30px}.user-name{display:none}.user-dropdown{position:fixed;top:70px;right:12px;left:12px;width:auto}}
@media(min-width:680px){.routes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.topbar{padding-left:max(calc((100vw - 1180px)/2),24px);padding-right:max(calc((100vw - 1180px)/2),24px)}.routes-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.route-card{transition:transform .16s ease,box-shadow .16s ease}.route-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(18,71,31,.12)}}
/* =========================================================
   EXPLORAR v0.4 · DESTACADOS + NAVEGACIÓN APP
   ========================================================= */
.featured-section{margin:0 0 22px;padding:18px;border:1px solid rgba(18,71,31,.08);border-radius:26px;background:rgba(255,255,255,.74);box-shadow:0 10px 30px rgba(18,71,31,.055)}
.featured-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.featured-head h2{margin:4px 0 0;color:var(--green);font-family:"Manrope",sans-serif;font-size:25px;line-height:1.1}
.featured-head p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
.featured-state{padding:18px;border-radius:18px;background:rgba(232,242,232,.70);color:var(--muted);font-size:12px;text-align:center}
.featured-grid{display:grid;grid-template-columns:1fr;gap:14px}
.featured-grid .route-card{border-radius:22px}
.featured-grid .route-summary{display:none}
.featured-grid .route-footer{margin-top:12px}

main{padding-bottom:calc(112px + env(safe-area-inset-bottom))}

.explore-bottom-nav{position:fixed;z-index:220;left:50%;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:min(100%,560px);min-height:74px;padding:7px 8px calc(6px + env(safe-area-inset-bottom));transform:translateX(-50%);border-top:1px solid rgba(18,71,31,.09);background:rgba(255,255,255,.98);box-shadow:0 -7px 26px rgba(18,71,31,.10);backdrop-filter:blur(14px)}
.explore-nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;min-width:0;padding:4px 2px;border:0;background:transparent;color:#737B75;font:inherit;font-size:9px;line-height:1;text-decoration:none}
.explore-nav-item.is-active{color:var(--green)}
.explore-nav-icon{width:23px;height:23px;background:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}
.explore-nav-home{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 12 3l9 8v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1Z' fill='black'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 12 3l9 8v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1Z' fill='black'/%3E%3C/svg%3E")}
.explore-nav-explore{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m15.8 8.2-2.2 5.4-5.4 2.2 2.2-5.4Z' fill='black'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m15.8 8.2-2.2 5.4-5.4 2.2 2.2-5.4Z' fill='black'/%3E%3C/svg%3E")}
.explore-nav-saved{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12a1 1 0 0 1 1 1v17l-7-4-7 4V4a1 1 0 0 1 1-1Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12a1 1 0 0 1 1 1v17l-7-4-7 4V4a1 1 0 0 1 1-1Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")}
.explore-nav-profile{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M4.5 21c.8-4 3.2-6 7.5-6s6.7 2 7.5 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M4.5 21c.8-4 3.2-6 7.5-6s6.7 2 7.5 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.explore-nav-record{justify-content:flex-end;color:#667069}
.explore-nav-record-circle{display:grid;place-items:center;width:52px;height:52px;margin-top:-23px;border:5px solid #fff;border-radius:50%;background:var(--orange);box-shadow:0 6px 18px rgba(247,122,6,.30);color:#fff}
.explore-nav-pin{width:25px;height:25px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.1 7-13A7 7 0 1 0 5 9c0 6.9 7 13 7 13Z' fill='black'/%3E%3Ccircle cx='12' cy='9' r='2.4' fill='white'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.1 7-13A7 7 0 1 0 5 9c0 6.9 7 13 7 13Z' fill='black'/%3E%3Ccircle cx='12' cy='9' r='2.4' fill='white'/%3E%3C/svg%3E")}

@media(min-width:680px){.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.explore-bottom-nav{display:none}main{padding-bottom:45px}}


/* Explorar geográfico v0.5 */
.places-section{margin-top:18px;padding:22px;border:1px solid rgba(18,71,31,.08);border-radius:25px;background:#fff;box-shadow:0 10px 28px rgba(18,71,31,.06)}.places-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.places-head h2{margin:4px 0 0;color:#12471F;font-family:"Manrope",sans-serif;font-size:24px}.places-head p{max-width:700px;margin:6px 0 0;color:#69736b;font-size:11px;line-height:1.45}.clear-place-filter{min-height:36px;padding:8px 12px;border:1px solid rgba(18,71,31,.12);border-radius:999px;background:#f2f7f2;color:#12471F;font-family:"Manrope",sans-serif;font-size:9px;font-weight:700}.province-list,.locality-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.place-chip{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:8px 12px;border:1px solid rgba(18,71,31,.10);border-radius:999px;background:#f5f9f5;color:#12471F;font-size:10px}.place-chip strong{font-family:"Manrope",sans-serif}.place-chip small{color:#78827a;font-size:8px}.place-chip.active{border-color:#12471F;background:#12471F;color:#fff}.place-chip.active small{color:rgba(255,255,255,.78)}.locality-panel{margin-top:15px;padding:14px;border-radius:17px;background:#f4f8f4}.locality-head{display:flex;align-items:end;justify-content:space-between;gap:12px}.locality-head strong{color:#12471F;font-family:"Manrope",sans-serif;font-size:13px}.locality-head span{color:#7c867e;font-size:9px}.route-author-mini{display:flex;align-items:center;gap:6px;margin-top:9px;color:#6f786f;font-size:9px}.route-author-mini img{width:24px;height:24px;border-radius:50%;object-fit:cover;background:#e8efe8}.route-author-mini strong{max-width:180px;overflow:hidden;color:#12471F;font-family:"Manrope",sans-serif;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:680px){.places-section{padding:17px}.places-head{align-items:flex-start;flex-direction:column}.province-list,.locality-list{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}.province-list::-webkit-scrollbar,.locality-list::-webkit-scrollbar{display:none}.place-chip{flex:0 0 auto}.locality-head{align-items:flex-start;flex-direction:column}}

.explore-nav-services{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9h14v11H5V9Zm1-5h12l2 5H4l2-5Zm3 9h4v7H9v-7Z' fill='black'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9h14v11H5V9Zm1-5h12l2 5H4l2-5Zm3 9h4v7H9v-7Z' fill='black'/%3E%3C/svg%3E")}

/* SEO v1: el acceso a cada ficha es un enlace real sin cambio visual. */
.route-open{text-decoration:none}
