@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css2?family=Marck+Script&display=swap');

:root {
  --seam-photo-warm-wash: linear-gradient(
    165deg,
    rgba(255, 205, 155, 0.2) 0%,
    rgba(255, 185, 125, 0.08) 50%,
    rgba(235, 175, 115, 0.1) 100%
  );
  --folder-nav-item-width: 320px;
  --folder-nav-sidebar-width: 350px;
}

/* --- GLOBAL ---*/
/* Works on Chrome, Edge, and Safari */
body::-webkit-scrollbar {
  width: 10px;
  height: 6px;
}

body::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(100, 149, 237, 0.7);
  border-radius: 8px;
  border: 3px solid transparent;
}

/* Works on Firefox */
body,
html,
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 149, 237, 0.7) #f5f5f5;
}
/* ------------------- */

html {
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  overflow-anchor: none;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  font-family: 'Roboto', 'Open Sans', sans-serif, 'Times New Roman';
}

/* Home hero typography sits directly on the page gradient (see .home-hero-copy below) */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
  margin-top: 20px;
}

h1 {
  font-size: 2.875rem;
  line-height: 3.875rem;
  letter-spacing: 1px;
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .content .home-page .home-hero-copy h1 {
    font-size: 2rem;
    line-height: 2.5rem;
  }
}

h2 {
  font-size: 2rem;
  line-height: 2.5rem;
  color: rgba(10, 18, 62, 1);
}

h3 {
  font-size: 1rem;
  line-height: 1.625rem;
  font-weight: 400;
}

h4 {
  font-size: 1.25rem;
  line-height: 2rem;
  font-weight: 400;
  color: rgba(10, 18, 62, 1);
}

h5 {
  font-size: 1.125rem;
  line-height: 1.875rem;
  font-weight: 400;
  color: #515151;
}

h6 {
  font-size: 1rem;
  line-height: 1.625rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 0;
}

p {
  color: #717171;
}

/* --- CONTENT --- */

.content {
  margin: 0;
  margin-bottom: 300px;
  width: 100%;
  background-color: rgba(10, 18, 62, 1);
}

.content div {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.content div div {
  max-width: 1440px;
  width: 100%;
}

.content div.main {
  min-height: 100vh;
  background-color: #fff;
}

.content div.grey {
  background-color: #f5f5f5;
}

.content div.white {
  background-color: #fff;
}

/* --- DESK & PAPER STACK --- */

.desk {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  min-height: auto;
  position: relative;
  padding: 0 20px;
}

.paper-stack {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.paper-stack::before,
.paper-stack::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 6px;
  right: -6px;
  bottom: -12px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 16px rgba(10, 18, 62, 0.08);
  z-index: -1;
}

.paper-stack::before {
  transform: rotate(1.8deg);
  opacity: 0.7;
}

.paper-stack::after {
  top: 8px;
  left: 3px;
  right: -3px;
  bottom: -8px;
  transform: rotate(-1.2deg);
  opacity: 0.5;
}

.paper {
  position: relative;
  background: #fff;
  border-radius: 4px;
  box-shadow:
    0 1px 3px rgba(10, 18, 62, 0.06),
    0 4px 16px rgba(10, 18, 62, 0.08),
    0 12px 48px rgba(10, 18, 62, 0.06);
  z-index: 2;
}

.paper-section {
  display: block !important;
  max-width: none !important;
  width: auto !important;
  scroll-margin-top: 40px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
}

.paper-section > h2 {
  scroll-margin-top: 40px;
}

#section-about {
  background-color: #f5f5f5;
}

.paper-divider {
  border: none;
  border-top: 1px solid rgba(10, 18, 62, 0.08);
  margin: 0;
}

.paper-photo {
  position: relative;
  margin: 24px 0 28px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(10, 18, 62, 0.1);
}

.paper-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--seam-photo-warm-wash);
  pointer-events: none;
  z-index: 1;
}

.paper-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 801;
}

.paper-photo-services {
  width: 100%;
  /* height: 280px; */
  aspect-ratio: 2 / 1;
}

.paper-photo-services img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center center;
}

.paper-photo-services::after {
  background:
    linear-gradient(
      rgba(10, 18, 62, 0.15),
      rgba(10, 18, 62, 0.15)
    ),
    var(--seam-photo-warm-wash);
}

.paper-photo-edoc img {
  max-height: 320px;
  object-fit: cover;
  object-position: center 84%;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: cover;
}

.paper-photo-edoc-secondary {
  max-width: min(560px, 88%);
  margin-left: auto;
  margin-right: auto;
}

.paper-photo-edoc-secondary img {
  max-height: 200px;
  object-fit: cover;
  object-position: center center;
}

.paper-about-photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 4px;
}

.paper-about-logos {
  display: flex;
  gap: 16px;
  margin: 0 0 4px;
}

.paper-photo-about-lead img {
  max-height: 320px;
  object-fit: cover;
  object-position: center 25%;
}

.paper-photo-about-lead::after {
  background:
    linear-gradient(
      to right,
      rgba(10, 18, 62, 0.38) 0%,
      rgba(10, 18, 62, 0.2) 16%,
      rgba(10, 18, 62, 0.07) 32%,
      transparent 48%
    ),
    linear-gradient(
      to left,
      rgba(10, 18, 62, 0.35) 0%,
      rgba(10, 18, 62, 0.18) 14%,
      rgba(10, 18, 62, 0.06) 30%,
      transparent 46%
    ),
    var(--seam-photo-warm-wash);
}

.paper-photo-about {
  flex: 1;
}

.paper-photo-about img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center 25%;
}

@media (max-width: 768px) {
  .paper-about-photos {
    flex-direction: column;
  }
}

.paper-photo-about::after {
  background: none;
}

.paper-photo-contact {
  aspect-ratio: 2 / 1;
  width: 100%;
}

.paper-photo-contact img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center 62%;
}

.paper-photo-contact::after {
  background:
    radial-gradient(
      ellipse 90% 80% at 0% 100%,
      rgba(10, 18, 62, 0.88) 0%,
      rgba(10, 18, 62, 0.55) 26%,
      rgba(10, 18, 62, 0.18) 48%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 85% 75% at 100% 0%,
      rgba(10, 18, 62, 0.85) 0%,
      rgba(10, 18, 62, 0.5) 24%,
      rgba(10, 18, 62, 0.12) 46%,
      transparent 68%
    ),
    var(--seam-photo-warm-wash);
}

.paper-map {
  display: block !important;
  margin-top: 8px;
  max-width: none !important;
  width: 100% !important;
}

.paper-fact-with-photo .paper-fact-thumb-wrap {
  position: relative;
  display: inline-block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  flex-shrink: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 2px 12px rgba(10, 18, 62, 0.14);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.paper-fact-with-photo .paper-fact-thumb-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--seam-photo-warm-wash);
  pointer-events: none;
  z-index: 1;
}

