:root {
  --modal-backdrop: rgba(10,13,20,.78);
}

/* =================================
   LAYOUT
   ================================= */
.l-container {
  margin: 0 auto;
  max-width: 100%;
  padding: 20px;
  width: 1273px;
}

.show-pc {
  display: none !important;
}

@media screen and (min-width: 768px) {
  .show-pc {
    display: block !important;
  }
}

@media screen and (min-width: 768px) {
  .show-sp {
    display: none !important;
  }
}

/* =================================
   INTRO PANEL
   ================================= */
.p-maintenance-intro {
  background:  linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)),
    url('../images/maintenance/bg-city-skyline.png') bottom / contain repeat-x;;
  margin: 37px auto 29px;
  padding: 50px 0 47px;
}

.p-maintenance-intro__panel {
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  padding: 0 20px;
  position: relative;
  width: 1273px;
}

.p-maintenance-intro__panel::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--intro-bg) no-repeat right bottom / contain;
  opacity: .55;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.p-maintenance-intro__title {
  color: #023683;
  font-size: 49px;
  font-weight: 800;
  line-height: 1.37;
  margin-bottom: 15px;
}

.p-maintenance-intro__text p {
  font-size: 19px;
  line-height: 1.51;
  font-weight: 400;
  letter-spacing: .02em;
}

