/* ═══════════════════════════════
   PixInLink — Overrides Stylesheet
   Loaded LAST to override any template/vendor CSS.
   Все правки шаблона здесь — не в styles.css и не в main.scss.
   ═══════════════════════════════ */

/* ── SVG icon colors ── */
.icon-cyan  { filter: invert(77%) sepia(61%) saturate(7488%) hue-rotate(157deg) brightness(96%) contrast(101%); }
.icon-amber { filter: invert(79%) sepia(41%) saturate(2025%) hue-rotate(354deg) brightness(103%) contrast(98%); }
.icon-orange{ filter: invert(61%) sepia(85%) saturate(4000%) hue-rotate(360deg) brightness(102%) contrast(105%); }
.icon-sky   { filter: invert(62%) sepia(60%) saturate(4823%) hue-rotate(173deg) brightness(101%) contrast(102%); }

/* ── Feature icons centering ── */
.main-feature .item figure { text-align: center; }

/* ── Timeline bullets ── */
.timeline .left-side .text:after,
.timeline .right-side .text:after { display: none; }

/* ── Disable text-transform:capitalize globally ── */
h1, h2, h3, h4, h5, h6 { text-transform: none !important; }

/* ── About: photo carousel nav ── */
.about-style .gallery-root .carousel .nav       { display: block !important; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.about-style .gallery-root .carousel .nav.prev  { left: -48px; right: auto; }
.about-style .gallery-root .carousel .nav.next  { right: -48px; left: auto; }

/* ── About: team slider ── */
.team-carousel .slick-track { display: flex; align-items: stretch; }
.team-carousel .slick-slide { height: inherit; }

/* ── About: progress bars ── */
.about-style .zero .progress .progress-linear { position: relative !important; height: 100% !important; }

/* ── Testimonials slider ── */
#testimonials .carousel { position: relative; display: flex; align-items: center; }
#testimonials .carousel .nav.prev { position: absolute; left: -20px; top: 50%; transform: translateY(-50%); z-index: 1; }
#testimonials .carousel .nav.next { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); z-index: 1; }
#testimonials .carousel .slick-carousel { width: 100%; overflow: hidden; }
#testimonials .carousel .slick-carousel .slick-list { overflow-x: hidden !important; overflow-y: visible !important; }
#testimonials .carousel .slick-carousel .slick-slide { overflow: visible !important; }
#testimonials .carousel .slick-carousel .slick-slide > div { overflow: visible !important; }

/* ── Footer counter ── */
.footer-counter.extend { background: #F0FAFE; }
.footer-counter.extend::before { display: none; }
.footer-sitemap { background: #F0FAFE !important; }

/* ── Code highlighting ── */
@import "highlight.js/styles/github.css";

/* ── Banner Slider Deco (agency theme) ── */
.banner-slider .slider-deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@media (max-width: 959px) {
  .banner-slider .slider-deco .slide {
    height: 600px;
  }
}

@media (max-width: 959px) {
  .banner-slider .slider-deco .slick-list {
    height: 100%;
  }
}

.banner-slider .deco-wrap {
  width: 100%;
  height: 100%;
  transition: all 1s cubic-bezier(0, -0.01, 0, 0.96);
  transition-delay: 0.5s;
  transform: translateX(-50px) scale(0.8);
  opacity: 0;
  position: relative;
}

@media (max-width: 1279px) {
  .banner-slider .deco-wrap {
    top: -120px;
  }
}

.banner-slider .slide.slick-active .deco-wrap {
  transform: translateX(0px) scale(1);
  opacity: 0.3;
}

.banner-slider .deco {
  border-radius: 80px;
  transform: rotate(45deg);
  position: absolute;
}

.banner-slider .deco.top {
  width: 800px;
  height: 800px;
}

.theme--light .banner-slider .deco.top {
  background-color: var(--v-primarylight-base);
}

.theme--dark .banner-slider .deco.top {
  background-color: var(--v-primarydark-base);
}

.banner-slider .deco.top.s1 {
  top: -400px;
  right: -250px;
}

.banner-slider .deco.top.s2 {
  top: -400px;
  left: -250px;
}

.banner-slider .deco.top.s3 {
  top: -360px;
  left: 150px;
}

@media (max-width: 599px) {
  .banner-slider .deco.top.s3 {
    left: -120px;
  }
}

.banner-slider .deco.bottom {
  width: 790px;
  height: 815px;
}

.theme--light .banner-slider .deco.bottom {
  background-color: var(--v-secondarylight-base);
}

.theme--dark .banner-slider .deco.bottom {
  background-color: var(--v-secondarydark-base);
}

.banner-slider .deco.bottom.s1 {
  top: -390px;
  right: -240px;
}

.banner-slider .deco.bottom.s2 {
  top: -390px;
  left: -240px;
}

.banner-slider .deco.bottom.s3 {
  top: -360px;
  left: 150px;
}

@media (max-width: 599px) {
  .banner-slider .deco.bottom.s3 {
    left: -140px;
  }
}

/* ── About Deco (agency theme) ── */
#about .root {
  margin-bottom: 200px;
}

#about .deco > * {
  transform: rotate(45deg);
  position: absolute;
}

#about .deco {
  position: relative;
  top: -300px;
  left: -150px;
}

