:root{--navy:#10223d;--navy-2:#1d3657;--ink:#1b3047;--muted:#697b89;--teal:#1c8f8c;--mint:#c4ede3;--cream:#f7f8f5;--white:#fff;--border:#e5ecee;--shadow:0 12px 36px rgba(26,52,74,.07);--radius:19px;--max:1200px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}img{max-width:100%}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.19;letter-spacing:-.035em}h1{font-size:clamp(2.15rem,4.3vw,4rem)}h2{font-size:clamp(1.65rem,2.5vw,2.45rem)}h3{font-size:1.1rem}p{color:var(--muted)}.container{width:min(var(--max),calc(100% - 44px));margin:0 auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.skip-link{position:absolute;left:8px;top:-80px;z-index:1000;padding:12px;background:#fff;color:#000}.skip-link:focus{top:8px}:focus-visible{outline:3px solid #67cbb4;outline-offset:3px}.flex{display:flex}.spread{justify-content:space-between}.align-center{align-items:center}.site-header{border-bottom:1px solid #eff3f1;background:white;position:relative;z-index:3}.header-row{display:flex;align-items:center;justify-content:space-between;min-height:87px;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;color:#14354b;font-size:1.24rem;font-weight:850;letter-spacing:-.055em;line-height:1}.brand-light{font-weight:450}.brand small{display:block;font-size:.61rem;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin-top:7px;font-weight:850}.brand-icon{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:13px;background:#123454;color:#b5ecdb;font-size:1.6rem;flex-shrink:0}.site-nav{display:flex;gap:37px;font-weight:650;font-size:.89rem;color:#394e61}.site-nav a:hover,.text-link:hover,.top-link:hover{color:var(--teal)}.nav-action{border:1px solid #d9e5e7;padding:10px 19px;border-radius:100px;font-size:.88rem;font-weight:760;color:#194456}.nav-action span{margin-left:14px;color:var(--teal)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:0;border-radius:10px;padding:12px 20px;font-weight:750;font-size:.9rem;line-height:1.4;white-space:normal;text-align:center;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{color:white;background:#167d7d}.btn-primary:hover{background:#126666}.btn-light{background:#fff;color:var(--navy)}.btn-outline{border:1px solid #d2dfe2;background:#fff;color:#235a63}.btn-full{width:100%}.back-link{color:#31837e;font-weight:700;font-size:.88rem;display:inline-block;margin-bottom:18px}.kicker{font-size:.73rem;letter-spacing:.18em;font-weight:850;color:#178e87;text-transform:uppercase}.eyebrow{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(198,237,221,.35);border-radius:80px;padding:9px 16px;color:#b8ebdf;background:rgba(255,255,255,.07);font-size:.79rem;font-weight:740;margin-bottom:22px}.dot{width:8px;height:8px;border-radius:50%;background:#9ef4d3;box-shadow:0 0 0 3px #9ef4d32b}.hero{background:linear-gradient(122deg,#0e2946,#173958 65%,#1c4b56);color:#fff;overflow:hidden;position:relative}.hero-pattern{position:absolute;inset:0;background-image:radial-gradient(#c2ecd617 1px,transparent 1px);background-size:29px 29px;mask-image:linear-gradient(to right,transparent,#000)}.hero-grid{display:grid;grid-template-columns:1.07fr .93fr;gap:35px;align-items:center;position:relative;padding:75px 0 76px;min-height:580px}.hero h1{font-weight:830;font-size:clamp(2.65rem,4.25vw,4.55rem);line-height:1.1;margin:0 0 24px;letter-spacing:-.055em}.hero h1 em{font-family:Georgia,serif;font-weight:500;font-style:italic;color:#9ee7d7;letter-spacing:-.045em}.hero-desc{color:#c7d5de;font-size:1.06rem;line-height:1.8;max-width:590px;margin:0 0 25px}.hero-search{display:flex;background:#fff;border-radius:13px;padding:6px;align-items:center;max-width:590px;box-shadow:0 12px 30px #071a2c33}.hero-search span{font-size:2rem;color:#6b878c;margin:0 11px;line-height:1}.hero-search input{min-width:0;flex:1;border:none;outline:none;padding:12px 0;color:#253e4c;font-size:.93rem}.hero-search button{border:0;background:#47a69c;color:#fff;padding:14px 19px;border-radius:9px;font-weight:790}.hero-hint{font-size:.75rem;color:#a4c8cd;margin:10px 0 22px}.hero-stats{display:flex;flex-wrap:wrap;gap:30px;border-top:1px solid #ffffff20;padding-top:24px}.hero-stats span{color:#bdd2d9;font-size:.75rem}.hero-stats strong{display:block;font-size:1.13rem;color:#fff;margin-bottom:1px}.hero-visual{height:430px;position:relative;isolation:isolate}.mind-preview{position:absolute;left:6%;top:12%;width:85%;height:80%;background:#ffffff10;border:1px solid #ffffff2a;border-radius:26px;backdrop-filter:blur(5px);box-shadow:0 24px 50px #061b2c55;transform:rotate(2deg)}.mind-root{position:absolute;left:calc(50% - 75px);top:calc(50% - 29px);width:150px;height:58px;display:grid;place-items:center;background:#f5ead9;color:#203e48;box-shadow:0 12px 18px #0002;border-radius:55px;font-size:.9rem;font-weight:950;letter-spacing:.02em;z-index:2}.mind-item{position:absolute;padding:15px 18px;border-radius:13px;font-size:.81rem;font-weight:850;color:#153347;z-index:2}.item-a{background:#bfe9e0;left:9%;top:20%}.item-b{background:#f7d9a7;right:8%;top:22%}.item-c{background:#d9c8f4;left:9%;bottom:17%}.item-d{background:#f6bfd0;right:9%;bottom:15%}.branch-line{position:absolute;top:50%;left:50%;width:33%;height:3px;background:#a4d8d3;opacity:.75;transform-origin:left;z-index:1;border-radius:10px}.line-a{transform:rotate(210deg)}.line-b{transform:rotate(329deg);background:#f2d7ac}.line-c{transform:rotate(150deg);background:#d1c7f2}.line-d{transform:rotate(28deg);background:#fabed3}.bubble{position:absolute;z-index:2;width:57px;height:57px;display:grid;place-items:center;border-radius:15px;font-size:1.6rem;background:white;box-shadow:0 10px 25px #061c3040}.bubble-a{left:0;top:4%;transform:rotate(-13deg)}.bubble-b{right:0;top:5%;transform:rotate(11deg)}.bubble-c{left:1%;bottom:7%;transform:rotate(9deg)}.bubble-d{right:0;bottom:0;transform:rotate(-9deg)}.hero-footnote{position:absolute;bottom:20px;left:21%;color:#c5dbdf;font-size:.79rem;font-style:italic}.section{padding:76px 0}.section-cream{background:#f7faf9}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:32px}.section-heading h2{margin:8px 0 9px}.section-heading p{margin-bottom:0}.text-link{color:#167f78;font-weight:780;font-size:.88rem;white-space:nowrap}.text-link span{margin-left:4px}.category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.category-card{background:#fff;border:1px solid #e5ebee;border-radius:17px;padding:24px 18px;display:flex;flex-direction:column;min-height:213px;box-shadow:0 4px 12px #1a456105;transition:transform .2s,box-shadow .2s,border-color .2s}.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--category-color)}.category-icon{display:grid;place-items:center;width:46px;height:46px;background:color-mix(in srgb,var(--category-color) 14%,white);border-radius:13px;margin-bottom:15px;font-size:1.4rem}.category-card strong{font-size:.93rem;line-height:1.27;margin-bottom:8px}.category-desc{font-size:.74rem;color:#87929a;line-height:1.5;flex:1}.category-count{display:flex;justify-content:space-between;margin-top:17px;font-size:.71rem;color:var(--category-color);font-weight:800}.category-count span{font-size:1.1rem}.maps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.map-card{background:#fff;border:1px solid #e9eeef;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 5px 16px rgba(37,70,87,.045);transition:transform .18s,box-shadow .18s}.map-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.map-thumb{position:relative;display:block;aspect-ratio:1.35;background:#edf6f6;overflow:hidden}.map-thumb img{width:100%;height:100%;display:block;object-fit:contain;background:#f0f4f3;transition:transform .3s}.map-card:hover .map-thumb img{transform:scale(1.045)}.pill-level{position:absolute;left:12px;bottom:11px;border-radius:6px;padding:5px 9px;background:#fff;box-shadow:0 2px 6px #0002;font-size:.68rem;font-weight:750;color:#376a6a}.map-card-body{display:flex;flex-direction:column;flex:1;padding:18px}.card-category{text-transform:uppercase;letter-spacing:.1em;color:#19857f;font-size:.65rem;font-weight:870;margin-bottom:8px}.map-card h3{margin:0 0 9px;font-size:1.08rem;letter-spacing:-.025em}.map-card h3 a:hover{color:var(--teal)}.map-card p{font-size:.79rem;line-height:1.65;margin:0 0 20px;flex:1}.card-bottom{display:flex;justify-content:space-between;gap:6px;padding-top:12px;border-top:1px solid #eaf0f0;font-size:.75rem;color:#81919b}.card-bottom a{font-weight:760;color:#18837e}.empty-state{text-align:center;border:1px dashed #d0dddf;border-radius:20px;padding:62px 22px;background:#fbfdfd}.empty-icon{font-size:2.8rem;color:#4fa798;margin:0 0 12px}.empty-state h3{font-size:1.38rem}.empty-state p{max-width:480px;margin:0 auto 21px}.cta-band{background:#e5f4ed;padding:49px 0}.cta-flex{display:flex;align-items:center;justify-content:space-between;gap:30px}.cta-flex h2{margin:6px 0 8px;font-size:2rem}.cta-flex p{margin:0}.cta-band .btn-light{background:#143956;color:#fff}.footer{background:#122b43;color:#d0dce2}.footer-main{display:grid;grid-template-columns:2.2fr 1fr 1fr;gap:70px;padding:55px 0}.brand-footer{color:white;font-size:1.05rem;margin-bottom:14px}.footer p{max-width:340px;font-size:.84rem;color:#a9bfcb;line-height:1.7}.footer-main>div:not(:first-child){display:flex;flex-direction:column;gap:9px;font-size:.84rem}.footer-main strong{color:white;margin-bottom:9px}.footer-main a:hover{color:#98eadb}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff1d;padding:18px 0 25px;font-size:.73rem;color:#a3b9c5}.page-heading{padding:48px 0;background:linear-gradient(120deg,#f0f8f7,#f9faf6)}.page-heading h1{margin:10px 0 10px;font-size:clamp(2rem,3.4vw,3.2rem)}.page-heading p{font-size:1rem;max-width:700px;margin:0}.breadcrumbs{display:flex;gap:10px;align-items:center;font-size:.8rem;color:#7c8b93;margin-bottom:27px;flex-wrap:wrap}.breadcrumbs a{color:#21847c;font-weight:650}.filter-panel{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr auto;gap:14px;align-items:end;padding:22px;border:1px solid #e1e9e9;border-radius:15px;background:#f9fbfb;margin-bottom:28px}.filter-panel label,.form-stack label,.category-editor label{display:flex;flex-direction:column;font-size:.78rem;font-weight:740;color:#445c68;gap:7px}.filter-panel input,.filter-panel select,.form-stack input,.form-stack textarea,.form-stack select,.category-editor input{width:100%;background:#fff;color:#243b49;padding:12px;border:1px solid #dce6e8;border-radius:9px;outline:none;min-height:44px}.filter-panel input:focus,.filter-panel select:focus,.form-stack :is(input,textarea,select):focus,.category-editor input:focus{border-color:#399a91;box-shadow:0 0 0 3px #73cfbb33}.filter-submit{min-height:44px;padding:11px 18px}.results-header{display:flex;justify-content:space-between;color:#84929b;font-size:.83rem;margin-bottom:18px}.results-header strong{color:#365260}.pagination{display:flex;gap:8px;justify-content:center;margin-top:37px}.pagination a{display:grid;place-items:center;border:1px solid #d9e4e5;width:38px;height:38px;border-radius:9px;font-size:.82rem;font-weight:790}.pagination a.selected{background:#167d7d;color:#fff;border-color:#167d7d}.detail-section{padding:43px 0 66px}.detail-header{display:flex;align-items:end;justify-content:space-between;gap:28px;margin:0 0 30px}.detail-header h1{font-size:clamp(2.2rem,3.1vw,3.1rem);margin:10px 0}.detail-header p{max-width:740px;margin:0 0 13px}.detail-badges{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.tag{border-radius:7px;background:#eaf5f1;color:#25766e;padding:4px 9px;font-weight:760;font-size:.72rem}.detail-metadata{display:flex;gap:18px;font-size:.78rem;color:#7f929b;flex-wrap:wrap}.detail-top-btn{min-width:188px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:26px;align-items:start}.detail-image-frame{border:1px solid #e0e8e8;border-radius:18px;background:#f7f9f9;margin:0;padding:18px;overflow:hidden}.detail-image-frame>img{display:block;width:100%;height:auto;max-height:1000px;object-fit:contain;background:#fff;box-shadow:0 6px 17px #00000008}.detail-image-frame figcaption{display:flex;justify-content:space-between;align-items:center;color:#8799a1;font-size:.75rem;margin-top:12px}.zoom-trigger{border:0;background:transparent;font-weight:780;color:#1f8b82}.download-box{background:#fff;border:1px solid #e2eaea;border-radius:16px;padding:23px;box-shadow:0 8px 24px #173f550a}.download-icon{width:48px;height:48px;background:#e6f7f1;border-radius:12px;color:#198377;display:grid;place-items:center;font-size:1.6rem;font-weight:700;margin-bottom:17px}.download-box h2{font-size:1.2rem;margin-bottom:10px}.download-box p{font-size:.82rem;line-height:1.7}.download-box .btn{margin:12px 0 18px}.file-specs{border-top:1px solid #eaf0f0;padding-top:10px;margin:0;font-size:.78rem}.file-specs>div{display:flex;justify-content:space-between;gap:8px;margin-top:10px}.file-specs dt{color:#82929a}.file-specs dd{margin:0;font-weight:790;color:#2a4956}.note-box{margin-top:15px;padding:17px;background:#eff8f5;color:#517a70;font-size:.79rem;border-radius:12px;line-height:1.7}.detail-text{margin-top:34px;max-width:780px;line-height:1.95}.detail-text h2{font-size:1.65rem}.detail-text div{overflow-wrap:anywhere}.text-page{max-width:860px;line-height:1.9}.text-page h2{font-size:1.45rem;margin:28px 0 10px}.text-page p{font-size:.98rem}.text-page a{color:#0d8884;text-decoration:underline}.ad-area{max-width:1020px;min-height:95px;margin:35px auto;padding:16px;border-radius:14px;background:#f9faf9;overflow:hidden;text-align:center}.ad-caption{text-align:center;font-size:.65rem;color:#929c9e;letter-spacing:.1em;margin-bottom:12px;text-transform:uppercase}.zoom-dialog{border:0;border-radius:13px;max-width:95vw;max-height:96vh;padding:20px;background:white;box-shadow:0 30px 100px #0005}.zoom-dialog::backdrop{background:#07152dcc}.zoom-dialog img{display:block;max-width:90vw;max-height:86vh;object-fit:contain}.zoom-close{float:right;border:0;background:#123454;color:#fff;border-radius:30px;width:35px;height:35px;position:relative;z-index:3;margin:0 0 6px}.alert{padding:14px 18px;border-radius:10px;margin:16px 0;color:#275f4b;background:#e6f6ec;border:1px solid #b6dec8;font-size:.91rem}.alert.error{color:#8b3a34;background:#fff1ed;border-color:#f5c7bc}
/* Administración */
.admin-body{background:#f3f7f9}.admin-topbar{background:#102b46;color:white;border-bottom:1px solid #ffffff1b}.admin-topbar .container{height:72px}.admin-topbar .brand{color:white;font-size:1rem;letter-spacing:normal}.admin-topbar .brand-icon{background:#244b60}.top-link{font-size:.8rem;color:#cfdfdf;font-weight:750}.admin-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:calc(100vh - 72px)}.admin-sidebar{background:#fff;border-right:1px solid #e5ecef;padding:23px 13px;display:flex;flex-direction:column;gap:6px}.admin-sidebar>a,.logout{width:100%;display:flex;gap:11px;padding:13px 16px;border-radius:9px;color:#536775;font-size:.84rem;font-weight:730;text-align:left;align-items:center}.admin-sidebar>a.active{background:#e6f5f1;color:#137a70}.admin-sidebar>a:hover,.logout:hover{background:#eff6f6}.admin-sidebar form{margin-top:22px}.logout{border:0;background:transparent}.admin-content{min-width:0;width:100%;padding:35px min(3vw,46px) 75px;max-width:1650px;margin:0 auto}.admin-header{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:27px}.admin-header h1{font-size:2.05rem;margin:7px 0}.admin-header p{margin:0;font-size:.89rem}.admin-panel{min-width:0;background:#fff;border:1px solid #e6ecef;border-radius:15px;padding:23px 26px;margin-bottom:21px;box-shadow:0 4px 15px #11314c08}.admin-panel h2{font-size:1.1rem;margin:0 0 18px;letter-spacing:-.025em}.admin-panel p{font-size:.83rem}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.stat-card{background:#fff;border:1px solid #e1eaec;padding:21px;border-radius:14px;display:flex;flex-direction:column;box-shadow:0 3px 12px #11314c07}.stat-card span{font-size:.78rem;color:#617784;font-weight:690}.stat-card strong{font-size:2.1rem;letter-spacing:-.045em;margin:11px 0 4px;color:#193e54}.stat-card small{font-size:.7rem;color:#9aaab0}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.panel-title h2{margin:0}.panel-title>span{font-size:.76rem;color:#8397a2}.panel-title p{margin:4px 0 0}.period-pills{display:flex;gap:4px;border-radius:9px;background:#edf4f4;padding:4px}.period-pills a{padding:7px 13px;border-radius:6px;color:#63818b;font-size:.76rem;font-weight:770;white-space:nowrap}.period-pills a.active{background:#fff;box-shadow:0 1px 5px #152c4018;color:#167a74}.bars-chart{display:flex;align-items:end;gap:4px;height:190px;border-bottom:1px solid #e4eeed;padding:15px 0 0}.bar-item{height:100%;flex:1;display:flex;align-items:end;min-width:0}.bar{background:linear-gradient(0deg,#2a918c,#79c5b5);border-radius:4px 4px 0 0;width:100%;min-height:2px}.bar:hover{background:#1a6971}.chart-caption{display:flex;justify-content:space-between;color:#96a9ae;font-size:.7rem;margin-top:9px}.admin-two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rank-list{display:flex;flex-direction:column;gap:0}.rank-list>div{display:flex;align-items:center;border-top:1px solid #f0f3f4;padding:10px 0;gap:10px;font-size:.79rem;min-width:0}.rank-list>div>:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank-list strong{color:#257e79}.rank-number{font-size:.77rem;font-weight:870;color:#8ba4ad;width:19px}.muted{color:#8a9ca7;font-size:.81rem}.button-row{display:flex;gap:10px;flex-wrap:wrap}.table-scroll{overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;font-size:.81rem;text-align:left;min-width:750px}.admin-table th{background:#f6f9fa;color:#68808c;font-size:.73rem;letter-spacing:.02em;padding:13px 12px}.admin-table td{padding:15px 12px;border-bottom:1px solid #eef2f4;vertical-align:middle}.table-resource{display:flex;gap:13px;align-items:center;min-width:190px}.table-resource img{width:73px;height:55px;object-fit:contain;background:#f3f6f6;border-radius:7px}.table-resource strong{display:block;line-height:1.5;max-width:260px}.table-resource small{display:block;color:#a1adb3;margin-top:3px}.status-pill{padding:5px 9px;border-radius:6px;font-size:.71rem;font-weight:790}.status-pill.published{color:#16806b;background:#e5f6ed}.status-pill.draft{color:#967233;background:#fff4d8}.action-row{display:flex;gap:13px}.action-row a{color:#16827e;font-weight:770}.text-danger{border:0;background:none;color:#bd5862;font-size:.8rem;font-weight:720;padding:0}.empty-table{text-align:center;padding:35px!important;color:#899ba5}.map-tabs{display:inline-flex;margin-bottom:21px}.edit-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:20px;align-items:start}.form-stack{display:flex;flex-direction:column;gap:19px}.form-stack h2{margin-bottom:2px}.form-stack textarea{resize:vertical;line-height:1.7}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-stack .checkline{display:flex;flex-direction:row;align-items:center;gap:9px;margin:25px 0 0}.checkline input{width:17px;min-height:auto;height:17px;accent-color:#208a7e}.form-side .admin-panel+.admin-panel{display:flex;flex-direction:column;gap:11px}.image-preview-admin{max-width:100%;max-height:260px;object-fit:contain;background:#f4f7f7;border-radius:10px;border:1px solid #e8eeee}.help-box{background:#f0f8f6;border-radius:9px;padding:13px;font-size:.77rem;color:#517b76;line-height:1.75}.category-editor{display:grid;grid-template-columns:1.2fr 1.5fr 68px 66px 67px auto;align-items:end;gap:12px}.category-editor input[type=color]{padding:5px}.category-editor .btn{height:44px}.category-edit-row{padding:18px 0;border-top:1px solid #eef2f3}.category-extra{display:flex;justify-content:space-between;gap:12px;margin-top:7px;font-size:.74rem;color:#92a3a9}.settings-form{max-width:780px}.settings-form hr{border:0;border-top:1px solid #edf1f1;width:100%;margin:8px 0}.settings-form button.btn{align-self:flex-start}.login-main{display:grid;place-items:center;min-height:100vh;padding:35px;background:radial-gradient(circle at 78% 17%,#c2e8de 0%,transparent 34%),#eef5f4}.login-card{width:min(445px,100%);padding:38px;background:white;border:1px solid #e7efef;box-shadow:0 22px 60px #1838501c;border-radius:21px}.login-card h1{font-size:1.85rem;margin:6px 0}.login-card p{font-size:.88rem;margin-bottom:22px}.login-icon{height:47px;width:47px;border-radius:13px;background:#123454;color:#c7f2db;display:grid;place-items:center;font-size:1.5rem;margin-bottom:14px}.login-card .back-link{margin:25px 0 0}.login-card .btn{margin-top:7px}
@media(max-width:1100px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.maps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-panel{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-search{grid-column:span 2}.filter-submit{grid-column:span 1}.category-editor{grid-template-columns:1fr 1fr 60px 70px 70px}.category-editor button{grid-column:1/-1}.hero-grid{grid-template-columns:1.05fr .95fr}.hero-visual{height:370px}.admin-shell{grid-template-columns:213px minmax(0,1fr)}.admin-sidebar{padding:17px 8px}.admin-sidebar>a{padding:12px 9px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.site-nav{gap:16px}.header-row{min-height:76px}.hero-grid{grid-template-columns:1fr;padding:50px 0 55px}.hero-visual{display:none}.hero h1{font-size:clamp(2.5rem,7vw,3.8rem)}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.maps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section{padding:57px 0}.detail-layout{grid-template-columns:1fr}.detail-top-btn{display:none}.download-aside{max-width:none}.footer-main{gap:30px;grid-template-columns:2fr 1fr}.footer-main>div:last-child{grid-column:1/-1}.admin-shell{grid-template-columns:1fr}.admin-sidebar{flex-direction:row;overflow:auto;padding:9px 14px;border-bottom:1px solid #e5ecef;border-right:0;gap:4px}.admin-sidebar>a,.admin-sidebar .logout{white-space:nowrap;font-size:.75rem}.admin-sidebar>a span{display:none}.admin-sidebar form{margin:0}.admin-content{padding:27px 18px 50px}.edit-grid,.admin-two-col{grid-template-columns:1fr}.category-editor{grid-template-columns:1fr 1fr 70px}.category-editor button{grid-column:auto}.category-editor label:nth-of-type(2){grid-column:1/-1;grid-row:2}.category-editor label:nth-of-type(3){grid-column:3;grid-row:1}.category-editor label:nth-of-type(4){grid-row:3;grid-column:1}.category-editor label:nth-of-type(5){grid-row:3;grid-column:2}.category-editor button{grid-row:3;grid-column:3}}
@media(max-width:580px){.container{width:min(var(--max),calc(100% - 30px))}.header-row{min-height:73px}.brand{font-size:1.05rem}.brand-icon{width:37px;height:37px}.site-nav{display:none}.nav-action{font-size:.77rem;padding:10px 13px}.nav-action span{margin-left:5px}.hero-grid{padding:46px 0 52px}.hero h1{font-size:2.52rem}.hero-desc{font-size:.91rem}.hero-search span{margin:0 7px;font-size:1.5rem}.hero-search input{font-size:.78rem}.hero-search button{padding:13px}.hero-stats{gap:15px}.hero-stats span{font-size:.7rem}.section-heading{align-items:start;flex-direction:column}.section-heading h2{font-size:1.9rem}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.category-card{padding:17px 13px;min-height:205px}.category-card strong{font-size:.84rem}.category-desc{font-size:.7rem}.category-icon{width:40px;height:40px;font-size:1.25rem}.maps-grid{gap:12px}.map-card-body{padding:12px}.map-card h3{font-size:.9rem}.map-card p{font-size:.72rem}.card-category{font-size:.58rem}.card-bottom{font-size:.65rem}.pill-level{font-size:.59rem;padding:4px 7px;left:6px;bottom:6px}.filter-panel{grid-template-columns:1fr;padding:15px}.filter-search,.filter-submit{grid-column:1}.detail-header h1{font-size:2.15rem}.detail-image-frame{padding:9px}.detail-metadata{gap:10px}.footer-main{grid-template-columns:1fr 1fr;gap:20px;padding:37px 0}.footer-main>div:first-child{grid-column:1/-1}.footer-main>div:last-child{grid-column:auto}.footer-bottom{flex-direction:column;gap:6px}.cta-flex{align-items:start;flex-direction:column}.admin-header{align-items:flex-start;flex-direction:column}.stat-grid{gap:10px}.stat-card{padding:15px}.stat-card strong{font-size:1.7rem}.stat-card span{font-size:.73rem}.panel-title{align-items:flex-start;flex-direction:column}.admin-panel{padding:17px}.form-columns{grid-template-columns:1fr}.form-stack .checkline{margin:2px 0}.category-editor{grid-template-columns:1fr 1fr}.category-editor label:nth-of-type(n){grid-column:auto;grid-row:auto}.category-editor label:nth-of-type(2){grid-column:1/-1}.category-editor button{grid-column:1/-1}.category-extra{align-items:flex-start;flex-direction:column}.period-pills a{padding:6px 9px}.bars-chart{height:150px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* IMAGE_LAYOUT_V12: proporción uniforme sin recortar contenido ni forzar el original */
.map-thumb{aspect-ratio:4/3;display:grid;place-items:center;background:#f3f7f7}
.map-thumb img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.detail-image-frame{display:flex;flex-direction:column;align-items:center;justify-content:center}
.detail-image-frame>img{display:block;max-width:100%;max-height:78vh;width:auto;height:auto;object-fit:contain;margin-inline:auto}
.detail-image-frame figcaption{width:100%}

/* PF_SHARE_V14_STYLE */
.pf-share{border:1px solid #dbe8e9;border-radius:16px;padding:18px;margin:20px 0;background:#f7faf9}.pf-share-title{font-size:1.05rem;margin:0 0 13px}.pf-share-actions{display:flex;flex-wrap:wrap;gap:9px}.pf-share-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cddfdf;background:white;border-radius:9px;padding:10px 14px;min-height:44px;color:#184958;font-weight:700;font-size:.87rem;text-decoration:none}.pf-share-btn:hover,.pf-card-share:hover{background:#e4f4f1}.pf-share-feedback{font-size:.8rem;margin:8px 0 0;min-height:1em}.pf-card-actions{display:inline-flex;gap:12px;align-items:center;flex-wrap:wrap}.pf-card-share{border:0;background:transparent;color:#167e78;font-size:.75rem;font-weight:750;padding:6px 0;min-height:36px}.card-bottom{align-items:center}.pf-native[hidden]{display:none!important}@media(max-width:550px){.pf-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pf-share-btn{font-size:.83rem;padding:10px 5px}.pf-card-actions{gap:6px}}