@media screen  and (max-width: 1024px) {
  .p-maintenance-intro__title {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .p-maintenance-intro__panel {
    border-radius: 12px;
    padding: 18px 16px 20px;
  }
  .p-maintenance-intro__panel::after {
    opacity: .6;
    height: 150px;
    background-size: 85%;
  }
  .p-maintenance-intro__text p {
    font-size: 14px;
  }
  .p-maintenance-intro {
    margin: 10px auto;
    padding: 10px 0 44px;
  }
  .p-maintenance-intro {
    margin: 10px auto;
    padding: 25px 0 44px;
  }
  .p-maintenance-intro__title {
    font-size: 23px;
  }
}

/* =================================
   TYPO & TITLES
   ================================= */
.c-title-line {
  font-weight: 800;
  margin: 32px 0 17px;
  padding-left: 49px;
  color: #0042a5;
  font-size: 50px;
}
.c-title-line::before {
  background-color: #0042a5;
  height: 5px;
  width: 32px;
}
.c-sec-lead {
  color: #2673CC;
  font-size: 40px;
}
.c-sec-lead::before {
  background-color: #2673CC;
}

.c-section-head {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  margin: 16px 0 10px;
  cursor: pointer;
}

.c-accordion.is-collapsed .c-section-head .c-section-head__rule polygon {
  fill: #2673CC;
}

.c-accordion .c-section-head .c-section-head__rule polygon,
.c-accordion .c-section-head:hover .c-section-head__rule polygon {
  fill: #052B62;
  transition: transform .22s ease;
}
.c-accordion .c-section-head:hover .c-section-head__title span {
  color: #052B62;
}

@media (max-width: 1024px) {
  .c-accordion.is-collapsed .c-section-head:hover .c-section-head__title span {
    color: #2673CC;
  }
  .c-accordion.is-collapsed .c-section-head:hover .c-section-head__rule polygon {
    fill: #2673CC;
  }
}

.c-section-head__title {
  margin: 0;
  white-space: nowrap;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
}

.c-section-head__title span {
  color: #052B62;
  font-size: 50px;
  font-weight: 800;
  padding-left: 95px;
  padding-right: 26px;
  position: relative;
}

.c-accordion.is-collapsed .c-section-head__title span {
  color: #2673CC;
}

.c-section-head--catalog .c-section-head__title span {
  color: #052B62;
}

.c-section-head__title span::before {
  content: "";
  width: 80px;
  height: 80px;
  position: absolute;
}

.c-section-head--catalog .c-section-head__title span::before {
  background: url(../images/maintenance/ico-book-navy.svg) no-repeat;
  left: -2px;
  top: -5px;
  background-size: auto;
}

.c-accordion .c-section-head--services .c-section-head__title span::before {
  background: url(../images/maintenance/ico-search-dark-blue.svg) no-repeat;
  left: 6px;
  top: 8px;
  background-size: contain;
  width: 60px;
  height: 60px;
}

.c-accordion .c-section-head--services:hover .c-section-head__title span::before,
.c-accordion.is-collapsed .c-section-head--services:hover .c-section-head__title span::before {
  background: url(../images/maintenance/ico-search-dark-blue.svg) no-repeat;
}

.c-accordion.is-collapsed .c-section-head--services .c-section-head__title span::before {
  background: url(../images/maintenance/ico-search-blue.svg) no-repeat;
}

.c-accordion .c-section-head--methods .c-section-head__title span::before {
  background: url(../images/maintenance/ico-tool-dark-blue.svg) no-repeat;
  left: 2px;
  top: 2px;
  background-size: auto;
  width: 67px;
  height: 67px;
}

.c-accordion .c-section-head--methods:hover .c-section-head__title span::before,
.c-accordion.is-collapsed .c-section-head--methods:hover .c-section-head__title span::before {
  background: url(../images/maintenance/ico-tool-dark-blue.svg) no-repeat;
}

.c-accordion.is-collapsed .c-section-head--methods .c-section-head__title span::before {
  background: url(../images/maintenance/ico-tool-blue.svg) no-repeat;
}

.c-section-head__rule {
  display: block;
  height: 50px;
  margin-top: -5px;
}

.c-section-head__rule svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

@media screen and (max-width: 1024px) {
  .c-accordion.is-collapsed .c-section-head--services:hover .c-section-head__title span::before {
    background: url(../images/maintenance/ico-search-blue.svg) no-repeat;
  }
  .c-accordion.is-collapsed .c-section-head--methods:hover .c-section-head__title span::before {
    background: url(../images/maintenance/ico-tool-blue.svg) no-repeat;
  }
  .c-section-head__title span {
    font-size: 35px;
  }
  .c-section-head__title span::before {
    width: 40px;
    height: 40px;
    background-size: cover !important;
  }
  .c-section-head__title span {
    padding-left: 56px;
    padding-right: 10px;
  }
  .c-section-head--catalog .c-section-head__title span::before {
    top: 4px;
  }
  .c-title-line {
    font-size: 35px;
  }
  .c-accordion .c-section-head--methods .c-section-head__title span::before {
    height: 55px;
    left: 0;
    top: -4px;
    width: 55px;
  }
  .c-accordion .c-section-head--services .c-section-head__title span::before {
    left: 6px;
    top: 3px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 767px) {
  .c-section-head__title span {
    font-size: 30px;
  }
  .c-section-head__title span::before {
    width: 40px;
    height: 40px;
  }
  .c-section-head__title span {
    padding-left: 40px;
    padding-right: 0;
  }
  .c-section-head--catalog .c-section-head__title span::before {
    top: 0;
  }
  .c-accordion .c-section-head--services .c-section-head__title span::before {
    height: 37px;
    left: 0;
    top: 3px;
    width: 37px;
  }
  .c-accordion .c-section-head--methods .c-section-head__title span::before {
    height: 37px;
    left: -3px;
    width: 37px;
    top: 1px;
  }
  .c-section-head {
    margin: 0 0 10px;
  }
  .c-title-line {
    font-size: 23px;
  }
  .c-section-head__rule {
    height: 36px;
  }
  .c-title-line::before {
    height: 2px;
  }
}


/* =================================
   BUTTONS
   ================================= */
.c-box-thumb__btn {
  margin-top: 20px;
  position: unset;
  text-align: left;
}

.icon-download {
  background: url(../images/maintenance/ico-download.svg) 0 0 no-repeat;
  background-size: contain;
  height: 45px;
  margin-left: 3px;
  margin-right: 8px;
  width: 45px;
}

.btn-download__wrap {
  font-size: 27px;
  font-weight: 800;
}

.btn-download {
  background-color: #023683;
  letter-spacing: -.05em;
  padding: 6px 19px 4px 18px;
}

.c-card-grid .icon-download {
  height: 39px;
  margin-left: 3px;
  margin-right: 8px;
  width: 39px;
}

.c-card-grid .btn-download__wrap {
  font-size: 23px;
}

.c-card-grid .btn-download {
  padding: 6px 15px 2px 12px;
}

@media screen  and (max-width: 1024px) {
  .btn-download__wrap {
    font-size: 24px;
  }
  .icon-download {
    height: 30px;
    width: 30px;
  }
  .c-card-grid .icon-download {
    height: 30px;
    width: 30px;
  }
}

@media (max-width: 767px) {
  .btn-download__wrap {
    font-size: 14px;
  }
  .c-box-thumb__btn {
    text-align: center;
    margin-top: 0;
  }
  .icon-download,
  .c-card-grid .icon-download {
    height: 25px;
    width: 25px;
  }
  .c-card-grid .btn-download__wrap {
    font-size:14px;
  }
  .btn-download,
  .c-card-grid .btn-download {
    padding: 8px 16px 8px 10px;
  }
  .btn-download:hover {
    opacity: 1;
  }
}

/* =================================
   SECTION HEAD
   ================================= */
.p-maintenance-section__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

/* =================================
   CATALOG
   ================================= */
.p-maintenance-catalog__note {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.51;
  margin-bottom: 63px;
}

.p-maintenance-catalog__note a {
  font-size: inherit;
}

.p-maintenance-catalog__group {
  max-width: 1216px;
}

.p-maintenance-catalog__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 16px 0 10px;
}

.p-maintenance-catalog__headline {
  font-size: 35px;
  font-weight: 800;
  line-height: 1.21;
  margin: 52px 0 41px;
}

.p-maintenance-catalog__panel {
  background: #C8DCF9;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
  column-gap: 40px;
  display: grid;
  grid-template-columns: 262px 1fr;
  padding: 30px 33px;
}

.p-maintenance-catalog__panel-title {
  font-weight: 800;
  font-size: 35px;
  line-height: 1.21;
}

.p-maintenance-catalog__panel + .p-maintenance-catalog__panel {
  margin-top: 18px;
}

.p-maintenance-catalog__thumb {
  margin: 0;
}

.p-maintenance-catalog__thumb img {
  width: auto;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%;
}

.p-maintenance-catalog__panel-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.p-maintenance-catalog__title {
  font-weight: 900;
  margin: 0 0 6px;
}

.p-maintenance-catalog__panel-desc {
  margin-top: 4px;
}

.p-maintenance-catalog__panel-desc p {
  font-size: 20px;
  line-height: 1.51;
  font-weight: 400;
  letter-spacing: .02em;
}

.p-maintenance-catalog__panel-desc p:not(:last-child) {
  margin-bottom: 29px;
}

.p-maintenance-catalog__item:not(:last-child) {
  margin-bottom: 40px;
}

.p-maintenance-catalog .c-section-head {
  cursor: auto;
}

@media screen  and (max-width: 1024px) {
  .c-sec-lead {
    font-size: 35px;
  }
  .p-maintenance-catalog__headline {
    font-size: 30px;
  }
  .p-maintenance-catalog__panel-title {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .c-sec-lead {
    font-size: 23px;
  }
  .p-maintenance-catalog__headline {
    font-size: 18px;
    margin: 30px auto 20px;
    line-height: 1.4;
  }
  .p-maintenance-catalog__panel-desc p {
    font-size: 14px;
  }
  .p-maintenance-catalog__panel {
    column-gap: 20px;
    padding: 20px 20px;
  }
  .c-title-line {
    margin: 15px 0 17px;
  }
  .p-maintenance-catalog__panel-title {
    font-size: 18px;
  }
  .p-maintenance-catalog__item {
    margin-bottom: 25px;
  }
  .p-maintenance-catalog__note {
    font-size: 14px;
  }
  .p-maintenance-catalog__item:not(:last-child) {
    margin-bottom: 25px;
  }
  .p-maintenance-catalog__panel-desc p:not(:last-child) {
    margin-bottom: 18px;
  }
  .p-maintenance-catalog__note {
    margin-bottom: 40px;
  }
}

/* =================================
   SERVICES
   ================================= */
.p-maintenance-services {
  margin-bottom: 11px;
  margin-top: 11px;
  position: relative;
}

.p-maintenance-services::before {
  content: "";
  background-color: transparent;
  background-image: radial-gradient(#9ac1fb 2px, transparent 0);
  background-size: 10px 10px;
  background-position: 0 0, 10px 10px;
  width: 3%;
  height: 13%;
  position: absolute;
  left: 0;
  top: 233px;
  z-index: -1;
}

.p-maintenance-services::after {
  content: "";
  background-color: transparent;
  background-image: radial-gradient(#9ac1fb 2px, transparent 0);
  background-size: 10px 10px;
  background-position: 0 0, 10px 10px;
  width: 30%;
  height: 14.7%;
  position: absolute;
  right: 0;
  bottom: 45px;
  z-index: -1;
}

@media screen  and (max-width: 1024px) {
  .p-maintenance-services {
    margin-bottom: 30px;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .p-maintenance-services {
    margin-bottom: 0;
    margin-top: 0;
  }
  .p-maintenance-services::before,
  .p-maintenance-services::after {
    content: none;
  }
}

/* =================================
   CARD GRID
   ================================= */
.c-card-grid {
  display: grid;
  gap: 67px 40px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 50px;
  max-width: 1204px;
}

.c-service-card {
  padding: 20px 25px 35px 36px;
  border-radius: 16px;
  background: #DCE5EF;
  position: relative;
}
.c-service-card::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:0 4px 15px rgba(0,0,0,.25);
  pointer-events:none;
}

.c-service-card__title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.51;
  max-width: 85%;
  min-height: 101px;
}

.c-service-card__row {
  display: grid;
  grid-template-columns: 196px 1fr;
  gap: 20px;
  align-items: stretch;
}

.c-service-card__thumb {
  display: table-cell;
  height: 276px;
  margin-top: 6px;
  margin: 0;
  overflow: hidden;
  vertical-align: top;
  width: 195px;
}

.c-service-card__thumb--blank {
  background: #686868;
}

.c-service-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.c-service-card__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.c-service-card__content p {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.51;
  margin: 0;
  text-align: justify;
}

.c-acc__panel .c-card-grid.is-single { display: block; }
.c-acc__panel .c-card-grid.is-single > li {
  max-width: 582px;
  margin-inline: auto;
}

.p-maintenance-services.is-collapsed::before,
.p-maintenance-services.is-collapsed::after,
.p-maintenance-method.is-collapsed::before,
.p-maintenance-method.is-collapsed::after {
  display: none;
}

.p-maintenance-services.is-collapsed .c-card-grid,
.p-maintenance-services.is-collapsed .c-acc__panel,
.p-maintenance-method.is-collapsed .c-card-grid,
.p-maintenance-method.is-collapsed .c-acc__panel {
  display: none;
}

@media screen  and (max-width: 1024px) {
  .c-card-grid {
    gap: 20px;
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .c-service-card {
    padding: 20px 20px 25px;
  }
  .c-service-card__title {
    margin-bottom: 10px;
    max-width: 100%;
    min-height: auto;
    font-size: 18px;
  }
  .c-service-card__content p {
    font-size: 14px;
  }
  .c-card-grid {
    margin-top: 15px;
  }
  .c-service-card__thumb {
    height: auto;
  }
}

.c-section-head__rule {
  position: relative;
  display: block;
}

.c-acc__ruleToggle {
  position: absolute;
  right: 3.5vw;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #cdecff;
  color: #0042a5;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease;
}
.c-acc__ruleToggle:hover { opacity: .7; }
.c-acc__ruleToggle:focus-visible { outline: none; }

.c-acc__ruleIcon { transition: transform .22s ease; }
.c-acc__ruleToggle[aria-expanded="true"] .c-acc__ruleIcon { transform: rotate(180deg); }

.c-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  justify-content: center;
  opacity: 0;
  transition: grid-template-rows .26s ease, opacity .26s ease;
}
.c-acc__panel > * { min-height: 0; }
.c-acc__panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

@media (max-width: 767px){
  .c-acc__ruleToggle {
    height: 25px;
    right: 3.5vw;
    width: 25px;
  }
}

@media (max-width: 1024px){
  .c-acc__ruleToggle:hover { opacity: 1; }
}

/* =================================
   SLIDER: Maintenance Cases
   ================================= */
.p-maintenance-cases {
  margin-bottom: 70px;
  margin-top: 3px;
  position: relative;
}

.p-maintenance-cases .l-container {
  position: relative;
}

.p-maintenance-cases .c-title-line {
  margin: 32px 0 17px 7px;
}

.p-maintenance-cases::after {
  content: "";
  background-color: transparent;
  background-image: radial-gradient(#9ac1fb 2px, transparent 0);
  background-size: 10px 10px;
  background-position: 0 0, 10px 10px;
  width: 19.4%;
  height: 55%;
  position: absolute;
  right: 0;
  top: 92px;
  z-index: -1;
}

.c-cases-slider {
  margin: -11px auto 0;
  max-width: 1240px;
  position: relative;
  z-index: 1;
}

.c-cases-slider .slick-list {
  padding: 10px 0;
}

.c-cases-slider .slick-track {
  display: flex;
  align-items: stretch;
}

.c-cases-slider .slick-slide {
  height: auto;
  margin-left: 16px;
  margin-right: 16px;
}

.c-cases-slider__arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  display: grid;
  height: 38px;
  place-items: center;
  position: absolute;
  top: 61%;
  transform: translateY(-50%);
  width: 38px;
  z-index: 5;
}

.c-cases-slider__arrow--prev {
  left: -9px;
}

.c-cases-slider__arrow--next {
  right: -9px;
}

.c-cases-slider__arrow:hover {
  opacity: .7;
}

.slick-arrow.slick-disabled,
.slick-arrow[aria-disabled="true"]{
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.c-case-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 1px 1px 12px 0 rgba(0, 0, 0, 0.4);
  cursor: pointer;
  min-height: 385px;
  overflow: hidden;
  position: relative;
}

.c-case-card:hover {
  opacity: .7;
}

.c-case-card__thumb img {
  display: block;
  height: 174px;
  max-width: none;
  object-fit: cover;
  transform: translateX(-1px);
  width: calc(100% + 2px);
}

.c-case-card__body {
  padding: 21px 20px 20px;
}

.c-case-card__title {
  margin: 0 0 10px;
  color: #072366;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.24;
  text-align: justify;
  letter-spacing: -.04em;
}

.c-case-card__meta {
  list-style: none;
  padding: 0;
  margin: 17px 0 13px;
  font-size: 12px;
  line-height: 1.6;
}

.c-case-card__meta li {
  font-size: 13px;
  line-height: 1.24;
  letter-spacing: -.04em;
}

.c-case-card__desc p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

@media screen and (max-width: 1300px) {
  .c-cases-slider__arrow--prev {
    left: 0;
  }

  .c-cases-slider__arrow--next {
    right: 0;
  }
}

@media screen and (max-width: 1024px) {
  .c-cases-slider__arrow:hover {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .p-maintenance-cases { margin-top: 0; }
  .c-cases-slider .slick-list {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .p-maintenance-cases::after { content: none; }
  .c-cases-slider__arrow {
    top: 54%;
  }
  .c-cases-slider__arrow {
    background: #cdecff;
    border-radius: 50%;
  }
  .c-cases-slider__arrow img {
    width: 50%;
  }
  .c-cases-slider .slick-slide {
    margin-left: 8px;
    margin-right: 8px;
  }
  .c-case-card {
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.4);
  }
  .c-cases-slider__arrow--prev {
    left: 35px;
  }

  .c-cases-slider__arrow--next {
    right: 35px;
  }
}

.p-maintenance-cases.is-empty { display: none; }
.p-maintenance-cases.hide-nav .c-cases-slider__nav { display: none; }
.c-cases-slider.is-few .slick-list {
  display: flex;
  justify-content: center;
}
.c-cases-slider.is-few .slick-track {
  display: flex !important;
  justify-content: center;
  margin: 0 auto !important;
  transform: none !important;
}
.c-cases-slider.is-few .slick-slide { float: none; }

.js-cases-slider:not(.slick-initialized) {
  opacity: 0;
  visibility: hidden;
}
.js-cases-slider.slick-initialized {
  opacity: 1;
  visibility: visible;
  transition: opacity .15s ease;
}

.p-maintenance-cases:not(:has(.js-cases-slider.slick-initialized)) .c-cases-slider__nav{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.p-maintenance-cases:has(.js-cases-slider.slick-initialized) .c-cases-slider__nav{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .15s ease;
}


/* =================================
   MODAL
   ================================= */
.c-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2147483600;
  display: none;
}

.c-modal__wrapper {
  position: relative;
  display: flex;
  border-radius: 4px;
  z-index: 10;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.c-modal.is-open {
  display: block;
}
.c-modal.is-open .c-modal__wrapper {
  background-color: rgba(0, 0, 0, .72);
}

body.modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  margin-top: -100%;
}

@media screen and (max-width: 992px) {
  .c-modal__inner {
    padding-bottom: 15%;
    padding-top: 5%;
  }
}

.c-modal__overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-backdrop);
  -webkit-backdrop-filter: saturate(120%) blur(1.2px);
  backdrop-filter: saturate(120%) blur(1.2px);
  pointer-events: auto;
  z-index: 1;
}

.c-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0d2f6d;
  cursor: pointer;
}

.c-modal__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 70vh;
}

