[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  z-index: 110;
  top: .5rem;
  left: .5rem;
  transform: translateY(-150%);
  border-radius: .4rem;
  padding: .75rem 1rem;
  background: var(--color-brand);
  color: #fff;
}
.skip-link:focus { transform: translateY(0); color: #fff; }
#main-content { scroll-margin-top: var(--header-height); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgb(255 255 255 / 96%);
  transition: background .25s var(--ease-standard), border-color .25s var(--ease-standard), box-shadow .25s var(--ease-standard);
}
.site-header.is-scrolled {
  border-color: var(--color-line);
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 8px 28px rgb(17 17 17 / 5%);
}
.site-header-inner { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); min-height: var(--header-height); }
.site-header-fallback { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem clamp(1rem, 2vw, 2rem); min-height: var(--header-height); padding-block: .5rem; }
.site-header-fallback nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .25rem 1rem; }
.site-header-fallback nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .89rem; font-weight: 600; text-decoration: none; }
.site-logo { flex: none; width: 116px; height: 42px; overflow: hidden; background: transparent url('/assets/images/brand/fjaka-logo.png') left center / contain no-repeat; color: transparent; font-size: 0; line-height: 1; text-decoration: none; }
.site-logo:hover { color: var(--color-brand-dark); }
.desktop-nav { flex: 1; min-width: 0; }
.desktop-nav > ul { display: flex; align-items: center; justify-content: center; gap: clamp(.65rem, 1.4vw, 1.65rem); list-style: none; }
.desktop-nav li { list-style: none; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-size: .89rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--color-brand); }
.nav-item--dropdown { position: relative; display: flex; align-items: center; }
.dropdown-toggle { display: grid; place-items: center; min-width: 32px; min-height: 44px; margin-left: .1rem; border: 0; background: transparent; }
.dropdown-toggle span, .accordion-toggle span { display: block; font-size: 1.3rem; line-height: 1; transition: transform .2s var(--ease-standard); }
.dropdown-toggle[aria-expanded="true"] span, .accordion-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute;
  top: calc(100% + .75rem);
  left: -.75rem;
  width: min(310px, 80vw);
  border: 1px solid var(--color-line);
  border-radius: .85rem;
  padding: .5rem;
  background: var(--color-surface);
  box-shadow: 0 18px 48px rgb(17 17 17 / 12%);
}
.dropdown-panel ul { display: grid; gap: .1rem; list-style: none; }
.dropdown-panel a { display: flex; min-height: 44px; padding: .5rem .75rem; border-radius: .45rem; white-space: normal; }
.dropdown-panel a:hover, .dropdown-panel a:focus-visible { background: var(--color-surface-soft); }
.language-switcher { display: flex; align-items: center; gap: .15rem; }
.language-switcher button { min-width: 36px; min-height: 44px; border: 0; border-radius: .35rem; padding: .25rem .35rem; background: transparent; color: var(--color-muted); font-size: .8rem; font-weight: 700; }
.language-switcher button:hover, .language-switcher button[aria-pressed="true"] { background: var(--color-surface-soft); color: var(--color-brand); }
.mobile-menu-toggle, .mobile-drawer { display: none; }
.is-drawer-open { overflow: hidden; }