.paper-fact-with-photo .paper-fact-thumb {
  display: block;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

.paper-fact-with-photo:hover .paper-fact-thumb-wrap {
  transform: scale(1.08) translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 6px 20px rgba(10, 18, 62, 0.2);
}

.paper-content {
  display: block !important;
  padding: 0;
  max-width: none !important;
  overflow: hidden;
  border-radius: 4px;
}

.paper-content h2 {
  text-align: left;
}

.paper-content h5 {
  text-align: left;
  max-width: none;
}

.paper-content h6 {
  text-align: left;
}

/* Service & edoc lists on paper — shared container + item styles */
.paper-edoc-list,
.paper-service-list {
  display: block !important;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(248, 250, 255, 0.9) 100%);
  box-shadow: 0 2px 12px rgba(10, 18, 62, 0.08);
}

.paper-edoc-list li,
.paper-service-list li {
  padding: 11px 18px 11px 46px;
  position: relative;
  font-size: 1rem;
  line-height: 1.625rem;
  color: rgba(10, 18, 62, 0.88);
  border-left: 3px solid transparent;
  opacity: 0;
  transform: translateX(-12px);
  transition: background-color 0.2s ease, border-left-color 0.2s ease, padding-left 0.25s ease, color 0.2s ease;
}

.paper-edoc-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.paper-edoc-list.is-visible li,
.paper-service-list.is-visible li {
  animation: edocReveal 0.45s ease forwards;
}

.paper-edoc-list li:nth-child(1),
.paper-service-list li:nth-child(1) { animation-delay: 0.05s; }
.paper-edoc-list li:nth-child(2),
.paper-service-list li:nth-child(2) { animation-delay: 0.12s; }
.paper-edoc-list li:nth-child(3),
.paper-service-list li:nth-child(3) { animation-delay: 0.19s; }
.paper-edoc-list li:nth-child(4),
.paper-service-list li:nth-child(4) { animation-delay: 0.26s; }
.paper-edoc-list li:nth-child(5),
.paper-service-list li:nth-child(5) { animation-delay: 0.33s; }
.paper-edoc-list li:nth-child(6),
.paper-service-list li:nth-child(6) { animation-delay: 0.40s; }
.paper-edoc-list li:nth-child(7),
.paper-service-list li:nth-child(7) { animation-delay: 0.47s; }
.paper-edoc-list li:nth-child(8),
.paper-service-list li:nth-child(8) { animation-delay: 0.54s; }
.paper-edoc-list li:nth-child(9),
.paper-service-list li:nth-child(9) { animation-delay: 0.61s; }
.paper-edoc-list li:nth-child(10),
.paper-service-list li:nth-child(10) { animation-delay: 0.68s; }
.paper-edoc-list li:nth-child(11),
.paper-service-list li:nth-child(11) { animation-delay: 0.75s; }
.paper-edoc-list li:nth-child(12),
.paper-service-list li:nth-child(12) { animation-delay: 0.82s; }
.paper-edoc-list li:nth-child(13),
.paper-service-list li:nth-child(13) { animation-delay: 0.89s; }
.paper-edoc-list li:nth-child(14),
.paper-service-list li:nth-child(14) { animation-delay: 0.96s; }
.paper-edoc-list li:nth-child(15),
.paper-service-list li:nth-child(15) { animation-delay: 1.03s; }
.paper-edoc-list li:nth-child(16),
.paper-service-list li:nth-child(16) { animation-delay: 1.10s; }
.paper-edoc-list li:nth-child(17),
.paper-service-list li:nth-child(17) { animation-delay: 1.17s; }
.paper-edoc-list li:nth-child(18),
.paper-service-list li:nth-child(18) { animation-delay: 1.24s; }
.paper-edoc-list li:nth-child(19),
.paper-service-list li:nth-child(19) { animation-delay: 1.31s; }
.paper-edoc-list li:nth-child(20),
.paper-service-list li:nth-child(20) { animation-delay: 1.38s; }

@keyframes edocReveal {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.paper-edoc-list li:last-child {
  border-bottom: none;
}

.paper-service-list li {
  border-bottom: none;
  cursor: pointer;
}

.paper-service-list li::before {
  content: '✓';
  position: absolute;
  left: 18px;
  color: #6495ed;
  font-weight: 700;
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.paper-edoc-list li:hover {
  background-color: rgba(100, 149, 237, 0.06);
  border-left-color: rgba(100, 149, 237, 0.45);
  padding-left: 52px;
}

.paper-service-list li:hover {
  border-left-color: rgba(100, 149, 237, 0.55);
  padding-left: 52px;
  color: rgba(10, 18, 62, 1);
  cursor: pointer;
}

.paper-edoc-list li:hover::before,
.paper-service-list li:hover::before {
  opacity: 1;
  transform: scale(1.1);
}

/* Service section — OÜ/KÜ toggle + core/full list stack */
.paper-content .paper-service-rows {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 16px;
  margin: 24px 0;
  width: 100%;
}

.paper-service-toggle {
  display: flex;
  align-self: stretch;
  width: 100%;
  scroll-margin-top: calc(40px + clamp(2rem, 5vw, 3.5rem));
  margin: 0 0 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(248, 250, 255, 0.9) 100%);
  box-shadow: 0 2px 12px rgba(10, 18, 62, 0.08);
}

@media screen and (min-width: 1000px) {
  .paper-content .paper-service-panel .paper-service-stack {
    margin-left: 30px;
    margin-right: 30px;
    width: auto;
  }
}

.paper-service-toggle-btn {
  flex: 1;
  margin: 0;
  padding: 12px 18px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1.25rem;
  line-height: 1.625rem;
  font-weight: 500;
  color: rgba(10, 18, 62, 0.62);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

.paper-service-toggle-btn:active {
  transform: scale(0.98);
}

.paper-service-toggle-btn + .paper-service-toggle-btn {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.paper-service-toggle-btn:hover {
  color: rgba(10, 18, 62, 0.88);
  background-color: rgba(100, 149, 237, 0.06);
}

.paper-service-toggle-btn.is-active {
  color: rgba(10, 18, 62, 1);
  background-color: rgba(100, 149, 237, 0.14);
}

.paper-service-toggle-btn:focus-visible {
  outline: 2px solid rgba(100, 149, 237, 0.65);
  outline-offset: -2px;
}

.paper-content .paper-service-panels {
  display: grid !important;
  grid-template-columns: 1fr;
  width: 100%;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: start !important;
}

.paper-service-panels > .paper-service-panel {
  grid-area: 1 / 1;
}

.paper-service-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.paper-service-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.paper-service-panel.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.paper-service-panel[hidden]:not(.is-leaving) {
  display: none !important;
}

.paper-service-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(248, 250, 255, 0.9) 100%);
  box-shadow: 0 2px 12px rgba(10, 18, 62, 0.08);
}

.paper-service-stack-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  width: fit-content !important;
  max-width: 100%;
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 8px 0 4px;
}

.paper-service-stack-inner .paper-service-list,
.paper-service-stack-inner .paper-service-more {
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
}

