/* ==========================================================================
   Footer — sb-footer
   ========================================================================== */

.sb-footer {
  background: var(--color-primary-dark, #030c1a);
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-weight: 300;
  padding: 6rem 0 0;
}

.sb-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ----------------------------------------
   Grid principale — 4 colonne
   ---------------------------------------- */
.sb-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

/* ---- Col 1 — Brand / Logo ---- */
.sb-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sb-logo a {
  display: inline-block;
}

.sb-logo img {
  width: 345px;
  height: auto;
  display: block;
}

.sb-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  transition:
    border-color 0.2s,
    color 0.2s;
  text-decoration: none;
}

.sb-instagram:hover {
  border-color: rgba(201, 168, 76, 0.6);
  color: #c9a84c;
}

.sb-instagram svg {
  width: 13px;
  height: 13px;
}

/* ---- Col 2–4 — Titoli e link ---- */
.sb-col-title {
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 18px;
}

.sb-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-links a {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.sb-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ----------------------------------------
   Riga indirizzo / contattaci
   ---------------------------------------- */
.sb-addr-block {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

.sb-addr-spacer {
  /* vuoto: allinea alla col 1 */
}

.sb-sub-label {
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 8px;
}

.sb-addr-text {
  line-height: 1.7;
  color: #c9a84c;
  font-style: normal;
  margin: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 168, 76, 0.4);
}

.sb-email {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.sb-email:hover {
  color: rgba(255, 255, 255, 0.9);
}

.sb-phone {
  display: block;
  font-weight: 400;
  color: #c9a84c;
  margin-top: 6px;
  text-decoration: none;
  transition: color 0.2s;
}

.sb-phone:hover {
  color: #e4c97a;
}

/* ----------------------------------------
   Bottom — Tagline + Copyright
   ---------------------------------------- */
.sb-bottom {
  padding-top: 28px;
  padding-bottom: 18px;
  text-align: center;
}

.sb-tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: var(--text-2xl);
  line-height: 1.4;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px;
}

.sb-copyright {
  font-size: var(--text-sm, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 1.2rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.25);
  margin: 0;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */
@media (max-width: 1024px) {
  .sb-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .sb-addr-block {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }

  .sb-addr-spacer {
    display: none;
  }
}

@media (max-width: 600px) {
  .sb-inner {
    padding: 0 24px;
  }

  .sb-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sb-addr-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