.button, .btn, .cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: .45rem;
  padding: .75rem 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background .2s var(--ease-standard), color .2s var(--ease-standard), transform .2s var(--ease-standard);
}
.button:hover, .btn:hover, .cta-link:hover { transform: translateY(-2px); }
.button--primary, .btn--primary { background: var(--color-brand); color: #fff; }
.button--primary:hover, .btn--primary:hover { background: var(--color-brand-dark); color: #fff; }
.button--secondary, .button--outline, .btn--secondary { border-color: var(--color-ink); background: transparent; color: var(--color-ink); }
.button--secondary:hover, .button--outline:hover, .btn--secondary:hover { background: var(--color-ink); color: #fff; }
.button--light { background: #fff; color: var(--color-ink); }
.button--light:hover { background: var(--color-surface-soft); color: var(--color-ink); }

.section-heading { display: grid; gap: .85rem; max-width: 760px; margin-bottom: clamp(2rem, 4vw, 4rem); }
.section-heading p, .section-intro { color: var(--color-muted); font-size: clamp(1rem, 1.3vw, 1.18rem); }
.breadcrumb, .breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; list-style: none; color: var(--color-muted); font-size: .88rem; }
.breadcrumb a, .breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumb a:hover, .breadcrumbs a:hover { color: var(--color-brand); }
.breadcrumb li + li::before, .breadcrumbs li + li::before { content: '/'; margin-right: .5rem; color: #a4a8af; }

.category-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; padding: .25rem .1rem .75rem; }
.category-tab { flex: none; min-height: 44px; border: 1px solid var(--color-line); border-radius: 100px; padding: .55rem 1.25rem; background: #fff; font-size: .9rem; font-weight: 700; white-space: nowrap; scroll-snap-align: start; }
.category-tab:hover, .category-tab.is-active, .category-tab[aria-selected="true"] { border-color: var(--color-brand); background: var(--color-brand); color: #fff; }
.product-grid, .article-grid, .feature-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-grid, .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-rail { display: grid; grid-auto-columns: minmax(265px, 31%); grid-auto-flow: column; gap: 1.25rem; overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x mandatory; }
.product-rail > * { scroll-snap-align: start; }
.product-card, .article-card, .feature-card, .testimonial-card { min-width: 0; overflow: hidden; border-radius: var(--radius-card); background: var(--color-surface-soft); }
.product-card, .article-card { display: flex; flex-direction: column; color: var(--color-ink); text-decoration: none; transition: transform .25s var(--ease-standard), box-shadow .25s var(--ease-standard); }
.product-card:hover, .article-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgb(17 17 17 / 7%); color: var(--color-ink); }
.product-card-media, .article-card-media { display: block; overflow: hidden; width: 100%; aspect-ratio: 4 / 3; background: #e9ecf1; }
.product-card-media img, .article-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-standard); }
.product-card:hover img, .article-card:hover img { transform: scale(1.035); }
.product-card-body, .article-card-body { display: grid; align-content: start; gap: .7rem; flex: 1; padding: clamp(1.1rem, 2vw, 1.6rem); }
.product-card h3, .article-card h3, .feature-card h3 { font-size: clamp(1.2rem, 1.8vw, 1.65rem); }
.product-card p, .article-card p, .feature-card p { color: var(--color-muted); }
.article-card h3 a { text-decoration: none; }
.article-card-category { color: var(--color-brand); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-card time { color: var(--color-muted); font-size: .85rem; }
.card-link-label { align-self: end; margin-top: auto; padding-top: .35rem; color: var(--color-brand); font-size: .9rem; font-weight: 800; text-decoration: none; }
.feature-card, .testimonial-card { padding: clamp(1.5rem, 2.5vw, 2.4rem); }
.feature-card { display: grid; align-content: start; gap: 1rem; min-height: 230px; }
.testimonial-card blockquote { font-size: clamp(1.15rem, 1.6vw, 1.55rem); line-height: 1.45; }
.testimonial-card cite { display: block; margin-top: 1.25rem; color: var(--color-muted); font-size: .9rem; font-style: normal; }
.logo-wall, .certification-wall, .partner-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.logo-wall > *, .certification-wall > *, .partner-wall > * { display: grid; place-items: center; min-height: 110px; border: 1px solid var(--color-line); border-radius: .6rem; padding: 1.1rem; background: #fff; text-align: center; }
.logo-wall img, .certification-wall img, .partner-wall img { max-width: 100%; max-height: 70px; object-fit: contain; }
.specifications-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--color-line); border-radius: .75rem; }
.specifications-table { width: 100%; min-width: 500px; border-collapse: collapse; text-align: left; }
.specifications-table th, .specifications-table td { border-bottom: 1px solid var(--color-line); padding: 1rem 1.2rem; vertical-align: top; }
.specifications-table tr:last-child th, .specifications-table tr:last-child td { border-bottom: 0; }
.specifications-table th { position: sticky; left: 0; width: 38%; background: var(--color-surface-soft); font-weight: 700; }
.empty-state, .not-found { display: grid; place-content: center; gap: 1.25rem; min-height: 45vh; padding-block: 5rem; text-align: center; }
.empty-state p, .not-found p { color: var(--color-muted); }
.empty-state .button, .not-found .button { justify-self: center; }

.site-footer { background: #101724; color: #fff; }
.site-footer-inner { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.3fr); column-gap: clamp(2rem, 6vw, 7rem); row-gap: 3rem; padding-block: clamp(4rem, 6vw, 6rem) 1.5rem; }
.site-footer .site-logo { width: 132px; background-color: transparent; }
.footer-brand p { max-width: 320px; margin-top: 1.5rem; color: #b5bdca; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.footer-links h2 { margin-bottom: 1rem; font-size: .95rem; letter-spacing: 0; }
.footer-links ul { display: grid; gap: .65rem; list-style: none; }
.footer-links a { color: #b5bdca; font-size: .87rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / 18%); padding-top: 1.4rem; color: #9da8b8; font-size: .8rem; }
.noscript-notice { padding: 1rem; background: #fff3cd; color: #382f0f; text-align: center; }

/* Content is visible by default; JavaScript only hides observed entrances. */
[data-reveal].reveal-pending { opacity: 0; transform: translateY(24px); }
[data-reveal].is-visible { animation: reveal-fade-up 1s ease both; animation-delay: var(--reveal-delay, 0ms); }
[data-reveal]:focus-within { opacity: 1; transform: none; animation: none; }
@keyframes reveal-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-pending, [data-reveal].is-visible { opacity: 1; transform: none; animation: none; }
}
