@font-face{font-family:Roboto;src:url('assets/fonts/Roboto.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{--font-core:'Roboto',Arial,sans-serif;--font-display:'Roboto',Arial,sans-serif;--brand-turquoise:#00b0bd;--brand-navy:#1e2849;--brand-green:#00b27c;--brand-cyan:#00adef;--brand-gray:#f6f6f6}
body{font-family:var(--font-core);font-weight:300;line-height:1.5}
button,input,select,textarea{font-family:inherit}
button,a,input,select,textarea{scroll-margin-top:140px}
:focus-visible{outline:3px solid #00adef!important;outline-offset:4px}
input:focus-visible+span{outline:3px solid #00adef;outline-offset:3px}
button:disabled{opacity:.5;cursor:wait}
::selection{background:#00b0bd;color:#1e2849}
.demo-primary,.demo-secondary{min-height:44px;padding:10px 22px;border-radius:999px;font:600 15px Roboto,Arial,sans-serif;cursor:pointer;border:1px solid #00b0bd}
.demo-primary{background:#00b27c;color:#1e2849;border-color:#00b27c}
.demo-primary:hover{background:#009e6d}
.demo-secondary{color:#1e2849;background:#fff}
.demo-footer{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;font-size:14px;line-height:1.6}
.demo-footer p{margin:12px 0}.demo-footer strong{font-weight:600;color:white}.demo-footer a{color:#7ad9df}.demo-footer a:hover{color:white}
.demo-error{padding:20px;margin:20px;background:#fff;color:#1e2849;border-radius:12px}
.demo-error button{margin-left:16px}

@media(max-width:599px){.demo-footer{grid-template-columns:1fr;gap:24px}header button[aria-label='Открыть подборку']{padding:8px 10px!important}h1{font-size:32px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}
.ux-entry h2{color:white;margin:0 0 8px;font-size:26px}.ux-entry p{color:#bfc8d6;margin:0 0 18px}.ux-entry h3{color:white;margin:0 0 12px;font-size:20px}
.ux-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.ux-task-grid button{display:flex;flex-direction:column;gap:6px;padding:18px;text-align:left;border:1px solid #59707f;background:rgba(0,176,189,.12);border-radius:14px;color:white;cursor:pointer;min-height:88px}
.ux-task-grid button:hover{background:rgba(0,176,189,.24)}.ux-task-grid span{font-size:13px;color:#bfc8d6}
.ux-view{display:flex;gap:4px;padding:4px;border:1px solid #526478;border-radius:12px}.ux-view button{min-height:44px;padding:8px 18px;border:0;background:transparent;color:white;border-radius:8px;cursor:pointer}.ux-view button[aria-pressed=true]{background:#00b0bd;color:#0e1425;font-weight:700}
.ux-results{padding:20px;border:1px solid #52727e;border-radius:16px;background:#15233d}.ux-result-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.ux-result-heading h3{color:white;margin:0}.ux-result-heading button{background:transparent;color:white;border:1px solid #526478;border-radius:10px;padding:8px 12px;min-height:44px;cursor:pointer}
.ux-result-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:8px;max-height:480px;overflow:auto;margin-top:16px}
.ux-result-list button{display:flex;flex-direction:column;gap:6px;background:#fff;color:#1e2849;text-align:left;border:2px solid transparent;border-radius:10px;padding:14px;cursor:pointer}.ux-result-list span{font-size:13px}
[data-search-active=true]{outline:3px solid #00b0bd!important;outline-offset:-3px;background:#e3f6f6!important}
.ux-match{font-size:13px;font-weight:600;color:#007e88;background:#e3f6f6;padding:6px 10px;border-radius:6px;width:100%}
.ux-search-all{min-height:44px;border:0;background:#e3f6f6;color:#1e2849;padding:10px 16px;text-align:left;border-radius:8px;font-weight:600;cursor:pointer}
.ux-extra{width:100%}.ux-extra summary{cursor:pointer;font-weight:600;min-height:44px;padding:8px 0}.ux-extra[open]>div{margin:16px 0}
.ux-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}.ux-demo-note{font-size:13px;color:#5c6270;margin:0}
#map button,#request button,[data-ux-dialog] button{min-height:44px!important}
[data-ux-dialog]{overscroll-behavior:contain}[data-ux-dialog] button{touch-action:manipulation}
.ux-bar-undo{min-height:44px;padding:8px 12px;border:1px solid #6a8d9e;border-radius:999px;background:transparent;color:white;cursor:pointer}
#map{scroll-margin-top:80px!important}
@media(max-width:899px){#map{scroll-margin-top:168px!important}}
@media(max-width:599px){.ux-task-grid{grid-template-columns:1fr 1fr;gap:8px}.ux-task-grid button{padding:12px}.ux-result-heading{align-items:flex-start}.ux-bar-actions{flex-wrap:wrap;width:100%}.ux-bar-actions button,.ux-bar-actions a{min-height:44px!important}#request form{gap:16px!important}}
/* Preserve the original three-card composition. */
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.service-card{display:grid;grid-template-rows:88px 64px 32px 1fr;gap:16px;padding:28px;background:#fff;border:1px solid #e3e5e9;border-radius:20px;box-shadow:0 10px 26px rgba(30,40,73,.065);min-width:0}
.service-icon{width:88px;height:88px;display:flex;align-items:center;justify-content:center}
.service-icon img{width:80px;height:80px;object-fit:contain;display:block}
#services .service-card h3{margin:0;color:#1e2849;font-size:23px;line-height:1.3;font-weight:700;align-self:start;overflow-wrap:normal}
.service-audience{align-self:start;justify-self:start;padding:5px 11px;border-radius:999px;background:#1e2849;color:#fff;font-size:12px;font-weight:600;line-height:20px;max-width:100%}
.service-list{list-style:none;display:flex;flex-direction:column;gap:12px;padding:4px 0 0;margin:0;color:#5c6270;font-size:15px;line-height:1.55;font-weight:400}
.service-list li{position:relative;padding-left:16px;overflow-wrap:break-word}
.service-list li::before{content:'';position:absolute;left:0;top:.65em;width:6px;height:6px;border-radius:50%;background:#00b0bd}
@media(min-width:700px) and (max-width:1050px){.service-grid{gap:16px}.service-card{padding:20px;grid-template-rows:80px 84px 52px 1fr;gap:14px}#services .service-card h3{font-size:20px}.service-icon{height:80px;width:80px}.service-audience{font-size:11px}.service-list{font-size:14px}}
@media(max-width:699px){.service-grid{grid-template-columns:repeat(3,260px);gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 16px;scrollbar-width:thin;scrollbar-color:#00b0bd #e3e5e9}.service-card{padding:22px;grid-template-rows:80px 78px 48px 1fr;gap:14px;scroll-snap-align:start}#services .service-card h3{font-size:20px}.service-icon{height:80px;width:80px}.service-list{font-size:14px}}

.header-brand{display:flex;align-items:center;gap:18px;flex-shrink:0;text-decoration:none;border:0!important;box-shadow:none!important;color:#fff}
.header-logo{display:block;width:auto;height:34px;flex-shrink:0}
.header-brand-text{display:flex;flex-direction:column;gap:3px;border-left:1px solid rgba(255,255,255,.24);padding-left:18px;line-height:1.15;white-space:nowrap}
.header-brand-text strong{font-size:18px;font-weight:600;letter-spacing:.01em;color:#fff}
.header-brand-text>span{font-size:12px;font-weight:400;color:#b8c1d0}
.header-brand:hover .header-brand-text strong{color:#fff}
@media(max-width:599px){.header-brand{gap:12px}.header-logo{height:28px}.header-brand-text{padding-left:12px;gap:3px}.header-brand-text strong{font-size:16px}.header-brand-text>span{font-size:11px}}
