/* ============================================================
   custom-fork.css — modern home-page restyle for shop_CI3
   Loaded last in page.php, scoped under body.fork-theme.
   Does not touch upstream selectors that aren't already styled
   here; safe to remove (revert: drop the <link>, drop the
   body class).
   ============================================================ */

/* ---------- Design tokens — sophisticated industrial precision ----------
   Warm cream surfaces, deep authoritative blue (not royal/electric), copper accent
   used sparingly for warmth. Sharper edges, more confident typography.
*/
:root {
  /* Surfaces — warm whites, not cool grays */
  --fork-white:    #FFFFFF;
  --fork-cream-0:  #FAF7F0;        /* main warm bg for sections */
  --fork-cream-1:  #F3EEE2;        /* slightly deeper accent bg */
  --fork-surf-1:   var(--fork-cream-0);  /* legacy alias */
  --fork-surf-0:   var(--fork-white);
  --fork-surf-2:   var(--fork-cream-1);

  /* Ink — warm near-black, not blue-tinted */
  --fork-ink-0:    #131820;
  --fork-ink-1:    #3C4250;
  --fork-ink-2:    #6F7585;
  --fork-ink-3:    #9CA1B0;
  --fork-line:     #DCD6C6;        /* warm border */
  --fork-line-cool: #E2E5EC;       /* for cool-bg moments */

  /* Brand — deep professional blue. Replaces the previous electric #2540FF.
     Reads as authoritative engineering, not consumer-app royal. */
  --fork-brand-900: #0D2C4A;
  --fork-brand-800: #143759;
  --fork-brand-700: #1B4571;
  --fork-brand-600: #245788;
  --fork-brand-500: #3A6EA0;
  --fork-brand-400: #6B92BC;
  --fork-brand-50:  #E7EDF4;       /* very light tint */

  /* Legacy var names mapped onto new palette so existing rules don't break */
  --fork-blue-600: var(--fork-brand-700);
  --fork-blue-500: var(--fork-brand-600);
  --fork-blue-400: var(--fork-brand-500);
  --fork-blue-50:  var(--fork-brand-50);
  --fork-navy-900: #0A0F18;        /* near-black footer */
  --fork-navy-800: #0F1421;
  --fork-navy-700: #16203A;
  --fork-navy-600: var(--fork-brand-800);

  /* Accent — warm copper. Use sparingly: section eyebrows, hover details. */
  --fork-accent-700: #A85B1A;
  --fork-accent-600: #C97026;
  --fork-accent-500: #DD8838;
  --fork-accent-50:  #FBEEDE;

  /* Geometry — less rounded, more architectural */
  --fork-radius-sm: 4px;
  --fork-radius-md: 8px;
  --fork-radius-lg: 14px;

  /* Shadows — warmer, subtler */
  --fork-shadow-1: 0 1px 2px rgba(19,24,32,.04), 0 1px 4px rgba(19,24,32,.04);
  --fork-shadow-2: 0 12px 32px -16px rgba(19,24,32,.16), 0 2px 8px rgba(19,24,32,.06);
  --fork-shadow-3: 0 26px 64px -24px rgba(19,24,32,.28), 0 4px 16px rgba(19,24,32,.08);
  --fork-shadow-hero: 0 22px 60px -16px rgba(27,69,113,.5);

  --fork-ease: cubic-bezier(.22,.61,.36,1);
  --fork-dur: 280ms;

  /* fallbacks for vars the inline <style> in page.php references but never defines */
  --text-dark: var(--fork-ink-0);
  --primary-color: var(--fork-brand-700);
}

/* ---------- Base ---------- */
body.fork-theme {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--fork-ink-1);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--fork-surf-0);
}

body.fork-theme h1,
body.fork-theme h2,
body.fork-theme h3,
body.fork-theme h4,
body.fork-theme h5,
body.fork-theme h6 {
  color: var(--fork-ink-0);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

body.fork-theme a {
  color: var(--fork-blue-600);
  text-decoration: none;
  transition: color var(--fork-dur) var(--fork-ease);
}
body.fork-theme a:hover { color: var(--fork-blue-500); }

body.fork-theme .fork-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fork-blue-600);
  margin-bottom: 16px;
}

/* Win specificity over inline <style> AND style_idon.css's `.container { padding-top: 126px !important }`.
   Necessary because we moved #header from `position:absolute` into normal flow — its own layout space
   already pushes content down; the legacy padding was a workaround for the absolute-positioned header. */
body.fork-theme main .container,
body.fork-theme .container { padding-top: 0 !important; }
body.fork-theme main > .container-xl,
body.fork-theme main > section { padding-top: 0; }
/* Hero must be flush below the now-in-flow header */
body.fork-theme #hero { margin-top: 0 !important; }

/* Section vertical rhythm — overrides inline `section { padding: 39px 0 }` */
body.fork-theme section {
  padding: 96px 0;
  position: relative;
}
@media (max-width: 991px) { body.fork-theme section { padding: 64px 0; } }
@media (max-width: 575px) { body.fork-theme section { padding: 48px 0; } }

/* Section title — used on apie-mus and produkcija */
body.fork-theme .section-title,
body.fork-theme h2.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fork-ink-0);
  margin-bottom: 32px;
}
/* The inline style forces fs-4 (which Bootstrap sizes ~1.5rem). Bump it here. */
body.fork-theme h2.fs-4.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem) !important; }

/* ---------- Header — light commanding bar with thin contact strip above ---------- */

/* Override style_idon.css `#header { position: absolute }` so header takes real layout space.
   Hero then begins below it (cleaner, more professional). */
body.fork-theme #header {
  position: sticky !important;
  top: 0;
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 0 !important;
  z-index: 1000;
}