.paper-service-stack .paper-service-list {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.paper-service-more {
  border: none;
}

.paper-service-more > summary {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 10px 18px 16px 0;
  position: relative;
  list-style: none;
  cursor: pointer;
  user-select: none;
  text-align: left;
  transition: opacity 0.2s ease;
}

.paper-service-more > summary::-webkit-details-marker {
  display: none;
}

.paper-service-more > summary::before {
  content: '＋';
  position: absolute;
  left: 18px;
  top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #6495ed;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.paper-service-more[open] > summary::before {
  content: '－';
  transform: scale(1.05);
  opacity: 1;
}

.paper-service-more > summary:hover {
  opacity: 1;
}

.paper-service-more > summary:hover::before {
  opacity: 1;
}

.paper-service-more-label {
  display: block;
  width: auto;
  padding-left: 46px;
  padding-right: 18px;
  font-family: 'Marck Script', cursive;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 400;
  color: #515151;
  opacity: 0.65;
  text-align: left;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.paper-service-more > summary:hover .paper-service-more-label {
  color: #515151;
  opacity: 0.85;
}

.paper-service-more[open] > summary {
  padding-bottom: 10px;
}

.paper-service-more[open] .paper-service-more-label {
  color: #515151;
  opacity: 0.75;
}

.paper-service-list--more li {
  color: rgba(10, 18, 62, 0.78);
}

@media screen and (max-width: 999px) {
  .paper-content .paper-service-panel .paper-service-stack {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .paper-service-stack-inner {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .paper-service-stack-inner .paper-service-list,
  .paper-service-stack-inner .paper-service-more {
    width: 100%;
  }

  .paper-service-toggle-btn {
    padding: 11px 12px;
    font-size: 1.25rem;
  }

  .paper-service-more > summary {
    padding-right: 14px;
  }
}

/* Electronic docs — title left, list right (overrides .content div flex) */
.paper-content .paper-edoc-rows {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 28px 0 8px;
  width: 100%;
}

.paper-content .paper-edoc-row {
  display: grid !important;
  grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  width: 100%;
}

.paper-content .paper-edoc-group-title {
  margin: 0 0 0 30px;
  padding: 11px 0 8px;
  font-size: 1.25rem;
  line-height: 1.625rem;
  font-weight: 500;
  text-align: left;
  color: rgba(10, 18, 62, 1);
  align-self: start;
  position: relative;
}

.paper-content .paper-edoc-group-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(100, 149, 237, 0.45);
  transform: scaleX(1);
  transform-origin: left center;
}

.paper-content .paper-edoc-group-title:hover::after {
  animation: paper-edoc-group-title-underline-hover 0.62s ease forwards;
}

@keyframes paper-edoc-group-title-underline-hover {
  0% {
    transform: scaleX(1);
  }

  18% {
    transform: scaleX(0);
  }

  38% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

.paper-content .paper-edoc-row > .paper-edoc-list {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.paper-edoc-list li::before {
  content: '▸';
  position: absolute;
  left: 18px;
  font-weight: 700;
  color: #6495ed;
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.paper-edoc-list--time li::before {
  content: '⏱';
  font-size: 14px;
}

.paper-edoc-list--money li::before {
  content: '€';
  font-size: 15px;
}

@media screen and (max-width: 999px) {
  .paper-content .paper-edoc-row {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .paper-content .paper-edoc-group-title {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    text-align: center;
  }

  .paper-content .paper-edoc-row > .paper-edoc-list {
    margin-bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .paper-edoc-list li,
  .paper-service-list li {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .paper-content .paper-edoc-group-title::after,
  .paper-content .paper-edoc-group-title:hover::after {
    animation: none;
    transform: scaleX(1);
  }

  .glass.glass-drift {
    animation: none;
  }

  .paper-service-panel {
    transition: none;
  }

  .home-page .blurred.main-page-img {
    transform: none !important;
  }

  #scrollToTopButton {
    transition: none;
  }
}

/* Nav sub-items under Услуги — paper strips, always visible */
.folder-nav li.nav-group,
.mobile-menu-body li.nav-group {
  flex-direction: column;
  align-items: center;
  padding-right: 4px;
}

.nav-sub {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 10px;
  padding: 0;
  width: var(--folder-nav-item-width);
  max-width: var(--folder-nav-item-width);
  visibility: visible;
  opacity: 1;
}

.nav-sub li {
  line-height: 1;
  padding: 0;
  display: block;
}

.nav-sub li:first-child {
  padding-bottom: 5px;
}

.nav-sub li:last-child {
  padding-bottom: 0px;
}

.nav-sub-strip {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 36px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.nav-sub-strip:hover {
  transform: translateX(12px) scale(1.015);
}

.nav-sub-strip:active {
  transform: translateX(10px) scale(0.99);
  transition-duration: 0.12s;
}

.nav-sub-strip.nav-sub-active {
  transform: translateX(14px) scale(1.01);
}

.nav-sub-strip.nav-sub-active .nav-sub-label {
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.25),
    0 0 0 2px rgba(100, 149, 237, 0.35);
}

.nav-sub-strip.nav-sub-active .nav-sub-label a {
  color: #6495ed;
}

.nav-sub-strip .hole {
  position: absolute;
  left: calc(36px / 2 - 8px);
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 70% 30%, #000 0%, #333 70%, #000 100%);
  border-radius: 50%;
  border: 2px solid #f5f5f5;
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.3);
}

.nav-sub-label {
  flex: 1;
  height: 46px;
  background-color: #f5f5f5;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
  background-image: repeating-linear-gradient(
    to bottom,
    #f5f5f5 0,
    #e0e0e0 1px,
    transparent 1px,
    transparent 10px
  );
  background-size: 80% auto;
  background-repeat: repeat-y;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
}

.nav-sub-strip:hover .nav-sub-label {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(100, 149, 237, 0.3);
}

.nav-sub-label a {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.125rem;
  line-height: 2.875rem;
  color: rgba(10, 18, 62, 1);
  transition: color 0.2s ease;
}

.nav-sub-strip:hover .nav-sub-label a {
  color: #6495ed;
}

/* Facts grid on paper */
.paper-facts {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-top: 24px;
  max-width: none !important;
}

.paper-fact {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(10, 18, 62, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(10, 18, 62, 0.05) inset,
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 1px 2px rgba(10, 18, 62, 0.04),
    0 4px 14px rgba(10, 18, 62, 0.08),
    0 12px 32px rgba(10, 18, 62, 0.06);
  transition:
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
  box-sizing: border-box;
  flex: 0 1 calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3) !important;
  min-width: min(260px, 100%);
  height: auto;
  min-height: 22rem;
  max-width: none !important;
  will-change: transform;
  cursor: pointer;
}

.paper-fact:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(100, 149, 237, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 0 rgba(10, 18, 62, 0.03) inset,
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    0 2px 4px rgba(10, 18, 62, 0.06),
    0 10px 28px rgba(10, 18, 62, 0.12),
    0 24px 52px rgba(10, 18, 62, 0.1),
    0 0 0 1px rgba(100, 149, 237, 0.1);
}

.paper-fact:active {
  transform: translateY(-3px) scale(1.008);
  transition-duration: 0.12s;
}

.paper-fact .fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  color: #6495ed;
  font-size: 40px;
  margin-bottom: 12px;
  flex-shrink: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s ease,
    filter 0.35s ease;
}

.paper-fact:hover .fa {
  transform: scale(1.12) translateY(-3px);
  color: #5282e0;
}

.paper-fact:hover .fa:not(:has(#simplbooksLogo)) {
  filter: drop-shadow(0 4px 8px rgba(100, 149, 237, 0.35));
}

.paper-fact:hover .fa img {
  transform: scale(1.08);
}

.paper-fact .fa img {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.paper-fact h4 {
  font-size: 1.25rem;
  line-height: 2rem;
  margin: 8px 0;
  min-height: 6rem;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.paper-fact:hover h4 {
  color: rgba(10, 18, 62, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  .paper-fact,
  .paper-fact .fa,
  .paper-fact .fa img,
  .paper-fact-with-photo .paper-fact-thumb-wrap {
    transition: none;
  }

  .paper-fact:hover,
  .paper-fact:active {
    transform: none;
  }

  .paper-fact:hover .fa,
  .paper-fact-with-photo:hover .paper-fact-thumb-wrap {
    transform: none;
  }
}

.paper-fact p {
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0;
  flex: 1 1 auto;
}

#simplbooksLogo {
  height: 40px;
}

.paper-fact:hover #simplbooksLogo {
  content: url('../img/simplbooks_logo_orig.svg');
  filter: none;
}

#simplbooksLogoText,
.simplbooks-text-logo {
  height: 16px;
  vertical-align: -3px;
}

a:hover .simplbooks-text-logo,
.simplbooks-text-logo:hover,
#simplbooksLogoText:hover {
  content: url('../img/simplbooks_text_orig.svg');
  cursor: pointer;
}

.paper-content h5 a:has(.simplbooks-text-logo),
.paper-fact p a:has(.simplbooks-text-logo) {
  color: inherit;
  background-image: none;
}

.content .paper-contact-details {
  display: block !important;
  margin: 24px auto;
  max-width: none !important;
  width: max-content !important;
}

.paper-contact-row {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start !important;
  margin: 12px 0;
  color: #717171;
  font-size: 1rem;
  line-height: 1.5rem;
  max-width: none !important;
  width: auto !important;
}

.paper-contact-row .paper-contact-link {
  display: inline-flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  color: #717171;
  text-decoration: none;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-fill-color: #717171;
}

.paper-contact-row .paper-contact-link:visited {
  color: #717171;
  -webkit-text-fill-color: #717171;
}

.paper-contact-row .paper-contact-text {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .paper-contact-row .paper-contact-link:hover {
    color: #515151;
    -webkit-text-fill-color: #515151;
  }

  .paper-contact-row .paper-contact-link:hover .paper-contact-text {
    text-decoration-color: currentColor;
  }
}

.paper-contact-row .paper-contact-link:active .paper-contact-text,
.paper-contact-row .paper-contact-link:focus-visible .paper-contact-text {
  text-decoration-color: currentColor;
}

.paper-contact-row .paper-contact-link:active,
.paper-contact-row .paper-contact-link:focus-visible {
  color: #515151;
  -webkit-text-fill-color: #515151;
}

.paper-contact-row .contacts-data-icon {
  margin-right: 16px;
  min-width: 24px;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.875rem;
}

/* Active folder indicator */
.archive-folder.horizontal {
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.archive-folder.horizontal.folder-active {
  transform: translateX(16px) scale(1.02);
  filter: drop-shadow(0 6px 14px rgba(100, 149, 237, 0.22));
}

.archive-folder.horizontal.folder-active .label {
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(100, 149, 237, 0.4);
  transition: box-shadow 0.25s ease;
}

.archive-folder.horizontal.folder-active a {
  color: #6495ed;
}

/* --- SCATTERED PREVIEWS --- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

.scattered-previews {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
}

.glass {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background-color: rgba(10, 18, 62, 1);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.94);
}

.glass.glass-drift {
  animation: glassDrift var(--glass-drift-duration, 24s) linear infinite;
  animation-delay: var(--glass-drift-delay, 0s);
  will-change: transform;
}

@keyframes glassDrift {
  0% {
    transform: translate(0, 0) rotate(var(--glass-rotate, 0turn));
  }

  25% {
    transform: translate(var(--glass-drift-x, 10px), calc(var(--glass-drift-y, 12px) * -1))
      rotate(var(--glass-rotate-mid, var(--glass-rotate, 0turn)));
  }

  50% {
    transform: translate(calc(var(--glass-drift-x, 10px) * -0.7), calc(var(--glass-drift-y, 12px) * -0.4))
      rotate(var(--glass-rotate-end, var(--glass-rotate, 0turn)));
  }

  75% {
    transform: translate(calc(var(--glass-drift-x, 10px) * -1), var(--glass-drift-y, 12px))
      rotate(var(--glass-rotate-mid, var(--glass-rotate, 0turn)));
  }

  100% {
    transform: translate(0, 0) rotate(var(--glass-rotate, 0turn));
  }
}

/* --- HOME PAGE (full viewport hero; nav hidden until scroll) --- */

.main-page-img {
  background-color: rgba(10, 18, 62, 1) !important;
  background-image:
    linear-gradient(
      to right,
      rgba(10, 18, 62, 0.9) 0%,
      rgba(10, 18, 62, 0.62) 18%,
      rgba(10, 18, 62, 0.22) 38%,
      transparent 58%
    ),
    linear-gradient(
      to left,
      rgba(10, 18, 62, 0.85) 0%,
      rgba(10, 18, 62, 0.48) 16%,
      rgba(10, 18, 62, 0.12) 34%,
      transparent 50%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 18, 62, 0.3) 0%,
      transparent 30%,
      transparent 70%,
      rgba(10, 18, 62, 0.42) 100%
    ),
    var(--seam-photo-warm-wash),
    url('../img/main_page_photo.png');
  background-position: center, center, center, center, 50% 32%;
  background-repeat: no-repeat;
  background-size: cover;
}

.blurred {
  max-width: none !important;
  min-height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  will-change: transform;
}

.home-page .blurred.main-page-img {
  min-height: calc(100vh + 15vh);
}

.content .home-page {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  min-height: 100vh;
  width: 100%;
  max-width: none;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
  background-color: rgba(10, 18, 62, 1);
}

.content .home-page .main-container {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1240px !important;
  width: 100% !important;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
  color: #fff;
  min-height: 100vh;
}

.content .home-page .home-hero-copy {
  max-width: 640px;
  width: 100%;
  margin: 122px 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  z-index: 1;
}

.content .home-page .home-hero-copy .primary-button-container {
  margin-left: 0;
  margin-right: auto;
}

.content .home-page .home-hero-copy h1 a {
  color: inherit;
  text-decoration: none;
}

.content .home-page .home-hero-copy h1 {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(10, 18, 62, 1), 1px 1px 2px rgba(10, 18, 62, 1);
  margin-top: 12px;
  margin-bottom: 16px;
  font-size: 2.875rem;
  line-height: 3.875rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  max-width: none;
  display: inline-block;
  position: relative;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    letter-spacing 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.content .home-page .home-hero-copy h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #6495ed, rgba(100, 149, 237, 0.2));
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.content .home-page .home-hero-copy h1:hover {
  transform: translateX(8px);
  letter-spacing: 0.035em;
  cursor: pointer;
}

.content .home-page .home-hero-copy h1:hover::after {
  width: 100%;
}

@media screen and (min-width: 961px) {
  .content .home-page .home-hero-copy h1 {
    white-space: nowrap;
  }

  .content .home-page .home-hero-tagline-line {
    white-space: nowrap;
  }
}

.content .home-page .home-hero-copy h4 {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(10, 18, 62, 1), 1px 1px 2px rgba(10, 18, 62, 1);
  margin-top: 0;
  margin-bottom: 8px;
  max-width: 52ch;
}

.content .home-page .home-hero-copy h6 {
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 1px 1px 2px rgba(10, 18, 62, 1), 1px 1px 2px rgba(10, 18, 62, 1);
  opacity: 1;
  margin-top: 0;
}

.content .home-page .home-hero-tagline {
  font-family: 'Marck Script', cursive;
  font-size: 1.25rem;
  line-height: 1.625rem;
  color: #a8c4f5;
  font-weight: 400;
  margin: 0 0 1.25rem;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.content .home-page .home-hero-tagline-line {
  display: block;
  font-size: 2rem;
  line-height: 2.5rem;
  text-shadow: 0 1px 4px rgba(10, 18, 62, 0.9);
}

.content .home-page .home-hero-tagline:hover {
  transform: translateX(8px);
  cursor: pointer;
}

.content .home-page .home-hero-trust {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.content .home-page .home-hero-trust li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 1px 1px 2px rgba(10, 18, 62, 1);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    padding-left 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.45s ease;
}

.content .home-page .home-hero-trust li:hover {
  transform: translateX(6px);
  padding-left: 1.6rem;
  color: #fff;
  cursor: pointer;
}

.content .home-page .home-hero-trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #6495ed;
  font-weight: 700;
  font-size: 0.95em;
  opacity: 0.85;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
}

.content .home-page .home-hero-trust li:hover::before {
  transform: translateX(2px);
  opacity: 1;
}

@keyframes home-hero-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 1.75rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes home-hero-button-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .content .home-page .home-hero-copy h1,
  .content .home-page .home-hero-tagline,
  .content .home-page .home-hero-trust li {
    opacity: 0;
    animation: home-hero-reveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .content .home-page .home-hero-copy .primary-button-container {
    opacity: 0;
    animation: home-hero-button-reveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .content .home-page .home-hero-copy h1 {
    animation-delay: 0.12s;
  }

  .content .home-page .home-hero-tagline {
    animation-delay: 0.28s;
  }

  .content .home-page .home-hero-trust li:nth-child(1) {
    animation-delay: 0.42s;
  }

  .content .home-page .home-hero-trust li:nth-child(2) {
    animation-delay: 0.52s;
  }

  .content .home-page .home-hero-trust li:nth-child(3) {
    animation-delay: 0.62s;
  }

  .content .home-page .home-hero-trust li:nth-child(4) {
    animation-delay: 0.72s;
  }

  .content .home-page .home-hero-copy .primary-button-container {
    animation-delay: 0.86s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content .home-page .home-hero-copy h1,
  .content .home-page .home-hero-tagline,
  .content .home-page .home-hero-trust li,
  .content .home-page .home-hero-copy .primary-button-container {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .content .home-page .home-hero-copy h1:hover,
  .content .home-page .home-hero-tagline:hover,
  .content .home-page .home-hero-trust li:hover {
    transform: none;
  }
}

.contact-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.5;
  color: rgba(10, 18, 62, 0.9);
  font-weight: 600;
  margin: 0 0 1rem;
}

@media screen and (max-width: 960px) {
  .content .home-page .home-hero-copy {
    max-width: 560px;
    text-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .content .home-page .home-hero-copy h1 {
    white-space: normal;
  }

  .content .home-page .home-hero-tagline {
    align-items: center;
  }

  .content .home-page .home-hero-tagline-line {
    white-space: normal;
  }

  .content .home-page .home-hero-copy .primary-button-container {
    margin-left: auto;
    margin-right: auto;
  }

  .primary-button-container span {
    white-space: normal;
    letter-spacing: 1.5px;
  }
}

/* --- SITE HEADER (logo + top-right controls) --- */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background-color: transparent;
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
}

#site-header .header-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 30px;
  background-color: transparent;
  transition: padding 0.4s ease;
  box-sizing: border-box;
}

#site-header.sticky-header {
  background-color: rgba(10, 18, 62, 0.9);
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.12);
}

#site-header.sticky-header .header-container {
  padding: 16px 30px;
}

#top-corner-logo {
  display: block;
  line-height: 0;
}

#seamLogoHeaderImg {
  max-height: 78px;
  height: auto;
  transition: max-height 0.4s ease;
}

#site-header.sticky-header #seamLogoHeaderImg,
#site-header.sticky-header .seamLogoContainer img {
  max-height: 45px;
}


/* --- FOLDER NAV (sticky sidebar, scrolls in with desk) --- */

.desk-layout {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: center;
  width: 100%;
  max-width: 100% !important;
  padding: 60px 24px 80px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  overflow-x: clip;
}

.content .desk-layout > .desk {
  width: auto !important;
  max-width: 100% !important;
  flex: 1 1 0;
  min-width: 0;
}

.folder-nav {
  position: sticky;
  top: 200px;
  align-self: flex-start;
  flex-shrink: 0;
  width: var(--folder-nav-sidebar-width);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  z-index: 10;
  padding-top: 40px;
}

@media screen and (max-width: 999px) {
  .folder-nav {
    display: none;
  }

  .desk-layout {
    padding: 40px 12px 60px;
  }

  .desk {
    padding: 0;
  }

  .paper-stack {
    max-width: 100%;
  }
}

.folder-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* (legacy header-container rules removed — folder nav is now sticky in .desk-layout) */

.seamLogoContainer img {
  max-height: 78px;
  transition: max-height 0.4s ease;
  height: 100%;
  -webkit-filter: drop-shadow(1px 1px 0 rgba(10, 18, 62, 1))
    drop-shadow(0 0 1px rgba(10, 18, 62, 1));
  filter: drop-shadow(1px 1px 0 rgba(10, 18, 62, 1))
          drop-shadow(0 0 1px rgba(10, 18, 62, 1));
  filter:
          drop-shadow(1px 1px 0 rgba(10, 18, 62, 1))
          drop-shadow(0 0 1px rgba(10, 18, 62, 1))
          drop-shadow(0 0 12px rgba(100, 149, 237, 0.55))
          drop-shadow(0 0 24px rgba(100, 149, 237, 0.35))

}

/* Top bar: phone/email hover cornflower blue; language switch navy at hero, cornflower when scrolled */
#site-header .top-lang-switch .top-lang-phone:hover {
  color: cornflowerblue;
  filter: drop-shadow(1px 0px 1px rgb(10, 18, 62));
}

#site-header:not(.sticky-header) .top-lang-switch .language-switch:hover {
  color: cornflowerblue;
  filter: drop-shadow(1px 1px 1px rgb(10, 18, 62));
}

#site-header.sticky-header .top-lang-switch .language-switch:hover {
  color: cornflowerblue;
}

