/* Navigation and quick contact */
.header .nav{background:var(--paper)}
.header .nav__in{gap:var(--s5)}
.header .brand{margin-right:auto}
.header .brand img{width:56px;height:56px}
.header .menu{margin-left:0;gap:var(--s1);align-items:center}
.header .menu>a,.header .menu__item>a{display:inline-flex;align-items:center;min-height:44px;padding:var(--s2) var(--s4);border-radius:var(--r-pill);white-space:nowrap;font-size:15px}
.header .menu a::after{display:none}
.header .menu>a:hover,.header .menu__item:hover{background:var(--paper-2)}
.header .menu>a[aria-current=page]{background:var(--ink);color:var(--paper)}
.header .menu__item{border-radius:var(--r-pill);padding-right:var(--s2)}
.header .menu__item>a{padding-right:var(--s2)}
.header .menu__toggle{width:28px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0}
.header .drop{width:440px;display:grid;grid-template-columns:1fr 1fr;padding:var(--s3);gap:var(--s2);background:var(--paper);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--sh-2)}
.header .drop[hidden]{display:none}
.header .drop a{display:flex;justify-content:space-between;gap:var(--s3);align-items:center;min-height:60px;padding:var(--s3);border-radius:var(--r-field);line-height:1.35;border:0}
.header .drop a:hover,.header .drop a[aria-current=page]{background:var(--paper-2);color:var(--red)}
.header .drop a .arrow{flex-shrink:0}
.header .btn--sm{margin-left:var(--s2)}
.topbar__meta a{display:inline-flex;align-items:center;gap:var(--s2)}
.topbar__meta svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
.topbar__note{color:var(--steel)}
.language{display:flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:var(--r-pill);flex-shrink:0}
.language a{display:grid;place-items:center;min-width:36px;min-height:30px;padding:2px 6px;border-radius:var(--r-pill);font-size:12px;font-weight:600;color:var(--muted)}
.language a:hover{color:var(--red)}
.language a[aria-current=page]{color:var(--paper);background:var(--ink)}
.language a:active{background:var(--red);color:white}
.quick-rail{display:none}
@media(min-width:1360px){
 :root{--gutter:88px}
 .quick-rail{position:fixed;z-index:45;right:16px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:var(--s2);padding:var(--s3) 6px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-pill);box-shadow:var(--sh-2)}
 .quick-rail a{position:relative;display:grid;place-items:center;width:40px;height:44px;border-radius:var(--r-pill);color:var(--ink);transition:background 180ms,color 180ms}
 .quick-rail svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 .quick-rail a:hover,.quick-rail a:focus-visible{color:var(--red);background:var(--paper-2)}
 .quick-rail a:active{background:var(--red);color:white}
 .quick-rail span{position:absolute;right:calc(100% + 16px);white-space:nowrap;padding:var(--s2) var(--s3);background:var(--ink);color:var(--paper);border-radius:var(--r-field);font-size:14px;opacity:0;visibility:hidden;transform:translateX(4px);transition:opacity 180ms,transform 180ms;pointer-events:none}
 .quick-rail a:hover span,.quick-rail a:focus-visible span{opacity:1;visibility:visible;transform:none}
}
@media(max-width:1199px){.header .menu,.header .btn--sm{display:none}.header .burger{display:grid;margin-left:0}.header .language{margin-left:auto}.header .nav__in{gap:var(--s4)}}
@media(max-width:767px){.header .brand img{width:48px;height:48px}.topbar__meta{gap:var(--s4);font-size:12px}.language a{min-width:32px}.header .nav__in{gap:var(--s3)}}
@media(prefers-reduced-motion:reduce){.quick-rail *{transition:none}}

.header .menu__item:has(a[aria-current=page]){background:var(--paper-2)}
.field input,.field textarea,.select__btn{border-color:#65707b}
.field input::placeholder,.field textarea::placeholder,.select__btn.is-placeholder{color:var(--steel)}

.mobile__top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;width:100%;gap:var(--s4)}
.mobile .language{border-color:var(--steel-dim)}
.mobile .language a{color:var(--steel)}
.mobile .language a[aria-current=page]{background:var(--paper);color:var(--ink)}

/* Only the destination language is shown. */
.language a[aria-current=page]{display:none}
.language a{min-width:44px;min-height:38px;color:var(--ink)}
.mobile .language a{color:var(--paper)}