/* Thin dark contact strip — phone, address, language, social */
body.fork-theme #header .top-bar {
  background: var(--fork-navy-900) !important;
  color: rgba(255,255,255,.78);
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 0;
}
body.fork-theme #header .top-bar small { font-size: 12.5px; line-height: 1.4; }
body.fork-theme #header .top-bar small strong { font-weight: 600; color: #fff; }
body.fork-theme #header .top-bar i.fas {
  color: var(--fork-blue-400);
  margin-right: 5px;
  font-size: 11px;
}
body.fork-theme #header .top-bar .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  margin-left: 8px;
  border-radius: 50%;
  color: rgba(255,255,255,.78) !important;
  background: rgba(255,255,255,.07);
  transition: background var(--fork-dur) var(--fork-ease), color var(--fork-dur) var(--fork-ease), transform var(--fork-dur) var(--fork-ease);
}
body.fork-theme #header .top-bar .social-icon:hover {
  background: var(--fork-blue-600);
  color: #fff !important;
  transform: translateY(-1px);
}
body.fork-theme #header .top-bar a img {
  border-radius: 2px;
  margin-left: 4px;
  outline: 1px solid rgba(255,255,255,.16);
  transition: outline-color var(--fork-dur), transform var(--fork-dur);
}
body.fork-theme #header .top-bar a:hover img { outline-color: var(--fork-blue-400); transform: translateY(-1px); }

/* MAIN BAR — white, solid, commanding */
body.fork-theme #header .navbar {
  background: #fff !important;
  padding: 14px 0 !important;
  box-shadow: 0 1px 0 var(--fork-line);
  overflow: visible;
  transition: padding var(--fork-dur) var(--fork-ease), box-shadow var(--fork-dur) var(--fork-ease);
}
body.fork-theme #header.fork-scrolled .navbar {
  padding: 10px 0 !important;
  box-shadow: 0 4px 24px -12px rgba(11,27,61,.18);
}

/* Logo — bigger, dark navy version */
body.fork-theme #header .navbar-brand {
  width: 140px !important;
  height: 60px !important;
  background-image: url("./logo/Logo_blue.svg") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  margin-right: 24px;
  flex-shrink: 0;
  transition: transform var(--fork-dur) var(--fork-ease);
}
body.fork-theme #header .navbar-brand:hover { transform: translateY(-1px); }

/* Nav links — dark, larger, confident */
body.fork-theme #header .navbar-nav .nav-item a.nav-link {
  font-weight: 600 !important;
  font-size: 15.5px !important;
  color: var(--fork-ink-0) !important;
  padding: 12px 16px !important;
  position: relative;
  letter-spacing: -0.005em;
}
body.fork-theme #header .navbar-nav .nav-item a.nav-link:hover,
body.fork-theme #header .navbar-nav .nav-item a.nav-link.active,
body.fork-theme #header .navbar-nav .nav-item.show > a.nav-link {
  color: var(--fork-blue-600) !important;
}
body.fork-theme #header .navbar-nav .nav-item a.nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--fork-blue-600);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--fork-dur) var(--fork-ease);
  border-radius: 2px;
}
body.fork-theme #header .navbar-nav .nav-item a.nav-link:hover::after,
body.fork-theme #header .navbar-nav .nav-item a.nav-link.active::after {
  transform: scaleX(1);
}
body.fork-theme #header .navbar-nav .nav-item a.nav-link .underline { display: none; }

/* User & cart icons — fix the dark-on-dark contrast bug.
   style_idon.css's `.navbar .user-icon` rule sets the WHITE SVG variant
   (`./icons/user_white.svg`) for desktop default state — fine over the original
   absolute-dark header, INVISIBLE over our new white header. Force the BLUE variants
   here. style_idon.css already ships `user_blue.svg` / `cart_blue.svg` assets. */
body.fork-theme #header .navbar .user-cart-icons { align-items: center; gap: 6px !important; }
body.fork-theme #header .user-icon,
body.fork-theme #header .cart-icon {
  width: 40px !important;
  height: 40px !important;
  background-size: 22px 22px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 50%;
  transition: background-color var(--fork-dur) var(--fork-ease), transform var(--fork-dur) var(--fork-ease);
}
body.fork-theme #header .navbar .user-icon { background-image: url("./icons/user_blue.svg") !important; }
body.fork-theme #header .navbar .cart-icon { background-image: url("./icons/cart_blue.svg") !important; }

/* Defensively kill the desktop-hover swap that would otherwise re-load the blue
   variant we already use; harmless but keeps the cascade explicit. */
@media (min-width: 768px) {
  body.fork-theme #header:hover .user-icon { background-image: url("./icons/user_blue.svg") !important; }
  body.fork-theme #header:hover .cart-icon { background-image: url("./icons/cart_blue.svg") !important; }
}

body.fork-theme #header .user-icon:hover,
body.fork-theme #header .cart-icon:hover {
  background-color: var(--fork-blue-50) !important;
  transform: translateY(-1px);
}
body.fork-theme #header .user-icon .underline,
body.fork-theme #header .cart-icon .underline { display: none !important; }

/* Cart badge — brand-blue, only show if items > 0 (rendered count "0" stays muted) */
body.fork-theme #header .cart-icon .cart-badge {
  background: var(--fork-blue-600) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 11px !important;
  padding: 2px 6px !important;
  border-radius: 999px !important;
  min-width: 18px !important;
  top: -2px !important;
  right: -2px !important;
  box-shadow: 0 4px 10px -2px rgba(37,64,255,.55);
}
/* Badge that's literally "0" is noise — fade it */
body.fork-theme #header .cart-icon .cart-badge:empty,
body.fork-theme #header .cart-icon .cart-badge {
  /* tighter visibility; can't use :contains() in CSS, so just dim universally and let real numbers stand out via font weight */
}