/* --- NAVIGATION  --- */

a {
  text-decoration: none;
}

a:focus,
a:hover,
a:active {
  outline: none;
}

.folder-nav li {
  padding: 0 15px 14px 15px;
  line-height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.folder-nav li a {
  color: rgba(10, 18, 62, 1);
}

.folder-nav .archive-folder {
  transition: transform 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.folder-nav .archive-folder:hover:not(.folder-active) {
  transform: translateX(10px) scale(1.015);
}

.folder-nav .archive-folder:active:not(.folder-active) {
  transform: translateX(8px) scale(0.99);
  transition-duration: 0.12s;
}

.folder-nav .archive-folder:hover a {
  color: #6495ed;
  transition: color 0.2s ease;
}

.folder-nav .archive-folder:hover .label {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(100, 149, 237, 0.3);
}

@media screen and (min-width: 1px) and (max-width: 999px) {
  .nav-phone {
    margin-left: 10px;
  }
}

.nav-phone-mob {
  position: absolute;
  bottom: 60px;
}

/* --- MOBILE NAVIGATION --- */

.mobile-nav {
  display: none;
}

@media screen and (max-width: 999px) {
  .mobile-nav {
    display: block;
  }
}

.burger-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 200;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.burger-menu div {
  height: 2px;
  width: 26px;
  border-radius: 1.5px;
  background-color: #fff;
  margin-top: 6px;
  transition: background-color 0.2s ease;
  -webkit-filter: drop-shadow(0 0 2px rgba(10, 18, 62, 0.8));
  filter: drop-shadow(0 0 2px rgba(10, 18, 62, 0.8));
}

.burger-menu div:first-child {
  margin-top: 0;
}

.burger-toggle:hover .burger-menu div {
  background-color: #6495ed;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  background-color: rgba(10, 18, 62, 1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.38, 0.52, 0.37, 1);
  visibility: hidden;
}

.mobile-overlay.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav:has(.mobile-overlay.open) .burger-toggle {
  pointer-events: none;
  opacity: 0;
}

.mobile-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 201;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 24px 0 24px;
  flex-shrink: 0;
}

.mobile-menu-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.mobile-menu-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mobile-menu-body > ul > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 15px 14px 15px;
  box-sizing: border-box;
  width: var(--folder-nav-sidebar-width);
  max-width: 100%;
}

