/* V29 — compact controls, progressive detail and a tactile project constellation. */
body .button,body .hero-actions .button,body .contact-actions .button,body .calendar-booking .button,body .story-next,body .scene-cta,body .copy-message,body .detail-back{border-radius:999px;min-height:44px;font-size:.94rem;line-height:1.25;padding:.65rem 1.15rem;gap:.6rem;justify-content:center;width:auto}
body .hero-actions{display:flex;gap:.65rem}.hero-actions .button{flex:none}.button-small{min-height:44px!important}
body .journey-links>a{border-radius:999px;min-height:44px;padding:.4rem .5rem;font-size:.9rem}
body .motion-toggle,body .menu-toggle{border-radius:999px}
body .hero-art img{filter:none!important;animation:none!important;transform:none;object-fit:contain}
.hero-grid{padding-top:1.5rem}.hero-kicker{margin-bottom:1.4rem}.hero h1 .intro-part{display:block}.hero-copy h1{line-height:1.07}
.hero-description{max-width:32rem}.hero-grid .hero-art{padding:0;max-width:650px}
/* Two equal, overfilled groups make the marquee seamless on any viewport. */
.marquee{padding:.28rem 0}.marquee-track{display:flex;width:max-content;gap:0;animation:marquee-seamless 75s linear infinite}
.marquee-group{display:flex;flex:none;min-width:100vw;white-space:nowrap;align-items:center;gap:0}
.marquee-group>span{display:inline-flex;align-items:center;flex:none;font-size:1rem;line-height:1.4;white-space:nowrap}
.marquee-group i{font-style:normal;margin:0 .85rem;color:var(--navy)}
@keyframes marquee-seamless{to{transform:translateX(-50%)}}
.interactive .goal-grid{gap:.65rem}.goal-grid button{border-radius:999px!important;min-height:70px;padding:.7rem 1.15rem;grid-template-columns:24px minmax(0,1fr) 14px;gap:.6rem}
.goal-grid button>img{width:24px;height:24px}.goal-grid button strong{font-size:1rem}.goal-grid button .case-arrow{width:14px;font-size:1.05rem}
.story-steps .story-step{border-radius:999px;min-height:44px;padding:.7rem 1rem;text-align:center}.story-step-title{font-size:1rem}
.story-step-copy{display:none!important}.story-summary{font-size:1.06rem;line-height:1.5;margin:1.3rem .5rem 0;color:white}
body .story-next{align-self:flex-end}.story-stage .scene-cta{align-self:flex-start}
/* The entire card opens a detail; the visible action remains a compact pill. */
.service-item{padding-bottom:4.4rem;cursor:pointer}.service-open{position:absolute;inset:0;width:100%;height:100%;background:transparent;border-radius:inherit;text-align:left;z-index:1}
.service-open>span{position:absolute;bottom:1.15rem;right:1.5rem;display:flex;align-items:center;gap:.7rem;border:1px solid var(--blue);border-radius:999px;padding:.55rem 1rem;font-size:.9rem;line-height:1.25;color:var(--blue);background:var(--paper);min-height:42px;transition:background .2s,color .2s}
.service-open b{font-weight:400;font-size:1.15rem}.service-open:hover>span,.service-open:focus-visible>span{background:var(--blue);color:white}.service-open:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
/* Stable honeycomb positions, complete logos, magnification without layout shifts. */
.digital-projects{background:linear-gradient(145deg,#edf2ff 0%,var(--paper) 52%,#e0fa6c35 100%);padding-block:3.5rem}
.projects-intro{max-width:47rem;margin:0 auto;text-align:center}.projects-intro p{margin-inline:auto!important}.project-scope{text-align:center;color:var(--muted);font-size:1rem;max-width:40rem;margin:1.6rem auto 0}
.project-universe{max-width:740px;margin:2.6rem auto 0;padding:1rem .5rem}
body .project-choices{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:auto;grid-auto-flow:row;gap:1.6rem .65rem;overflow:visible;padding:0;scroll-snap-type:none;isolation:isolate}
body .project-choice{--bubble-scale:1;--bubble-lift:0px;position:relative;grid-column:span 2;min-height:0;border:0!important;border-radius:999px;padding:0!important;background:transparent!important;box-shadow:none!important;display:flex;align-items:center;flex-direction:column;justify-content:start;gap:.55rem;transition:none;z-index:1}
body .project-choice:nth-child(1),body .project-choice:nth-child(10){grid-column:2/span 2}
body .project-choice:nth-child(5){grid-column:1/span 2}
body .project-choice .project-logo{display:grid;place-items:center;flex:none;width:100%;height:auto;aspect-ratio:1;border-radius:50%;padding:18%;background:white;border:1px solid #c6d2f3;box-shadow:0 8px 24px #1d368711;transform:translateY(var(--bubble-lift)) scale(var(--bubble-scale));transition:transform .24s ease,border-color .2s,box-shadow .2s;will-change:transform;overflow:hidden}
body .project-choice .logo-on-dark{background:var(--navy)}
body .project-choice .project-logo img{width:100%;height:100%;max-height:100%;object-fit:contain;filter:none!important;animation:none!important;transform:none!important;pointer-events:none}
body .project-choice .project-choice-name{font-size:.87rem;line-height:1.2;text-align:center;margin:0;max-width:100%;color:var(--navy);font-weight:500;transition:color .2s;overflow-wrap:anywhere}
body .project-choice[data-project=universidades] .project-choice-name{font-size:.8rem}
.project-choice:is(:hover,:focus-visible,.is-pointed){z-index:3}.project-choice:is(:hover,:focus-visible,.is-pointed) .project-logo{border-color:var(--blue);box-shadow:0 12px 30px #435dff33}
.project-choice:focus-visible{outline:0}.project-choice:focus-visible .project-logo{outline:3px solid var(--blue);outline-offset:4px}
body .project-choice:focus-visible,body .project-choice:active{--bubble-scale:1.12;--bubble-lift:-3px}
.project-choice.is-related .project-logo{border-color:#8194e1}
/* Portrait keeps the complete original image inside a tall capsule. */
.about{align-items:center;gap:clamp(2rem,5vw,5rem)}.portrait-wrap{width:100%;max-width:340px;justify-self:center;border-radius:999px;overflow:hidden;border:1px solid #93a9dc;background:#dbe6f8}
.portrait-wrap img{width:100%;height:auto;object-fit:contain;border-radius:999px;transform:none;filter:none}
.about-name{font-size:1rem!important;font-weight:500;color:var(--blue);margin:0 0 1rem!important}.about-copy h2{font-size:clamp(2.1rem,3.35vw,3.3rem);line-height:1.13;max-width:43rem}.about-copy>p:not(.about-name){max-width:40rem}
/* FAQs are quiet until opened; colour gives the section a distinct role. */
.faq{background:var(--navy);color:var(--paper);border:0;gap:3rem;padding-block:3.2rem;align-items:start}
.faq-intro{position:relative}.faq-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--lime);color:var(--navy);font-size:2.4rem;font-weight:500;margin-bottom:1.2rem}
.faq h2 strong{color:var(--lime)}.faq-list{display:grid;gap:.65rem}.faq-list details{border:1px solid #ffffff30!important;border-radius:22px;padding:0 1.2rem;background:#ffffff05;overflow:hidden;transition:background .2s}
.faq-list summary{font-size:1.06rem;color:white;min-height:76px;padding:1rem 0;gap:1rem;line-height:1.35}
.faq-list summary .plus{color:var(--lime);width:32px;height:32px;flex-basis:32px;font-size:1.3rem}
.faq-list details[open]{background:#ffffff10;border-color:#e0fa6c77!important}.faq-list details[open] .plus{transform:rotate(45deg)}.faq-list details p{color:#e1e6fa;font-size:1.02rem;padding:0 0 1.1rem;line-height:1.5}
/* One centred invitation; two equally clear ways to start. */
.booking{display:block;text-align:center;padding-block:4rem}.booking-copy{max-width:50rem;margin:0 auto 2.2rem}.booking-copy>p:not(.eyebrow){max-width:38rem;margin:1.1rem auto 0}.booking-copy h2{font-size:clamp(2.5rem,4.6vw,4.3rem)}
.booking .route-summary{border-left:0;padding:0;max-width:40rem;margin:1rem auto 0}.booking .summary-label{display:none}.booking .route-summary #route-goal{font-size:1rem;color:var(--lime)}.booking .route-summary #route-inspirations{font-size:.9rem;margin-top:.4rem}
.booking-card{width:100%;max-width:none;text-align:left;padding:clamp(1.2rem,3vw,2.5rem);border-radius:28px}.booking-card-heading{justify-content:center;gap:1rem;border-bottom:1px solid var(--line);padding:0 0 1.1rem;margin-bottom:1.8rem}
.booking-paths{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,6vw,5rem)}.calendar-booking,.contact-options{min-width:0}.calendar-booking{padding-right:2rem;border-right:1px solid var(--line)}
.booking-card h3{font-size:1.9rem;margin:0 0 1rem}.calendar-booking .button{margin-top:1.4rem}.calendar-direct{display:block;font-size:.9rem;width:fit-content}.calendar-booking>p{max-width:26rem}.contact-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}
.contact-options #contact-title{margin:0 0 1.2rem}.booking-card input,.booking-card select{min-height:46px;padding:.65rem .85rem}.booking-card input{border-radius:999px}.booking-card select{border-radius:999px}.booking-disclosure{font-size:.85rem!important}
/* Accessible modal — native focus trap, escape, a visible close and restored focus. */
.detail-dialog{padding:0;margin:auto;border:1px solid #b7c7ee;border-radius:28px;width:min(840px,calc(100vw - 36px));max-width:none;max-height:90dvh;color:var(--navy);background:var(--paper);overflow:auto;overscroll-behavior:contain;box-shadow:0 25px 120px #0005}
.detail-dialog::backdrop{background:#0c123cb8;backdrop-filter:blur(6px)}.detail-dialog[open]{animation:detail-arrives .28s ease-out}
.detail-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1.6rem;background:var(--paper);border-bottom:1px solid var(--line)}
.detail-top>p{font-size:.82rem;color:var(--blue);line-height:1.3;max-width:70%}.detail-top>button{display:flex;gap:.6rem;align-items:center;flex:none;padding:.55rem .9rem;min-height:44px;border-radius:999px;background:var(--navy);color:white;font-size:.88rem}.detail-top>button>span{font-size:1.2rem}
.detail-body{padding:1.8rem 2.4rem 2.1rem}.detail-brand{width:90px;height:66px;display:grid;place-items:center;margin-bottom:1.1rem;border-radius:18px;padding:.4rem;background:white}.detail-brand img{width:100%;height:100%;object-fit:contain}.detail-brand.logo-on-dark{background:var(--navy)}
.detail-body h2{font-size:clamp(1.8rem,3.6vw,2.8rem);line-height:1.12;margin:0 0 1rem;max-width:40rem}.detail-body .detail-lead{font-size:1.13rem;line-height:1.55;color:var(--navy);margin:0 0 1.6rem}
.detail-body h3{font-size:1rem;font-weight:600;letter-spacing:0;color:var(--ink-blue);line-height:1.4;margin:1.3rem 0 .55rem}.detail-body #detail-content p{font-size:1rem;line-height:1.6;color:var(--muted)}
.detail-deliverables{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;padding:0;margin:.8rem 0 1.2rem;list-style:none}.detail-deliverables li{font-size:.95rem;line-height:1.4;padding:.9rem;border:1px solid #b7c7ee;border-radius:16px;background:#eaf0ff}
.detail-opportunity{padding:1.1rem 1.2rem;border-left:3px solid var(--blue);background:#e0fa6c44;margin-top:1.4rem;border-radius:0 16px 16px 0}.detail-opportunity h3{margin:0 0 .5rem}.detail-opportunity p{color:var(--navy)!important}
.detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1.6rem}.detail-actions .button{background:var(--blue)}.detail-back{background:transparent;border:1px solid #a6afcb;color:var(--navy)}
body.detail-open{overflow:hidden}body.detail-open,body.detail-open *{cursor:auto!important}body.detail-open .custom-cursor{display:none!important}
@keyframes detail-arrives{from{opacity:0;transform:translateY(22px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:900px){.story-summary{display:none}.story-step-title{font-size:.9rem}.story-steps .story-step{padding:.6rem .4rem}.hero-grid{gap:1.2rem}.project-universe{max-width:700px}.booking-paths{gap:2rem}.calendar-booking{padding-right:1.5rem}}
@media(max-width:800px){.hero-grid{grid-template-columns:1fr}.hero-grid .hero-art{grid-row:1;width:100%;max-width:310px;margin:auto}.hero-copy{grid-row:2}.hero-kicker{margin-bottom:.7rem}.hero-grid{padding-block:.4rem 1.5rem}.hero h1{font-size:clamp(2.25rem,6.4vw,3.8rem)}.hero-description{margin-top:1rem!important}.project-universe{max-width:560px}.project-choices{touch-action:pan-y}.booking-paths{grid-template-columns:1fr}.calendar-booking{border-right:0;border-bottom:1px solid var(--line);padding:0 0 1.6rem}.faq{grid-template-columns:1fr;gap:1.5rem}.faq-intro{display:flex;align-items:center;gap:1rem}.faq-symbol{flex:none;margin:0;width:56px;height:56px}.faq h2{font-size:2.4rem}.faq h2 br{display:none}.portrait-wrap{max-width:250px}.about{grid-template-columns:1fr}}
@media(max-width:650px){
 .hero{padding-top:.6rem}.hero-grid .hero-art{max-width:260px}.hero-grid{gap:1rem}.hero h1{font-size:clamp(2.3rem,8.5vw,3.2rem)}.hero-description{font-size:1.1rem}.hero-actions .button{min-height:44px;font-size:.93rem;padding:.65rem 1rem}.hero-meeting-note{font-size:.86rem}.hero-kicker{font-size:.88rem}
 body .journey-links>a{font-size:.78rem;padding:.4rem .2rem}.interactive .goal-grid{gap:.6rem}.goal-grid button{grid-template-columns:20px minmax(0,1fr);gap:.4rem;min-height:80px;padding:.7rem .9rem}.goal-grid button>img{grid-column:1;grid-row:1;width:20px;height:20px}.goal-grid button strong{grid-column:2;grid-row:1;font-size:.9rem}.goal-grid button .case-arrow{display:none}
 .service-item{padding:1.4rem 1.4rem 4.1rem;min-height:330px}.service-open>span{bottom:1rem;right:1.2rem;font-size:.85rem;min-height:42px}.service-copy h3{font-size:1.8rem}
 .digital-projects{padding-block:2.6rem}.projects-intro h2{font-size:2.2rem}.projects-intro>p{font-size:1.05rem!important}.project-universe{margin-top:1.4rem;padding:.8rem 0}.project-scope{font-size:.94rem;line-height:1.5;margin-top:1.1rem}
 body .project-choices{grid-template-columns:repeat(6,minmax(0,1fr));gap:1.25rem .65rem}
 body .project-choice:nth-child(n){grid-column:span 2}body .project-choice:nth-child(4),body .project-choice:nth-child(9){grid-column:2/span 2}
 body .project-choice:nth-child(6),body .project-choice:nth-child(11){grid-column:1/span 2}
 body .project-choice .project-choice-name{font-size:.78rem;line-height:1.2}body .project-choice[data-project=universidades] .project-choice-name{font-size:.73rem}
 .about{gap:1.4rem}.about-copy h2{font-size:2.1rem}.about-name{font-size:.9rem!important}.portrait-wrap{width:65%;max-width:235px}.about-copy>p:not(.about-name){font-size:1.1rem}.faq{padding-block:2.5rem}.faq h2{font-size:2.1rem}.faq-list details{border-radius:18px;padding:0 1rem}.faq-list summary{font-size:1rem;min-height:70px}.faq-list details p{font-size:1rem}
 .booking{padding-block:2.8rem}.booking-copy{margin-bottom:1.6rem}.booking-card{border-radius:24px;padding:1.2rem}.booking-card-heading{font-size:.9rem;flex-wrap:wrap;gap:.4rem;margin-bottom:1.4rem}.booking-card h3{font-size:1.7rem}.booking-copy h2{font-size:2.45rem}.booking .route-summary #route-goal{font-size:.94rem}.contact-actions{display:flex;gap:.6rem}.contact-actions .button{font-size:.9rem;padding:.65rem 1rem}.calendar-booking .button{font-size:.9rem}.calendar-booking>p{font-size:1rem}
 .detail-dialog{width:calc(100vw - 18px);max-height:94dvh;border-radius:22px}.detail-top{padding:.65rem .9rem;gap:.5rem}.detail-top>p{font-size:.78rem}.detail-top>button{font-size:.8rem;padding:.55rem .75rem}.detail-body{padding:1.3rem 1.1rem 1.5rem}.detail-body h2{font-size:1.85rem}.detail-body .detail-lead{font-size:1.07rem;line-height:1.5}.detail-body #detail-content p{font-size:1rem}.detail-deliverables{grid-template-columns:1fr;gap:.4rem}.detail-deliverables li{padding:.65rem .8rem}.detail-opportunity{padding:1rem}.detail-brand{width:78px;height:58px}.detail-actions{gap:.6rem}.detail-actions .button,.detail-back{font-size:.9rem;padding:.65rem .95rem}
}
@media(max-width:360px){.story-steps .story-step{padding:.65rem .1rem}.story-step-title{font-size:.75rem}.goal-grid button{padding:.7rem .6rem;gap:.3rem}.goal-grid button strong{font-size:.82rem}.project-choices{gap:1.15rem .4rem!important}.project-choice .project-choice-name{font-size:.75rem!important}.detail-body h2{font-size:1.65rem}.booking-card-heading{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.intro-playing .intro-part,.intro-playing .hero-art img{opacity:1!important;transform:none!important;clip-path:none!important;animation:none!important}.project-choice .project-logo{transform:none!important}.marquee-track{animation:none}.detail-dialog[open]{animation:none}}
body.motion-paused .intro-part,body.motion-paused .hero-art img{opacity:1!important;transform:none!important;clip-path:none!important;animation:none!important}body.motion-paused .project-choice .project-logo{transform:none!important}
@media print{.project-choices{display:flex!important;flex-wrap:wrap}.project-choice{width:110px}.detail-dialog{display:none!important}.service-open{display:none}.hero .intro-part{opacity:1!important}}
.detail-project-name{font-size:.96rem;font-weight:600;color:var(--blue);margin:-.2rem 0 .8rem}

html{scrollbar-gutter:stable}.project-universe .project-choice .project-choice-name{font-size:max(14px,.8rem)!important}

#clear-inspirations{margin-top:.55rem;min-height:44px;padding:.5rem .9rem;border:1px solid #ffffff66;border-radius:999px;background:transparent;color:white;font-size:.85rem}.stack-active .service-item:has(.service-open:focus-visible){z-index:20}

/* The explanation stays with the visual in every stage and at every width. */
.story-canvas>.story-summary{display:block;max-width:34rem;justify-self:center;align-self:center;margin:.15rem 0 .5rem;text-align:center;font-size:clamp(1.3rem,2.2vw,1.85rem);line-height:1.25;font-weight:500;letter-spacing:-.025em;color:white;text-wrap:balance}

@media(max-width:650px){.story-canvas>.story-summary{font-size:1.3rem;line-height:1.3;margin:.1rem .3rem .4rem}.story-canvas{gap:.9rem}}

/* Each circle continues the color of its supplied brand artwork. */
.project-choice[data-project=esencialmente]{--brand-circle:#4a63ce}
.project-choice[data-project=proarsa]{--brand-circle:#005ba7}
.project-choice[data-project=tangore]{--brand-circle:#a7f2e4}
.project-choice[data-project=miel-de-olivo]{--brand-circle:#f1e8d7}
.project-choice[data-project=florida-bebidas]{--brand-circle:#313183}
.project-choice[data-project=ulacit]{--brand-circle:#0c123c}
.project-choice[data-project=amura]{--brand-circle:#231f20}
.project-choice[data-project=ict]{--brand-circle:#008641}
.project-choice[data-project=astek]{--brand-circle:#00626c}
.project-choice[data-project=universidades]{--brand-circle:#3c3750}
.project-choice[data-project=odyse]{--brand-circle:#443d73}
.project-choice[data-project=fluven]{--brand-circle:#705de7}
.project-choice[data-project=muvva]{--brand-circle:#f7ed4e}
body .project-choice .project-logo{background:var(--brand-circle)!important;border-color:transparent;box-shadow:0 8px 24px #1d36871c}
body .project-choice:is([data-project=amura],[data-project=ict],[data-project=astek],[data-project=universidades]) .project-logo img{filter:brightness(0) invert(1)!important}
body .project-choice[data-project=florida-bebidas] .project-logo img{filter:grayscale(1) invert(1) contrast(15)!important;mix-blend-mode:screen}
body .project-choice[data-project=odyse] .project-logo img{clip-path:inset(1px)}
body .project-choice:is(:hover,:focus-visible,.is-pointed) .project-logo{border-color:var(--blue)}

/* Stable captions below the visual: every step reserves the longest line. */
.story-canvas>.story-summary{display:grid;width:100%}
.story-summary>span{grid-area:1/1;visibility:hidden;opacity:0;transition:opacity .3s ease}
.story-summary>span[aria-hidden="false"]{visibility:visible;opacity:1}
@media(max-height:780px){.story-canvas{gap:.65rem}}
