/*
 * enhance.css — micro-interactions, article cards, animated dropdown,
 * fade slideshow, lightbox, clients marquee, contact map, responsiveness.
 */
:root { --sk-ease: cubic-bezier(.22,.61,.36,1); --sk-red: #cc0000; --sk-ink: #1f1346; }

html { scroll-behavior: smooth; }
img { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .transition, .transition * { transition: none !important; }
  .sk-marquee__track { animation: none !important; }
}

/* ---------- Buttons ---------- */
.grid-button {
  transition: transform .25s var(--sk-ease), box-shadow .25s var(--sk-ease),
              background-color .3s ease, color .3s ease !important;
}
.grid-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.grid-button:active { transform: translateY(0); }

/* ---------- Links / social ---------- */
a { transition: color .2s ease, opacity .2s ease; }
[class*="social"] a, .social-icons a { display: inline-block; transition: transform .25s var(--sk-ease); }
[class*="social"] a:hover, .social-icons a:hover { transform: translateY(-3px) scale(1.08); }

/* ---------- Dropdown menu: no arrow, wide neat buttons, square corners ---------- */
.block-header .item-content__icon-container-wrapper,
.block-header .item-content__icon-container { display: none !important; }

/* No underlines on nav / dropdown links */
.block-header a,
.block-header .item-content,
.block-header .item-content-wrapper,
.block-header-item__label,
.block-header-item__dropdown-area a,
.block-header-item__dropdown-area .item-content {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.block-header a::after,
.block-header a::before,
.block-header .item-content::after,
.block-header .item-content::before,
.block-header-item__item::after,
.block-header-item__item::before {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: none !important;
  height: 0 !important;
  width: 0 !important;
}

.block-header-layout-desktop .block-header-item__dropdown-area {
  display: block !important;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .24s var(--sk-ease), transform .24s var(--sk-ease), visibility .24s;
}
.block-header-layout-desktop .block-header-item__label:hover .block-header-item__dropdown-area,
.block-header-layout-desktop .block-header-item__dropdown:hover .block-header-item__dropdown-area {
  opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
  transform: translateY(0) !important;
}
/* Panel — square corners, no curves */
.block-header-layout-desktop .block-header-item__dropdown-area > * {
  background: #fff;
  border: 1px solid #ececf2;
  border-radius: 0 !important;
  box-shadow: 0 18px 40px rgba(20,10,50,.14);
  padding: 8px 0 !important;
  margin-top: 8px;
  min-width: 300px;
  width: max-content;
  max-height: none !important;
  overflow: hidden !important;
  overflow-y: hidden !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box !important;
}
/* Make every nested row span the full panel width so grey hover meets both edges */
.block-header-layout-desktop .block-header-item__dropdown-area ul,
.block-header-layout-desktop .block-header-item__dropdown-area li,
.block-header-layout-desktop .block-header-item__dropdown-area .block-header-item,
.block-header-layout-desktop .block-header-item__dropdown-area .block-header-item__label {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
/* Items = full-width rows, square — light grey hover edge to edge */
.block-header-layout-desktop .block-header-item__dropdown-area .item-content-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  transition: background-color .2s ease;
}
.block-header-layout-desktop .block-header-item__dropdown-area .item-content-wrapper .item-content,
.block-header-layout-desktop .block-header-item__dropdown-area .item-content-wrapper a {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 22px !important;
  font: 500 15px/1.2 Ubuntu, sans-serif !important;
  color: var(--sk-ink) !important;
  white-space: nowrap;
  border-radius: 0 !important;
  text-decoration: none !important;
  transition: color .2s ease;
}
.block-header-layout-desktop .block-header-item__dropdown-area .item-content-wrapper:hover,
.block-header-layout-desktop .block-header-item__dropdown-area .block-header-item__label:hover .item-content-wrapper {
  background: #efefef !important;
  transform: none;
}
.block-header-layout-desktop .block-header-item__dropdown-area .item-content-wrapper:hover .item-content,
.block-header-layout-desktop .block-header-item__dropdown-area .item-content-wrapper:hover a {
  color: var(--sk-ink) !important;
}
.block-header-layout-desktop .block-header-item__dropdown-area,
.block-header-layout-desktop .block-header-item__dropdown-area * {
  scrollbar-width: none !important;
}
.block-header-layout-desktop .block-header-item__dropdown-area::-webkit-scrollbar,
.block-header-layout-desktop .block-header-item__dropdown-area *::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* ---------- Article listing cards ---------- */
.block-blog-list__empty-block { pointer-events: auto !important; }
.sk-articles-grid {
  pointer-events: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px; width: 100%; max-width: 1224px; margin: 0 auto; padding: 8px 16px 24px;
}
.sk-article-card {
  pointer-events: auto;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #ececf1; border-radius: 16px;
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 4px 14px rgba(20,10,50,.05);
  transition: transform .35s var(--sk-ease), box-shadow .35s var(--sk-ease);
}
.sk-article-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,10,50,.14); }
.sk-article-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #f4f4f7; }
.sk-article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sk-article-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.sk-article-card__tag {
  align-self: flex-start; font: 600 12px/1 Ubuntu, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sk-red); background: rgba(204,0,0,.08); padding: 6px 10px; border-radius: 999px;
}
.sk-article-card__title { font: 600 20px/1.3 Ubuntu, sans-serif; color: var(--sk-ink); margin: 2px 0 0; }
.sk-article-card__excerpt {
  font: 400 15px/1.6 Inter, sans-serif; color: #56585e; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sk-article-card__more { margin-top: 6px; font: 600 14px/1 Ubuntu, sans-serif; color: var(--sk-red); transition: letter-spacing .25s ease; }
.sk-article-card:hover .sk-article-card__more { letter-spacing: .03em; }

/* ---------- Hero slideshow: cross-fade ---------- */
.slideshow.sk-fade { position: relative; }
.slideshow.sk-fade .slide {
  top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s var(--sk-ease);
}
.slideshow.sk-fade .slide.sk-active { opacity: 1; }
.slideshow__dots { display: flex; gap: 9px; justify-content: center; position: relative; z-index: 3; }
.sk-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.55); transition: background-color .25s ease, transform .25s ease;
}
.sk-dot:hover { transform: scale(1.2); }
.sk-dot--active { background: var(--sk-red); transform: scale(1.15); }
.slideshow-nav-button { transition: transform .2s var(--sk-ease), opacity .2s ease; opacity: .85; z-index: 3; }
.slideshow-nav-button:hover { opacity: 1; transform: scale(1.12); }