/* Dropdown menus — match the new light header */
body.fork-theme #header .dropdown-menu {
  border: 1px solid var(--fork-line) !important;
  border-radius: var(--fork-radius-md) !important;
  box-shadow: var(--fork-shadow-2) !important;
  padding: 8px !important;
  margin-top: 8px !important;
  min-width: 240px;
}
body.fork-theme #header .dropdown-item {
  color: var(--fork-ink-0) !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  font-weight: 500;
  font-size: 14px;
  transition: background var(--fork-dur) var(--fork-ease), color var(--fork-dur) var(--fork-ease);
}
body.fork-theme #header .dropdown-item:hover,
body.fork-theme #header .dropdown-item:focus {
  background: var(--fork-blue-50) !important;
  color: var(--fork-blue-600) !important;
}
/* Show dropdown on hover for the dropdown nav items, since the toggle is commented out */
@media (min-width: 992px) {
  body.fork-theme #header .nav-item.dropdown { position: relative; }
  body.fork-theme #header .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* Hamburger — dark on light */
body.fork-theme #header .navbar-toggler .hamburger-menu,
body.fork-theme #header .navbar-toggler .hamburger-menu::before,
body.fork-theme #header .navbar-toggler .hamburger-menu::after {
  background: var(--fork-ink-0) !important;
  height: 2px;
}

/* ---------- Hero ---------- */
body.fork-theme #hero {
  height: clamp(560px, 78vh, 820px) !important;
  overflow: hidden;
  background: var(--fork-navy-900);
  position: relative;
}
/* Subtle dot-grid texture for depth */
body.fork-theme #hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 2;
}
body.fork-theme #hero .hero-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.78) brightness(.5) contrast(1.05);
  transform: scale(1.06);
  transition: transform 1.8s var(--fork-ease);
}
body.fork-theme #hero.fork-in .hero-img { transform: scale(1.0); }
body.fork-theme #hero .hero-overlay {
  background:
    radial-gradient(60% 60% at 20% 50%, rgba(37,64,255,.34) 0%, transparent 62%),
    linear-gradient(115deg, rgba(7,17,43,.92) 0%, rgba(7,17,43,.68) 50%, rgba(7,17,43,.32) 100%) !important;
}

body.fork-theme #hero .hero-content {
  position: relative;
  z-index: 4;
  max-width: 820px;
  padding: 0 16px;
  margin-top: 0 !important;
  transform: translateY(28px);
  opacity: 0;
  transition: opacity 0.95s var(--fork-ease), transform 0.95s var(--fork-ease);
}
body.fork-theme #hero .hero-content.in-view,
body.fork-theme #hero .hero-content.slide-in-fade-in.in-view {
  opacity: 1;
  transform: translateY(0) translateX(0) !important;
}

body.fork-theme #hero .hero-content h1,
body.fork-theme #hero .hero-content .fs-48 {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem) !important;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.02;
  color: #fff;
  text-wrap: balance;          /* even line lengths on h1 */
  margin: 0 0 26px;
}
body.fork-theme #fork-industries .fork-section-title { text-wrap: balance; }
body.fork-theme #paslaugos .paslaugos-wraper .card .card-title { text-wrap: balance; }
body.fork-theme #hero .hero-content p,
body.fork-theme #hero .hero-content p.fs-4 {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem) !important;
  line-height: 1.5;
  color: rgba(255,255,255,.86);
  margin: 0 0 40px;
  max-width: 660px;
  font-weight: 400;
}
body.fork-theme #hero .hero-content .btn,
body.fork-theme #hero .hero-content .btn-ligth-blue {
  background: var(--fork-brand-700) !important;
  background-color: var(--fork-brand-700) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: -0.005em;
  padding: 20px 44px !important;            /* bigger button, more presence */
  border-radius: 999px !important;
  border: 0 !important;
  box-shadow: var(--fork-shadow-hero);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--fork-dur) var(--fork-ease),
              background var(--fork-dur) var(--fork-ease),
              box-shadow var(--fork-dur) var(--fork-ease);
}
body.fork-theme #hero .hero-content .btn::after {
  content: "→";                              /* directional affordance — same idiom as cards */
  font-weight: 400;
  font-size: 18px;
  transition: transform var(--fork-dur) var(--fork-ease);
}
body.fork-theme #hero .hero-content .btn:hover,
body.fork-theme #hero .hero-content .btn-ligth-blue:hover {
  background: var(--fork-brand-800) !important;
  background-color: var(--fork-brand-800) !important;
  transform: translateY(-2px);
  box-shadow: 0 30px 70px -18px rgba(13,44,74,.55);
}
body.fork-theme #hero .hero-content .btn:hover::after { transform: translateX(4px); }

/* Decorative gradient seam under hero */
body.fork-theme #hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, var(--fork-surf-1) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ---------- Paslaugos (category trio) ---------- */
body.fork-theme #paslaugos {
  background: var(--fork-surf-1);
  padding-bottom: 96px !important;
}
body.fork-theme #paslaugos .paslaugos-wraper {
  margin-top: -120px !important;
  z-index: 6;
  /* gap removed — Bootstrap row uses negative margin + col padding for gutters.
     Adding flex gap on top of that breaks 33% col math and forces 2+1 wrap. */
  --bs-gutter-x: 28px;
  --bs-gutter-y: 28px;
}
@media (max-width: 991px) {
  body.fork-theme #paslaugos .paslaugos-wraper {
    margin-top: -64px !important;
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
  }
}

body.fork-theme #paslaugos .paslaugos-wraper > .col {
  margin-bottom: 0 !important;
}

body.fork-theme #paslaugos .paslaugos-wraper .card {
  background: var(--fork-white);
  border: 1px solid var(--fork-line);
  border-radius: var(--fork-radius-md) !important;     /* 8px — sharper, more architectural */
  box-shadow: var(--fork-shadow-2);
  padding: 88px 32px 32px !important;
  text-align: left;                                     /* left-aligned reads more editorial */
  position: relative;
  transition: transform var(--fork-dur) var(--fork-ease),
              box-shadow var(--fork-dur) var(--fork-ease),
              border-color var(--fork-dur) var(--fork-ease);
  height: 100%;
}
body.fork-theme #paslaugos .paslaugos-wraper .card:hover {
  transform: translateY(-6px) !important;
  margin-top: 0 !important;
  box-shadow: var(--fork-shadow-3);
  border-color: var(--fork-brand-500);
}
body.fork-theme #paslaugos .paslaugos-wraper .card .card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
/* card-body grows so its ::auto child (chip <ul>) docks to the bottom of the card */
body.fork-theme #paslaugos .paslaugos-wraper .card .card-body {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
}
/* Inject a "Plačiau →" affordance via ::after on the card-link (no markup change).
   `margin-top: auto` on the chip ul makes it dock to bottom inside card-body, and the
   ::after pseudo sits right under it — both align consistently across cards. */