.quick-rail a[href^="https://wa.me"]:hover,.quick-rail a[href^="https://wa.me"]:focus-visible{color:#167d45}

.header .btn--sm{height:44px;min-height:44px;padding:0 var(--s5);justify-content:center}
.language{width:44px;height:44px;aspect-ratio:1;flex-shrink:0;border-radius:50%;padding:0;overflow:hidden}
.language a{width:100%;height:100%;min-width:0;min-height:0;padding:0;border-radius:50%;font-size:13px}
.language a:hover{background:var(--paper-2)}
.mobile .language a:hover{background:var(--slate)}

/* Full-screen mobile navigation */
html.menu-open,html.menu-open body{overflow:hidden}
.mobile{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;gap:var(--s8);padding:var(--s5) var(--gutter) max(var(--s8),env(safe-area-inset-bottom));background:var(--ink);color:var(--paper);overflow-y:auto;overscroll-behavior:contain;opacity:0;transform:translateY(-8px);transition:opacity 180ms var(--ease),transform 180ms var(--ease)}
.mobile[hidden]{display:none}
.mobile.is-open{opacity:1;transform:none}
.mobile__top{display:flex;align-items:center;justify-content:space-between;gap:var(--s4);flex-shrink:0;width:100%}
.mobile__top .brand img{width:44px;height:44px}
.mobile__tools{display:flex;align-items:center;gap:var(--s3)}
.mobile__close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid var(--steel-dim);border-radius:50%;background:transparent;color:var(--paper);cursor:pointer}
.mobile__close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.mobile__close:hover{background:var(--slate)}
.mobile__nav{display:block;width:100%}
.mobile__nav>a,.mobile__nav>details{position:relative}
.mobile__nav>a::after,.mobile__nav>details::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--line-dark) 8%,var(--line-dark) 92%,transparent);pointer-events:none}
.mobile__nav>a,.mobile__nav summary{display:flex;justify-content:space-between;align-items:center;gap:var(--s4);padding:var(--s4) 0;font:700 28px/1.15 var(--font-d);text-transform:uppercase;list-style:none;cursor:pointer}
.mobile__nav summary::-webkit-details-marker{display:none}
.mobile__nav summary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform 180ms}
.mobile__nav details[open] summary svg{transform:rotate(180deg)}
.mobile__nav details>div{display:grid;gap:var(--s1);margin:0 0 var(--s5) var(--s2);padding-left:var(--s4);border-left:1px solid var(--line-dark)}
.mobile__nav details a{display:flex;justify-content:space-between;align-items:center;gap:var(--s4);padding:var(--s3) 0;color:var(--steel);font-size:16px;line-height:1.4}
.mobile__nav a:hover,.mobile__nav a[aria-current=page]{color:var(--red-light)}
.mobile__foot{margin-top:auto;display:grid;gap:var(--s4);padding-top:var(--s6);font-size:15px}
.mobile__foot>.mobile__cta{justify-content:center;min-height:48px;margin-bottom:var(--s2)}
.mobile__contact{display:flex;align-items:center;justify-content:space-between;gap:var(--s5)}
.mobile__foot>a:not(.btn){color:var(--steel)}
.mobile__foot a:not(.btn):hover{color:var(--red-light)}
.mobile__scrim{display:none!important}
@media(min-width:1200px){.header .menu{display:flex}.header .btn--sm{display:inline-flex}.header .burger{display:none}}
@media(max-height:700px){.mobile{gap:var(--s4)}.mobile__nav>a,.mobile__nav summary{font-size:25px;padding:var(--s3) 0}.mobile__foot{padding-top:var(--s4)}}
@media(prefers-reduced-motion:reduce){.mobile,.mobile *{transition:none!important}}

/* Descriptive service dropdown */
.header .menu__item{padding:0;gap:0}
.header .menu__toggle{width:auto;min-height:44px;padding:var(--s2) var(--s4);gap:var(--s3);border-radius:var(--r-pill);font-size:15px;white-space:nowrap}
.header .menu__toggle:hover{background:var(--paper-2)}
.header .drop{top:100%;padding:var(--s2);margin-top:var(--s2);width:360px;grid-template-columns:1fr;gap:var(--s1);background:#fff}
.header .drop::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.header .drop a{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--s4);row-gap:var(--s1);padding:var(--s3) var(--s4);min-height:0}
.header .nav-service__title{grid-column:1;font-size:15px;font-weight:600;line-height:1.3}
.header .nav-service__description{grid-column:1;font-size:13px;line-height:1.4;color:var(--muted);font-weight:400}
.header .drop a span::after{display:none}
.header .drop a .arrow{grid-column:2;grid-row:1/3;justify-self:end;color:var(--red)}
.header .drop a:hover{background:var(--paper)}
.header .drop{max-height:calc(100dvh - var(--header-nav) - var(--header-top) - 24px);overflow-y:auto;overscroll-behavior:contain}
.header .btn--sm{margin-left:0}