/* ---------- Clients logos section + marquee ---------- */
.sk-clients-section {
  width: 100%;
  background: #ffffff;
  padding: 56px 0 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.sk-clients-title {
  margin: 0;
  padding: 0 20px;
  font: 600 14px/1 Ubuntu, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a8796;
  text-align: center;
}
.sk-marquee-host {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 150px !important;
  width: 100% !important;
}
.sk-marquee {
  width: 100%;
  overflow: hidden;
  display: block;
  /* No edge fade — logos stay fully visible and scroll continuously */
  -webkit-mask-image: none;
  mask-image: none;
}
.sk-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: sk-scroll 40s linear infinite;
  will-change: transform;
}
.sk-marquee:hover .sk-marquee__track { animation-play-state: paused; }
.sk-marquee__item {
  flex: 0 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  overflow: visible;
}
.sk-marquee__item img {
  height: 96px;
  width: auto;
  max-width: none;
  max-height: 96px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .3s ease, opacity .3s ease;
}
.sk-marquee__item img:hover { filter: none; opacity: 1; }
@keyframes sk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Lightbox (Our Work) ---------- */
.grid-gallery .image--zoom { cursor: zoom-in; }
.sk-lightbox {
  position: fixed; inset: 0; z-index: 99999; background: rgba(15,10,30,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.sk-lightbox.is-open { opacity: 1; visibility: visible; }
.sk-lightbox__img {
  max-width: 88vw; max-height: 86vh; object-fit: contain; border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.96); transition: transform .3s var(--sk-ease);
}
.sk-lightbox.is-open .sk-lightbox__img { transform: scale(1); }
.sk-lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, transform .2s var(--sk-ease);
}
.sk-lb-btn:hover { background: rgba(255,255,255,.28); }
.sk-lb-prev { left: 3vw; } .sk-lb-next { right: 3vw; }
.sk-lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.sk-lb-next:hover { transform: translateY(-50%) translateX(3px); }
.sk-lb-close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; font-size: 22px; }
.sk-lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font: 500 14px/1 Inter, sans-serif; opacity: .85; }
@media (max-width: 700px) { .sk-lb-btn { width: 44px; height: 44px; font-size: 20px; } .sk-lb-prev { left: 8px; } .sk-lb-next { right: 8px; } }