body.fork-theme #paslaugos .paslaugos-wraper .card .card-link::after {
  content: "Plačiau →";
  display: inline-block;
  margin-top: 14px;
  align-self: flex-start;
  color: var(--fork-brand-700);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform var(--fork-dur) var(--fork-ease), color var(--fork-dur) var(--fork-ease);
}
body.fork-theme #paslaugos .paslaugos-wraper .card:hover .card-link::after {
  color: var(--fork-accent-600);
  transform: translateX(4px);
}

body.fork-theme #paslaugos .paslaugos-wraper .card .card-title,
body.fork-theme #paslaugos .paslaugos-wraper .card h5.card-title {
  font-size: 22px !important;
  font-weight: 700;
  color: var(--fork-ink-0);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  text-align: left !important;
  line-height: 1.18;
}
body.fork-theme #paslaugos .paslaugos-wraper .card .card-text,
body.fork-theme #paslaugos .paslaugos-wraper .card p.card-text {
  font-size: 15px !important;
  line-height: 1.6;
  color: var(--fork-ink-1);
  margin: 0 0 4px;
  text-align: left !important;
  font-weight: 400 !important;
}

/* The inline subcategory list at the bottom of each card (• Klaviatūros etc) reads
   as default bullets and feels weak. Convert to a quiet tag-row docked to bottom. */
body.fork-theme #paslaugos .paslaugos-wraper .card ul,
body.fork-theme #paslaugos .paslaugos-wraper .card .card-text ~ ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: auto 0 0 !important;   /* push to bottom of flex card-body */
  padding-top: 16px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
  justify-content: flex-start;
}
body.fork-theme #paslaugos .paslaugos-wraper .card ul li {
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fork-brand-700) !important;
  background: var(--fork-brand-50);
  border: 1px solid var(--fork-line-cool);
  padding: 4px 10px !important;
  border-radius: 999px !important;
  text-align: left !important;
  list-style: none !important;
}
body.fork-theme #paslaugos .paslaugos-wraper .card ul li::before {
  content: none !important;
}
body.fork-theme #paslaugos .paslaugos-wraper .card ul li::marker {
  content: "" !important;
}

/* Icon block — small square tile with light brand tint, sharp corners, sits TOP-LEFT.
   The original SVG assets (paslaugos_1/2/3.svg) render as indistinct abstract blobs
   in style_idon.css. We hide them and overlay Font Awesome icons via ::before — FA
   is already loaded on the page, so this adds no new dependencies. */
body.fork-theme #paslaugos .paslaugos-wraper .card .icon,
body.fork-theme #paslaugos .paslaugos-wraper .card .icon-2,
body.fork-theme #paslaugos .paslaugos-wraper .card .icon-3 {
  width: 56px !important;
  height: 56px !important;
  top: 28px !important;
  left: 32px !important;
  transform: none !important;
  background-image: none !important;
  background-color: var(--fork-brand-50) !important;
  border: 1px solid var(--fork-line-cool) !important;
  border-radius: var(--fork-radius-sm) !important;
  box-shadow: 0 6px 16px -10px rgba(13,44,74,.25);
  position: absolute !important;
  display: block;
  transition: transform var(--fork-dur) var(--fork-ease),
              background-color var(--fork-dur) var(--fork-ease),
              border-color var(--fork-dur) var(--fork-ease),
              box-shadow var(--fork-dur) var(--fork-ease);
}

/* Font Awesome glyphs — match the actual category */
body.fork-theme #paslaugos .paslaugos-wraper .card .icon::before,
body.fork-theme #paslaugos .paslaugos-wraper .card .icon-2::before,
body.fork-theme #paslaugos .paslaugos-wraper .card .icon-3::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-size: 24px;
  line-height: 1;
  color: var(--fork-brand-700);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--fork-dur) var(--fork-ease);
}
/* fa-keyboard / fa-tag / fa-circle-info — stable unicode across FA5 + FA6 */
body.fork-theme #paslaugos .paslaugos-wraper .card .icon::before   { content: "\f11c"; }
body.fork-theme #paslaugos .paslaugos-wraper .card .icon-2::before { content: "\f02b"; }
body.fork-theme #paslaugos .paslaugos-wraper .card .icon-3::before { content: "\f05a"; }

body.fork-theme #paslaugos .paslaugos-wraper .card:hover .icon,
body.fork-theme #paslaugos .paslaugos-wraper .card:hover .icon-2,
body.fork-theme #paslaugos .paslaugos-wraper .card:hover .icon-3 {
  transform: translateY(-2px) !important;
  background-color: var(--fork-accent-50) !important;
  border-color: var(--fork-accent-500) !important;
  box-shadow: 0 12px 22px -10px rgba(201,112,38,.35);
}
body.fork-theme #paslaugos .paslaugos-wraper .card:hover .icon::before,
body.fork-theme #paslaugos .paslaugos-wraper .card:hover .icon-2::before,
body.fork-theme #paslaugos .paslaugos-wraper .card:hover .icon-3::before {
  color: var(--fork-accent-700);
}

/* Stagger reveal */
body.fork-theme #paslaugos .paslaugos-wraper > .col:nth-child(1) .card { transition-delay: 0ms; }
body.fork-theme #paslaugos .paslaugos-wraper > .col:nth-child(2) .card { transition-delay: 80ms; }
body.fork-theme #paslaugos .paslaugos-wraper > .col:nth-child(3) .card { transition-delay: 160ms; }