.mobile-menu-body .nav-sub li {
  display: block;
  width: 100%;
  padding: 0;
}

.mobile-menu-body .nav-sub {
  width: var(--folder-nav-item-width);
  max-width: var(--folder-nav-item-width);
}

.mobile-menu-body .nav-sub-strip {
  padding-left: 30px;
  padding-right: 30px;
}

.mobile-menu-body .nav-sub-strip:hover {
  transform: none;
}

.mobile-menu-body .nav-sub-label,
.mobile-menu-body .nav-sub-label a {
  width: 100%;
  box-sizing: border-box;
}

.mobile-menu-body .archive-folder.horizontal {
  width: var(--folder-nav-item-width);
  height: 90px;
  justify-content: flex-start;
  padding-left: 60px;
  cursor: pointer;
}

.mobile-menu-body .archive-folder.horizontal:hover {
  transform: none;
}

.mobile-menu-body .archive-folder.horizontal .hole {
  left: calc(60px / 2 - 14px);
  width: 28px;
  height: 28px;
}

.mobile-menu-body .archive-folder.horizontal .label {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-body .archive-folder.horizontal .label a {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 3.125rem;
  color: rgba(10, 18, 62, 1);
}

.mobile-menu-body .archive-folder.horizontal:hover .label a {
  color: #6495ed;
}

.mobile-menu-body .archive-folder.horizontal:hover .label {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(100, 149, 237, 0.3);
}

.mobile-menu-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 0 24px 40px 24px;
  flex-shrink: 0;
}