.c-modal__content {
  padding: 20px 22px;
  max-height: 70vh;
  overflow: auto;
}

.c-modal__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #0d2f6d;
}

.c-modal__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  color: #444;
}

.c-modal__meta li + li {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .c-modal__dialog {
    grid-template-columns: 1fr;
  }
  .c-modal__media img {
    max-height: 40vh;
  }
}

/* =================================
   MODAL (photo style)
   ================================= */
.c-modal--photo .c-modal__overlay {
  background: rgba(0,0,0,.72);
}

.c-modal--photo .c-modal__dialog {
  width: min(900px, 92vw);
  background: transparent;
  border-radius: 8px;
  overflow: visible;
  box-shadow: none;
  max-width: none;
  min-width: auto;
  z-index: 10;
  margin: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.c-modal__inner {
  align-items: flex-start;
}

.c-modal__head {
  padding-top: 25px;
}

.c-modal--photo .c-modal__close {
  position: absolute;
  top: 10px;
  right: -8px;
  width: 54px;
  height: 54px;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.c-modal--photo .c-modal__titleBar {
  left: 0;
  right: 0;
  top: -56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  pointer-events: none;
}

.c-modal--photo .c-modal__heading {
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 8px 28px rgba(0,0,0,.55);
  pointer-events: auto;
  font-size: 24px;
}

.c-modal--photo .c-modal__media {
  border-radius: 6px;
  overflow: hidden;
}

.c-modal--photo .c-modal__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 66vh;
  object-fit: cover;
}

.c-modal--photo .c-modal__info {
  left: 0;
  right: 0;
  bottom: -96px;
  /* display: flex; */
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 55px;
  /* min-height: 78px; */
  background: rgba(255,255,255,.92);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
  height: auto;
}

.c-modal--photo .c-modal__info::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 190px;
  background-image: radial-gradient(#8fb3ff 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: .65;
  pointer-events: none;
  border-bottom-right-radius: 8px;
}

.c-modal--photo .c-modal__meta {
  color: #1b1b1b;
  font-size: 15px;
  line-height: 1.8;
}

#case-modal-media{
  overflow: hidden;
  position: relative;
}
#case-modal-media .c-modal__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
}