/* ---------- Apie mus ----------
   Removed the "KOMPANIJA" eyebrow chip — it duplicated the visible h2 "Apie mus".
   Forced text-align: left on body paragraphs to fix the justified-text readability issue. */
body.fork-theme #apie-mus {
  background: var(--fork-surf-1);
  padding-top: 64px !important;
}
body.fork-theme #apie-mus .title-wraper { background: transparent !important; padding: 16px 0 8px !important; }
body.fork-theme #apie-mus .title-wraper .section-title {
  text-align: center;
  margin: 0 auto;
  max-width: 1168px;
  position: relative;
  text-wrap: balance;
}
body.fork-theme #apie-mus .container-xl > p,
body.fork-theme #apie-mus p.fs-4 {
  font-size: clamp(1rem, 1.4vw, 1.125rem) !important;
  line-height: 1.7;
  color: var(--fork-ink-1);
  max-width: 760px;
  margin: 0 auto !important;
  padding: 24px 16px 0 !important;
  text-align: left !important;
  text-wrap: pretty;
}

/* ---------- Produkcija ----------
   Hidden by user request — the swiper-based product gallery just re-rendered the
   same categories already shown in #paslaugos (Klaviatūros / Etiketės / Informacinės
   etiketės). Markup left intact upstream; revert is one line: remove this display:none. */
body.fork-theme #produkcija { display: none !important; }

/* ---------- Industries section (JS-injected, fork-only) ----------
   Markup is built by custom-fork.js and injected after #apie-mus. Texts sourced
   from idon.lt company description. No upstream PHP touched. */
body.fork-theme #fork-industries {
  position: relative;
  background: var(--fork-cream-1);
  padding: 96px 0 104px !important;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 991px) {
  body.fork-theme #fork-industries { padding: 64px 0 72px !important; }
}

/* Decorative floating shapes — subtle continuous drift */
body.fork-theme #fork-industries .fork-section-bgshape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .55;
}
body.fork-theme #fork-industries .fork-section-bgshape-a {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(36,87,136,.20) 0%, transparent 70%);
  top: -60px; left: -120px;
  animation: forkFloatA 14s ease-in-out infinite;
}
body.fork-theme #fork-industries .fork-section-bgshape-b {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,112,38,.18) 0%, transparent 70%);
  bottom: -80px; right: -100px;
  animation: forkFloatB 18s ease-in-out infinite;
}
@keyframes forkFloatA {
  0%, 100% { transform: translate(0, 0)      scale(1); }
  50%      { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes forkFloatB {
  0%, 100% { transform: translate(0, 0)        scale(1); }
  50%      { transform: translate(-30px, -40px) scale(1.1); }
}

body.fork-theme #fork-industries .fork-section-inner {
  position: relative;
  z-index: 1;
}

/* Section header */
body.fork-theme #fork-industries .fork-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--fork-ease), transform 700ms var(--fork-ease);
}
body.fork-theme #fork-industries .fork-section-header.in-view {
  opacity: 1;
  transform: translateY(0);
}
body.fork-theme #fork-industries .fork-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fork-accent-600);
  background: var(--fork-accent-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
body.fork-theme #fork-industries .fork-section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fork-ink-0);
  line-height: 1.1;
  margin: 0 0 16px;
}
body.fork-theme #fork-industries .fork-section-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fork-ink-1);
  margin: 0;
}

/* Industries — editorial columns with hairline dividers, not boxed cards.
   Deliberately different shell from #paslaugos cards above (which use the
   white-card-with-shadow shape). This is text-led, no card box. */
body.fork-theme #fork-industries .fork-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;                       /* dividers replace gaps */
  margin-bottom: 56px;
  border-top: 1px solid rgba(19,24,32,.10);
  border-bottom: 1px solid rgba(19,24,32,.10);
}
@media (max-width: 991px) {
  body.fork-theme #fork-industries .fork-industries-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 40px;
  }
}
@media (max-width: 575px) {
  body.fork-theme #fork-industries .fork-industries-grid {
    grid-template-columns: 1fr;
  }
}

body.fork-theme #fork-industries .fork-industry-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 36px 28px 36px;
  text-align: left;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--fork-ease), transform 700ms var(--fork-ease),
              background var(--fork-dur) var(--fork-ease);
  transition-delay: var(--fork-stagger, 0ms);
}
body.fork-theme #fork-industries .fork-industry-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* 1px hairline dividers between columns (per General Rules: 1px is allowed; the ban is on >1px colored side-stripes) */
body.fork-theme #fork-industries .fork-industry-card + .fork-industry-card {
  border-left: 1px solid rgba(19,24,32,.08);
}
@media (max-width: 991px) {
  body.fork-theme #fork-industries .fork-industry-card:nth-child(2n+1) { border-left: 0; }
  body.fork-theme #fork-industries .fork-industry-card:nth-child(n+3) {
    border-top: 1px solid rgba(19,24,32,.08);
  }
}
@media (max-width: 575px) {
  body.fork-theme #fork-industries .fork-industry-card { border-left: 0 !important; }
  body.fork-theme #fork-industries .fork-industry-card + .fork-industry-card {
    border-top: 1px solid rgba(19,24,32,.08);
  }
}
body.fork-theme #fork-industries .fork-industry-card:hover {
  background: rgba(255,255,255,.42);
}

body.fork-theme #fork-industries .fork-industry-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;        /* small disc, different shape from the square paslaugos tile */
  background: transparent;
  border: 1.5px solid var(--fork-brand-700);
  color: var(--fork-brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 20px;
  transition: background var(--fork-dur) var(--fork-ease),
              color var(--fork-dur) var(--fork-ease),
              border-color var(--fork-dur) var(--fork-ease);
}
body.fork-theme #fork-industries .fork-industry-card:hover .fork-industry-icon {
  background: var(--fork-accent-600);
  border-color: var(--fork-accent-600);
  color: #fff;
}

