
.project-template [hidden]{display:none!important}
.project-page{max-width:1160px;margin:0 auto;padding:52px 40px 44px}
.project-heading{padding-bottom:28px;border-bottom:1px solid var(--line)}
.project-heading .eyebrow{margin-bottom:18px}
.project-heading h1{font-size:clamp(2.5rem,5vw,4.5rem);max-width:980px;overflow-wrap:anywhere}
.project-client{margin-top:18px;font-size:1rem;color:#53665d}
.project-story{display:grid;grid-template-columns:minmax(210px,.65fr) minmax(0,1.5fr);gap:48px;align-items:start;padding:38px 0}
.project-logo-panel{background:#edf0e5;border:1px solid #d8dece;border-radius:8px;min-height:225px;padding:30px;display:flex;align-items:center;justify-content:center}
.project-logo-panel img{width:auto;max-width:100%;max-height:190px;object-fit:contain}
.project-logo-placeholder{display:flex;align-items:center;flex-direction:column;gap:14px;color:#627560;font-size:.85rem;text-align:center}
.project-logo-placeholder svg{width:54px;height:54px}
.project-story-copy .eyebrow{margin-bottom:12px}
.project-story-copy h2,.project-film h2{font-size:clamp(1.7rem,2.8vw,2.5rem);line-height:1.15;letter-spacing:-.04em}
#project-text{margin-top:20px}#project-text p{font-size:1rem;line-height:1.8;max-width:none}#project-text p+p{margin-top:15px}
.project-film{border-top:1px solid var(--line);padding-top:28px}.project-film-heading{margin-bottom:22px}.project-film-heading .eyebrow{margin-bottom:10px}
.project-video-shell{position:relative;aspect-ratio:16/9;background:var(--green);border-radius:8px;overflow:hidden}
.project-video-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;gap:18px;align-items:center;justify-content:center;background:linear-gradient(135deg,#164743,#0b2d2b);color:var(--lime);border:0;width:100%;font-size:1rem}
.project-video-placeholder:disabled{cursor:default}.project-play{width:64px;height:64px;display:grid;place-items:center;padding-left:4px;background:var(--lime);color:var(--green);border-radius:50%;font-size:1.2rem}.project-video-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.project-video-caption{font-size:.82rem;margin-top:12px;color:#53665d}
.project-return{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:32px}.project-return>a:last-child{font-size:.86rem;text-decoration:underline;text-underline-offset:5px}
.project-footer{padding:24px 6%;background:#edf0e5;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;font-size:.78rem}
@media(max-width:700px){.project-page{padding:32px 6%}.project-story{grid-template-columns:1fr;gap:24px;padding:28px 0}.project-logo-panel{min-height:160px;padding:24px}.project-logo-panel img{max-height:130px}.project-play{width:48px;height:48px}.project-return{align-items:stretch;flex-direction:column}.project-return .button{justify-content:space-between}}

.project-logo-panel{background:#0f3735;border-color:#0f3735;position:sticky;top:120px}.project-logo-panel img{width:100%;height:auto;max-height:none}.video-external{margin-top:14px;font-size:.85rem;text-decoration:underline;text-underline-offset:4px}.project-video-placeholder:focus-visible{outline:3px solid #d6edaa;outline-offset:-6px}@media(max-width:700px){.project-logo-panel{position:static}}

/* Logo completo: proporcion original 2048 x 1022. */
.project-logo-panel{min-width:0;padding:clamp(24px,3vw,36px)}
.project-logo-panel #project-logo{display:block;width:100%;max-width:320px;height:auto;max-height:none;object-fit:contain}
@media(max-width:700px){.project-logo-panel{min-height:0;padding:28px 24px}.project-logo-panel #project-logo{max-width:280px}}

/* Titulo compacto, adaptable a pantallas pequenas. */
.project-heading h1{font-size:clamp(1.7rem,3vw,2.7rem);line-height:1.18;max-width:960px;letter-spacing:-.035em;overflow-wrap:normal}

.project-title-brand{display:block}.project-title-subtitle{display:block;font-size:.72em;line-height:1.3;letter-spacing:-.02em;margin-top:.35em}

/* Contraste y proporciones del logo Segunda Vela. */
.project-logo-panel{background:#fff;border-color:#d8dece}.project-logo-panel #project-logo{max-width:320px;height:auto;object-fit:contain}