.mobile-phone {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.mobile-phone:hover {
  color: cornflowerblue;
}

.mobile-fb {
  color: #fff;
  font-size: 20px;
  transition: color 0.2s ease;
}

.mobile-fb:hover {
  color: #4267b2;
}

body.mobile-menu-open {
  overflow: hidden;
}

/* --- CLOSE BUTTON (shared between mobile menu) --- */
.close-button {
  display: block;
  width: 36px;
  height: 36px;
  position: relative;
  overflow: hidden;
}
.close-button > div {
  position: relative;
}
.close-button-block {
  width: 36px;
  height: 18px;
  position: relative;
  overflow: hidden;
}
.close-button-block:before,
.close-button-block:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 1px);
  display: block;
  width: 2px;
  height: 20px;
  transform-origin: bottom center;
  background: rgba(10, 18, 62, 0.6);
  transition: all ease-out 280ms;
  border-radius: 1.5px;
}
.close-button-block:last-of-type {
  transform: rotate(180deg);
}
.close-button .in .close-button-block:before {
  transition-delay: 280ms;
  transform: translateX(20px) translateY(-20px) rotate(45deg);
}
.close-button .in .close-button-block:after {
  transition-delay: 280ms;
  transform: translateX(-22px) translateY(-22px) rotate(-45deg);
}
.close-button .out {
  position: absolute;
  top: 0;
  left: 0;
}
.close-button .out .close-button-block:before {
  transform: translateX(-5px) translateY(5px) rotate(45deg);
}
.close-button .out .close-button-block:after {
  transform: translateX(5px) translateY(5px) rotate(-45deg);
}
.close-button:hover .in .close-button-block:before {
  transform: translateX(-5px) translateY(5px) rotate(45deg);
  background-color: rgba(10, 18, 62, 1);
}
.close-button:hover .in .close-button-block:after {
  transform: translateX(5px) translateY(5px) rotate(-45deg);
  background-color: rgba(10, 18, 62, 1);
}
.close-button:hover .out .close-button-block:before {
  transform: translateX(-20px) translateY(20px) rotate(45deg);
}
.close-button:hover .out .close-button-block:after {
  transform: translateX(20px) translateY(20px) rotate(-45deg);
}

/* --- FACEBOOK LETTER --- */

.nav-fb {
  position: absolute;
  right: 0;
}

/* (legacy sticky-header .nav-fb rules removed) */

@media screen and (min-width: 1px) and (max-width: 999px) {
  .nav-fb {
    position: relative;
    font-size: 16px;
  }
}

.nav-fb:hover {
  color: #fff !important;
  animation-name: fb-move;
  animation-duration: 0.2s;
  transition: all ease-in-out 0.2s;
}

@keyframes fb-move {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

.nav-fb-mob {
  position: absolute;
  bottom: 30px;
  padding-left: 10px;
}

/* --- TOP-RIGHT LANGUAGE SWITCH (always visible) --- */

.top-lang-switch {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 26px;
}

@media screen and (max-width: 999px) {
  .top-lang-switch {
    display: none;
  }
}

.top-lang-switch .top-lang-phone {
  font-size: 22px;
  line-height: 2rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
  -webkit-filter: drop-shadow(1px 1px 2px rgba(10, 18, 62, 1));
  filter: drop-shadow(1px 1px 2px rgba(10, 18, 62, 1));
}

/* --- LANGUAGE CHOICE FOR WEB SITE --- */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 22px;
  line-height: 2rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
  cursor: pointer;
}

.language-switch .fa-globe {
  font-size: 0.95em;
  letter-spacing: 0;
  opacity: 0.85;
}

.top-lang-switch .language-switch {
  -webkit-filter: drop-shadow(1px 1px 2px rgba(10, 18, 62, 1));
  filter: drop-shadow(1px 1px 2px rgba(10, 18, 62, 1));
}