body.fork-theme #fork-industries .fork-industry-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--fork-ink-0);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.2;
}
body.fork-theme #fork-industries .fork-industry-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fork-ink-1);
  margin: 0;
  text-wrap: pretty;
}

/* Stats line — inline credibility row, not a big-numbers panel.
   Reformatted from the SaaS hero-metric template into a single editorial line. */
body.fork-theme #fork-industries .fork-stats-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: var(--fork-ink-1);
  position: relative;
  overflow: visible;
}
body.fork-theme #fork-industries .fork-stats-strip::after { content: none; }

body.fork-theme #fork-industries .fork-stat {
  position: relative;
  text-align: center;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms var(--fork-ease), transform 600ms var(--fork-ease);
}
body.fork-theme #fork-industries .fork-stat.in-view { opacity: 1; transform: translateY(0); }
body.fork-theme #fork-industries .fork-stat + .fork-stat { border-left: 0; }
body.fork-theme #fork-industries .fork-stat + .fork-stat::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fork-accent-600);
  margin-right: 12px;
  align-self: center;
  opacity: .8;
}

body.fork-theme #fork-industries .fork-stat-value {
  display: inline;
  font-size: 18px;
  font-weight: 700;
  color: var(--fork-ink-0);
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
body.fork-theme #fork-industries .fork-stat-label {
  display: inline;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--fork-ink-2);
}

body.fork-theme #produkcija.fork-hidden-noop {
  background: var(--fork-surf-0);
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}
body.fork-theme #produkcija .container-xl > h2.section-title {
  text-align: center;
  margin: 0 auto 24px !important;
  max-width: 1168px;
  position: relative;
}
body.fork-theme #produkcija .container-xl > h2.section-title::before {
  content: "Asortimentas";
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fork-blue-600);
  font-weight: 700;
  background: var(--fork-blue-50);
  padding: 6px 12px;
  border-radius: 999px;
  line-height: 1;
  margin: 0 auto 16px;
  width: max-content;
}
body.fork-theme #produkcija .swiper { padding: 32px 8px 40px !important; }

body.fork-theme #produkcija .img-wraper {
  height: clamp(220px, 28vw, 320px) !important;
  max-width: none !important;
  width: 100%;
  border-radius: var(--fork-radius-md) !important;
  background: linear-gradient(160deg, var(--fork-surf-2) 0%, var(--fork-surf-1) 100%);
  box-shadow: var(--fork-shadow-1);
  transition: transform var(--fork-dur) var(--fork-ease),
              box-shadow var(--fork-dur) var(--fork-ease);
  margin-bottom: 16px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
body.fork-theme #produkcija .swiper-slide:hover .img-wraper,
body.fork-theme #produkcija .img-wraper:hover {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  transform: translateY(-6px);
  box-shadow: var(--fork-shadow-2);
}
body.fork-theme #produkcija .swiper-slide a { text-decoration: none; }
body.fork-theme #produkcija .swiper-slide p.fs-6 {
  font-size: 16px !important;
  font-weight: 600;
  color: var(--fork-ink-0);
  margin-top: 4px;
  letter-spacing: -0.005em;
}
body.fork-theme #produkcija .img-wraper img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
body.fork-theme #produkcija .swiper-button-prev,
body.fork-theme #produkcija .swiper-button-next {
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--fork-shadow-2);
  color: var(--fork-blue-600) !important;
}
body.fork-theme #produkcija .swiper-button-prev::after,
body.fork-theme #produkcija .swiper-button-next::after {
  font-size: 16px !important;
  font-weight: 700;
}

/* ---------- Global cyan-button kill switch ----------
   bottom.php's inline <style> sets `.btn-ligth-blue { background-color: #00bcd4 }` GLOBALLY.
   Without this, the Skaityti daugiau / Susisiekti / Patvirtinti buttons read cyan
   anywhere outside the contexts where I had a scoped override. */
body.fork-theme .btn-ligth-blue,
body.fork-theme .btn.btn-ligth-blue,
body.fork-theme .btn-dark-blue,
body.fork-theme .btn.btn-dark-blue {
  background-color: var(--fork-brand-700) !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  letter-spacing: -0.005em !important;
  transition: background-color var(--fork-dur) var(--fork-ease),
              transform var(--fork-dur) var(--fork-ease),
              box-shadow var(--fork-dur) var(--fork-ease) !important;
}
body.fork-theme .btn-ligth-blue:hover,
body.fork-theme .btn.btn-ligth-blue:hover,
body.fork-theme .btn-dark-blue:hover,
body.fork-theme .btn.btn-dark-blue:hover {
  background-color: var(--fork-brand-800) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(20,55,89,.5);
}

/* ---------- Footer — restructured (fork-footer-*) ----------
   Companion to bottom.php fork restructure (20260602). The old footer
   classes (.contact-form, .contact-details, .info, .contacts, .m-3) are
   no longer in the markup; this section targets the new fork-* classes. */
body.fork-theme #footer.fork-footer {
  background: var(--fork-navy-800) !important;
  background-image:
    radial-gradient(80% 100% at 100% 0%, rgba(201,112,38,.08) 0%, transparent 55%),
    radial-gradient(60% 80% at 0% 100%, rgba(36,87,136,.14) 0%, transparent 60%) !important;
  background-color: var(--fork-navy-800) !important;
  color: rgba(255,255,255,.82);
  padding-top: 64px !important;
  padding-bottom: 0 !important;
  border-top: 1px solid rgba(255,255,255,.05);
}
body.fork-theme #footer.fork-footer > .container-xl {
  padding-bottom: 48px !important;
}

/* Column headings — small uppercase eyebrow style for ALL section headers in footer.
   The original markup used big "Kontaktai" h5 + small label rows; new structure has
   one consistent heading tier per column. */
body.fork-theme .fork-footer-heading {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--fork-accent-500) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  margin: 0 0 18px !important;
  line-height: 1;
}
body.fork-theme .fork-footer-heading.fork-footer-heading-sub {
  margin-top: 32px !important;
  color: rgba(255,255,255,.62) !important;
}

