/* ===============================
   LAYOUT / WRAP
================================ */
.sc-wrap{
  width: min(1200px, calc(100% - 44px));
  margin-inline: auto;
}

/* ===============================
   HEADER
 ================================ */
.sc-header{
  --sc-header-bg: #0F0F12;
  --sc-header-text: #FAFAFA;
  --sc-accent: #FF9E0C;
  --sc-muted: rgba(250,250,250,0.7);
  background: var(--sc-header-bg, var(--sc-bg));
  border-bottom: var(--sc-header-border-width, 0px) solid var(--sc-header-border-color, transparent);
  color: var(--sc-header-text, var(--sc-text));
}

/* Spazio per il contenuto quando header fisso */
body.sc-header-fixed .site-content{
  padding-top: 96px;
}

.sc-head{
  min-height: 96px;
  padding: var(--sc-header-padding-y, 0px) var(--sc-header-padding-x, 0px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: var(--sc-header-border-width, 0px) solid var(--sc-header-border-color, transparent);
  border-radius: var(--sc-header-radius, 0px);
  background: var(--sc-header-bg, var(--sc-bg));
  color: var(--sc-header-text, var(--sc-text));
}

.sc-head__left{ flex: 0 0 150px; display: flex; align-items: center; }
.sc-head__center{ flex: 1 1 auto; display: flex; justify-content: center; }
.sc-head__right{ flex: 0 0 260px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }

.sc-brand{ display: inline-flex; align-items: center; text-decoration: none; color: var(--sc-text); }
.sc-brand .custom-logo-link{ display: inline-flex; align-items: center; }
.sc-brand img,
.sc-brand .custom-logo{
  display: block;
  width: auto !important;
  height: 44px !important;
  max-height: 44px !important;
  max-width: 160px !important;
  object-fit: contain;
}

.sc-brandText{
  font-family: "Oswald", sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.sc-nav__list{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
}
.sc-nav__list a{
  text-decoration: none;
  color: var(--sc-header-text, var(--sc-text));
  font-size: 14px;
  font-weight: 600;
  opacity: .78;
}
.sc-nav__list a:hover{ opacity: 1; }
.sc-nav__list .current-menu-item > a{
  font-weight: 800;
  opacity: 1;
}

.sc-help{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--sc-header-text, var(--sc-text));
}

.sc-help__icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--sc-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.sc-help__txt{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.sc-help__label{
  font-size: 12px;
  color: var(--sc-muted);
  font-weight: 600;
}
.sc-help__phone{
  font-size: 14px;
  font-weight: 800;
}

.sc-burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15,15,18,.10);
  background: #fff;
  cursor: pointer;
}
.sc-burger span{
  display: block;
  height: 2px;
  width: 18px;
  margin: 4px auto;
  background: rgba(15,15,18,.85);
  border-radius: 2px;
}

.sc-drawer{ display: none; }
.sc-drawer.is-open{ display: block; }

.sc-drawer__panel{
  position: fixed;
  top: 12px;
  right: 12px;
  width: min(420px, calc(100% - 24px));
  height: calc(100dvh - 24px);
  background: #fff;
  border: 1px solid rgba(15,15,18,.10);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  z-index: 9999;
  padding: 14px;
  overflow: auto;
}

.sc-drawer__backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}

.sc-drawer__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 10px;
  border-bottom: 1px solid rgba(15,15,18,.10);
}
.sc-drawer__title{ font-weight: 900; }
.sc-drawer__close{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15,15,18,.10);
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}

.sc-drawer__links{ padding: 14px 4px; }
.sc-drawer__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sc-drawer__list a{
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(15,15,18,.08);
  background: rgba(250,250,250,.95);
  text-decoration: none;
  color: var(--sc-text);
  font-weight: 800;
}

.sc-drawer__phone{
  margin-top: 10px;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--sc-text);
  font-weight: 900;
  border: 1px solid rgba(255,158,12,.25);
  background: linear-gradient(90deg, rgba(31,31,31,.08), rgba(255,158,12,.14));
}

/* ===============================
   FOOTER (layout base)
================================ */
.sc-footer{
  background: #0f0f12;
  color: rgba(255,255,255,.86);
  padding: clamp(56px, 7vw, 84px) 0 26px;
}
.sc-footer__inner{ width: 100%; }

.sc-footerTop{
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: clamp(22px, 3.4vw, 52px);
  align-items: start;
}

.sc-footerBottom{
  margin-top: clamp(26px, 4vw, 42px);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