@media (max-width: 980px) {
  .c-modal--photo .c-modal__info {
    bottom: -88px;
  }
}

@media (max-width: 767px) {
  .c-modal__head {
    padding-top: 0;
    position: relative;
  }
  .c-modal--photo .c-modal__dialog {
    width: 90%;
  }
  .c-modal--photo .c-modal__titleBar {
    margin-top: 0;
    padding: 16px 50px 16px 0;
  }
  .c-modal--photo .c-modal__media img {
    max-height: 48vh;
  }
  .c-modal--photo .c-modal__info {
    padding: 16px 20px;
  }
  .c-modal--photo .c-modal__info::after {
    display: none;
  }
  .c-modal--photo .c-modal__close {
    position: absolute;
    right: 0;
  }
  .c-modal--photo .c-modal__heading {
    font-size: 16px;
  }
  .c-modal--photo .c-modal__close {
    top: 0;
  }
}


/* =================================
   Total Solution
   ================================= */
.p-total-solution__container {
  margin: 0 auto;
  padding: 40px 24px 56px;
  position: relative;
  z-index: 3;
  height: 100%;
}

.p-total-solution {
  background: #0A3A96;
  height: 534px;
  position: relative;
  margin-bottom: 266px;
  margin-top: 40px;
}

.p-total-solution__bg {
  position: absolute;
  inset: 0 auto 0 0;
  width: 66%;
  background-image: url(../images/maintenance/img-engineer.png);
  background-size: cover;
  background-position: center left;
  filter: saturate(105%) contrast(105%);
  z-index: 1;
  background-repeat: no-repeat;
}

