/* The elective storefront lives in the portfolio. */
.studio-test {padding:1rem 0 1.5rem;}
.studio-sample-link,.store-request,.store-revise {color:#173d38;text-decoration:underline;text-underline-offset:.25em;}
.store-action,.store-request,.store-head button,.store-revise,.studio-sample-link {min-height:44px;display:inline-flex;align-items:center;font-weight:600;}
.store-action {background:#183d36;border:0;color:white;padding:.65rem 1.2rem;border-radius:.35rem;}
.studio-test .store-dialog { padding:0; border:0; border-radius:.65rem; background:#faf9f3; color:#15171b;
  width:min(58rem,calc(100% - 2rem)); max-width:none; max-height:90dvh; overflow:auto; }
.store-dialog:not([open]) { display:none; }
.store-dialog::backdrop { background:#070d19bd; }
.store-head { padding:.5rem 1.25rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; border-bottom:1px solid #c9cad0; font-size:.875rem; }
.store-head button,.store-revise { border:0; background:none; font-family:inherit; color:#15171b; }
.store-head button { padding:.4rem .65rem; }
.store-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.store-portrait { background:#142e37; }
.store-portrait img { width:100%;height:100%;object-fit:cover;object-position:53% center;display:block; }
.store-copy { padding:clamp(1.25rem,3vw,2.3rem); }
.store-copy h2 { font:600 clamp(1.8rem,3.3vw,3.1rem)/1.03 'Yavalo Sans',Arial,sans-serif; letter-spacing:-.065em; margin:0 0 .75rem; }
.store-copy>p {color:#4c4e55;line-height:1.45;}
.store-copy fieldset { border:0; padding:0; margin:1.2rem 0 .8rem; }
.store-copy legend,.store-result h3 { font-size:1rem;font-weight:630; }
.store-choices { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.4rem; }
.store-choices label { position:relative; }
.store-choices input { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.store-choices span { display:flex; min-height:44px; align-items:center; padding:.4rem .75rem; border-radius:.25rem; border:1px solid #9a9da6; cursor:pointer; }
.store-choices input:checked+span { color:#1c423e; background:#e6efdd; border:2px solid #336757; padding:calc(.4rem - 1px) calc(.75rem - 1px); }
.store-choices input:focus-visible+span {outline:3px solid #204f45;outline-offset:2px;}
.store-action { margin-top:.5rem; }
.store-request { margin-top:.6rem; }
.store-result { margin-top:1.25rem; background:#e6ecd9; padding:1rem; border-left:3px solid #315227; }
.store-result p { margin:.5rem 0; }
.store-revise {font-size:.94rem;padding:0;}
@media(max-width:620px) {
  .store-layout {grid-template-columns:1fr;}
  .store-portrait {max-height:9rem;overflow:hidden;}
  .store-portrait img {height:9rem;object-position:center 41%;}
  .store-copy {padding:1.15rem;}
}

/* A cutaway of the business anchors the firm's commercial identity. */
.firm, .routes, .firm-method {font-family:'Yavalo Sans',Inter,Arial,sans-serif;}
.firm-frame {width:min(79rem,calc(100% - clamp(2.4rem,8vw,8rem)));margin-inline:auto;}
.firm {background:#0b2028;color:#f4f5f0;}
.firm-stage {position:relative;isolation:isolate;overflow:hidden;background:#091e25;}
.firm-stage>.firm-frame {display:flex;align-items:center;min-height:clamp(30rem,39vw,42rem);position:relative;pointer-events:none;}
.firm-copy {width:min(48%,38rem);pointer-events:auto;padding-block:clamp(2.4rem,4.5vw,5.5rem);}
.firm-context,.firm-overline,.route-area,.cover-type {font:560 .875rem/1.4 'Yavalo Sans',Arial,sans-serif;letter-spacing:.025em;}
.firm-context {display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .85rem;color:#b8c8c8;}
.firm-context b {color:#ddf895;font-weight:600;}
.firm-context span {padding-left:.85rem;border-left:1px solid #708284;}
.firm h1 {margin:clamp(1.1rem,2vw,2rem) 0 1.1rem;color:#f4f5f0;font:560 clamp(3rem,5.05vw,5.75rem)/1.025 'Yavalo Sans',Arial,sans-serif;letter-spacing:-.06em;}
.firm h1 em {display:block;font:italic 400 1.065em/1.02 Georgia,'Times New Roman',serif;letter-spacing:-.048em;color:#e8efdf;}
.firm-lead {font-size:clamp(1rem,1.24vw,1.18rem);line-height:1.56;max-width:45ch;color:#d2dddc;}
.firm-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.55rem 1.4rem;margin-top:clamp(1.2rem,2.3vw,2rem);}
.firm-primary,.firm-secondary,.route-contact,.route-example,.firm-method a,.route-menu a,.firm-links a {display:inline-flex;align-items:center;min-height:44px;}
.firm-primary,.route-contact {background:#ccff00;color:#132023;text-decoration:none;padding:.78rem 1.22rem;border-radius:.24rem;font-weight:650;}
.firm-primary:hover,.route-contact:hover {background:#e2ff72;}
.firm-secondary,.route-example,.firm-method a {color:inherit;text-decoration:underline;text-underline-offset:.3em;text-decoration-color:#849895;font-weight:570;}
.firm-secondary:hover,.route-example:hover,.firm-method a:hover {text-decoration-color:currentColor;}
.firm-map {position:absolute;inset:0 0 0 26%;z-index:-1;}
.firm-map picture,.firm-map img {width:100%;height:100%;display:block;}
.firm-map img {object-fit:cover;object-position:55% 50%;}
.firm-map::after {content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,#091e25 0%,rgba(9,30,37,.96) 6%,rgba(9,30,37,.74) 16%,rgba(9,30,37,.06) 33%,transparent 45%);}
.firm-pins {position:absolute;inset:0;z-index:1;pointer-events:none;}
.map-pin {display:inline-flex;position:absolute;align-items:center;gap:.45rem;padding:.38rem .7rem;min-height:38px;border:1px solid #91a29e;
  background:#0d2229f2;color:white;text-decoration:none;border-radius:.25rem;font-size:.875rem;font-weight:570;line-height:1.22;pointer-events:auto;box-shadow:0 .22rem .65rem #04151b44;}
.map-pin i {display:block;width:.52rem;height:.52rem;border:1.5px solid #ccff00;border-radius:50%;}
.map-pin:hover {background:#223e43;border-color:#ccff00;}
.map-pin-ventas {left:38%;top:72%;} .map-pin-operacion {left:62%;top:30%;} .map-pin-margen {right:5%;top:62%;}
.firm-direct {border-block:1px solid #4b656b;background:#142c32;color:#e8eeee;}
.firm-direct .firm-frame {display:flex;align-items:center;justify-content:space-between;gap:1.25rem;min-height:4.6rem;}
.firm-direct p {font-weight:550;font-size:1.08rem;}
.firm-links {display:flex;align-items:center;flex-wrap:wrap;gap:.2rem clamp(.75rem,2.4vw,2.4rem);}
.firm-links a {font-weight:510;gap:.52rem;color:#f3f6ef;text-decoration:none;}
.firm-links a::before {content:'+';font-size:1.22rem;line-height:1;color:#c4e391;font-weight:400;}
.firm-links a:hover {text-decoration:underline;text-underline-offset:.22em;}
.firm :focus-visible,.firm-method :focus-visible {outline:3px solid #ccff00;outline-offset:3px;}

.routes {background:#f4f5f0;color:#102831;padding:clamp(2.75rem,5.8vw,5.8rem) 0;}
.firm-overline {color:#4c6565;margin-bottom:.75rem;}
.route-intro {display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.65fr);gap:.3rem 2rem;align-items:end;margin-bottom:clamp(1.65rem,3vw,2.8rem);}
.route-intro .firm-overline {grid-column:1/-1;}
.route-intro h2,.firm-method h2,.inside-work h2#inside-title {font:550 clamp(2.05rem,3.7vw,3.75rem)/1.06 'Yavalo Sans',Arial,sans-serif;letter-spacing:-.061em;text-wrap:balance;}
.route-intro h2 {max-width:21ch;}
.route-intro>p:last-child {margin:0;color:#48616a;line-height:1.52;max-width:39ch;}
.route-layout {display:grid;grid-template-columns:minmax(0,.77fr) minmax(0,1.23fr);align-items:stretch;gap:clamp(1.4rem,4.4vw,5.2rem);}
.route-menu {border-top:1px solid #9aada9;}
.route-menu a {display:flex;gap:.7rem;justify-content:space-between;min-height:3.7rem;border-bottom:1px solid #b8c5bf;padding:.8rem .85rem;color:#344c51;text-decoration:none;
  font:510 clamp(1rem,1.16vw,1.17rem)/1.32 'Yavalo Sans',Arial,sans-serif;}
.route-menu a::after {content:'';width:.55rem;height:.55rem;border-radius:50%;border:1px solid #617a72;flex:none;}
.route-menu a[aria-current],.route-menu a:hover {color:#0b292a;background:#e2e8dd;}
.route-menu a[aria-current] {border-left:3px solid #366147;padding-left:calc(.85rem - 3px);font-weight:660;}
.route-menu a[aria-current]::after {background:#254b35;border-color:#254b35;}
.route-panel {background:#fff;border:1px solid #bccbc4;border-top:3px solid #345d4b;padding:clamp(1.3rem,2.65vw,2.65rem);box-shadow:0 5px 16px #172b2306;min-height:100%;}
.route-panel+.route-panel {margin-top:.8rem;}.route-results:has([hidden]) .route-panel {margin:0;}
.route-area {color:#3c624c;margin-bottom:.65rem;}
.route-panel h3 {color:#102831;font:570 clamp(1.55rem,2.22vw,2.35rem)/1.12 'Yavalo Sans',Arial,sans-serif;letter-spacing:-.045em;text-wrap:balance;}
.route-panel dl {margin:1rem 0;}
.route-panel dl>div {padding:.72rem 0;border-top:1px solid #d4ddd7;}
.route-panel dt {font-size:.92rem;font-weight:650;color:#25423e;line-height:1.45;}
.route-panel dd {margin:.2rem 0 0;color:#435a5e;line-height:1.48;}
.route-actions {display:flex;gap:.4rem 1.25rem;align-items:center;flex-wrap:wrap;}
.route-contact {background:#193932;color:white;font-size:.95rem;}
.route-contact:hover {background:#2e574a;}
.route-example {color:#254b40;font-size:.95rem;}
@media(min-width:741px) and (max-width:1000px) {
 .firm-copy {width:52%;}.firm-stage>.firm-frame {min-height:29rem;}.firm-map {left:52%;right:.7rem;bottom:auto;top:50%;height:auto;aspect-ratio:4/3;transform:translateY(-50%);}
 .firm-map img {object-fit:contain;object-position:center;} .firm-map::after {background:linear-gradient(90deg,#091e25,transparent 14%);}.firm h1 {font-size:clamp(2.9rem,5.65vw,3.9rem);}
 .map-pin-ventas {left:4%;}.map-pin-operacion {left:42%;top:12%;}.map-pin-margen {right:3%;}
 .firm-direct p {font-size:.98rem;}.firm-links {gap:.75rem;}.firm-links a {font-size:.93rem;}
}
@media(max-width:740px) {
 .firm-stage {display:flex;flex-direction:column;}.firm-stage>.firm-frame {min-height:0;order:0;}
 .firm-copy {width:100%;padding:1.85rem 0 .3rem;max-width:37rem;}
 .firm h1 {font-size:clamp(2.75rem,8.8vw,4.2rem);margin:.9rem 0 .9rem;}.firm h1 em {font-size:1.01em;}
 .firm-context {font-size:.82rem;}.firm-lead {font-size:1rem;max-width:44ch;}.firm-actions {margin-top:1.05rem;}
 .firm-map {order:1;position:relative;inset:auto;z-index:0;margin-top:.15rem;}
 .firm-map picture {height:clamp(12rem,54vw,21rem);}
 .firm-map img {object-fit:cover;object-position:center 51%;}
 .firm-map::after {background:linear-gradient(#091e25 0%,transparent 22%);}
 .map-pin {font-size:.81rem;min-height:44px;padding:.35rem .5rem;}.map-pin-ventas {left:6%;top:67%;}.map-pin-operacion {left:47%;top:14%;}.map-pin-margen {right:4%;top:60%;}
 .firm-direct .firm-frame {display:block;padding-block:.9rem .5rem;}.firm-direct p {font-size:1rem;}
 .firm-links {gap:0 1rem;}.firm-links a {font-size:.94rem;}
 .route-intro,.route-layout {grid-template-columns:minmax(0,1fr);}.route-intro {gap:.55rem;margin-bottom:1.3rem;}
 .route-layout {gap:1.15rem;}.route-menu a {min-height:2.95rem;padding-block:.65rem;}
 .route-panel {min-height:0;}.route-intro .firm-overline {margin-bottom:.15rem;}
}

/* Six areas share one illustration. Each marker opens the same contextual reading strip. */
.map-pin {min-height:44px;padding:.37rem .76rem;gap:.48rem;border-radius:.4rem;border-color:#acbdb4;
  background:linear-gradient(160deg,#203a3deb,#0b242bf5);box-shadow:0 2px 10px #06171e50;}
.map-pin::after {content:"";position:absolute;top:100%;left:1.03rem;height:.7rem;border-left:1px solid #e2eccc;pointer-events:none;}
.map-pin i {width:.57rem;height:.57rem;background:#274237;}
.map-pin:hover,.map-pin:focus-visible {border-color:#dcff83;background:#183b3f;}
.map-pin[aria-expanded="true"] {color:#14252a;border-color:#d4f96e;background:#dafa74;}
.map-pin[aria-expanded="true"] i {background:#1c3d32;border-color:#1c3d32;}
.map-pin[aria-expanded="true"]::after {border-color:#deff74;}
.map-pin-sistema {left:40%;top:33%;}.map-pin-ganancia {right:4%;top:19%;}
.map-pin-automatizacion {left:56%;top:55%;}.map-pin-margen {top:69%;}
.map-detail {color:#f2f5e9;background:#19343b;border-top:1px solid #57706e;}
.map-detail[hidden],.route-picker[hidden] {display:none;}
.map-detail .firm-frame {display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:.65rem 2rem;align-items:center;padding-block:1.15rem;}
.map-readout {border-left:2px solid #d8ef90;padding-left:1rem;}
.map-readout h2 {margin:0 0 .24rem;color:#deefa8;font:620 1.08rem/1.3 'Yavalo Sans',Arial,sans-serif;letter-spacing:-.025em;}
.map-readout p {margin:0;max-width:65ch;color:#edf2ee;line-height:1.46;}
.map-links {display:flex;align-items:center;flex-wrap:wrap;gap:.3rem 1.15rem;}
.map-links a {display:inline-flex;align-items:center;min-height:44px;color:inherit;font-weight:570;text-underline-offset:.26em;}
.map-links .map-consult {color:#19322d;background:#e4f4b6;border-radius:.25rem;padding:.55rem .9rem;text-decoration:none;}
.map-links .map-consult:hover {background:#f1ffd3;}
.map-close {padding:0;border:1px solid #829897;background:transparent;color:#f4f5f0;border-radius:50%;width:44px;height:44px;font:400 1.6rem/1 Arial,sans-serif;cursor:pointer;}
.map-close:hover {border-color:#d8ef90;background:#23454a;}
.route-picker {display:none;}
@media (min-width:1001px) {
 .map-pin-operacion {top:24%;}
}
@media (min-width:741px) and (max-width:1000px) {
 .map-pin {font-size:.875rem;padding-inline:.5rem;min-height:44px;}
 .map-pin-ventas {left:1%;top:70%;}.map-pin-operacion {left:40%;top:6%;}
 .map-pin-sistema {left:4%;top:25%;}.map-pin-ganancia {right:0%;top:27%;}
 .map-pin-automatizacion {left:27%;top:48%;}.map-pin-margen {right:2%;top:74%;}
 .map-detail .firm-frame {grid-template-columns:minmax(0,1fr) minmax(12rem,.6fr) 44px;gap:1rem;}
}
@media (max-width:740px) {
 .firm-map {display:grid;grid-template-columns:1fr;}
 .firm-map::after {bottom:auto;height:3.2rem;}
 .firm-map picture {height:clamp(10rem,45vw,17rem);}
 .firm-map img {object-fit:contain;object-position:center;}
 .firm-pins {position:relative;inset:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;
   width:min(100% - 2rem,32rem);margin:-.25rem auto .9rem;}
 .firm-pins .map-pin {position:relative;inset:auto;justify-content:center;min-height:44px;padding:.36rem .2rem;gap:.34rem;
  font-size:clamp(.86rem,3.7vw,1rem);letter-spacing:-.025em;border-color:#567370;}
 .map-pin::after {content:none;}
 .map-detail .firm-frame {grid-template-columns:minmax(0,1fr) 44px;gap:.55rem .7rem;padding-block:1rem;}
 .map-links {grid-column:1/-1;grid-row:2;gap:.15rem .8rem;font-size:.9375rem;}
 .map-close {grid-column:2;grid-row:1;align-self:start;}
 .map-readout {padding-left:.65rem;}
 .has-picker .route-menu {display:none;}
 .route-picker {display:grid;gap:.32rem;color:#25423e;font-size:.92rem;font-weight:620;}
 .route-picker select {width:100%;min-width:0;min-height:48px;border:1px solid #718885;border-radius:.3rem;background-color:#fff;
  font:500 1rem/1.4 'Yavalo Sans',Arial,sans-serif;color:#172f31;padding:.6rem 2.1rem .6rem .75rem;appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,#35534b 50%),linear-gradient(135deg,#35534b 50%,transparent 50%);
  background-position:calc(100% - 16px) center,calc(100% - 11px) center;background-size:5px 5px;background-repeat:no-repeat;}
}
@media (max-width:354px) {
 .firm-pins .map-pin {font-size:.86rem;}.firm-pins .map-pin i {display:none;}
}
