@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,700&subset=cyrillic,cyrillic-ext,latin-ext');

body,
html {
  font-family: Calibri, Arial, sans-serif;
  font-size: 16px;
  color: #686868;
  font-weight: 400;
  min-height: 100%;
}
html {
  height: 100%;
}
/* Responsīvi attēli / video — novērš CMS satura izlīšanu ārpus ekrāna */
img,
video,
svg {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Roboto', sans-serif;
}
h1,
h2 {
  text-transform: uppercase;
}
a {
  color: #e4a73d;
  text-decoration: none;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
  cursor: pointer;
}
.btn {
  border-radius: 0;
  border: 0;
  text-transform: uppercase;
}
.btn-orange {
  background-color: #e4a73d;
  color: white;
}
.btn-orange:hover,
.btn-orange:focus {
  background-color: #d18f1d;
  color: #fff;
}
.btn-dark {
  background-color: #373737;
  color: white;
}
.btn-dark:hover,
.btn-dark:focus {
  background-color: #1e1e1e;
  color: #fff;
}
.orange-gradient-bg {
  background: #e4a73d;
  /* For browsers that do not support gradients */
  background: -webkit-radial-gradient(circle, #e4a73d, #e27300);
  /* Safari */
  background: -o-radial-gradient(circle, #e4a73d, #e27300);
  /* Opera 11.6 to 12.0 */
  background: -moz-radial-gradient(circle, #e4a73d, #e27300);
  /* Firefox 3.6 to 15 */
  background: radial-gradient(circle, #e4a73d, #e27300);
  /* Standard syntax */
}
.t-or {
  color: #e4a73d;
}
.t-white {
  color: white;
}
.t-upp {
  text-transform: uppercase;
}
.well {
  border-radius: 0;
  border: 0;
  background-color: #ededed;
  box-shadow: none;
  webkit-box-shadow: none;
}
.navbar {
  margin: 0;
  border-bottom: 1px solid #373737;
  border-radius: 0;
  background-color: #2b2b2b;
  padding: 15px 0;
}
.navbar a {
  font-family: 'Roboto', sans-serif;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
}
.navbar a:hover,
.navbar a:focus {
  color: #e4a73d;
  background-color: transparent;
}
.navbar.navbar-min {
  padding: 10px;
}
.navbar.navbar-min .nav > li > a,
.navbar.navbar-min .langnav li a {
  font-size: 14px;
  padding: 5px;
  font-weight: normal;
}
.nav > li > a:before {
  font-family: "fontello";
  speak: none;
  content: '\e803';
  display: inline-block;
  margin-right: 5px;
  font-size: 12px;
  overflow: hidden;
  color: #e4a73d;
  vertical-align: text-top;
  text-indent: -50px;
  width: 13px;
  line-height: 1.5;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.nav > li > a:hover,
.nav > li > a:focus {
  color: #e4a73d;
  background-color: transparent;
}
.nav > li > a:hover:before,
.nav > li > a:focus:before {
  text-indent: 0;
}
.nav > li > a.active:before {
  text-indent: 0;
}
.langnav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.langnav li {
  display: inline-block;
}
.langnav li a {
  display: block;
  padding: 15px 5px;
  text-decoration: none;
  font-weight: normal;
}
.langnav li a.active {
  color: #e4a73d;
}
.navbar-toggle {
  margin: 0;
}
.navbar-toggle .icon-bar {
  background: #fff;
}
.navbar-toggle:hover .icon-bar,
.navbar-toggle:focus .icon-bar {
  background: #e4a73d;
}
.intro-services {
  background-color: #252525;
  background: linear-gradient(165deg, #181818 0%, #2b2b2b 42%, #3a3a3a 100%);
  padding: 140px 0 60px 0;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}
.intro-services canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
}
.intro-services .container {
  position: relative;
  z-index: 1;
}
.intro-services h2 {
  color: #e4a73d;
  font-size: 24px;
  text-transform: uppercase;
}
.intro-services .col-md-4 {
  position: relative;
}
.intro-services .item {
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: auto;
  min-height: 275px;
  border-radius: 14px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .intro-services .item:hover,
  .intro-services .item:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
}
.intro-services .item .planets {
  position: relative;
  overflow: hidden;
  height: 275px;
  top: 0;
  width: 100%;
}
.intro-services .item .planets img {
  position: absolute;
  width: 180px;
  height: 180px;
  left: 0;
  right: 0;
  top: 10px;
  margin: auto;
  /* Ne «transition: all» — citādi konfliktē ar rotate() animāciju (.spin-right / .spin-left) */
  -webkit-transition: opacity 0.45s ease;
  -moz-transition: opacity 0.45s ease;
  -o-transition: opacity 0.45s ease;
  -ms-transition: opacity 0.45s ease;
  transition: opacity 0.45s ease;
  backface-visibility: hidden;
}
.intro-services .planets .spin-right,
.intro-services .planets .spin-left {
  will-change: transform;
}
.intro-services .item .txt {
  position: absolute;
  width: 100%;
  bottom: 0;
}
.intro-services .item .hidden-txt {
  color: #f2f2f2;
  font-weight: 300;
  display: none;
  margin-bottom: 10px;
}
.intro-services .item .hidden-txt p {
  margin: auto;
  font-size: 20px;
}
.intro-services .item .icon-plus {
  color: #e4a73d;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
  .intro-services .item:hover .planets img,
  .intro-services .item:focus-within .planets img {
    -webkit-opacity: 0.12;
    -moz-opacity: 0.12;
    opacity: 0.12;
  }
  .intro-services .item:hover .icon-plus,
  .intro-services .item:focus-within .icon-plus {
    font-size: 20px;
  }
}
@keyframes intro-services-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.intro-services .intro-header {
  animation: intro-services-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.intro-services__card {
  animation: intro-services-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.intro-services__card:nth-child(1) {
  animation-delay: 0.08s;
}
.intro-services__card:nth-child(2) {
  animation-delay: 0.18s;
}
.intro-services__card:nth-child(3) {
  animation-delay: 0.28s;
}
@media (hover: none) {
  .intro-services .item .hidden-txt {
    display: block;
    margin-bottom: 8px;
  }
  .intro-services .item .hidden-txt p {
    font-size: 16px;
    line-height: 1.45;
  }
  .intro-services .item .icon-plus {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-services .intro-header,
  .intro-services__card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .intro-services .item {
    transition: none;
  }
  /* Planētas: uz iOS daudziem ir ieslēgts „reduce motion” — rotāciju neizslēdzam,
     tikai palēninām (dekoratīvi, ne satura animācija). */
  .intro-services .planets .spin-right,
  .intro-services .item .planets img.spin-right {
    -webkit-animation-duration: 90s;
    animation-duration: 90s;
  }
  .intro-services .planets .spin-left,
  .intro-services .item .planets img.spin-left {
    -webkit-animation-duration: 90s;
    animation-duration: 90s;
  }
}
.client-logos {
  padding: 40px 0;
}
/* Bezgalīga logo lente: dublēts saturs, -50% = neredzams pārejas punkts (pēc pēdējā seko pirmais) */
.client-logos-marquee {
  width: 100%;
}
.client-logos-marquee__viewport {
  overflow: hidden;
  width: 100%;
}
.client-logos-marquee__track {
  display: flex;
  width: max-content;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: client-logos-marquee-scroll 32s linear infinite;
  animation: client-logos-marquee-scroll 32s linear infinite;
  will-change: transform;
}
.client-logos-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
}
.client-logos-marquee .item {
  flex: 0 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
  width: 220px;
}
@media (max-width: 600px) {
  .client-logos-marquee .item {
    width: 170px;
    padding: 0 8px;
  }
}
@-webkit-keyframes client-logos-marquee-scroll {
  from {
    -webkit-transform: translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-50%, 0, 0);
  }
}
@keyframes client-logos-marquee-scroll {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}
.client-logos-marquee__viewport:hover .client-logos-marquee__track {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
/* „Reduce motion” bieži ieslēgts uz telefona — pilnīgs «none» lika lentei stāvēt; tikai palēninām */
@media (prefers-reduced-motion: reduce) {
  .client-logos-marquee__track {
    -webkit-animation: client-logos-marquee-scroll 100s linear infinite;
    animation: client-logos-marquee-scroll 100s linear infinite;
  }
}
.owl-theme .owl-controls .owl-page span {
  border-radius: 0;
  width: 16px;
  height: 16px;
  background: #686868;
}
.owl-theme .owl-controls .owl-page.active span {
  background: #e4a73d;
}
.intro-gallery .row {
  margin: 0;
}
.intro-gallery .frame {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.intro-gallery .frame .item {
  display: block;
  height: 300px;
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}
.intro-gallery .frame .logo {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px;
  background-color: #fff;
}
.intro-gallery .frame .logo img {
  max-width: 200px;
  max-height: 60px;
}
.intro-gallery .frame:nth-child(odd) .item {
  -webkit-box-shadow: inset 0 0 10px rgba(55, 55, 55, 0.7);
  -moz-box-shadow: inset 0 0 10px rgba(55, 55, 55, 0.7);
  box-shadow: inset 0 0 10px rgba(55, 55, 55, 0.7);
}
.intro-gallery .frame:nth-child(even) .over {
  background-color: rgba(228, 167, 61, 0.9);
}
.intro-gallery .frame .over {
  position: absolute;
  z-index: 5;
  background-color: rgba(104, 104, 104, 0.9);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}
.intro-gallery .frame .over span {
  font-size: 24px;
  color: #fff;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}
.intro-gallery .frame:hover .over,
.intro-gallery .frame:focus .over {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.intro-gallery .frame:hover .logo,
.intro-gallery .frame:focus .logo {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
}
.intro-gallery .item-last {
  display: block;
  height: 300px;
  position: relative;
  text-align: center;
  color: #e4a73d;
  text-transform: uppercase;
  padding: 96px 15px;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
}
.intro-gallery .item-last .icon-l-arrowright {
  font-size: 40px;
}
.intro-gallery .item-last span {
  display: inline-block;
  vertical-align: middle;
}
.intro-gallery .item-last:hover,
.intro-gallery .item-last:focus {
  background: #e4a73d;
  color: #fff;
}

/* Home — „Mūsu darbi“ + projektu lapa (vienots, tīrs izskats) */
.intro-gallery--home {
  padding: 48px 0 56px;
  background: #f4f5f7;
}
.intro-gallery--home .intro-gallery__wrap,
.section-projects .container.intro-gallery__wrap {
  max-width: 1180px;
  padding-left: 12px;
  padding-right: 12px;
}
.section.section-projects {
  background: #f4f5f7;
  padding-top: 28px;
  padding-bottom: 52px;
}
.section-projects .intro-gallery__head--page {
  text-align: center;
  margin-bottom: 32px;
}
.section-projects .intro-gallery__head--page::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: #e4a73d;
  opacity: 0.95;
}
.section-projects .intro-gallery__page-title {
  margin: 0 auto;
  padding: 0 12px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #252830;
  line-height: 1.3;
  text-transform: none;
}
.section-projects.section .container h1.intro-gallery__page-title {
  margin-bottom: 0;
}
.intro-gallery--home .intro-gallery__head {
  text-align: center;
  margin-bottom: 32px;
}
.intro-gallery--home .intro-gallery__title.heading {
  margin: 0 auto 16px;
  padding: 0 12px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #252830;
  line-height: 1.3;
  text-transform: none;
}
.intro-gallery--home .intro-gallery__head::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin: 0 auto;
  border-radius: 2px;
  background: #e4a73d;
  opacity: 0.95;
}
.intro-gallery--home .intro-gallery__row,
.intro-gallery--projects .intro-gallery__row {
  margin-left: -6px;
  margin-right: -6px;
}
.intro-gallery--home .intro-gallery__row > [class*='col-'],
.intro-gallery--projects .intro-gallery__row > [class*='col-'] {
  padding-left: 6px;
  padding-right: 6px;
}
.intro-gallery--home .frame,
.intro-gallery--projects .frame {
  margin-bottom: 20px;
  border-radius: 12px;
}
.intro-gallery--home .frame .item,
.intro-gallery--projects .frame .item {
  height: 292px;
  border-radius: 10px;
  -webkit-box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  -moz-box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  -webkit-transition: transform 0.35s ease, box-shadow 0.35s ease;
  -moz-transition: transform 0.35s ease, box-shadow 0.35s ease;
  -o-transition: transform 0.35s ease, box-shadow 0.35s ease;
  -ms-transition: transform 0.35s ease, box-shadow 0.35s ease;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.intro-gallery--home .frame:hover .item,
.intro-gallery--home .frame:focus-within .item,
.intro-gallery--projects .frame:hover .item,
.intro-gallery--projects .frame:focus-within .item {
  -webkit-transform: translateY(-3px);
  -moz-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  -o-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}
/* Vienots pārklājums — tumšs apakšā, augšā caurspīdīgs (bez atšķirīga „oranžā” joslas) */
.intro-gallery--home .frame:nth-child(odd) .over,
.intro-gallery--home .frame:nth-child(even) .over,
.intro-gallery--projects .frame:nth-child(odd) .over,
.intro-gallery--projects .frame:nth-child(even) .over {
  background: linear-gradient(
    to top,
    rgba(20, 22, 26, 0.9) 0%,
    rgba(20, 22, 26, 0.55) 38%,
    rgba(20, 22, 26, 0.12) 65%,
    transparent 100%
  );
}
.intro-gallery--home .frame .over,
.intro-gallery--projects .frame .over {
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.intro-gallery--home .frame .over span,
.intro-gallery--projects .frame .over span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  max-width: 92%;
  padding: 0 16px;
  text-align: center;
  text-transform: none;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.intro-gallery--home .intro-gallery__more-wrap {
  margin-bottom: 24px;
}
.intro-gallery--home .intro-gallery__more.item-last {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 292px;
  padding: 24px 20px;
  border-radius: 10px;
  border: 1px solid rgba(228, 167, 61, 0.45);
  background: #fff;
  color: #b8831f;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  -webkit-transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease,
    box-shadow 0.28s ease;
  -moz-transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease,
    box-shadow 0.28s ease;
  -o-transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease,
    box-shadow 0.28s ease;
  -ms-transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease,
    box-shadow 0.28s ease;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease,
    box-shadow 0.28s ease;
}
.intro-gallery--home .intro-gallery__more .intro-gallery__more-arrow {
  font-size: 32px;
  line-height: 1;
  position: static;
  opacity: 0.9;
}
.intro-gallery--home .intro-gallery__more:hover,
.intro-gallery--home .intro-gallery__more:focus {
  -webkit-transform: translateY(-3px);
  -moz-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  -o-transform: translateY(-3px);
  transform: translateY(-3px);
  border-color: #e4a73d;
  background: #e4a73d;
  color: #fff;
  box-shadow: 0 10px 28px rgba(228, 167, 61, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .intro-gallery--home .frame .item,
  .intro-gallery--home .frame:hover .item,
  .intro-gallery--home .frame:focus-within .item,
  .intro-gallery--projects .frame .item,
  .intro-gallery--projects .frame:hover .item,
  .intro-gallery--projects .frame:focus-within .item {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
    transition: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }
  .intro-gallery--home .intro-gallery__more:hover,
  .intro-gallery--home .intro-gallery__more:focus {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }
}

/* Skārienierīces: virsraksts redzams bez „hover” (hover uz tālruņiem neder) */
@media (hover: none) {
  .intro-gallery .frame .over {
    opacity: 1;
  }
}

.clearspacetop {
  height: 80px;
}
.section {
  padding: 50px 0;
}
.section .container h1,
.section .container h2 {
  text-align: center;
  margin-bottom: 50px;
}
.section.sm {
  padding: 25px 0;
}
.section.page {
  min-height: 80%;
}
.form-control {
  border-radius: 0;
  padding: 5px;
}
.tiny-menu {
  position: fixed;
  top: 83px;
  left: 0;
  z-index: 50;
}
.tiny-menu a {
  display: block;
}
.tiny-menu .links {
  background: #f2f2f2;
}
.tiny-menu .links a {
  padding: 10px;
  color: #686868;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
}
.tiny-menu .links a:hover,
.tiny-menu .links a:focus {
  color: #e4a73d;
}
.tiny-menu .links a:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
}
.tiny-menu .links a.active:before {
  background: #e4a73d;
}
/* Pakalpojumi (page_id 6) — mūsdienīgs satura bloks */
.section-services-page {
  background: linear-gradient(160deg, #e6e9ef 0%, #f0f2f6 50%, #ebeff5 100%);
  padding: 40px clamp(20px, 5vw, 48px) 72px;
  overflow-x: hidden;
  box-sizing: border-box;
}
.section-services-page .services-page-content {
  position: relative;
  width: 100%;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  padding: 56px clamp(32px, 6vw, 72px) 64px;
  box-sizing: border-box;
  text-align: left;
  color: #3f4450;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 24px 48px -16px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}
/* Tikai Pakalpojumi — nedaudz platāks saturs, mazākas sānu atstarpes */
.section-services-page:not(.section-about-page) {
  padding: 40px clamp(14px, 4vw, 36px) 72px;
}
.section-services-page:not(.section-about-page) .services-page-content {
  max-width: 960px;
  padding: 56px clamp(24px, 5vw, 52px) 64px;
}
.section-services-page .services-page-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e4a73d 0%, #df7247 50%, #e8a84a 100%);
  border-radius: 18px 18px 0 0;
}
/* CMS saturs: vecais <div class="section"> iekš lapas — lai fons sakrīt ar kartīti */
.section-services-page .services-page-content .section {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}
/* Planētu attēli (spin-right / spin-left) — balts apļveida pamats, lai rotācija neizskatās uz pelēka */
.section-services-page .services-page-content img.services-img,
.section-services-page .services-page-content img.spin-right,
.section-services-page .services-page-content img.spin-left {
  background: #ffffff;
  border-radius: 50%;
  padding: 14px;
  box-sizing: content-box;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}
/* Vienkāršs CMS / Bootstrap atstatījums */
.section-services-page .services-page-content .container,
.section-services-page .services-page-content .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
.section-services-page .services-page-content .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: block !important;
  float: none !important;
}
.section-services-page .services-page-content [class*='col-'] {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: left !important;
}
.section-services-page .services-page-content p {
  font-size: 1.05rem;
  line-height: 1.78;
  margin: 0 0 1.25em;
  color: #4a505c;
}
.section-services-page .services-page-content h1,
.section-services-page .services-page-content h2,
.section-services-page .services-page-content h3,
.section-services-page .services-page-content h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  color: #12151c;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin: 1.65em 0 0.6em;
  text-align: left;
}
.section-services-page .services-page-content h1:first-child,
.section-services-page .services-page-content h2:first-child,
.section-services-page .services-page-content h3:first-child {
  margin-top: 0;
}
.section-services-page .services-page-content h1 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}
.section-services-page .services-page-content h2 {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  padding-bottom: 0.45rem;
}
.section-services-page .services-page-content h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #e4a73d, #df7247);
}
.section-services-page .services-page-content h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.2rem);
  color: #252a33;
}
.section-services-page .services-page-content ul,
.section-services-page .services-page-content ol {
  margin: 0 0 1.25em;
  padding-left: 1.2em;
  line-height: 1.68;
}
.section-services-page .services-page-content ul {
  list-style: none;
  padding-left: 0;
}
.section-services-page .services-page-content ul > li {
  position: relative;
  padding-left: 1.35em;
}
.section-services-page .services-page-content ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4a73d, #df7247);
  opacity: 0.85;
}
.section-services-page .services-page-content ul ul > li::before {
  width: 5px;
  height: 5px;
  top: 0.6em;
  opacity: 0.65;
}
.section-services-page .services-page-content ol {
  list-style: decimal;
  padding-left: 1.35em;
}
.section-services-page .services-page-content li {
  margin-bottom: 0.45em;
}
.section-services-page .services-page-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.25em 0;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  float: none !important;
}
.section-services-page .services-page-content a {
  color: #b87512;
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 167, 61, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.section-services-page .services-page-content a:hover,
.section-services-page .services-page-content a:focus {
  color: #e4a73d;
  border-bottom-color: rgba(228, 167, 61, 0.75);
}
.section-services-page .services-page-content [id] {
  scroll-margin-top: 96px;
}
.section-services-page .services-page-content table {
  width: 100%;
  margin: 1.25em 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.94em;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}
.section-services-page .services-page-content th {
  background: linear-gradient(180deg, #f6f7f9 0%, #eef0f4 100%);
  font-weight: 600;
  color: #1e232b;
}
.section-services-page .services-page-content td {
  background: #fff;
}
.section-services-page .services-page-content th,
.section-services-page .services-page-content td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  text-align: left;
}
.section-services-page .services-page-content tr:last-child td {
  border-bottom: none;
}
.section-services-page .tiny-menu .links {
  background: #fcfcfd;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.section-services-page .tiny-menu .links a {
  padding: 11px 14px;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 8px;
}
.section-services-page .tiny-menu .links a:hover,
.section-services-page .tiny-menu .links a:focus {
  background: rgba(228, 167, 61, 0.12);
}
/* Par mums — sekcijai nav sānu padding (UFO pie kreisās malas); teksta kartītei mazākas malas, mazāk vertikāla skrollēšana */
.section-services-page.section-about-page {
  position: relative;
  padding: 12px 0 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: visible;
  background: linear-gradient(160deg, #e6e9ef 0%, #f0f2f6 50%, #ebeff5 100%);
  background-color: #ebeff5;
}
.section-services-page.section-about-page .section-about-ufo {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.section-services-page.section-about-page .section-about-ufo__img {
  display: block;
  width: min(440px, 100vw);
  height: auto;
  max-height: min(280px, 42vh);
  margin: 0;
  margin-right: auto;
  object-fit: contain;
  object-position: left bottom;
}
.section-services-page.section-about-page .services-page-content {
  position: relative;
  z-index: 1;
  max-width: min(1080px, calc(100% - 32px));
  width: 100%;
  margin: 0 auto 8px;
  padding: 22px clamp(16px, 3vw, 28px) 24px;
  box-sizing: border-box;
}
.section-services-page.section-about-page .services-page-content p {
  margin: 0 0 0.95em;
  line-height: 1.62;
  color: #3f4450;
}
.section-services-page.section-about-page .services-page-content h1 {
  margin: 0 0 0.65em;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
}
.section-services-page.section-about-page .services-page-content h2 {
  margin: 1.25em 0 0.5em;
}
.section-services-page.section-about-page .services-page-content h2:first-of-type {
  margin-top: 0.85em;
}
.section-services-page.section-about-page .services-page-content h3 {
  margin: 1.05em 0 0.45em;
}
.section-services-page.section-about-page .services-page-content ul,
.section-services-page.section-about-page .services-page-content ol {
  margin: 0 0 0.95em;
}
.section-services-page.section-about-page .services-page-content li {
  margin-bottom: 0.5em;
}
.section-services-page.section-about-page .services-page-content li:last-child {
  margin-bottom: 0;
}
.tiny-menu .tiny-close {
  cursor: pointer;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: #686868;
  color: #fff;
  text-align: center;
  text-shadow: none;
}
.spin-right {
  -webkit-animation: spin 30s linear infinite;
  -moz-animation: spin 30s linear infinite;
  animation: spin 30s linear infinite;
}
.spin-left {
  -webkit-animation: spinl 30s linear infinite;
  -moz-animation: spinl 30s linear infinite;
  animation: spinl 30s linear infinite;
}
@-moz-keyframes spin {
  0% {
    -moz-transform: translateZ(0) rotate(0deg);
  }
  100% {
    -moz-transform: translateZ(0) rotate(360deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: translateZ(0) rotate(0deg);
  }
  100% {
    -webkit-transform: translateZ(0) rotate(360deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: translateZ(0) rotate(0deg);
    transform: translateZ(0) rotate(0deg);
  }
  100% {
    -webkit-transform: translateZ(0) rotate(360deg);
    transform: translateZ(0) rotate(360deg);
  }
}
@-moz-keyframes spinl {
  0% {
    -moz-transform: translateZ(0) rotate(0deg);
  }
  100% {
    -moz-transform: translateZ(0) rotate(-360deg);
  }
}
@-webkit-keyframes spinl {
  0% {
    -webkit-transform: translateZ(0) rotate(0deg);
  }
  100% {
    -webkit-transform: translateZ(0) rotate(-360deg);
  }
}
@keyframes spinl {
  0% {
    -webkit-transform: translateZ(0) rotate(0deg);
    transform: translateZ(0) rotate(0deg);
  }
  100% {
    -webkit-transform: translateZ(0) rotate(-360deg);
    transform: translateZ(0) rotate(-360deg);
  }
}
.page-cont-form .form-control {
  height: auto;
  padding: 10px 15px;
  font-size: 18px;
  background-color: transparent;
  box-shadow: none;
  outline: none;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-color: #373737;
  border-width: 2px;
  color: #373737;
}
.page-cont-form ::-webkit-input-placeholder {
  font-size: 18px;
  color: rgba(55, 55, 55, 0.5);
}
.page-cont-form ::-moz-placeholder {
  font-size: 18px;
  color: rgba(55, 55, 55, 0.5);
}
.page-cont-form :-ms-input-placeholder {
  font-size: 18px;
  color: rgba(55, 55, 55, 0.5);
}
.page-cont-form :-moz-placeholder {
  font-size: 18px;
  color: rgba(55, 55, 55, 0.5);
}
.form-simple .form-control {
  margin-bottom: 15px;
}
footer {
  margin-top: 0;
  padding: 30px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #373737;
  background: -webkit-gradient(linear, left top, left bottom, from(#373737), to(#2b2b2b));
  background: -webkit-linear-gradient(top, #373737, #2b2b2b);
  background: -moz-linear-gradient(top, #373737, #2b2b2b);
  background: -ms-linear-gradient(top, #373737, #2b2b2b);
  background: -o-linear-gradient(top, #373737, #2b2b2b);
  color: #cccccc;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}
footer a {
  color: #cccccc;
}
footer a:hover,
footer a:focus {
  color: #e4a73d;
  text-decoration: none;
}
footer .fa {
  font-size: 20px;
}
footer small {
  color: #999999;
}
footer ul {
  list-style: none;
  margin: 0;
  margin-bottom: 30px;
  padding: 0;
}
footer ul li {
  display: inline-block;
}
footer ul li a {
  display: block;
  padding: 10px;
  color: #cccccc;
}
footer ul li a:hover,
footer ul li a:focus {
  color: #e4a73d;
}
footer ul li:first-child a {
  padding-left: 0;
}
footer .footer-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}
footer .footer-inner__col--nav {
  flex: 1 1 250px;
  min-width: min(100%, 250px);
  margin-bottom: 20px;
}
footer .footer-inner__col--liaa {
  flex: 1 1 250px;
  min-width: min(100%, 250px);
  text-align: center;
}
footer .footer-liaa-logo {
  width: 80%;
  max-width: 320px;
  max-height: 200px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}
footer .footer-liaa-text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  footer .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  footer .footer-inner__col--nav {
    margin-bottom: 12px;
  }
  footer ul li a {
    padding-left: 10px;
    padding-right: 10px;
  }
  footer .footer-liaa-logo {
    width: 90%;
    max-height: 250px;
  }
}
.contacts {
  background: url('/img/briedis.svg') right bottom no-repeat / 500px auto, url('/img/alien.svg') left bottom no-repeat / 500px auto;
}
/* Kontaktu lapa: vienots gaišs fons virs formas (bez pēkšņas krāsas maiņas; pārsedz arī .page UFO mob.) */
.contacts-page-intro {
  background: #fafafa !important;
}
/* Virs „Kontakti” virsraksta — tās pašas atstarpes kā citām .section.sm lapām */
.section.sm.contacts-page-intro {
  padding: 25px 0 !important;
}
.section.sm.contacts-page-intro .container h1 {
  margin-bottom: 50px !important;
}
/* Kontakti caur `else` zaru (.section.page) — tā pat augšējā atstarpe kā citām pilnajām sadaļām */
.section.page.contacts-page-intro {
  padding: 50px 0 !important;
}
.section.page.contacts-page-intro .container h1 {
  margin-bottom: 50px !important;
}
/* Kontaktu lapa ar video: maza atstarpe zem video; bildes paliek apakšā pie kājenes */
.contacts.contacts-page-with-video.section.sm {
  padding: 8px 0 14px !important;
}
.contacts.contacts-page-with-video {
  position: relative;
  margin-bottom: 0;
  background-color: #fafafa;
  background-image: url('/img/briedis.svg'), url('/img/alien.svg');
  background-repeat: no-repeat;
  background-position: right 0 bottom 0, left 0 bottom 0;
  background-size: min(380px, 46vw) auto, min(380px, 46vw) auto;
}
.contacts.contacts-page-with-video .contacts-page-container {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 0;
}
.contacts.contacts-page-with-video .contacts-top-stacked {
  margin-bottom: 4px;
}
.contacts.contacts-page-with-video .contacts-top-stacked .contacts-top-line:last-child {
  margin-bottom: 12px;
}
/* Kompaktāka forma + video — mazāk augstuma */
.contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .contact-form-modern-col {
  width: 100% !important;
  max-width: 460px !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .contact-form-card {
  margin-bottom: 0;
}
.contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .contact-form-card .page-cont-form {
  padding: 14px 14px 16px !important;
}
.contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .form-group {
  margin-bottom: 9px !important;
}
.contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form input.form-control,
.contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form textarea.form-control {
  min-height: 40px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
}
.contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form textarea.form-control {
  min-height: 76px !important;
}
.contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .form-group.file {
  padding: 10px 12px !important;
  font-size: 13px !important;
}
.contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .g-recaptcha {
  margin: 6px 0 4px !important;
  transform: scale(0.86) !important;
  transform-origin: left center;
}
.contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .btn-dark {
  padding: 9px 22px !important;
  font-size: 14px !important;
}
.contacts.contacts-page-with-video .contacts-video-block {
  margin-top: 18px;
  padding: 12px 12px 12px;
  background: #df7247;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.contacts.contacts-page-with-video .contacts-video-label {
  margin: 0 0 8px;
  padding: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.96);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Šaurāks video = zemāks bloks, mazāk jāskrollo */
.contacts.contacts-page-with-video .contacts-video-frame {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.contacts.contacts-page-with-video .contacts-video-frame .embed-responsive {
  margin: 0;
}
.contacts.contacts-page-with-video .contacts-video-frame .embed-responsive iframe {
  border: 0;
}
.contacts .contacts-top-label {
  margin-right: 0.2em;
}
/* E-pasts / tālrunis divās rindās (landing ar stackContactLines) – strādā ar un bez contacts-modern */
.contacts .contacts-top-stacked {
  margin-bottom: 4px;
}
.contacts .contacts-top-stacked .contacts-top-line {
  margin: 0 0 10px 0;
  line-height: 1.45;
  color: #686868;
  font-size: clamp(12px, 3vw, 16px);
}
.contacts .contacts-top-stacked .contacts-top-line:last-child {
  margin-bottom: 16px;
}
.contacts .contacts-top-stacked .contacts-top-email,
.contacts .contacts-top-stacked .contacts-top-phone {
  color: #e4a73d;
  font-size: 1.08em;
  font-weight: 500;
}
.contacts .contacts-top-stacked .contacts-top-email:hover {
  color: #d18f1d;
}
/* Kontaktu forma – “modernā” izskata tikai kontaktu lapa (bez contactFormClassic) */
.contacts.contacts-modern {
  background: url('/img/briedis.svg') right bottom no-repeat / 420px auto,
    url('/img/alien.svg') left bottom no-repeat / 420px auto,
    #fafafa !important;
  border: none !important;
  padding: 24px 0 16px !important;
}
.contacts.contacts-modern .container {
  max-width: 420px !important;
  padding: 0 16px;
}
.contacts.contacts-modern .row {
  margin: 0 -8px;
}
.contacts.contacts-modern .col-md-4.col-sm-6 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 8px !important;
  float: none !important;
}
.contacts.contacts-modern .contacts-top-info {
  margin-bottom: 4px;
  text-align: center;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.contacts.contacts-modern .contacts-top-contact {
  margin: 0 auto 16px;
  line-height: 1.45;
  color: #686868;
  font-size: clamp(11px, 2.9vw, 16px);
  white-space: normal;
  display: block;
  text-align: center;
  word-break: break-word;
}
.contacts.contacts-modern .contacts-top-email,
.contacts.contacts-modern .contacts-top-phone {
  color: #e4a73d;
  font-size: 1.08em;
  font-weight: 500;
}
.contacts.contacts-modern .contacts-top-email:hover {
  color: #d18f1d;
}
.contacts.contacts-modern .contacts-top-sep {
  margin: 0 0.4em;
  color: #c0c0c0;
  font-weight: 400;
  font-size: 1em;
}
.contacts.contacts-modern .page-cont-form {
  background: #fff;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}
.contacts.contacts-modern .page-cont-form .form-group {
  margin-bottom: 12px;
}
.contacts.contacts-modern .page-cont-form input.form-control,
.contacts.contacts-modern .page-cont-form textarea.form-control {
  width: 100% !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #222 !important;
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, background 0.2s;
}
.contacts.contacts-modern .page-cont-form input.form-control:focus,
.contacts.contacts-modern .page-cont-form textarea.form-control:focus {
  border-color: #e4a73d !important;
  background: #fff !important;
}
.contacts.contacts-modern .page-cont-form textarea.form-control {
  min-height: 72px !important;
  resize: vertical;
}
.contacts.contacts-modern .page-cont-form input.form-control::placeholder,
.contacts.contacts-modern .page-cont-form textarea.form-control::placeholder {
  color: #999 !important;
  font-size: 14px !important;
}
.contacts.contacts-modern .page-cont-form .form-group:nth-child(3) input,
.contacts.contacts-modern .page-cont-form .form-group:nth-child(4) input {
  min-height: 46px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
}
.contacts.contacts-modern .page-cont-form .form-group:nth-child(3) input::placeholder,
.contacts.contacts-modern .page-cont-form .form-group:nth-child(4) input::placeholder {
  font-size: 15px !important;
}
.contacts.contacts-modern .page-cont-form .form-group.file {
  padding: 10px 12px;
  font-size: 13px;
}
.contacts.contacts-modern .page-cont-form .g-recaptcha {
  margin: 10px 0;
  transform: scale(0.9);
  transform-origin: left center;
}
.contacts.contacts-modern .page-cont-form .btn-dark {
  padding: 10px 24px;
  font-size: 14px;
}
.contacts.contacts-modern .page-cont-form .btn-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(55, 55, 55, 0.15);
}
/* Landing: klasiskais fons (briedis/alien) + balta kartīte ap formu */
.contacts.contact-form-modern-inputs:not(.contacts-modern) .contact-form-modern-col {
  width: 100% !important;
  max-width: 460px !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .contact-form-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 4px;
  margin: 0 auto;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .contact-form-card .page-cont-form {
  margin: 0;
  padding: 22px 20px 26px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .form-group {
  margin-bottom: 14px;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form input.form-control,
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form textarea.form-control {
  width: 100% !important;
  min-height: 46px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  color: #1a1a1a !important;
  background: #ffffff !important;
  border: 1px solid #e2e4e8 !important;
  border-radius: 10px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form input.form-control:focus,
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form textarea.form-control:focus {
  border-color: #e4a73d !important;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.03),
    0 0 0 3px rgba(228, 167, 61, 0.22) !important;
  background: #fff !important;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form textarea.form-control {
  min-height: 128px !important;
  resize: vertical;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form input.form-control::placeholder,
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form textarea.form-control::placeholder {
  color: #8a8f98 !important;
  font-size: 15px !important;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .form-group.file {
  padding: 14px 16px;
  font-size: 14px;
  background: #f8f9fb;
  border: 1px dashed #c5cad3;
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .form-group.file:hover {
  border-color: #e4a73d;
  background: #fffef9;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .g-recaptcha {
  margin: 12px 0;
  transform: scale(0.92);
  transform-origin: left center;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .btn-dark {
  padding: 11px 28px;
  font-size: 15px;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contacts.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .btn-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(55, 55, 55, 0.2);
}
@media (max-width: 480px) {
  .contacts.contact-form-modern-inputs:not(.contacts-modern) .contact-form-card {
    border-radius: 14px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .contacts.contact-form-modern-inputs:not(.contacts-modern) .contact-form-card .page-cont-form {
    padding: 18px 14px 22px;
  }
}
/* Sākumlapa / citas lapas: „Mūsu projekti” = tie paši izmēri kā landing inline (compressedAll + !important) */
body .landing-logos-wrap {
  padding: 40px 0 48px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  background: linear-gradient(180deg, #f5f5f5 0%, #fafafa 40%, #fafafa 100%) !important;
  box-sizing: border-box !important;
}
body .landing-logos-wrap .landing-projects-header {
  margin-bottom: 28px !important;
}
body .landing-logos-wrap .landing-projects-title {
  font-family: 'Roboto', sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #2a2a2a !important;
  margin: 0 0 12px !important;
  line-height: 1.3 !important;
}
body .landing-logos-wrap .landing-projects-title-line {
  display: block !important;
  width: 48px !important;
  height: 3px !important;
  margin: 0 auto !important;
  border-radius: 2px !important;
  background: linear-gradient(90deg, #e4a73d, #df7247) !important;
}
body .landing-logos-wrap .client-logos {
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
}
body .landing-logos-wrap .owl-carousel .owl-wrapper-outer {
  margin-left: auto !important;
  margin-right: auto !important;
}
body .landing-logos-wrap .owl-carousel .owl-wrapper {
  margin-left: auto !important;
  margin-right: auto !important;
}
body .landing-logos-wrap #client-logos.owl-carousel,
body .landing-logos-wrap #client-logos-landing.owl-carousel {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1140px !important;
}
body .landing-logos-wrap .owl-item {
  padding: 0 10px !important;
}
body .landing-logos-wrap .owl-item .item {
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
}
body .landing-logos-wrap .landing-logo-card {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 104px !important;
  padding: 18px 14px !important;
  margin: 4px 0 !important;
  background: #fff !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}
body .landing-logos-wrap .landing-logo-card:hover,
body .landing-logos-wrap .landing-logo-card:focus {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1) !important;
  border-color: rgba(228, 167, 61, 0.35) !important;
}
body .landing-logos-wrap .landing-logo-card img {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  max-width: 130px !important;
  width: auto !important;
  max-height: 56px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: grayscale(35%) !important;
  opacity: 0.88 !important;
  transition: filter 0.25s ease, opacity 0.25s ease !important;
}
body .landing-logos-wrap .landing-logo-card:hover img,
body .landing-logos-wrap .landing-logo-card:focus img {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
}
body .landing-logos-wrap .landing-logo-fallback {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  color: #444 !important;
  max-width: 160px !important;
  padding: 4px 6px !important;
}
body .landing-logos-wrap .owl-theme .owl-controls {
  margin-top: 22px !important;
  text-align: center !important;
}
body .landing-logos-wrap .owl-theme .owl-controls .owl-page span {
  width: 9px !important;
  height: 9px !important;
  min-width: 9px !important;
  min-height: 9px !important;
  border-radius: 50% !important;
  background: #ddd !important;
  opacity: 1 !important;
}
body .landing-logos-wrap .owl-theme .owl-controls .owl-page.active span {
  background: #e4a73d !important;
}
@media (max-width: 600px) {
  body .landing-logos-wrap {
    padding: 32px 0 40px !important;
  }
  body .landing-logos-wrap .landing-projects-title {
    font-size: 18px !important;
  }
  body .landing-logos-wrap .landing-logo-card {
    min-height: 92px !important;
    padding: 14px 10px !important;
  }
}
.page {
  padding-bottom: 100px;
  background: url('/img/ufo.svg') left bottom no-repeat / 400px auto;
}
.title-first {
  margin: 0 0 40px 0;
}
.testemonials {
  padding: 50px 0;
  background: #f2f2f2;
}
.testemonials .carousel {
  height: 200px;
  position: relative;
}
.testemonials .carousel .carousel-inner {
  height: inherit;
}
.testemonials .carousel .carousel-inner .item {
  height: inherit;
  width: 100%;
}
.testemonials .carousel .carousel-inner .item .txt {
  position: absolute;
  width: 70%;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: auto;
}
.testemonials .carousel .carousel-inner .item .txt .name {
  font-weight: bold;
  margin-top: 15px;
  text-transform: uppercase;
}
.carousel-control {
  color: #e4a73d;
  text-shadow: none;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.carousel-control span {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.carousel-control.right {
  background-image: none;
}
.carousel-control.right span {
  right: 0;
}
.carousel-control.left {
  background-image: none;
}
.carousel-control.left span {
  left: 0;
}
.carousel-control:hover,
.carousel-control:focus {
  color: #686868;
}
#productSlider {
  border-top: 1px solid #373737;
}
#productSlider .carousel-control span {
  font-size: 36px;
}
#productSlider .carousel-control:hover,
#productSlider .carousel-control:focus {
  background: rgba(104, 104, 104, 0.1);
}
#productSlider .item img {
  margin: auto;
}

/* Projekta lapa — galerija (liels rāmis + sīkbildes) */
.project-page-gallery-outer {
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 8px;
  margin-bottom: 24px;
}
.project-page-gallery {
  border-top: 1px solid rgba(55, 55, 55, 0.35);
  padding-top: 28px;
  position: relative;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.project-page-gallery-label {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 16px;
  text-align: center;
}
.project-page-gallery-stage {
  position: relative;
}
.project-page-gallery-frame {
  position: relative;
  background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 24px 20px;
  text-align: center;
  overflow: hidden;
}
.project-page-gallery-frame.has-gallery-nav {
  padding: 24px 52px;
}
.project-page-gallery-hero-open {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 6px;
  line-height: 0;
}
.project-page-gallery-hero-open:focus {
  outline: 2px solid rgba(228, 167, 61, 0.6);
  outline-offset: 2px;
}
.project-page-gallery-hero {
  margin: 0 auto;
  display: block;
  /* Bez fiksēta width/height HTML — saglabā proporcijas; neizstiepj un nesasaurina */
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(70vh, 560px);
  object-fit: contain;
  object-position: center center;
  vertical-align: middle;
  border-radius: 6px;
  image-rendering: auto;
  transition: opacity 0.32s ease;
  opacity: 1;
}
.project-page-gallery-hero.is-switching {
  opacity: 0;
}

/* Lightbox — palielināts skats */
.project-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 48px 56px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
  box-sizing: border-box;
}
.project-gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.project-gallery-lightbox-open {
  overflow: hidden;
}
.project-gallery-lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
  transition: opacity 0.28s ease;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.project-gallery-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.project-gallery-lightbox-close:hover,
.project-gallery-lightbox-close:focus {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}
.project-gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.project-gallery-lightbox-nav:hover,
.project-gallery-lightbox-nav:focus {
  background: rgba(228, 167, 61, 0.45);
  border-color: rgba(228, 167, 61, 0.6);
  outline: none;
}
.project-gallery-lightbox-prev {
  left: 12px;
}
.project-gallery-lightbox-next {
  right: 12px;
}
@media (max-width: 600px) {
  .project-gallery-lightbox {
    padding: 56px 12px 24px;
  }
  .project-gallery-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .project-gallery-lightbox-prev {
    left: 4px;
  }
  .project-gallery-lightbox-next {
    right: 4px;
  }
}
.project-page-gallery-frame .project-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  padding: 0;
  color: #686868;
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.project-gallery-prev {
  left: 10px;
}
.project-gallery-next {
  right: 10px;
}
.project-page-gallery-frame .project-gallery-btn:hover,
.project-page-gallery-frame .project-gallery-btn:focus {
  background: #fff;
  color: #e4a73d;
  box-shadow: 0 4px 16px rgba(228, 167, 61, 0.25);
  outline: none;
}
.project-page-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 4px 0 8px;
}
.project-gallery-thumb {
  position: relative;
  padding: 0;
  border: 0;
  width: 112px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-gallery-thumb img,
.project-gallery-thumb-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 7px;
}
.project-gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 3px solid transparent;
  pointer-events: none;
  transition: border-color 0.2s;
}
.project-gallery-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.project-gallery-thumb.active::after {
  border-color: #e4a73d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.project-gallery-thumb:focus {
  outline: none;
}
.project-gallery-thumb:focus-visible {
  box-shadow: 0 0 0 3px rgba(228, 167, 61, 0.45);
}
@media (max-width: 600px) {
  .project-page-gallery-frame {
    padding: 16px 44px;
  }
  .project-page-gallery-frame .project-gallery-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .project-gallery-prev {
    left: 6px;
  }
  .project-gallery-next {
    right: 6px;
  }
  .project-page-gallery-thumbs {
    gap: 8px;
  }
  .project-gallery-thumb {
    width: 88px;
    height: 56px;
  }
}
#slider-range {
  width: 100%;
  display: block;
  position: relative;
  border-bottom: 4px solid #686868;
  height: 27px;
  margin: 50px 0;
}
#slider-range .ui-slider-range {
  position: absolute;
  z-index: 1;
  display: block;
  border: 0;
  background-position: 0 0;
  background: #e4a73d;
  height: 23px;
}
.ui-slider-handle {
  display: block;
  font-size: 18px;
  color: #686868;
  position: absolute;
  bottom: 22px;
}
.value-txt span {
  display: inline-block;
  vertical-align: bottom;
}
.value-txt #amount {
  border: 0;
  font-size: 24px;
  color: #e4a73d;
}
.value-txt #priceName {
  color: #686868;
  font-size: 24px;
}
.price-labels {
  text-align: center;
}
.price-labels ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0;
}
.price-labels ul li {
  display: inline-block;
  font-size: 16px;
  padding: 3px;
}
.price-labels ul li a {
  text-decoration: none;
  padding: 15px;
  text-transform: uppercase;
  color: #686868;
  border: 1px solid #f2f2f2;
  display: block;
}
.price-labels ul li a:hover,
.price-labels ul li a:focus,
.price-labels ul li a.active {
  border-color: #e4a73d;
  background: #e4a73d;
  color: #fff;
}
.price-labels ul li.active a {
  border-color: #e4a73d;
  background: #e4a73d;
  color: #fff;
}
.services-img {
  width: 100px;
  display: block;
  margin: auto;
}
.heading {
  text-transform: uppercase;
  margin: auto;
  margin-bottom: 0!important;
  text-align: center;
  padding: 40px 0;
}
.intro-header {
  text-align: center;
  color: #fff;
  padding-bottom: 40px;
}
.articles-switch {
  padding: 40px 0 0 0;
  overflow: auto;
}
.articles-switch .next {
  float: right;
}
.articles-switch .btn span {
  color: #5d5d5d;
}
.file input {
  position: absolute;
  z-index: 100;
  height: 40px;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
}
.file span {
  cursor: pointer;
  display: inline-block;
  padding: 10px 0;
  position: relative;
  z-index: 99;
}
.file .fa {
  color: #e4a73d;
}
.top-shadow {
  -webkit-box-shadow: inset 0 10px 10px #d36b00;
  -moz-box-shadow: inset 0 10px 10px #d36b00;
  box-shadow: inset 0 10px 10px #d36b00;
}
@media (min-width: 768px) {
  .flex-center-sm {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
  }
}
@media (max-width: 767px) {
  /* Droša zona (iPhone ar izgriezumu), logo + izvēlne vienā rindā */
  .navbar.navbar-fixed-top {
    padding-top: max(15px, env(safe-area-inset-top, 0px));
  }
  .navbar-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    float: none;
    width: 100%;
    margin-right: 0;
  }
  .navbar-header .navbar-toggle {
    flex: 0 0 auto;
    order: 2;
    margin-right: 0;
  }
  #logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 56px);
    order: 1;
  }
  #logo img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 48px;
  }
  /* Mobilā navigācija: izvēlne paslēpta, kamēr nav atvērta; tumšs fons, nevis balta josla */
  .navbar-fixed-top .navbar-collapse.collapse:not(.in):not(.collapsing) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top: 0 !important;
    visibility: hidden;
  }
  .navbar-fixed-top .navbar-collapse.collapse.in {
    display: block !important;
    height: auto !important;
    overflow-y: auto !important;
    visibility: visible;
    padding-top: 8px;
    padding-bottom: 12px;
    background-color: #2b2b2b;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .navbar-fixed-top .navbar-collapse {
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .navbar-fixed-top .navbar-nav {
    float: none !important;
    margin: 0;
  }
  .navbar-fixed-top .navbar-nav > li > a {
    padding: 12px 15px;
  }
  html {
    height: auto;
  }
  footer ul li {
    display: block;
  }
  footer ul li a {
    padding: 5px 0;
  }
  .tiny-menu {
    display: none;
  }
  .price-labels ul li {
    display: block;
  }
  .price-labels ul li a {
    user-select: none;
    pointer-events: none;
    text-align: left;
  }
  .price-labels ul li.active a {
    color: #686868;
    border-color: #f2f2f2;
    background-color: white;
  }
  #slider-range {
    display: none;
  }
  .page {
    background: url('/img/ufo.svg') left bottom no-repeat / 200px auto;
  }
  .section-services-page.section-about-page {
    padding: 10px 0 0;
  }
  .section-services-page.section-about-page .section-about-ufo__img {
    width: min(340px, 100vw);
    max-height: min(220px, 40vh);
  }
  .section-services-page.section-about-page .services-page-content {
    max-width: calc(100% - 12px);
    margin-left: 6px;
    margin-right: 6px;
    margin-bottom: 6px;
    padding: 16px 14px 18px;
  }
  .section-services-page.section-about-page .services-page-content p {
    margin: 0 0 0.85em;
    line-height: 1.6;
  }
  .contacts:not(.contacts-modern):not(.contacts-page-with-video) {
    background: url('/img/briedis.svg') right bottom no-repeat / 200px auto,
      url('/img/alien.svg') left bottom no-repeat / 200px auto;
    padding-bottom: 100px !important;
  }
  .contacts.contacts-page-with-video.section.sm {
    padding: 8px 0 12px !important;
  }
  .contacts.contacts-page-with-video {
    background-position: right 0 bottom 0, left 0 bottom 0;
    background-size: min(260px, 58vw) auto, min(260px, 58vw) auto;
  }
  .contacts.contacts-page-with-video .contacts-video-block {
    margin-top: 16px;
    padding: 10px 10px 10px;
    border-radius: 10px;
  }
  .contacts.contacts-page-with-video .contacts-page-container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .contacts.contacts-page-with-video .contacts-video-frame {
    max-width: 100%;
  }
  .section.sm.contacts-page-intro {
    padding: 25px 0 !important;
  }
  .section.sm.contacts-page-intro .container h1 {
    margin-bottom: 50px !important;
  }
  .contacts.contacts-modern {
    background: url('/img/briedis.svg') right bottom no-repeat / 180px auto,
      url('/img/alien.svg') left bottom no-repeat / 180px auto,
      #fafafa !important;
    padding-bottom: 24px !important;
  }
  .section.page {
    min-height: auto;
  }
  /* Mobilā optimizācija: sākumlapa, Par mums, projekti, kontakti */
  body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }
  .clearspacetop {
    height: 78px;
  }
  .intro-services {
    padding: 88px 0 36px !important;
    background-attachment: scroll !important;
  }
  .intro-services .intro-header {
    padding-bottom: 24px;
  }
  .intro-services .intro-header h1 {
    font-size: clamp(1.15rem, 4.8vw, 1.65rem);
    line-height: 1.25;
    padding: 0 12px;
    margin: 0 0 10px;
    color: #fff !important;
  }
  .intro-services .intro-header p {
    font-size: 0.95rem;
    line-height: 1.45;
    padding: 0 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95) !important;
  }
  .intro-services .item {
    min-height: 220px;
    margin-bottom: 16px;
    box-shadow: none;
  }
  .intro-services .item:hover,
  .intro-services .item:focus-within {
    transform: none;
  }
  .intro-services .item .planets {
    height: 200px;
  }
  .intro-services .item .planets img {
    width: 140px;
    height: 140px;
    top: 8px;
  }
  /* iOS/Android: pilns webkit prefikss + atkārtota animācija (viena keyframe 100% reizēm neanimējas) */
  .intro-services .item .planets img.spin-right,
  .intro-services .planets .spin-right {
    -webkit-animation-name: spin;
    -webkit-animation-duration: 30s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-name: spin;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  .intro-services .item .planets img.spin-left,
  .intro-services .planets .spin-left {
    -webkit-animation-name: spinl;
    -webkit-animation-duration: 30s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-name: spinl;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    .intro-services .item .planets img.spin-right,
    .intro-services .planets .spin-right {
      -webkit-animation-duration: 90s;
      animation-duration: 90s;
    }
    .intro-services .item .planets img.spin-left,
    .intro-services .planets .spin-left {
      -webkit-animation-duration: 90s;
      animation-duration: 90s;
    }
  }
  .intro-services .item .txt h2 {
    font-size: 1rem;
  }
  .intro-gallery--home {
    padding: 24px 0 32px;
  }
  .intro-gallery--home .intro-gallery__wrap,
  .section-projects .container.intro-gallery__wrap {
    padding-left: 10px;
    padding-right: 10px;
  }
  .intro-gallery--home .frame .item,
  .intro-gallery--projects .frame .item {
    height: 220px !important;
  }
  .intro-gallery--home .intro-gallery__more.item-last {
    height: 220px;
    min-height: 180px;
  }
  .intro-gallery--home .frame .over span,
  .intro-gallery--projects .frame .over span {
    font-size: 14px;
    padding: 0 10px;
  }
  .section.section-projects {
    padding-top: 12px;
    padding-bottom: 28px;
  }
  .section-projects .intro-gallery__head--page {
    margin-bottom: 20px;
  }
  .tiny-menu.tiny-menu--page-nav {
    display: block;
    position: static;
    margin: 0 0 10px;
    padding: 0 8px;
    left: auto;
    top: auto;
    z-index: 1;
  }
  .tiny-menu.tiny-menu--page-nav .links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .tiny-menu.tiny-menu--page-nav .links a {
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.25;
    -webkit-tap-highlight-color: rgba(228, 167, 61, 0.25);
  }
  .client-logos {
    padding: 24px 0;
  }
  body .landing-logos-wrap {
    padding: 28px 0 32px !important;
  }
  body .landing-logos-wrap .landing-projects-title {
    font-size: 18px !important;
  }
  .section.sm.contacts-page-intro,
  .section.page.contacts-page-intro {
    padding: 18px 12px !important;
  }
  .section.sm.contacts-page-intro .container h1,
  .section.page.contacts-page-intro .container h1 {
    margin-bottom: 24px !important;
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }
  .contacts.contact-form-modern-inputs:not(.contacts-modern) .contact-form-card .page-cont-form .btn-dark {
    min-height: 44px;
  }
  /* reCAPTCHA centrēšana — novērš horizontālo ritināšanu */
  .contacts .page-cont-form .g-recaptcha,
  .contacts.contacts-modern .page-cont-form .g-recaptcha {
    transform-origin: center center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .contacts.contacts-page-with-video.contact-form-modern-inputs:not(.contacts-modern) .page-cont-form .g-recaptcha {
    transform: scale(0.82) !important;
  }
  /* CMS saturs: garas saites un tabulas */
  .section.page .container,
  .section.sm .container:not(.contacts-page-container),
  .section-services-page .services-page-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .section:not(.section-projects) .container > div:last-child,
  .section-services-page .services-page-content {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }
  .section.page .container table,
  .section.sm .container table,
  .section-services-page .services-page-content table {
    max-width: 100%;
    border-collapse: collapse;
  }
  .section .container > h1,
  .section.page .container h1 {
    font-size: clamp(1.25rem, 5vw, 1.85rem);
    padding-left: 8px;
    padding-right: 8px;
  }
  footer {
    padding-bottom: max(30px, env(safe-area-inset-bottom, 0px));
  }
}

/* Sākumlappas e-pasta uznirstošā forma — pilnekrāna, ritināms saturs uz maza ekrāna */
#homeMailform.overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 10050;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
    max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.55);
}
#homeMailform .mailform {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 24px auto;
  padding: 20px 16px 24px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}
#homeMailform .mailform input[type='text'],
#homeMailform .mailform input[type='email'],
#homeMailform .mailform textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  #homeMailform .mailform {
    margin: 12px auto 24px;
    padding: 16px 14px 20px;
  }
}





















