:root {
  --sam-tb-bg: #06101f;
  --sam-tb-bg-2: #0a1a30;
  --sam-tb-text: #f7fbff;
  --sam-tb-muted: #9fb2ca;
  --sam-tb-blue: #168cff;
  --sam-tb-cyan: #56c8ff;
  --sam-tb-line: rgba(150, 205, 255, .16);
  --sam-tb-header-height: 66px;
}
body.sam-tb-header-active #page-container { padding-top: var(--sam-tb-header-height) !important; }
body.admin-bar.sam-tb-header-active #page-container { padding-top: var(--sam-tb-header-height) !important; }
.sam-tb-global-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 999999 !important;
  width: 100% !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--sam-tb-line) !important;
  background: rgba(5, 15, 29, .96) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
}
.admin-bar .sam-tb-global-header { top: 32px !important; }
.sam-tb-global-header > .et_pb_row,
.sam-tb-header-row {
  display: flex !important;
  align-items: center !important;
  width: min(calc(100% - 36px), 1260px) !important;
  max-width: 1260px !important;
  min-height: 66px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.sam-tb-global-header .et_pb_column { min-width: 0; margin-bottom: 0 !important; }
.sam-tb-logo img { width: 188px !important; max-height: 46px !important; object-fit: contain; object-position: left center; }
.sam-tb-global-header .et_pb_image { margin-bottom: 0 !important; }
.sam-tb-primary-nav { width: 100%; }
.sam-tb-menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; padding: 9px; border: 1px solid var(--sam-tb-line); border-radius: 12px; background: rgba(255,255,255,.04); }
.sam-tb-menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: #fff; }
.sam-tb-menu-list { display: flex; align-items: center; justify-content: center; gap: 1px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sam-tb-menu-list li { position: relative; margin: 0 !important; padding: 0 !important; }
.sam-tb-menu-list > li > a { display: flex; align-items: center; min-height: 42px; padding: 0 8px; color: #dbe7f4 !important; font-size: 12px; font-weight: 750; line-height: 1.1; }
.sam-tb-menu-list > li > a:hover,
.sam-tb-menu-list > li.current-menu-item > a,
.sam-tb-menu-list > li.current-menu-ancestor > a { color: #fff !important; }
.sam-tb-menu-list .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 100; width: 275px; margin: 0 !important; padding: 10px !important; border: 1px solid var(--sam-tb-line); border-radius: 16px; background: rgba(8, 24, 43, .99); box-shadow: 0 24px 60px rgba(0,0,0,.35); list-style: none !important; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.sam-tb-menu-list li:hover > .sub-menu,
.sam-tb-menu-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sam-tb-menu-list .sub-menu a { display: block; padding: 11px 12px; border-radius: 9px; color: #b9cbe0 !important; font-size: 13px; }
.sam-tb-menu-list .sub-menu a:hover { background: rgba(86,200,255,.09); color: #fff !important; }
.sam-tb-header-tools { display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 9px !important; }
.sam-tb-header-tools .et_pb_code { margin-bottom: 0 !important; }
.sam-tb-contact-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 15px; border-radius: 999px; background: linear-gradient(135deg, var(--sam-tb-cyan), var(--sam-tb-blue)); color: #04111f !important; font-size: 11px; font-weight: 850; white-space: nowrap; }
.sam-language-switcher { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--sam-tb-line); border-radius: 999px; background: rgba(10,28,50,.86); }
.sam-language-switcher a { display: inline-flex; align-items: center; justify-content: center; min-width: 31px; min-height: 31px; padding: 0 7px; border-radius: 999px; color: #9eb3ca !important; font-size: 10px; font-weight: 850; text-decoration: none; }
.sam-language-switcher a[aria-current="page"] { background: linear-gradient(135deg, var(--sam-tb-cyan), var(--sam-tb-blue)); color: #04111f !important; }
.sam-language-switcher .sam-lang-name { display: none; }

.sam-tb-footer-cta-section { padding: 76px 0 !important; background: radial-gradient(circle at 85% 20%, rgba(86,200,255,.18), transparent 30%), linear-gradient(135deg, #0a2341, #06101f) !important; }
.sam-tb-global-footer { padding: 74px 0 28px !important; border-top: 1px solid var(--sam-tb-line); background: #040c17 !important; color: var(--sam-tb-text); }
.sam-tb-footer-cta-section > .et_pb_row,
.sam-tb-global-footer > .et_pb_row { width: min(calc(100% - 36px), 1260px) !important; max-width: 1260px !important; }
.sam-tb-footer-cta-section h2 { color: #fff !important; font-size: clamp(34px, 4vw, 55px) !important; line-height: 1.06 !important; letter-spacing: -.04em; }
.sam-tb-footer-cta-section p,
.sam-tb-global-footer p { color: var(--sam-tb-muted) !important; }
.sam-tb-footer-logo img { width: 260px !important; max-height: 62px !important; object-fit: contain; object-position: left center; }
.sam-tb-global-footer h3 { margin-bottom: 18px !important; color: #fff !important; font-size: 13px !important; font-weight: 850 !important; letter-spacing: .1em; text-transform: uppercase; }
.sam-tb-footer-menu-list { display: grid; gap: 11px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sam-tb-footer-menu-list li { margin: 0 !important; padding: 0 !important; }
.sam-tb-footer-menu-list a { color: #9eb0c5 !important; font-size: 13px; line-height: 1.5; }
.sam-tb-footer-menu-list a:hover { color: #fff !important; }
.sam-tb-footer-language { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--sam-tb-line); }
.sam-tb-footer-bottom { margin-top: 45px !important; padding-top: 20px !important; border-top: 1px solid var(--sam-tb-line); }
.sam-tb-footer-bottom p, .sam-tb-footer-bottom a { color: #70859e !important; font-size: 11px !important; }
.sam-tb-lang { display: none; }
body:not(.sam-lang-it):not(.sam-lang-bg) .sam-tb-lang-en,
body.sam-lang-en .sam-tb-lang-en,
body.sam-lang-it .sam-tb-lang-it,
body.sam-lang-bg .sam-tb-lang-bg { display: block; }

@media (max-width: 1100px) {
  .sam-tb-logo img { width: 164px !important; }
  .sam-tb-menu-list > li > a { padding-inline: 6px; font-size: 11px; }
  .sam-tb-contact-cta { display: none; }
}
@media (max-width: 980px) {
  .sam-tb-global-header > .et_pb_row, .sam-tb-header-row { min-height: 60px !important; flex-wrap: nowrap !important; }
  .sam-tb-global-header .et_pb_column:nth-child(1) { width: 46% !important; }
  .sam-tb-global-header .et_pb_column:nth-child(2) { width: 16% !important; margin-left: auto !important; }
  .sam-tb-global-header .et_pb_column:nth-child(3) { width: 38% !important; }
  .sam-tb-menu-toggle { display: block; }
  .sam-tb-menu-panel { position: fixed; top: var(--sam-tb-header-height); left: 0; right: 0; max-height: calc(100vh - var(--sam-tb-header-height)); overflow-y: auto; padding: 18px; border-top: 1px solid var(--sam-tb-line); background: rgba(5,15,29,.99); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease; }
  .admin-bar .sam-tb-menu-panel { top: calc(var(--sam-tb-header-height) + 46px); }
  .sam-tb-primary-nav.is-open .sam-tb-menu-panel { opacity: 1; visibility: visible; transform: none; }
  .sam-tb-menu-list { align-items: stretch; flex-direction: column; }
  .sam-tb-menu-list > li { border-bottom: 1px solid var(--sam-tb-line); }
  .sam-tb-menu-list > li > a { min-height: 50px; padding: 0 4px; font-size: 14px; }
  .sam-tb-menu-list .sub-menu { position: static; width: auto; padding: 0 0 12px 16px !important; border: 0; border-left: 1px solid rgba(86,200,255,.25); border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .sam-tb-header-tools { justify-content: flex-end !important; }
  .sam-tb-footer-cta-section .et_pb_row { align-items: flex-start !important; flex-direction: column !important; }
}
@media (max-width: 782px) { .admin-bar .sam-tb-global-header { top: 46px !important; } }
@media (max-width: 680px) {
  .sam-tb-global-header > .et_pb_row, .sam-tb-header-row { width: min(calc(100% - 24px), 1260px) !important; min-height: 58px !important; }
  .sam-tb-logo img { width: 145px !important; max-height: 38px !important; }
  .sam-tb-global-header .et_pb_column:nth-child(1) { width: 48% !important; }
  .sam-tb-global-header .et_pb_column:nth-child(2) { width: 16% !important; }
  .sam-tb-global-header .et_pb_column:nth-child(3) { width: 36% !important; }
  .sam-language-switcher a { min-width: 28px; min-height: 28px; padding-inline: 5px; }
  .sam-tb-footer-cta-section, .sam-tb-global-footer { padding-inline: 0 !important; }
}
