/* Pagecores — modern enhancements */

@import url("plugins/fancybox.min.css");

:root {
  --pc-accent: #f5c332;
  --pc-dark: #231e41;
  --pc-muted: #6f6f87;
  --pc-bg: #f9fafc;
  --pc-radius: 12px;
  --pc-shadow: 0 4px 24px rgba(35, 30, 65, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sb-contact-form-frame {
  margin-top: 220px;
}

.sb-contact-form-frame .sb-form-content {
  padding: 15px;
}

.pc-skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100000;
  padding: 12px 20px;
  background: var(--pc-dark);
  color: #fff;
  border-radius: var(--pc-radius);
  font-weight: 500;
  transition: top 0.2s ease;
}

.pc-skip-link:focus {
  top: 16px;
  outline: 2px solid var(--pc-accent);
  outline-offset: 2px;
}

.pc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fancybox-container {
  z-index: 999999 !important;
}

a:focus-visible,
button:focus-visible,
.sb-menu-btn:focus-visible,
.sb-info-btn:focus-visible {
  outline: 2px solid var(--pc-accent);
  outline-offset: 3px;
}

.sb-btn-cart .sb-cart-number {
  display: none !important;
}

.sb-navigation .pc-lang-switch a {
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid var(--pc-dark);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.sb-navigation .pc-lang-switch a:hover {
  background: var(--pc-dark);
  color: #fff;
}

.pc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.pc-btn-primary {
  background: var(--pc-dark);
  color: #fff;
}

.pc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--pc-shadow);
  color: #fff;
}

.pc-btn-secondary {
  background: transparent;
  color: var(--pc-dark);
  border: 1.5px solid var(--pc-dark);
}

.pc-btn-secondary:hover {
  background: var(--pc-dark);
  color: #fff;
}

.pc-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #f2f3f5;
}

.pc-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pc-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.pc-stat span {
  font-size: 14px;
  color: var(--pc-muted);
}

.pc-cta-band {
  background: var(--pc-bg);
  color: var(--pc-dark);
  padding: 80px 0;
  text-align: center;
}

.pc-cta-band h2 {
  color: #231e41;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.pc-cta-band p {
  color: #231e41;
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 16px;
}

.pc-cta-band .pc-btn-primary {
  background: var(--pc-accent);
  color: var(--pc-dark);
}

.pc-cta-band .pc-btn-primary:hover {
  background: #ffd54f;
  color: var(--pc-dark);
}

.pc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pc-services-grid--cards {
  margin-bottom: 60px;
}

.pc-services-grid--cards .sb-blog-card {
  display: block;
  height: 100%;
}

.pc-services-grid--cards .sb-blog-card-descr .sb-text {
  overflow: visible;
  text-overflow: unset;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
}

.pc-services-grid--cards .sb-cover-frame {
  position: relative;
  overflow: hidden;
  padding-bottom: 65%;
  background-color: #f2f3f5;
}

.pc-services-grid--cards .sb-cover-frame img,
.pc-services-grid--cards .sb-cover-frame picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pc-services-grid--cards .sb-cover-frame picture img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-cover-frame picture,
.sb-menu-item .sb-cover-frame picture,
.sb-post-cover picture,
.sb-blog-card .sb-cover-frame picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.sb-cover-frame picture img,
.sb-menu-item .sb-cover-frame picture img,
.sb-post-cover picture img,
.sb-blog-card .sb-cover-frame picture img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pc-service-card {
  background: #fff;
  border-radius: var(--pc-radius);
  padding: 32px;
  box-shadow: var(--pc-shadow);
  transition: transform 0.25s ease;
}

.pc-service-card:hover {
  transform: translateY(-4px);
}

.pc-service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.pc-service-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.pc-service-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-dark);
  border-bottom: 2px solid var(--pc-accent);
}

.pc-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pc-trust-list li {
  padding: 14px 0;
  border-bottom: 1px solid #f2f3f5;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pc-trust-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--pc-accent);
}

.pc-footer-enhanced {
  padding: 48px 30px 32px;
}

.pc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.pc-footer-grid h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--pc-muted);
}

.pc-footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pc-footer-grid ul li {
  margin-bottom: 10px;
}

.pc-footer-grid a {
  font-size: 14px;
  color: var(--pc-dark);
  transition: color 0.2s ease;
}

.pc-footer-grid a:hover {
  color: var(--pc-accent);
}

.pc-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #f2f3f5;
  font-size: 12px;
  color: var(--pc-muted);
}

.pc-footer-social {
  display: flex;
  gap: 16px;
}

.pc-footer-social a {
  font-size: 18px;
  color: var(--pc-dark);
}

.pc-contact-email {
  font-size: 20px;
  font-weight: 600;
}

.pc-contact-email a {
  color: var(--pc-dark);
  border-bottom: 2px solid var(--pc-accent);
}

.pc-contact-card h2 {
  font-size: 28px;
  color: var(--pc-dark);
}

.pc-case-studies {
  padding-bottom: 60px;
}

.pc-case-study {
  margin-bottom: 80px;
}

.pc-case-study--reverse .row {
  flex-direction: row-reverse;
}

.pc-case-study .row > .col-lg-6:first-child {
  margin-bottom: 24px;
}

@media (min-width: 992px) {
  .pc-case-study .row > .col-lg-6:first-child {
    margin-bottom: 0;
  }
}

.pc-case-study__media {
  border-radius: var(--pc-radius);
  overflow: hidden;
  box-shadow: var(--pc-shadow);
  background: #f2f3f5;
}