/* ---------- Contact page map: full-width, grey, bulb marker ---------- */
.sk-contact-map-section {
  background: #e8e8ee !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  display: block !important;
  position: relative !important;
  overflow: visible !important;
}
.sk-contact-map {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: visible;
}
.sk-contact-map iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(1.02);
  -webkit-filter: grayscale(1) contrast(1.05) brightness(1.02);
}
/* Full bulb including black base — tip sits on the map point */
.sk-map-bulb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  width: 56px;
  height: auto;
  max-width: none;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)) !important;
  -webkit-filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)) !important;
}
@media (max-width: 700px) {
  .sk-contact-map iframe { height: 340px; }
  .sk-map-bulb { width: 46px; }
}

/* Homepage lead: no slide-up entrance on first hero blocks */
.transition.sk-no-slide,
.transition.sk-no-slide[data-animation-state],
.transition.sk-no-slide [data-animation-role],
.transition.sk-no-slide [data-animation-role][data-animation-state] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ---------- Form thank-you message ---------- */
.sk-form-thanks {
  max-width: 560px;
  margin: 24px auto;
  padding: 28px 26px;
  background: #f4f4f6;
  border: 1px solid #e2e2e8;
  text-align: center;
  font-family: Ubuntu, sans-serif;
}
.sk-form-thanks h3 {
  margin: 0 0 10px;
  font: 700 22px/1.25 Ubuntu, sans-serif;
  color: #1f1346;
}
.sk-form-thanks p {
  margin: 0;
  font: 400 15px/1.55 Inter, sans-serif;
  color: #56585e;
}
.sk-form-error {
  color: #cc0000;
  font: 500 14px/1.4 Ubuntu, sans-serif;
  margin: 12px 0;
  text-align: center;
}

/* ---------- Captcha ---------- */
.sk-captcha {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  margin: 18px 0 8px;
  font-family: Ubuntu, sans-serif;
}
.sk-captcha__label {
  font: 600 13px/1.2 Ubuntu, sans-serif;
  color: #1f1346;
  letter-spacing: .02em;
}
.sk-captcha__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sk-captcha__img {
  display: block;
  width: 160px;
  height: 52px;
  border: 1px solid #e2e2e8;
  background: #f4f4f6;
  cursor: pointer;
  border-radius: 0;
}
.sk-captcha__refresh {
  width: 40px;
  height: 40px;
  border: 1px solid #e2e2e8;
  background: #fff;
  color: #1f1346;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.sk-captcha__refresh:hover {
  background: #efefef;
  color: #cc0000;
}
.sk-captcha__input {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d8d8de;
  background: #fff;
  font: 500 15px/1 Ubuntu, sans-serif;
  color: #1f1346;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sk-captcha__input:focus {
  outline: 2px solid rgba(204,0,0,.25);
  border-color: #cc0000;
}
.sk-captcha__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------- Responsiveness ---------- */
@media (max-width: 600px) {
  .sk-articles-grid { grid-template-columns: 1fr; gap: 20px; }
  .sk-clients-section { padding: 40px 0 46px; gap: 20px; }
  .sk-marquee-host { min-height: 120px !important; }
  .sk-marquee__item { padding: 0 28px; height: 100px; }
  .sk-marquee__item img { height: 72px; max-width: none; max-height: 72px; }
}