@media (max-width: 959px) {
  #about .root {
    margin-bottom: 0;
  }

  #about .root h4 {
    text-align: center;
    margin-top: -24px;
  }

  #about .deco {
    display: none;
  }
}

/* ── About Puzzle Pieces (agency theme) ── */
#about .puzzle {
  position: relative;
  top: -40px;
  left: 60px;
}

#about .puzzle div {
  overflow: hidden;
  position: absolute;
  background: #dedede;
  transform: rotate(45deg);
}

#about .puzzle span {
  background-size: 100%;
  width: 320px;
  height: 320px;
  display: block;
  position: relative;
  top: -110px;
  transform: rotate(-45deg);
}

#about .piece-small-top {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  top: -180px;
  left: 120px;
}

#about .piece-small-top span {
  background-image: url("https://pixinlink.ru/110x110/пазл-абстракция-голубой");
  background-repeat: no-repeat;
  background-position: 40px center;
  left: -80px;
}

#about .piece-small-bottom {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  top: 70px;
  left: 80px;
}

#about .piece-small-bottom span {
  top: -130px;
  background-image: url("https://pixinlink.ru/75x75/пазл-абстракция-синий");
  background-repeat: no-repeat;
  background-position: 40px center;
  left: -50px;
}

#about .deco .big {
  background: var(--v-primary-base);
  width: 350px;
  height: 350px;
  opacity: 0.08;
  border-radius: 80px;
  top: 60px;
  left: 120px;
}

#about .deco .medium {
  background: var(--v-secondary-base);
  width: 180px;
  height: 180px;
  opacity: 0.1;
  border-radius: 40px;
  top: 20px;
  left: 80px;
}

#about .deco .small {
  border: 8px solid var(--v-primary-base);
  opacity: 0.3;
  border-radius: 10px;
  width: 60px;
  height: 60px;
  top: 250px;
  left: 380px;
}

/* ── Title Deco (agency theme) ── */
.title-deco {
  position: relative;
}

.title-deco:before {
  content: "";
  width: 210px;
  height: 210px;
  background: var(--v-primary-base);
  border-radius: 24px;
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-45deg);
}

.title-deco h3 {
  color: #FFF;
  width: 120px;
  position: relative;
  text-transform: capitalize;
  font-size: 48px;
  font-weight: 700;
  line-height: 62px;
  padding-left: 20px;
}

@media (min-width: 1280px) {
  .title-deco h3 {
    height: 160px;
    margin-left: 24px;
  }
}

@media (min-width: 960px) {
  .title-deco h3 {
    padding-top: 40px;
    margin-top: 80px;
  }
}

@media (max-width: 1279px) {
  .title-deco h3 {
    font-size: 38px;
    line-height: 50px;
  }

  .title-deco:before {
    left: 24px;
  }
}

@media (max-width: 959px) {
  .title-deco:before {
    display: none;
  }

  .title-deco h3 {
    width: auto;
    text-align: center;
    padding-left: 0;
    color: var(--v-primary-light-base, var(--v-primary-base));
  }
}

@media (max-width: 599px) {
  .title-deco h3 {
    font-size: 32px;
    line-height: 42px;
  }
}

/* ── Services Floating Artwork (agency theme) ── */
#services .root {
  position: relative;
  padding: 80px 0px 160px 0px;
}

.theme--light #services .root {
  background-color: var(--v-primarylight-base);
  position: relative;
}

