/* Riatla brand system: navy identity, blue action, cool neutral surfaces. */
:root{--navy:#081d49!important;--navy-deep:#061638!important;--yellow:#1456e8!important;--paper:#f7f8fa!important;--ink:#081d49!important;--muted:#52627a!important;--line:#dde2ea!important}
html,body{background:#f7f8fa}
.x-site{--navy:#081d49!important;--yellow:#1456e8!important;--ink:#081d49!important;--gray:#eef1f5!important;background:#f7f8fa!important;color:#081d49!important}
.x-logo{width:162px!important;height:auto!important;mix-blend-mode:normal!important;opacity:1!important;filter:none!important;object-fit:contain!important}
.x-nav{height:88px!important;padding-inline:5vw!important;background:#fff!important;color:#081d49!important;border-bottom:1px solid #dde2ea;box-shadow:0 4px 18px rgba(8,29,73,.06)}
.x-nav nav a,.x-nav__cta{color:#081d49!important}
.x-nav nav a:after,.x-nav__cta:after{background:#1456e8!important}
.x-nav__cta{display:inline-flex;align-items:center;gap:10px;background:#1456e8;color:#fff!important;padding:14px 18px;border-radius:4px}
.x-nav__cta b{color:#fff!important;margin:0!important}
.x-nav>button{color:#081d49!important}
.x-mobile-nav{background:#081d49!important;color:#fff!important}
.x-journey,.x-history,.x-journey__copy,.x-about,.x-differentials,.x-brands{background:#f7f8fa!important}
.x-contact,.x-capabilities__lead,.x-journey__handoff{background:#081d49!important;color:#fff!important}
.x-origin__number{background:#1456e8!important;color:#fff!important}
.x-journey__opening{background:#f7f8fa!important;color:#081d49!important}
.x-contact h2,.x-contact h2 em,.x-contact a,.x-contact label,.x-contact>div>span,.x-journey__handoff h2,.x-journey__handoff>span,.x-journey__handoff a,.x-capabilities__lead,.x-origin__number span,.x-origin__number p{color:#fff!important}
.x-contact input,.x-contact textarea{background:#fff!important;color:#081d49!important;border-color:#dde2ea!important}
.x-journey__opening h2{color:#081d49!important}
.x-journey__opening p{color:#52627a!important}
.x-journey__opening>span{color:#52627a!important}
.x-journey__opening p{opacity:1}
.x-history h2 em,.x-solutions h2 em,.x-brands h2 em,.x-operation h2 em,.x-proof h2 em,.x-contact h2 em{color:#1456e8}
.x-hero,.x-journey__sticky,.x-solutions,.x-history__statement{background-color:#081d49!important}
.x-button,.x-button-ghost,.x-contact button{background:#1456e8!important;color:#fff!important}
.x-contact .x-button{background:#fff!important;color:#081d49!important}
.site-header{background:#fff!important;color:#081d49!important;border-bottom:1px solid #dde2ea!important;box-shadow:0 4px 18px rgba(8,29,73,.06)}
.site-header nav a{color:#081d49!important}
.site-header .cta{background:#1456e8!important;color:#fff!important}
.site-header img,.cms-brand img,.cms-login-brand img{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;mix-blend-mode:normal!important;filter:none!important;opacity:1!important;object-fit:contain!important}
.site-header img{width:162px!important;height:auto!important}
/* Admin keeps the same light work surface with clear navy navigation and blue actions. */
.cms-shell{background:#f7f8fa!important;color:#081d49!important}
.cms-sidebar{background:#fff!important;color:#081d49!important;border-right:1px solid #dde2ea!important}
.cms-sidebar nav a,.cms-sidebar-bottom a{color:#52627a!important}
.cms-sidebar nav a:hover,.cms-sidebar-bottom a:hover{background:#f4f5f7!important;color:#081d49!important}
.cms-sidebar nav a.active{background:#edf1f6!important;color:#1456e8!important}
.cms-sidebar nav a.active span{color:#1456e8!important}
.cms-brand{border-bottom:1px solid #e5eaf2}
.cms-topbar{background:#fff!important;color:#081d49!important;border-bottom:1px solid #dde2ea!important}
.cms-main{background:#f7f8fa!important}
.cms-login-brand{background:#f7f8fa!important;color:#081d49!important}
.cms-login-copy h1,.cms-login-copy h1 em{color:#081d49!important}
.cms-login-copy p{color:#52627a!important}
.cms-login-brand:before,.cms-login-brand:after{opacity:.12}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #1456e8!important;outline-offset:3px}
@media(max-width:760px){.x-logo{width:138px!important}.x-nav{height:72px!important;padding-inline:6vw!important}.x-nav__cta{display:none!important}}

.site-footer--dark{background:#081d49!important;color:#f7f9ff!important;border-top:2px solid #1456e8!important}
.site-footer--dark .site-footer__contacts,.site-footer--dark .site-footer__brand p,.site-footer--dark .site-footer__bottom{color:#c4d0e7!important}
.site-footer--dark a{color:#f7f9ff!important}
.site-footer--dark a:hover{color:#72a0ff!important}

.x-origin,.x-story-band--light,.x-faq,.x-timeline,.x-brandwall{background:#f7f8fa!important}
.x-brandwall figure,.x-timeline article{background:#fff!important}
.x-origin p,.x-origin__stock p,.x-history__intro>p,.x-operation__content>p,.x-solutions__head>p{color:#52627a!important}

.site-footer--dark .site-footer__brand img{width:176px!important;height:auto!important;mix-blend-mode:normal!important;filter:none!important}
.site-footer--dark .site-footer__bottom{border-top:1px solid rgba(219,229,255,.18)!important}

/* WhatsApp floating control branding is green; detailed rules share compact widget layout. */
/* Editorial refinement: Source Serif 4 + Manrope, locally hosted. */
@font-face{font-family:Riatla Serif;src:url('/assets/fonts/riatla-serif.woff2') format('woff2');font-weight:200 900;font-display:swap}
@font-face{font-family:Riatla Serif;src:url('/assets/fonts/riatla-serif-italic.woff2') format('woff2');font-weight:200 900;font-style:italic;font-display:swap}
@font-face{font-family:Riatla Sans;src:url('/assets/fonts/riatla-sans.woff2') format('woff2');font-weight:200 800;font-display:swap}
.x-site{font-family:Riatla Sans,Arial,sans-serif}
.x-site :is(h1,h2,h3),.x-origin__head h2:after,.x-capabilities__grid article>strong,.x-origin__stock strong{font-family:Riatla Serif,Georgia,serif!important;font-weight:500!important;letter-spacing:-.035em!important;line-height:1.08!important}
.x-site h1{font-size:clamp(50px,6.8vw,104px)!important;max-width:850px}
.x-site h2,.x-origin__head h2:after{font-size:clamp(36px,4.2vw,64px)!important}
.x-origin__head h2{font-size:0!important}
.x-site h3{font-size:clamp(26px,2.6vw,38px)!important}
.x-site :is(p,input,textarea,select){font-family:Riatla Sans,Arial,sans-serif!important;font-size:16px!important;line-height:1.75!important;letter-spacing:0!important}
.x-site :is(nav a,.x-button,.x-button-ghost,.x-inline-cta){font-family:Riatla Sans,Arial,sans-serif!important;font-size:13px!important;font-weight:650!important;letter-spacing:.01em!important}
.x-nav{height:88px!important}.x-nav .x-logo{width:184px!important;opacity:1!important;filter:none!important}
.x-site :is(.x-hero__content>p,.x-story-band>span,.x-origin__head>span,.x-operation__content>span,.x-solutions__head>span,.x-contact__copy>span){font-family:Riatla Sans,Arial,sans-serif!important;font-size:11px!important;font-weight:650!important;letter-spacing:.12em!important;line-height:1.5!important}
.x-hero__content{padding-top:70px!important}.x-hero__bottom>p{max-width:46ch!important;color:#e3e9f2!important}
.x-hero h1 em,.x-operation h2 em,.x-solutions h2 em{color:#fff!important}
.x-operation__content>p,.x-solutions__head>p,.x-story-band:not(.x-story-band--light)>p,.x-contact__copy>p,.x-capabilities__lead p,.x-quote-guide li p{color:#d5dfef!important;opacity:1!important}
.x-operation__content>span,.x-solutions__head>span,.x-story-band:not(.x-story-band--light)>span{color:#a9bddf!important}
.x-origin__number{background:#eef1f5!important;border-top:3px solid #1456e8}.x-origin__number :is(strong,span,p){color:#081d49!important}.x-origin__number strong{font-family:Riatla Serif,Georgia,serif!important;font-size:clamp(110px,13vw,190px)!important}
.x-operation,.x-solutions,.x-proof,.x-brands{padding-top:88px!important;padding-bottom:88px!important}
.x-story-band{padding-top:72px!important;padding-bottom:72px!important;min-height:0!important}
.x-journey__opening,.x-journey__handoff{min-height:0!important;padding-top:80px!important;padding-bottom:80px!important}
.x-journey__copy article{height:auto!important;min-height:320px!important;padding-top:64px!important;padding-bottom:64px!important;opacity:1!important;filter:none!important}
.x-journey__copy article h3{max-width:24ch}.x-journey__copy article>span{color:#52627a!important;opacity:1!important}
.x-solution__copy p{color:#d5dfef!important}.x-solution__copy small{color:#b5c4dc!important;font-size:11px!important}
.x-contact :is(input,textarea,select){padding:13px 15px!important;min-height:48px;border:1px solid #cbd5e3!important;border-radius:6px!important;background:#fff!important;color:#081d49!important}.x-contact label{color:#e3e9f2!important;font-family:Riatla Sans,Arial,sans-serif!important;font-size:12px!important;line-height:1.6!important}
.site-footer__brand img{opacity:1!important}.site-footer__contacts :is(p,a){font-family:Riatla Sans,Arial,sans-serif!important;font-size:14px!important;line-height:1.75!important}
@media(max-width:760px){.x-nav .x-logo{width:150px!important}.x-site h1{font-size:clamp(44px,11vw,68px)!important}.x-site h2,.x-origin__head h2:after{font-size:38px!important}.x-origin__head h2{font-size:0!important}.x-operation,.x-solutions,.x-proof,.x-brands{padding-top:56px!important;padding-bottom:56px!important}.x-journey__copy article{min-height:70vh!important;padding-top:50vh!important;padding-bottom:32px!important}.x-hero__bottom{gap:24px!important}.x-site p{font-size:16px!important}}
/* Final identity and rhythm correction. */
.x-nav .x-logo,.site-header img,.cms-brand img{filter:url('/assets/riatla-logo-contrast.svg#solid')!important;opacity:1!important;mix-blend-mode:normal!important}
.site-footer.site-footer--dark .site-footer__brand img{filter:url('/assets/riatla-logo-contrast.svg#solid') brightness(0) invert(1)!important;opacity:1!important}
.site-footer__brand p,.site-footer__contacts span,.site-footer__bottom{opacity:1!important;color:#c4d0e7!important}
.x-journey.riatla-journey-grid .x-journey__layout{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;min-height:0!important;height:auto!important;max-width:1280px;margin:0 auto;padding:0 6vw 64px!important}
.riatla-paper-card{display:flex;flex-direction:column;background:#fff;border:1px solid #dde2ea;border-radius:10px;overflow:hidden;min-width:0}
.riatla-paper-card>img{display:block;width:100%;height:260px;object-fit:cover}
.riatla-paper-card>div{padding:28px}.riatla-paper-card span{font:600 11px Riatla Sans,Arial,sans-serif;color:#52627a;letter-spacing:.08em;text-transform:uppercase}
.x-site .riatla-paper-card h3{font-size:30px!important;line-height:1.18!important;margin:14px 0!important;transform:none!important;opacity:1!important}.riatla-paper-card p{margin:0;color:#52627a!important}
.x-journey__handoff{background:#eef1f5!important;color:#081d49!important;padding:56px 12vw!important}.x-journey__handoff :is(h2,h2 em,span,a){color:#081d49!important}
.x-solutions{background:#fff!important;color:#081d49!important}.x-solutions .x-solutions__head :is(h2,h2 em){color:#081d49!important}.x-solutions .x-solutions__head>p{color:#52627a!important}.x-solutions .x-solutions__head>span{color:#52627a!important}
.x-solution--campaign{background:#081d49!important}.x-solution--campaign h3{color:#fff!important}.x-solutions__head{margin-bottom:40px!important}
.x-quote-guide{background:#eef1f5!important;color:#081d49!important}.x-quote-guide :is(h2,li>strong){color:#081d49!important}.x-quote-guide li p,.x-quote-guide>div>span{color:#52627a!important}.x-quote-guide li{border-color:#ccd5e1!important}
@media(max-width:760px){.x-journey.riatla-journey-grid .x-journey__layout{grid-template-columns:1fr!important;padding-inline:6vw!important;gap:20px!important}.riatla-paper-card>img{height:230px}.riatla-paper-card>div{padding:24px}.x-site .riatla-paper-card h3{font-size:28px!important}}
/* Shared public-page component standards. */
:is(.x-site,.catalog-page,.history-page,.privacy-page,.link-hub){font-family:Riatla Sans,Arial,sans-serif;--action-height:52px;--action-radius:6px}
:is(.catalog-page,.history-page,.privacy-page,.link-hub) :is(h1,h2,h3){font-family:Riatla Serif,Georgia,serif!important;line-height:1.12!important;letter-spacing:-.025em!important;font-weight:500!important;overflow-wrap:break-word}
:is(.catalog-page,.history-page,.privacy-page,.link-hub) :is(p,li){font-family:Riatla Sans,Arial,sans-serif!important;font-size:16px!important;line-height:1.75!important}
:is(.catalog-page,.history-page,.privacy-page) h1{font-size:clamp(40px,5vw,72px)!important}
:is(.catalog-page,.history-page,.privacy-page) h2{font-size:clamp(28px,3vw,44px)!important}
body :is(.x-button,.x-button-ghost,.x-catalog-btn,.catalog-grid article>div>a,.catalog-help>a,.history-page__cta,.history-page__final-cta>a,.history-page__header-cta){box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;min-height:52px!important;height:auto!important;padding:15px 22px!important;border:1px solid #1456e8!important;border-radius:6px!important;background:#1456e8!important;color:#fff!important;font:650 13px/1.5 Riatla Sans,Arial,sans-serif!important;letter-spacing:.015em!important;text-transform:uppercase!important;white-space:normal!important;text-align:center!important;text-decoration:none!important;box-shadow:none!important;transition:background .18s ease,border-color .18s ease!important}
body :is(.x-button,.x-button-ghost,.x-catalog-btn) b{font:600 18px/1 Riatla Sans,Arial,sans-serif!important;color:inherit!important;margin:0!important}
body .x-solution__actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:min(100%,290px)!important;align-items:stretch!important}
body .x-solution__actions>a{width:100%!important;margin:0!important;min-height:52px!important}
body .x-solution__actions :is(.x-catalog-btn,.x-button-ghost){background:transparent!important;border-color:#9aacc9!important;color:#fff!important}
body :is(.x-button,.catalog-grid article>div>a,.catalog-help>a,.history-page__cta):hover{background:#1047c2!important;border-color:#1047c2!important;color:#fff!important;transform:none!important}
body .x-solution__actions :is(.x-catalog-btn,.x-button-ghost):hover{background:#193460!important;border-color:#fff!important;transform:none!important}
body .x-button-ghost{background:transparent!important;color:#081d49!important;border-color:#788ba9!important}
body .x-nav__cta{min-height:44px!important;padding:12px 18px!important;border-radius:6px!important;font:650 12px/1.5 Riatla Sans,Arial,sans-serif!important;color:#fff!important}
.history-page__header{background:#fff!important;color:#081d49!important;border-bottom:1px solid #dde2ea!important}.history-page__header nav a{font:600 13px/1.5 Riatla Sans,Arial,sans-serif!important;color:#081d49!important}
.history-page__header img,.link-header img{opacity:1!important;filter:url('/assets/riatla-logo-contrast.svg#solid')!important;mix-blend-mode:normal!important;object-fit:contain!important}
.catalog-page,.privacy-page,.history-page{background:#f7f8fa!important;color:#081d49!important}
.catalog-grid article{background:#fff!important;border:1px solid #dde2ea!important;border-radius:10px!important;overflow:hidden}.catalog-grid article>div{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:28px!important}.catalog-grid article>div>a{margin-top:auto!important;width:100%!important}.catalog-grid article p{color:#52627a!important}.catalog-grid article small{font:500 12px/1.6 Riatla Sans,Arial,sans-serif!important;color:#52627a!important}.catalog-help{background:#eef1f5!important;color:#081d49!important}
.privacy-page :is(p,li){max-width:75ch}.privacy-page a:focus-visible,.history-page a:focus-visible,.catalog-page a:focus-visible,.link-hub a:focus-visible{outline:3px solid #1456e8;outline-offset:4px}
.link-hub .channel-card{border-radius:10px!important;min-height:76px}.link-hub .channel-copy{font-family:Riatla Sans,Arial,sans-serif!important}
@media(max-width:760px){body .x-solution__actions{width:100%!important}:is(.catalog-page,.history-page,.privacy-page) h1{font-size:40px!important}.catalog-grid{grid-template-columns:1fr!important}.catalog-grid article>div{padding:24px!important}}
@media(prefers-reduced-motion:reduce){body :is(.x-button,.x-button-ghost,.x-catalog-btn){transition:none!important}}