.pc-case-study__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pc-case-study__category {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pc-dark);
  background: rgba(245, 195, 50, 0.25);
  border-radius: 999px;
}

.pc-case-study__content h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--pc-dark);
}

.pc-case-study__content h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pc-muted);
  margin-bottom: 8px;
}

.pc-case-study__content p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.pc-case-study__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #f2f3f5;
}

.pc-case-study__result strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pc-dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

.pc-case-study__result span {
  font-size: 13px;
  color: var(--pc-muted);
  line-height: 1.4;
}

img[loading="lazy"] {
  /* background: #f2f3f5; */
}

@media (max-width: 992px) {
  .pc-services-grid,
  .pc-services-grid--cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pc-stats-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pc-case-study__results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .container.pc-footer-enhanced {
    padding-right: 48px;
    padding-left: 48px;
  }

  .pc-services-grid,
  .pc-services-grid--cards {
    grid-template-columns: 1fr;
  }

  .pc-footer-grid {
    grid-template-columns: 1fr;
  }

  .pc-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .pc-hero-actions {
    flex-direction: column;
  }

  .pc-btn {
    width: 100%;
  }

  .pc-case-study__results {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Long-form SEO articles */
body.article-page .sb-app { overflow: visible; }

/* Lithuanian footer navigation */
.sb-footer-links { display: flex; align-items: center; gap: 24px; }
.sb-footer-links a { font-size: 14px; font-weight: 500; transition: color .2s ease; }
.sb-footer-links a:hover, .sb-footer-links a:focus { color: #b88900; }
@media (max-width: 768px) {
  .sb-footer-frame { flex-wrap: wrap; gap: 18px; }
  .sb-footer-links { order: 3; width: 100%; justify-content: center; }
}
.article { padding: 150px 0 90px; background: #fff; color: #231e41; }
.article-header .container, .article-layout.container { max-width: 1140px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 25px; padding: 0; list-style: none; color: #6f6f87; font-size: 14px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #aaa; }
.article-category a { color: #f5c332; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article h1 { max-width: 900px; margin: 0 0 25px; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; }
.article-lead { max-width: 850px; margin-bottom: 25px; color: #6f6f87; font-size: 20px; line-height: 1.7; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-bottom: 35px; color: #6f6f87; font-size: 14px; }
.article-hero img, .article-content figure img { display: block; width: 100%; height: auto; border-radius: 8px; background: #f2f2f6; }
.article-hero figcaption, .article-content figcaption { margin-top: 10px; color: #77758a; font-size: 13px; text-align: center; }
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 65px; align-items: start; margin-top: 55px; }
.table-of-contents { position: -webkit-sticky; position: sticky; top: 120px; align-self: start; height: max-content; max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; z-index: 10; padding: 25px; border: 1px solid #eeeef2; border-radius: 8px; background: #fafafc; }
.table-of-contents h2 { margin: 0 0 15px; font-size: 18px; }
.table-of-contents ol { margin: 0; padding-left: 20px; }
.table-of-contents li { margin: 8px 0; color: #6f6f87; font-size: 14px; line-height: 1.45; }
.article-content section { scroll-margin-top: 130px; }
.article-content h2 { margin: 55px 0 22px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
.article-content section:first-child h2 { margin-top: 0; }
.article-content h3 { margin: 35px 0 15px; font-size: 23px; line-height: 1.3; }
.article-content p, .article-content li { color: #555369; font-size: 17px; line-height: 1.75; }
.article-content p { margin: 0 0 20px; }
.article-content ul, .article-content ol { margin: 0 0 25px; padding-left: 25px; }
.article-content a { color: #8b6800; text-decoration: underline; text-underline-offset: 3px; }
.article-content .table-wrapper { width: 100%; margin: 30px 0; overflow-x: auto; }
.article-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-content th, .article-content td { padding: 14px 16px; border: 1px solid #dedee7; text-align: left; vertical-align: top; }
.article-content th { background: #231e41; color: #fff; }
.article-content tr:nth-child(even) td { background: #fafafc; }
.highlight-box, .checklist-box, .cta-box { margin: 30px 0; padding: 28px; border-radius: 8px; background: #fff7d5; border-left: 4px solid #f5c332; }
.cta-box { margin-top: 45px; padding: 35px; background: #231e41; border: 0; color: #fff; }
.cta-box h2, .cta-box p { color: #fff; }
.cta-box .button { display: inline-block; padding: 14px 24px; border-radius: 4px; background: #f5c332; color: #231e41; font-weight: 700; text-decoration: none; }
.article-content pre { margin: 25px 0; padding: 24px; overflow-x: auto; border-radius: 8px; background: #171428; color: #f7f6ff; font-size: 14px; line-height: 1.6; }
.faq-list details { margin-bottom: 12px; padding: 20px 22px; border: 1px solid #e4e3ea; border-radius: 6px; }
.faq-list summary { cursor: pointer; font-size: 17px; }
.faq-list details p { margin: 15px 0 0; }
.author-box { display: flex; gap: 24px; align-items: center; margin-top: 55px; padding-top: 35px; border-top: 1px solid #e4e3ea; }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.author-box h2 { margin: 0 0 8px; font-size: 22px; }
.related-articles { margin-bottom: 20px; }
@media (max-width: 991px) {
  .article { padding-top: 120px; }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .table-of-contents { position: static; max-height: none; overflow-y: visible; }
}
@media (max-width: 575px) {
  .article { padding-top: 100px; }
  .article h1 { font-size: 36px; }
  .article-content p, .article-content li { font-size: 16px; }
  .author-box { align-items: flex-start; }
}
