/* Sigma Promet — plain CSS on purpose: no Vite/npm build, so deploying to
   cPanel is a file copy. Palette sampled from the company logo. */
:root {
  --blue: #1b9ad6;
  --blue-dark: #1379ab;
  --orange: #f78f1e;
  --orange-bright: #fbae17;
  --ink: #163444;
  --ink-soft: #4c5f6b;
  --bg: #fff;
  --bg-alt: #f4f8fb;
  --line: #dfe8ee;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(22, 52, 68, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-soft); }
.empty-note { margin-top: 24px; }

/* header — one slim row on phones: logo, language, menu button. The links
   fold into a panel below it. Without JS (.js missing) they simply wrap. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { margin-right: auto; }
.brand-logo { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav a[aria-current="page"] { font-weight: 600; }
.main-nav .btn-shop { border: 2px solid var(--orange); color: var(--orange); padding: 7px 16px; }
.main-nav .btn-shop:hover { background: var(--orange); color: #fff; }

.lang-switcher {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px;
}
.lang { padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); }
.lang-active { background: var(--blue); color: #fff; }

.nav-toggle { display: none; }

/* desktop: logo | links | language */
@media (min-width: 861px) {
  .header-inner { flex-wrap: nowrap; }
  .main-nav { order: 2; }
  .lang-switcher { order: 3; }
}
/* small laptops and tablets in landscape: seven links + shop must still fit
   on one row, so everything tightens a little before the burger takes over */
@media (min-width: 861px) and (max-width: 1100px) {
  .header-inner { column-gap: 12px; }
  .brand-logo { height: 38px; }
  .main-nav { gap: 13px; flex-wrap: nowrap; }
  .main-nav a { font-size: 0.88rem; white-space: nowrap; }
  .main-nav .btn-shop { padding: 6px 11px; }
  .lang { padding: 3px 8px; }
}

@media (max-width: 860px) {
  .header-inner { padding-top: 8px; padding-bottom: 8px; column-gap: 8px; }
  /* logo, language, search and menu must share one row even at 320px: the
     logo may shrink (line-breaking uses its 96px basis) and grows back to
     full size whenever there is room */
  .brand { flex: 1 1 96px; max-width: 150px; min-width: 0; }
  .brand-logo { height: auto; max-height: 36px; width: 100%; object-fit: contain; object-position: left center; }

  .js .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px;   /* 44px: minimum comfortable tap target */
    border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  }
  .nav-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
  .nav-toggle-bar {
    display: block; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
  }
  /* bars morph into an X while open */
  .nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* the panel: full-width row under the bar, big tap targets */
  .js .main-nav {
    display: none; flex-basis: calc(100% + 48px);   /* bleed past the container padding */
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 4px -24px -8px; padding: 6px 24px 16px;
    border-top: 1px solid var(--line); background: #fff;
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .js.nav-open .main-nav { display: flex; }
  .js .main-nav a { padding: 12px 0; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .js .main-nav .btn-shop { margin-top: 14px; padding: 12px; text-align: center; border-bottom: 2px solid var(--orange); }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle-bar { transition: none; } }

/* buttons */
.btn { display: inline-block; padding: 11px 22px; border-radius: 999px; font-weight: 600; }
.btn-primary {
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  color: #fff;
  box-shadow: 0 4px 14px rgba(247, 143, 30, 0.35);
}
.btn-ghost { border: 2px solid var(--blue); color: var(--blue-dark); }
.btn-ghost:hover { background: var(--blue); color: #fff; }

/* hero */
.hero {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(247, 143, 30, 0.16), transparent),
    radial-gradient(700px 300px at 10% 110%, rgba(27, 154, 214, 0.14), transparent),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding: 88px 24px 80px; max-width: 820px; margin: 0 auto; text-align: center; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem;
  color: var(--ink); font-weight: 700; margin-bottom: 14px;
}
/* blue-dark, not --blue: the lighter brand blue is 2.96:1 on the hero
   background, under the 3:1 minimum even for large text; this is 4.5:1 */
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.14; letter-spacing: -0.02em; color: var(--blue-dark); }
.hero .accent { color: var(--orange); }
.hero-lead { margin: 20px auto 28px; max-width: 640px; color: var(--ink-soft); font-size: 1.08rem; }

/* sections */
.section { padding: 68px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-top { padding-top: 48px; }
.section-title { font-size: 1.75rem; letter-spacing: -0.01em; margin-bottom: 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.link-more { font-weight: 600; }

/* categories */
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-top: 12px;
}
.category-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; color: var(--ink); font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.category-card:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow); }
.category-img { display: block; aspect-ratio: 16/9; background: var(--bg-alt); overflow: hidden; }
.category-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.category-card:hover .category-img img { transform: scale(1.05); }
.category-body { display: block; padding: 14px 18px 16px; }
.category-sub { display: block; margin-top: 6px; font-size: 0.78rem; font-weight: 400; color: var(--ink-soft); }

