/* The project cover link is positioned by the cover stylesheet. */
html body .cu-action[data-cu-design]:not(:where(.cu-project-hero > .cu-project-hero-website)) {
    position:relative;
}
@media(max-width:767px) {
    html body .cu-project-hero > .cu-project-hero-website[data-cu-design] { max-width:46%; }
}
html body .cu-action[data-cu-design] {
    --cu-action-ink:#005a91;
    --cu-action-edge:#005a91;
    --cu-action-fill:#005a91;
    --cu-action-time:.48s cubic-bezier(.2,.78,.18,1);
    box-sizing:border-box;
    isolation:isolate;
    align-items:center;
    justify-content:center;
    max-width:100%;
    min-height:44px;
    padding:8px clamp(9px,1.35vw,17px);
    border:1px solid transparent;
    background:transparent;
    color:var(--cu-action-ink);
    font:700 .9375rem/1.25 Transducer,Arial,sans-serif;
    text-align:start;
    text-decoration:none;
    cursor:pointer;
    transition:color .27s ease;
}
html body .cu-action[data-cu-design]:not(.cu-nav-contact) { display:inline-flex; }
html body .cu-action[data-cu-design][data-cu-tone=dark] { --cu-action-ink:#fff;--cu-action-edge:#a5c8e6;--cu-action-fill:#003b64; }
html body .cu-action[data-cu-design]:is(:hover,:focus-visible,[data-cu-preview=true]) {
    color:var(--cu-action-ink);background:transparent;border-color:transparent;text-decoration:none;
}
html body .cu-action[data-cu-design]:focus-visible { outline:2px solid #008cfa;outline-offset:3px; }
html body .cu-action[data-cu-design]:disabled { opacity:.55;cursor:not-allowed; }
.cu-action::before,.cu-action::after {
    content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
    transition:transform var(--cu-action-time),clip-path var(--cu-action-time),opacity var(--cu-action-time);
}
html body .cu-action[data-cu-design] .cu-action-label {
    display:inline-flex;position:relative;z-index:1;align-items:center;gap:clamp(7px,1vw,14px);color:inherit;font:inherit;
    min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal;
}
.cu-action-arrow,.cu-action-check {
    display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;
    transition:transform var(--cu-action-time);
}
.cu-action:is(:hover,:focus-visible,:active,[data-cu-preview=true]) .cu-action-arrow { transform:translateX(3px); }
.cu-action:is(:hover,:focus-visible,:active,[data-cu-preview=true]) .cu-action-arrow.is-back { transform:translateX(-3px); }

.cu-action[data-cu-design=plan]::before {
    background:linear-gradient(var(--cu-action-edge),var(--cu-action-edge)) top left/19px 1px,linear-gradient(var(--cu-action-edge),var(--cu-action-edge)) top left/1px 13px,linear-gradient(var(--cu-action-edge),var(--cu-action-edge)) bottom right/19px 1px,linear-gradient(var(--cu-action-edge),var(--cu-action-edge)) bottom right/1px 13px;
    background-repeat:no-repeat;
}
.cu-action[data-cu-design=plan]::after {
    inset:3px;
    background:var(--cu-action-fill);
    clip-path:polygon(0 0,0 0,0 0,100% 100%,100% 100%,100% 100%);
}
.cu-action[data-cu-design=plan]:is(:hover,:focus-visible,:active,[data-cu-preview=true]):not(:disabled)::after {
    clip-path:polygon(0 0,100% 0,100% 50%,100% 100%,0 100%,0 50%);
}
.cu-action[data-cu-design=portal]::before {
    border-inline:1px solid var(--cu-action-edge);transform:scaleY(.6);
}
.cu-action[data-cu-design=portal]::after {
    background:linear-gradient(90deg,var(--cu-action-fill) 0 49%,#008cfa 49% 51%,var(--cu-action-fill) 51%);
    clip-path:inset(0 50%);
}
.cu-action[data-cu-design=portal]:is(:hover,:focus-visible,:active,[data-cu-preview=true]):not(:disabled)::before { transform:none; }
.cu-action[data-cu-design=portal]:is(:hover,:focus-visible,:active,[data-cu-preview=true]):not(:disabled)::after { clip-path:inset(0); }
html body .cu-action:is([data-cu-design=plan],[data-cu-design=portal],[data-cu-design=entry]):is(:hover,:focus-visible,:active,[data-cu-preview=true]):not(:disabled) { color:#fff; }
.cu-action:is([data-cu-design=seam],[data-cu-design=line])::before {
    inset:auto 0 4px;height:1px;background:#008cfa;
    transform:scaleX(.23);transform-origin:left;
}
.cu-action:is([data-cu-design=seam],[data-cu-design=line]):is(:hover,:focus-visible,:active,[data-cu-preview=true]):not(:disabled)::before { transform:scaleX(1); }
.cu-action[data-cu-design=seam]::after {
    background:#008cfa19;clip-path:polygon(0 100%,100% 100%,100% 100%,0 100%);
}
.cu-action[data-cu-design=seam]:is(:hover,:focus-visible,:active,[data-cu-preview=true]):not(:disabled)::after {
    clip-path:polygon(0 0,100% 28%,100% 100%,0 100%);
}
html body .cu-action[data-cu-design][data-cu-action=secondary] { padding-inline:0 5px; }

.cu-action[data-cu-design=axis]::before {
    inset:8px 0;
    border-inline:1px solid var(--cu-action-edge);
    background:linear-gradient(var(--cu-action-edge),var(--cu-action-edge)) left top/7px 1px,
        linear-gradient(var(--cu-action-edge),var(--cu-action-edge)) right top/7px 1px,
        linear-gradient(var(--cu-action-edge),var(--cu-action-edge)) left bottom/7px 1px,
        linear-gradient(var(--cu-action-edge),var(--cu-action-edge)) right bottom/7px 1px;
    background-repeat:no-repeat;
}
.cu-action[data-cu-design=axis]::after { background:#008cfa20;clip-path:inset(0 50%); }
.cu-action[data-cu-design=axis]:is(:hover,:focus-visible,:active,[data-cu-preview=true]):not(:disabled)::before { transform:scale(1,1.43); }
.cu-action[data-cu-design=axis]:is(:hover,:focus-visible,:active,[data-cu-preview=true]):not(:disabled)::after { clip-path:inset(0); }

/* The header contact has its own outline, blue jamb, and entry transition. */
html body .cu-action[data-cu-design=entry] { border-color:#a5c8e6; }
html body .cu-action[data-cu-design][data-cu-action=header] { flex-shrink:0; }
.cu-action[data-cu-design=entry]::before {
    inset:5px auto 5px 2px;width:2px;background:#008cfa;z-index:0;
}
.cu-action[data-cu-design=entry]::after {
    background:#005a91;clip-path:polygon(0 0,0 0,0 100%,0 100%);
}
.cu-action[data-cu-design=entry]:is(:hover,:focus-visible,:active,[data-cu-preview=true])::after { clip-path:polygon(0 0,100% 0,100% 100%,0 100%); }
.cu-action[data-cu-design=entry]:is(:hover,:focus-visible,:active,[data-cu-preview=true]) .cu-action-arrow { transform:translate(2px,-2px); }

/* Overlay the three submit states on one grid cell to preserve the button's footprint. */
html body .cu-action[data-cu-design][data-cu-action=form] {
    display:inline-grid;
    min-width:min(145px,100%);
    justify-items:center;
    text-align:center;
}
html body .cu-action[data-cu-design][data-cu-action=form] > span {
    grid-area:1/1;padding:0;font:inherit;align-self:center;
}
.cu-action-confirm,.cu-action-pending {
    display:inline-flex;align-items:center;justify-content:center;gap:7px;visibility:hidden;
}
:is(.cu-contact-form,.cu-action-sample)[aria-busy=true] .cu-action[data-cu-action=form] .cu-action-pending,
:is(.cu-contact-form,.cu-action-sample)[data-state=success] .cu-action[data-cu-action=form] .cu-action-confirm { visibility:visible; }
:is(.cu-contact-form,.cu-action-sample)[aria-busy=true] .cu-action[data-cu-action=form] .cu-action-label,
:is(.cu-contact-form,.cu-action-sample)[data-state=success] .cu-action[data-cu-action=form] .cu-action-label { opacity:0; }
:is(.cu-contact-form,.cu-action-sample)[data-state=success] .cu-action[data-cu-action=form] .cu-action-pending { visibility:hidden; }
html body :is(.cu-contact-form,.cu-action-sample):is([aria-busy=true],[data-state=success]) .cu-action[data-cu-action=form] {
    background:#005a91;color:white;border-color:#005a91;opacity:1;
}
:is(.cu-contact-form,.cu-action-sample):is([aria-busy=true],[data-state=success]) .cu-action[data-cu-action=form]::before { background:none;border:0; }
:is(.cu-contact-form,.cu-action-sample)[aria-busy=true] .cu-action[data-cu-action=form]::after {
    inset:auto 0 0;height:3px;background:#008cfa;clip-path:none;transform-origin:left;
    animation:cu-action-trace 1.05s cubic-bezier(.2,.78,.18,1) both;
}
:is(.cu-contact-form,.cu-action-sample)[data-state=success] .cu-action[data-cu-action=form]::after {
    inset:2px;border:1px solid #a5c8e6;background:none;clip-path:none;z-index:0;
    animation:cu-action-stamp .65s ease-out both;
}
:is(.cu-contact-form,.cu-action-sample)[data-state=success] .cu-action-check path {
    stroke-dasharray:28;animation:cu-action-check .5s .08s ease-out both;
}
@keyframes cu-action-trace {from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes cu-action-stamp {from{opacity:1;transform:scale(.82,.62)}to{opacity:0;transform:scale(1)}}
@keyframes cu-action-check {from{stroke-dashoffset:28}to{stroke-dashoffset:0}}
.cu-contact-actions:has(.cu-action) .cu-contact-dot { display:none; }
@media(max-width:767px) {
    .cu-contact-bottom:has(.cu-action[data-cu-action=form]) { flex-wrap:wrap;gap:12px; }
    .cu-contact-bottom:has(.cu-action[data-cu-action=form]) .cu-contact-actions { max-width:100%; }
}
@media(max-width:400px) {
    html body .cu-contact-actions .cu-action[data-cu-action=form] :is(.cu-action-confirm,.cu-action-pending) { display:inline-flex; }
}
@media(prefers-reduced-motion:reduce) {
    .cu-action,.cu-action::before,.cu-action::after,.cu-action-arrow,.cu-action-check path { transition:none!important;animation:none!important; }
}

/* The photo remains readable behind a transparent CTA, including bright crops. */
html body .cu-hero :is(.cu-action[data-cu-design],.cu-action[data-cu-design]:hover,.cu-action[data-cu-design]:focus-visible) {
    background:#091a2873;
    text-shadow:0 1px 3px #000;
}
html body .cu-action[data-cu-design=entry]:is(:hover,:focus-visible,[data-cu-preview=true]) { border-color:#005a91; }

/* Additional hover designs for the same controls and previews. */
.cu-action[data-cu-design] {
    --ink:var(--cu-action-ink);
    --edge:var(--cu-action-edge);
    --joint:#008cfa;
    --wash:#d7ecff;
    --plane:var(--cu-action-fill);
    --sub:#005a911c;
    --active:0;
    --x:100%;
}
.cu-action[data-cu-tone=dark] { --wash:#325672; --sub:#a5c8e624; }
.cu-action[data-cu-design]:is(:hover,:focus-visible,:active,[data-cu-preview=true]):not(:disabled) { --active:1; --x:0%; }
.cu-action-plates,.cu-action-plates i { position:absolute;inset:0;z-index:-1;pointer-events:none; }
.cu-action-plates i { transition:transform var(--cu-action-time),clip-path var(--cu-action-time); }
:is(.cu-contact-form,.cu-action-sample):is([aria-busy=true],[data-state=success]) .cu-action-plates { display:none; }
html body :is(.cu-contact-form,.cu-action-sample):is([aria-busy=true],[data-state=success]) .cu-action[data-cu-action=form] { color:#fff;text-shadow:none; }
@media(prefers-reduced-motion:reduce) { .cu-action-plates i { transition:none!important; } }

.cu-action[data-cu-design=doble]::before,.cu-action[data-cu-design=doble]::after{inset:auto 49% 6px 5px;height:1px;background:var(--joint);transform-origin:left;transform:scaleX(calc(.26 + var(--active)*.74))}
.cu-action[data-cu-design=doble]::after{inset:auto 5px 6px 50%;transform-origin:right;transform:scaleX(calc(var(--active) - .04));background:var(--ink)}
.cu-action[data-cu-design=canto]::before{inset:5px auto 5px 0;width:2px;background:var(--joint)}
.cu-action[data-cu-design=canto]::after{background:var(--wash);clip-path:inset(0 var(--x) 0 0)}
.cu-action[data-cu-design=marco]::before,.cu-action[data-cu-design=marco]::after{border:1px solid var(--edge)}
.cu-action[data-cu-design=marco]::after{transform:translate(calc((1 - var(--active))*3px),calc((1 - var(--active))*3px));opacity:calc(.25 + .75*var(--active));border-color:var(--joint)}
.cu-action[data-cu-design=canal]::before{inset:auto 3px 4px auto;width:31px;height:2px;background:var(--joint);transform-origin:right;transform:scaleX(calc(.25 + var(--active)*.75))}
.cu-action[data-cu-design=canal]::after{inset:6px 0 6px auto;width:34px;background:var(--wash);clip-path:inset(var(--x) 0 0 0)}
.cu-action[data-cu-design=chaflan]::before,.cu-action[data-cu-design=chaflan]::after{background:var(--wash);clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,0 100%)}
.cu-action[data-cu-design=chaflan]::after{inset:0 0 0 auto;width:31px;background:var(--joint);opacity:calc(var(--active)*.34);transform-origin:right;transform:scaleX(var(--active));clip-path:polygon(0 100%,100% 8px,100% 100%)}
.cu-action[data-cu-design=lamas] .cu-action-plates,.cu-action[data-cu-design=seccion] .cu-action-plates,.cu-action[data-cu-design=vidrio] .cu-action-plates{overflow:hidden}
.cu-action[data-cu-design=lamas] .cu-action-plates i{display:block;inset:0 0 auto;height:33.333%;background:var(--plane);transform:translateX(calc(-1 * var(--x)))}
.cu-action[data-cu-design=lamas] .cu-action-plates i:nth-child(2){top:33.333%;height:34%;background:#034977;transform:translateX(var(--x));transition-delay:.045s}
.cu-action[data-cu-design=lamas] .cu-action-plates i:nth-child(3){top:auto;bottom:0;transition-delay:.09s}
.cu-action[data-cu-design=lamas]::before{border-block:1px solid var(--edge)}
html body :is(.cu-action[data-cu-design=lamas],.cu-action[data-cu-design=ensamble],.cu-action[data-cu-design=ejes],.cu-action[data-cu-design=seccion]):is(:hover,:focus-visible,:active,[data-cu-preview=true]):not(:disabled){color:white;text-shadow:0 1px 4px #003053}
.cu-action[data-cu-design=ensamble]::before{background:var(--plane);inset:3px;opacity:var(--active);transition-delay:.1s}
.cu-action[data-cu-design=ensamble] .cu-action-plates i{display:block;width:15px;height:13px;inset:0 auto auto 0;border-top:1px solid var(--edge);border-left:1px solid var(--edge);transform:translate(calc((var(--active) - 1)*3px),calc((var(--active) - 1)*3px))}
.cu-action[data-cu-design=ensamble] .cu-action-plates i:nth-child(2){inset:0 0 auto auto;rotate:90deg}
.cu-action[data-cu-design=ensamble] .cu-action-plates i:nth-child(3){inset:auto 0 0 auto;rotate:180deg}
.cu-action[data-cu-design=ensamble] .cu-action-plates i:nth-child(4){inset:auto auto 0 0;rotate:270deg}
.cu-action[data-cu-design=ejes]::before{background:repeating-linear-gradient(90deg,#ffffff23 0 1px,transparent 1px 11px),repeating-linear-gradient(0deg,#ffffff23 0 1px,transparent 1px 11px),var(--plane);clip-path:inset(var(--x) 0 0);transition-delay:.09s}
.cu-action[data-cu-design=ejes]::after{border-bottom:1px solid var(--joint);border-right:1px solid var(--joint);transform-origin:bottom right;transform:scale(calc(.19 + var(--active)*.81),calc(.35 + var(--active)*.65))}
.cu-action[data-cu-design=seccion]::before{background:var(--sub);clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}
.cu-action[data-cu-design=seccion] .cu-action-plates i{display:block;background:#064b77;clip-path:polygon(0 0,100% 0,100% 20%,0 92%);transform:translateY(calc(-1 * var(--x)))}
.cu-action[data-cu-design=seccion] .cu-action-plates i:nth-child(2){background:var(--plane);clip-path:polygon(0 96%,100% 24%,100% 100%,0 100%);transform:translateY(var(--x));transition-delay:.06s}
.cu-action[data-cu-design=seccion] .cu-action-plates i:nth-child(n+3){display:none}
.cu-action[data-cu-design=vidrio]::before{border:1px solid var(--edge)}
.cu-action[data-cu-design=vidrio] .cu-action-plates i{display:block;inset:0 auto 0 0;width:33.333%;background:var(--wash);clip-path:inset(0 var(--x) 0 0);border-inline-end:1px solid var(--edge)}
.cu-action[data-cu-design=vidrio] .cu-action-plates i:nth-child(2){left:33.333%;transition-delay:.07s}
.cu-action[data-cu-design=vidrio] .cu-action-plates i:nth-child(3){left:66.666%;transition-delay:.14s}
.cu-action[data-cu-design=vidrio] .cu-action-plates i:nth-child(4){display:none}
@media(max-width:400px) {
    .cu-contact-actions .cu-action[data-cu-design] > .cu-action-plates { display:block; }
    .cu-contact-form:is([aria-busy=true],[data-state=success]) .cu-action[data-cu-design] > .cu-action-plates { display:none; }
}