/* Form fields */
body.fork-theme .fork-contact-form .form-control,
body.fork-theme #footer.fork-footer .form-control {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
  border-radius: var(--fork-radius-sm) !important;
  padding: 12px 14px !important;
  font-size: 14.5px !important;
  transition: border-color var(--fork-dur) var(--fork-ease),
              background var(--fork-dur) var(--fork-ease),
              box-shadow var(--fork-dur) var(--fork-ease);
}
body.fork-theme .fork-contact-form .form-control::placeholder,
body.fork-theme #footer.fork-footer .form-control::placeholder {
  color: rgba(255,255,255,.42) !important;
  font-size: 14px !important;
}
body.fork-theme .fork-contact-form .form-control:focus,
body.fork-theme #footer.fork-footer .form-control:focus {
  background: rgba(255,255,255,.07) !important;
  border-color: var(--fork-brand-500) !important;
  box-shadow: 0 0 0 3px rgba(36,87,136,.22) !important;
  color: #fff !important;
  outline: 0 !important;
}
body.fork-theme .fork-contact-form textarea.form-control { min-height: 96px !important; resize: vertical; }

/* Footer primary buttons (Siųsti / Patvirtinti).
   Brand-blue, same as hero CTA — they're the page's conversion actions.
   Copper is reserved for accent-only (eyebrows, hover details, social icon fill). */
body.fork-theme #footer.fork-footer .btn,
body.fork-theme #footer.fork-footer button.btn,
body.fork-theme #footer.fork-footer .fork-btn-primary,
body.fork-theme #footer.fork-footer .btn.btn-ligth-blue,
body.fork-theme #footer.fork-footer .btn-ligth-blue {
  background-color: var(--fork-brand-700) !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--fork-radius-sm) !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  transition: background-color var(--fork-dur) var(--fork-ease),
              transform var(--fork-dur) var(--fork-ease),
              box-shadow var(--fork-dur) var(--fork-ease);
}
body.fork-theme #footer.fork-footer .btn:hover {
  background-color: var(--fork-brand-800) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(27,69,113,.5);
}

/* Newsletter — inline form (email + button on one row) */
body.fork-theme .fork-newsletter { margin-top: 24px; }
body.fork-theme .fork-newsletter-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
body.fork-theme .fork-newsletter-form .form-control { flex: 1 1 auto; }
body.fork-theme .fork-newsletter-form .btn { flex: 0 0 auto; white-space: nowrap; }

/* Contact column — Idon name then label/value list */
body.fork-theme .fork-company-name {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 4px !important;
}
body.fork-theme .fork-company-sub {
  font-size: 13px !important;
  color: rgba(255,255,255,.6) !important;
  margin: 0 0 4px !important;
}
body.fork-theme .fork-company-sub span { color: rgba(255,255,255,.85); }

body.fork-theme .fork-contact-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 18px 0 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.fork-theme .fork-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.fork-theme .fork-contact-label {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.16em !important;
  /* Dialed back from copper to muted white — the column heading carries the copper accent.
     Too many copper elements in the footer was reading as chromatic monotony. */
  color: rgba(255,255,255,.5) !important;
}
body.fork-theme .fork-contact-value,
body.fork-theme a.fork-contact-value {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.92) !important;
  text-decoration: none !important;
  line-height: 1.4;
  transition: color var(--fork-dur) var(--fork-ease);
}
body.fork-theme a.fork-contact-value:hover { color: var(--fork-accent-500) !important; }

/* Navigation column — group name then subitems */
body.fork-theme .fork-footer-nav {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.fork-theme .fork-footer-nav > li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.fork-theme .fork-footer-nav-group {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,.92) !important;
  text-decoration: none !important;
  letter-spacing: -0.005em;
  line-height: 1.35;
  transition: color var(--fork-dur) var(--fork-ease);
}
body.fork-theme .fork-footer-nav-group:hover { color: var(--fork-accent-500) !important; }
body.fork-theme .fork-footer-nav-sub {
  font-size: 13px !important;
  color: rgba(255,255,255,.62) !important;
  text-decoration: none !important;
  line-height: 1.5;
  padding-left: 0;
  transition: color var(--fork-dur) var(--fork-ease);
}
body.fork-theme .fork-footer-nav-sub:hover { color: #fff !important; }

/* Social column */
body.fork-theme .fork-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
body.fork-theme #footer.fork-footer .social-icon {
  width: 38px !important;
  height: 38px !important;
  line-height: 38px !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 50% !important;
  color: rgba(255,255,255,.82) !important;
  margin: 0 !important;
  text-align: center;
  font-size: 14px;
  transition: background var(--fork-dur) var(--fork-ease),
              border-color var(--fork-dur) var(--fork-ease),
              color var(--fork-dur) var(--fork-ease),
              transform var(--fork-dur) var(--fork-ease);
}
body.fork-theme #footer.fork-footer .social-icon:hover {
  background: var(--fork-accent-600) !important;
  border-color: var(--fork-accent-600) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Footer bottom band */
body.fork-theme #footer.fork-footer .fork-footer-bottom {
  background: rgba(0,0,0,.32) !important;
  margin-top: 0 !important;
  padding: 18px 0 !important;
  border-top: 1px solid rgba(255,255,255,.06);
}
body.fork-theme #footer.fork-footer .fork-footer-bottom .fork-footer-copy {
  color: rgba(255,255,255,.55) !important;
  font-size: 12.5px !important;
}
body.fork-theme #footer.fork-footer .fork-footer-bottom .fork-footer-copy-link {
  color: rgba(255,255,255,.55) !important;
  text-decoration: none !important;
  transition: color var(--fork-dur) var(--fork-ease);
}
body.fork-theme #footer.fork-footer .fork-footer-bottom .fork-footer-copy-link:hover {
  color: var(--fork-accent-500) !important;
}
body.fork-theme #footer.fork-footer .fork-footer-bottom img {
  opacity: .85;
  transition: opacity var(--fork-dur) var(--fork-ease);
}
body.fork-theme #footer.fork-footer .fork-footer-bottom img:hover { opacity: 1; }