.theme--light #services .root:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #FFF;
  opacity: 0.8;
}

#services .carousel-header {
  position: relative;
  z-index: 3;
}

@media (max-width: 599px) {
  #services .carousel-header {
    text-align: center;
  }
}

@media (min-width: 600px) {
  #services .carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

#services .view-all {
  display: flex;
  margin-bottom: 50px;
}

@media (max-width: 599px) {
  #services .view-all {
    justify-content: center;
  }
}

@media (min-width: 1280px) {
  #services .view-all {
    margin-right: 160px;
  }
}

@media (min-width: 600px) {
  #services .view-all {
    font-size: 24px;
  }
}

@media (max-width: 959px) {
  #services .view-all {
    margin-bottom: 32px;
  }
}

#services .view-all .icon {
  margin-left: 8px;
}

@media (min-width: 600px) {
  #services .view-all .icon {
    font-size: 36px;
  }
}

#services .carousel-handle {
  position: relative;
  z-index: 1;
  height: 420px;
}

#services .carousel-wrap {
  position: absolute;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

#services .item {
  padding: 0px 8px 0px 8px;
  max-width: 260px;
}

#services .item:focus {
  outline: none;
}

@media (max-width: 1279px) {
  #services .carousel-prop {
    display: none;
  }
}

#services .carousel-prop div {
  width: 250px;
}

#services .floating-artwork {
  position: absolute;
  width: 100%;
  left: 0;
  top: 40px;
}

@media (min-width: 1280px) {
  #services .floating-artwork {
    left: 24px;
  }
}

@media (min-width: 1400px) {
  #services .floating-artwork {
    left: 80px;
  }
}

@media (min-width: 960px) {
  #services .floating-artwork .artwork {
    margin-right: 40px;
  }
}

@media (min-width: 1280px) {
  #services .floating-artwork .artwork {
    float: right;
  }
}

@media (min-width: 1400px) {
  #services .floating-artwork .artwork {
    margin-right: -40px;
  }
}

#services .arrow {
  margin-top: 100px;
  position: relative;
  z-index: 10;
  padding-left: 120px;
}

@media (max-width: 1279px) {
  #services .arrow {
    display: none;
  }
}

#services .arrow button {
  margin: 4px;
}

.theme--light #services .arrow button {
  background-color: #fff;
}

.theme--dark #services .arrow button {
  background-color: #424242;
}

.theme--light #services .arrow button:hover {
  background-color: #fafafa;
}

.theme--dark #services .arrow button:hover {
  background-color: #303030;
}

.slider-art .deco {
  width: 450px;
}

.slider-art .deco img {
  position: relative;
  width: 100%;
}

.slider-art .deco:before {
  content: "";
  width: 480px;
  height: 480px;
  border-radius: 24px;
  position: absolute;
  top: 120px;
  right: 80px;
  transform: rotate(45deg);
}

.theme--dark .slider-art .deco:before {
  background: #303030;
  -webkit-box-shadow: -30px 20px 0px 0px var(--v-secondarydark-base);
  box-shadow: -30px 20px 0px 0px var(--v-secondarydark-base);
}

.theme--light .slider-art .deco:before {
  background: #fff;
  -webkit-box-shadow: -30px 20px 0px 0px var(--v-secondarylight-base);
  box-shadow: -30px 20px 0px 0px var(--v-secondarylight-base);
}

@media (max-width: 959px) {
  .slider-art .deco:before {
    display: none;
  }
}

.slider-art .faded {
  opacity: 0.15;
  filter: blur(10px);
}

.slider-art .figure {
  height: 460px;
  display: flex;
  align-items: flex-end;
  transition: all 0.3s ease;
}

/* ── Expertise Section (agency theme) ── */
#expertise .root {
  position: relative;
}

@media (max-width: 959px) {
  #expertise .root {
    text-align: center;
  }
}

@media (max-width: 959px) {
  #expertise .root h4 {
    margin-top: -16px;
    margin-bottom: 24px;
  }
}

@media (max-width: 1279px) {
  #expertise .root h3 {
    margin-bottom: 24px;
  }
}

#expertise .decoration {
  height: 600px;
  width: 600px;
  position: absolute;
  top: -180px;
  left: -240px;
}