.mobile-overlay .language-switch {
  color: rgba(255, 255, 255, 0.85);
  filter: none;
}

.mobile-overlay .language-switch:hover {
  color: #6495ed;
}

.mobile-overlay .close-button-block:before,
.mobile-overlay .close-button-block:after {
  background: rgba(255, 255, 255, 0.85);
}

.mobile-overlay .close-button:hover .in .close-button-block:before,
.mobile-overlay .close-button:hover .in .close-button-block:after,
.mobile-overlay .close-button:hover .out .close-button-block:before,
.mobile-overlay .close-button:hover .out .close-button-block:after {
  background-color: #6495ed;
}

/* --- BUTTONS --- */
#scrollToTopButton {
  height: 50px;
  width: 50px;
  display: block;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: 1px solid rgba(10, 18, 62, 1);
  border-radius: 100%;
  outline: none;
  background-color: transparent;
  color: #fff;
  box-shadow: 0px 0px 2px 0px #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.92);
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s,
    box-shadow 0.2s ease;
  pointer-events: none;
}

#scrollToTopButton.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#scrollToTopButton:after {
  content: '';
  display: inline-block;
  font-weight: 900;
  height: 20px;
  width: 20px;
  border: 1px solid rgba(10, 18, 62, 1);
  border-right: none;
  border-bottom: none;
  transform: rotate(45deg) translate(5px, 5px);
  -webkit-filter: drop-shadow(0px 0px 1px #fff);
  filter: drop-shadow(0px 0px 1px #fff);
}

#scrollToTopButton:hover {
  box-shadow: 3px 1px 5px 0px #fff inset,
    -3px -1px 5px 0px rgba(10, 18, 62, 1) inset;
  transform: translateY(0) scale(1.05);
}

#scrollToTopButton:active {
  transform: translateY(2px) scale(0.95);
  transition-duration: 0.12s;
}

.primary-button-container {
  cursor: pointer;
  position: relative;
  padding: 15px 30px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  width: auto;
  max-width: 100%;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(10, 18, 62, 0.15) inset,
    0 8px 24px rgba(10, 18, 62, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.primary-button-container:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(10, 18, 62, 0.12) inset,
    0 14px 32px rgba(10, 18, 62, 0.42);
}

.primary-button-container:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 -1px 0 rgba(10, 18, 62, 0.18) inset,
    0 4px 12px rgba(10, 18, 62, 0.28);
  transition-duration: 0.12s;
}

.content .home-page .home-hero-copy .primary-button-container:hover {
  transform: translateY(-2px);
}

.content .home-page .home-hero-copy .primary-button-container:active {
  transform: translateY(1px) scale(0.97);
}