@media (max-width: 991px) {
  body.fork-theme .fork-footer-col.fork-footer-col-form { margin-bottom: 16px; }
  body.fork-theme .fork-newsletter-form { flex-wrap: wrap; }
}

/* ---------- Cookie consent ---------- */
/* NOTE: do NOT put `display: flex !important` here. main.js's set_cookies() calls
   $('.slapuko_blokas').hide() which sets inline `style="display: none"` (no !important).
   An external `!important` would beat that and the banner would never dismiss. */
body.fork-theme .slapuko_blokas.cookie-consent,
body.fork-theme .cookie-consent {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%);
  right: auto !important;
  bottom: 16px;
  z-index: 9000;
  width: calc(100% - 32px);
  max-width: 720px;
  background: rgba(7,17,43,.97) !important;
  color: rgba(255,255,255,.86) !important;
  padding: 16px 20px !important;
  border-radius: var(--fork-radius-md) !important;
  box-shadow: var(--fork-shadow-3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
body.fork-theme .cookie-consent #cookies_agree {
  color: rgba(255,255,255,.82) !important;
  flex: 1 1 360px;
  font-size: 13.5px;
}
body.fork-theme .cookie-consent .btn-slapukas { flex: 0 0 auto; }

/* Cookie accept button — fight Bootstrap's .btn-light precisely. The double class
   selector raises specificity above any vanilla .btn-light from bootstrap.min.css. */
body.fork-theme .cookie-consent a.btn,
body.fork-theme .cookie-consent a.btn.btn-light,
body.fork-theme .cookie-consent .btn-slapukas a,
body.fork-theme .cookie-consent .btn-slapukas .btn {
  background: var(--fork-blue-600) !important;
  background-color: var(--fork-blue-600) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 11px 28px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: -0.005em;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block;
  line-height: 1.2 !important;
  box-shadow: 0 8px 22px -8px rgba(37,64,255,.55);
  transition: background-color var(--fork-dur) var(--fork-ease),
              transform var(--fork-dur) var(--fork-ease),
              box-shadow var(--fork-dur) var(--fork-ease);
}
body.fork-theme .cookie-consent a.btn:hover,
body.fork-theme .cookie-consent a.btn.btn-light:hover,
body.fork-theme .cookie-consent .btn-slapukas a:hover {
  background: var(--fork-blue-500) !important;
  background-color: var(--fork-blue-500) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(37,64,255,.6);
}
body.fork-theme .cookie-consent a:not(.btn) {
  color: var(--fork-blue-400) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.fork-theme .cookie-consent a:not(.btn):hover { color: #fff !important; }

/* ---------- Animation system (works with existing IntersectionObserver) ---------- */
body.fork-theme .fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--fork-ease), transform 700ms var(--fork-ease);
  will-change: transform, opacity;
}
body.fork-theme .fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Tame the existing aggressive horizontal slide-in on the hero content */
body.fork-theme #hero .slide-in-fade-in {
  transform: translateY(28px) !important;
}
body.fork-theme #hero .slide-in-fade-in.in-view {
  transform: translateY(0) !important;
}

/* ---------- Mobile fine-tuning ---------- */
@media (max-width: 767px) {
  body.fork-theme #header .top-bar { font-size: 12px; padding: 6px 0; }
  body.fork-theme #header .top-bar .left-content small.ms-3 { margin-left: .35rem !important; }
  body.fork-theme #header .navbar-toggler .hamburger-menu,
  body.fork-theme #header .navbar-toggler .hamburger-menu::before,
  body.fork-theme #header .navbar-toggler .hamburger-menu::after {
    background: #fff;
  }
  body.fork-theme #hero { height: clamp(560px, 80vh, 720px); }
  body.fork-theme #hero .hero-content h1,
  body.fork-theme #hero .hero-content .fs-48 {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
  }
  body.fork-theme #hero .hero-content p,
  body.fork-theme #hero .hero-content p.fs-4 {
    font-size: 1rem !important;
    margin-bottom: 24px;
  }
  body.fork-theme #paslaugos .paslaugos-wraper .card { padding: 88px 22px 28px !important; }
  body.fork-theme #paslaugos .paslaugos-wraper .card .icon,
  body.fork-theme #paslaugos .paslaugos-wraper .card .icon-2,
  body.fork-theme #paslaugos .paslaugos-wraper .card .icon-3 {
    width: 80px !important; height: 80px !important; top: -40px !important;
    background-size: 44px 44px !important;
  }
  body.fork-theme #apie-mus .title-wraper .section-title { padding-top: 8px; }
  body.fork-theme .cookie-consent {
    left: 8px; right: 8px; bottom: 8px;
    padding: 14px 16px !important;
    font-size: 13px;
  }
}

/* ---------- Print: hide cookie banner ---------- */
@media print {
  body.fork-theme .cookie-consent,
  body.fork-theme #header .top-bar { display: none !important; }
}

/* ---------- Reduced motion ----------
   Users with prefers-reduced-motion get content shown immediately, no transforms.
   Hover state changes still happen (they're user-initiated), but background drift,
   stagger reveals, and counter animations stop. */
@media (prefers-reduced-motion: reduce) {
  body.fork-theme *,
  body.fork-theme *::before,
  body.fork-theme *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  body.fork-theme .fade-in,
  body.fork-theme .slide-in-fade-in,
  body.fork-theme #hero .hero-content,
  body.fork-theme #hero .hero-img,
  body.fork-theme #fork-industries .fork-section-header,
  body.fork-theme #fork-industries .fork-industry-card,
  body.fork-theme #fork-industries .fork-stat {
    opacity: 1 !important;
    transform: none !important;
  }
  body.fork-theme #fork-industries .fork-section-bgshape { animation: none !important; }
}