.theme--dark #expertise .decoration {
  fill: var(--v-primarydark-base);
  stroke: var(--v-primarydark-base);
}

.theme--light #expertise .decoration {
  fill: var(--v-primarylight-base);
  stroke: var(--v-primarylight-base);
}

@media (max-width: 1279px) {
  #expertise .decoration {
    transform: scale(0.8);
  }
}

#expertise .desc {
  line-height: 32px;
}

#expertise .desc-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  transform: rotate(45deg);
  margin-bottom: 8px;
}

@media (max-width: 959px) {
  #expertise .desc-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

#expertise .desc-icon i.icon {
  transform: rotate(-45deg);
  margin: 4px 0px 0px 5px;
}

@media (max-width: 959px) {
  #expertise .desc-icon i.icon {
    margin: 5px 0px 0px 0px;
  }
}

#expertise .icon-primary {
  background: var(--v-primarylight-base);
}

#expertise .icon-primary i.icon {
  color: var(--v-primarydark-base);
}

#expertise .icon-secondary {
  background: var(--v-secondarylight-base);
}

#expertise .icon-secondary i.icon {
  color: var(--v-secondarydark-base);
}

#expertise .icon-accent {
  background: var(--v-accentlight-base);
}

#expertise .icon-accent i.icon {
  color: var(--v-accentdark-base);
}

#expertise .icon-accent2 {
  background: #FBEABB;
}

#expertise .icon-accent2 i.icon {
  color: #F38D21;
}

#expertise .illustration-wrap {
  position: relative;
  top: -240px;
  height: 300px;
  transform-origin: top;
  left: -230px;
}

#expertise .illustration-wrap span {
  background-size: 100%;
  display: block;
  position: relative;
}

@media (max-width: 959px) {
  #expertise .illustration-wrap {
    display: none;
  }
}

#expertise .icon-green {
  top: -179px;
  width: 320px;
  height: 600px;
  background: url("/themes/oiron/images/agency/green_buble.png") no-repeat;
  left: 30px;
}

#expertise .icon-violet {
  width: 560px;
  height: 560px;
  top: -620px;
  background: url("/themes/oiron/images/agency/violet_buble.png") no-repeat;
  left: -50px;
}

#expertise .icon-blue {
  width: 560px;
  height: 560px;
  top: -1170px;
  background: url("/themes/oiron/images/agency/blue_buble.png") no-repeat;
  left: 0px;
}

/* ── Testimonials Section (agency theme) ── */
#testimonials .carousel-header {
  position: relative;
  z-index: 1;
}

#testimonials .root {
  width: 100%;
  position: relative;
  padding: 80px 0px 80px 0px;
}

.theme--light #testimonials .root {
  background-color: var(--v-primarylight-base);
  position: relative;
}

.theme--light #testimonials .root:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #FFF;
  opacity: 0.8;
}

.theme--dark #testimonials .root {
  background-color: var(--v-primarydark-base);
  position: relative;
}

.theme--dark #testimonials .root:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.8;
}

#testimonials .carousel {
  position: relative;
  z-index: 6;
}

@media (min-width: 1280px) {
  #testimonials .carousel > div {
    margin-left: 0;
  }
}

#testimonials .carousel .slick-dots {
  bottom: -64px;
}

#testimonials .carousel .slick-dots li {
  width: 10px;
  height: 10px;
  transition: width 0.3s ease;
}

#testimonials .carousel .slick-dots li.slick-active {
  width: 24px;
}

#testimonials .carousel .slick-dots li button {
  width: 10px;
  height: 10px;
}

#testimonials .item {
  padding: 2px;
  padding-top: 0;
}

#testimonials .item:focus {
  outline: none;
}

#testimonials .floating-artwork {
  position: absolute;
  width: 100%;
  left: 0;
  top: -40px;
}

@media (min-width: 1280px) {
  #testimonials .floating-artwork {
    left: 24px;
  }
}

@media (min-width: 1400px) {
  #testimonials .floating-artwork {
    left: 80px;
  }
}

@media (max-width: 1279px) {
  #testimonials .floating-artwork {
    display: none;
  }
}

@media (min-width: 1280px) {
  #testimonials .floating-artwork .artwork {
    float: right;
    margin-right: -40px;
  }
}

@media (min-width: 1400px) {
  #testimonials .floating-artwork .artwork {
    margin-right: -40px;
  }
}
