.services-page{overflow-x:clip;background:#fff;color:var(--ink)}
.services-page .h1,.services-page .h2,.services-page h3{letter-spacing:-.03em}

.srv-hero{padding:18px 0 48px;background:linear-gradient(180deg,#f5fbff 0%,#fff 72%)}
.srv-breadcrumbs{display:flex;align-items:center;gap:7px;padding:2px 0 22px;font-size:12px;color:#8493a1}
.srv-breadcrumbs a{color:#587083;transition:color .18s}
.srv-breadcrumbs a:hover{color:var(--blue)}
.srv-breadcrumbs svg{width:12px;height:12px}
.srv-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,46%);gap:48px;align-items:center;min-height:520px}
.srv-hero .h1{margin-top:14px;max-width:720px}
.srv-hero__lead{margin-top:18px;max-width:690px;font-size:clamp(15.5px,1.22vw,18px);line-height:1.4;font-weight:600;color:var(--ink-2)}
.srv-hero__text{margin-top:14px;max-width:640px;font-size:14px;line-height:1.6;color:var(--txt)}
.srv-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.srv-hero__media{position:relative;min-height:500px;border-radius:18px;overflow:hidden;border:1px solid #dceaf4;background:#eef6fb;box-shadow:0 24px 70px rgba(22,86,126,.11)}
.srv-hero__media img{width:100%;height:100%;min-height:500px;object-fit:cover}
.srv-hero__badge{position:absolute;left:22px;bottom:22px;display:flex;align-items:center;gap:12px;max-width:330px;padding:15px 17px;border:1px solid rgba(214,232,244,.9);border-radius:14px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);box-shadow:0 12px 36px rgba(22,86,126,.12)}
.srv-hero__badge svg{width:28px;height:28px;color:var(--blue)}
.srv-hero__badge b{display:block;font-size:13px;color:var(--ink)}
.srv-hero__badge span{display:block;margin-top:2px;font-size:12px;line-height:1.4;color:var(--txt)}

.srv-catalog{padding:62px 0 70px;background:linear-gradient(180deg,#f7fbfe,#eef7fd 48%,#f8fcff)}
.srv-catalog__head{display:grid;grid-template-columns:minmax(0,760px) minmax(320px,1fr);gap:24px 36px;align-items:end}
.srv-catalog__head .h2{margin-top:10px}
.srv-catalog__head .lead{margin-top:14px;max-width:730px}
.srv-tabs{position:sticky;top:calc(var(--header-h) + 10px);z-index:10;grid-column:1/-1;display:flex;align-items:stretch;gap:4px;width:100%;padding:5px;border:1px solid #d9e8f2;border-radius:12px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);box-shadow:0 10px 30px -25px rgba(18,42,66,.5)}
.srv-tabs a{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:1 1 0;min-width:0;min-height:46px;padding:0 18px;border-radius:8px;font-size:13.5px;font-weight:600;color:#536b7d;transition:background .18s,color .18s,box-shadow .18s}
.srv-tabs a:hover{background:#edf7fd;color:var(--blue)}
.srv-tabs a.is-active{background:var(--blue);color:#fff;box-shadow:0 7px 18px rgba(31,138,201,.2)}
.srv-tabs svg{flex:0 0 18px;width:18px;height:18px}

.srv-groups{display:grid;gap:54px;margin-top:44px}
.srv-group{scroll-margin-top:calc(var(--header-h) + 92px)}
.srv-group__head{display:flex;align-items:flex-start;gap:16px;margin-bottom:20px}
.srv-group__icon{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:16px;background:#fff;color:var(--blue);border:1px solid #d7e8f4;box-shadow:var(--shadow-card)}
.srv-group__icon svg{width:28px;height:28px}
.srv-group__head h2{font-size:clamp(23px,2.38vw,25px);line-height:1.16;color:var(--ink)}
.srv-group__head p{max-width:760px;margin-top:7px;font-size:13.5px;line-height:1.55;color:var(--txt)}
.srv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}

.srv-card{position:relative;display:flex;min-height:194px;overflow:hidden;border-radius:16px;background:#fff;box-shadow:var(--shadow-card);cursor:pointer;backface-visibility:hidden;transform:translateZ(0);transition:box-shadow .18s}
.srv-card:hover{box-shadow:var(--shadow-card-hover)}
.srv-card:target{border-color:#80c1e8;box-shadow:0 0 0 4px rgba(26,128,196,.1),var(--shadow-card-hover)}
.srv-card__body{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:10px;flex:1;min-width:0;padding:18px 0 18px 18px}
.srv-card__icon{display:grid;place-items:center;width:22px;height:22px;color:var(--blue)}
.srv-card__icon svg{width:22px;height:22px}
.srv-card h3{min-width:0;max-width:210px;font-size:15.5px;line-height:1.25;font-weight:600;color:var(--ink);letter-spacing:-.02em}
.srv-card__text{grid-column:1/-1;max-width:210px;margin-top:10px;font-size:13px;line-height:1.5;color:#7a8794}
.srv-card__actions{grid-column:1/-1;display:flex;align-items:center;gap:10px;flex-wrap:wrap;align-self:end;padding-top:16px}
.srv-more{display:inline-flex;align-items:center;gap:10px;min-height:30px;padding:0;color:#5c6b79;font-size:13px;font-weight:400;cursor:pointer}
.srv-more span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eaf4fc;color:var(--blue);transition:background .18s}
.srv-more:hover span{background:#d9eefb}
.srv-more svg{width:15px;height:15px}
.srv-card__link{font-size:12px;font-weight:500;color:#5c6b79;text-decoration:underline;text-decoration-style:dashed;text-underline-offset:4px}
.srv-card__media{position:absolute;z-index:1;right:0;top:0;width:calc(52% + 2px);height:100%;background:#edf5fa}
.srv-card__media:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.62) 22%,rgba(255,255,255,0) 48%)}
.srv-card__media img{width:100%;height:100%;object-fit:cover}

.srv-request{position:relative;isolation:isolate;min-height:56.3vw;padding:78px 0 52px;background:#eef8ff url("../img/services/request-background.png") center/cover no-repeat}
.srv-request:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.995) 0%,rgba(249,253,255,.97) 25%,rgba(244,251,255,.72) 45%,rgba(239,248,255,.16) 70%,rgba(239,248,255,.05) 100%)}
.srv-request__grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(500px,.92fr);grid-template-areas:"content form" "note note";gap:24px 58px;align-items:start}
.srv-request__content{grid-area:content;max-width:620px;padding-top:12px}
.srv-request .h2{max-width:590px;margin-top:16px}
.srv-request .h2 em,.srv-form__head h3 em{color:var(--blue);font-style:normal}
.srv-request .lead{margin-top:20px;max-width:560px}
.srv-request__benefits{display:grid;gap:22px;margin-top:34px}
.srv-request__benefits li{display:flex;align-items:center;gap:16px;min-height:54px;color:var(--ink)}
.srv-request__benefits li>span{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:50%;background:#eaf4fc;color:var(--blue)}
.srv-request__benefits svg{width:26px;height:26px}
.srv-request__benefits p{font-size:14px;line-height:1.4;font-weight:600}
.srv-request__attachments{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin-top:30px;min-height:106px;padding:16px 18px;border:1px solid rgba(205,226,240,.9);border-radius:16px;background:rgba(255,255,255,.9);box-shadow:0 12px 34px rgba(28,91,137,.08);backdrop-filter:blur(9px)}
.srv-request__attachments-main{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:50%;background:#e9f6ff;color:var(--blue)}
.srv-request__attachments-main svg{width:29px;height:29px}
.srv-request__attachments h3{font-size:14px;line-height:1.35;font-weight:700;color:var(--ink)}
.srv-request__attachments p{margin-top:5px;font-size:12px;line-height:1.5;color:var(--txt)}
.srv-request__attachment-types{display:flex;gap:9px}
.srv-request__attachment-types span{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#eaf5fd;color:var(--blue)}
.srv-request__attachment-types svg{width:22px;height:22px}
.srv-form{grid-area:form;margin-top:-28px;padding:24px 26px 22px;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:var(--shadow-soft);backdrop-filter:blur(8px)}
.srv-form__head{margin-bottom:20px}
.srv-form__head h3{margin-top:8px;font-size:21px;line-height:1.15;font-weight:700;color:var(--ink)}
.srv-form__head p{margin-top:7px;font-size:13px;line-height:1.5;color:#7a8794}
.srv-form>fieldset{position:relative;display:block;margin:0 0 18px}
.srv-form .nf__legend{font-size:15px;font-weight:600;color:var(--ink)}
.srv-form select,.srv-form textarea{width:100%;min-height:44px;border:1.5px solid #e6ecf2;border-radius:10px;background:#f8fafc;padding:0 11px;font:inherit;font-size:13px;color:var(--ink-2);outline:none;transition:border-color .16s,background .16s}
.srv-form textarea{min-height:84px;padding:11px 12px 24px;line-height:1.5;resize:none}
.resize-none{resize:none}
.srv-form select:focus,.srv-form textarea:focus{border-color:#9ccbea;background:#fff}
.srv-form__counter{position:absolute;right:10px;bottom:8px;color:#7d8ca4;font-size:10px;font-weight:500}
.srv-form .btn{width:100%;margin-top:4px}
.srv-form .nform__note svg{width:12px;height:12px;vertical-align:-2px}
.srv-request__note{grid-area:note;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;margin-top:0;padding:14px 24px;border:1px solid rgba(255,255,255,.92);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 12px 36px rgba(28,91,137,.1);backdrop-filter:blur(10px)}
.srv-request__note>span,.srv-request__note>i{display:grid;place-items:center;flex:none;width:50px;height:50px;border-radius:50%;background:#e9f6ff;color:#0787ee}
.srv-request__note>span svg{width:25px;height:25px}
.srv-request__note>i svg{width:20px;height:20px}
.srv-request__note p{display:grid;gap:5px;color:#07153d}
.srv-request__note p b{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#0787ee}
.srv-request__note p strong{font-size:clamp(16px,1.25vw,19px);line-height:1.35}

body.srv-modal-open{overflow:hidden}
.srv-modal[hidden]{display:none}
.srv-modal{position:fixed;inset:0;z-index:600;display:grid;place-items:center;padding:16px;pointer-events:none}
.srv-modal__backdrop{position:fixed;inset:0;z-index:0;width:100%;height:100%;padding:0;border:0;background:rgba(8,24,37,.64);cursor:pointer;pointer-events:auto;backdrop-filter:blur(5px)}
.srv-modal__panel{position:relative;z-index:1;display:flex;flex-direction:column;width:min(100%,1120px);max-height:calc(100dvh - 32px);overflow:hidden;border:1px solid rgba(201,224,239,.9);border-radius:18px;background:#fff;box-shadow:0 32px 90px rgba(5,35,57,.28);pointer-events:auto}
.srv-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex:none;padding:22px 24px 18px;border-bottom:1px solid #dfebf3;background:#fff}
.srv-modal__header h2{margin-top:4px;color:var(--ink);font-size:clamp(25px,3vw,36px);line-height:1.12}
.srv-modal__eyebrow{color:var(--blue);font-size:11px;font-weight:700;text-transform:uppercase}
.srv-modal__close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #d6e5ef;border-radius:50%;background:#f5faff;color:var(--ink);cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.srv-modal__close:hover{border-color:#8cc2e3;background:#eaf6fe;transform:rotate(4deg)}
.srv-modal__close svg{width:18px;height:18px}
.srv-modal__body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px;scrollbar-gutter:stable}
.srv-modal__intro{display:grid;grid-template-columns:minmax(390px,1.08fr) minmax(0,.92fr);gap:28px;align-items:start}
.srv-gallery{min-width:0}
.srv-modal__media{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:14px;background:#edf5fa}
.srv-modal__media>img{width:100%;height:100%;object-fit:contain;background:#f3f7fa}
.srv-gallery__arrow{position:absolute;z-index:2;top:50%;display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.82);border-radius:50%;background:rgba(255,255,255,.9);color:var(--blue);box-shadow:0 8px 24px rgba(15,50,75,.16);transform:translateY(-50%)}
.srv-gallery__arrow:hover{background:#fff}
.srv-gallery__arrow--prev{left:12px}
.srv-gallery__arrow--next{right:12px}
.srv-gallery__arrow svg{width:18px;height:18px}
.srv-gallery__count{position:absolute;right:12px;bottom:12px;padding:5px 9px;border-radius:8px;background:rgba(15,34,50,.72);color:#fff;font-size:11px;font-weight:600}
.srv-gallery__thumbs{display:flex;gap:8px;overflow-x:auto;margin-top:10px;padding:2px 2px 7px;scrollbar-gutter:stable}
.srv-gallery__thumbs button{flex:0 0 68px;width:68px;height:52px;overflow:hidden;border:2px solid transparent;border-radius:8px;background:#eef4f8;opacity:.72}
.srv-gallery__thumbs button:hover,.srv-gallery__thumbs button.is-active{border-color:var(--blue);opacity:1}
.srv-gallery__thumbs img{width:100%;height:100%;object-fit:cover}
.srv-modal--single .srv-gallery__arrow,.srv-modal--single .srv-gallery__thumbs,.srv-modal--single .srv-gallery__count{display:none}
.srv-modal__content{min-width:0}
.srv-modal__lead{font-size:15px;line-height:1.55;font-weight:600;color:var(--ink-2)}
.srv-modal__description{display:grid;gap:10px;margin-top:14px}
.srv-modal__description p{font-size:13.5px;line-height:1.6;color:var(--txt)}
.srv-modal__list{display:grid;gap:10px;margin-top:20px}
.srv-modal__list li{display:flex;gap:10px;font-size:14px;line-height:1.45;color:var(--ink-2)}
.srv-modal__list svg{width:18px;height:18px;margin-top:2px;color:var(--blue)}
.srv-modal__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}
.srv-modal__actions .btn{min-width:0;padding:0 14px}
.srv-modal__actions .btn svg{width:18px;height:18px}
.srv-modal__request{grid-column:1/-1;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;color:var(--blue);font-size:13px;font-weight:600}
.srv-modal__request svg{width:16px;height:16px}

@media (max-width:1100px){
  .srv-hero__grid,.srv-catalog__head{grid-template-columns:minmax(0,1fr)}
  .srv-tabs{position:relative;top:auto}
  .srv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .srv-request{min-height:0;padding-top:58px;background-position:62% center}
  .srv-request:before{background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(238,247,253,.9) 50%,rgba(255,255,255,.96))}
  .srv-request__grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"content" "form" "note";gap:26px}
  .srv-request__content{max-width:none}
  .srv-form{margin-top:0}
}

@media (max-width:760px){
  .srv-hero{padding-bottom:36px}
  .srv-hero__grid{gap:28px;min-height:0}
  .srv-hero__media{min-height:340px}
  .srv-hero__media img{min-height:340px}
  .srv-hero__actions .btn{width:100%}
  .srv-catalog{padding:44px 0 52px}
  .srv-tabs{overflow-x:auto;gap:3px;padding:4px;scrollbar-width:none}
  .srv-tabs::-webkit-scrollbar{display:none}
  .srv-tabs a{flex:0 0 auto;min-width:190px;min-height:44px;padding:0 14px;white-space:nowrap}
  .srv-groups{gap:42px;margin-top:34px}
  .srv-group__head{gap:12px}
  .srv-group__icon{width:48px;height:48px;flex-basis:48px;border-radius:14px}
  .srv-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .srv-card{min-height:194px}
  .srv-card__body{padding:18px 40% 18px 18px}
  .srv-card__media{width:calc(36% + 2px);height:100%;margin:0}
  .srv-card__media:before{background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.62) 22%,rgba(255,255,255,0) 48%)}
  .srv-request{padding:42px 0 44px;background-position:58% center}
  .srv-request__content{padding:0}
  .srv-request .h2 br,.srv-request .lead br,.srv-request__benefits br{display:none}
  .srv-request__benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .srv-request__benefits li{align-items:flex-start;gap:10px}
  .srv-request__benefits li>span{flex-basis:46px;width:46px;height:46px}
  .srv-request__benefits svg{width:23px;height:23px}
  .srv-request__benefits p{font-size:13px}
  .srv-request__attachments{grid-template-columns:auto minmax(0,1fr);margin-top:26px}
  .srv-request__attachment-types{grid-column:2;justify-content:flex-start}
  .srv-form{padding:18px 16px 16px}
  .srv-request__note{grid-template-columns:auto minmax(0,1fr);padding:14px 16px}
  .srv-request__note>i{display:none}
  .srv-request__note p strong{font-size:14px}
  .srv-modal__intro{grid-template-columns:minmax(0,1fr)}
}

@media (max-width:420px){
  .srv-card h3,.srv-group__head h2{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere}
  .srv-request__benefits{grid-template-columns:minmax(0,1fr)}
  .srv-request__attachments{grid-template-columns:minmax(0,1fr);text-align:left}
  .srv-request__attachments-main{width:52px;height:52px}
  .srv-request__attachment-types{grid-column:1}
  .srv-request__attachments p br{display:none}
  .srv-request__note>span{width:44px;height:44px}
  .srv-modal__header{padding:20px 18px 16px}
  .srv-modal__body{padding:18px}
  .srv-modal__actions{grid-template-columns:minmax(0,1fr)}
  .srv-modal__request{grid-column:1}
}