.mobile__foot{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--s3);align-items:center}
.mobile__foot .btn{display:flex;width:100%;min-height:48px;justify-content:center;gap:var(--s2);margin:0;padding:var(--s3);font-size:15px;white-space:nowrap}
.mobile__foot .mobile__whatsapp{color:#082f1c;border:1px solid #25d366;background:#25d366}
.mobile__foot .mobile__whatsapp:hover{color:#082f1c;border-color:#20bd5a;background:#20bd5a}
.mobile__foot .mobile__whatsapp:active{background:#1baa50;border-color:#1baa50}

.header .brand img{width:112px;height:56px;object-fit:cover;object-position:center bottom}.footer .brand img{width:112px;height:56px;object-fit:cover;object-position:center bottom}.mobile__top .brand img{width:88px;height:44px;object-fit:cover;object-position:center bottom}
@media(max-width:767px){.header .brand img{width:96px;height:48px}}

.mvp-model-info{max-width:var(--wrap);margin:var(--s5) auto 0;padding-inline:var(--gutter);font-size:12px;color:var(--muted)}.mvp-model-info summary{cursor:pointer;min-height:32px;display:flex;align-items:center}.mvp-model-info p{padding-block:var(--s3);max-width:80ch}.mvp-model-info a{color:inherit;text-decoration:underline}

.header{pointer-events:none}
.header>.nav,.header>.topbar{pointer-events:auto}
.header.is-scrolled>.topbar{pointer-events:none}
:focus,:focus-visible{outline:none!important;box-shadow:none!important}
a:focus-visible{text-decoration:underline;text-underline-offset:4px}
button:focus-visible,.btn:focus-visible{filter:brightness(.88)}
input:focus-visible,textarea:focus-visible,select:focus-visible{border-color:var(--red)}
.blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:var(--s8);align-items:start}
.blog-layout__content{min-width:0}.blog-layout__content .posts{grid-template-columns:repeat(2,minmax(0,1fr))}
.blog-sidebar{padding:var(--s5);border:1px solid var(--line);border-radius:var(--r-card);position:sticky;top:100px}
.blog-sidebar .blog__bar{display:flex;flex-direction:column;align-items:stretch;gap:var(--s5)}
.blog-sidebar .search{width:100%;display:flex;position:relative}.blog-sidebar .search input{width:100%;min-width:0;opacity:1;pointer-events:auto;padding-right:44px}.blog-sidebar .search button{position:absolute;right:6px;top:50%;transform:translateY(-50%)}
.blog-sidebar__title{font-size:20px;margin:0 0 var(--s4)}.blog-sidebar__categories{display:grid;gap:var(--s2);margin-bottom:var(--s6)}
.blog-sidebar__categories a{display:flex;justify-content:space-between;padding:var(--s2) 0;border-bottom:1px solid var(--line)}.blog-sidebar__categories a[aria-current=page]{color:var(--red);font-weight:700}
.blog-sidebar .blog__tags{justify-content:flex-start;gap:var(--s2)}
@media(max-width:900px){.blog-layout{grid-template-columns:1fr}.blog-sidebar{position:static;grid-row:1}.blog-sidebar__categories{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--s4)}}
@media(max-width:600px){.blog-layout__content .posts{grid-template-columns:1fr}}

@media(max-width:1023px){.split:has(.post__toc)>.split__aside{order:0;position:static}.split:has(.post__toc)>.post__main{order:1}.split:has(.post__toc) .aside__cta{display:none}}

.lightbox{width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:hidden;outline:0!important}
.lightbox__in{display:flex;flex-direction:column;align-items:center;gap:12px;max-height:calc(100dvh - 32px);min-height:0}
.lightbox img{display:block;min-height:0;flex:1 1 auto;max-height:calc(100dvh - 116px);max-width:100%;object-fit:contain}
.lightbox__bar{flex:0 0 auto;box-sizing:border-box;min-height:44px;padding:0 4px 4px}
.lightbox__btns button:focus,.lightbox__btns button:focus-visible{outline:0!important;outline-offset:0;box-shadow:none!important;filter:none}
.lightbox__btns button:hover{background:var(--red);border-color:var(--red);color:#fff}
.lightbox__btns button:focus-visible{border-color:var(--red)}
@media(max-width:599px){.lightbox{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.lightbox__in{max-height:calc(100dvh - 16px)}.lightbox img{max-height:calc(100dvh - 144px)}.lightbox__cap{overflow-wrap:anywhere;line-height:1.4}.lightbox__bar{gap:8px 12px}}

.header .brand img,.footer .brand img,.mobile__top .brand img{object-position:center}