/* products */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; margin-top: 24px;
}
.product-card {
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product-img { aspect-ratio: 4/3; background: var(--bg-alt); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder { display: grid; place-items: center; height: 100%; font-size: 3rem; color: var(--line); }
.product-body { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.product-cat {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--blue);
}
.product-body h3 { font-size: 1rem; line-height: 1.35; }
.product-price { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--orange); }

/* filter chips */
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 6px; }
.chip {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 0.9rem; font-weight: 500;
}
.chip:hover { border-color: var(--blue); color: var(--blue-dark); }
.chip-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-chips-sub {
  margin-top: 0; padding: 10px 14px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.chip-child { border-style: dashed; color: var(--blue-dark); }

/* product detail */
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
/* photos and tables on the left, title / description / inquiry on the right;
   on phones: photos, info, tables */
.product-detail {
  display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 40px; row-gap: 8px; align-items: start;
  grid-template-areas: "gallery info" "tables info";
  grid-template-rows: auto 1fr;
}
.product-detail .product-gallery { grid-area: gallery; }
.product-detail .product-info { grid-area: info; }
.product-detail .product-tables { grid-area: tables; min-width: 0; }
.product-tables .variants-title:first-child { margin-top: 18px; }
.specs-props th[scope="row"] { width: 38%; font-weight: 600; color: var(--ink); background: var(--bg-alt); }
.product-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.product-info h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; }
.detail-price { margin: 10px 0 18px; font-size: 1.2rem; font-weight: 700; color: var(--orange); }
.product-description { color: var(--ink-soft); }
.variants-title { font-size: 1.05rem; margin: 26px 0 10px; }
.table-scroll { overflow-x: auto; }
.variants-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.variants-table th, .variants-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.variants-table thead th { background: var(--bg-alt); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.variant-action { text-align: right; }
.stock { font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.stock-in_stock { background: #e6f6ec; color: #17703a; }
.stock-on_request { background: #fff4e2; color: #a15c05; }
.stock-out_of_stock { background: #f6e7e7; color: #93321f; }
.product-info .btn { margin-top: 24px; }
.related-title { margin-top: 56px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.about-grid p { color: var(--ink-soft); }
.cert-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cert-box h3 { margin-bottom: 10px; }
.cert-box p { font-size: 0.92rem; }
.cert-box .btn { margin-top: 16px; font-size: 0.9rem; }

/* contact page */
.contact-head { margin-bottom: 28px; }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.contact-card, .contact-info {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.contact-card { background: #fff; box-shadow: var(--shadow); }
.contact-info { background: var(--bg-alt); }
.contact-card-title { font-size: 1.15rem; margin-bottom: 18px; }
.contact-company { font-weight: 700; margin-bottom: 14px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; }
.req { color: var(--orange); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field textarea:hover { border-color: #c3d3dd; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 154, 214, 0.18);
}
.field [aria-invalid="true"] { border-color: #c0392b; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-actions .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.form-actions .btn:hover { filter: brightness(1.05); }
.form-note { font-size: 0.82rem; }
/* honeypot: off-screen rather than display:none, which some bots skip */
.hp { position: absolute; left: -9999px; }

.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 0.92rem; }
.alert ul { padding-left: 18px; }
.alert-ok { background: #e6f6ec; color: #17703a; border: 1px solid #bfe5cc; }
.alert-error { background: #fbeceb; color: #93321f; border: 1px solid #f0c9c4; }

.info-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.info-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
}
.info-item a { color: var(--ink); font-weight: 500; }
.info-item a:hover { color: var(--blue); }

@media (max-width: 860px) {
  .contact-grid, .field-row { grid-template-columns: 1fr; }
  .contact-card, .contact-info { padding: 22px; }
}

/* posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.post-card {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform 0.15s, box-shadow 0.15s;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-body { padding: 18px; }
.post-body time { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.post-body h3 { margin: 6px 0 8px; font-size: 1.05rem; line-height: 1.35; }
.post-body p { color: var(--ink-soft); font-size: 0.9rem; }

/* article */
.article { max-width: 760px; }
.link-back { font-weight: 600; display: inline-block; margin-bottom: 16px; }
.article-title { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.2; margin-bottom: 8px; }
.article-hero { margin: 22px 0; border-radius: var(--radius); }
.article-body { margin-top: 18px; font-size: 1.03rem; }

.pagination-wrap { margin-top: 32px; }
.pagination-wrap svg { width: 16px; height: 16px; display: inline; }

/* footer */
.site-footer { background: #0e3a52; color: #c6d9e5; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 44px 24px 22px; }
.site-footer h3, .site-footer h4 { color: #fff; margin-bottom: 10px; }
.site-footer a { color: #fbae17; }
.site-footer .muted { color: #7fa2b8; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 24px; font-size: 0.85rem; color: #7fa2b8;
}

@media (max-width: 860px) {
  .product-detail, .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-areas: "gallery" "info" "tables"; grid-template-rows: auto; row-gap: 24px; }
  .hero-inner { padding: 60px 24px 54px; }
}

/* ------------------------------------------------------------------ *
 * Landing page: product showcase, about, popup
 * ------------------------------------------------------------------ */

.section-lead { max-width: 60ch; margin-bottom: 4px; }

/* Product showcase on the home page — each card links to the product page. */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin: 26px 0 34px;
}
.showcase-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.showcase-img { aspect-ratio: 4/3; background: var(--bg-alt); overflow: hidden; }
.showcase-img img { width: 100%; height: 100%; object-fit: cover; }
.showcase-card {
  display: flex; flex-direction: column; color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.showcase-card:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow); }
.showcase-card:hover .showcase-name { color: var(--blue-dark); }
.showcase-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.showcase-img { display: block; }
.showcase-img img { transition: transform 0.25s; }
.showcase-card:hover .showcase-img img { transform: scale(1.04); }
.showcase-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
@media (prefers-reduced-motion: reduce) {
  .showcase-card, .showcase-img img { transition: none; }
  .showcase-card:hover, .showcase-card:hover .showcase-img img { transform: none; }
}
.showcase-cat {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
}
.showcase-name { font-weight: 600; line-height: 1.35; }

.shop-cta {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; padding: 30px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.shop-cta p { color: var(--ink-soft); max-width: 48ch; margin: 0; }
.btn-lg { padding: 14px 30px; font-size: 1.02rem; }

/* about page */
.narrow-prose { max-width: 760px; }
.prose { color: var(--ink-soft); font-size: 1.03rem; }
.prose + .btn { margin-top: 18px; }
.sub-title { font-size: 1.25rem; margin: 40px 0 12px; }
.fact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 34px 0; }
.fact {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: center;
}
.fact-value { display: block; font-size: 1.7rem; font-weight: 700; color: var(--blue-dark); line-height: 1.1; }
.fact-label { display: block; margin-top: 4px; font-size: .84rem; color: var(--ink-soft); }
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 42px; }

/* news popup */
body.popup-open { overflow: hidden; }
.news-popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.news-popup[hidden] { display: none; }
.news-popup-backdrop { position: absolute; inset: 0; background: rgba(14, 58, 82, .55); backdrop-filter: blur(2px); }
.news-popup-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(9, 33, 48, .35);
  animation: popup-in .28s ease-out;
}
@keyframes popup-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .news-popup-card { animation: none; } }

.news-popup-close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .9); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.news-popup-close:hover { background: #fff; color: var(--orange); }
.news-popup-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.news-popup-img img { width: 100%; height: 100%; object-fit: cover; }
.news-popup-body { padding: 24px 26px 26px; }
.news-popup-eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.news-popup-body h2 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 6px; }
.news-popup-body p { color: var(--ink-soft); margin-top: 10px; }
.news-popup-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* quick-contact button — floating, bottom-right on every page.
   z-index sits below the news popup (100) so a modal always covers it. */
.quick-contact {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.quick-contact-toggle {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  box-shadow: 0 6px 20px rgba(247, 143, 30, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}
.quick-contact-toggle:hover { transform: scale(1.06); box-shadow: 0 8px 26px rgba(247, 143, 30, 0.55); }
.quick-contact-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.qc-icon-close { display: none; }
.quick-contact.is-open .qc-icon-phone { display: none; }
.quick-contact.is-open .qc-icon-close { display: block; }
.quick-contact.is-open .quick-contact-toggle { background: var(--ink); box-shadow: var(--shadow); }

.quick-contact-panel {
  width: min(300px, calc(100vw - 40px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(9, 33, 48, 0.22);
  padding: 20px 20px 18px;
  animation: popup-in 0.2s ease-out;
}
.quick-contact-panel[hidden] { display: none; }
.quick-contact-title { font-weight: 700; margin-bottom: 12px; }
.quick-contact-panel .info-label { display: block; margin-top: 4px; }
.quick-contact-list { list-style: none; margin: 4px 0 12px; }
.quick-contact-list a { display: block; padding: 4px 0; color: var(--ink); font-weight: 500; }
.quick-contact-list a:hover { color: var(--blue); }
.quick-contact-cta { display: block; text-align: center; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .quick-contact-panel { animation: none; } }

/* "IT services provided by" credit in the footer bottom bar. The logo keeps a
   white tile behind it: its blue reads poorly straight on the dark footer. */
/* stacked and left-aligned: the floating phone button owns the bottom-right corner */
.footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer a.it-credit { display: inline-flex; align-items: center; gap: 10px; color: #7fa2b8; font-size: 0.82rem; }
.site-footer a.it-credit strong { color: #c6d9e5; font-weight: 600; }
.site-footer a.it-credit:hover strong { color: #fff; }
.it-credit img { width: 29px; height: 32px; padding: 3px; box-sizing: content-box; background: #fff; border-radius: 7px; }
/* on phones the credit line is long enough to run under the phone button */
@media (max-width: 860px) { .footer-bottom { padding-right: 96px; } }

/* fields of work (top-level categories) — each card opens the shop */
.field-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px; margin-top: 24px;
}
.field-card {
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.field-card:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow); }
.field-img { display: block; aspect-ratio: 16/10; background: var(--bg-alt); overflow: hidden; }
.field-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.field-card:hover .field-img img { transform: scale(1.05); }
.field-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.field-name { font-weight: 700; font-size: 1.05rem; }
.field-subs { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.45; }
.field-link { margin-top: auto; padding-top: 6px; font-size: 0.85rem; font-weight: 600; color: var(--blue-dark); }
@media (prefers-reduced-motion: reduce) {
  .field-card, .field-img img { transition: none; }
  .field-card:hover { transform: none; }
  .field-card:hover .field-img img { transform: none; }
}

/* about page */
.about-lead { font-size: 1.1rem; color: var(--ink); }
.prose p + p { margin-top: 12px; }
.sub-title-first { margin-top: 0; }
.director-quote {
  margin: 36px 0 8px; padding: 26px 28px;
  background: var(--bg-alt); border-left: 4px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0;
}
.director-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.director-quote blockquote { font-size: 1.12rem; line-height: 1.55; font-style: italic; }
.director-name { margin-top: 12px; font-weight: 600; color: var(--ink-soft); }

.cert-timeline { list-style: none; margin: 22px 0 24px; border-left: 2px solid var(--line); padding-left: 22px; }
.cert-timeline li { position: relative; padding-bottom: 18px; }
.cert-timeline li:last-child { padding-bottom: 0; }
.cert-timeline li::before {
  content: ""; position: absolute; left: -29px; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 3px #fff;
}
.cert-date { display: block; font-size: 0.78rem; font-weight: 700; color: var(--blue); letter-spacing: 0.04em; }
.cert-timeline p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 2px; }

/* registered company details (About page) */
.company-details {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; margin: 4px 0 8px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.company-details > div { background: #fff; padding: 14px 18px; }
.company-details > div:first-child { grid-column: 1 / -1; }
.company-details dt {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
}
.company-details dd { margin-top: 2px; font-weight: 500; }
.company-details .hours-in-details > div { max-width: 210px; }
.company-details .hours-in-details dt { font-size: inherit; letter-spacing: normal; text-transform: none; color: var(--ink); font-weight: 600; }

/* footer ids + contact extras */
.site-footer .footer-ids { font-size: 0.85rem; color: #7fa2b8; }
.info-small { font-size: 0.82rem; font-weight: 600; margin-top: 4px; }
.info-item.info-ids { flex-direction: row; gap: 16px; font-size: 0.85rem; color: var(--ink-soft); }

/* map: 16:9 box on desktop, taller on phones where width is scarce */
.map-block { margin-top: 36px; }
.map-frame {
  /* no min-height: with aspect-ratio it becomes a min-width and overflows phones */
  position: relative; aspect-ratio: 16 / 7;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .map-frame { aspect-ratio: 4 / 3; } }

/* gallery: small tiles on purpose — the source photos are low resolution */
.gallery-grid {
  list-style: none; display: grid; gap: 12px; margin-top: 24px;
  /* fixed counts so the 8 photos fill even rows: 2 on phones, 4 on desktop */
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--line); background: var(--bg-alt);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.lightbox {
  padding: 0; border: 0; background: transparent;
  max-width: min(1200px, 94vw); max-height: 92vh; margin: auto; overflow: visible;
}
.lightbox::backdrop { background: rgba(9, 33, 48, 0.82); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; border-radius: 10px; margin: 0 auto; }
.lightbox figcaption { color: #fff; text-align: center; font-size: 0.92rem; margin-top: 10px; }
.lightbox-close {
  position: absolute; top: -14px; right: -14px; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
@media (prefers-reduced-motion: reduce) { .gallery-item img { transition: none; } }

/* maintenance preview badge — bottom-left, clear of the phone button */
.maintenance-badge {
  position: fixed; left: 16px; bottom: 20px; z-index: 95;
  display: inline-flex; align-items: center; gap: 8px;
  max-width: calc(100vw - 110px);
  padding: 8px 14px; border-radius: 999px;
  background: #93321f; color: #fff; font-size: 0.8rem; font-weight: 600; line-height: 1.3;
  box-shadow: 0 6px 18px rgba(9, 33, 48, 0.3);
}
.maintenance-badge-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-bright); }

/* certificate shown as an image (About page), PDF stays the download */
.cert-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.cert-figure { margin: 0; }
.cert-image {
  display: block; aspect-ratio: auto; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  box-shadow: 0 6px 22px rgba(22, 52, 68, 0.14);
}
.cert-image img { width: 100%; height: auto; object-fit: initial; }
.cert-figure figcaption { margin-top: 8px; text-align: center; font-size: 0.8rem; color: var(--ink-soft); }
.cert-layout .cert-timeline { margin-top: 18px; }
@media (max-width: 640px) {
  .cert-layout { grid-template-columns: 1fr; }
  /* explicit width: with auto margins a grid item shrinks to its (percentage-sized) image */
  .cert-figure { width: 100%; max-width: 260px; margin: 0 auto; }
}

/* home page certificate box: small thumbnail linking to the About section */
.cert-thumb {
  display: block; width: 120px; margin: 4px 0 14px;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff;
  box-shadow: 0 4px 14px rgba(22, 52, 68, 0.12); transition: transform 0.15s;
}
.cert-thumb:hover { transform: translateY(-2px); }
.cert-thumb img { width: 100%; height: auto; }

/* ---- catalogue: the full range, as the old site listed it ---------------- */
.cat-tree {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem 2rem;
    margin: 2rem 0 2.5rem;
}
.cat-tree-branch { break-inside: avoid; }
.cat-tree-top {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 .6rem;
    padding-bottom: .45rem;
    border-bottom: 2px solid var(--blue);
}
.cat-tree-top a { color: var(--ink); text-decoration: none; }
.cat-tree-top a:hover { color: var(--blue); }
.cat-tree-list, .cat-tree-sub { list-style: none; margin: 0; padding: 0; }
.cat-tree-list > li { margin: 0 0 .4rem; }
.cat-tree-child {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: .94rem;
}
.cat-tree-child:hover { color: var(--blue); }
.cat-tree-sub {
    margin: .2rem 0 .6rem .85rem;
    padding-left: .75rem;
    border-left: 1px solid var(--line);
}
.cat-tree-sub li { margin: .15rem 0; }
.cat-tree-sub a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: .86rem;
}
.cat-tree-sub a:hover { color: var(--blue); text-decoration: underline; }
.cat-all-title { margin-top: 2.5rem; }

@media (max-width: 600px) {
    .cat-tree { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ---- pagination ---------------------------------------------------------
   Replaces Laravel's Tailwind paginator, whose utility classes do nothing
   here. Shares the pill vocabulary of .chip so it reads as one system.      */
.pagination { margin-top: 32px; }
.pagination-count {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: var(--ink-soft);
}
.pagination-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.page-link {
    display: inline-block;
    padding: 7px 14px;
    min-width: 40px;
    text-align: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
a.page-link:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.page-current {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    font-weight: 600;
}
.page-disabled {
    color: #a8bac6;
    background: var(--bg-alt);
    cursor: not-allowed;
}
.page-dots {
    border-color: transparent;
    background: none;
    color: var(--ink-soft);
}

@media (max-width: 600px) {
    .page-link { padding: 7px 12px; min-width: 36px; font-size: 0.85rem; }
}

/* product videos: thumbnail first, YouTube player only after a click */
.product-videos { margin-top: 48px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 16px; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: #0e3a52; box-shadow: var(--shadow);
}
.video-frame iframe, .video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { display: block; cursor: pointer; }
/* hqdefault is 4:3 with letterbox bars; cover crops them away in the 16:9 frame */
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.2s; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-play svg { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)); transition: transform 0.15s; }
.video-facade:hover img, .video-facade:focus-visible img { filter: brightness(0.85); }
.video-facade:hover .video-play svg { transform: scale(1.08); }
.video-facade:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .video-play svg, .video-facade img { transition: none; } }

/* legal pages: side menu of the three documents + a readable text column */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 40px; align-items: start; }
.legal-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.legal-nav-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.legal-nav a { padding: 6px 10px; border-radius: 8px; color: var(--ink); font-size: 0.92rem; }
.legal-nav a:hover { background: #fff; }
.legal-nav a[aria-current="page"] { background: #fff; color: var(--blue-dark); font-weight: 600; box-shadow: 0 1px 4px rgba(22, 52, 68, 0.08); }
.legal-effective { color: var(--ink-soft); font-size: 0.9rem; margin: -6px 0 22px; }
.legal-text h2 { font-size: 1.2rem; color: var(--ink); margin: 30px 0 10px; }
.legal-text h3 { font-size: 1.02rem; color: var(--ink); margin: 20px 0 6px; }
.legal-text ul { margin: 8px 0 12px 20px; }
.legal-text li + li { margin-top: 4px; }
.legal-text code { font-size: 0.86em; background: var(--bg-alt); padding: 1px 6px; border-radius: 4px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 6px 0 10px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.legal-table thead th { background: var(--bg-alt); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; gap: 20px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .legal-nav-title { width: 100%; }
}

/* footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.85rem; }
.site-footer .footer-legal a { color: #c6d9e5; }
.site-footer .footer-legal a:hover { color: #fff; }

/* contact form privacy notice */
.form-privacy { font-size: 0.82rem; margin-top: -4px; }

/* click-to-load map (contact page) */
.map-facade {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 20px; text-align: center; color: var(--ink);
  background:
    radial-gradient(600px 240px at 80% 0%, rgba(27, 154, 214, 0.12), transparent),
    repeating-linear-gradient(45deg, #eef4f8 0 14px, #f4f8fb 14px 28px);
}
.map-facade-pin { color: var(--orange); }
.map-facade-address { font-weight: 600; }
.map-facade-note { font-size: 0.8rem; color: var(--ink-soft); }
.map-facade:hover .map-facade-btn { filter: brightness(1.05); }
.map-facade:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }

/* formatted descriptions (Sigmaprom\Core\Support\RichText) */
.rich-text { line-height: 1.65; }
.rich-text > * + * { margin-top: 12px; }
.rich-text h3 { font-size: 1.08rem; color: var(--ink); margin-top: 24px; line-height: 1.35; }
.rich-text ul, .rich-text ol { padding-left: 22px; }
.rich-text li + li { margin-top: 4px; }
.rich-text li::marker { color: var(--orange); }
.rich-text strong { color: var(--ink); }

/* product gallery: chosen photo large, thumbnails to pick, full-screen viewer */
.pg-stage {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt);
}
/* contain, not cover: show the whole photo, not a crop */
.pg-stage img { width: 100%; height: 100%; object-fit: contain; }
.pg-zoom {
  position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink);
  box-shadow: 0 2px 8px rgba(22, 52, 68, 0.2); transition: transform 0.15s;
}
.pg-stage:hover .pg-zoom { transform: scale(1.08); }
.pg-stage:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.pg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.pg-thumb {
  display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px;
  border: 2px solid transparent; background: var(--bg-alt); opacity: 0.75; transition: opacity 0.15s, border-color 0.15s;
}
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb:hover, .pg-thumb:focus-visible { opacity: 1; }
.pg-thumb[aria-current="true"] { opacity: 1; border-color: var(--blue); }
.pg-thumb:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.pg-viewer {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(9, 25, 36, 0.94); color: #fff; overflow: hidden;
}
.pg-viewer[open] { display: grid; place-items: center; }
.pg-viewer::backdrop { background: rgba(9, 25, 36, 0.94); }
.pg-viewer-img { max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; }
.pg-viewer-count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 0.9rem; opacity: 0.85; }
.pg-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 2rem; line-height: 1;
}
.pg-btn:hover { background: rgba(255, 255, 255, 0.28); }
.pg-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pg-close { top: 14px; right: 14px; font-size: 1.8rem; }
.pg-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.pg-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .pg-prev, .pg-next { top: auto; bottom: 8px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .pg-zoom, .pg-thumb { transition: none; } }

/* working hours (partials/working-hours) */
.hours { display: grid; gap: 2px; margin: 0; }
.hours > div { display: flex; gap: 14px; justify-content: space-between; max-width: 260px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours-compact { margin: 4px 0 12px; font-size: 0.92rem; }
.site-footer .footer-hours-title { margin: 14px 0 6px; font-size: 0.95rem; }
.hours-footer { font-size: 0.92rem; color: #c6d9e5; }
.hours-footer dt { color: #fff; font-weight: 500; }

/* ---- search ------------------------------------------------------------ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.search-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); flex: none;
}
.search-toggle:hover, .search-toggle[aria-expanded="true"] { border-color: var(--blue); color: var(--blue-dark); }
.search-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (min-width: 861px) { .search-toggle { order: 4; } }

.search-bar { border-top: 1px solid var(--line); background: #fff; padding: 12px 0 14px; position: relative; }
.search-bar[hidden] { display: none; }
.search-bar .container { position: relative; }
.search-bar-form, .search-page-form { display: flex; gap: 10px; align-items: center; }
.search-bar-form input, .search-page-form input {
  flex: 1; min-width: 0; padding: 11px 14px; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.search-bar-form input:focus, .search-page-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 154, 214, 0.18); }
.search-bar-form .btn, .search-page-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; flex: none; }
.search-bar-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-alt); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
@media (max-width: 560px) { .search-bar-submit { display: none; } }

.search-suggest {
  position: absolute; left: 24px; right: 24px; top: calc(100% + 6px); z-index: 60; list-style: none;
  max-height: min(70vh, 520px); overflow-y: auto; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(9, 33, 48, 0.18);
}
.search-suggest[hidden] { display: none; }
.search-suggest-group { padding: 10px 10px 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.search-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: var(--ink); }
.search-suggest [role="option"][aria-selected="true"] a, .search-suggest a:hover { background: var(--bg-alt); }
.search-suggest-img { flex: none; width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: var(--bg-alt); }
.search-suggest-img img { width: 100%; height: 100%; object-fit: cover; }
.search-suggest-text { display: flex; flex-direction: column; min-width: 0; }
.search-suggest-main { font-weight: 600; line-height: 1.3; }
.search-suggest-sub { font-size: 0.8rem; color: var(--ink-soft); }

/* results page */
.search-page-form { max-width: 640px; margin: 4px 0 14px; }
.search-note { margin-bottom: 8px; }
.search-group-title { font-size: 1.1rem; margin: 26px 0 12px; }
.search-categories { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.search-categories a {
  display: flex; flex-direction: column; padding: 10px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.search-categories a:hover { border-color: var(--blue); }
.search-cat-name { font-weight: 600; }
.search-cat-path { font-size: 0.78rem; color: var(--ink-soft); }
.search-empty { margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.search-empty p + p { margin-top: 8px; }
/* the narrowest phones (320–359px): a little less for the logo and the
   language buttons so search and menu still fit on the logo's row */
@media (max-width: 359px) {
  .brand { flex-basis: 80px; }
  .lang { padding: 3px 7px; }
}

/* careers */
.careers-heading { font-size: 1.25rem; margin: 8px 0 16px; }
.careers-empty {
  padding: 22px 24px; border: 1px dashed #c3d3dd; border-radius: var(--radius);
  background: var(--bg-alt); color: var(--ink-soft); max-width: 70ch;
}
/* a short list, so wide cards: photo left, details right */
.job-grid { display: flex; flex-direction: column; gap: 20px; }
.job-card {
  display: grid; grid-template-columns: minmax(240px, 340px) 1fr; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c3d3dd; }
.job-card-img {
  aspect-ratio: 3 / 2; overflow: hidden; height: 100%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}
.job-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.job-card:hover .job-card-img img { transform: scale(1.04); }
.job-card-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 24px 28px; }
.job-card-body h3 { font-size: 1.3rem; line-height: 1.3; }
.job-card-body > p { max-width: 62ch; }
.job-card-body > p { font-size: 0.93rem; }
.job-card-cta { padding-top: 4px; font-weight: 600; color: var(--blue); }
.job-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.job-facts li {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
}
.job-facts svg { color: var(--blue); flex: none; }

.careers-open { margin-top: 44px; max-width: 820px; }
.careers-open-lead { margin: -8px 0 20px; }

.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 6px;
}
.job-hero {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center;
  padding: 30px; margin-bottom: 36px; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--line);
}
.job-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.job-hero-text .article-title, .job-hero-text .section-lead { margin-bottom: 0; }
.job-hero-text .job-facts li { background: #fff; }
.job-hero-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.job-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.job-body h3 { font-size: 1.2rem; margin-top: 30px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.job-body h3:first-child { margin-top: 0; }
.job-apply {
  position: sticky; top: 88px; scroll-margin-top: 88px; padding: 20px 24px;
  /* if a short screen still can't fit it, scroll inside rather than hide the button */
  max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
}
.job-apply .contact-card-title { margin-bottom: 12px; }

/* the application form: compact, so the whole thing fits beside the posting */
.career-form { gap: 10px; }
.career-form .field-row { gap: 10px 12px; }
.career-form .field { gap: 4px; }
.career-form .field label, .career-form .field-label { font-size: 0.82rem; }
.career-form .field input, .career-form .field textarea { padding: 9px 12px; }
.career-form .field textarea { min-height: 60px; }
.career-form .input-suffix input { padding-right: 76px; }
.career-form .input-suffix span { font-size: 0.78rem; right: 12px; }
.career-form .file-drop { padding: 10px 14px; gap: 12px; }
.career-form .file-drop svg { width: 22px; height: 22px; }
.career-form .consent { font-size: 0.8rem; line-height: 1.45; }
.career-form .alert { margin-bottom: 0; }
.career-form .form-actions { margin-top: 0; gap: 12px; }
.career-form .btn-lg { padding: 11px 24px; font-size: 0.98rem; }
.career-form .form-note { font-size: 0.76rem; }

.field-label { font-size: 0.88rem; font-weight: 600; }
.field-hint { font-size: 0.8rem; color: var(--ink-soft); }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 56px; }
.input-suffix span {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); pointer-events: none;
}
.file-drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 2px dashed #c3d3dd; border-radius: 12px; background: var(--bg-alt);
  color: var(--blue); cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.file-drop:hover, .file-drop.drag { border-color: var(--blue); background: #eaf5fb; }
.file-drop:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 154, 214, 0.18); }
.file-drop.has-file { border-style: solid; border-color: #6cc08b; background: #eef9f2; color: #17703a; }
.file-drop[data-invalid] { border-color: #c0392b; }
.file-drop-text { display: flex; flex-direction: column; min-width: 0; }
.file-drop-text strong { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-drop-text small { color: var(--ink-soft); font-size: 0.8rem; }
/* the real input covers the box, so a tap anywhere opens the picker and
   the browser's own "please select a file" bubble still has an anchor */
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue); flex: none; }

@media (max-width: 960px) {
  .job-layout { grid-template-columns: 1fr; }
  .job-apply { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 760px) {
  .job-hero { grid-template-columns: 1fr; padding: 22px; gap: 22px; }
  .job-hero-img { order: -1; }
  .job-card { grid-template-columns: 1fr; }
  .job-card-img { height: auto; }
  .job-card-body { padding: 20px; }
  .career-form .field-row { grid-template-columns: 1fr; }
}

/* product inquiry: a disclosure under the description */
.inquiry { margin-top: 24px; }
.product-info .inquiry-toggle { margin-top: 0; }
.inquiry-toggle {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  list-style: none; user-select: none;
}
.inquiry-toggle::-webkit-details-marker { display: none; }
.inquiry[open] .inquiry-toggle { display: none; }
.inquiry-panel {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  background: #fff; box-shadow: var(--shadow);
  scroll-margin-top: 90px;
}
.inquiry[open] .inquiry-panel { animation: inquiry-in 0.18s ease-out; }
@keyframes inquiry-in { from { opacity: 0; transform: translateY(-4px); } }
.inquiry-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.inquiry-title { font-size: 1.1rem; margin-bottom: 4px; }
.inquiry-close {
  flex: none; width: 32px; height: 32px; margin: -6px -8px 0 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-soft); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.inquiry-close:hover { background: var(--bg-alt); color: var(--ink); }
.inquiry-lead { font-size: 0.9rem; margin-bottom: 14px; }
.inquiry-panel .alert:last-child { margin-bottom: 0; }
.inquiry-form { gap: 12px; }
.inquiry-form .field-row { gap: 12px; }
.inquiry-form .field label { font-size: 0.82rem; }
.inquiry-form .field input, .inquiry-form .field textarea, .inquiry-form .field select { padding: 9px 12px; }
.inquiry-form .field textarea { min-height: 76px; }
.field select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 154, 214, 0.18); }
.inquiry-form .form-actions { margin-top: 0; }
.inquiry-form .form-privacy { font-size: 0.78rem; }
@media (prefers-reduced-motion: reduce) { .inquiry[open] .inquiry-panel { animation: none; } }

/* ---- self-hosted product videos ---------------------------------------- */
.video-file { margin: 0; }
.video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.video-file figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* ---- videos inside the photo slider ------------------------------------ */
.pg-stage-wrap { position: relative; }
.pg-stage-video {
    display: block;
    width: 100%;
    background: #000;
    object-fit: contain;
}
.pg-stage-video[hidden], .pg-stage[hidden] { display: none; }
.pg-caption {
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
    min-height: 1.2em;
}
.pg-thumb { position: relative; }
.pg-thumb-blank {
    display: grid;
    place-items: center;
    width: 100%; height: 100%;
    background: var(--bg-alt);
    color: var(--line);
    font-weight: 700;
}
.pg-thumb-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(9, 25, 36, 0.35);
    pointer-events: none;
}
.pg-thumb-play svg {
    background: rgba(9, 25, 36, 0.72);
    border-radius: 999px;
    padding: 5px;
}
.pg-viewer-video {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 110px);
    border-radius: 6px;
    background: #000;
}
.pg-viewer-video[hidden], .pg-viewer-img[hidden] { display: none; }