.p-total-solution__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  background: linear-gradient(180deg, rgba(7, 27, 79, .96) 0%, rgba(7, 27, 79, .96) 100%);
  z-index: 2;
}

.p-total-solution::before {
  content: "";
  background-color: transparent;
  background-image: radial-gradient(#9ac1fb 2px, transparent 0);
  background-size: 10px 10px;
  background-position: 0 0, 10px 10px;
  width: 20%;
  height: 31%;
  position: absolute;
  left: 0;
  bottom: -167px;
  z-index: 1;
}

.p-total-solution::after {
  content: "";
  background-color: transparent;
  background-image: radial-gradient(#9ac1fb 2px, transparent 0);
  background-size: 10px 10px;
  background-position: 0 0, 10px 10px;
  width: 34%;
  height: 28%;
  position: absolute;
  right: 0;
  bottom: -269px;
  z-index: -1;
}

.p-total-solution__content {
  background: rgba(1, 16, 91, .6);
  bottom: -89px;
  color: #fff;
  margin-left: auto;
  max-width: 833px;
  padding: 32px 30px 39px 56px;
  position: absolute;
  right: 0;
}

.p-total-solution__title {
  margin: 0 0 15px;
  font-weight: 800;
  font-size: 50px;
  line-height: 1.2;
}

.p-total-solution__lead {
  margin: 0 0 4px;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
}

.p-total-solution__link {
  display: inline-flex;
  align-items: center;
  margin: 4px 0 21px;
  transition: background-color .2s ease, border-color .2s ease;
  color: #fff;
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
  position: relative;
  padding-left: 40px;
}
.p-total-solution__link::before {
  content: "";
  position: absolute;
  width: 33px;
  height: 25px;
  background: url("../images/maintenance/ico-external-link-white.png") center / cover no-repeat;
  top: -3px;
  left: 0;
}
.p-total-solution__link:hover {
  opacity: .7;
}

.p-total-solution__badge {
  background: url("../images/maintenance/img-total-solution.svg") center -5px / cover no-repeat,#fff;
  display: block;
  height: 85px;
  width: 734px;
}

.p-total-solution__badge:hover {
  transform: scale(1.02);
  transition: 0.3s;
}

@media (max-width: 1024px) {
  .p-total-solution__panel {
    width: 60%;
  }
  .p-total-solution__bg {
    width: 52%;
  }
  .p-total-solution__title {
    font-size: 35px;
  }
  .p-maintenance-cases {
    margin-bottom: 50px;
    margin-top: 10px;
    position: relative;
  }
  .p-total-solution__content {
    padding: 30px;
  }
  .p-total-solution__bg {
    position: relative;
    width: 100%;
    height: 44vw;
    min-height: 532px;
  }
  .p-total-solution__panel {
    position: relative;
    width: 100%;
    height: auto;
  }
  .p-total-solution__container {
    padding: 0;
  }
  .p-total-solution__content {
    max-width: none;
    margin-left: 0;
    position: unset;
    padding: 20px;
  }
  .p-total-solution {
    height: auto;
    margin: 30px 0 50px;
  }
  .p-total-solution::before,
  .p-total-solution::after {
    content: none;
  }
  .p-total-solution__badge {
    background: url(../images/maintenance/img-total-solution.svg) center 39% / cover no-repeat, #fff;
    height: auto;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    min-height: 100px;
  }
}
@media (max-width: 767px) {
  .p-total-solution__badge:hover {
    transform: scale(1);
  }

  .p-total-solution__badge {
    background: url(../images/maintenance/img-total-solution.svg) center / contain no-repeat, #fff;
    height: 43px;
    width: 367px;
    min-height: auto;
  }
  .p-total-solution__bg {
    min-height: 220px;
  }
  .p-total-solution::before,
  .p-total-solution::after {
    width: 240px;
    height: 160px;
    right: 12px;
  }
  .p-total-solution__title {
    font-size: 23px;
  }
  .p-total-solution__lead {
    font-size: 14px;
  }
  .p-total-solution__bg {
    background-position: center left;
  }
  .p-maintenance-cases .c-title-line {
    margin: 0 0 17px 7px;
  }
  .p-total-solution__link {
    font-size: 14px;
  }
}


/* =================================
   RESPONSIVE
   ================================= */
@media screen and (max-width: 1540px) and (min-width: 1024px) {
  .p-banner__wrap {
    padding: 100px 25px 219px;
  }
}
@media (max-width: 980px) {
  .p-maintenance-catalog__panel {
    grid-template-columns: 220px 1fr;
  }
  .c-card-grid {
    grid-template-columns: 1fr;
  }
  .p-maintenance-services__grid,
  .p-maintenance-method__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .p-maintenance-catalog__panel {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .p-maintenance-catalog__thumb img {
    margin: 0 auto;
  }
  .p-maintenance-catalog__thumb {
    margin: 0 auto 20px;
  }
  .p-maintenance-catalog__thumb.show-sp {
    margin-top: 10px;
  }
  .p-maintenance-catalog__panel-desc {
    margin-top: 10px;
    margin-bottom: 15px;
  }
}

@media (max-width: 640px) {
  .c-service-card__row {
    grid-template-columns: 1fr;
  }
  .c-service-card__thumb {
    min-height: 180px;
    width: auto;
  }
}
