/* COYOTE 61 · ajustes integrales V2 · interfaz, continuidad, SEO visual */
:root{--c61-pine:#23372f;--c61-olive:#627259;--c61-sage:#9eaa8c;--c61-sand:#d9c7ac;--c61-cream:#f5f0e5}
/* Header + unified navigation */
.c61-header .c61-menu-button{animation:c61-menu-intro 1.25s cubic-bezier(.2,.8,.2,1) .45s both, c61-menu-hint 1.5s ease 2s 1}
@keyframes c61-menu-intro{from{opacity:.3;transform:translateX(14px)}to{opacity:1;transform:translateX(0)}}
@keyframes c61-menu-hint{0%,100%{filter:drop-shadow(0 0 0 #e6e8c000)}45%{filter:drop-shadow(0 0 8px #f5f0e5bf)}}
.c61-menu.is-open .c61-menu-link{animation:c61-menu-item-in .52s both cubic-bezier(.2,.85,.25,1)}
.c61-menu.is-open .c61-menu-link:nth-child(1){animation-delay:.08s}.c61-menu.is-open .c61-menu-link:nth-child(2){animation-delay:.13s}.c61-menu.is-open .c61-menu-link:nth-child(3){animation-delay:.18s}.c61-menu.is-open .c61-menu-link:nth-child(4){animation-delay:.23s}.c61-menu.is-open .c61-menu-link:nth-child(5){animation-delay:.28s}
@keyframes c61-menu-item-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* Compact, shared footer: copyright is within the brand column, no border. */
.c61-footer{padding:43px max(5.2vw,22px) 39px!important;background:#17291f!important}
.c61-footer-grid{max-width:1320px;grid-template-columns:minmax(250px,1.55fr) minmax(150px,.65fr) minmax(220px,1fr);gap:clamp(26px,5vw,80px);padding:0!important}
.c61-footer-logo img{height:48px!important;width:35px!important}
.c61-footer-logo strong{font-size:21px!important}
.c61-footer-eyebrow{margin:11px 0 14px!important}
.c61-footer-about>p:last-child{max-width:none!important}
.c61-footer-about>p:not(.c61-footer-eyebrow):not(.c61-copyright){color:#bdcbbf!important;font-size:12px!important;line-height:1.6!important;max-width:380px!important;margin:0 0 19px!important}
.c61-footer-about .c61-copyright{color:#adbfad!important;font-size:10px!important;letter-spacing:.085em;margin:15px 0 0!important}
.c61-footer-col{gap:10px!important}
.c61-footer-col h3{margin:2px 0 8px!important}
.c61-footer-col>a,.c61-footer-col>span{font-size:12px!important;line-height:1.5!important}
.c61-footer-col a{transition:transform .2s,color .2s}
.c61-footer-col a:hover{transform:translateX(3px)}
/* direct map entry, on all commercial subpages; never competes with the map controls */
.c61-map-shortcut{position:fixed;bottom:23px;right:23px;z-index:62;display:inline-flex;align-items:center;gap:9px;padding:11px 17px 11px 13px;background:#23372fea;color:#f5f0e5!important;text-decoration:none!important;border:1px solid #d9c7ac88;border-radius:40px;box-shadow:0 10px 35px #0f231c55;backdrop-filter:blur(12px);font:600 12px/1.2 'Space Grotesk',sans-serif;letter-spacing:.025em;transition:background .28s,transform .28s,box-shadow .28s;transform:translateY(0);animation:c61-map-entry .95s .95s both}
.c61-map-shortcut svg{height:19px;width:19px;flex:none}
.c61-map-shortcut:hover{background:#415e4e;transform:translateY(-5px);box-shadow:0 14px 40px #0f231c75}
.c61-menu-open .c61-map-shortcut{opacity:0;pointer-events:none}
@keyframes c61-map-entry{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
/* Conversion path: Proyecto → Inversión → Contacto → Proyecto */
.c61-continue{background:#e7e9dd;color:#23372f;padding:clamp(36px,4.5vw,70px) max(5.5vw,26px);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:35px;border-top:1px solid #425c4566}
.c61-continue>div{max-width:800px}
.c61-continue-eyebrow{font-size:10px;letter-spacing:.18em;color:#627259;font-weight:600}
.c61-continue h2{font:500 clamp(27px,3vw,45px)/1.12 'Space Grotesk',sans-serif!important;letter-spacing:-.045em;margin:12px 0 10px!important;color:#23372f!important}
.c61-continue p{font:400 14px/1.6 'Space Grotesk',sans-serif;color:#485a4a;margin:0!important}
.c61-continue-link{display:inline-flex;align-items:center;gap:18px;justify-content:space-between;min-width:207px;padding:15px 17px;background:#23372f;color:#f5f0e5!important;border:1px solid #23372f;border-radius:5px;text-decoration:none!important;font:600 12px 'Space Grotesk',sans-serif;transition:transform .25s,background .25s}
.c61-continue-link:hover{background:#48624e;transform:translateY(-3px)}
/* Interactive controls: one soft entrance accent when each enters the viewport; reduced-motion respected. */
@keyframes c61-discover{0%{filter:drop-shadow(0 0 0 #d9c7ac00)}45%{filter:drop-shadow(0 0 9px #d9c7acb8)}100%{filter:drop-shadow(0 0 0 #d9c7ac00)}}
.c61-discover.is-revealed{animation:c61-discover 1.35s ease-out both}
.c61-discover:focus-visible,.c61-map-shortcut:focus-visible,.c61-menu-button:focus-visible{outline:2px solid #b88360!important;outline-offset:3px!important}
/* Cover: retain approved photo, hero CTA transitions */
body[data-page=portada] .hero-actions>a{transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,background .3s!important}
body[data-page=portada] .hero-actions>a:hover{transform:translateY(-5px) scale(1.015)!important;box-shadow:0 17px 33px #09130a66}
/* Project: explanatory copy left, vertical line center, title right. */
body[data-page=proyecto] #presentacion .hero-inner{max-width:1600px!important;padding-left:5.8vw!important;padding-right:5.8vw!important}
body[data-page=proyecto] #presentacion .hero-copy{grid-template-columns:minmax(300px,1fr) minmax(370px,1.08fr)!important;gap:clamp(35px,5vw,92px)!important;align-items:center}
body[data-page=proyecto] #presentacion .c61-hero-text{grid-column:1;grid-row:1;border-left:0;border-right:1px solid #d9c7acb7;padding:15px clamp(22px,4vw,65px) 15px 0!important;background:linear-gradient(270deg,#13231822,transparent);max-width:none}
body[data-page=proyecto] #presentacion .c61-hero-title{grid-column:2;grid-row:1}
body[data-page=proyecto] #presentacion .c61-hero-title h1{font-size:clamp(56px,6vw,103px)!important;max-width:690px}
body[data-page=proyecto] #presentacion .hero-kicker{margin-bottom:25px}
body[data-page=proyecto] #presentacion .c61-hero-text p{max-width:510px!important;font-size:clamp(14px,1.12vw,17px)!important;line-height:1.78}
/* Sequence, projected phases, forest remain as approved. Project closing controls */
body[data-page=proyecto] #patrimonio .legacy-actions a{transition:transform .25s,background .25s,border-color .25s}
body[data-page=proyecto] #patrimonio .legacy-actions a:hover{transform:translateY(-4px)}
/* Investment content aligned to the actual viewport center, slightly higher than V1. */
body[data-page=inversion] .hero-content{top:46.8%!important;transform:translateY(-50%)!important;margin-top:0!important}
/* Maps: aligned information card and map controls on the RIGHT, on one horizontal row */
body[data-page=mapas] .story-panel{top:clamp(215px,37%,390px)!important;bottom:auto!important;right:clamp(96px,7.7vw,140px)!important;left:auto!important;transform:none!important;width:min(355px,calc(100vw - 220px))!important;min-width:0;padding:16px 17px 14px!important;background:#13261ded!important;border:1px solid #e3e9d67c!important;border-radius:7px!important;box-shadow:0 10px 35px #07160b65!important;backdrop-filter:blur(15px);max-height:40vh;overflow:auto}
body[data-page=mapas] .map-controls{top:clamp(215px,37%,390px)!important;right:clamp(23px,4vw,67px)!important;transform:none!important;transform-origin:top right;z-index:8}
body[data-page=mapas] .story-panel h1{font-size:clamp(20px,2vw,30px)!important;letter-spacing:-.04em!important;line-height:1.12!important;margin:10px 0 8px!important}
body[data-page=mapas] .story-details p{font-size:12px!important;line-height:1.5!important}
body[data-page=mapas] .story-toggle{display:flex!important;cursor:pointer}
body[data-page=mapas] .story-panel.collapsed{width:min(245px,calc(100vw - 220px))!important;max-height:none;overflow:visible}
body[data-page=mapas] .story-panel.collapsed h1{font-size:15px!important;margin:6px 0 2px!important}
body[data-page=mapas] .story-panel.collapsed .story-details{max-height:0!important;opacity:0!important;pointer-events:none}
body[data-page=mapas] .story-panel.demo-peek{box-shadow:0 0 0 5px #9eaa8c24,0 0 33px #d9c7ac6a!important}
body[data-page=mapas] .story-toggle{transition:background .3s,transform .3s}
body[data-page=mapas] .story-toggle:hover{background:#68846a5b}
body[data-page=mapas] .map-footnote{bottom:107px;right:clamp(22px,4vw,70px);z-index:6}
body[data-page=mapas] .map-footnote .footnote-area{order:0}
body[data-page=mapas] .map-footnote .footnote-note{order:1}
body[data-page=mapas] .transport{max-width:700px;opacity:.95}
body[data-page=mapas] .transport:hover,body[data-page=mapas] .transport:focus-within{opacity:1}
body[data-page=mapas] .transport-buttons button,body[data-page=mapas] .tour-speed button{transition:transform .2s,background .2s}
body[data-page=mapas] .transport-buttons button:hover,body[data-page=mapas] .tour-speed button:hover{transform:scale(1.13)}
@media(max-width:980px){body[data-page=proyecto] #presentacion .hero-copy{grid-template-columns:minmax(250px,.92fr) minmax(280px,1.08fr)!important;gap:30px!important}body[data-page=proyecto] #presentacion .c61-hero-title h1{font-size:clamp(53px,6.7vw,77px)!important}body[data-page=mapas] .story-panel{top:35%!important;right:91px!important;width:min(310px,calc(100vw - 170px))!important}body[data-page=mapas] .story-panel.collapsed{width:min(220px,calc(100vw - 170px))!important}body[data-page=mapas] .map-controls{top:35%!important;right:22px!important}}
@media(max-width:760px){
.c61-footer{padding:42px 23px 34px!important}.c61-footer-grid{grid-template-columns:1fr 1fr;gap:32px}.c61-footer-about{grid-column:1/-1}
.c61-continue{grid-template-columns:1fr;gap:22px;padding:40px 25px}.c61-continue-link{width:fit-content}
body[data-page=proyecto] #presentacion .hero-copy{grid-template-columns:1fr!important;gap:24px!important}
body[data-page=proyecto] #presentacion .c61-hero-title{grid-column:1;grid-row:1}
body[data-page=proyecto] #presentacion .c61-hero-text{grid-column:1;grid-row:2;border-left:1px solid #d9c7acb7;border-right:0;padding:5px 0 5px 18px!important;background:linear-gradient(90deg,#13231833,transparent)}
body[data-page=proyecto] #presentacion .c61-hero-title h1{font-size:clamp(51px,11.5vw,77px)!important}
body[data-page=proyecto] #presentacion .hero-inner{padding:110px 24px 100px!important}
body[data-page=mapas] .story-panel{top:auto!important;bottom:105px!important;right:12px!important;left:12px!important;width:auto!important;max-height:30vh!important;padding:12px 14px!important}
body[data-page=mapas] .story-panel.collapsed{left:auto!important;right:13px!important;width:min(260px,calc(100vw - 26px))!important;max-height:85px!important}
body[data-page=mapas] .story-panel.collapsed h1{font-size:14px!important}
body[data-page=mapas] .story-panel .story-details{max-height:30vh;overflow:auto}
body[data-page=mapas] .map-controls{top:28%!important;right:12px!important;transform:scale(.85)!important}
body[data-page=mapas] .map-footnote{bottom:95px!important;right:14px!important;max-width:66%}
body[data-page=inversion] .hero-content{top:47.5%!important;transform:translateY(-47%)!important}
}
@media(max-width:480px){.c61-footer-grid{grid-template-columns:1fr;gap:26px}.c61-footer-about{grid-column:auto}.c61-map-shortcut{right:14px;bottom:15px;padding:10px 12px;gap:6px;font-size:11px}.c61-map-shortcut svg{height:17px;width:17px}.c61-continue h2{font-size:30px!important}body[data-page=mapas] .story-panel{bottom:94px!important;max-height:29vh!important}body[data-page=mapas] .story-panel.collapsed{bottom:92px!important}body[data-page=mapas] .map-footnote{bottom:93px!important}body[data-page=inversion] .hero-content{top:47%!important;transform:translateY(-45%)!important}}
@media(prefers-reduced-motion:reduce){.c61-menu.is-open .c61-menu-link,.c61-header .c61-menu-button,.c61-discover.is-revealed,.c61-map-shortcut{animation:none!important;transition:none!important}}
/* Mobile refinement: two compact footer navigation columns after the brand. */
@media(max-width:480px){
 .c61-footer{padding:35px 22px 28px!important}
 .c61-footer-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.25fr)!important;column-gap:18px;row-gap:25px}
 .c61-footer-about{grid-column:1 / -1!important}
 .c61-footer-col{min-width:0}
 .c61-footer-col a,.c61-footer-col span{overflow-wrap:anywhere;word-break:normal;font-size:11px!important}
 .c61-footer-about>p:not(.c61-footer-eyebrow):not(.c61-copyright){margin-bottom:11px!important}
 .c61-footer-about .c61-copyright{margin:10px 0 0!important}
 body[data-page=mapas] .map-footnote{top:90px!important;bottom:auto!important;left:14px!important;right:auto!important;align-items:flex-start!important;max-width:160px!important;gap:4px!important;padding:6px 8px;background:#13261da8;border-radius:4px;backdrop-filter:blur(4px)}
 body[data-page=mapas] .map-footnote .footnote-area{font-size:8px!important;line-height:1.35!important}
 body[data-page=mapas] .map-footnote .footnote-note{display:block!important;font-size:6.5px!important;line-height:1.35!important}
}