.primary-button-container span {
  position: relative;
  z-index: 2;
  display: block;
  white-space: nowrap;
  color: rgba(10, 18, 62, 1);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  letter-spacing: 3px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.primary-button-container .liquid {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(200% + 46px);
  min-height: 160px;
  background-color: #fff;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  transition: top 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.primary-button-container:hover .liquid {
  top: calc(-100% - 46px);
}

.primary-button-container:hover span {
  color: #fff;
  text-shadow: 1px 1px 0 rgba(10, 18, 62, 1);
}

.primary-button-container .liquid:before,
.primary-button-container .liquid:after {
  content: '';
  position: absolute;
  width: 580px;
  height: 580px;
  top: -60px;
  left: 50%;
  transform: translate(-50%, 20%);
  box-shadow: inset 0 0 50px rgba(10, 18, 62, 0.5);
}

.primary-button-container .liquid:before {
  border-radius: 45%;
  background: rgba(100, 149, 237, 1);
  animation: seam-liquid-wave 5s linear infinite;
}

.primary-button-container .liquid:after {
  border-radius: 40%;
  background: rgba(100, 149, 237, 0.5);
  animation: seam-liquid-wave 10s linear infinite;
}

.primary-button-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

@keyframes seam-liquid-wave {
  0% {
    transform: translate(-50%, 20%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, 20%) rotate(360deg);
  }
}

/* --- ARCHIVE FOLDER --- */
.archive-folder.horizontal {
  position: relative;
  width: var(--folder-nav-item-width);
  height: 90px;      /* vertical height */
  border-radius: 8px;
  background:
    linear-gradient(132deg, rgba(100, 149, 237, 0.25), rgba(10, 18, 62, 0.35)),
    var(--seam-photo-warm-wash),
    url('../img/archive_folder_texture.jpg');

    
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 60px; /* space for the hole */
  box-shadow: 3px 1px 5px 0px rgba(0,0,0,0.3) inset,
             -3px -1px 5px 0px rgba(10, 18, 62, 1) inset,
             0 2px 4px rgba(0, 0, 0, 0.18),
             0 8px 16px rgba(0, 0, 0, 0.15),
             0 16px 32px rgba(0, 0, 0, 0.08);
}

/* Circular hole on the left */
.archive-folder.horizontal .hole {
  position: absolute;
  /* center horizontally between left edge and start of label (padding-left) */
  left: calc(60px / 2 - 14px); /* 14px = half of hole width (28px) */
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 70% 30%, #000 0%, #333 70%, #000 100%);
  border-radius: 50%;
  border: 2px solid #f5f5f5;
  box-shadow: 0px 0px 10px 4px rgba(0,0,0,0.3);
}

/* Label area */
.archive-folder.horizontal .label a {
  font-size: 1.125rem;
  line-height: 1.875rem;
}

.archive-folder.horizontal .label {
  flex: 0.9;
  height: 50px;
  background-color: #f5f5f5;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
  /* vertical grey lines */
  background-image: repeating-linear-gradient(
    to right,
    #f5f5f5 0,      /* line color */
    #e0e0e0 1px,  /* line thickness */
    transparent 1px,
    transparent 10px /* spacing between lines */
  );
  background-size: auto 80%;   /* width = auto, height = 80% */
  background-repeat: repeat-x; /* repeat horizontally */
  background-position: center; /* vertically center the lines */
}

/* --- FOOTER (fixed bar, same pattern as legacy ruCopy) --- */

footer {
  max-height: 300px;
  height: 100%;
  max-width: 100%;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: rgba(10, 18, 62, 1);
  position: fixed;
  bottom: 0;
  z-index: -1;
}

footer .footer-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  max-width: 80%;
  width: 100%;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

@media screen and (max-width: 600px) {
  footer .footer-container {
    max-width: 95%;
  }
}

footer img {
  max-height: 78px;
  height: 100%;
  -webkit-filter: drop-shadow(-1px 1px 1px rgba(10, 18, 62, 1))
    drop-shadow(-1px 1px 3px rgba(10, 18, 62, 1));
  filter: drop-shadow(-1px 1px 1px rgba(10, 18, 62, 1))
    drop-shadow(-1px 1px 3px rgba(10, 18, 62, 1));
}

footer span {
  margin-top: 30px;
  color: rgba(169, 169, 169, 1);
  text-align: center;
}

footer .footer-slogan {
  font-style: italic;
}

footer p {
  margin-top: 30px;
  margin-bottom: 0;
  color: rgba(169, 169, 169, 1);
  text-align: center;
}

footer .footer-legal {
  margin-top: 10px;
}

/* --- Legacy inner sections --- */

.secondary-button {
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: auto !important;
  border: 2px solid rgba(10, 18, 62, 1);
  margin-top: 20px;
  margin-bottom: 20px;
  -ms-flex-align: center !important;
  align-items: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  padding: 12px 30px;
  text-align: center;
  border-radius: 6px;
}

@media only screen and (max-width: 900px) {
  .secondary-button {
    width: calc(100% - 60px) !important;
  }
}

.secondary-button a {
  color: rgba(10, 18, 62, 1);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  transition: all 0.35s ease-Out;
  z-index: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.button-slide {
  width: 100%;
  height: 100%;
  left: -180px;
  background: rgba(10, 18, 62, 1);
  position: absolute;
  transition: all 0.35s ease-Out;
  bottom: 0;
}

@media only screen and (max-width: 900px) {
  .button-slide {
    width: 0;
    height: 0;
    left: 0;
    background: transparent;
  }
}

.secondary-button:hover .button-slide {
  left: 0;
}

.secondary-button:hover a {
  color: #fff;
  -webkit-filter: drop-shadow(1px 1px 0 rgba(10, 18, 62, 1));
  filter: drop-shadow(1px 1px 0 rgba(10, 18, 62, 1));
  transition: all 0.3s ease;
}

@media only screen and (max-width: 900px) {
  .secondary-button:hover a {
    color: rgba(10, 18, 62, 1);
    -webkit-filter: none;
    filter: none;
  }
}

.about-us,
.services {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
  margin-left: 20px;
  margin-right: 20px;
}

.services {
  -ms-flex: 50%;
  flex: 50%;
  width: auto !important;
}

@media screen and (max-width: 900px) {
  .services,
  .services-img {
    -ms-flex: 100%;
    flex: 100%;
  }

  .services {
    padding-bottom: 45px;
  }
}

.services-img {
  max-width: 600px !important;
  padding-top: 90px;
  padding-bottom: 90px;
  margin-left: 20px;
  margin-right: 20px;
}

@media screen and (max-width: 900px) {
  .services-img {
    padding-top: 45px;
  }
}

.services-img img {
  width: 100%;
}

.services-container div {
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.services-container-inside {
  -ms-flex-wrap: nowrap !important;
  flex-wrap: nowrap !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  -ms-flex-align: center !important;
  align-items: flex-start !important;
}

@media screen and (max-width: 900px) {
  .services-container-inside {
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    -ms-flex-align: center !important;
    align-items: center !important;
  }
}

.services {
  max-width: 600px !important;
  -ms-flex-align: start !important;
  align-items: flex-start !important;
}

.about-us h5,
.about-us p {
  text-align: center;
  max-width: 800px;
}

.about-us h2 {
  text-align: center;
}

.services h5,
.services p {
  text-align: left;
  max-width: 600px;
}

.cards-vertical {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.cards-vertical .fa {
  color: #6495ed;
  font-size: 56px;
  margin-top: 16px;
}

.cards-vertical h4 {
  text-align: center;
}

.cards-vertical div {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  border: none;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 330px !important;
  min-height: 280px;
  padding: 25px;
  margin: 20px 14px;
  transition: 0.3s;
  border-radius: 6px;
}

.cards-vertical div:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.cards-vertical div:hover .fa:not(:has(#simplbooksLogo)) {
  -webkit-filter: drop-shadow(1px 1px 0 #0a123e);
  filter: drop-shadow(1px 1px 0 rgba(10, 18, 62, 1));
}

#simplbooksLogo {
  height: 56px;
}

.cards-vertical div:hover #simplbooksLogo {
  content: url('../img/simplbooks_logo_orig.svg');
  -webkit-filter: none;
  filter: none;
  box-shadow: none;
}

#simplbooksLogoText {
  height: 18px;
  vertical-align: -4px;
}

#simplbooksLogoText:hover {
  content: url('../img/simplbooks_text_orig.svg');
  cursor: pointer;
}

.cards-left {
  display: -ms-flexbox;
  display: flex;
}

.cards-left-container {
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin: 20px 0;
  transition: all 0.3s ease;
  border-radius: 6px;
  width: auto;
  background-color: #fff;
}

.service-list {
  padding-top: 30px;
  padding-bottom: 30px;
}

.cards-left-container .service-list .num {
  position: relative;
  padding: 6px 25px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  transition: 0.25s;
}

.cards-left-container .service-list .num h4 {
  transition: all 0.25s ease;
  margin: 0;
  margin-left: 20px;
  position: relative;
}

.cards-left-container .service-list .num:hover {
  background-color: #f5f5f5;
  cursor: pointer;
}

.cards-left-container .service-list .num:hover:before {
  opacity: 0.7;
}

.cards-left-container .service-list .num:hover h4 {
  margin-left: 50px;
}

.cards-left-container .service-list .num p {
  font-size: 18px;
  transition-timing-function: ease;
  transition: margin 0.25s, margin-left 0.25s, line-height 0.25s;
  margin: 0;
  margin-left: 20px;
  line-height: 0;
  visibility: hidden;
}

@media screen and (max-width: 850px) {
  .cards-left-container .service-list .num h4 {
    margin-left: 50px;
  }

  .cards-left-container .service-list .num:before {
    opacity: 0.7;
  }

  .cards-left-container .service-list .num p {
    margin-left: 50px;
  }
}

.service-text-hide {
  display: none;
}

.contact-container {
  -ms-flex-wrap: nowrap !important;
  flex-wrap: nowrap !important;
}

@media screen and (max-width: 850px) {
  .contact-container {
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
  }
}

.contact-container div {
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.contact-container .contact-details-cont,
.contact-container .map {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.contact-details-container,
.map {
  -ms-flex: 50%;
  flex: 50%;
}

@media screen and (max-width: 850px) {
  .contact-details-container,
  .map {
    -ms-flex: 100%;
    flex: 100%;
  }
}

.contact-details-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
  -ms-flex-align: center;
  align-items: center;
  max-width: none !important;
}

@media screen and (max-width: 850px) {
  .contact-details-container {
    -ms-flex-pack: center !important;
    justify-content: center !important;
    -ms-flex-align: center;
    align-items: center;
  }
}

.contact-container .contact-details-cont {
  max-width: 600px !important;
}

.contact-details {
  color: #717171;
}

.contact-details a {
  color: #717171;
}

.contact-details a:hover {
  color: #515151;
  text-decoration: underline;
  transition: all ease-in-out 0.2s;
}

.contact-details > div {
  margin: 10px 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -ms-flex-align: start;
  align-items: flex-start;
}

.contact-details div:first-child {
  margin: 20px 0;
}

.contact-details .contacts-data-icon {
  margin: 0 20px 0 10px;
  font-size: 18px;
  min-width: 24px;
  text-align: center;
}

.contact-container .map {
  height: 100vh;
  padding: 0;
  margin: 0;
  max-width: none !important;
}

@media screen and (max-width: 850px) {
  .contact-container .map {
    height: 60vh;
    margin: 0;
  }
}

.about-company-link {
  font-size: 22px;
  line-height: 2rem;
  color: #0a123e;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.about-company-link:hover {
  color: cornflowerblue;
}