:root {
  --y-ink: #14212b;
  --y-muted: #5d6a73;
  --y-brand: #a51f4d;
  --y-brand-dark: #7f1538;
  --y-blue: #2c7899;
  --y-blue-soft: #eaf4f8;
  --y-line: #dfe7eb;
  --y-paper: #ffffff;
  --y-bg: #f5f8fa;
  --y-radius: 20px;
  --y-shadow: 0 18px 50px rgba(27, 47, 60, .1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.y-site { margin: 0; overflow-x: hidden; color: var(--y-ink); background: var(--y-paper); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; }
body.y-site img { max-width: 100%; height: auto; }
body.y-site a { color: var(--y-blue); }
body.y-site h1, body.y-site h2, body.y-site h3, body.y-site h4 { color: var(--y-ink); font-family: inherit; line-height: 1.16; letter-spacing: -.025em; }
body.y-site h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
body.y-site h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
body.y-site p:empty { display: none; }
.y-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.y-skip { position: fixed; left: 12px; top: -100px; z-index: 1000; padding: 10px 16px; color: #fff !important; background: var(--y-brand); border-radius: 8px; }
.y-skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.y-header { position: relative; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--y-line); }
.y-header__main { min-height: 104px; display: grid; grid-template-columns: auto 1fr auto auto; gap: 28px; align-items: center; }
.y-brand { display: inline-flex; flex-direction: column; align-items: flex-start; color: var(--y-ink) !important; text-decoration: none; }
.y-brand img { width: 150px; max-height: 58px; object-fit: contain; object-position: left center; }
.y-brand span { margin-top: 2px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.y-header__contacts { display: flex; justify-content: flex-end; align-items: center; gap: 20px; font-size: .92rem; }
.y-header__contacts a { color: var(--y-ink); text-decoration: none; }
.y-header__contacts .y-phone { color: var(--y-brand); font-size: 1.12rem; font-weight: 800; }
.y-hours { color: var(--y-muted); }
.y-btn { display: inline-flex; min-height: 52px; padding: 14px 24px; align-items: center; justify-content: center; border: 1px solid var(--y-brand); border-radius: 999px; color: #fff !important; background: var(--y-brand); box-shadow: 0 10px 28px rgba(165,31,77,.22); font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; }
.y-btn:hover, .y-btn:focus { background: var(--y-brand-dark); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(165,31,77,.28); text-decoration: none; }
.y-btn--small { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.y-btn--ghost { color: var(--y-ink) !important; background: transparent; border-color: #b9c8d0; box-shadow: none; }
.y-btn--ghost:hover { color: #fff !important; background: var(--y-ink); border-color: var(--y-ink); }
.y-nav-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; border-radius: 12px; background: var(--y-blue-soft); }
.y-nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--y-ink); border-radius: 4px; }
.y-navigation { border-top: 1px solid var(--y-line); }
.y-navigation__inner { min-height: 54px; display: grid; grid-template-columns: 1fr 230px; gap: 24px; align-items: center; }
.y-topnav .mod-menu, .y-service-nav .mod-menu { display: flex; margin: 0; padding: 0; list-style: none; }
.y-topnav .mod-menu { gap: 32px; }
.y-topnav .mod-menu > li { padding: 0; border: 0; }
.y-topnav .mod-menu > li > a { color: var(--y-ink); font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.y-topnav .mod-menu > li > a:hover, .y-topnav .current > a { color: var(--y-brand); }
.y-search { position: relative; margin: 0; }
.y-search input { width: 100%; height: 38px; margin: 0; padding: 8px 42px 8px 14px; border: 1px solid var(--y-line); border-radius: 999px; background: var(--y-bg); box-shadow: none; font-size: .88rem; }
.y-search button { position: absolute; inset: 2px 4px 2px auto; width: 36px; padding: 0; border: 0; color: var(--y-blue); background: transparent; font-size: 1.4rem; }
.y-service-nav { background: linear-gradient(100deg, #2c7899, #3c8bab); }
.y-service-nav .mod-menu { display: grid; grid-template-columns: repeat(3, 1fr); }
.y-service-nav .mod-menu > li { position: relative; margin: 0; padding: 0; border-right: 1px solid rgba(255,255,255,.18); }
.y-service-nav .mod-menu > li > a { min-height: 66px; display: flex; align-items: center; justify-content: center; padding: 14px 22px; color: #fff; font-size: .9rem; font-weight: 800; text-align: center; text-decoration: none; text-transform: uppercase; }
.y-service-nav .mod-menu > li:hover > a { background: rgba(255,255,255,.1); }
.y-service-nav .mod-menu ul { min-width: 290px; padding: 10px; border: 0; border-radius: 14px; background: #fff; box-shadow: var(--y-shadow); }
.y-service-nav .mod-menu ul a { display: block; padding: 9px 12px; color: var(--y-ink); text-decoration: none; border-radius: 8px; }
.y-service-nav .mod-menu ul a:hover { color: var(--y-brand); background: #f7edf1; }
.y-service-nav .mod-menu__toggle-sub { display: none !important; }
.y-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 35%, rgba(82,157,185,.18), transparent 36%), linear-gradient(135deg, #f7fafb 0%, #edf5f8 100%); }
.y-hero::after { content: ""; position: absolute; right: -160px; bottom: -240px; width: 520px; height: 520px; border: 80px solid rgba(165,31,77,.05); border-radius: 50%; }
.y-hero__grid { min-height: 640px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; padding-block: 72px; }
.y-hero__content { position: relative; z-index: 2; }
.y-eyebrow { display: inline-block; margin-bottom: 16px; color: var(--y-brand); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.y-hero h1 { max-width: 760px; margin: 0 0 24px; }
.y-hero__content > p { max-width: 680px; margin: 0 0 32px; color: var(--y-muted); font-size: 1.18rem; }
.y-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.y-trust { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 680px; margin: 48px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(20,33,43,.14); list-style: none; }
.y-trust li { display: flex; flex-direction: column; }
.y-trust strong { color: var(--y-brand); font-size: 1.5rem; line-height: 1; }
.y-trust span { margin-top: 8px; color: var(--y-muted); font-size: .85rem; }
.y-hero__visual { position: relative; z-index: 1; }
.y-hero__visual::before { content: ""; position: absolute; inset: 10% -5% -3% 8%; background: var(--y-blue); border-radius: 48% 52% 46% 54%; transform: rotate(-4deg); opacity: .13; }
.y-hero__visual img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(.8); border-radius: 48% 52% 46% 54%; box-shadow: var(--y-shadow); }
.y-hero__card { position: absolute; left: -32px; bottom: 35px; min-width: 230px; padding: 18px 22px; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.8); border-radius: 16px; box-shadow: var(--y-shadow); }
.y-hero__card span, .y-hero__card strong { display: block; }
.y-hero__card span { color: var(--y-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.y-hero__card strong { margin-top: 4px; color: var(--y-brand); }
.y-breadcrumbs { padding: 14px 0; background: var(--y-bg); border-bottom: 1px solid var(--y-line); }
.y-breadcrumbs .breadcrumb { margin: 0; padding: 0; background: transparent; }
.y-main { padding: 72px 0; }
.is-home .y-main { padding: 84px 0 36px; }
.y-layout { display: flex; gap: 42px; }
.y-content { min-width: 0; flex: 1 1 auto; }
.y-sidebar { flex: 0 0 260px; }
.y-content > .item-page, .y-content > .blog, .y-content > .com-content-category-blog { max-width: 920px; margin-inline: auto; }
.is-home .y-content > * { max-width: none; }
.y-content .page-header h1, .y-content .page-header h2 { margin-top: 0; }
.y-content table { width: 100%; display: block; overflow-x: auto; }
.y-content input, .y-content textarea, .y-content select { max-width: 100%; }
.y-section { padding: 86px 0; }
.y-services { background: var(--y-bg); }
.y-services .poslugy-inner > div, .y-services .mod-custom { width: 100%; }
.y-services .services-block-uslugi, .y-services .services-box, .y-services .popular-services { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.y-services .services, .y-services a[class*="service"] { width: auto !important; min-height: 190px; margin: 0 !important; padding: 28px !important; border: 1px solid var(--y-line); border-radius: 18px; background-color: #fff; box-shadow: 0 8px 28px rgba(27,47,60,.06); transition: transform .2s ease, box-shadow .2s ease; }
.y-services .services:hover, .y-services a[class*="service"]:hover { transform: translateY(-4px); box-shadow: var(--y-shadow); }
.y-services .newsflash { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.y-services .itemnews { width: auto !important; margin: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(27,47,60,.07); }
.y-services .itemnews > *:not(img):not(a) { margin-inline: 22px; }
.y-services .itemnews img { width: 100%; height: 200px; object-fit: cover; }
.y-services .itemnews a { text-decoration: none; }
.y-section__head { max-width: 700px; margin-bottom: 42px; }
.y-section__head h2 { margin: 0 0 14px; }
.y-section__head p { margin: 0; color: var(--y-muted); }
.y-clients { background: #fff; }
.y-client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.y-client { min-height: 130px; display: flex; align-items: center; justify-content: center; padding: 22px; border: 1px solid var(--y-line); border-radius: 18px; background: var(--y-bg); }
.y-client img { max-height: 72px; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.y-client:hover img { filter: none; opacity: 1; }
.y-consultation { padding: 88px 0; color: #fff; background: linear-gradient(120deg, #172a36, #214b60); }
.y-consultation h2 { margin: 0 0 18px; color: #fff !important; }
.y-consultation p { max-width: 500px; color: #d7e4e9; }
.y-consultation__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.y-consultation__direct { display: grid; gap: 7px; margin-top: 30px; }
.y-consultation__direct a { color: #fff; font-size: 1.08rem; font-weight: 800; text-decoration: none; }
.y-request-form { position: relative; padding: 30px; color: var(--y-ink); background: #fff; border-radius: 22px; box-shadow: 0 24px 70px rgba(0,0,0,.18); }
.y-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.y-form-grid label { margin: 0; color: var(--y-ink); font-weight: 700; }
.y-form-grid label > span { display: block; margin-bottom: 7px; font-size: .84rem; }
.y-form-grid input, .y-form-grid textarea { width: 100%; min-height: 50px; margin: 0; padding: 12px 14px; border: 1px solid #cad7dd; border-radius: 10px; background: #f9fbfc; box-shadow: none; font: inherit; }
.y-form-grid input:focus, .y-form-grid textarea:focus { outline: 3px solid rgba(44,120,153,.16); border-color: var(--y-blue); }
.y-form-full { grid-column: 1 / -1; }
.y-form-full textarea { resize: vertical; }
.y-form-footer { display: flex; gap: 18px; align-items: center; margin-top: 20px; }
.y-form-footer small { max-width: 350px; color: var(--y-muted); line-height: 1.4; }
.y-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.y-form-message { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.y-form-message--success { color: #176339; background: #e6f6ed; }
.y-form-message--error { color: #84233e; background: #fdebf0; }
.y-footer { padding: 70px 0 0; color: #cad5da; background: #0f1b22; }
.y-footer__grid { display: grid; grid-template-columns: 1.35fr .85fr 1fr 1fr; gap: 44px; }
.y-footer__brand img { width: 150px; filter: brightness(0) invert(1); }
.y-footer__brand p { max-width: 300px; color: #9fb0b8; }
.y-footer h3 { margin: 0 0 18px; color: #fff !important; font-size: 1rem; }
.y-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.y-footer a { color: #cad5da !important; text-decoration: none; }
.y-footer a:hover { color: #fff !important; }
.y-footer__bottom { display: flex; justify-content: space-between; margin-top: 54px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); color: #8ea1aa; font-size: .88rem; }
@media (max-width: 1050px) {
  .y-header__contacts .y-hours, .y-header__contacts > a:not(.y-phone) { display: none; }
  .y-hero__grid { gap: 36px; }
  .y-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body.y-site { font-size: 16px; }
  .y-container { width: min(100% - 28px, 720px); }
  .y-header__main { min-height: 78px; grid-template-columns: 1fr auto; gap: 12px; }
  .y-brand img { width: 116px; max-height: 45px; }
  .y-brand span { font-size: .58rem; }
  .y-header__contacts, .y-header__cta { display: none; }
  .y-nav-toggle { display: block; }
  .y-navigation { position: absolute; top: 100%; left: 0; right: 0; max-height: 0; overflow: hidden; opacity: 0; background: #fff; box-shadow: var(--y-shadow); transition: max-height .3s ease, opacity .2s ease; }
  .y-nav-open .y-navigation { max-height: calc(100vh - 78px); overflow-y: auto; opacity: 1; }
  .y-navigation__inner { display: flex; flex-direction: column; align-items: stretch; padding-block: 20px; }
  .y-topnav .mod-menu { display: grid; gap: 0; }
  .y-topnav .mod-menu > li > a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--y-line); font-size: .9rem; }
  .y-search { order: -1; }
  .y-service-nav .mod-menu { display: grid; grid-template-columns: 1fr; }
  .y-service-nav .mod-menu > li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .y-service-nav .mod-menu > li > a { min-height: auto; justify-content: flex-start; padding: 15px 20px; text-align: left; }
  .y-service-nav .mod-menu ul { position: static !important; min-width: 0; box-shadow: none; border-radius: 0; }
  .y-hero__grid { min-height: 0; grid-template-columns: 1fr; padding-block: 54px; }
  .y-hero__content > p { font-size: 1.05rem; }
  .y-hero__visual { order: -1; max-width: 430px; margin-inline: auto; }
  .y-hero__visual img { aspect-ratio: 16 / 10; border-radius: 24px; }
  .y-hero__visual::before { border-radius: 24px; }
  .y-hero__card { left: 12px; bottom: 12px; min-width: 0; }
  .y-main, .is-home .y-main { padding: 54px 0; }
  .y-layout { flex-direction: column; }
  .y-sidebar { flex-basis: auto; width: 100%; }
  .y-section { padding: 60px 0; }
  .y-services .services-block-uslugi, .y-services .services-box, .y-services .popular-services, .y-services .newsflash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .y-client-grid { grid-template-columns: repeat(3, 1fr); }
  .y-consultation { padding: 64px 0; }
  .y-consultation__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .y-container { width: min(100% - 22px, 520px); }
  .y-hero__grid { padding-block: 34px 48px; }
  .y-hero h1 { margin-bottom: 18px; font-size: clamp(2rem, 11vw, 3rem); }
  .y-hero__actions { display: grid; }
  .y-btn { width: 100%; }
  .y-trust { gap: 8px; margin-top: 34px; }
  .y-trust strong { font-size: 1.2rem; }
  .y-trust span { font-size: .74rem; line-height: 1.3; }
  .y-hero__card { position: relative; left: auto; bottom: auto; margin: -28px 12px 0; }
  .y-services .services-block-uslugi, .y-services .services-box, .y-services .popular-services, .y-services .newsflash { grid-template-columns: 1fr; }
  .y-client-grid { grid-template-columns: repeat(2, 1fr); }
  .y-client { min-height: 100px; padding: 15px; }
  .y-request-form { padding: 20px 16px; border-radius: 16px; }
  .y-form-grid { grid-template-columns: 1fr; }
  .y-form-full { grid-column: auto; }
  .y-form-footer { display: grid; }
  .y-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .y-footer__bottom { gap: 16px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
